* gas/cris/rd-bcnst.d, gas/cris/rd-usp-1.d: Adjust regexps for a.out output.
* gas/cris/mulbug-err-1.s, gas/cris/rd-arch-1.d,
gas/cris/rd-arch-2.d, gas/cris/rd-arch-3.d, gas/cris/rd-break32.d,
gas/cris/rd-pcrel2.d, gas/cris/rd-ppv1032.d, gas/cris/rd-ppv32.d,
gas/cris/rd-usp-1b.d, gas/cris/v32-err-7.s: Pass --em=criself.
+2005-03-08 Hans-Peter Nilsson <hp@axis.com>
+
+ Adjust testsuite for cris-axis-aout.
+ * gas/cris/rd-bcnst.d, gas/cris/rd-usp-1.d: Adjust regexps for a.out output.
+ * gas/cris/mulbug-err-1.s, gas/cris/rd-arch-1.d,
+ gas/cris/rd-arch-2.d, gas/cris/rd-arch-3.d, gas/cris/rd-break32.d,
+ gas/cris/rd-pcrel2.d, gas/cris/rd-ppv1032.d, gas/cris/rd-ppv32.d,
+ gas/cris/rd-usp-1b.d, gas/cris/v32-err-7.s: Pass --em=criself.
+
2005-03-04 David Daney <ddaney@avtrex.com>
* gas/mips/elf-rel23b.d: Use '__gnu_local_gp' instead of '_gp'
; a hardware bug.
; { dg-do assemble { target cris-*-* } }
+; { dg-options "--em=criself" }
; First, .text isn't dword-aligned by default.
.text
#source: arch-err-2.s
-#as: --march=v32
+#as: --march=v32 --em=criself
#objdump: -p
#...
#source: arch-err-4.s
-#as: --march=common_v10_v32
+#as: --march=common_v10_v32 --em=criself
#objdump: -p
#...
#source: arch-err-5.s
-#as: --march=v0_v10
+#as: --march=v0_v10 --em=criself
#objdump: -p
#...
Disassembly of section \.text:
0+ <\.text>:
-[ ]+0:[ ]+08e0[ ]+ba 0xa
+[ ]+0:[ ]+08e0[ ]+ba (0xa|a <.*)
[ ]+2:[ ]+0f05[ ]+nop
-[ ]+4:[ ]+3f0d 00db ba00[ ]+jump 0xbadb00
-[ ]+a:[ ]+f970[ ]+bmi 0x4
-[ ]+c:[ ]+08e0[ ]+ba 0x16
+[ ]+4:[ ]+3f0d 00db ba00[ ]+jump (0xbadb00|badb00 <.*)
+[ ]+a:[ ]+f970[ ]+bmi (0x4|4 <.*)
+[ ]+c:[ ]+08e0[ ]+ba (0x16|16 <.*)
[ ]+e:[ ]+0f05[ ]+nop
-[ ]+10:[ ]+3f0d 000b 0000[ ]+jump 0xb00
-[ ]+16:[ ]+f970[ ]+bmi 0x10
-[ ]+18:[ ]+08e0[ ]+ba 0x22
+[ ]+10:[ ]+3f0d 000b 0000[ ]+jump (0xb00|b00 <.*)
+[ ]+16:[ ]+f970[ ]+bmi (0x10|10 <.*)
+[ ]+18:[ ]+08e0[ ]+ba (0x22|22 <.*)
[ ]+1a:[ ]+0f05[ ]+nop
-[ ]+1c:[ ]+3f0d 4200 0000[ ]+jump 0x42
-[ ]+22:[ ]+f970[ ]+bmi 0x1c
+[ ]+1c:[ ]+3f0d 4200 0000[ ]+jump (0x42|42 <.*)
+[ ]+22:[ ]+f970[ ]+bmi (0x1c|1c <.*)
-#as: --march=v32
+#as: --march=v32 --em=criself
#source: break.s
#objdump: -dr
#objdump: -dr
+#as: --em=criself
.*: file format .*-cris
#source: pushpopv32.s
-#as: --march=common_v10_v32
+#as: --march=common_v10_v32 --em=criself
#objdump: -dr
#name: pushpopv1032
#source: pushpopv32.s
-#as: --march=v32
+#as: --march=v32 --em=criself
#objdump: -dr
#name: pushpopv32
# Check that USP gets the right number for V10.
-.*: file format elf32-us-cris
+.*: file format .*-cris
Disassembly of section \.text:
0+ <\.text>:
0: 3af6 move r10,usp
- 2: 3ffe b0ab 0f00 move 0xfabb0,usp
+ 2: 3ffe b0ab 0f00 move (0xfabb0|fabb0 <.*>),usp
8: 75fa move usp,\[r5\]
a: 3cfa move \[r12\],usp
#objdump: -dr
-#as: --march=v32
+#as: --march=v32 --em=criself
#source: v32-err-8.s
# Check that USP gets the right number for V32.
; Error for lapcq out-of-range.
; { dg-do assemble }
-; { dg-options "--march=v32" }
+; { dg-options "--march=v32 --em=criself" }
a:
nop