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-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.
2011-05-14 Alan Modra <amodra@gmail.com>
* gas/all/gas.exp: Fix typo last change.
--- /dev/null
+; 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
--- /dev/null
+; 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
+#target: cris-*-*elf* cris-*-linux-gnu
#source: brokw-1.s
.*: file format .*-cris
#source: brokw-1.s
.*: file format .*-cris
+#target: cris-*-*elf* cris-*-linux-gnu
#source: brokw-2.s
.*: file format .*-cris
#source: brokw-2.s
.*: file format .*-cris
+#target: cris-*-*elf* cris-*-linux-gnu
#source: fragtest.s
.*: file format .*-cris
#source: fragtest.s
.*: file format .*-cris