From d654e24bbc2f601df4dc43b26049b0339528b93a Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 7 Jun 2012 14:52:41 +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/gas/i386/i386.exp | 1 + gas/testsuite/gas/i386/rept.d | 5 +++++ gas/testsuite/gas/i386/rept.s | 6 ++++++ 3 files changed, 12 insertions(+) create mode 100644 gas/testsuite/gas/i386/rept.d create mode 100644 gas/testsuite/gas/i386/rept.s (limited to 'gas/testsuite/gas/i386') diff --git a/gas/testsuite/gas/i386/i386.exp b/gas/testsuite/gas/i386/i386.exp index fc67db08e6..89adf696a0 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 0000000000..6e63f2286c --- /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 0000000000..318f44ea88 --- /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.2.1