mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 19:09:31 +08:00
* 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:
@ -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>
|
2011-05-14 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
* gas/all/gas.exp: Fix typo last change.
|
* gas/all/gas.exp: Fix typo last change.
|
||||||
|
6
gas/testsuite/gas/cris/pic-err-2.s
Normal file
6
gas/testsuite/gas/cris/pic-err-2.s
Normal 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
|
6
gas/testsuite/gas/cris/pic-err-3.s
Normal file
6
gas/testsuite/gas/cris/pic-err-3.s
Normal 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
|
@ -1,5 +1,6 @@
|
|||||||
#objdump: -dr
|
#objdump: -dr
|
||||||
#as: --pic
|
#as: --pic
|
||||||
|
#target: cris-*-*elf* cris-*-linux-gnu
|
||||||
#source: brokw-1.s
|
#source: brokw-1.s
|
||||||
|
|
||||||
.*: file format .*-cris
|
.*: file format .*-cris
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
#objdump: -dr
|
#objdump: -dr
|
||||||
#as: --pic
|
#as: --pic
|
||||||
|
#target: cris-*-*elf* cris-*-linux-gnu
|
||||||
#source: brokw-2.s
|
#source: brokw-2.s
|
||||||
|
|
||||||
.*: file format .*-cris
|
.*: file format .*-cris
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
#objdump: -dr
|
#objdump: -dr
|
||||||
#as: --pic
|
#as: --pic
|
||||||
|
#target: cris-*-*elf* cris-*-linux-gnu
|
||||||
#source: fragtest.s
|
#source: fragtest.s
|
||||||
|
|
||||||
.*: file format .*-cris
|
.*: file format .*-cris
|
||||||
|
Reference in New Issue
Block a user