This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Commit: Extend fix for PR19457


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]


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]