bfd:
authorJoseph Myers <joseph@codesourcery.com>
Tue, 25 Nov 2008 15:53:27 +0000 (15:53 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Tue, 25 Nov 2008 15:53:27 +0000 (15:53 +0000)
commit1954000798df4fa1571ee51994105b75f31959d1
treecca332ecbd384c8eec75a1fd5bdcd85ed9c096ef
parent83bac4b0108234603a1674d820d0188c9f8c4e68
bfd:
* elf32-arm.c (elf32_arm_final_link_relocate): Do not turn
branches to undefine weak symbols into branches to the next
instruction if creating PLT entries for those symbols.

ld/testsuite:
* ld-arm/thumb2-bl-undefweak.d, ld-arm/thumb2-bl-undefweak.s: New.
* ld-arm/arm-elf.exp: Run thumb2-bl-undefweak test.
bfd/ChangeLog
bfd/elf32-arm.c
ld/testsuite/ChangeLog
ld/testsuite/ld-arm/arm-elf.exp
ld/testsuite/ld-arm/thumb2-bl-undefweak.d [new file with mode: 0644]
ld/testsuite/ld-arm/thumb2-bl-undefweak.s [new file with mode: 0644]