This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Commit: Extend fix for PR19457
- From: Nick Clifton <nickc at redhat dot com>
- To: binutils at sourceware dot org
- Date: Thu, 14 Apr 2016 10:37:27 +0100
- Subject: Commit: Extend fix for PR19457
- Authentication-results: sourceware.org; auth=none
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]