about summary refs log tree commit diff
path: root/conform/linknamespace.pl
diff options
context:
space:
mode:
Diffstat (limited to 'conform/linknamespace.pl')
-rw-r--r--conform/linknamespace.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/conform/linknamespace.pl b/conform/linknamespace.pl
index b5347466b0..8ea437d457 100644
--- a/conform/linknamespace.pl
+++ b/conform/linknamespace.pl
@@ -68,6 +68,9 @@ sub list_syms {
       next;
     }
     s/^\s*//;
+    # Architecture-specific st_other bits appear inside [] and disrupt
+    # the format of readelf output.
+    s/\[.*?\]//;
     my (@fields) = split (/\s+/, $_);
     if (@fields < 8) {
       next;