]>
Commit | Line | Data |
---|---|---|
3cc77632 JP |
1 | From 6d092c52d00b99780f6eee546af04fc6b944cdd6 Mon Sep 17 00:00:00 2001 |
2 | From: Martin Liska <mliska@suse.cz> | |
3 | Date: Wed, 3 Feb 2021 11:54:26 +0100 | |
4 | Subject: [PATCH] readelf --debug-dump=info --wide output changes in 2.36 | |
5 | ||
6 | As seen here https://sourceware.org/bugzilla/show_bug.cgi?id=27309 | |
7 | the output format is changed. Not using --wide mode fixes the problem. | |
8 | --- | |
9 | mpers.sh | 2 +- | |
10 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
11 | ||
12 | diff --git a/mpers.sh b/mpers.sh | |
13 | index b28ef703b..942da0807 100755 | |
14 | --- a/src/mpers.sh | |
15 | +++ b/src/mpers.sh | |
16 | @@ -46,7 +46,7 @@ for m_type; do | |
17 | continue | |
18 | sed -i -e '/DEF_MPERS_TYPE/d' "${f_c}" | |
19 | $CC $CFLAGS $CC_ARCH_FLAG "${f_c}" -o "${f_o}" | |
20 | - $READELF --wide --debug-dump=info "${f_o}" > "${f_d1}" | |
21 | + $READELF --debug-dump=info "${f_o}" > "${f_d1}" | |
22 | sed -r -n ' | |
23 | /^[[:space:]]*<1>/,/^[[:space:]]*<1><[^>]+>: Abbrev Number: 0/!d | |
24 | /^[[:space:]]*<[^>]*><[^>]*>: Abbrev Number: 0/d |