about summary refs log tree commit diff
path: root/scripts/abilist.awk
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2014-03-18 07:44:00 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2014-03-18 22:04:04 +0530
commitc8f8fa150490ff7d08d3ea8bd9c6dda7d63e2103 (patch)
treec1bac2bd8eda4c934ca1607b7616d064e9e690b2 /scripts/abilist.awk
parentfdbe8eae2b9aed74dabba1b0a189c5d7d61bf032 (diff)
downloadglibc-c8f8fa150490ff7d08d3ea8bd9c6dda7d63e2103.tar.gz
glibc-c8f8fa150490ff7d08d3ea8bd9c6dda7d63e2103.tar.xz
glibc-c8f8fa150490ff7d08d3ea8bd9c6dda7d63e2103.zip
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.
Diffstat (limited to 'scripts/abilist.awk')
-rw-r--r--scripts/abilist.awk4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/abilist.awk b/scripts/abilist.awk
index 6d58f6663b..52b5b32b75 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 = "";