Blame SOURCES/isl-0.11.1-aarch64-config.patch

56d343
--- isl-0.11.1/config.guess
56d343
+++ isl-0.11.1/config.guess
56d343
@@ -2,9 +2,9 @@
56d343
 # Attempt to guess a canonical system name.
56d343
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
56d343
 #   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
56d343
-#   2011 Free Software Foundation, Inc.
56d343
+#   2011, 2012 Free Software Foundation, Inc.
56d343
 
56d343
-timestamp='2011-05-11'
56d343
+timestamp='2012-06-10'
56d343
 
56d343
 # This file is free software; you can redistribute it and/or modify it
56d343
 # under the terms of the GNU General Public License as published by
56d343
@@ -17,9 +17,7 @@ timestamp='2011-05-11'
56d343
 # General Public License for more details.
56d343
 #
56d343
 # You should have received a copy of the GNU General Public License
56d343
-# along with this program; if not, write to the Free Software
56d343
-# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
56d343
-# 02110-1301, USA.
56d343
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
56d343
 #
56d343
 # As a special exception to the GNU General Public License, if you
56d343
 # distribute this file as part of a program that contains a
56d343
@@ -57,8 +55,8 @@ GNU config.guess ($timestamp)
56d343
 
56d343
 Originally written by Per Bothner.
56d343
 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
56d343
-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free
56d343
-Software Foundation, Inc.
56d343
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
56d343
+Free Software Foundation, Inc.
56d343
 
56d343
 This is free software; see the source for copying conditions.  There is NO
56d343
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
56d343
@@ -145,7 +143,7 @@ UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
56d343
 case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
56d343
     *:NetBSD:*:*)
56d343
 	# NetBSD (nbsd) targets should (where applicable) match one or
56d343
-	# more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
56d343
+	# more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
56d343
 	# *-*-netbsdecoff* and *-*-netbsd*.  For targets that recently
56d343
 	# switched to ELF, *-*-netbsd* would select the old
56d343
 	# object file format.  This provides both forward
56d343
@@ -792,13 +790,12 @@ EOF
56d343
 	echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
56d343
 	exit ;;
56d343
     *:FreeBSD:*:*)
56d343
-	case ${UNAME_MACHINE} in
56d343
-	    pc98)
56d343
-		echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
56d343
+	UNAME_PROCESSOR=`/usr/bin/uname -p`
56d343
+	case ${UNAME_PROCESSOR} in
56d343
 	    amd64)
56d343
 		echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
56d343
 	    *)
56d343
-		echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
56d343
+		echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
56d343
 	esac
56d343
 	exit ;;
56d343
     i*:CYGWIN*:*)
56d343
@@ -807,6 +804,9 @@ EOF
56d343
     *:MINGW*:*)
56d343
 	echo ${UNAME_MACHINE}-pc-mingw32
56d343
 	exit ;;
56d343
+    i*:MSYS*:*)
56d343
+	echo ${UNAME_MACHINE}-pc-msys
56d343
+	exit ;;
56d343
     i*:windows32*:*)
56d343
 	# uname -m includes "-pc" on this system.
56d343
 	echo ${UNAME_MACHINE}-mingw32
56d343
@@ -861,6 +861,13 @@ EOF
56d343
     i*86:Minix:*:*)
56d343
 	echo ${UNAME_MACHINE}-pc-minix
56d343
 	exit ;;
56d343
+    aarch64:Linux:*:*)
56d343
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
56d343
+	exit ;;
56d343
+    aarch64_be:Linux:*:*)
56d343
+	UNAME_MACHINE=aarch64_be
56d343
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
56d343
+	exit ;;
56d343
     alpha:Linux:*:*)
56d343
 	case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
56d343
 	  EV5)   UNAME_MACHINE=alphaev5 ;;
56d343
@@ -895,13 +902,16 @@ EOF
56d343
 	echo ${UNAME_MACHINE}-unknown-linux-gnu
56d343
 	exit ;;
56d343
     cris:Linux:*:*)
56d343
-	echo cris-axis-linux-gnu
56d343
+	echo ${UNAME_MACHINE}-axis-linux-gnu
56d343
 	exit ;;
56d343
     crisv32:Linux:*:*)
56d343
-	echo crisv32-axis-linux-gnu
56d343
+	echo ${UNAME_MACHINE}-axis-linux-gnu
56d343
 	exit ;;
56d343
     frv:Linux:*:*)
56d343
-	echo frv-unknown-linux-gnu
56d343
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
56d343
+	exit ;;
56d343
+    hexagon:Linux:*:*)
56d343
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
56d343
 	exit ;;
56d343
     i*86:Linux:*:*)
56d343
 	LIBC=gnu
56d343
@@ -943,7 +953,7 @@ EOF
56d343
 	test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
56d343
 	;;
56d343
     or32:Linux:*:*)
56d343
-	echo or32-unknown-linux-gnu
56d343
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
56d343
 	exit ;;
56d343
     padre:Linux:*:*)
56d343
 	echo sparc-unknown-linux-gnu
56d343
@@ -978,13 +988,13 @@ EOF
56d343
 	echo ${UNAME_MACHINE}-unknown-linux-gnu
56d343
 	exit ;;
56d343
     tile*:Linux:*:*)
56d343
-	echo ${UNAME_MACHINE}-tilera-linux-gnu
56d343
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
56d343
 	exit ;;
56d343
     vax:Linux:*:*)
56d343
 	echo ${UNAME_MACHINE}-dec-linux-gnu
56d343
 	exit ;;
56d343
     x86_64:Linux:*:*)
56d343
-	echo x86_64-unknown-linux-gnu
56d343
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
56d343
 	exit ;;
56d343
     xtensa*:Linux:*:*)
56d343
 	echo ${UNAME_MACHINE}-unknown-linux-gnu
56d343
@@ -1246,7 +1256,7 @@ EOF
56d343
     NEO-?:NONSTOP_KERNEL:*:*)
56d343
 	echo neo-tandem-nsk${UNAME_RELEASE}
56d343
 	exit ;;
56d343
-    NSE-?:NONSTOP_KERNEL:*:*)
56d343
+    NSE-*:NONSTOP_KERNEL:*:*)
56d343
 	echo nse-tandem-nsk${UNAME_RELEASE}
56d343
 	exit ;;
56d343
     NSR-?:NONSTOP_KERNEL:*:*)
56d343
@@ -1315,6 +1325,9 @@ EOF
56d343
     i*86:AROS:*:*)
56d343
 	echo ${UNAME_MACHINE}-pc-aros
56d343
 	exit ;;
56d343
+    x86_64:VMkernel:*:*)
56d343
+	echo ${UNAME_MACHINE}-unknown-esx
56d343
+	exit ;;
56d343
 esac
56d343
 
56d343
 #echo '(No uname command or uname output not recognized.)' 1>&2
56d343
--- isl-0.11.1/config.sub
56d343
+++ isl-0.11.1/config.sub
56d343
@@ -2,9 +2,9 @@
56d343
 # Configuration validation subroutine script.
56d343
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
56d343
 #   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
56d343
-#   2011 Free Software Foundation, Inc.
56d343
+#   2011, 2012 Free Software Foundation, Inc.
56d343
 
56d343
-timestamp='2011-03-23'
56d343
+timestamp='2012-04-18'
56d343
 
56d343
 # This file is (in principle) common to ALL GNU software.
56d343
 # The presence of a machine in this file suggests that SOME GNU software
56d343
@@ -21,9 +21,7 @@ timestamp='2011-03-23'
56d343
 # GNU General Public License for more details.
56d343
 #
56d343
 # You should have received a copy of the GNU General Public License
56d343
-# along with this program; if not, write to the Free Software
56d343
-# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
56d343
-# 02110-1301, USA.
56d343
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
56d343
 #
56d343
 # As a special exception to the GNU General Public License, if you
56d343
 # distribute this file as part of a program that contains a
56d343
@@ -76,8 +74,8 @@ version="\
56d343
 GNU config.sub ($timestamp)
56d343
 
56d343
 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
56d343
-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free
56d343
-Software Foundation, Inc.
56d343
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
56d343
+Free Software Foundation, Inc.
56d343
 
56d343
 This is free software; see the source for copying conditions.  There is NO
56d343
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
56d343
@@ -132,6 +130,10 @@ case $maybe_os in
56d343
     os=-$maybe_os
56d343
     basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
56d343
     ;;
56d343
+  android-linux)
56d343
+    os=-linux-android
56d343
+    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
56d343
+    ;;
56d343
   *)
56d343
     basic_machine=`echo $1 | sed 's/-[^-]*$//'`
56d343
     if [ $basic_machine != $1 ]
56d343
@@ -223,6 +225,12 @@ case $os in
56d343
 	-isc*)
56d343
 		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
56d343
 		;;
56d343
+	-lynx*178)
56d343
+		os=-lynxos178
56d343
+		;;
56d343
+	-lynx*5)
56d343
+		os=-lynxos5
56d343
+		;;
56d343
 	-lynx*)
56d343
 		os=-lynxos
56d343
 		;;
56d343
@@ -247,17 +255,22 @@ case $basic_machine in
56d343
 	# Some are omitted here because they have special meanings below.
56d343
 	1750a | 580 \
56d343
 	| a29k \
56d343
+	| aarch64 | aarch64_be \
56d343
 	| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
56d343
 	| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
56d343
 	| am33_2.0 \
56d343
 	| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
56d343
+        | be32 | be64 \
56d343
 	| bfin \
56d343
 	| c4x | clipper \
56d343
 	| d10v | d30v | dlx | dsp16xx \
56d343
+	| epiphany \
56d343
 	| fido | fr30 | frv \
56d343
 	| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
56d343
+	| hexagon \
56d343
 	| i370 | i860 | i960 | ia64 \
56d343
 	| ip2k | iq2000 \
56d343
+	| le32 | le64 \
56d343
 	| lm32 \
56d343
 	| m32c | m32r | m32rle | m68000 | m68k | m88k \
56d343
 	| maxq | mb | microblaze | mcore | mep | metag \
56d343
@@ -291,7 +304,7 @@ case $basic_machine in
56d343
 	| pdp10 | pdp11 | pj | pjl \
56d343
 	| powerpc | powerpc64 | powerpc64le | powerpcle \
56d343
 	| pyramid \
56d343
-	| rx \
56d343
+	| rl78 | rx \
56d343
 	| score \
56d343
 	| sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
56d343
 	| sh64 | sh64le \
56d343
@@ -300,7 +313,7 @@ case $basic_machine in
56d343
 	| spu \
56d343
 	| tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
56d343
 	| ubicom32 \
56d343
-	| v850 | v850e \
56d343
+	| v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
56d343
 	| we32k \
56d343
 	| x86 | xc16x | xstormy16 | xtensa \
56d343
 	| z8k | z80)
56d343
@@ -315,8 +328,7 @@ case $basic_machine in
56d343
 	c6x)
56d343
 		basic_machine=tic6x-unknown
56d343
 		;;
56d343
-	m6811 | m68hc11 | m6812 | m68hc12 | picochip)
56d343
-		# Motorola 68HC11/12.
56d343
+	m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
56d343
 		basic_machine=$basic_machine-unknown
56d343
 		os=-none
56d343
 		;;
56d343
@@ -329,7 +341,10 @@ case $basic_machine in
56d343
 	strongarm | thumb | xscale)
56d343
 		basic_machine=arm-unknown
56d343
 		;;
56d343
-
56d343
+	xgate)
56d343
+		basic_machine=$basic_machine-unknown
56d343
+		os=-none
56d343
+		;;
56d343
 	xscaleeb)
56d343
 		basic_machine=armeb-unknown
56d343
 		;;
56d343
@@ -352,11 +367,13 @@ case $basic_machine in
56d343
 	# Recognize the basic CPU types with company name.
56d343
 	580-* \
56d343
 	| a29k-* \
56d343
+	| aarch64-* | aarch64_be-* \
56d343
 	| alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
56d343
 	| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
56d343
 	| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
56d343
 	| arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
56d343
 	| avr-* | avr32-* \
56d343
+	| be32-* | be64-* \
56d343
 	| bfin-* | bs2000-* \
56d343
 	| c[123]* | c30-* | [cjt]90-* | c4x-* \
56d343
 	| clipper-* | craynv-* | cydra-* \
56d343
@@ -365,8 +382,10 @@ case $basic_machine in
56d343
 	| f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
56d343
 	| h8300-* | h8500-* \
56d343
 	| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
56d343
+	| hexagon-* \
56d343
 	| i*86-* | i860-* | i960-* | ia64-* \
56d343
 	| ip2k-* | iq2000-* \
56d343
+	| le32-* | le64-* \
56d343
 	| lm32-* \
56d343
 	| m32c-* | m32r-* | m32rle-* \
56d343
 	| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
56d343
@@ -400,7 +419,7 @@ case $basic_machine in
56d343
 	| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
56d343
 	| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
56d343
 	| pyramid-* \
56d343
-	| romp-* | rs6000-* | rx-* \
56d343
+	| rl78-* | romp-* | rs6000-* | rx-* \
56d343
 	| sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
56d343
 	| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
56d343
 	| sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
56d343
@@ -408,10 +427,11 @@ case $basic_machine in
56d343
 	| sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
56d343
 	| tahoe-* \
56d343
 	| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
56d343
-	| tile-* | tilegx-* \
56d343
+	| tile*-* \
56d343
 	| tron-* \
56d343
 	| ubicom32-* \
56d343
-	| v850-* | v850e-* | vax-* \
56d343
+	| v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
56d343
+	| vax-* \
56d343
 	| we32k-* \
56d343
 	| x86-* | x86_64-* | xc16x-* | xps100-* \
56d343
 	| xstormy16-* | xtensa*-* \
56d343
@@ -711,7 +731,6 @@ case $basic_machine in
56d343
 	i370-ibm* | ibm*)
56d343
 		basic_machine=i370-ibm
56d343
 		;;
56d343
-# I'm not sure what "Sysv32" means.  Should this be sysv3.2?
56d343
 	i*86v32)
56d343
 		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
56d343
 		os=-sysv32
56d343
@@ -808,10 +827,18 @@ case $basic_machine in
56d343
 	ms1-*)
56d343
 		basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
56d343
 		;;
56d343
+	msys)
56d343
+		basic_machine=i386-pc
56d343
+		os=-msys
56d343
+		;;
56d343
 	mvs)
56d343
 		basic_machine=i370-ibm
56d343
 		os=-mvs
56d343
 		;;
56d343
+	nacl)
56d343
+		basic_machine=le32-unknown
56d343
+		os=-nacl
56d343
+		;;
56d343
 	ncr3000)
56d343
 		basic_machine=i486-ncr
56d343
 		os=-sysv4
56d343
@@ -1120,13 +1147,8 @@ case $basic_machine in
56d343
 		basic_machine=t90-cray
56d343
 		os=-unicos
56d343
 		;;
56d343
-	# This must be matched before tile*.
56d343
-	tilegx*)
56d343
-		basic_machine=tilegx-unknown
56d343
-		os=-linux-gnu
56d343
-		;;
56d343
 	tile*)
56d343
-		basic_machine=tile-unknown
56d343
+		basic_machine=$basic_machine-unknown
56d343
 		os=-linux-gnu
56d343
 		;;
56d343
 	tx39)
56d343
@@ -1336,7 +1358,7 @@ case $os in
56d343
 	      | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
56d343
 	      | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
56d343
 	      | -chorusos* | -chorusrdb* | -cegcc* \
56d343
-	      | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
56d343
+	      | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
56d343
 	      | -mingw32* | -linux-gnu* | -linux-android* \
56d343
 	      | -linux-newlib* | -linux-uclibc* \
56d343
 	      | -uxpv* | -beos* | -mpeix* | -udk* \
56d343
@@ -1521,6 +1543,9 @@ case $basic_machine in
56d343
 	c4x-* | tic4x-*)
56d343
 		os=-coff
56d343
 		;;
56d343
+	hexagon-*)
56d343
+		os=-elf
56d343
+		;;
56d343
 	tic54x-*)
56d343
 		os=-coff
56d343
 		;;
56d343
@@ -1548,9 +1573,6 @@ case $basic_machine in
56d343
 		;;
56d343
 	m68000-sun)
56d343
 		os=-sunos3
56d343
-		# This also exists in the configure program, but was not the
56d343
-		# default.
56d343
-		# os=-sunos4
56d343
 		;;
56d343
 	m68*-cisco)
56d343
 		os=-aout