From: H.J. Lu Date: Thu, 7 Jun 2012 14:52:42 +0000 (+0000) Subject: Move gas/all/rept.[ds] to gas/i386 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c22faadb1a721ca67acfb622e4f4568f5ddd7d7d;p=binutils-gdb.git 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. --- diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 0cd8df59bf3..9b3c6d30cec 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,14 @@ +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 diff --git a/gas/testsuite/gas/all/gas.exp b/gas/testsuite/gas/all/gas.exp index 079b74613fa..2cef5ddd594 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 6e63f2286ce..00000000000 --- 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 318f44ea88d..00000000000 --- 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 fc67db08e69..89adf696a00 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 00000000000..6e63f2286ce --- /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 00000000000..318f44ea88d --- /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