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 | c37c4e7627d00003f34a0e40ffac4ddb680b5d8c (patch) | |
tree | c533788f881fd9c522e0b4be7a5441772a9b4ff6 /gas/testsuite/gas | |
parent | 69a72a8d310353139b02424e52e590fc7b145e63 (diff) | |
download | binutils-redhat-c37c4e7627d00003f34a0e40ffac4ddb680b5d8c.tar.gz |
* gas/sh/err-le.s, gas/sh/err-be.s: New tests.
Diffstat (limited to 'gas/testsuite/gas')
-rw-r--r-- | gas/testsuite/gas/sh/err-be.s | 10 | ||||
-rw-r--r-- | gas/testsuite/gas/sh/err-le.s | 10 |
2 files changed, 20 insertions, 0 deletions
diff --git a/gas/testsuite/gas/sh/err-be.s b/gas/testsuite/gas/sh/err-be.s new file mode 100644 index 0000000000..0a1b4dfec3 --- /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 0000000000..bbb2abbac7 --- /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 |