This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Committed: fixing ld testsuite FAILs for cris-axis-linux-gnu
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- To: binutils at sourceware dot org
- Date: Thu, 1 Sep 2005 03:47:41 +0200
- Subject: Committed: fixing ld testsuite FAILs for cris-axis-linux-gnu
See <URL:http://sourceware.org/ml/binutils/2005-09/msg00000.html>.
I didn't consider it worth the effort to adjust both test source
and linker options to actually run the tests; cris-axis-elf is
where the bulk testing is done.
* ld-cris: Skip tests unsuitable for testing target
cris-axis-linux-gnu.
Index: ld-cris/v10-v32.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-cris/v10-v32.d,v
retrieving revision 1.2
diff -u -p -r1.2 v10-v32.d
--- ld-cris/v10-v32.d 8 Mar 2005 02:31:40 -0000 1.2
+++ ld-cris/v10-v32.d 1 Sep 2005 01:38:40 -0000
@@ -1,3 +1,4 @@
+# notarget: cris*-*-linux-gnu
# source: start1.s --march=v32
# source: move-1.s --march=v0_v10
# as: --em=criself
@@ -5,5 +6,5 @@
# error: contains non-CRIS-v32 code
# Test that linking a (classic) v10 object to a v32 object does
-# not work.
+# not work. Source code and "-m criself" doesn't work with *-linux-gnu.
Index: ld-cris/v10-va.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-cris/v10-va.d,v
retrieving revision 1.2
diff -u -p -r1.2 v10-va.d
--- ld-cris/v10-va.d 8 Mar 2005 02:31:40 -0000 1.2
+++ ld-cris/v10-va.d 1 Sep 2005 01:38:40 -0000
@@ -1,3 +1,4 @@
+# notarget: cris*-*-linux-gnu
# source: start1.s --march=common_v10_v32
# source: move-1.s --march=v0_v10
# as: --em=criself
@@ -6,6 +7,7 @@
# Test that linking a v10 compatible object to a v10+v32 object
# does work and results in the output marked as a v10 object.
+# Source code and "-m criself" doesn't work with *-linux-gnu.
#...
private flags = 1: \[symbols have a _ prefix\]
Index: ld-cris/v32-ba-1.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-cris/v32-ba-1.d,v
retrieving revision 1.3
diff -u -p -r1.3 v32-ba-1.d
--- ld-cris/v32-ba-1.d 11 Aug 2005 15:59:11 -0000 1.3
+++ ld-cris/v32-ba-1.d 1 Sep 2005 01:38:40 -0000
@@ -1,8 +1,10 @@
+# notarget: cris*-*-linux-gnu
# as: --march=v32 --em=criself
# ld: -m criself
# objdump: -d
# Check that 32-bit branches (PCREL:s) are relocated right.
+# Source code and "-m criself" doesn't work with *-linux-gnu.
.*: file format elf32-us-cris
Index: ld-cris/v32-bin-1.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-cris/v32-bin-1.d,v
retrieving revision 1.2
diff -u -p -r1.2 v32-bin-1.d
--- ld-cris/v32-bin-1.d 8 Mar 2005 02:31:40 -0000 1.2
+++ ld-cris/v32-bin-1.d 1 Sep 2005 01:38:40 -0000
@@ -1,8 +1,10 @@
+#notarget: cris*-*-linux-gnu
#as: --em=criself --march=v32
#ld: -m criself --oformat binary --defsym ext1=0x4000 --defsym ext2=0x6000
#objdump: -s -b binary
# Test that pcrel relocs work with --oformat binary.
+# Source code and "-m criself" doesn't work with *-linux-gnu.
.*: file format binary
Index: ld-cris/v32-v10.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-cris/v32-v10.d,v
retrieving revision 1.2
diff -u -p -r1.2 v32-v10.d
--- ld-cris/v32-v10.d 8 Mar 2005 02:31:40 -0000 1.2
+++ ld-cris/v32-v10.d 1 Sep 2005 01:38:40 -0000
@@ -1,3 +1,4 @@
+# notarget: cris*-*-linux-gnu
# source: start1.s --march=v0_v10
# source: move-1.s --march=v32
# as: --em=criself
@@ -6,3 +7,4 @@
# Test that linking a v32 object to a (classic) v10 object does
# not work.
+# Source code and "-m criself" doesn't work with *-linux-gnu.
Index: ld-cris/v32-va.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-cris/v32-va.d,v
retrieving revision 1.2
diff -u -p -r1.2 v32-va.d
--- ld-cris/v32-va.d 8 Mar 2005 02:31:40 -0000 1.2
+++ ld-cris/v32-va.d 1 Sep 2005 01:38:40 -0000
@@ -1,3 +1,4 @@
+# notarget: cris*-*-linux-gnu
# source: start1.s --march=common_v10_v32
# source: move-1.s --march=v32
# as: --em=criself
@@ -6,6 +7,7 @@
# Test that linking a v32 object to a v10+v32 object
# does work and results in the output marked as a v32 object.
+# Source code and "-m criself" doesn't work with *-linux-gnu.
#...
private flags = 3: \[symbols have a _ prefix\] \[v32\]
Index: ld-cris/va-v10.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-cris/va-v10.d,v
retrieving revision 1.2
diff -u -p -r1.2 va-v10.d
--- ld-cris/va-v10.d 8 Mar 2005 02:31:40 -0000 1.2
+++ ld-cris/va-v10.d 1 Sep 2005 01:38:40 -0000
@@ -1,3 +1,4 @@
+# notarget: cris*-*-linux-gnu
# source: start1.s --march=v0_v10
# source: move-1.s --march=common_v10_v32
# as: --em=criself
@@ -6,6 +7,7 @@
# Test that linking a v10+v32 compatible object to a v10 object
# does work and results in the output marked as a v10 object.
+# Source code and "-m criself" doesn't work with *-linux-gnu.
#...
private flags = 1: \[symbols have a _ prefix\]
Index: ld-cris/va-v32.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-cris/va-v32.d,v
retrieving revision 1.2
diff -u -p -r1.2 va-v32.d
--- ld-cris/va-v32.d 8 Mar 2005 02:31:40 -0000 1.2
+++ ld-cris/va-v32.d 1 Sep 2005 01:38:40 -0000
@@ -1,3 +1,4 @@
+# notarget: cris*-*-linux-gnu
# source: start1.s --march=v32
# source: move-1.s --march=common_v10_v32
# as: --em=criself
@@ -6,6 +7,7 @@
# Test that linking a v10+v32 compatible object to a v32 object
# does work and results in the output marked as a v32 object.
+# Source code and "-m criself" doesn't work with *-linux-gnu.
#...
private flags = 3: \[symbols have a _ prefix\] \[v32\]
brgds, H-P