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.
This commit is contained in:
H.J. Lu 2012-06-07 13:47:14 +00:00
parent 39a45edc07
commit 918e92bee9
4 changed files with 20 additions and 0 deletions

View File

@ -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.

View File

@ -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

View File

@ -0,0 +1,5 @@
#nm: --extern-only
# Test the .rept pseudo-op.
0+0 D _pad_data

View File

@ -0,0 +1,6 @@
.data
.global _pad_data
_pad_data:
.rept (0x40000*210)
.byte 0
.endr