* gas/sh/err-le.s, gas/sh/err-be.s: New tests.

This commit is contained in:
Hans-Peter Nilsson 2001-10-16 02:39:43 +00:00
parent 05982cacb9
commit a3366758ce
3 changed files with 24 additions and 0 deletions

View 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,

View File

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

View File

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