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-Tag: readline-pre-41-import~99 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b1bcb49f9cd1af171b2a5c9932b7625dc1db2b37;p=external%2Fbinutils.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 edf5d21..9c2a678 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 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