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 21a8ff6c07d5d89ed47b76d7728a051b45b1aa82..7b3cf0f832508375cae3c343db819a5f41ca741a 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 fbd830398c69d5730848a7500ee308132cfb5c14..b8a0d9ca0ac891d5fb57c2b026e92c7bfc73ac73 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 a3bd076ae1cf1858ac0e924d40e1c466f038ed3b..52f19c80a84cc6fb25cc4ef866ffab89b70aab78 100644 (file)
@@ -1,5 +1,5 @@
 #source: arch-err-2.s
-#as: --march=v32
+#as: --march=v32 --em=criself
 #objdump: -p
 
 #...
index 8886a725581ebaa6c220c55d4e7ac80f74442654..6f7d069dec60fa4bafa7fee29fe9e97a73cfbbe6 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 e77ff0d62e4bdfc87ff2761ce7550d213129099c..9039e8d9dd385e1b0ae0d81fa9a7a044809fa2a8 100644 (file)
@@ -1,5 +1,5 @@
 #source: arch-err-5.s
-#as: --march=v0_v10
+#as: --march=v0_v10 --em=criself
 #objdump: -p
 
 #...
index f21066657b4098e351c27c2acdc7cf3c05abc7c5..80e9716dd5c09afe09215d9408426fa42b73df52 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 7959ecf741e726a7a06b289d589884702bd60207..ba7c518e057b61485b1e90eef0e7bcd041e7be0c 100644 (file)
@@ -1,4 +1,4 @@
-#as: --march=v32
+#as: --march=v32 --em=criself
 #source: break.s
 #objdump: -dr
 
index 8dac5ca4b011d2032231c15063fedf12335c021b..2b401e7a0f122237d153ef40942aa4f172f662ca 100644 (file)
@@ -1,4 +1,5 @@
 #objdump: -dr
+#as: --em=criself
 
 .*:     file format .*-cris
 
index d545fbd015d3eb0a68e419d4b28157fc78a30ed9..159648f8677cca317a3f49a674f557845d31cebb 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 abc74fb5e7edee0d1c38888fcdd102c5706a19c2..e84ff302412f1812edba23f7febbf66bee5cb280 100644 (file)
@@ -1,5 +1,5 @@
 #source: pushpopv32.s
-#as: --march=v32
+#as: --march=v32 --em=criself
 #objdump: -dr
 #name: pushpopv32
 
index 2ded594e9518c90a13ef6abb0e04f9dac28ce63c..80bf7a9d222b18ea4eb224f2f0302ba83a916746 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 07fa6c56cb899ac2b51c962fc4b46b142abe9b58..b808f8425b807b72460afbbd2574972410a8fbf5 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 572ff20244595961c0cd263294ae9058801116c6..72b65033cdc6428321cb7f921529e75d03ff5eb0 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