OSDN Git Service

bfd:
authorjsm28 <jsm28>
Tue, 25 Nov 2008 15:53:26 +0000 (15:53 +0000)
committerjsm28 <jsm28>
Tue, 25 Nov 2008 15:53:26 +0000 (15:53 +0000)
commit232eb23ee748f36a42811b47a140d74d44936b7c
tree2e3b49bd72d4c2221e68733d7f598184ef486bc3
parentaf6155ea126b3d40efbcf7b18699db560555b5ec
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]