[RFA] Don't run fastcall labels test on OpenBSD/i386

Mark Kettenis mark.kettenis@xs4all.nl
Mon Apr 11 19:16:00 GMT 2005


i386-unknown-openbsd accidentally matches i*86-*-*pe*, but of course
doesn't use PE.  The attached patch fixes that.

OK?

Mark


Index: testsuite/ChangeLog
from  Mark Kettenis  <kettenis@gnu.org>

	* gas/all/gas.exp: Don't run fastcall labels test on
	i*86-*-openbsd*.

Index: testsuite/gas/all/gas.exp
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/all/gas.exp,v
retrieving revision 1.25
diff -u -p -r1.25 gas.exp
--- testsuite/gas/all/gas.exp 16 Feb 2005 05:04:33 -0000 1.25
+++ testsuite/gas/all/gas.exp 11 Apr 2005 19:13:52 -0000
@@ -189,7 +189,7 @@ case $target_triplet in {
     }
 }
 
-if {   [istarget "i*86-*-*pe*"] \
+if {  ([istarget "i*86-*-*pe*"] && ![istarget "i*86-*-openbsd*"]) \
     || [istarget "i*86-*-cygwin*"] \
     || [istarget "i*86-*-mingw32*"] } {
   gas_test "fastcall.s" ""   "" "fastcall labels"



More information about the Binutils mailing list