Extend PE matching regexp in PR 19457 test to match cygwin and mingw targets.
authorNick Clifton <nickc@redhat.com>
Thu, 14 Apr 2016 09:38:05 +0000 (10:38 +0100)
committerNick Clifton <nickc@redhat.com>
Thu, 14 Apr 2016 09:38:05 +0000 (10:38 +0100)
PR 19457
* testsuite/ld-scripts/script.exp (extract_symbol_test): Add
exceptions for Mingw and Cygwin.

ld/ChangeLog
ld/testsuite/ld-scripts/script.exp

index f7663297f2de8fe921ba54913fbdd73e4347b57b..4458f9911644d3e92316f5f45b46ac3df5a2fac7 100644 (file)
@@ -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
index 61ada1060a95e86506453c5fce50776b77f2e269..b178cb3d2ea3d3cebef1032e7616b18126536bbd 100644 (file)
@@ -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]