* gas/sh/err-le.s, gas/sh/err-be.s: New tests.
authorHans-Peter Nilsson <hp@axis.com>
Tue, 16 Oct 2001 02:39:43 +0000 (02:39 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Tue, 16 Oct 2001 02:39:43 +0000 (02:39 +0000)
gas/testsuite/ChangeLog
gas/testsuite/gas/sh/err-be.s [new file with mode: 0644]
gas/testsuite/gas/sh/err-le.s [new file with mode: 0644]

index 06a2e86..6575f68 100644 (file)
@@ -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 (file)
index 0000000..0a1b4df
--- /dev/null
@@ -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 (file)
index 0000000..bbb2abb
--- /dev/null
@@ -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