aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-11-29 17:59:04 +0000
committerIan Lance Taylor <ian@airs.com>1995-11-29 17:59:04 +0000
commit5d85ec2d4e2b5bcc6ea947aea6f28c410eeab8b9 (patch)
treec3917ebab9ba3bcc8ab33fd310bebbb0cce41b24 /ld
parent64ecde46199487acc4409d3593069177aaabf1ff (diff)
downloadgdb-5d85ec2d4e2b5bcc6ea947aea6f28c410eeab8b9.zip
gdb-5d85ec2d4e2b5bcc6ea947aea6f28c410eeab8b9.tar.gz
gdb-5d85ec2d4e2b5bcc6ea947aea6f28c410eeab8b9.tar.bz2
* ld-srec/srec.exp: Add setup_xfail for i960 COFF targets.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ChangeLog4
-rw-r--r--ld/testsuite/ld-srec/srec.exp7
2 files changed, 11 insertions, 0 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 6f93cb8..54ba6f3 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+Wed Nov 29 13:01:10 1995 Ian Lance Taylor <ian@cygnus.com>
+
+ * ld-srec/srec.exp: Add setup_xfail for i960 COFF targets.
+
Mon Nov 27 14:36:11 1995 Ian Lance Taylor <ian@cygnus.com>
* ld-srec/srec.exp: Add setup_xfail calls for i[345]86-*-aout*.
diff --git a/ld/testsuite/ld-srec/srec.exp b/ld/testsuite/ld-srec/srec.exp
index 3bb10a5..c7db54c 100644
--- a/ld/testsuite/ld-srec/srec.exp
+++ b/ld/testsuite/ld-srec/srec.exp
@@ -297,4 +297,11 @@ if ![ld_compile "$CXX $CXXFLAGS -fgnu-linker" $srcdir/$subdir/sr3.cc tmpdir/sr3.
# See above.
setup_xfail "i\[345\]86-*-aout*"
+# The i960 COFF targets fail this test because the i960 defaults to
+# little endian, while the srec target is big endian. When the number
+# of entries in the constructor table is written out, the linker uses
+# the output BFD. This seems correct, but it generates the wrong
+# result. I don't know how to fix this.
+setup_xfail "i960*-*-coff*" "i960*-*-vxworks5.\[123456789\]*"
+
run_srec_test $test2 "tmpdir/sr3.o"