aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2016-04-14 10:38:05 +0100
committerNick Clifton <nickc@redhat.com>2016-04-14 10:38:05 +0100
commit8dc483a0b6cf73204ce438f4abf2efd323d97e40 (patch)
tree190d50c455141a14bc33549fa85569d8e9252046 /ld/testsuite
parent392f059f41803dccebe6bc5e56f439d4540eea6a (diff)
downloadgdb-8dc483a0b6cf73204ce438f4abf2efd323d97e40.zip
gdb-8dc483a0b6cf73204ce438f4abf2efd323d97e40.tar.gz
gdb-8dc483a0b6cf73204ce438f4abf2efd323d97e40.tar.bz2
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.
Diffstat (limited to 'ld/testsuite')
-rw-r--r--ld/testsuite/ld-scripts/script.exp9
1 files changed, 9 insertions, 0 deletions
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]