aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2010-08-03 10:30:52 +0000
committerAlan Modra <amodra@gmail.com>2010-08-03 10:30:52 +0000
commit7b0a0875b2766972f460037380eb25ddc4b9906d (patch)
tree7f0677573aa6c860b8925c5b7bf19ce0c47f7d5a
parent1c4cc7461da7b3f15443d8e30bc7436364b16286 (diff)
downloadgdb-7b0a0875b2766972f460037380eb25ddc4b9906d.zip
gdb-7b0a0875b2766972f460037380eb25ddc4b9906d.tar.gz
gdb-7b0a0875b2766972f460037380eb25ddc4b9906d.tar.bz2
* gas/all/octa.s, * gas/all/octa.d: New test.
* gas/all/gas.exp: Run octa. * gas/elf/data-1.s, * gas/elf/data-1.d: Delete. * gas/elf/elf.exp: Don't run data-1.
-rw-r--r--gas/testsuite/ChangeLog7
-rw-r--r--gas/testsuite/gas/all/gas.exp1
-rw-r--r--gas/testsuite/gas/all/octa.d8
-rw-r--r--gas/testsuite/gas/all/octa.s3
-rw-r--r--gas/testsuite/gas/elf/data-1.d7
-rw-r--r--gas/testsuite/gas/elf/data-1.s3
-rw-r--r--gas/testsuite/gas/elf/elf.exp6
7 files changed, 19 insertions, 16 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index b5d0666..684a002 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+2010-08-03 Alan Modra <amodra@gmail.com>
+
+ * gas/all/octa.s, * gas/all/octa.d: New test.
+ * gas/all/gas.exp: Run octa.
+ * gas/elf/data-1.s, * gas/elf/data-1.d: Delete.
+ * gas/elf/elf.exp: Don't run data-1.
+
2010-08-02 H.J. Lu <hongjiu.lu@intel.com>
* elf/elf.exp: Run data-1 only for i*86, x86_64 and ia64.
diff --git a/gas/testsuite/gas/all/gas.exp b/gas/testsuite/gas/all/gas.exp
index 4f18192..fc1517c 100644
--- a/gas/testsuite/gas/all/gas.exp
+++ b/gas/testsuite/gas/all/gas.exp
@@ -339,6 +339,7 @@ if { ![istarget "i960-*-*"] } {
run_dump_test quad
}
+run_dump_test octa
# .set works differently on some targets.
case $target_triplet in {
diff --git a/gas/testsuite/gas/all/octa.d b/gas/testsuite/gas/all/octa.d
new file mode 100644
index 0000000..21bc672
--- /dev/null
+++ b/gas/testsuite/gas/all/octa.d
@@ -0,0 +1,8 @@
+#objdump: -s -j .data
+#name: octa bignum
+
+.*: +file format .*
+
+Contents of section .data:
+ [^ ]* (ffff3344 55667788 99aabbcc ddeeffff|ffffeedd ccbbaa99 88776655 4433ffff) .*
+ [^ ]* (00003444 55667788 99aabbcc ddeeffff|ffffeedd ccbbaa99 88776655 44340000) .*
diff --git a/gas/testsuite/gas/all/octa.s b/gas/testsuite/gas/all/octa.s
new file mode 100644
index 0000000..0d0ce14
--- /dev/null
+++ b/gas/testsuite/gas/all/octa.s
@@ -0,0 +1,3 @@
+ .data
+ .octa ~0x112233445566778899aabbcc0000
+ .octa -347510587133311339321256747728896
diff --git a/gas/testsuite/gas/elf/data-1.d b/gas/testsuite/gas/elf/data-1.d
deleted file mode 100644
index 9ea2c74..0000000
--- a/gas/testsuite/gas/elf/data-1.d
+++ /dev/null
@@ -1,7 +0,0 @@
-#objdump: -s -j .data
-#name: elf data
-
-.*: +file format .*
-
-Contents of section .data:
- 0000 00000000 fa448607 00000000 fdffffff .....D..........
diff --git a/gas/testsuite/gas/elf/data-1.s b/gas/testsuite/gas/elf/data-1.s
deleted file mode 100644
index aff6611..0000000
--- a/gas/testsuite/gas/elf/data-1.s
+++ /dev/null
@@ -1,3 +0,0 @@
- .data
- .quad 542196645677236224
- .quad -12884901888
diff --git a/gas/testsuite/gas/elf/elf.exp b/gas/testsuite/gas/elf/elf.exp
index 0dcc000..7c12305 100644
--- a/gas/testsuite/gas/elf/elf.exp
+++ b/gas/testsuite/gas/elf/elf.exp
@@ -127,12 +127,6 @@ if { ([istarget "*-*-*elf*"]
run_dump_test equ-reloc
}
}
- if {[istarget "i*86-*-*"]
- || [istarget "x86_64-*-*"]
- || [istarget "ia64-*-*"]} then {
- # This is a little endian test.
- run_dump_test "data-1"
- }
run_dump_test "pseudo"
run_dump_test "section0"
run_dump_test "section1"