2009-03-05 Christophe Lyon <christophe.lyon@st.com>
authorChristophe Lyon <christophe.lyon@st.com>
Thu, 5 Mar 2009 17:28:21 +0000 (17:28 +0000)
committerChristophe Lyon <christophe.lyon@st.com>
Thu, 5 Mar 2009 17:28:21 +0000 (17:28 +0000)
commit5fa9e92f74b051a84c435688595c141456a5d9f3
tree4af9f514e206a1cc3979010296dd729d01f19e23
parent84d7b001a67873d45e47e52e9978f09f78e96035
2009-03-05  Christophe Lyon  <christophe.lyon@st.com>

bfd/
* elf32-arm.c (arm_type_of_stub): Handle long branches targetting
PLT entries.
(elf32_arm_final_link_relocate): Likewise.

testsuite/
* ld-arm/arm-elf.exp: Add 2 more tests to check long branch stubs
in PLT context.
* ld-arm/farcall-mixed-app-v5.d: New file.
* ld-arm/farcall-mixed-app.d: Likewise.
* ld-arm/farcall-mixed-app.r: Likewise.
* ld-arm/farcall-mixed-app.s: Likewise.
* ld-arm/farcall-mixed-app.sym: Likewise.
* ld-arm/farcall-mixed-lib.d: Likewise.
* ld-arm/farcall-mixed-lib.r: Likewise.
bfd/ChangeLog
bfd/elf32-arm.c
ld/testsuite/ChangeLog
ld/testsuite/ld-arm/arm-elf.exp
ld/testsuite/ld-arm/farcall-mixed-app-v5.d [new file with mode: 0644]
ld/testsuite/ld-arm/farcall-mixed-app.d [new file with mode: 0644]
ld/testsuite/ld-arm/farcall-mixed-app.r [new file with mode: 0644]
ld/testsuite/ld-arm/farcall-mixed-app.s [new file with mode: 0644]
ld/testsuite/ld-arm/farcall-mixed-app.sym [new file with mode: 0644]
ld/testsuite/ld-arm/farcall-mixed-lib.d [new file with mode: 0644]
ld/testsuite/ld-arm/farcall-mixed-lib.r [new file with mode: 0644]