aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
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