From: Roland McGrath Date: Tue, 18 Mar 2014 02:14:00 +0000 (+0530) Subject: Work around binutils bugs in 2.23 and older X-Git-Tag: glibc-2.20~723 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8f8fa150490ff7d08d3ea8bd9c6dda7d63e2103;p=thirdparty%2Fglibc.git Work around binutils bugs in 2.23 and older binutils versions up through at least 2.23 have some bugs that cause STV_HIDDEN symbols to appear in .dynsyms. --- diff --git a/ChangeLog b/ChangeLog index f6c8259625f..aa893395c0c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2014-03-18 Roland McGrath + + * scripts/abilist.awk: Ignore symbols marked with .hidden. + 2014-03-18 Will Newton * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove diff --git a/scripts/abilist.awk b/scripts/abilist.awk index 6d58f6663b3..52b5b32b752 100644 --- a/scripts/abilist.awk +++ b/scripts/abilist.awk @@ -48,6 +48,10 @@ $2 == "g" || $2 == "w" && (NF == 7 || NF == 8) { symbol = $NF; gsub(/[()]/, "", version); + # binutils versions up through at least 2.23 have some bugs that + # caused STV_HIDDEN symbols to appear in .dynsym, though that is useless. + if (NF > 7 && $7 == ".hidden") next; + if (version == "GLIBC_PRIVATE") next; desc = "";