* ld-srec/srec.exp: Add setup_xfail for i960 COFF targets.
authorIan Lance Taylor <ian@airs.com>
Wed, 29 Nov 1995 17:59:04 +0000 (17:59 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 29 Nov 1995 17:59:04 +0000 (17:59 +0000)
ld/testsuite/ChangeLog
ld/testsuite/ld-srec/srec.exp

index 6f93cb83448c186a06f77c7089f2484812de0270..54ba6f3e27dc1be625b82a1cc0cf79751183c0c0 100644 (file)
@@ -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*.
index 3bb10a5498524261815d68d505e1feb980915537..c7db54cd9bf2656ff5ba68c7e4560fd5641109eb 100644 (file)
@@ -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"