diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-06-07 14:52:41 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-06-07 14:52:41 +0000 |
commit | d654e24bbc2f601df4dc43b26049b0339528b93a (patch) | |
tree | c6566614ff39f28e7f8c4d876c4fd0c3a3ab3669 /gas/testsuite/gas/i386 | |
parent | 06f1247c54126b9f1e6acb8ff8c7be35aec6f44c (diff) | |
download | binutils-redhat-d654e24bbc2f601df4dc43b26049b0339528b93a.tar.gz |
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.
Diffstat (limited to 'gas/testsuite/gas/i386')
-rw-r--r-- | gas/testsuite/gas/i386/i386.exp | 1 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/rept.d | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/rept.s | 6 |
3 files changed, 12 insertions, 0 deletions
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 |