d3b522
diff -urN at-3.1.13/config.guess at-3.1.13-aarch64/config.guess
d3b522
--- at-3.1.13/config.guess	2011-06-25 07:43:14.000000000 -0500
d3b522
+++ at-3.1.13-aarch64/config.guess	2013-03-07 19:22:31.804824167 -0600
d3b522
@@ -2,9 +2,9 @@
d3b522
 # Attempt to guess a canonical system name.
d3b522
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
d3b522
 #   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
d3b522
-#   2011 Free Software Foundation, Inc.
d3b522
+#   2011, 2012 Free Software Foundation, Inc.
d3b522
 
d3b522
-timestamp='2011-05-11'
d3b522
+timestamp='2012-09-25'
d3b522
 
d3b522
 # This file is free software; you can redistribute it and/or modify it
d3b522
 # under the terms of the GNU General Public License as published by
d3b522
@@ -17,9 +17,7 @@
d3b522
 # General Public License for more details.
d3b522
 #
d3b522
 # You should have received a copy of the GNU General Public License
d3b522
-# along with this program; if not, write to the Free Software
d3b522
-# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
d3b522
-# 02110-1301, USA.
d3b522
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
d3b522
 #
d3b522
 # As a special exception to the GNU General Public License, if you
d3b522
 # distribute this file as part of a program that contains a
d3b522
@@ -57,8 +55,8 @@
d3b522
 
d3b522
 Originally written by Per Bothner.
d3b522
 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
d3b522
-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free
d3b522
-Software Foundation, Inc.
d3b522
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
d3b522
+Free Software Foundation, Inc.
d3b522
 
d3b522
 This is free software; see the source for copying conditions.  There is NO
d3b522
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
d3b522
@@ -145,7 +143,7 @@
d3b522
 case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
d3b522
     *:NetBSD:*:*)
d3b522
 	# NetBSD (nbsd) targets should (where applicable) match one or
d3b522
-	# more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
d3b522
+	# more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
d3b522
 	# *-*-netbsdecoff* and *-*-netbsd*.  For targets that recently
d3b522
 	# switched to ELF, *-*-netbsd* would select the old
d3b522
 	# object file format.  This provides both forward
d3b522
@@ -202,6 +200,10 @@
d3b522
 	# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
d3b522
 	echo "${machine}-${os}${release}"
d3b522
 	exit ;;
d3b522
+    *:Bitrig:*:*)
d3b522
+	UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
d3b522
+	echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE}
d3b522
+	exit ;;
d3b522
     *:OpenBSD:*:*)
d3b522
 	UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
d3b522
 	echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
d3b522
@@ -304,7 +306,7 @@
d3b522
     arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
d3b522
 	echo arm-acorn-riscix${UNAME_RELEASE}
d3b522
 	exit ;;
d3b522
-    arm:riscos:*:*|arm:RISCOS:*:*)
d3b522
+    arm*:riscos:*:*|arm*:RISCOS:*:*)
d3b522
 	echo arm-unknown-riscos
d3b522
 	exit ;;
d3b522
     SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
d3b522
@@ -792,21 +794,26 @@
d3b522
 	echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
d3b522
 	exit ;;
d3b522
     *:FreeBSD:*:*)
d3b522
-	case ${UNAME_MACHINE} in
d3b522
-	    pc98)
d3b522
-		echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
d3b522
+	UNAME_PROCESSOR=`/usr/bin/uname -p`
d3b522
+	case ${UNAME_PROCESSOR} in
d3b522
 	    amd64)
d3b522
 		echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
d3b522
 	    *)
d3b522
-		echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
d3b522
+		echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
d3b522
 	esac
d3b522
 	exit ;;
d3b522
     i*:CYGWIN*:*)
d3b522
 	echo ${UNAME_MACHINE}-pc-cygwin
d3b522
 	exit ;;
d3b522
+    *:MINGW64*:*)
d3b522
+	echo ${UNAME_MACHINE}-pc-mingw64
d3b522
+	exit ;;
d3b522
     *:MINGW*:*)
d3b522
 	echo ${UNAME_MACHINE}-pc-mingw32
d3b522
 	exit ;;
d3b522
+    i*:MSYS*:*)
d3b522
+	echo ${UNAME_MACHINE}-pc-msys
d3b522
+	exit ;;
d3b522
     i*:windows32*:*)
d3b522
 	# uname -m includes "-pc" on this system.
d3b522
 	echo ${UNAME_MACHINE}-mingw32
d3b522
@@ -861,6 +868,13 @@
d3b522
     i*86:Minix:*:*)
d3b522
 	echo ${UNAME_MACHINE}-pc-minix
d3b522
 	exit ;;
d3b522
+    aarch64:Linux:*:*)
d3b522
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
d3b522
+	exit ;;
d3b522
+    aarch64_be:Linux:*:*)
d3b522
+	UNAME_MACHINE=aarch64_be
d3b522
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
d3b522
+	exit ;;
d3b522
     alpha:Linux:*:*)
d3b522
 	case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
d3b522
 	  EV5)   UNAME_MACHINE=alphaev5 ;;
d3b522
@@ -895,13 +909,16 @@
d3b522
 	echo ${UNAME_MACHINE}-unknown-linux-gnu
d3b522
 	exit ;;
d3b522
     cris:Linux:*:*)
d3b522
-	echo cris-axis-linux-gnu
d3b522
+	echo ${UNAME_MACHINE}-axis-linux-gnu
d3b522
 	exit ;;
d3b522
     crisv32:Linux:*:*)
d3b522
-	echo crisv32-axis-linux-gnu
d3b522
+	echo ${UNAME_MACHINE}-axis-linux-gnu
d3b522
 	exit ;;
d3b522
     frv:Linux:*:*)
d3b522
-	echo frv-unknown-linux-gnu
d3b522
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
d3b522
+	exit ;;
d3b522
+    hexagon:Linux:*:*)
d3b522
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
d3b522
 	exit ;;
d3b522
     i*86:Linux:*:*)
d3b522
 	LIBC=gnu
d3b522
@@ -943,7 +960,7 @@
d3b522
 	test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
d3b522
 	;;
d3b522
     or32:Linux:*:*)
d3b522
-	echo or32-unknown-linux-gnu
d3b522
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
d3b522
 	exit ;;
d3b522
     padre:Linux:*:*)
d3b522
 	echo sparc-unknown-linux-gnu
d3b522
@@ -978,13 +995,13 @@
d3b522
 	echo ${UNAME_MACHINE}-unknown-linux-gnu
d3b522
 	exit ;;
d3b522
     tile*:Linux:*:*)
d3b522
-	echo ${UNAME_MACHINE}-tilera-linux-gnu
d3b522
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
d3b522
 	exit ;;
d3b522
     vax:Linux:*:*)
d3b522
 	echo ${UNAME_MACHINE}-dec-linux-gnu
d3b522
 	exit ;;
d3b522
     x86_64:Linux:*:*)
d3b522
-	echo x86_64-unknown-linux-gnu
d3b522
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
d3b522
 	exit ;;
d3b522
     xtensa*:Linux:*:*)
d3b522
 	echo ${UNAME_MACHINE}-unknown-linux-gnu
d3b522
@@ -1191,6 +1208,9 @@
d3b522
     BePC:Haiku:*:*)	# Haiku running on Intel PC compatible.
d3b522
 	echo i586-pc-haiku
d3b522
 	exit ;;
d3b522
+    x86_64:Haiku:*:*)
d3b522
+	echo x86_64-unknown-haiku
d3b522
+	exit ;;
d3b522
     SX-4:SUPER-UX:*:*)
d3b522
 	echo sx4-nec-superux${UNAME_RELEASE}
d3b522
 	exit ;;
d3b522
@@ -1246,7 +1266,7 @@
d3b522
     NEO-?:NONSTOP_KERNEL:*:*)
d3b522
 	echo neo-tandem-nsk${UNAME_RELEASE}
d3b522
 	exit ;;
d3b522
-    NSE-?:NONSTOP_KERNEL:*:*)
d3b522
+    NSE-*:NONSTOP_KERNEL:*:*)
d3b522
 	echo nse-tandem-nsk${UNAME_RELEASE}
d3b522
 	exit ;;
d3b522
     NSR-?:NONSTOP_KERNEL:*:*)
d3b522
@@ -1315,11 +1335,11 @@
d3b522
     i*86:AROS:*:*)
d3b522
 	echo ${UNAME_MACHINE}-pc-aros
d3b522
 	exit ;;
d3b522
+    x86_64:VMkernel:*:*)
d3b522
+	echo ${UNAME_MACHINE}-unknown-esx
d3b522
+	exit ;;
d3b522
 esac
d3b522
 
d3b522
-#echo '(No uname command or uname output not recognized.)' 1>&2
d3b522
-#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
d3b522
-
d3b522
 eval $set_cc_for_build
d3b522
 cat >$dummy.c <
d3b522
 #ifdef _SEQUENT_
d3b522
diff -urN at-3.1.13/config.sub at-3.1.13-aarch64/config.sub
d3b522
--- at-3.1.13/config.sub	2011-06-25 07:43:14.000000000 -0500
d3b522
+++ at-3.1.13-aarch64/config.sub	2013-03-07 19:22:31.833820844 -0600
d3b522
@@ -2,9 +2,9 @@
d3b522
 # Configuration validation subroutine script.
d3b522
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
d3b522
 #   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
d3b522
-#   2011 Free Software Foundation, Inc.
d3b522
+#   2011, 2012 Free Software Foundation, Inc.
d3b522
 
d3b522
-timestamp='2011-03-23'
d3b522
+timestamp='2012-10-10'
d3b522
 
d3b522
 # This file is (in principle) common to ALL GNU software.
d3b522
 # The presence of a machine in this file suggests that SOME GNU software
d3b522
@@ -21,9 +21,7 @@
d3b522
 # GNU General Public License for more details.
d3b522
 #
d3b522
 # You should have received a copy of the GNU General Public License
d3b522
-# along with this program; if not, write to the Free Software
d3b522
-# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
d3b522
-# 02110-1301, USA.
d3b522
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
d3b522
 #
d3b522
 # As a special exception to the GNU General Public License, if you
d3b522
 # distribute this file as part of a program that contains a
d3b522
@@ -76,8 +74,8 @@
d3b522
 GNU config.sub ($timestamp)
d3b522
 
d3b522
 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
d3b522
-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free
d3b522
-Software Foundation, Inc.
d3b522
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
d3b522
+Free Software Foundation, Inc.
d3b522
 
d3b522
 This is free software; see the source for copying conditions.  There is NO
d3b522
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
d3b522
@@ -125,13 +123,17 @@
d3b522
 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
d3b522
 case $maybe_os in
d3b522
   nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
d3b522
-  linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
d3b522
+  linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
d3b522
   knetbsd*-gnu* | netbsd*-gnu* | \
d3b522
   kopensolaris*-gnu* | \
d3b522
   storm-chaos* | os2-emx* | rtmk-nova*)
d3b522
     os=-$maybe_os
d3b522
     basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
d3b522
     ;;
d3b522
+  android-linux)
d3b522
+    os=-linux-android
d3b522
+    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
d3b522
+    ;;
d3b522
   *)
d3b522
     basic_machine=`echo $1 | sed 's/-[^-]*$//'`
d3b522
     if [ $basic_machine != $1 ]
d3b522
@@ -154,7 +156,7 @@
d3b522
 	-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
d3b522
 	-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
d3b522
 	-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
d3b522
-	-apple | -axis | -knuth | -cray | -microblaze)
d3b522
+	-apple | -axis | -knuth | -cray | -microblaze*)
d3b522
 		os=
d3b522
 		basic_machine=$1
d3b522
 		;;
d3b522
@@ -223,6 +225,12 @@
d3b522
 	-isc*)
d3b522
 		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
d3b522
 		;;
d3b522
+	-lynx*178)
d3b522
+		os=-lynxos178
d3b522
+		;;
d3b522
+	-lynx*5)
d3b522
+		os=-lynxos5
d3b522
+		;;
d3b522
 	-lynx*)
d3b522
 		os=-lynxos
d3b522
 		;;
d3b522
@@ -247,20 +255,25 @@
d3b522
 	# Some are omitted here because they have special meanings below.
d3b522
 	1750a | 580 \
d3b522
 	| a29k \
d3b522
+	| aarch64 | aarch64_be \
d3b522
 	| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
d3b522
 	| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
d3b522
 	| am33_2.0 \
d3b522
 	| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
d3b522
+        | be32 | be64 \
d3b522
 	| bfin \
d3b522
 	| c4x | clipper \
d3b522
 	| d10v | d30v | dlx | dsp16xx \
d3b522
+	| epiphany \
d3b522
 	| fido | fr30 | frv \
d3b522
 	| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
d3b522
+	| hexagon \
d3b522
 	| i370 | i860 | i960 | ia64 \
d3b522
 	| ip2k | iq2000 \
d3b522
+	| le32 | le64 \
d3b522
 	| lm32 \
d3b522
 	| m32c | m32r | m32rle | m68000 | m68k | m88k \
d3b522
-	| maxq | mb | microblaze | mcore | mep | metag \
d3b522
+	| maxq | mb | microblaze | microblazeel | mcore | mep | metag \
d3b522
 	| mips | mipsbe | mipseb | mipsel | mipsle \
d3b522
 	| mips16 \
d3b522
 	| mips64 | mips64el \
d3b522
@@ -291,7 +304,7 @@
d3b522
 	| pdp10 | pdp11 | pj | pjl \
d3b522
 	| powerpc | powerpc64 | powerpc64le | powerpcle \
d3b522
 	| pyramid \
d3b522
-	| rx \
d3b522
+	| rl78 | rx \
d3b522
 	| score \
d3b522
 	| sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
d3b522
 	| sh64 | sh64le \
d3b522
@@ -300,7 +313,7 @@
d3b522
 	| spu \
d3b522
 	| tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
d3b522
 	| ubicom32 \
d3b522
-	| v850 | v850e \
d3b522
+	| v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
d3b522
 	| we32k \
d3b522
 	| x86 | xc16x | xstormy16 | xtensa \
d3b522
 	| z8k | z80)
d3b522
@@ -315,8 +328,7 @@
d3b522
 	c6x)
d3b522
 		basic_machine=tic6x-unknown
d3b522
 		;;
d3b522
-	m6811 | m68hc11 | m6812 | m68hc12 | picochip)
d3b522
-		# Motorola 68HC11/12.
d3b522
+	m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
d3b522
 		basic_machine=$basic_machine-unknown
d3b522
 		os=-none
d3b522
 		;;
d3b522
@@ -329,7 +341,10 @@
d3b522
 	strongarm | thumb | xscale)
d3b522
 		basic_machine=arm-unknown
d3b522
 		;;
d3b522
-
d3b522
+	xgate)
d3b522
+		basic_machine=$basic_machine-unknown
d3b522
+		os=-none
d3b522
+		;;
d3b522
 	xscaleeb)
d3b522
 		basic_machine=armeb-unknown
d3b522
 		;;
d3b522
@@ -352,11 +367,13 @@
d3b522
 	# Recognize the basic CPU types with company name.
d3b522
 	580-* \
d3b522
 	| a29k-* \
d3b522
+	| aarch64-* | aarch64_be-* \
d3b522
 	| alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
d3b522
 	| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
d3b522
 	| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
d3b522
 	| arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
d3b522
 	| avr-* | avr32-* \
d3b522
+	| be32-* | be64-* \
d3b522
 	| bfin-* | bs2000-* \
d3b522
 	| c[123]* | c30-* | [cjt]90-* | c4x-* \
d3b522
 	| clipper-* | craynv-* | cydra-* \
d3b522
@@ -365,12 +382,15 @@
d3b522
 	| f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
d3b522
 	| h8300-* | h8500-* \
d3b522
 	| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
d3b522
+	| hexagon-* \
d3b522
 	| i*86-* | i860-* | i960-* | ia64-* \
d3b522
 	| ip2k-* | iq2000-* \
d3b522
+	| le32-* | le64-* \
d3b522
 	| lm32-* \
d3b522
 	| m32c-* | m32r-* | m32rle-* \
d3b522
 	| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
d3b522
-	| m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
d3b522
+	| m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
d3b522
+	| microblaze-* | microblazeel-* \
d3b522
 	| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
d3b522
 	| mips16-* \
d3b522
 	| mips64-* | mips64el-* \
d3b522
@@ -400,7 +420,7 @@
d3b522
 	| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
d3b522
 	| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
d3b522
 	| pyramid-* \
d3b522
-	| romp-* | rs6000-* | rx-* \
d3b522
+	| rl78-* | romp-* | rs6000-* | rx-* \
d3b522
 	| sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
d3b522
 	| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
d3b522
 	| sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
d3b522
@@ -408,10 +428,11 @@
d3b522
 	| sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
d3b522
 	| tahoe-* \
d3b522
 	| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
d3b522
-	| tile-* | tilegx-* \
d3b522
+	| tile*-* \
d3b522
 	| tron-* \
d3b522
 	| ubicom32-* \
d3b522
-	| v850-* | v850e-* | vax-* \
d3b522
+	| v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
d3b522
+	| vax-* \
d3b522
 	| we32k-* \
d3b522
 	| x86-* | x86_64-* | xc16x-* | xps100-* \
d3b522
 	| xstormy16-* | xtensa*-* \
d3b522
@@ -711,7 +732,6 @@
d3b522
 	i370-ibm* | ibm*)
d3b522
 		basic_machine=i370-ibm
d3b522
 		;;
d3b522
-# I'm not sure what "Sysv32" means.  Should this be sysv3.2?
d3b522
 	i*86v32)
d3b522
 		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
d3b522
 		os=-sysv32
d3b522
@@ -769,9 +789,13 @@
d3b522
 		basic_machine=ns32k-utek
d3b522
 		os=-sysv
d3b522
 		;;
d3b522
-	microblaze)
d3b522
+	microblaze*)
d3b522
 		basic_machine=microblaze-xilinx
d3b522
 		;;
d3b522
+	mingw64)
d3b522
+		basic_machine=x86_64-pc
d3b522
+		os=-mingw64
d3b522
+		;;
d3b522
 	mingw32)
d3b522
 		basic_machine=i386-pc
d3b522
 		os=-mingw32
d3b522
@@ -808,10 +832,18 @@
d3b522
 	ms1-*)
d3b522
 		basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
d3b522
 		;;
d3b522
+	msys)
d3b522
+		basic_machine=i386-pc
d3b522
+		os=-msys
d3b522
+		;;
d3b522
 	mvs)
d3b522
 		basic_machine=i370-ibm
d3b522
 		os=-mvs
d3b522
 		;;
d3b522
+	nacl)
d3b522
+		basic_machine=le32-unknown
d3b522
+		os=-nacl
d3b522
+		;;
d3b522
 	ncr3000)
d3b522
 		basic_machine=i486-ncr
d3b522
 		os=-sysv4
d3b522
@@ -1120,13 +1152,8 @@
d3b522
 		basic_machine=t90-cray
d3b522
 		os=-unicos
d3b522
 		;;
d3b522
-	# This must be matched before tile*.
d3b522
-	tilegx*)
d3b522
-		basic_machine=tilegx-unknown
d3b522
-		os=-linux-gnu
d3b522
-		;;
d3b522
 	tile*)
d3b522
-		basic_machine=tile-unknown
d3b522
+		basic_machine=$basic_machine-unknown
d3b522
 		os=-linux-gnu
d3b522
 		;;
d3b522
 	tx39)
d3b522
@@ -1330,15 +1357,15 @@
d3b522
 	      | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
d3b522
 	      | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
d3b522
 	      | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
d3b522
-	      | -openbsd* | -solidbsd* \
d3b522
+	      | -bitrig* | -openbsd* | -solidbsd* \
d3b522
 	      | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
d3b522
 	      | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
d3b522
 	      | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
d3b522
 	      | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
d3b522
 	      | -chorusos* | -chorusrdb* | -cegcc* \
d3b522
-	      | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
d3b522
-	      | -mingw32* | -linux-gnu* | -linux-android* \
d3b522
-	      | -linux-newlib* | -linux-uclibc* \
d3b522
+	      | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
d3b522
+	      | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
d3b522
+	      | -linux-newlib* | -linux-musl* | -linux-uclibc* \
d3b522
 	      | -uxpv* | -beos* | -mpeix* | -udk* \
d3b522
 	      | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
d3b522
 	      | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
d3b522
@@ -1521,6 +1548,9 @@
d3b522
 	c4x-* | tic4x-*)
d3b522
 		os=-coff
d3b522
 		;;
d3b522
+	hexagon-*)
d3b522
+		os=-elf
d3b522
+		;;
d3b522
 	tic54x-*)
d3b522
 		os=-coff
d3b522
 		;;
d3b522
@@ -1548,9 +1578,6 @@
d3b522
 		;;
d3b522
 	m68000-sun)
d3b522
 		os=-sunos3
d3b522
-		# This also exists in the configure program, but was not the
d3b522
-		# default.
d3b522
-		# os=-sunos4
d3b522
 		;;
d3b522
 	m68*-cisco)
d3b522
 		os=-aout