diff options
author | Alan Modra <amodra@bigpond.net.au> | 2013-02-05 23:18:44 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2013-02-05 23:18:44 +0000 |
commit | 403d1b2e762cc3b6129890d6dd4c309260da2f3f (patch) | |
tree | 7e826adf37b34898599a0d92d7c5e4e9ac2a80f6 /bfd/elf32-arm.c | |
parent | aaaa003106602cca25f12b693ad97e3fc12a98a9 (diff) | |
download | binutils-redhat-403d1b2e762cc3b6129890d6dd4c309260da2f3f.tar.gz |
* elf32-arm.c (elf32_arm_final_link_relocate): Only test for
stubs in stub_bfd.
Diffstat (limited to 'bfd/elf32-arm.c')
-rw-r--r-- | bfd/elf32-arm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c index e2f8a9607a..6197f95041 100644 --- a/bfd/elf32-arm.c +++ b/bfd/elf32-arm.c @@ -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) |