* gas/all/octa.s, * gas/all/octa.d: New test.
authorAlan Modra <amodra@gmail.com>
Tue, 3 Aug 2010 10:30:52 +0000 (10:30 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 3 Aug 2010 10:30:52 +0000 (10:30 +0000)
* 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.

gas/testsuite/ChangeLog
gas/testsuite/gas/all/gas.exp
gas/testsuite/gas/all/octa.d [new file with mode: 0644]
gas/testsuite/gas/all/octa.s [new file with mode: 0644]
gas/testsuite/gas/elf/data-1.d [deleted file]
gas/testsuite/gas/elf/data-1.s [deleted file]
gas/testsuite/gas/elf/elf.exp

index b5d066695a61c5646bc09e01e804154b9d54dac8..684a00200ba57b17bf4f96cdbd5018653feca1be 100644 (file)
@@ -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.
index 4f18192342f83e358355a93a4132ce452c99bc43..fc1517ca0bf16682a3e1574692fa6b474521f23d 100644 (file)
@@ -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 (file)
index 0000000..21bc672
--- /dev/null
@@ -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 (file)
index 0000000..0d0ce14
--- /dev/null
@@ -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 (file)
index 9ea2c74..0000000
+++ /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 (file)
index aff6611..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-       .data
-       .quad   542196645677236224
-       .quad   -12884901888
index 0dcc00082cfc3218ed821295c0df599ee92465c4..7c123056ce82f15abfb3464b5782336ca8ad955f 100644 (file)
@@ -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"