aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>1999-05-11 20:31:53 +0000
committerDJ Delorie <dj@redhat.com>1999-05-11 20:31:53 +0000
commit69f868fa5d9e1847c9d73b92da32eec8d8821650 (patch)
tree8c426471b45dd0a46daf94206cdf205fa416e493 /ld/testsuite
parentb5a0ac702997c90cbf520fe7b92f9ebb36423855 (diff)
downloadgdb-69f868fa5d9e1847c9d73b92da32eec8d8821650.zip
gdb-69f868fa5d9e1847c9d73b92da32eec8d8821650.tar.gz
gdb-69f868fa5d9e1847c9d73b92da32eec8d8821650.tar.bz2
* ld-srec/srec.exp: Do not run tests for PE based ports.
Diffstat (limited to 'ld/testsuite')
-rw-r--r--ld/testsuite/ChangeLog4
-rw-r--r--ld/testsuite/ld-srec/srec.exp6
2 files changed, 10 insertions, 0 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 6610cbf..675f5e7 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+1999-05-11 DJ Delorie <dj@cygnus.com>
+
+ * ld-srec/srec.exp: Do not run tests for PE based ports.
+
1999-03-05 Nick Clifton <nickc@cygnus.com>
* ld-selective/selective.exp: Do not run tests for COFF or PE
diff --git a/ld/testsuite/ld-srec/srec.exp b/ld/testsuite/ld-srec/srec.exp
index 63a70ab..6551d36 100644
--- a/ld/testsuite/ld-srec/srec.exp
+++ b/ld/testsuite/ld-srec/srec.exp
@@ -343,6 +343,11 @@ setup_xfail "v850*-*-elf"
setup_xfail "alpha*-*-elf*" "alpha*-*-linux-gnu*" "alpha*-*-gnu*"
setup_xfail "alpha*-*-netbsd*"
+# The S-record linker doesn't support the special PE headers - the PE
+# emulation tries to write pe-specific information to the PE headers
+# in the output bfd, but it's not a PE bfd (it's an srec bfd)
+setup_xfail "*-*-cygwin*" "*-*-mingw*" "*-*-pe*" "*-*-winnt*"
+
run_srec_test $test1 "tmpdir/sr1.o tmpdir/sr2.o"
# Now try linking a C++ program with global constructors and
@@ -370,5 +375,6 @@ setup_xfail "powerpc*-*-eabi*"
setup_xfail "v850*-*-elf"
setup_xfail "alpha*-*-elf*" "alpha*-*-linux-gnu*" "alpha*-*-gnu*"
setup_xfail "alpha*-*-netbsd*"
+setup_xfail "*-*-cygwin*" "*-*-mingw*" "*-*-pe*" "*-*-winnt*"
run_srec_test $test2 "tmpdir/sr3.o"