From: Nick Clifton Date: Thu, 14 Apr 2016 09:38:05 +0000 (+0100) Subject: Extend PE matching regexp in PR 19457 test to match cygwin and mingw targets. X-Git-Tag: binutils-2_27~763 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8dc483a0b6cf73204ce438f4abf2efd323d97e40;p=platform%2Fupstream%2Fbinutils.git Extend PE matching regexp in PR 19457 test to match cygwin and mingw targets. PR 19457 * testsuite/ld-scripts/script.exp (extract_symbol_test): Add exceptions for Mingw and Cygwin. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index f766329..4458f99 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +2016-04-14 Nick Clifton + + PR 19457 + * testsuite/ld-scripts/script.exp (extract_symbol_test): Add + exceptions for Mingw and Cygwin. + 2016-04-13 Andrew Burgess * testsuite/lib/ld-lib.exp (run_dump_test): Initialise diff --git a/ld/testsuite/ld-scripts/script.exp b/ld/testsuite/ld-scripts/script.exp index 61ada10..b178cb3 100644 --- a/ld/testsuite/ld-scripts/script.exp +++ b/ld/testsuite/ld-scripts/script.exp @@ -154,6 +154,15 @@ proc extract_symbol_test { testfile testname } { pass $testname return } + # More PE variations... + [a-z]*-*-mingw* { + pass $testname + return + } + [a-z]*-*-cygwin$ { + pass $testname + return + } } set extract_syms [run_host_cmd $nm $copyfile]