[ARM] PR ld/20608 Relocation truncated to fit: R_ARM_THM_JUMP24 for relocation to...
authorChristophe Lyon <christophe.lyon@linaro.org>
Tue, 27 Sep 2016 23:37:52 +0000 (01:37 +0200)
committerChristophe Lyon <christophe.lyon@linaro.org>
Tue, 27 Sep 2016 23:41:00 +0000 (01:41 +0200)
commit2df2751d1927e1231bbe7d548139da98d6ca9b9a
tree1e45c7016513152008d40e25f574862ac390e5bf
parente3f07b5b750554bbbbee1bddc34bb77fd7d31eeb
[ARM] PR ld/20608 Relocation truncated to fit: R_ARM_THM_JUMP24 for relocation to PLT entry

2016-09-28  Christophe Lyon  <christophe.lyon@linaro.org>

PR ld/20608
bfd/
* elf32-arm.c (arm_type_of_stub): Handle the case when the pre-PLT
Thumb-ARM stub is too far.

ld
* testsuite/ld-arm/arm-elf.exp: Handle new testcase.
* testsuite/ld-arm/farcall-mixed-app2.d: New file.
* testsuite/ld-arm/farcall-mixed-app2.r: Likewise.
* testsuite/ld-arm/farcall-mixed-app2.s: Likewise.
* testsuite/ld-arm/farcall-mixed-app2.sym: Likewise.
bfd/ChangeLog
bfd/elf32-arm.c
ld/ChangeLog
ld/testsuite/ld-arm/arm-elf.exp
ld/testsuite/ld-arm/farcall-mixed-app2.d [new file with mode: 0644]
ld/testsuite/ld-arm/farcall-mixed-app2.r [new file with mode: 0644]
ld/testsuite/ld-arm/farcall-mixed-app2.s [new file with mode: 0644]
ld/testsuite/ld-arm/farcall-mixed-app2.sym [new file with mode: 0644]