aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2011-05-11 12:39:08 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2011-05-11 12:39:08 +0000
commitf11e29afea09cc481991c3670e892d6630ebe5de (patch)
tree1a1894bf67e0703a333974cb983020c045b7ba1f
parent6eee42f470e5dd448ca44f5eb6e139324c5cb308 (diff)
downloadgdb-f11e29afea09cc481991c3670e892d6630ebe5de.zip
gdb-f11e29afea09cc481991c3670e892d6630ebe5de.tar.gz
gdb-f11e29afea09cc481991c3670e892d6630ebe5de.tar.bz2
gas/testsuite/
* gas/mips/24k-branch-delay-1.d: Allow 64-bit addresses. Stub out function names. * gas/mips/24k-triple-stores-1.d: Likewise. * gas/mips/24k-triple-stores-2.d: Likewise. * gas/mips/24k-triple-stores-3.d: Likewise. * gas/mips/24k-triple-stores-4.d: Likewise. * gas/mips/24k-triple-stores-5.d: Likewise. * gas/mips/24k-triple-stores-7.d: Likewise. * gas/mips/24k-triple-stores-8.d: Likewise. * gas/mips/24k-triple-stores-9.d: Likewise. * gas/mips/24k-triple-stores-10.d: Likewise. * gas/mips/24k-triple-stores-11.d: Likewise. * gas/mips/24k-triple-stores-6.d: Likewise. Add -EB. * gas/mips/mips.exp: Only run 24k-triple-stores-11.d on ELF targets.
-rw-r--r--gas/testsuite/ChangeLog17
-rw-r--r--gas/testsuite/gas/mips/24k-branch-delay-1.d4
-rw-r--r--gas/testsuite/gas/mips/24k-triple-stores-1.d2
-rw-r--r--gas/testsuite/gas/mips/24k-triple-stores-10.d2
-rw-r--r--gas/testsuite/gas/mips/24k-triple-stores-11.d2
-rw-r--r--gas/testsuite/gas/mips/24k-triple-stores-2.d2
-rw-r--r--gas/testsuite/gas/mips/24k-triple-stores-3.d2
-rw-r--r--gas/testsuite/gas/mips/24k-triple-stores-4.d2
-rw-r--r--gas/testsuite/gas/mips/24k-triple-stores-5.d2
-rw-r--r--gas/testsuite/gas/mips/24k-triple-stores-6.d4
-rw-r--r--gas/testsuite/gas/mips/24k-triple-stores-7.d2
-rw-r--r--gas/testsuite/gas/mips/24k-triple-stores-8.d2
-rw-r--r--gas/testsuite/gas/mips/24k-triple-stores-9.d2
-rw-r--r--gas/testsuite/gas/mips/mips.exp5
14 files changed, 35 insertions, 15 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 976209f..f1ba989 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,5 +1,22 @@
2011-05-11 Richard Sandiford <rdsandiford@googlemail.com>
+ * gas/mips/24k-branch-delay-1.d: Allow 64-bit addresses. Stub out
+ function names.
+ * gas/mips/24k-triple-stores-1.d: Likewise.
+ * gas/mips/24k-triple-stores-2.d: Likewise.
+ * gas/mips/24k-triple-stores-3.d: Likewise.
+ * gas/mips/24k-triple-stores-4.d: Likewise.
+ * gas/mips/24k-triple-stores-5.d: Likewise.
+ * gas/mips/24k-triple-stores-7.d: Likewise.
+ * gas/mips/24k-triple-stores-8.d: Likewise.
+ * gas/mips/24k-triple-stores-9.d: Likewise.
+ * gas/mips/24k-triple-stores-10.d: Likewise.
+ * gas/mips/24k-triple-stores-11.d: Likewise.
+ * gas/mips/24k-triple-stores-6.d: Likewise. Add -EB.
+ * gas/mips/mips.exp: Only run 24k-triple-stores-11.d on ELF targets.
+
+2011-05-11 Richard Sandiford <rdsandiford@googlemail.com>
+
* gas/mips/24k-branch-delay-1.d: Add -32 to assembler options.
* gas/mips/24k-triple-stores-1.d: Likewise.
* gas/mips/24k-triple-stores-2.d: Likewise.
diff --git a/gas/testsuite/gas/mips/24k-branch-delay-1.d b/gas/testsuite/gas/mips/24k-branch-delay-1.d
index eeca55a..66e82c7 100644
--- a/gas/testsuite/gas/mips/24k-branch-delay-1.d
+++ b/gas/testsuite/gas/mips/24k-branch-delay-1.d
@@ -5,13 +5,13 @@
.*: +file format .*mips.*
Disassembly of section .text:
-00000000 <func>:
+0+ <.*>:
0: 24620005 addiu v0,v1,5
4: 8c440000 lw a0,0\(v0\)
8: ac430000 sw v1,0\(v0\)
c: ac430008 sw v1,8\(v0\)
10: 00000000 nop
- 14: 10600002 beqz v1,20 <func\+0x20>
+ 14: 10600002 beqz v1,20 <.*>
18: ac430010 sw v1,16\(v0\)
1c: 8c430008 lw v1,8\(v0\)
20: 8c450010 lw a1,16\(v0\)
diff --git a/gas/testsuite/gas/mips/24k-triple-stores-1.d b/gas/testsuite/gas/mips/24k-triple-stores-1.d
index 177609d..584102e 100644
--- a/gas/testsuite/gas/mips/24k-triple-stores-1.d
+++ b/gas/testsuite/gas/mips/24k-triple-stores-1.d
@@ -5,7 +5,7 @@
.*: +file format .*mips.*
Disassembly of section .text:
-00000000 <.text>:
+0+ <.*>:
0: a3a20000 sb v0,0\(sp\)
4: 00000000 nop
8: a3a30008 sb v1,8\(sp\)
diff --git a/gas/testsuite/gas/mips/24k-triple-stores-10.d b/gas/testsuite/gas/mips/24k-triple-stores-10.d
index 80ab0b5..8566ca2 100644
--- a/gas/testsuite/gas/mips/24k-triple-stores-10.d
+++ b/gas/testsuite/gas/mips/24k-triple-stores-10.d
@@ -5,7 +5,7 @@
.*: +file format .*mips.*
Disassembly of section .text:
-00000000 <.text>:
+0+ <.*>:
0: a1020000 sb v0,0\(t0\)
4: 00000000 nop
8: a1030008 sb v1,8\(t0\)
diff --git a/gas/testsuite/gas/mips/24k-triple-stores-11.d b/gas/testsuite/gas/mips/24k-triple-stores-11.d
index 1721ae9..66c4a9d 100644
--- a/gas/testsuite/gas/mips/24k-triple-stores-11.d
+++ b/gas/testsuite/gas/mips/24k-triple-stores-11.d
@@ -5,7 +5,7 @@
.*: +file format .*mips.*
Disassembly of section .text:
-00000000 <.text>:
+0+ <.*>:
0: 00842020 add a0,a0,a0
4: 00842020 add a0,a0,a0
8: 00842020 add a0,a0,a0
diff --git a/gas/testsuite/gas/mips/24k-triple-stores-2.d b/gas/testsuite/gas/mips/24k-triple-stores-2.d
index fb69883..f294631 100644
--- a/gas/testsuite/gas/mips/24k-triple-stores-2.d
+++ b/gas/testsuite/gas/mips/24k-triple-stores-2.d
@@ -5,7 +5,7 @@
.*: +file format .*mips.*
Disassembly of section .text:
-00000000 <.text>:
+0+ <.*>:
0: a3a20000 sb v0,0\(sp\)
4: 00000000 nop
8: a3a3000a sb v1,10\(sp\)
diff --git a/gas/testsuite/gas/mips/24k-triple-stores-3.d b/gas/testsuite/gas/mips/24k-triple-stores-3.d
index cc63217..831b927 100644
--- a/gas/testsuite/gas/mips/24k-triple-stores-3.d
+++ b/gas/testsuite/gas/mips/24k-triple-stores-3.d
@@ -6,7 +6,7 @@
Disassembly of section .text:
-00000000 <.text>:
+0+ <.*>:
0: a3a2000b sb v0,11\(sp\)
4: 00000000 nop
8: a3a3000b sb v1,11\(sp\)
diff --git a/gas/testsuite/gas/mips/24k-triple-stores-4.d b/gas/testsuite/gas/mips/24k-triple-stores-4.d
index e7c5170..e33ad56 100644
--- a/gas/testsuite/gas/mips/24k-triple-stores-4.d
+++ b/gas/testsuite/gas/mips/24k-triple-stores-4.d
@@ -5,7 +5,7 @@
.*: +file format .*mips.*
Disassembly of section .text:
-00000000 <.text>:
+0+ <.*>:
0: a113000a sb s3,10\(t0\)
4: 00000000 nop
8: a5130001 sh s3,1\(t0\)
diff --git a/gas/testsuite/gas/mips/24k-triple-stores-5.d b/gas/testsuite/gas/mips/24k-triple-stores-5.d
index 38539b4..8c8bb0b 100644
--- a/gas/testsuite/gas/mips/24k-triple-stores-5.d
+++ b/gas/testsuite/gas/mips/24k-triple-stores-5.d
@@ -5,7 +5,7 @@
.*: +file format .*mips.*
Disassembly of section .text:
-00000000 <.text>:
+0+ <.*>:
0: a5020007 sh v0,7\(t0\)
4: 00000000 nop
8: a1030000 sb v1,0\(t0\)
diff --git a/gas/testsuite/gas/mips/24k-triple-stores-6.d b/gas/testsuite/gas/mips/24k-triple-stores-6.d
index f0a5cac..553d5ff 100644
--- a/gas/testsuite/gas/mips/24k-triple-stores-6.d
+++ b/gas/testsuite/gas/mips/24k-triple-stores-6.d
@@ -1,11 +1,11 @@
#objdump: -dr
-#as: -mfix-24k -32
+#as: -mfix-24k -32 -EB
#name: 24K: Triple Store (Store Macro Check)
.*: +file format .*mips.*
Disassembly of section .text:
-00000000 <.text>:
+0+ <.*>:
0: abbf0050 swl ra,80\(sp\)
4: 00000000 nop
8: bbbf0053 swr ra,83\(sp\)
diff --git a/gas/testsuite/gas/mips/24k-triple-stores-7.d b/gas/testsuite/gas/mips/24k-triple-stores-7.d
index 1558d9e..aa641eb 100644
--- a/gas/testsuite/gas/mips/24k-triple-stores-7.d
+++ b/gas/testsuite/gas/mips/24k-triple-stores-7.d
@@ -5,7 +5,7 @@
.*: +file format .*mips.*
Disassembly of section .text:
-00000000 <.text>:
+0+ <.*>:
0: a1130004 sb s3,4\(t0\)
4: 00000000 nop
8: ad130008 sw s3,8\(t0\)
diff --git a/gas/testsuite/gas/mips/24k-triple-stores-8.d b/gas/testsuite/gas/mips/24k-triple-stores-8.d
index 65c3987..158dd3a 100644
--- a/gas/testsuite/gas/mips/24k-triple-stores-8.d
+++ b/gas/testsuite/gas/mips/24k-triple-stores-8.d
@@ -5,7 +5,7 @@
.*: +file format .*mips.*
Disassembly of section .text:
-00000000 <.text>:
+0+ <.*>:
0: a1130000 sb s3,0\(t0\)
4: 00000000 nop
8: a1130001 sb s3,1\(t0\)
diff --git a/gas/testsuite/gas/mips/24k-triple-stores-9.d b/gas/testsuite/gas/mips/24k-triple-stores-9.d
index f2c15c1..2ed929f 100644
--- a/gas/testsuite/gas/mips/24k-triple-stores-9.d
+++ b/gas/testsuite/gas/mips/24k-triple-stores-9.d
@@ -6,7 +6,7 @@
Disassembly of section .text:
-00000000 <.text>:
+0+ <.*>:
0: a1020000 sb v0,0\(t0\)
4: 00000000 nop
8: a1030008 sb v1,8\(t0\)
diff --git a/gas/testsuite/gas/mips/mips.exp b/gas/testsuite/gas/mips/mips.exp
index 6e721bd..8995518 100644
--- a/gas/testsuite/gas/mips/mips.exp
+++ b/gas/testsuite/gas/mips/mips.exp
@@ -491,7 +491,10 @@ if { [istarget mips*-*-vxworks*] } {
run_dump_test_arches "24k-triple-stores-8" [mips_arch_list_matching mips1]
run_dump_test_arches "24k-triple-stores-9" [mips_arch_list_matching mips1]
run_dump_test_arches "24k-triple-stores-10" [mips_arch_list_matching mips1]
- run_dump_test_arches "24k-triple-stores-11" [mips_arch_list_matching mips1]
+ if $elf {
+ run_dump_test_arches "24k-triple-stores-11" \
+ [mips_arch_list_matching mips1]
+ }
if $elf {
run_dump_test_arches "jal-svr4pic" \