* elf32-arm.h (elf32_arm_final_link_relocate): Print `(local)'
authorAlexandre Oliva <aoliva@redhat.com>
Sat, 24 Jun 2000 20:10:24 +0000 (20:10 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Sat, 24 Jun 2000 20:10:24 +0000 (20:10 +0000)
for local symbols whose names are unknown.

bfd/ChangeLog
bfd/elf32-arm.h

index edf5d212da9aa9ac49b3257277c10712e6b2c1ef..9c2a678c01c83d6de6b836c3b27a4e2c5608a00b 100644 (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
index e655781bde6a60fcd7a20555d19d1f85e3336ac8..828a58320bb47accb2b82789e6d359edfd8f068f 100644 (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