aboutsummaryrefslogtreecommitdiff
path: root/bfd
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
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')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf32-arm.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index edf5d21..9c2a678 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2000-06-24 Alexandre Oliva <aoliva@redhat.com>
+
+ * elf32-arm.h (elf32_arm_final_link_relocate): Print `(local)'
+ for local symbols whose names are unknown.
+
2000-06-22 Alan Modra <alan@linuxcare.com.au>
* Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
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