aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-08-26 11:06:32 +0000
committerAlan Modra <amodra@gmail.com>2002-08-26 11:06:32 +0000
commit6c2beb07151eaa2c64e90e438ca21d3087c1e48f (patch)
tree8db795026a64748e8e6c0f8bc6f05e8ad08a335c
parent96e97d9be16c343e1adc8eb7b0cb643ac21446ba (diff)
downloadgdb-6c2beb07151eaa2c64e90e438ca21d3087c1e48f.zip
gdb-6c2beb07151eaa2c64e90e438ca21d3087c1e48f.tar.gz
gdb-6c2beb07151eaa2c64e90e438ca21d3087c1e48f.tar.bz2
* 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.
-rw-r--r--gas/testsuite/ChangeLog4
-rw-r--r--gas/testsuite/gas/vax/quad.exp6
-rw-r--r--gas/testsuite/gas/vax/quad.s1
-rw-r--r--gas/testsuite/gas/vax/quad_elf.s3
4 files changed, 13 insertions, 1 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index d18d631..b62a973 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,5 +1,9 @@
2002-08-26 Alan Modra <amodra@bigpond.net.au>
+ * 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.
+
* gas/sparc/sparc.exp (sparc_elf_setup): New.
Use it to xfail for non-ELF targets.
diff --git a/gas/testsuite/gas/vax/quad.exp b/gas/testsuite/gas/vax/quad.exp
index 46fc9ca..4cd98b8 100644
--- a/gas/testsuite/gas/vax/quad.exp
+++ b/gas/testsuite/gas/vax/quad.exp
@@ -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 }
diff --git a/gas/testsuite/gas/vax/quad.s b/gas/testsuite/gas/vax/quad.s
index 78ad4ad..38a5af2 100644
--- a/gas/testsuite/gas/vax/quad.s
+++ b/gas/testsuite/gas/vax/quad.s
@@ -1,2 +1,3 @@
.text
movq $0xaabbccdd12345678,r0
+ .p2align 2
diff --git a/gas/testsuite/gas/vax/quad_elf.s b/gas/testsuite/gas/vax/quad_elf.s
new file mode 100644
index 0000000..619685c
--- /dev/null
+++ b/gas/testsuite/gas/vax/quad_elf.s
@@ -0,0 +1,3 @@
+ .text
+ movq $0xaabbccdd12345678,%r0
+ .p2align 2