diff --git a/elfutils-0.176-gcc-pr88835.patch b/elfutils-0.176-gcc-pr88835.patch index 6571f49..4ea955d 100644 --- a/elfutils-0.176-gcc-pr88835.patch +++ b/elfutils-0.176-gcc-pr88835.patch @@ -1,18 +1,5 @@ Workaround for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88835 -diff --git a/src/readelf.c b/src/readelf.c -index 33706bd..b55844c 100644 ---- a/src/readelf.c -+++ b/src/readelf.c -@@ -10143,7 +10143,7 @@ print_debug_str_section (Dwfl_Module *dwflmod __attribute__ ((unused)), - ++digits; - tmp >>= 4; - } -- digits = MAX (4, digits); -+ digits = MIN (16, MAX (4, digits)); - - printf (gettext ("\nDWARF section [%2zu] '%s' at offset %#" PRIx64 ":\n" - " %*s String\n"), diff --git a/tests/backtrace.c b/tests/backtrace.c index 05e8ef8..d621fbf 100644 --- a/tests/backtrace.c