[binutils-gdb] Extend PE matching regexp in PR 19457 test to match cygwin and mingw targets.
Nick Clifton
nickc@sourceware.org
Thu Apr 14 09:38:00 GMT 2016
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8dc483a0b6cf73204ce438f4abf2efd323d97e40
commit 8dc483a0b6cf73204ce438f4abf2efd323d97e40
Author: Nick Clifton <nickc@redhat.com>
Date: Thu Apr 14 10:38:05 2016 +0100
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:
---
ld/ChangeLog | 6 ++++++
ld/testsuite/ld-scripts/script.exp | 9 +++++++++
2 files changed, 15 insertions(+)
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 <nickc@redhat.com>
+
+ PR 19457
+ * testsuite/ld-scripts/script.exp (extract_symbol_test): Add
+ exceptions for Mingw and Cygwin.
+
2016-04-13 Andrew Burgess <andrew.burgess@embecosm.com>
* 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]
More information about the Binutils-cvs
mailing list