about summary refs log tree commit diff
path: root/scripts/localplt.awk
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/localplt.awk')
-rw-r--r--scripts/localplt.awk4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/localplt.awk b/scripts/localplt.awk
index f55c41a037..84c94d1024 100644
--- a/scripts/localplt.awk
+++ b/scripts/localplt.awk
@@ -35,11 +35,11 @@ in_relocs && relocs_offset == jmprel_offset && NF >= 5 {
   # Relocations against GNU_IFUNC symbols are not shown as an hexadecimal
   # value, but rather as the resolver symbol followed by ().
   if ($4 ~ /\(\)/) {
-    print whatfile, $5
+    print whatfile, gensub(/@.*/, "", "g", $5)
   } else {
     symval = strtonum("0x" $4);
     if (symval != 0)
-      print whatfile, $5
+      print whatfile, gensub(/@.*/, "", "g", $5)
   }
 }