diff options
author | Alan Modra <amodra@gmail.com> | 2019-11-21 17:22:41 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2019-11-21 19:09:18 +1030 |
commit | 5b537ffc55757b05ca2d7dbd1bbe2d59d88c24a4 (patch) | |
tree | 19fff230f4870272fd18eff9eb9f571cefe86734 /ld/testsuite/ld-cdtest | |
parent | b13e475ed21ee0b57c5ce0f3cf8489a4164734e7 (diff) | |
download | gdb-5b537ffc55757b05ca2d7dbd1bbe2d59d88c24a4.zip gdb-5b537ffc55757b05ca2d7dbd1bbe2d59d88c24a4.tar.gz gdb-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/ld-cdtest')
-rw-r--r-- | ld/testsuite/ld-cdtest/cdtest.exp | 5 |
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 { |