[PATCH] Minor GAS testsuite fixes
Nick Clifton
nickc@redhat.com
Mon Aug 16 08:15:00 GMT 2004
Hi Guys,
I am applying the patch below which fixes a couple of minor problems
with the recent additions to the GAS testsuite. The first is Mark's
ARM bignum test which only works on ELF based toolchains which have
the .8byte directive.
The other is Jan's altmacro test which was not allowing for
toolchains which would pad out the last frag to an alignment
boundary. Note the altmacro test is still failing for quite a few
toolchains:
dvp-elf frv-elf hppa-linux-gnu
m32r-elf m68hc12-elf mmix-mmixware
sh-coff sh-elf sh-symbianelf
sh64-elf sparc-sysv4 tic54x-coff
z8k-coff
I am not sure exactly what is wrong in these cases. I suspect that
some of them use the exclamation point (!) as a line-comment
character and that this is causing problems. I will try to
investigate more if I can find the time.
Cheers
Nick
gas/testsuite/ChangeLog
2004-08-15 Nick Clifton <nickc@redhat.com>
* gas/all/altmacro.d: Allow for rest of frag being padded to an
alignment boundary.
2004-08-15 Nick Clifton <nickc@redhat.com>
* gas/arm/arm.exp: Run bignum test for ELF based targets only.
Index: gas/testsuite/gas/all/altmacro.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/all/altmacro.d,v
retrieving revision 1.1
diff -c -3 -p -r1.1 altmacro.d
*** gas/testsuite/gas/all/altmacro.d 13 Aug 2004 19:53:52 -0000 1.1
--- gas/testsuite/gas/all/altmacro.d 16 Aug 2004 08:10:19 -0000
***************
*** 8,11 ****
Contents of section .data:
0000 01020912 61626331 32332121 3c3e2721 .*
! 0010 3c3e273e 3c21 .*
--- 8,11 ----
Contents of section .data:
0000 01020912 61626331 32332121 3c3e2721 .*
! 0010 3c3e273e 3c21.*
Index: gas/testsuite/gas/arm/arm.exp
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/arm/arm.exp,v
retrieving revision 1.30
diff -c -3 -p -r1.30 arm.exp
*** gas/testsuite/gas/arm/arm.exp 11 Aug 2004 02:11:58 -0000 1.30
--- gas/testsuite/gas/arm/arm.exp 16 Aug 2004 08:10:19 -0000
*************** if {[istarget *arm*-*-*] || [istarget "x
*** 35,41 ****
gas_test "immed.s" "" $stdoptlist "immediate expressions"
gas_test "float.s" "-mcpu=arm7tdmi -mfpu=fpa" $stdoptlist "Core floating point instructions"
gas_test "offset.s" "" $stdoptlist "OFFSET_IMM regression"
- gas_test "bignum1.s" "" $stdoptlist "bignums"
run_dump_test "armv1"
run_dump_test "arch5tej"
--- 35,40 ----
*************** if {[istarget *arm*-*-*] || [istarget "x
*** 61,66 ****
--- 60,66 ----
if {[istarget *-*-elf*] || [istarget *-*-linux*]} then {
run_dump_test "pic"
run_dump_test "mapping"
+ gas_test "bignum1.s" "" $stdoptlist "bignums"
}
if {! [istarget arm*-*-aout] && ![istarget arm-*-pe]} then {
More information about the Binutils
mailing list