From: Phil Blundell Date: Thu, 3 Apr 2003 00:25:02 +0000 (+0000) Subject: 2003-04-03 Philip Blundell X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8fbf1ae5963208bdafb1e8e02446d2665be00410;p=binutils-gdb.git 2003-04-03 Philip Blundell * gas/arm/offset.s: New test. * gas/arm/arm.exp (run_errors_test): Run it. --- diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 0a0dba1475c..93004a98f16 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2003-04-03 Philip Blundell + + * gas/arm/offset.s: New test. + * gas/arm/arm.exp (run_errors_test): Run it. + 2003-04-02 Chris Demetriou * gas/mips/ulh.d: Adjust for ulh and ulhu macro assembly changes. diff --git a/gas/testsuite/gas/arm/arm.exp b/gas/testsuite/gas/arm/arm.exp index 94a5cf9a11b..01e06da9238 100644 --- a/gas/testsuite/gas/arm/arm.exp +++ b/gas/testsuite/gas/arm/arm.exp @@ -67,6 +67,8 @@ if {[istarget *arm*-*-*] || [istarget "xscale-*-*"]} then { if {[istarget *-*-elf*] || [istarget *-*-linux*]} then { run_dump_test "pic" } + + gas_test "offset.s" "" $stdoptlist "OFFSET_IMM regression" } # Not all arm targets are bi-endian, so only run this test on ones diff --git a/gas/testsuite/gas/arm/offset.s b/gas/testsuite/gas/arm/offset.s new file mode 100644 index 00000000000..ba3ecbabe64 --- /dev/null +++ b/gas/testsuite/gas/arm/offset.s @@ -0,0 +1,5 @@ +@ test for OFFSET_IMM reloc against global symbols + +.globl foo +foo: .word 0 +ldr r0, foo