aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2019-11-21 17:22:41 +1030
committerAlan Modra <amodra@gmail.com>2019-11-21 19:09:18 +1030
commit5b537ffc55757b05ca2d7dbd1bbe2d59d88c24a4 (patch)
tree19fff230f4870272fd18eff9eb9f571cefe86734 /ld/testsuite
parentb13e475ed21ee0b57c5ce0f3cf8489a4164734e7 (diff)
downloadbinutils-5b537ffc55757b05ca2d7dbd1bbe2d59d88c24a4.zip
binutils-5b537ffc55757b05ca2d7dbd1bbe2d59d88c24a4.tar.gz
binutils-5b537ffc55757b05ca2d7dbd1bbe2d59d88c24a4.tar.bz2
PR46, cygwin: FAIL: cdtest with -Ur
See the comment in pe.sc to understand why ld -Ur won't work. PR 46 binutils/ * testsuite/lib/binutils-common.exp (is_pecoff_format): Rewrite with positive logic and add more target triples. ld/ * scripttempl/pe.sc: Comment on ld -Ur fail. Wrap .gcc_exc comment. * scripttempl/pep.sc: Likewise. * testsuite/ld-cdtest/cdtest.exp (test2): xfail for pe.
Diffstat (limited to 'ld/testsuite')
-rw-r--r--ld/testsuite/ld-cdtest/cdtest.exp5
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/testsuite/ld-cdtest/cdtest.exp b/ld/testsuite/ld-cdtest/cdtest.exp
index 5d4d5fa..0628538 100644
--- a/ld/testsuite/ld-cdtest/cdtest.exp
+++ b/ld/testsuite/ld-cdtest/cdtest.exp
@@ -92,6 +92,11 @@ if ![ld_link $CC tmpdir/cdtest {tmpdir/cdtest-foo.o tmpdir/cdtest-bar.o tmpdir/c
}
}
+# PR 46
+if [is_pecoff_format] {
+ setup_xfail *-*-*
+}
+
if ![ld_relocate $ld tmpdir/cdtest.o {-Ur tmpdir/cdtest-foo.o tmpdir/cdtest-bar.o tmpdir/cdtest-main.o}] {
fail $test2
} else {