diff mbox

Updating config.guess (was: i386-unknown-freebsd -> i586-unknown-freebsd)

Message ID alpine.LSU.2.20.1703072100420.3498@anthias.pfeifer.com
State New
Headers show

Commit Message

Gerald Pfeifer March 7, 2017, 8:01 p.m. UTC
On Tue, 7 Mar 2017, Jeff Law wrote:
>> When/if this has been accepted, is it okay to pull the latest config.guess
>> into GCC even at this stage of the release process?  (We're only looking
>> at this change and the addition of nsx-tandem compared to what we have
>> right now.)
> If it's just those, I'd think it'd be reasonable.

Here is the entire difference between the config.guess we have
and upstream.

Aye? :-)

Gerald

Comments

Jeff Law March 13, 2017, 3:33 p.m. UTC | #1
On 03/07/2017 01:01 PM, Gerald Pfeifer wrote:
> On Tue, 7 Mar 2017, Jeff Law wrote:
>>> When/if this has been accepted, is it okay to pull the latest config.guess
>>> into GCC even at this stage of the release process?  (We're only looking
>>> at this change and the addition of nsx-tandem compared to what we have
>>> right now.)
>> If it's just those, I'd think it'd be reasonable.
>
> Here is the entire difference between the config.guess we have
> and upstream.
>
Yea, fine with me.

Jeff
diff mbox

Patch

--- /home/gp/src/gcc/config.guess	2016-12-10 13:37:44.536966833 +0100
+++ ./config.guess	2017-03-04 16:07:52.863302161 +0100
@@ -1,8 +1,8 @@ 
 #! /bin/sh
 # Attempt to guess a canonical system name.
-#   Copyright 1992-2016 Free Software Foundation, Inc.
+#   Copyright 1992-2017 Free Software Foundation, Inc.
 
-timestamp='2016-10-02'
+timestamp='2017-03-04'
 
 # This file is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License as published by
@@ -50,7 +50,7 @@ 
 GNU config.guess ($timestamp)
 
 Originally written by Per Bothner.
-Copyright 1992-2016 Free Software Foundation, Inc.
+Copyright 1992-2017 Free Software Foundation, Inc.
 
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -837,10 +837,11 @@ 
 	UNAME_PROCESSOR=`/usr/bin/uname -p`
 	case ${UNAME_PROCESSOR} in
 	    amd64)
-		echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
-	    *)
-		echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
+	        UNAME_PROCESSOR=x86_64 ;;
+	    i386)
+		UNAME_PROCESSOR=i586 ;;
 	esac
+	echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
 	exit ;;
     i*:CYGWIN*:*)
 	echo ${UNAME_MACHINE}-pc-cygwin
@@ -1343,6 +1344,9 @@ 
     NSR-?:NONSTOP_KERNEL:*:*)
 	echo nsr-tandem-nsk${UNAME_RELEASE}
 	exit ;;
+    NSX-?:NONSTOP_KERNEL:*:*)
+	echo nsx-tandem-nsk${UNAME_RELEASE}
+	exit ;;
     *:NonStop-UX:*:*)
 	echo mips-compaq-nonstopux
 	exit ;;