From 8dc483a0b6cf73204ce438f4abf2efd323d97e40 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 14 Apr 2016 10:38:05 +0100 Subject: [PATCH] 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. --- ld/ChangeLog | 6 ++++++ ld/testsuite/ld-scripts/script.exp | 9 +++++++++ 2 files changed, 15 insertions(+) diff --git a/ld/ChangeLog b/ld/ChangeLog index f7663297f2d..4458f991164 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 61ada1060a9..b178cb3d2ea 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] -- 2.30.2