From 7b0a0875b2766972f460037380eb25ddc4b9906d Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 3 Aug 2010 10:30:52 +0000 Subject: [PATCH] * 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. --- gas/testsuite/ChangeLog | 7 +++++++ gas/testsuite/gas/all/gas.exp | 1 + gas/testsuite/gas/all/octa.d | 8 ++++++++ gas/testsuite/gas/all/octa.s | 3 +++ gas/testsuite/gas/elf/data-1.d | 7 ------- gas/testsuite/gas/elf/data-1.s | 3 --- gas/testsuite/gas/elf/elf.exp | 6 ------ 7 files changed, 19 insertions(+), 16 deletions(-) create mode 100644 gas/testsuite/gas/all/octa.d create mode 100644 gas/testsuite/gas/all/octa.s delete mode 100644 gas/testsuite/gas/elf/data-1.d delete mode 100644 gas/testsuite/gas/elf/data-1.s diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index b5d066695a6..684a00200ba 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2010-08-03 Alan Modra + + * 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 * 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 4f18192342f..fc1517ca0bf 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 00000000000..21bc672d95b --- /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 00000000000..0d0ce14419d --- /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 9ea2c746d81..00000000000 --- 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 aff66113e43..00000000000 --- 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 0dcc00082cf..7c123056ce8 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" -- 2.30.2