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.
Showing
- gas/ChangeLog 7 additions, 0 deletionsgas/ChangeLog
- gas/config/tc-arm.c 16 additions, 8 deletionsgas/config/tc-arm.c
- gas/testsuite/ChangeLog 7 additions, 0 deletionsgas/testsuite/ChangeLog
- gas/testsuite/gas/arm/branch-reloc.d 89 additions, 0 deletionsgas/testsuite/gas/arm/branch-reloc.d
- gas/testsuite/gas/arm/branch-reloc.l 3 additions, 0 deletionsgas/testsuite/gas/arm/branch-reloc.l
- gas/testsuite/gas/arm/branch-reloc.s 87 additions, 0 deletionsgas/testsuite/gas/arm/branch-reloc.s
Loading
Please register or sign in to comment