2009-04-15 Christophe Lyon <christophe.lyon@st.com>
commit5e8234fef6a16efab7e86049062ea26c90f00f01
authorChristophe Lyon <christophe.lyon@st.com>
Wed, 15 Apr 2009 13:49:54 +0000 (15 13:49 +0000)
committerChristophe Lyon <christophe.lyon@st.com>
Wed, 15 Apr 2009 13:49:54 +0000 (15 13:49 +0000)
treec74a5a023384139d554824dc497ce61889a6b122
parent108a98c492f7dd03f41e7c6b5b3949a37d4827a2
2009-04-15  Christophe Lyon  <christophe.lyon@st.com>

bfd/
* elf32-arm.c (elf32_arm_final_link_relocate): Don't convert ARM
branch to an undef weak symbol into a jump to next instruction if
a PLT entry will be created.

testsuite/
* ld-arm/arm-elf.exp: Add 1 more test to check undef weak
reference with PLT in ARM mode.
* ld-arm/thumb2-bl-undefweak1.d, ld-arm/thumb2-bl-undefweak1.s:
New files.
bfd/ChangeLog
bfd/elf32-arm.c
ld/testsuite/ChangeLog
ld/testsuite/ld-arm/arm-elf.exp
ld/testsuite/ld-arm/thumb2-bl-undefweak1.d [new file with mode: 0644]
ld/testsuite/ld-arm/thumb2-bl-undefweak1.s [new file with mode: 0644]