diff options
author | Nick Clifton <nickc@redhat.com> | 2016-04-14 10:38:05 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2016-04-14 10:38:05 +0100 |
commit | 8dc483a0b6cf73204ce438f4abf2efd323d97e40 (patch) | |
tree | 190d50c455141a14bc33549fa85569d8e9252046 /ld | |
parent | 392f059f41803dccebe6bc5e56f439d4540eea6a (diff) | |
download | gdb-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')
-rw-r--r-- | ld/ChangeLog | 6 | ||||
-rw-r--r-- | ld/testsuite/ld-scripts/script.exp | 9 |
2 files changed, 15 insertions, 0 deletions
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] |