From: Alexandre Oliva Date: Sat, 24 Jun 2000 20:10:24 +0000 (+0000) Subject: * elf32-arm.h (elf32_arm_final_link_relocate): Print `(local)' X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b1bcb49f9cd1af171b2a5c9932b7625dc1db2b37;p=binutils-gdb.git * elf32-arm.h (elf32_arm_final_link_relocate): Print `(local)' for local symbols whose names are unknown. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index edf5d212da9..9c2a678c01c 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2000-06-24 Alexandre Oliva + + * elf32-arm.h (elf32_arm_final_link_relocate): Print `(local)' + for local symbols whose names are unknown. + 2000-06-22 Alan Modra * 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 e655781bde6..828a58320bb 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