* elf32-arm.c (elf32_arm_final_link_relocate): Only test for

stubs in stub_bfd.
This commit is contained in:
Alan Modra 2013-02-05 23:18:44 +00:00
parent 94d4433aa6
commit ca6b5f82a5
2 changed files with 7 additions and 1 deletions

View 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> 2013-02-06 Alan Modra <amodra@gmail.com>
* Makefile.am (SOURCE_HFILES): Add `elf-linux-psinfo.h'. * Makefile.am (SOURCE_HFILES): Add `elf-linux-psinfo.h'.

View file

@ -8229,7 +8229,8 @@ elf32_arm_final_link_relocate (reloc_howto_type * howto,
".tls_vars") == 0) ".tls_vars") == 0)
&& ((r_type != R_ARM_REL32 && r_type != R_ARM_REL32_NOI) && ((r_type != R_ARM_REL32 && r_type != R_ARM_REL32_NOI)
|| !SYMBOL_CALLS_LOCAL (info, h)) || !SYMBOL_CALLS_LOCAL (info, h))
&& (!strstr (input_section->name, STUB_SUFFIX)) && !(input_bfd == globals->stub_bfd
&& strstr (input_section->name, STUB_SUFFIX))
&& (h == NULL && (h == NULL
|| ELF_ST_VISIBILITY (h->other) == STV_DEFAULT || ELF_ST_VISIBILITY (h->other) == STV_DEFAULT
|| h->root.type != bfd_link_hash_undefweak) || h->root.type != bfd_link_hash_undefweak)