* gas/cris/rd-brokw-pic-1.d, gas/cris/rd-brokw-pic-2.d,

gas/cris/rd-fragtest-pic.d: Gate on targets cris-*-*elf* and
	cris-*-linux-gnu.
	* gas/cris/pic-err-2.s, gas/cris/pic-err-3.s: New tests.
This commit is contained in:
Hans-Peter Nilsson 2011-05-16 03:29:34 +00:00
parent 0d7e0060b4
commit 27d0bed645
6 changed files with 22 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2011-05-16 Hans-Peter Nilsson <hp@axis.com>
* gas/cris/rd-brokw-pic-1.d, gas/cris/rd-brokw-pic-2.d,
gas/cris/rd-fragtest-pic.d: Gate on targets cris-*-*elf* and
cris-*-linux-gnu.
* gas/cris/pic-err-2.s, gas/cris/pic-err-3.s: New tests.
2011-05-14 Alan Modra <amodra@gmail.com>
* gas/all/gas.exp: Fix typo last change.

View File

@ -0,0 +1,6 @@
; Check that --pic isn't recognized for a.out files, specified by emulation.
; { dg-do assemble { target cris-*-* } }
; { dg-options "--pic --em=crisaout" }
; { dg-error ".* --pic is invalid" "" { target cris-*-* } 0 }
nop

View File

@ -0,0 +1,6 @@
; Check that --pic isn't recognized for a.out files, with a.out the default.
; { dg-do assemble { target cris-*-*aout* } }
; { dg-options "--pic" }
; { dg-error ".* --pic is invalid" "" { target cris-*-* } 0 }
nop

View File

@ -1,5 +1,6 @@
#objdump: -dr
#as: --pic
#target: cris-*-*elf* cris-*-linux-gnu
#source: brokw-1.s
.*: file format .*-cris

View File

@ -1,5 +1,6 @@
#objdump: -dr
#as: --pic
#target: cris-*-*elf* cris-*-linux-gnu
#source: brokw-2.s
.*: file format .*-cris

View File

@ -1,5 +1,6 @@
#objdump: -dr
#as: --pic
#target: cris-*-*elf* cris-*-linux-gnu
#source: fragtest.s
.*: file format .*-cris