* elf32-arm.h (elf32_arm_final_link_relocate): Print `(local)'

for local symbols whose names are unknown.
This commit is contained in:
Alexandre Oliva 2000-06-24 20:10:24 +00:00
parent d1cdf50144
commit b1bcb49f9c
2 changed files with 7 additions and 2 deletions

View file

@ -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

View file

@ -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