From 9b6b1462afef0b0f63f4f493c064d039b81f1c1c Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Wed, 6 Mar 2019 15:55:16 +0100 Subject: [PATCH] Remove part of the workaround that is no longer needed. https://bugzilla.redhat.com/show_bug.cgi?id=1674849 --- elfutils-0.176-gcc-pr88835.patch | 13 ------------- 1 file changed, 13 deletions(-) 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