This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Committed: fixing gas testsuite FAILs for cris-axis-linux-gnu


People were confused by the testsuite (actually the ld
testsuite) getting FAILs for cris-axis-linux-gnu, and rightly
so.  The autotester just tests cris-axis-elf...  Besides
cris-axis-linux-gnu, I made check for cris-axis-elf,
cris-axis-aout, crisv32-axis-linux-gnu.  The ld testsuite will
get the corresponding treatment.

gas/testsuite:
	* gas/cris: Adjust all files for testing target
	cris-axis-linux-gnu.

Index: gas/cris/brokw-3.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cris/brokw-3.d,v
retrieving revision 1.3
diff -u -p -r1.3 brokw-3.d
--- gas/cris/brokw-3.d	15 Jun 2003 23:46:37 -0000	1.3
+++ gas/cris/brokw-3.d	1 Sep 2005 00:20:17 -0000
@@ -1,4 +1,5 @@
 #objdump: -dr
+#as: --underscore
 #name: brokw-3
 
 .*:     file format .*-cris
Index: gas/cris/rd-abs32-2.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cris/rd-abs32-2.d,v
retrieving revision 1.1
diff -u -p -r1.1 rd-abs32-2.d
--- gas/cris/rd-abs32-2.d	4 Nov 2004 15:03:06 -0000	1.1
+++ gas/cris/rd-abs32-2.d	1 Sep 2005 00:20:17 -0000
@@ -6,7 +6,7 @@
 # assemble and disassemble correctly for v32 given "old-style"
 # mnemonics.
 
-.*:     file format elf32-us-cris
+.*:     file format elf32.*-cris
 
 Disassembly of section \.text:
 
Index: gas/cris/rd-arch-1.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cris/rd-arch-1.d,v
retrieving revision 1.2
diff -u -p -r1.2 rd-arch-1.d
--- gas/cris/rd-arch-1.d	8 Mar 2005 02:26:21 -0000	1.2
+++ gas/cris/rd-arch-1.d	1 Sep 2005 00:20:17 -0000
@@ -1,5 +1,5 @@
 #source: arch-err-2.s
-#as: --march=v32 --em=criself
+#as: --march=v32 --underscore --em=criself
 #objdump: -p
 
 #...
Index: gas/cris/rd-arch-2.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cris/rd-arch-2.d,v
retrieving revision 1.2
diff -u -p -r1.2 rd-arch-2.d
--- gas/cris/rd-arch-2.d	8 Mar 2005 02:26:21 -0000	1.2
+++ gas/cris/rd-arch-2.d	1 Sep 2005 00:20:17 -0000
@@ -1,5 +1,5 @@
 #source: arch-err-4.s
-#as: --march=common_v10_v32 --em=criself
+#as: --underscore --march=common_v10_v32 --em=criself
 #objdump: -p
 
 #...
Index: gas/cris/rd-arch-3.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cris/rd-arch-3.d,v
retrieving revision 1.2
diff -u -p -r1.2 rd-arch-3.d
--- gas/cris/rd-arch-3.d	8 Mar 2005 02:26:21 -0000	1.2
+++ gas/cris/rd-arch-3.d	1 Sep 2005 00:20:17 -0000
@@ -1,5 +1,5 @@
 #source: arch-err-5.s
-#as: --march=v0_v10 --em=criself
+#as: --march=v0_v10 --underscore --em=criself
 #objdump: -p
 
 #...
Index: gas/cris/rd-bkw1b.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cris/rd-bkw1b.d,v
retrieving revision 1.1
diff -u -p -r1.1 rd-bkw1b.d
--- gas/cris/rd-bkw1b.d	4 Nov 2004 15:03:06 -0000	1.1
+++ gas/cris/rd-bkw1b.d	1 Sep 2005 00:20:17 -0000
@@ -1,4 +1,4 @@
-#as: --em=criself --march=v32
+#as: --underscore --em=criself --march=v32
 #source: brokw-1.s
 #objdump: -dr
 
Index: gas/cris/rd-bkw2b.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cris/rd-bkw2b.d,v
retrieving revision 1.1
diff -u -p -r1.1 rd-bkw2b.d
--- gas/cris/rd-bkw2b.d	4 Nov 2004 15:03:06 -0000	1.1
+++ gas/cris/rd-bkw2b.d	1 Sep 2005 00:20:17 -0000
@@ -1,4 +1,4 @@
-#as: --em=criself --march=v32
+#as: --underscore --em=criself --march=v32
 #source: brokw-2.s
 #objdump: -dr
 
Index: gas/cris/rd-bkw3b.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cris/rd-bkw3b.d,v
retrieving revision 1.1
diff -u -p -r1.1 rd-bkw3b.d
--- gas/cris/rd-bkw3b.d	4 Nov 2004 15:03:06 -0000	1.1
+++ gas/cris/rd-bkw3b.d	1 Sep 2005 00:20:17 -0000
@@ -1,4 +1,4 @@
-#as: --em=criself --march=v32
+#as: --underscore --em=criself --march=v32
 #source: brokw-3b.s
 #objdump: -dr
 
Index: gas/cris/rd-bound1.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cris/rd-bound1.d,v
retrieving revision 1.1
diff -u -p -r1.1 rd-bound1.d
--- gas/cris/rd-bound1.d	4 Nov 2004 15:03:06 -0000	1.1
+++ gas/cris/rd-bound1.d	1 Sep 2005 00:20:17 -0000
@@ -1,4 +1,4 @@
-#as: --em=criself
+#as: --underscore --em=criself
 #objdump: -dr
 .*:     file format elf32-us-cris
 Disassembly of section \.text:
Index: gas/cris/rd-bound2.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cris/rd-bound2.d,v
retrieving revision 1.1
diff -u -p -r1.1 rd-bound2.d
--- gas/cris/rd-bound2.d	4 Nov 2004 15:03:06 -0000	1.1
+++ gas/cris/rd-bound2.d	1 Sep 2005 00:20:17 -0000
@@ -1,4 +1,4 @@
-#as: --em=criself --march=v32
+#as: --underscore --em=criself --march=v32
 #source: rd-bound1.s
 #objdump: -dr
 
Index: gas/cris/rd-bound3.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cris/rd-bound3.d,v
retrieving revision 1.1
diff -u -p -r1.1 rd-bound3.d
--- gas/cris/rd-bound3.d	4 Nov 2004 15:03:06 -0000	1.1
+++ gas/cris/rd-bound3.d	1 Sep 2005 00:20:17 -0000
@@ -1,4 +1,4 @@
-#as: --em=criself --march=v10
+#as: --underscore --em=criself --march=v10
 #source: bound-err-1.s
 #objdump: -dr
 
Index: gas/cris/rd-bound4.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cris/rd-bound4.d,v
retrieving revision 1.1
diff -u -p -r1.1 rd-bound4.d
--- gas/cris/rd-bound4.d	4 Nov 2004 15:03:06 -0000	1.1
+++ gas/cris/rd-bound4.d	1 Sep 2005 00:20:17 -0000
@@ -1,4 +1,4 @@
-#as: --em=criself --march=common_v10_v32
+#as: --underscore --em=criself --march=common_v10_v32
 #source: rd-bound1.s
 #objdump: -dr
 
Index: gas/cris/rd-pic-2.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cris/rd-pic-2.d,v
retrieving revision 1.1
diff -u -p -r1.1 rd-pic-2.d
--- gas/cris/rd-pic-2.d	8 Jul 2005 03:53:12 -0000	1.1
+++ gas/cris/rd-pic-2.d	1 Sep 2005 00:20:17 -0000
@@ -1,5 +1,5 @@
 #objdump: -dr
-#as: --em=criself --pic
+#as: --underscore --em=criself --pic
 
 # Check that 16-bit PIC relocs aren't overflowing.
 # PR gas/1049.
Index: gas/cris/rd-ppv1032.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cris/rd-ppv1032.d,v
retrieving revision 1.2
diff -u -p -r1.2 rd-ppv1032.d
--- gas/cris/rd-ppv1032.d	8 Mar 2005 02:26:21 -0000	1.2
+++ gas/cris/rd-ppv1032.d	1 Sep 2005 00:20:17 -0000
@@ -1,7 +1,6 @@
 #source: pushpopv32.s
-#as: --march=common_v10_v32 --em=criself
+#as: --underscore --march=common_v10_v32 --em=criself
 #objdump: -dr
-#name: pushpopv1032
 
 .*:[ 	]+file format .*-cris
 
Index: gas/cris/rd-ppv32.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cris/rd-ppv32.d,v
retrieving revision 1.2
diff -u -p -r1.2 rd-ppv32.d
--- gas/cris/rd-ppv32.d	8 Mar 2005 02:26:21 -0000	1.2
+++ gas/cris/rd-ppv32.d	1 Sep 2005 00:20:17 -0000
@@ -1,7 +1,6 @@
 #source: pushpopv32.s
-#as: --march=v32 --em=criself
+#as: --underscore --march=v32 --em=criself
 #objdump: -dr
-#name: pushpopv32
 
 .*:[ 	]+file format .*-cris
 
Index: gas/cris/rd-spr-1.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cris/rd-spr-1.d,v
retrieving revision 1.1
diff -u -p -r1.1 rd-spr-1.d
--- gas/cris/rd-spr-1.d	4 Nov 2004 15:03:06 -0000	1.1
+++ gas/cris/rd-spr-1.d	1 Sep 2005 00:20:17 -0000
@@ -1,4 +1,4 @@
-#as: --em=criself --march=v32
+#as: --underscore --em=criself --march=v32
 #objdump: -dr
 
 # Check support for support function register names.
Index: gas/cris/rd-usp-1.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cris/rd-usp-1.d,v
retrieving revision 1.2
diff -u -p -r1.2 rd-usp-1.d
--- gas/cris/rd-usp-1.d	8 Mar 2005 02:26:21 -0000	1.2
+++ gas/cris/rd-usp-1.d	1 Sep 2005 00:20:17 -0000
@@ -1,5 +1,5 @@
 #objdump: -dr
-#as: --march=v10
+#as: --underscore --march=v10
 #source: v32-err-8.s
 
 # Check that USP gets the right number for V10.
Index: gas/cris/rd-usp-1b.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cris/rd-usp-1b.d,v
retrieving revision 1.2
diff -u -p -r1.2 rd-usp-1b.d
--- gas/cris/rd-usp-1b.d	8 Mar 2005 02:26:21 -0000	1.2
+++ gas/cris/rd-usp-1b.d	1 Sep 2005 00:20:17 -0000
@@ -1,5 +1,5 @@
 #objdump: -dr
-#as: --march=v32 --em=criself
+#as: --underscore --march=v32 --em=criself
 #source: v32-err-8.s
 
 # Check that USP gets the right number for V32.
Index: gas/cris/rd-v10_32o-1.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cris/rd-v10_32o-1.d,v
retrieving revision 1.1
diff -u -p -r1.1 rd-v10_32o-1.d
--- gas/cris/rd-v10_32o-1.d	4 Nov 2004 15:03:06 -0000	1.1
+++ gas/cris/rd-v10_32o-1.d	1 Sep 2005 00:20:17 -0000
@@ -1,5 +1,5 @@
 #source: break.s
-#as: --em=criself --march=common_v10_v32
+#as: --underscore --em=criself --march=common_v10_v32
 #objdump: -p
 
 # Check that different command-line options result in different
Index: gas/cris/rd-v10_32o-2.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cris/rd-v10_32o-2.d,v
retrieving revision 1.1
diff -u -p -r1.1 rd-v10_32o-2.d
--- gas/cris/rd-v10_32o-2.d	4 Nov 2004 15:03:06 -0000	1.1
+++ gas/cris/rd-v10_32o-2.d	1 Sep 2005 00:20:17 -0000
@@ -1,4 +1,4 @@
-#as: --em=criself --march=common_v10_v32
+#as: --underscore --em=criself --march=common_v10_v32
 #objdump: -dr
 
 # Check that branch offsets are computed as for v32.  The
Index: gas/cris/rd-v32-b1.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cris/rd-v32-b1.d,v
retrieving revision 1.1
diff -u -p -r1.1 rd-v32-b1.d
--- gas/cris/rd-v32-b1.d	4 Nov 2004 15:03:06 -0000	1.1
+++ gas/cris/rd-v32-b1.d	1 Sep 2005 00:20:17 -0000
@@ -1,4 +1,4 @@
-#as: --em=criself --march=v32
+#as: --underscore --em=criself --march=v32
 #objdump: -dr
 
 .*:     file format elf32-us-cris
Index: gas/cris/rd-v32-b2.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cris/rd-v32-b2.d,v
retrieving revision 1.1
diff -u -p -r1.1 rd-v32-b2.d
--- gas/cris/rd-v32-b2.d	4 Nov 2004 15:03:06 -0000	1.1
+++ gas/cris/rd-v32-b2.d	1 Sep 2005 00:20:17 -0000
@@ -1,4 +1,4 @@
-#as: --em=criself --march=v32
+#as: --underscore --em=criself --march=v32
 #objdump: -dr
 
 .*:     file format elf32-us-cris
Index: gas/cris/rd-v32-b3.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cris/rd-v32-b3.d,v
retrieving revision 1.1
diff -u -p -r1.1 rd-v32-b3.d
--- gas/cris/rd-v32-b3.d	4 Nov 2004 15:03:06 -0000	1.1
+++ gas/cris/rd-v32-b3.d	1 Sep 2005 00:20:17 -0000
@@ -1,4 +1,4 @@
-#as: --em=criself --march=v32
+#as: --underscore --em=criself --march=v32
 #objdump: -dr
 
 # Check expansion of "ba" into dword operands for different segment.
Index: gas/cris/rd-v32-f1.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cris/rd-v32-f1.d,v
retrieving revision 1.1
diff -u -p -r1.1 rd-v32-f1.d
--- gas/cris/rd-v32-f1.d	4 Nov 2004 15:03:06 -0000	1.1
+++ gas/cris/rd-v32-f1.d	1 Sep 2005 00:20:17 -0000
@@ -1,4 +1,4 @@
-#as: --em=criself --march=v32
+#as: --underscore --em=criself --march=v32
 #objdump: -dr
 
 # Test that v32 flags are properly recognized and emitted at disassembly.
Index: gas/cris/rd-v32-i1.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cris/rd-v32-i1.d,v
retrieving revision 1.1
diff -u -p -r1.1 rd-v32-i1.d
--- gas/cris/rd-v32-i1.d	4 Nov 2004 15:03:06 -0000	1.1
+++ gas/cris/rd-v32-i1.d	1 Sep 2005 00:20:17 -0000
@@ -1,4 +1,4 @@
-#as: --em=criself --march=v32
+#as: --underscore --em=criself --march=v32
 #objdump: -dr
 
 # Test that addc recognizes constant operands.
Index: gas/cris/rd-v32-l1.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cris/rd-v32-l1.d,v
retrieving revision 1.1
diff -u -p -r1.1 rd-v32-l1.d
--- gas/cris/rd-v32-l1.d	4 Nov 2004 15:03:06 -0000	1.1
+++ gas/cris/rd-v32-l1.d	1 Sep 2005 00:20:17 -0000
@@ -1,4 +1,4 @@
-#as: --em=criself --march=v32
+#as: --underscore --em=criself --march=v32
 #objdump: -dr
 
 .*:     file format elf32-us-cris
Index: gas/cris/rd-v32-l3.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cris/rd-v32-l3.d,v
retrieving revision 1.1
diff -u -p -r1.1 rd-v32-l3.d
--- gas/cris/rd-v32-l3.d	4 Nov 2004 15:03:06 -0000	1.1
+++ gas/cris/rd-v32-l3.d	1 Sep 2005 00:20:17 -0000
@@ -1,4 +1,4 @@
-#as: --em=criself --march=v32
+#as: --underscore --em=criself --march=v32
 #objdump: -dr
 
 .*:     file format elf32-us-cris
Index: gas/cris/rd-v32-l4.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cris/rd-v32-l4.d,v
retrieving revision 1.1
diff -u -p -r1.1 rd-v32-l4.d
--- gas/cris/rd-v32-l4.d	4 Nov 2004 15:03:06 -0000	1.1
+++ gas/cris/rd-v32-l4.d	1 Sep 2005 00:20:17 -0000
@@ -1,4 +1,4 @@
-#as: --em=criself --march=v32
+#as: --underscore --em=criself --march=v32
 #objdump: -dr
 
 # Test that lapc shrinks to lapcq and that offsets are emitted correctly.
Index: gas/cris/rd-v32o-1.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cris/rd-v32o-1.d,v
retrieving revision 1.1
diff -u -p -r1.1 rd-v32o-1.d
--- gas/cris/rd-v32o-1.d	4 Nov 2004 15:03:06 -0000	1.1
+++ gas/cris/rd-v32o-1.d	1 Sep 2005 00:20:17 -0000
@@ -1,5 +1,5 @@
 #source: abs32-1.s
-#as: --em=criself --march=v32
+#as: --underscore --em=criself --march=v32
 #objdump: -p
 
 # Check that different command-line options result in different
Index: gas/cris/rd-v32s-1.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cris/rd-v32s-1.d,v
retrieving revision 1.1
diff -u -p -r1.1 rd-v32s-1.d
--- gas/cris/rd-v32s-1.d	4 Nov 2004 15:03:06 -0000	1.1
+++ gas/cris/rd-v32s-1.d	1 Sep 2005 00:20:17 -0000
@@ -1,5 +1,5 @@
 #source: v32-err-1.s
-#as: --em=criself --march=v32
+#as: --underscore --em=criself --march=v32
 #objdump: -dr
 
 # Check that v32 insns that are expected to give syntax errors
Index: gas/cris/rd-v32s-2.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cris/rd-v32s-2.d,v
retrieving revision 1.1
diff -u -p -r1.1 rd-v32s-2.d
--- gas/cris/rd-v32s-2.d	4 Nov 2004 15:03:06 -0000	1.1
+++ gas/cris/rd-v32s-2.d	1 Sep 2005 00:20:17 -0000
@@ -1,4 +1,4 @@
-#as: --em=criself --march=v32
+#as: --underscore --em=criself --march=v32
 #objdump: -dr
 
 .*:     file format elf32-us-cris
Index: gas/cris/rd-v32s-3.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cris/rd-v32s-3.d,v
retrieving revision 1.1
diff -u -p -r1.1 rd-v32s-3.d
--- gas/cris/rd-v32s-3.d	4 Nov 2004 15:03:06 -0000	1.1
+++ gas/cris/rd-v32s-3.d	1 Sep 2005 00:20:17 -0000
@@ -1,4 +1,4 @@
-#as: --em=criself --march=v32
+#as: --underscore --em=criself --march=v32
 #objdump: -dr
 
 .*:     file format elf32-us-cris
Index: gas/cris/rd-v32s-4.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cris/rd-v32s-4.d,v
retrieving revision 1.1
diff -u -p -r1.1 rd-v32s-4.d
--- gas/cris/rd-v32s-4.d	4 Nov 2004 15:03:06 -0000	1.1
+++ gas/cris/rd-v32s-4.d	1 Sep 2005 00:20:17 -0000
@@ -1,4 +1,4 @@
-#as: --em=criself --march=v32
+#as: --underscore --em=criself --march=v32
 #objdump: -dr
 
 .*:     file format elf32-us-cris
Index: gas/cris/rd-vao-1.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cris/rd-vao-1.d,v
retrieving revision 1.1
diff -u -p -r1.1 rd-vao-1.d
--- gas/cris/rd-vao-1.d	4 Nov 2004 15:03:06 -0000	1.1
+++ gas/cris/rd-vao-1.d	1 Sep 2005 00:20:17 -0000
@@ -1,5 +1,5 @@
 #source: abs32-1.s
-#as: --em=criself --march=v0_v10
+#as: --underscore --em=criself --march=v0_v10
 #objdump: -p
 
 # Check that different command-line options result in different
Index: gas/cris/v32-err-2.s
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cris/v32-err-2.s,v
retrieving revision 1.1
diff -u -p -r1.1 v32-err-2.s
--- gas/cris/v32-err-2.s	4 Nov 2004 15:03:06 -0000	1.1
+++ gas/cris/v32-err-2.s	1 Sep 2005 00:20:17 -0000
@@ -1,5 +1,5 @@
 ; { dg-do assemble }
-; { dg-options "--march=common_v10_v32 --em=criself" }
+; { dg-options " --underscore --march=common_v10_v32 --em=criself" }
 ; { dg-error ".word offset handling is not implemented" "err for broken .word" { target cris-*-* } 0 }
 
 ; Tests that broken words don't crash, just give a message when
Index: gas/cris/v32-err-3.s
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cris/v32-err-3.s,v
retrieving revision 1.1
diff -u -p -r1.1 v32-err-3.s
--- gas/cris/v32-err-3.s	4 Nov 2004 15:03:06 -0000	1.1
+++ gas/cris/v32-err-3.s	1 Sep 2005 00:20:17 -0000
@@ -1,7 +1,7 @@
 ; Error for flags not applicable to current arch.
 ; #1: Error for pre-v32 flags for v32.
 ; { dg-do assemble }
-; { dg-options "--march=v32" }
+; { dg-options " --underscore --march=v32" }
 
 y:
  clearf d	; { dg-error "(Illegal|Invalid) operands" }

brgds, H-P


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]