* elf32-arm.c (elf32_arm_final_link_relocate): Only test for
authorAlan Modra <amodra@gmail.com>
Tue, 5 Feb 2013 23:18:44 +0000 (23:18 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 5 Feb 2013 23:18:44 +0000 (23:18 +0000)
stubs in stub_bfd.

bfd/ChangeLog
bfd/elf32-arm.c

index 4bb1cfa49edd9f41035308970247548c98830cbc..4b66949bcf425c3cb4c9b47f81600172099a81f4 100644 (file)
@@ -1,3 +1,8 @@
+2013-02-06  Alan Modra  <amodra@gmail.com>
+
+       * elf32-arm.c (elf32_arm_final_link_relocate): Only test for
+       stubs in stub_bfd.
+
 2013-02-06  Alan Modra  <amodra@gmail.com>
 
        * Makefile.am (SOURCE_HFILES): Add `elf-linux-psinfo.h'.
index e2f8a9607ae65420f56c943a91b99977b18544f0..6197f95041a703fa8b778b19481f5d291b3a5525 100644 (file)
@@ -8229,7 +8229,8 @@ elf32_arm_final_link_relocate (reloc_howto_type *           howto,
                          ".tls_vars") == 0)
          && ((r_type != R_ARM_REL32 && r_type != R_ARM_REL32_NOI)
              || !SYMBOL_CALLS_LOCAL (info, h))
-         && (!strstr (input_section->name, STUB_SUFFIX))
+         && !(input_bfd == globals->stub_bfd
+              && strstr (input_section->name, STUB_SUFFIX))
          && (h == NULL
              || ELF_ST_VISIBILITY (h->other) == STV_DEFAULT
              || h->root.type != bfd_link_hash_undefweak)
This page took 0.04817 seconds and 4 git commands to generate.