diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-06-07 13:47:14 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-06-07 13:47:14 +0000 |
commit | 918e92bee9b9d6e56fc5c6ac7612af870c892f49 (patch) | |
tree | fbcdbdef818ae03827d7c4b08a630b403e56ed30 /gas | |
parent | 39a45edc073226e748566b497c216830cec119c4 (diff) | |
download | gdb-918e92bee9b9d6e56fc5c6ac7612af870c892f49.zip gdb-918e92bee9b9d6e56fc5c6ac7612af870c892f49.tar.gz gdb-918e92bee9b9d6e56fc5c6ac7612af870c892f49.tar.bz2 |
Add a testcase for PR gas/14201
PR gas/14201
* gas/all/gas.exp: Run rept.
* gas/all/rept.d: New file.
* gas/all/rept.s: Likewise.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/ChangeLog | 8 | ||||
-rw-r--r-- | gas/testsuite/gas/all/gas.exp | 1 | ||||
-rw-r--r-- | gas/testsuite/gas/all/rept.d | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/all/rept.s | 6 |
4 files changed, 20 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 78bec37..0cd8df5 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2012-06-07 H.J. Lu <hongjiu.lu@intel.com> + + PR gas/14201 + * gas/all/gas.exp: Run rept. + + * gas/all/rept.d: New file. + * gas/all/rept.s: Likewise. + 2012-05-29 Roland McGrath <mcgrathr@google.com> * gas/i386/bundle-bad.s: Remove nested .bundle_lock case. diff --git a/gas/testsuite/gas/all/gas.exp b/gas/testsuite/gas/all/gas.exp index 2cef5dd..079b746 100644 --- a/gas/testsuite/gas/all/gas.exp +++ b/gas/testsuite/gas/all/gas.exp @@ -400,6 +400,7 @@ 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 new file mode 100644 index 0000000..6e63f22 --- /dev/null +++ b/gas/testsuite/gas/all/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/all/rept.s b/gas/testsuite/gas/all/rept.s new file mode 100644 index 0000000..318f44e --- /dev/null +++ b/gas/testsuite/gas/all/rept.s @@ -0,0 +1,6 @@ + .data + .global _pad_data +_pad_data: + .rept (0x40000*210) + .byte 0 + .endr |