]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gas/config/tc-arm.c
2010-02-08 Christophe Lyon <christophe.lyon@st.com>
authorChristophe Lyon <christophe.lyon@st.com>
Tue, 9 Feb 2010 14:44:50 +0000 (14:44 +0000)
committerChristophe Lyon <christophe.lyon@st.com>
Tue, 9 Feb 2010 14:44:50 +0000 (14:44 +0000)
commit486499d044bfca617c7f3f7a0b0f6ae70ca98ef3
treef04806ccf09966f408e30a3203b669b59254d8c9
parent1523fa24f7d51fecc82338e65a567346b9cef317
2010-02-08  Christophe Lyon  <christophe.lyon@st.com>

gas/
* config/tc-arm.c (md_pcrel_from_section): Keep base to zero for
non-local branches (BFD_RELOC_THUMB_PCREL_BRANCH23,
BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_ARM_PCREL_BLX,
BFD_RELOC_ARM_PCREL_CALL)

gas/testsuite/
* gas/arm/branch-reloc.s, gas/arm/branch-reloc.d,
gas/arm/branch-reloc.l: New tests and expected results with all
variants of call: ARM/Thumb, local/global, inter/intra-section,
using BL/BLX.
gas/ChangeLog
gas/config/tc-arm.c
gas/testsuite/ChangeLog
gas/testsuite/gas/arm/branch-reloc.d [new file with mode: 0644]
gas/testsuite/gas/arm/branch-reloc.l [new file with mode: 0644]
gas/testsuite/gas/arm/branch-reloc.s [new file with mode: 0644]