2009-03-18 Andrew Stubbs <ams@codesourcery.com>
authorAndrew Stubbs <andrew.stubbs@st.com>
Wed, 18 Mar 2009 15:28:24 +0000 (15:28 +0000)
committerAndrew Stubbs <andrew.stubbs@st.com>
Wed, 18 Mar 2009 15:28:24 +0000 (15:28 +0000)
commit42e5fcbf34e8d4850abaef7b3e6021348e59eedd
tree2f216dc0fef9405c162ab403afc3638a2ee67144
parente9dfee340cc44e525f140d10d569c2306439134b
2009-03-18  Andrew Stubbs  <ams@codesourcery.com>

gas/
* config/tc-arm.c (md_apply_fix): Check BFD_RELOC_ARM_IMMEDIATE and
BFD_RELOC_ARM_ADRL_IMMEDIATE value is in the correct section.
Check BFD_RELOC_ARM_ADRL_IMMEDIATE has a defined symbol.

gas/testsuites/
* gas/arm/adr-invalid.d: New file.
* gas/arm/adr-invalid.l: New file.
* gas/arm/adr-invalid.s: New file.
gas/ChangeLog
gas/config/tc-arm.c
gas/testsuite/ChangeLog
gas/testsuite/gas/arm/adr-invalid.d [new file with mode: 0644]
gas/testsuite/gas/arm/adr-invalid.l [new file with mode: 0644]
gas/testsuite/gas/arm/adr-invalid.s [new file with mode: 0644]