2009-03-05 Christophe Lyon <christophe.lyon@st.com>
commitc0bec021f6cbc1c3d8c43623ee4204c28c881863
authorChristophe Lyon <christophe.lyon@st.com>
Thu, 5 Mar 2009 17:28:21 +0000 (5 17:28 +0000)
committerChristophe Lyon <christophe.lyon@st.com>
Thu, 5 Mar 2009 17:28:21 +0000 (5 17:28 +0000)
tree9727c0acf827583b8359c1f6fa839a8c717819e8
parent8682d82350dbfadc6a6c836ffa79f98410c92eaa
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]