diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2001-10-16 02:39:43 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2001-10-16 02:39:43 +0000 |
commit | a3366758ce10f5bc06f1a128c4eb82cf2a82e455 (patch) | |
tree | 802611eb5898ad16132373c79823257e8316594a | |
parent | 05982cacb924d76c8a040683149ef0e58c208016 (diff) | |
download | gdb-a3366758ce10f5bc06f1a128c4eb82cf2a82e455.zip gdb-a3366758ce10f5bc06f1a128c4eb82cf2a82e455.tar.gz gdb-a3366758ce10f5bc06f1a128c4eb82cf2a82e455.tar.bz2 |
* gas/sh/err-le.s, gas/sh/err-be.s: New tests.
-rw-r--r-- | gas/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gas/testsuite/gas/sh/err-be.s | 10 | ||||
-rw-r--r-- | gas/testsuite/gas/sh/err-le.s | 10 |
3 files changed, 24 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 06a2e86..6575f68 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2001-10-16 Hans-Peter Nilsson <hp@bitrange.com> + + * gas/sh/err-le.s, gas/sh/err-be.s: New tests. + 2001-10-13 matthew green <mrg@redhat.com> * gas/ppc/booke.s (rfci, wrtee, wrteei, mfdcrx, mfdcr, mtdcrx, diff --git a/gas/testsuite/gas/sh/err-be.s b/gas/testsuite/gas/sh/err-be.s new file mode 100644 index 0000000..0a1b4df --- /dev/null +++ b/gas/testsuite/gas/sh/err-be.s @@ -0,0 +1,10 @@ +! { dg-do assemble { target sh*-*-elf} } +! { dg-options "-little" } +! { dg-error "-big required" "" { target sh*-*-elf } 0 } + +! Check that a mismatch between command-line options and the .big +! directive is identified. + + .big +start: + nop diff --git a/gas/testsuite/gas/sh/err-le.s b/gas/testsuite/gas/sh/err-le.s new file mode 100644 index 0000000..bbb2abb --- /dev/null +++ b/gas/testsuite/gas/sh/err-le.s @@ -0,0 +1,10 @@ +! { dg-do assemble { target sh*-*-elf} } +! { dg-options "-big" } +! { dg-error "-little required" "" { target sh*-*-elf } 0 } + +! Check that a mismatch between command-line options and the .big +! directive is identified. + + .little +start: + nop |