2009-04-15 Christophe Lyon <christophe.lyon@st.com>
authorChristophe Lyon <christophe.lyon@st.com>
Wed, 15 Apr 2009 13:49:54 +0000 (13:49 +0000)
committerChristophe Lyon <christophe.lyon@st.com>
Wed, 15 Apr 2009 13:49:54 +0000 (13:49 +0000)
commit82b5c97a793698d0b27480bbfbf7f56f9dfe741a
tree29d993a8292188815c758bdaef6f45b0b0b79e8d
parentd8a1b51e44c811cb8d20570f497d80e278049ee2
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]