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

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