Adjust testsuite for cris-axis-aout.
authorHans-Peter Nilsson <hp@axis.com>
Tue, 8 Mar 2005 02:26:21 +0000 (02:26 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Tue, 8 Mar 2005 02:26:21 +0000 (02:26 +0000)
* 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.

13 files changed:
gas/testsuite/ChangeLog
gas/testsuite/gas/cris/mulbug-err-1.s
gas/testsuite/gas/cris/rd-arch-1.d
gas/testsuite/gas/cris/rd-arch-2.d
gas/testsuite/gas/cris/rd-arch-3.d
gas/testsuite/gas/cris/rd-bcnst.d
gas/testsuite/gas/cris/rd-break32.d
gas/testsuite/gas/cris/rd-pcrel2.d
gas/testsuite/gas/cris/rd-ppv1032.d
gas/testsuite/gas/cris/rd-ppv32.d
gas/testsuite/gas/cris/rd-usp-1.d
gas/testsuite/gas/cris/rd-usp-1b.d
gas/testsuite/gas/cris/v32-err-7.s

index 21a8ff6..7b3cf0f 100644 (file)
@@ -1,3 +1,12 @@
+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'
index fbd8303..b8a0d9c 100644 (file)
@@ -2,6 +2,7 @@
 ; a hardware bug.
 
 ;  { dg-do assemble { target cris-*-* } }
+;  { dg-options "--em=criself" }
 
  ; First, .text isn't dword-aligned by default.
  .text
index a3bd076..52f19c8 100644 (file)
@@ -1,5 +1,5 @@
 #source: arch-err-2.s
-#as: --march=v32
+#as: --march=v32 --em=criself
 #objdump: -p
 
 #...
index 8886a72..6f7d069 100644 (file)
@@ -1,5 +1,5 @@
 #source: arch-err-4.s
-#as: --march=common_v10_v32
+#as: --march=common_v10_v32 --em=criself
 #objdump: -p
 
 #...
index e77ff0d..9039e8d 100644 (file)
@@ -1,5 +1,5 @@
 #source: arch-err-5.s
-#as: --march=v0_v10
+#as: --march=v0_v10 --em=criself
 #objdump: -p
 
 #...
index f210666..80e9716 100644 (file)
@@ -8,15 +8,15 @@
 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 <.*)
index 7959ecf..ba7c518 100644 (file)
@@ -1,4 +1,4 @@
-#as: --march=v32
+#as: --march=v32 --em=criself
 #source: break.s
 #objdump: -dr
 
index 8dac5ca..2b401e7 100644 (file)
@@ -1,4 +1,5 @@
 #objdump: -dr
+#as: --em=criself
 
 .*:     file format .*-cris
 
index d545fbd..159648f 100644 (file)
@@ -1,5 +1,5 @@
 #source: pushpopv32.s
-#as: --march=common_v10_v32
+#as: --march=common_v10_v32 --em=criself
 #objdump: -dr
 #name: pushpopv1032
 
index abc74fb..e84ff30 100644 (file)
@@ -1,5 +1,5 @@
 #source: pushpopv32.s
-#as: --march=v32
+#as: --march=v32 --em=criself
 #objdump: -dr
 #name: pushpopv32
 
index 2ded594..80bf7a9 100644 (file)
@@ -4,12 +4,12 @@
 
 # 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
index 07fa6c5..b808f84 100644 (file)
@@ -1,5 +1,5 @@
 #objdump: -dr
-#as: --march=v32
+#as: --march=v32 --em=criself
 #source: v32-err-8.s
 
 # Check that USP gets the right number for V32.
index 572ff20..72b6503 100644 (file)
@@ -1,6 +1,6 @@
 ; Error for lapcq out-of-range.
 ; { dg-do assemble }
-; { dg-options "--march=v32" }
+; { dg-options "--march=v32 --em=criself" }
 
 a:
  nop