aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-arm.h
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2000-06-24 20:10:24 +0000
committerAlexandre Oliva <aoliva@redhat.com>2000-06-24 20:10:24 +0000
commitb1bcb49f9cd1af171b2a5c9932b7625dc1db2b37 (patch)
tree9917b18c5c7f46de5576f425a4748303d120351d /bfd/elf32-arm.h
parentd1cdf501447d3759857acea63b43a0a951a610bb (diff)
downloadgdb-b1bcb49f9cd1af171b2a5c9932b7625dc1db2b37.zip
gdb-b1bcb49f9cd1af171b2a5c9932b7625dc1db2b37.tar.gz
gdb-b1bcb49f9cd1af171b2a5c9932b7625dc1db2b37.tar.bz2
* elf32-arm.h (elf32_arm_final_link_relocate): Print `(local)'
for local symbols whose names are unknown.
Diffstat (limited to 'bfd/elf32-arm.h')
-rw-r--r--bfd/elf32-arm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf32-arm.h b/bfd/elf32-arm.h
index e655781..828a583 100644
--- a/bfd/elf32-arm.h
+++ b/bfd/elf32-arm.h
@@ -1188,7 +1188,7 @@ elf32_arm_final_link_relocate (howto, input_bfd, output_bfd,
_bfd_error_handler (_("\
%s: Warning: Arm BLX instruction targets Arm function '%s'."),
bfd_get_filename (input_bfd),
- h->root.root.string);
+ h ? h->root.root.string : "(local)");
}
else
#endif
@@ -1377,7 +1377,7 @@ elf32_arm_final_link_relocate (howto, input_bfd, output_bfd,
_bfd_error_handler (_("\
%s: Warning: Thumb BLX instruction targets thumb function '%s'."),
bfd_get_filename (input_bfd),
- h->root.root.string);
+ h ? h->root.root.string : "(local)");
}
else
#endif