From c22faadb1a721ca67acfb622e4f4568f5ddd7d7d Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 7 Jun 2012 14:52:42 +0000 Subject: Move gas/all/rept.[ds] to gas/i386 * gas/all/gas.exp: Don't run rept. * gas/all/rept.d: Moved to ... * gas/i386/rept.d: Here. * gas/all/rept.s: Moved to ... * gas/i386/rept.s: Here. * gas/i386/i386.exp: Run rept. --- gas/testsuite/ChangeLog | 11 +++++++++++ gas/testsuite/gas/all/gas.exp | 1 - gas/testsuite/gas/all/rept.d | 5 ----- gas/testsuite/gas/all/rept.s | 6 ------ gas/testsuite/gas/i386/i386.exp | 1 + gas/testsuite/gas/i386/rept.d | 5 +++++ gas/testsuite/gas/i386/rept.s | 6 ++++++ 7 files changed, 23 insertions(+), 12 deletions(-) delete mode 100644 gas/testsuite/gas/all/rept.d delete mode 100644 gas/testsuite/gas/all/rept.s create mode 100644 gas/testsuite/gas/i386/rept.d create mode 100644 gas/testsuite/gas/i386/rept.s diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 0cd8df5..9b3c6d3 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,5 +1,16 @@ 2012-06-07 H.J. Lu + * gas/all/gas.exp: Don't run rept. + + * gas/all/rept.d: Moved to ... + * gas/i386/rept.d: Here. + * gas/all/rept.s: Moved to ... + * gas/i386/rept.s: Here. + + * gas/i386/i386.exp: Run rept. + +2012-06-07 H.J. Lu + PR gas/14201 * gas/all/gas.exp: Run rept. diff --git a/gas/testsuite/gas/all/gas.exp b/gas/testsuite/gas/all/gas.exp index 079b746..2cef5dd 100644 --- a/gas/testsuite/gas/all/gas.exp +++ b/gas/testsuite/gas/all/gas.exp @@ -400,7 +400,6 @@ gas_test_error "weakref3.s" "" "a: would close weakref loop: a => b => c => d => gas_test_error "weakref4.s" "" "is already defined" run_dump_test string -run_dump_test rept load_lib gas-dg.exp dg-init diff --git a/gas/testsuite/gas/all/rept.d b/gas/testsuite/gas/all/rept.d deleted file mode 100644 index 6e63f22..0000000 --- a/gas/testsuite/gas/all/rept.d +++ /dev/null @@ -1,5 +0,0 @@ -#nm: --extern-only - -# Test the .rept pseudo-op. - -0+0 D _pad_data diff --git a/gas/testsuite/gas/all/rept.s b/gas/testsuite/gas/all/rept.s deleted file mode 100644 index 318f44e..0000000 --- a/gas/testsuite/gas/all/rept.s +++ /dev/null @@ -1,6 +0,0 @@ - .data - .global _pad_data -_pad_data: - .rept (0x40000*210) - .byte 0 - .endr diff --git a/gas/testsuite/gas/i386/i386.exp b/gas/testsuite/gas/i386/i386.exp index fc67db0..89adf69 100644 --- a/gas/testsuite/gas/i386/i386.exp +++ b/gas/testsuite/gas/i386/i386.exp @@ -274,6 +274,7 @@ if [expr [istarget "i*86-*-*"] || [istarget "x86_64-*-*"]] then { run_dump_test "string-ok" run_list_test "string-bad" "" run_list_test "space1" "-al" + run_dump_test rept if [is_elf_format] then { run_list_test_stdin "list-1" "-al" run_list_test_stdin "list-2" "-al" diff --git a/gas/testsuite/gas/i386/rept.d b/gas/testsuite/gas/i386/rept.d new file mode 100644 index 0000000..6e63f22 --- /dev/null +++ b/gas/testsuite/gas/i386/rept.d @@ -0,0 +1,5 @@ +#nm: --extern-only + +# Test the .rept pseudo-op. + +0+0 D _pad_data diff --git a/gas/testsuite/gas/i386/rept.s b/gas/testsuite/gas/i386/rept.s new file mode 100644 index 0000000..318f44e --- /dev/null +++ b/gas/testsuite/gas/i386/rept.s @@ -0,0 +1,6 @@ + .data + .global _pad_data +_pad_data: + .rept (0x40000*210) + .byte 0 + .endr -- cgit v1.1