[PATCH] Use ns32k-*-netbsd* consistently

Jason R Thorpe thorpej@wasabisystems.com
Sat May 25 22:04:00 GMT 2002


A couple of places test ns32k-pc532-netbsd*, which is not what config.guess
reports (it reports ns32k-unknown-netbsd...).

(Yes, there are people still using NetBSD/pc532, as amazing as that might
seem :-)

Checked in as an obvious fix.

gas:
	* configure.in: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*.
	* configure: Regenerate.

ld:
	* configure.tgt: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>
-------------- next part --------------
Index: gas/configure.in
===================================================================
RCS file: /cvs/src/src/gas/configure.in,v
retrieving revision 1.100
diff -u -r1.100 configure.in
--- gas/configure.in	21 May 2002 20:01:53 -0000	1.100
+++ gas/configure.in	26 May 2002 04:38:13 -0000
@@ -430,7 +430,7 @@
 
       sh64-*-elf*)	    fmt=elf ;;
       ns32k-pc532-mach* | ns32k-pc532-ux*)    fmt=aout em=pc532mach ;;
-      ns32k-pc532-netbsd* | ns32k-pc532-lites*)  fmt=aout em=nbsd532 ;;
+      ns32k-*-netbsd* | ns32k-pc532-lites*)  fmt=aout em=nbsd532 ;;
       ns32k-pc532-openbsd*) fmt=aout em=nbsd532 ;;
 
       sparc-*-rtemsaout*)   fmt=aout ;;
Index: ld/configure.tgt
===================================================================
RCS file: /cvs/src/src/ld/configure.tgt,v
retrieving revision 1.88
diff -u -r1.88 configure.tgt
--- ld/configure.tgt	22 May 2002 08:44:51 -0000	1.88
+++ ld/configure.tgt	26 May 2002 04:38:16 -0000
@@ -380,7 +380,7 @@
 alpha*-*-netbsd*)	targ_emul=elf64alpha_nbsd ;;
 z8k-*-coff) 		targ_emul=z8002; targ_extra_emuls=z8001 ;;
 ns32k-pc532-mach* | ns32k-pc532-ux*)	targ_emul=pc532macha ;;
-ns32k-pc532-netbsd* | ns32k-pc532-lites*) targ_emul=ns32knbsd ;;
+ns32k-*-netbsd* | ns32k-pc532-lites*) targ_emul=ns32knbsd ;;
 openrisc-*-*)		targ_emul=elf32openrisc ;;
 or32-*-coff)		targ_emul=or32 ;;
 or32-*-elf)		targ_emul=or32elf ;;


More information about the Binutils mailing list