summaryrefslogtreecommitdiff
path: root/elf/check-localplt.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/check-localplt.c')
-rw-r--r--elf/check-localplt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/elf/check-localplt.c b/elf/check-localplt.c
index 96a6cc0832..b4358a8a3f 100644
--- a/elf/check-localplt.c
+++ b/elf/check-localplt.c
@@ -212,7 +212,7 @@ AB(handle_file) (const char *fname, int fd)
if (sym.st_value != 0)
/* This symbol is locally defined. */
- puts (strtab + SWAP (sym.st_name));
+ printf ("%s: %s\n", basename (fname), strtab + SWAP (sym.st_name));
}
else
for (E(Rel) *rel = relmem; (char *) rel - (char *) relmem < relsz; ++rel)
@@ -230,7 +230,7 @@ AB(handle_file) (const char *fname, int fd)
if (sym.st_value != 0)
/* This symbol is locally defined. */
- puts (strtab + SWAP (sym.st_name));
+ printf ("%s: %s\n", basename (fname), strtab + SWAP (sym.st_name));
}
return 0;