From: H.J. Lu Date: Thu, 7 Jun 2012 13:47:14 +0000 (+0000) Subject: Add a testcase for PR gas/14201 X-Git-Tag: sid-snapshot-20120701~253 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=918e92bee9b9d6e56fc5c6ac7612af870c892f49;p=platform%2Fupstream%2Fbinutils.git 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. --- 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 + + 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 * 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