vax gas testsuite fixes
Alan Modra
amodra@bigpond.net.au
Mon Aug 26 04:08:00 GMT 2002
Applying mainline and branch. The p2align stops the nop padding from
being shown in the listing against the movq insn. This is really a
gas bug, but one I can't be bothered fixing at the moment. VAX ELF
wants %r0, VAX VMS wants plain r0, VAX COFF is happy with either. Ugh.
gas/testsuite/ChangeLog
* gas/vax/quad.exp: Use quad_elf.s for ELF targets.
* gas/vax/quad.s: Align
* gas/vax/quad_elf.s: New version of quad.s with %reg.
Index: gas/testsuite/gas/vax/quad.exp
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/vax/quad.exp,v
retrieving revision 1.2
diff -u -p -r1.2 quad.exp
--- gas/testsuite/gas/vax/quad.exp 19 Mar 2001 12:20:10 -0000 1.2
+++ gas/testsuite/gas/vax/quad.exp 26 Aug 2002 10:58:08 -0000
@@ -3,7 +3,11 @@ proc do_quad {} {
set x1 0
set x2 0
set x3 0
- gas_start "quad.s" "-al"
+ set file "quad.s"
+ if [istarget vax-*-*elf*] {
+ set file "quad_elf.s"
+ }
+ gas_start $file "-al"
while 1 {
expect {
-re "^ +2\[ \t\]+0000+ 7D8F7856\[ \t\]+movq\[^\n\]*\n" { set x1 1 }
Index: gas/testsuite/gas/vax/quad.s
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/vax/quad.s,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 quad.s
--- gas/testsuite/gas/vax/quad.s 3 May 1999 07:28:53 -0000 1.1.1.1
+++ gas/testsuite/gas/vax/quad.s 26 Aug 2002 10:58:08 -0000
@@ -1,2 +1,3 @@
.text
movq $0xaabbccdd12345678,r0
+ .p2align 2
Index: gas/testsuite/gas/vax/quad_elf.s
===================================================================
RCS file: gas/testsuite/gas/vax/quad_elf.s
diff -N gas/testsuite/gas/vax/quad_elf.s
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ gas/testsuite/gas/vax/quad_elf.s 26 Aug 2002 10:58:08 -0000
@@ -0,0 +1,3 @@
+ .text
+ movq $0xaabbccdd12345678,%r0
+ .p2align 2
--
Alan Modra
IBM OzLabs - Linux Technology Centre
More information about the Binutils
mailing list