]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Work around binutils bugs in 2.23 and older
authorRoland McGrath <roland@hack.frob.com>
Tue, 18 Mar 2014 02:14:00 +0000 (07:44 +0530)
committerSiddhesh Poyarekar <siddhesh@redhat.com>
Tue, 18 Mar 2014 16:34:04 +0000 (22:04 +0530)
binutils versions up through at least 2.23 have some bugs that cause
STV_HIDDEN symbols to appear in .dynsyms.

ChangeLog
scripts/abilist.awk

index f6c8259625fa182193505d185e0f13e3fa777ec1..aa893395c0c035b4a6cebfd5bc973cef323c34c4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-03-18  Roland McGrath  <roland@hack.frob.com>
+
+       * scripts/abilist.awk: Ignore symbols marked with .hidden.
+
 2014-03-18  Will Newton  <will.newton@linaro.org>
 
        * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
index 6d58f6663b325803e6ff3382bc9933c466cb0260..52b5b32b752f93d73cbaba324ba44c2d426e8c53 100644 (file)
@@ -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 = "";