bfd:
commit20b99fad2a2bcb2e5d3354d07e4e623981c46cca
authorJoseph Myers <joseph@codesourcery.com>
Tue, 25 Nov 2008 15:53:27 +0000 (25 15:53 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Tue, 25 Nov 2008 15:53:27 +0000 (25 15:53 +0000)
tree609e84e89384d5a2dbfbf82e12e283d1087d5037
parentb5dbb2f2a5be8bd9b047503810c282899a41b1e1
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]