Commit: Extend fix for PR19457
Nick Clifton
nickc@redhat.com
Thu Apr 14 09:37:00 GMT 2016
Hi Guys,
I am checking in the patch below to add MingW and Cygwin based regexps
to the extract_symbol_test proc. These targets are PE based, but do
not match the regexp used earlier in the proc.
Cheers
Nick
ld/ChangeLog
2016-04-14 Nick Clifton <nickc@redhat.com>
PR 19457
* testsuite/ld-scripts/script.exp (extract_symbol_test): Add
exceptions for Mingw and Cygwin.
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]
More information about the Binutils
mailing list