Compare commits
11 Commits
Author | SHA1 | Date |
---|---|---|
Jakub Jelinek | 3511c9ecc5 | |
Jakub Jelinek | 0b8b87fe25 | |
Jakub Jelinek | ec5f2ed32a | |
Jakub Jelinek | af256027f3 | |
Jakub Jelinek | d91ebabc43 | |
Jakub Jelinek | 9c68df4eb8 | |
Jakub Jelinek | 91c116b91f | |
Jakub Jelinek | d7e80456a5 | |
Jakub Jelinek | b8bcd52696 | |
Jakub Jelinek | 7a48915413 | |
Jakub Jelinek | b10f2abd64 |
|
@ -91,3 +91,8 @@
|
||||||
/gcc-4.8.2-20131212.tar.bz2
|
/gcc-4.8.2-20131212.tar.bz2
|
||||||
/gcc-4.8.2-20140115.tar.bz2
|
/gcc-4.8.2-20140115.tar.bz2
|
||||||
/gcc-4.8.2-20140120.tar.bz2
|
/gcc-4.8.2-20140120.tar.bz2
|
||||||
|
/gcc-4.8.2-20140409.tar.bz2
|
||||||
|
/gcc-4.8.2-20140515.tar.bz2
|
||||||
|
/gcc-4.8.3-20140624.tar.bz2
|
||||||
|
/gcc-4.8.3-20140910.tar.bz2
|
||||||
|
/gcc-4.8.3-20140911.tar.bz2
|
||||||
|
|
|
@ -0,0 +1,717 @@
|
||||||
|
--- cloog-0.18.0/m4/libtool.m4.jj 2014-04-10 14:29:12.547772844 -0700
|
||||||
|
+++ cloog-0.18.0/m4/libtool.m4 2014-04-10 14:33:01.848642792 -0700
|
||||||
|
@@ -1312,7 +1312,7 @@
|
||||||
|
rm -rf conftest*
|
||||||
|
;;
|
||||||
|
|
||||||
|
-x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
|
||||||
|
+x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
|
||||||
|
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
|
||||||
|
# Find out which ABI we are using.
|
||||||
|
echo 'int i;' > conftest.$ac_ext
|
||||||
|
@@ -1326,7 +1326,10 @@
|
||||||
|
x86_64-*linux*)
|
||||||
|
LD="${LD-ld} -m elf_i386"
|
||||||
|
;;
|
||||||
|
- ppc64-*linux*|powerpc64-*linux*)
|
||||||
|
+ powerpc64le-*linux*)
|
||||||
|
+ LD="${LD-ld} -m elf32lppclinux"
|
||||||
|
+ ;;
|
||||||
|
+ powerpc64-*linux*)
|
||||||
|
LD="${LD-ld} -m elf32ppclinux"
|
||||||
|
;;
|
||||||
|
s390x-*linux*)
|
||||||
|
@@ -1345,7 +1348,10 @@
|
||||||
|
x86_64-*linux*)
|
||||||
|
LD="${LD-ld} -m elf_x86_64"
|
||||||
|
;;
|
||||||
|
- ppc*-*linux*|powerpc*-*linux*)
|
||||||
|
+ powerpcle-*linux*)
|
||||||
|
+ LD="${LD-ld} -m elf64lppc"
|
||||||
|
+ ;;
|
||||||
|
+ powerpc-*linux*)
|
||||||
|
LD="${LD-ld} -m elf64ppc"
|
||||||
|
;;
|
||||||
|
s390*-*linux*|s390*-*tpf*)
|
||||||
|
--- cloog-0.18.0/autoconf/config.sub.jj 2013-10-11 09:27:45.000000000 +0200
|
||||||
|
+++ cloog-0.18.0/autoconf/config.sub 2014-04-10 10:38:39.000000000 +0200
|
||||||
|
@@ -1,24 +1,18 @@
|
||||||
|
#! /bin/sh
|
||||||
|
# Configuration validation subroutine script.
|
||||||
|
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
||||||
|
-# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
|
||||||
|
-# 2011, 2012 Free Software Foundation, Inc.
|
||||||
|
-
|
||||||
|
-timestamp='2012-04-18'
|
||||||
|
-
|
||||||
|
-# This file is (in principle) common to ALL GNU software.
|
||||||
|
-# The presence of a machine in this file suggests that SOME GNU software
|
||||||
|
-# can handle that machine. It does not imply ALL GNU software can.
|
||||||
|
-#
|
||||||
|
-# 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
|
||||||
|
-# the Free Software Foundation; either version 2 of the License, or
|
||||||
|
+# Copyright 1992-2013 Free Software Foundation, Inc.
|
||||||
|
+
|
||||||
|
+timestamp='2013-10-01'
|
||||||
|
+
|
||||||
|
+# 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
|
||||||
|
+# the Free Software Foundation; either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
-# This program is distributed in the hope that it will be useful,
|
||||||
|
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
-# GNU General Public License for more details.
|
||||||
|
+# This program is distributed in the hope that it will be useful, but
|
||||||
|
+# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
+# General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
@@ -26,11 +20,12 @@ timestamp='2012-04-18'
|
||||||
|
# As a special exception to the GNU General Public License, if you
|
||||||
|
# distribute this file as part of a program that contains a
|
||||||
|
# configuration script generated by Autoconf, you may include it under
|
||||||
|
-# the same distribution terms that you use for the rest of that program.
|
||||||
|
+# the same distribution terms that you use for the rest of that
|
||||||
|
+# program. This Exception is an additional permission under section 7
|
||||||
|
+# of the GNU General Public License, version 3 ("GPLv3").
|
||||||
|
|
||||||
|
|
||||||
|
-# Please send patches to <config-patches@gnu.org>. Submit a context
|
||||||
|
-# diff and a properly formatted GNU ChangeLog entry.
|
||||||
|
+# Please send patches with a ChangeLog entry to config-patches@gnu.org.
|
||||||
|
#
|
||||||
|
# Configuration subroutine to validate and canonicalize a configuration type.
|
||||||
|
# Supply the specified configuration type as an argument.
|
||||||
|
@@ -73,9 +68,7 @@ Report bugs and patches to <config-patch
|
||||||
|
version="\
|
||||||
|
GNU config.sub ($timestamp)
|
||||||
|
|
||||||
|
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
|
||||||
|
-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
|
||||||
|
-Free Software Foundation, Inc.
|
||||||
|
+Copyright 1992-2013 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."
|
||||||
|
@@ -123,7 +116,7 @@ esac
|
||||||
|
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
|
||||||
|
case $maybe_os in
|
||||||
|
nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
|
||||||
|
- linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
|
||||||
|
+ linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
|
||||||
|
knetbsd*-gnu* | netbsd*-gnu* | \
|
||||||
|
kopensolaris*-gnu* | \
|
||||||
|
storm-chaos* | os2-emx* | rtmk-nova*)
|
||||||
|
@@ -156,7 +149,7 @@ case $os in
|
||||||
|
-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
|
||||||
|
-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
|
||||||
|
-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
|
||||||
|
- -apple | -axis | -knuth | -cray | -microblaze)
|
||||||
|
+ -apple | -axis | -knuth | -cray | -microblaze*)
|
||||||
|
os=
|
||||||
|
basic_machine=$1
|
||||||
|
;;
|
||||||
|
@@ -259,10 +252,12 @@ case $basic_machine in
|
||||||
|
| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
|
||||||
|
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
|
||||||
|
| am33_2.0 \
|
||||||
|
- | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
|
||||||
|
- | be32 | be64 \
|
||||||
|
+ | arc | arceb \
|
||||||
|
+ | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
|
||||||
|
+ | avr | avr32 \
|
||||||
|
+ | be32 | be64 \
|
||||||
|
| bfin \
|
||||||
|
- | c4x | clipper \
|
||||||
|
+ | c4x | c8051 | clipper \
|
||||||
|
| d10v | d30v | dlx | dsp16xx \
|
||||||
|
| epiphany \
|
||||||
|
| fido | fr30 | frv \
|
||||||
|
@@ -270,10 +265,11 @@ case $basic_machine in
|
||||||
|
| hexagon \
|
||||||
|
| i370 | i860 | i960 | ia64 \
|
||||||
|
| ip2k | iq2000 \
|
||||||
|
+ | k1om \
|
||||||
|
| le32 | le64 \
|
||||||
|
| lm32 \
|
||||||
|
| m32c | m32r | m32rle | m68000 | m68k | m88k \
|
||||||
|
- | maxq | mb | microblaze | mcore | mep | metag \
|
||||||
|
+ | maxq | mb | microblaze | microblazeel | mcore | mep | metag \
|
||||||
|
| mips | mipsbe | mipseb | mipsel | mipsle \
|
||||||
|
| mips16 \
|
||||||
|
| mips64 | mips64el \
|
||||||
|
@@ -291,16 +287,17 @@ case $basic_machine in
|
||||||
|
| mipsisa64r2 | mipsisa64r2el \
|
||||||
|
| mipsisa64sb1 | mipsisa64sb1el \
|
||||||
|
| mipsisa64sr71k | mipsisa64sr71kel \
|
||||||
|
+ | mipsr5900 | mipsr5900el \
|
||||||
|
| mipstx39 | mipstx39el \
|
||||||
|
| mn10200 | mn10300 \
|
||||||
|
| moxie \
|
||||||
|
| mt \
|
||||||
|
| msp430 \
|
||||||
|
| nds32 | nds32le | nds32be \
|
||||||
|
- | nios | nios2 \
|
||||||
|
+ | nios | nios2 | nios2eb | nios2el \
|
||||||
|
| ns16k | ns32k \
|
||||||
|
| open8 \
|
||||||
|
- | or32 \
|
||||||
|
+ | or1k | or32 \
|
||||||
|
| pdp10 | pdp11 | pj | pjl \
|
||||||
|
| powerpc | powerpc64 | powerpc64le | powerpcle \
|
||||||
|
| pyramid \
|
||||||
|
@@ -328,7 +325,7 @@ case $basic_machine in
|
||||||
|
c6x)
|
||||||
|
basic_machine=tic6x-unknown
|
||||||
|
;;
|
||||||
|
- m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
|
||||||
|
+ m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip)
|
||||||
|
basic_machine=$basic_machine-unknown
|
||||||
|
os=-none
|
||||||
|
;;
|
||||||
|
@@ -370,13 +367,13 @@ case $basic_machine in
|
||||||
|
| aarch64-* | aarch64_be-* \
|
||||||
|
| alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
|
||||||
|
| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
|
||||||
|
- | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
|
||||||
|
+ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
|
||||||
|
| arm-* | armbe-* | armle-* | armeb-* | armv*-* \
|
||||||
|
| avr-* | avr32-* \
|
||||||
|
| be32-* | be64-* \
|
||||||
|
| bfin-* | bs2000-* \
|
||||||
|
| c[123]* | c30-* | [cjt]90-* | c4x-* \
|
||||||
|
- | clipper-* | craynv-* | cydra-* \
|
||||||
|
+ | c8051-* | clipper-* | craynv-* | cydra-* \
|
||||||
|
| d10v-* | d30v-* | dlx-* \
|
||||||
|
| elxsi-* \
|
||||||
|
| f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
|
||||||
|
@@ -385,11 +382,13 @@ case $basic_machine in
|
||||||
|
| hexagon-* \
|
||||||
|
| i*86-* | i860-* | i960-* | ia64-* \
|
||||||
|
| ip2k-* | iq2000-* \
|
||||||
|
+ | k1om-* \
|
||||||
|
| le32-* | le64-* \
|
||||||
|
| lm32-* \
|
||||||
|
| m32c-* | m32r-* | m32rle-* \
|
||||||
|
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
|
||||||
|
- | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
|
||||||
|
+ | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
|
||||||
|
+ | microblaze-* | microblazeel-* \
|
||||||
|
| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
|
||||||
|
| mips16-* \
|
||||||
|
| mips64-* | mips64el-* \
|
||||||
|
@@ -407,12 +406,13 @@ case $basic_machine in
|
||||||
|
| mipsisa64r2-* | mipsisa64r2el-* \
|
||||||
|
| mipsisa64sb1-* | mipsisa64sb1el-* \
|
||||||
|
| mipsisa64sr71k-* | mipsisa64sr71kel-* \
|
||||||
|
+ | mipsr5900-* | mipsr5900el-* \
|
||||||
|
| mipstx39-* | mipstx39el-* \
|
||||||
|
| mmix-* \
|
||||||
|
| mt-* \
|
||||||
|
| msp430-* \
|
||||||
|
| nds32-* | nds32le-* | nds32be-* \
|
||||||
|
- | nios-* | nios2-* \
|
||||||
|
+ | nios-* | nios2-* | nios2eb-* | nios2el-* \
|
||||||
|
| none-* | np1-* | ns16k-* | ns32k-* \
|
||||||
|
| open8-* \
|
||||||
|
| orion-* \
|
||||||
|
@@ -788,11 +788,15 @@ case $basic_machine in
|
||||||
|
basic_machine=ns32k-utek
|
||||||
|
os=-sysv
|
||||||
|
;;
|
||||||
|
- microblaze)
|
||||||
|
+ microblaze*)
|
||||||
|
basic_machine=microblaze-xilinx
|
||||||
|
;;
|
||||||
|
+ mingw64)
|
||||||
|
+ basic_machine=x86_64-pc
|
||||||
|
+ os=-mingw64
|
||||||
|
+ ;;
|
||||||
|
mingw32)
|
||||||
|
- basic_machine=i386-pc
|
||||||
|
+ basic_machine=i686-pc
|
||||||
|
os=-mingw32
|
||||||
|
;;
|
||||||
|
mingw32ce)
|
||||||
|
@@ -828,7 +832,7 @@ case $basic_machine in
|
||||||
|
basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
|
||||||
|
;;
|
||||||
|
msys)
|
||||||
|
- basic_machine=i386-pc
|
||||||
|
+ basic_machine=i686-pc
|
||||||
|
os=-msys
|
||||||
|
;;
|
||||||
|
mvs)
|
||||||
|
@@ -1019,7 +1023,11 @@ case $basic_machine in
|
||||||
|
basic_machine=i586-unknown
|
||||||
|
os=-pw32
|
||||||
|
;;
|
||||||
|
- rdos)
|
||||||
|
+ rdos | rdos64)
|
||||||
|
+ basic_machine=x86_64-pc
|
||||||
|
+ os=-rdos
|
||||||
|
+ ;;
|
||||||
|
+ rdos32)
|
||||||
|
basic_machine=i386-pc
|
||||||
|
os=-rdos
|
||||||
|
;;
|
||||||
|
@@ -1346,21 +1354,21 @@ case $os in
|
||||||
|
-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
|
||||||
|
| -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
|
||||||
|
| -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
|
||||||
|
- | -sym* | -kopensolaris* \
|
||||||
|
+ | -sym* | -kopensolaris* | -plan9* \
|
||||||
|
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
|
||||||
|
| -aos* | -aros* \
|
||||||
|
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
|
||||||
|
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
|
||||||
|
| -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
|
||||||
|
- | -openbsd* | -solidbsd* \
|
||||||
|
+ | -bitrig* | -openbsd* | -solidbsd* \
|
||||||
|
| -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
|
||||||
|
| -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
|
||||||
|
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
|
||||||
|
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
|
||||||
|
| -chorusos* | -chorusrdb* | -cegcc* \
|
||||||
|
| -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
|
||||||
|
- | -mingw32* | -linux-gnu* | -linux-android* \
|
||||||
|
- | -linux-newlib* | -linux-uclibc* \
|
||||||
|
+ | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
|
||||||
|
+ | -linux-newlib* | -linux-musl* | -linux-uclibc* \
|
||||||
|
| -uxpv* | -beos* | -mpeix* | -udk* \
|
||||||
|
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
|
||||||
|
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
|
||||||
|
@@ -1492,9 +1500,6 @@ case $os in
|
||||||
|
-aros*)
|
||||||
|
os=-aros
|
||||||
|
;;
|
||||||
|
- -kaos*)
|
||||||
|
- os=-kaos
|
||||||
|
- ;;
|
||||||
|
-zvmoe)
|
||||||
|
os=-zvmoe
|
||||||
|
;;
|
||||||
|
@@ -1543,6 +1548,9 @@ case $basic_machine in
|
||||||
|
c4x-* | tic4x-*)
|
||||||
|
os=-coff
|
||||||
|
;;
|
||||||
|
+ c8051-*)
|
||||||
|
+ os=-elf
|
||||||
|
+ ;;
|
||||||
|
hexagon-*)
|
||||||
|
os=-elf
|
||||||
|
;;
|
||||||
|
@@ -1586,6 +1594,9 @@ case $basic_machine in
|
||||||
|
mips*-*)
|
||||||
|
os=-elf
|
||||||
|
;;
|
||||||
|
+ or1k-*)
|
||||||
|
+ os=-elf
|
||||||
|
+ ;;
|
||||||
|
or32-*)
|
||||||
|
os=-coff
|
||||||
|
;;
|
||||||
|
--- cloog-0.18.0/autoconf/config.guess.jj 2013-10-11 09:27:45.000000000 +0200
|
||||||
|
+++ cloog-0.18.0/autoconf/config.guess 2014-04-10 10:38:36.000000000 +0200
|
||||||
|
@@ -1,14 +1,12 @@
|
||||||
|
#! /bin/sh
|
||||||
|
# Attempt to guess a canonical system name.
|
||||||
|
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
||||||
|
-# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
|
||||||
|
-# 2011, 2012 Free Software Foundation, Inc.
|
||||||
|
+# Copyright 1992-2013 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
-timestamp='2012-02-10'
|
||||||
|
+timestamp='2013-06-10'
|
||||||
|
|
||||||
|
# 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
|
||||||
|
-# the Free Software Foundation; either version 2 of the License, or
|
||||||
|
+# the Free Software Foundation; either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful, but
|
||||||
|
@@ -22,19 +20,17 @@ timestamp='2012-02-10'
|
||||||
|
# As a special exception to the GNU General Public License, if you
|
||||||
|
# distribute this file as part of a program that contains a
|
||||||
|
# configuration script generated by Autoconf, you may include it under
|
||||||
|
-# the same distribution terms that you use for the rest of that program.
|
||||||
|
-
|
||||||
|
-
|
||||||
|
-# Originally written by Per Bothner. Please send patches (context
|
||||||
|
-# diff format) to <config-patches@gnu.org> and include a ChangeLog
|
||||||
|
-# entry.
|
||||||
|
+# the same distribution terms that you use for the rest of that
|
||||||
|
+# program. This Exception is an additional permission under section 7
|
||||||
|
+# of the GNU General Public License, version 3 ("GPLv3").
|
||||||
|
#
|
||||||
|
-# This script attempts to guess a canonical system name similar to
|
||||||
|
-# config.sub. If it succeeds, it prints the system name on stdout, and
|
||||||
|
-# exits with 0. Otherwise, it exits with 1.
|
||||||
|
+# Originally written by Per Bothner.
|
||||||
|
#
|
||||||
|
# You can get the latest version of this script from:
|
||||||
|
# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
|
||||||
|
+#
|
||||||
|
+# Please send patches with a ChangeLog entry to config-patches@gnu.org.
|
||||||
|
+
|
||||||
|
|
||||||
|
me=`echo "$0" | sed -e 's,.*/,,'`
|
||||||
|
|
||||||
|
@@ -54,9 +50,7 @@ version="\
|
||||||
|
GNU config.guess ($timestamp)
|
||||||
|
|
||||||
|
Originally written by Per Bothner.
|
||||||
|
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
|
||||||
|
-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
|
||||||
|
-Free Software Foundation, Inc.
|
||||||
|
+Copyright 1992-2013 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."
|
||||||
|
@@ -138,6 +132,27 @@ UNAME_RELEASE=`(uname -r) 2>/dev/null` |
|
||||||
|
UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
|
||||||
|
UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
|
||||||
|
|
||||||
|
+case "${UNAME_SYSTEM}" in
|
||||||
|
+Linux|GNU|GNU/*)
|
||||||
|
+ # If the system lacks a compiler, then just pick glibc.
|
||||||
|
+ # We could probably try harder.
|
||||||
|
+ LIBC=gnu
|
||||||
|
+
|
||||||
|
+ eval $set_cc_for_build
|
||||||
|
+ cat <<-EOF > $dummy.c
|
||||||
|
+ #include <features.h>
|
||||||
|
+ #if defined(__UCLIBC__)
|
||||||
|
+ LIBC=uclibc
|
||||||
|
+ #elif defined(__dietlibc__)
|
||||||
|
+ LIBC=dietlibc
|
||||||
|
+ #else
|
||||||
|
+ LIBC=gnu
|
||||||
|
+ #endif
|
||||||
|
+ EOF
|
||||||
|
+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
|
||||||
|
+ ;;
|
||||||
|
+esac
|
||||||
|
+
|
||||||
|
# Note: order is significant - the case branches are not exclusive.
|
||||||
|
|
||||||
|
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
||||||
|
@@ -200,6 +215,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
|
||||||
|
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
|
||||||
|
echo "${machine}-${os}${release}"
|
||||||
|
exit ;;
|
||||||
|
+ *:Bitrig:*:*)
|
||||||
|
+ UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
|
||||||
|
+ echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE}
|
||||||
|
+ exit ;;
|
||||||
|
*:OpenBSD:*:*)
|
||||||
|
UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
|
||||||
|
echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
|
||||||
|
@@ -302,7 +321,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
|
||||||
|
arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
|
||||||
|
echo arm-acorn-riscix${UNAME_RELEASE}
|
||||||
|
exit ;;
|
||||||
|
- arm:riscos:*:*|arm:RISCOS:*:*)
|
||||||
|
+ arm*:riscos:*:*|arm*:RISCOS:*:*)
|
||||||
|
echo arm-unknown-riscos
|
||||||
|
exit ;;
|
||||||
|
SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
|
||||||
|
@@ -801,6 +820,9 @@ EOF
|
||||||
|
i*:CYGWIN*:*)
|
||||||
|
echo ${UNAME_MACHINE}-pc-cygwin
|
||||||
|
exit ;;
|
||||||
|
+ *:MINGW64*:*)
|
||||||
|
+ echo ${UNAME_MACHINE}-pc-mingw64
|
||||||
|
+ exit ;;
|
||||||
|
*:MINGW*:*)
|
||||||
|
echo ${UNAME_MACHINE}-pc-mingw32
|
||||||
|
exit ;;
|
||||||
|
@@ -852,21 +874,21 @@ EOF
|
||||||
|
exit ;;
|
||||||
|
*:GNU:*:*)
|
||||||
|
# the GNU system
|
||||||
|
- echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
|
||||||
|
+ echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
|
||||||
|
exit ;;
|
||||||
|
*:GNU/*:*:*)
|
||||||
|
# other systems with GNU libc and userland
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
i*86:Minix:*:*)
|
||||||
|
echo ${UNAME_MACHINE}-pc-minix
|
||||||
|
exit ;;
|
||||||
|
aarch64:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
aarch64_be:Linux:*:*)
|
||||||
|
UNAME_MACHINE=aarch64_be
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
alpha:Linux:*:*)
|
||||||
|
case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
|
||||||
|
@@ -879,59 +901,54 @@ EOF
|
||||||
|
EV68*) UNAME_MACHINE=alphaev68 ;;
|
||||||
|
esac
|
||||||
|
objdump --private-headers /bin/sh | grep -q ld.so.1
|
||||||
|
- if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
|
||||||
|
+ if test "$?" = 0 ; then LIBC="gnulibc1" ; fi
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
+ exit ;;
|
||||||
|
+ arc:Linux:*:* | arceb:Linux:*:*)
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
arm*:Linux:*:*)
|
||||||
|
eval $set_cc_for_build
|
||||||
|
if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
|
||||||
|
| grep -q __ARM_EABI__
|
||||||
|
then
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
else
|
||||||
|
if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
|
||||||
|
| grep -q __ARM_PCS_VFP
|
||||||
|
then
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnueabi
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi
|
||||||
|
else
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnueabihf
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
exit ;;
|
||||||
|
avr32*:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
cris:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-axis-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-axis-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
crisv32:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-axis-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-axis-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
frv:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
hexagon:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
i*86:Linux:*:*)
|
||||||
|
- LIBC=gnu
|
||||||
|
- eval $set_cc_for_build
|
||||||
|
- sed 's/^ //' << EOF >$dummy.c
|
||||||
|
- #ifdef __dietlibc__
|
||||||
|
- LIBC=dietlibc
|
||||||
|
- #endif
|
||||||
|
-EOF
|
||||||
|
- eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
|
||||||
|
- echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
|
||||||
|
+ echo ${UNAME_MACHINE}-pc-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
ia64:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
m32r*:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
m68*:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
mips:Linux:*:* | mips64:Linux:*:*)
|
||||||
|
eval $set_cc_for_build
|
||||||
|
@@ -950,54 +967,63 @@ EOF
|
||||||
|
#endif
|
||||||
|
EOF
|
||||||
|
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
|
||||||
|
- test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
|
||||||
|
+ test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
|
||||||
|
;;
|
||||||
|
+ or1k:Linux:*:*)
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
+ exit ;;
|
||||||
|
or32:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
padre:Linux:*:*)
|
||||||
|
- echo sparc-unknown-linux-gnu
|
||||||
|
+ echo sparc-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
parisc64:Linux:*:* | hppa64:Linux:*:*)
|
||||||
|
- echo hppa64-unknown-linux-gnu
|
||||||
|
+ echo hppa64-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
parisc:Linux:*:* | hppa:Linux:*:*)
|
||||||
|
# Look for CPU level
|
||||||
|
case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
|
||||||
|
- PA7*) echo hppa1.1-unknown-linux-gnu ;;
|
||||||
|
- PA8*) echo hppa2.0-unknown-linux-gnu ;;
|
||||||
|
- *) echo hppa-unknown-linux-gnu ;;
|
||||||
|
+ PA7*) echo hppa1.1-unknown-linux-${LIBC} ;;
|
||||||
|
+ PA8*) echo hppa2.0-unknown-linux-${LIBC} ;;
|
||||||
|
+ *) echo hppa-unknown-linux-${LIBC} ;;
|
||||||
|
esac
|
||||||
|
exit ;;
|
||||||
|
ppc64:Linux:*:*)
|
||||||
|
- echo powerpc64-unknown-linux-gnu
|
||||||
|
+ echo powerpc64-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
ppc:Linux:*:*)
|
||||||
|
- echo powerpc-unknown-linux-gnu
|
||||||
|
+ echo powerpc-unknown-linux-${LIBC}
|
||||||
|
+ exit ;;
|
||||||
|
+ ppc64le:Linux:*:*)
|
||||||
|
+ echo powerpc64le-unknown-linux-${LIBC}
|
||||||
|
+ exit ;;
|
||||||
|
+ ppcle:Linux:*:*)
|
||||||
|
+ echo powerpcle-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
s390:Linux:*:* | s390x:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-ibm-linux
|
||||||
|
+ echo ${UNAME_MACHINE}-ibm-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
sh64*:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
sh*:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
sparc:Linux:*:* | sparc64:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
tile*:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
vax:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-dec-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-dec-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
x86_64:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
xtensa*:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
i*86:DYNIX/ptx:4*:*)
|
||||||
|
# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
|
||||||
|
@@ -1201,6 +1227,9 @@ EOF
|
||||||
|
BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
|
||||||
|
echo i586-pc-haiku
|
||||||
|
exit ;;
|
||||||
|
+ x86_64:Haiku:*:*)
|
||||||
|
+ echo x86_64-unknown-haiku
|
||||||
|
+ exit ;;
|
||||||
|
SX-4:SUPER-UX:*:*)
|
||||||
|
echo sx4-nec-superux${UNAME_RELEASE}
|
||||||
|
exit ;;
|
||||||
|
@@ -1227,19 +1256,21 @@ EOF
|
||||||
|
exit ;;
|
||||||
|
*:Darwin:*:*)
|
||||||
|
UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
|
||||||
|
- case $UNAME_PROCESSOR in
|
||||||
|
- i386)
|
||||||
|
- eval $set_cc_for_build
|
||||||
|
- if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
|
||||||
|
- if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
|
||||||
|
- (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
|
||||||
|
- grep IS_64BIT_ARCH >/dev/null
|
||||||
|
- then
|
||||||
|
- UNAME_PROCESSOR="x86_64"
|
||||||
|
- fi
|
||||||
|
- fi ;;
|
||||||
|
- unknown) UNAME_PROCESSOR=powerpc ;;
|
||||||
|
- esac
|
||||||
|
+ eval $set_cc_for_build
|
||||||
|
+ if test "$UNAME_PROCESSOR" = unknown ; then
|
||||||
|
+ UNAME_PROCESSOR=powerpc
|
||||||
|
+ fi
|
||||||
|
+ if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
|
||||||
|
+ if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
|
||||||
|
+ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
|
||||||
|
+ grep IS_64BIT_ARCH >/dev/null
|
||||||
|
+ then
|
||||||
|
+ case $UNAME_PROCESSOR in
|
||||||
|
+ i386) UNAME_PROCESSOR=x86_64 ;;
|
||||||
|
+ powerpc) UNAME_PROCESSOR=powerpc64 ;;
|
||||||
|
+ esac
|
||||||
|
+ fi
|
||||||
|
+ fi
|
||||||
|
echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
|
||||||
|
exit ;;
|
||||||
|
*:procnto*:*:* | *:QNX:[0123456789]*:*)
|
||||||
|
@@ -1256,7 +1287,7 @@ EOF
|
||||||
|
NEO-?:NONSTOP_KERNEL:*:*)
|
||||||
|
echo neo-tandem-nsk${UNAME_RELEASE}
|
||||||
|
exit ;;
|
||||||
|
- NSE-?:NONSTOP_KERNEL:*:*)
|
||||||
|
+ NSE-*:NONSTOP_KERNEL:*:*)
|
||||||
|
echo nse-tandem-nsk${UNAME_RELEASE}
|
||||||
|
exit ;;
|
||||||
|
NSR-?:NONSTOP_KERNEL:*:*)
|
||||||
|
@@ -1330,9 +1361,6 @@ EOF
|
||||||
|
exit ;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
-#echo '(No uname command or uname output not recognized.)' 1>&2
|
||||||
|
-#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
|
||||||
|
-
|
||||||
|
eval $set_cc_for_build
|
||||||
|
cat >$dummy.c <<EOF
|
||||||
|
#ifdef _SEQUENT_
|
||||||
|
--- cloog-0.18.0/configure.jj 2013-10-11 09:27:47.000000000 +0200
|
||||||
|
+++ cloog-0.18.0/configure 2014-04-10 20:38:25.078020675 +0200
|
||||||
|
@@ -6383,7 +6383,7 @@ ia64-*-hpux*)
|
||||||
|
rm -rf conftest*
|
||||||
|
;;
|
||||||
|
|
||||||
|
-x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
|
||||||
|
+x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
|
||||||
|
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
|
||||||
|
# Find out which ABI we are using.
|
||||||
|
echo 'int i;' > conftest.$ac_ext
|
||||||
|
@@ -1326,7 +1326,10 @@
|
||||||
|
x86_64-*linux*)
|
||||||
|
LD="${LD-ld} -m elf_i386"
|
||||||
|
;;
|
||||||
|
- ppc64-*linux*|powerpc64-*linux*)
|
||||||
|
+ powerpc64le-*linux*)
|
||||||
|
+ LD="${LD-ld} -m elf32lppclinux"
|
||||||
|
+ ;;
|
||||||
|
+ powerpc64-*linux*)
|
||||||
|
LD="${LD-ld} -m elf32ppclinux"
|
||||||
|
;;
|
||||||
|
s390x-*linux*)
|
||||||
|
@@ -1345,7 +1348,10 @@
|
||||||
|
x86_64-*linux*)
|
||||||
|
LD="${LD-ld} -m elf_x86_64"
|
||||||
|
;;
|
||||||
|
- ppc*-*linux*|powerpc*-*linux*)
|
||||||
|
+ powerpcle-*linux*)
|
||||||
|
+ LD="${LD-ld} -m elf64lppc"
|
||||||
|
+ ;;
|
||||||
|
+ powerpc-*linux*)
|
||||||
|
LD="${LD-ld} -m elf64ppc"
|
||||||
|
;;
|
||||||
|
s390*-*linux*|s390*-*tpf*)
|
|
@ -0,0 +1,708 @@
|
||||||
|
--- fastjar-0.97/m4/libtool.m4.jj 2008-10-16 10:14:54.000000000 +0200
|
||||||
|
+++ fastjar-0.97/m4/libtool.m4 2014-04-10 20:41:26.563064023 +0200
|
||||||
|
@@ -1263,7 +1263,7 @@ ia64-*-hpux*)
|
||||||
|
rm -rf conftest*
|
||||||
|
;;
|
||||||
|
|
||||||
|
-x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
|
||||||
|
+x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
|
||||||
|
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
|
||||||
|
# Find out which ABI we are using.
|
||||||
|
echo 'int i;' > conftest.$ac_ext
|
||||||
|
@@ -1277,7 +1277,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*
|
||||||
|
x86_64-*linux*)
|
||||||
|
LD="${LD-ld} -m elf_i386"
|
||||||
|
;;
|
||||||
|
- ppc64-*linux*|powerpc64-*linux*)
|
||||||
|
+ powerpc64le-*linux*)
|
||||||
|
+ LD="${LD-ld} -m elf32lppclinux"
|
||||||
|
+ ;;
|
||||||
|
+ powerpc64-*linux*)
|
||||||
|
LD="${LD-ld} -m elf32ppclinux"
|
||||||
|
;;
|
||||||
|
s390x-*linux*)
|
||||||
|
@@ -1296,7 +1299,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*
|
||||||
|
x86_64-*linux*)
|
||||||
|
LD="${LD-ld} -m elf_x86_64"
|
||||||
|
;;
|
||||||
|
- ppc*-*linux*|powerpc*-*linux*)
|
||||||
|
+ powerpcle-*linux*)
|
||||||
|
+ LD="${LD-ld} -m elf64lppc"
|
||||||
|
+ ;;
|
||||||
|
+ powerpc-*linux*)
|
||||||
|
LD="${LD-ld} -m elf64ppc"
|
||||||
|
;;
|
||||||
|
s390*-*linux*|s390*-*tpf*)
|
||||||
|
--- fastjar-0.97/config.sub.jj 2014-04-10 20:40:53.000000000 +0200
|
||||||
|
+++ fastjar-0.97/config.sub 2014-04-10 10:38:39.000000000 +0200
|
||||||
|
@@ -1,24 +1,18 @@
|
||||||
|
#! /bin/sh
|
||||||
|
# Configuration validation subroutine script.
|
||||||
|
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
||||||
|
-# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
|
||||||
|
-# 2011, 2012 Free Software Foundation, Inc.
|
||||||
|
-
|
||||||
|
-timestamp='2012-04-18'
|
||||||
|
-
|
||||||
|
-# This file is (in principle) common to ALL GNU software.
|
||||||
|
-# The presence of a machine in this file suggests that SOME GNU software
|
||||||
|
-# can handle that machine. It does not imply ALL GNU software can.
|
||||||
|
-#
|
||||||
|
-# 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
|
||||||
|
-# the Free Software Foundation; either version 2 of the License, or
|
||||||
|
+# Copyright 1992-2013 Free Software Foundation, Inc.
|
||||||
|
+
|
||||||
|
+timestamp='2013-10-01'
|
||||||
|
+
|
||||||
|
+# 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
|
||||||
|
+# the Free Software Foundation; either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
-# This program is distributed in the hope that it will be useful,
|
||||||
|
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
-# GNU General Public License for more details.
|
||||||
|
+# This program is distributed in the hope that it will be useful, but
|
||||||
|
+# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
+# General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
@@ -26,11 +20,12 @@ timestamp='2012-04-18'
|
||||||
|
# As a special exception to the GNU General Public License, if you
|
||||||
|
# distribute this file as part of a program that contains a
|
||||||
|
# configuration script generated by Autoconf, you may include it under
|
||||||
|
-# the same distribution terms that you use for the rest of that program.
|
||||||
|
+# the same distribution terms that you use for the rest of that
|
||||||
|
+# program. This Exception is an additional permission under section 7
|
||||||
|
+# of the GNU General Public License, version 3 ("GPLv3").
|
||||||
|
|
||||||
|
|
||||||
|
-# Please send patches to <config-patches@gnu.org>. Submit a context
|
||||||
|
-# diff and a properly formatted GNU ChangeLog entry.
|
||||||
|
+# Please send patches with a ChangeLog entry to config-patches@gnu.org.
|
||||||
|
#
|
||||||
|
# Configuration subroutine to validate and canonicalize a configuration type.
|
||||||
|
# Supply the specified configuration type as an argument.
|
||||||
|
@@ -73,9 +68,7 @@ Report bugs and patches to <config-patch
|
||||||
|
version="\
|
||||||
|
GNU config.sub ($timestamp)
|
||||||
|
|
||||||
|
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
|
||||||
|
-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
|
||||||
|
-Free Software Foundation, Inc.
|
||||||
|
+Copyright 1992-2013 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."
|
||||||
|
@@ -123,7 +116,7 @@ esac
|
||||||
|
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
|
||||||
|
case $maybe_os in
|
||||||
|
nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
|
||||||
|
- linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
|
||||||
|
+ linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
|
||||||
|
knetbsd*-gnu* | netbsd*-gnu* | \
|
||||||
|
kopensolaris*-gnu* | \
|
||||||
|
storm-chaos* | os2-emx* | rtmk-nova*)
|
||||||
|
@@ -156,7 +149,7 @@ case $os in
|
||||||
|
-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
|
||||||
|
-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
|
||||||
|
-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
|
||||||
|
- -apple | -axis | -knuth | -cray | -microblaze)
|
||||||
|
+ -apple | -axis | -knuth | -cray | -microblaze*)
|
||||||
|
os=
|
||||||
|
basic_machine=$1
|
||||||
|
;;
|
||||||
|
@@ -259,10 +252,12 @@ case $basic_machine in
|
||||||
|
| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
|
||||||
|
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
|
||||||
|
| am33_2.0 \
|
||||||
|
- | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
|
||||||
|
- | be32 | be64 \
|
||||||
|
+ | arc | arceb \
|
||||||
|
+ | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
|
||||||
|
+ | avr | avr32 \
|
||||||
|
+ | be32 | be64 \
|
||||||
|
| bfin \
|
||||||
|
- | c4x | clipper \
|
||||||
|
+ | c4x | c8051 | clipper \
|
||||||
|
| d10v | d30v | dlx | dsp16xx \
|
||||||
|
| epiphany \
|
||||||
|
| fido | fr30 | frv \
|
||||||
|
@@ -270,10 +265,11 @@ case $basic_machine in
|
||||||
|
| hexagon \
|
||||||
|
| i370 | i860 | i960 | ia64 \
|
||||||
|
| ip2k | iq2000 \
|
||||||
|
+ | k1om \
|
||||||
|
| le32 | le64 \
|
||||||
|
| lm32 \
|
||||||
|
| m32c | m32r | m32rle | m68000 | m68k | m88k \
|
||||||
|
- | maxq | mb | microblaze | mcore | mep | metag \
|
||||||
|
+ | maxq | mb | microblaze | microblazeel | mcore | mep | metag \
|
||||||
|
| mips | mipsbe | mipseb | mipsel | mipsle \
|
||||||
|
| mips16 \
|
||||||
|
| mips64 | mips64el \
|
||||||
|
@@ -291,16 +287,17 @@ case $basic_machine in
|
||||||
|
| mipsisa64r2 | mipsisa64r2el \
|
||||||
|
| mipsisa64sb1 | mipsisa64sb1el \
|
||||||
|
| mipsisa64sr71k | mipsisa64sr71kel \
|
||||||
|
+ | mipsr5900 | mipsr5900el \
|
||||||
|
| mipstx39 | mipstx39el \
|
||||||
|
| mn10200 | mn10300 \
|
||||||
|
| moxie \
|
||||||
|
| mt \
|
||||||
|
| msp430 \
|
||||||
|
| nds32 | nds32le | nds32be \
|
||||||
|
- | nios | nios2 \
|
||||||
|
+ | nios | nios2 | nios2eb | nios2el \
|
||||||
|
| ns16k | ns32k \
|
||||||
|
| open8 \
|
||||||
|
- | or32 \
|
||||||
|
+ | or1k | or32 \
|
||||||
|
| pdp10 | pdp11 | pj | pjl \
|
||||||
|
| powerpc | powerpc64 | powerpc64le | powerpcle \
|
||||||
|
| pyramid \
|
||||||
|
@@ -328,7 +325,7 @@ case $basic_machine in
|
||||||
|
c6x)
|
||||||
|
basic_machine=tic6x-unknown
|
||||||
|
;;
|
||||||
|
- m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
|
||||||
|
+ m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip)
|
||||||
|
basic_machine=$basic_machine-unknown
|
||||||
|
os=-none
|
||||||
|
;;
|
||||||
|
@@ -370,13 +367,13 @@ case $basic_machine in
|
||||||
|
| aarch64-* | aarch64_be-* \
|
||||||
|
| alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
|
||||||
|
| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
|
||||||
|
- | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
|
||||||
|
+ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
|
||||||
|
| arm-* | armbe-* | armle-* | armeb-* | armv*-* \
|
||||||
|
| avr-* | avr32-* \
|
||||||
|
| be32-* | be64-* \
|
||||||
|
| bfin-* | bs2000-* \
|
||||||
|
| c[123]* | c30-* | [cjt]90-* | c4x-* \
|
||||||
|
- | clipper-* | craynv-* | cydra-* \
|
||||||
|
+ | c8051-* | clipper-* | craynv-* | cydra-* \
|
||||||
|
| d10v-* | d30v-* | dlx-* \
|
||||||
|
| elxsi-* \
|
||||||
|
| f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
|
||||||
|
@@ -385,11 +382,13 @@ case $basic_machine in
|
||||||
|
| hexagon-* \
|
||||||
|
| i*86-* | i860-* | i960-* | ia64-* \
|
||||||
|
| ip2k-* | iq2000-* \
|
||||||
|
+ | k1om-* \
|
||||||
|
| le32-* | le64-* \
|
||||||
|
| lm32-* \
|
||||||
|
| m32c-* | m32r-* | m32rle-* \
|
||||||
|
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
|
||||||
|
- | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
|
||||||
|
+ | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
|
||||||
|
+ | microblaze-* | microblazeel-* \
|
||||||
|
| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
|
||||||
|
| mips16-* \
|
||||||
|
| mips64-* | mips64el-* \
|
||||||
|
@@ -407,12 +406,13 @@ case $basic_machine in
|
||||||
|
| mipsisa64r2-* | mipsisa64r2el-* \
|
||||||
|
| mipsisa64sb1-* | mipsisa64sb1el-* \
|
||||||
|
| mipsisa64sr71k-* | mipsisa64sr71kel-* \
|
||||||
|
+ | mipsr5900-* | mipsr5900el-* \
|
||||||
|
| mipstx39-* | mipstx39el-* \
|
||||||
|
| mmix-* \
|
||||||
|
| mt-* \
|
||||||
|
| msp430-* \
|
||||||
|
| nds32-* | nds32le-* | nds32be-* \
|
||||||
|
- | nios-* | nios2-* \
|
||||||
|
+ | nios-* | nios2-* | nios2eb-* | nios2el-* \
|
||||||
|
| none-* | np1-* | ns16k-* | ns32k-* \
|
||||||
|
| open8-* \
|
||||||
|
| orion-* \
|
||||||
|
@@ -788,11 +788,15 @@ case $basic_machine in
|
||||||
|
basic_machine=ns32k-utek
|
||||||
|
os=-sysv
|
||||||
|
;;
|
||||||
|
- microblaze)
|
||||||
|
+ microblaze*)
|
||||||
|
basic_machine=microblaze-xilinx
|
||||||
|
;;
|
||||||
|
+ mingw64)
|
||||||
|
+ basic_machine=x86_64-pc
|
||||||
|
+ os=-mingw64
|
||||||
|
+ ;;
|
||||||
|
mingw32)
|
||||||
|
- basic_machine=i386-pc
|
||||||
|
+ basic_machine=i686-pc
|
||||||
|
os=-mingw32
|
||||||
|
;;
|
||||||
|
mingw32ce)
|
||||||
|
@@ -828,7 +832,7 @@ case $basic_machine in
|
||||||
|
basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
|
||||||
|
;;
|
||||||
|
msys)
|
||||||
|
- basic_machine=i386-pc
|
||||||
|
+ basic_machine=i686-pc
|
||||||
|
os=-msys
|
||||||
|
;;
|
||||||
|
mvs)
|
||||||
|
@@ -1019,7 +1023,11 @@ case $basic_machine in
|
||||||
|
basic_machine=i586-unknown
|
||||||
|
os=-pw32
|
||||||
|
;;
|
||||||
|
- rdos)
|
||||||
|
+ rdos | rdos64)
|
||||||
|
+ basic_machine=x86_64-pc
|
||||||
|
+ os=-rdos
|
||||||
|
+ ;;
|
||||||
|
+ rdos32)
|
||||||
|
basic_machine=i386-pc
|
||||||
|
os=-rdos
|
||||||
|
;;
|
||||||
|
@@ -1346,21 +1354,21 @@ case $os in
|
||||||
|
-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
|
||||||
|
| -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
|
||||||
|
| -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
|
||||||
|
- | -sym* | -kopensolaris* \
|
||||||
|
+ | -sym* | -kopensolaris* | -plan9* \
|
||||||
|
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
|
||||||
|
| -aos* | -aros* \
|
||||||
|
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
|
||||||
|
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
|
||||||
|
| -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
|
||||||
|
- | -openbsd* | -solidbsd* \
|
||||||
|
+ | -bitrig* | -openbsd* | -solidbsd* \
|
||||||
|
| -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
|
||||||
|
| -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
|
||||||
|
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
|
||||||
|
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
|
||||||
|
| -chorusos* | -chorusrdb* | -cegcc* \
|
||||||
|
| -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
|
||||||
|
- | -mingw32* | -linux-gnu* | -linux-android* \
|
||||||
|
- | -linux-newlib* | -linux-uclibc* \
|
||||||
|
+ | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
|
||||||
|
+ | -linux-newlib* | -linux-musl* | -linux-uclibc* \
|
||||||
|
| -uxpv* | -beos* | -mpeix* | -udk* \
|
||||||
|
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
|
||||||
|
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
|
||||||
|
@@ -1492,9 +1500,6 @@ case $os in
|
||||||
|
-aros*)
|
||||||
|
os=-aros
|
||||||
|
;;
|
||||||
|
- -kaos*)
|
||||||
|
- os=-kaos
|
||||||
|
- ;;
|
||||||
|
-zvmoe)
|
||||||
|
os=-zvmoe
|
||||||
|
;;
|
||||||
|
@@ -1543,6 +1548,9 @@ case $basic_machine in
|
||||||
|
c4x-* | tic4x-*)
|
||||||
|
os=-coff
|
||||||
|
;;
|
||||||
|
+ c8051-*)
|
||||||
|
+ os=-elf
|
||||||
|
+ ;;
|
||||||
|
hexagon-*)
|
||||||
|
os=-elf
|
||||||
|
;;
|
||||||
|
@@ -1586,6 +1594,9 @@ case $basic_machine in
|
||||||
|
mips*-*)
|
||||||
|
os=-elf
|
||||||
|
;;
|
||||||
|
+ or1k-*)
|
||||||
|
+ os=-elf
|
||||||
|
+ ;;
|
||||||
|
or32-*)
|
||||||
|
os=-coff
|
||||||
|
;;
|
||||||
|
--- fastjar-0.97/config.guess.jj 2014-04-10 20:40:53.000000000 +0200
|
||||||
|
+++ fastjar-0.97/config.guess 2014-04-10 10:38:36.000000000 +0200
|
||||||
|
@@ -1,14 +1,12 @@
|
||||||
|
#! /bin/sh
|
||||||
|
# Attempt to guess a canonical system name.
|
||||||
|
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
||||||
|
-# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
|
||||||
|
-# 2011, 2012 Free Software Foundation, Inc.
|
||||||
|
+# Copyright 1992-2013 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
-timestamp='2012-06-10'
|
||||||
|
+timestamp='2013-06-10'
|
||||||
|
|
||||||
|
# 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
|
||||||
|
-# the Free Software Foundation; either version 2 of the License, or
|
||||||
|
+# the Free Software Foundation; either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful, but
|
||||||
|
@@ -22,19 +20,17 @@ timestamp='2012-06-10'
|
||||||
|
# As a special exception to the GNU General Public License, if you
|
||||||
|
# distribute this file as part of a program that contains a
|
||||||
|
# configuration script generated by Autoconf, you may include it under
|
||||||
|
-# the same distribution terms that you use for the rest of that program.
|
||||||
|
-
|
||||||
|
-
|
||||||
|
-# Originally written by Per Bothner. Please send patches (context
|
||||||
|
-# diff format) to <config-patches@gnu.org> and include a ChangeLog
|
||||||
|
-# entry.
|
||||||
|
+# the same distribution terms that you use for the rest of that
|
||||||
|
+# program. This Exception is an additional permission under section 7
|
||||||
|
+# of the GNU General Public License, version 3 ("GPLv3").
|
||||||
|
#
|
||||||
|
-# This script attempts to guess a canonical system name similar to
|
||||||
|
-# config.sub. If it succeeds, it prints the system name on stdout, and
|
||||||
|
-# exits with 0. Otherwise, it exits with 1.
|
||||||
|
+# Originally written by Per Bothner.
|
||||||
|
#
|
||||||
|
# You can get the latest version of this script from:
|
||||||
|
# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
|
||||||
|
+#
|
||||||
|
+# Please send patches with a ChangeLog entry to config-patches@gnu.org.
|
||||||
|
+
|
||||||
|
|
||||||
|
me=`echo "$0" | sed -e 's,.*/,,'`
|
||||||
|
|
||||||
|
@@ -54,9 +50,7 @@ version="\
|
||||||
|
GNU config.guess ($timestamp)
|
||||||
|
|
||||||
|
Originally written by Per Bothner.
|
||||||
|
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
|
||||||
|
-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
|
||||||
|
-Free Software Foundation, Inc.
|
||||||
|
+Copyright 1992-2013 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."
|
||||||
|
@@ -138,6 +132,27 @@ UNAME_RELEASE=`(uname -r) 2>/dev/null` |
|
||||||
|
UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
|
||||||
|
UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
|
||||||
|
|
||||||
|
+case "${UNAME_SYSTEM}" in
|
||||||
|
+Linux|GNU|GNU/*)
|
||||||
|
+ # If the system lacks a compiler, then just pick glibc.
|
||||||
|
+ # We could probably try harder.
|
||||||
|
+ LIBC=gnu
|
||||||
|
+
|
||||||
|
+ eval $set_cc_for_build
|
||||||
|
+ cat <<-EOF > $dummy.c
|
||||||
|
+ #include <features.h>
|
||||||
|
+ #if defined(__UCLIBC__)
|
||||||
|
+ LIBC=uclibc
|
||||||
|
+ #elif defined(__dietlibc__)
|
||||||
|
+ LIBC=dietlibc
|
||||||
|
+ #else
|
||||||
|
+ LIBC=gnu
|
||||||
|
+ #endif
|
||||||
|
+ EOF
|
||||||
|
+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
|
||||||
|
+ ;;
|
||||||
|
+esac
|
||||||
|
+
|
||||||
|
# Note: order is significant - the case branches are not exclusive.
|
||||||
|
|
||||||
|
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
||||||
|
@@ -200,6 +215,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
|
||||||
|
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
|
||||||
|
echo "${machine}-${os}${release}"
|
||||||
|
exit ;;
|
||||||
|
+ *:Bitrig:*:*)
|
||||||
|
+ UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
|
||||||
|
+ echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE}
|
||||||
|
+ exit ;;
|
||||||
|
*:OpenBSD:*:*)
|
||||||
|
UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
|
||||||
|
echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
|
||||||
|
@@ -302,7 +321,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
|
||||||
|
arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
|
||||||
|
echo arm-acorn-riscix${UNAME_RELEASE}
|
||||||
|
exit ;;
|
||||||
|
- arm:riscos:*:*|arm:RISCOS:*:*)
|
||||||
|
+ arm*:riscos:*:*|arm*:RISCOS:*:*)
|
||||||
|
echo arm-unknown-riscos
|
||||||
|
exit ;;
|
||||||
|
SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
|
||||||
|
@@ -801,6 +820,9 @@ EOF
|
||||||
|
i*:CYGWIN*:*)
|
||||||
|
echo ${UNAME_MACHINE}-pc-cygwin
|
||||||
|
exit ;;
|
||||||
|
+ *:MINGW64*:*)
|
||||||
|
+ echo ${UNAME_MACHINE}-pc-mingw64
|
||||||
|
+ exit ;;
|
||||||
|
*:MINGW*:*)
|
||||||
|
echo ${UNAME_MACHINE}-pc-mingw32
|
||||||
|
exit ;;
|
||||||
|
@@ -852,21 +874,21 @@ EOF
|
||||||
|
exit ;;
|
||||||
|
*:GNU:*:*)
|
||||||
|
# the GNU system
|
||||||
|
- echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
|
||||||
|
+ echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
|
||||||
|
exit ;;
|
||||||
|
*:GNU/*:*:*)
|
||||||
|
# other systems with GNU libc and userland
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
i*86:Minix:*:*)
|
||||||
|
echo ${UNAME_MACHINE}-pc-minix
|
||||||
|
exit ;;
|
||||||
|
aarch64:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
aarch64_be:Linux:*:*)
|
||||||
|
UNAME_MACHINE=aarch64_be
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
alpha:Linux:*:*)
|
||||||
|
case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
|
||||||
|
@@ -879,59 +901,54 @@ EOF
|
||||||
|
EV68*) UNAME_MACHINE=alphaev68 ;;
|
||||||
|
esac
|
||||||
|
objdump --private-headers /bin/sh | grep -q ld.so.1
|
||||||
|
- if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
|
||||||
|
+ if test "$?" = 0 ; then LIBC="gnulibc1" ; fi
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
+ exit ;;
|
||||||
|
+ arc:Linux:*:* | arceb:Linux:*:*)
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
arm*:Linux:*:*)
|
||||||
|
eval $set_cc_for_build
|
||||||
|
if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
|
||||||
|
| grep -q __ARM_EABI__
|
||||||
|
then
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
else
|
||||||
|
if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
|
||||||
|
| grep -q __ARM_PCS_VFP
|
||||||
|
then
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnueabi
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi
|
||||||
|
else
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnueabihf
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
exit ;;
|
||||||
|
avr32*:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
cris:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-axis-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-axis-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
crisv32:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-axis-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-axis-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
frv:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
hexagon:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
i*86:Linux:*:*)
|
||||||
|
- LIBC=gnu
|
||||||
|
- eval $set_cc_for_build
|
||||||
|
- sed 's/^ //' << EOF >$dummy.c
|
||||||
|
- #ifdef __dietlibc__
|
||||||
|
- LIBC=dietlibc
|
||||||
|
- #endif
|
||||||
|
-EOF
|
||||||
|
- eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
|
||||||
|
- echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
|
||||||
|
+ echo ${UNAME_MACHINE}-pc-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
ia64:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
m32r*:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
m68*:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
mips:Linux:*:* | mips64:Linux:*:*)
|
||||||
|
eval $set_cc_for_build
|
||||||
|
@@ -950,54 +967,63 @@ EOF
|
||||||
|
#endif
|
||||||
|
EOF
|
||||||
|
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
|
||||||
|
- test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
|
||||||
|
+ test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
|
||||||
|
;;
|
||||||
|
+ or1k:Linux:*:*)
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
+ exit ;;
|
||||||
|
or32:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
padre:Linux:*:*)
|
||||||
|
- echo sparc-unknown-linux-gnu
|
||||||
|
+ echo sparc-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
parisc64:Linux:*:* | hppa64:Linux:*:*)
|
||||||
|
- echo hppa64-unknown-linux-gnu
|
||||||
|
+ echo hppa64-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
parisc:Linux:*:* | hppa:Linux:*:*)
|
||||||
|
# Look for CPU level
|
||||||
|
case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
|
||||||
|
- PA7*) echo hppa1.1-unknown-linux-gnu ;;
|
||||||
|
- PA8*) echo hppa2.0-unknown-linux-gnu ;;
|
||||||
|
- *) echo hppa-unknown-linux-gnu ;;
|
||||||
|
+ PA7*) echo hppa1.1-unknown-linux-${LIBC} ;;
|
||||||
|
+ PA8*) echo hppa2.0-unknown-linux-${LIBC} ;;
|
||||||
|
+ *) echo hppa-unknown-linux-${LIBC} ;;
|
||||||
|
esac
|
||||||
|
exit ;;
|
||||||
|
ppc64:Linux:*:*)
|
||||||
|
- echo powerpc64-unknown-linux-gnu
|
||||||
|
+ echo powerpc64-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
ppc:Linux:*:*)
|
||||||
|
- echo powerpc-unknown-linux-gnu
|
||||||
|
+ echo powerpc-unknown-linux-${LIBC}
|
||||||
|
+ exit ;;
|
||||||
|
+ ppc64le:Linux:*:*)
|
||||||
|
+ echo powerpc64le-unknown-linux-${LIBC}
|
||||||
|
+ exit ;;
|
||||||
|
+ ppcle:Linux:*:*)
|
||||||
|
+ echo powerpcle-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
s390:Linux:*:* | s390x:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-ibm-linux
|
||||||
|
+ echo ${UNAME_MACHINE}-ibm-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
sh64*:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
sh*:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
sparc:Linux:*:* | sparc64:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
tile*:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
vax:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-dec-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-dec-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
x86_64:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
xtensa*:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
i*86:DYNIX/ptx:4*:*)
|
||||||
|
# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
|
||||||
|
@@ -1201,6 +1227,9 @@ EOF
|
||||||
|
BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
|
||||||
|
echo i586-pc-haiku
|
||||||
|
exit ;;
|
||||||
|
+ x86_64:Haiku:*:*)
|
||||||
|
+ echo x86_64-unknown-haiku
|
||||||
|
+ exit ;;
|
||||||
|
SX-4:SUPER-UX:*:*)
|
||||||
|
echo sx4-nec-superux${UNAME_RELEASE}
|
||||||
|
exit ;;
|
||||||
|
@@ -1227,19 +1256,21 @@ EOF
|
||||||
|
exit ;;
|
||||||
|
*:Darwin:*:*)
|
||||||
|
UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
|
||||||
|
- case $UNAME_PROCESSOR in
|
||||||
|
- i386)
|
||||||
|
- eval $set_cc_for_build
|
||||||
|
- if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
|
||||||
|
- if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
|
||||||
|
- (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
|
||||||
|
- grep IS_64BIT_ARCH >/dev/null
|
||||||
|
- then
|
||||||
|
- UNAME_PROCESSOR="x86_64"
|
||||||
|
- fi
|
||||||
|
- fi ;;
|
||||||
|
- unknown) UNAME_PROCESSOR=powerpc ;;
|
||||||
|
- esac
|
||||||
|
+ eval $set_cc_for_build
|
||||||
|
+ if test "$UNAME_PROCESSOR" = unknown ; then
|
||||||
|
+ UNAME_PROCESSOR=powerpc
|
||||||
|
+ fi
|
||||||
|
+ if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
|
||||||
|
+ if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
|
||||||
|
+ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
|
||||||
|
+ grep IS_64BIT_ARCH >/dev/null
|
||||||
|
+ then
|
||||||
|
+ case $UNAME_PROCESSOR in
|
||||||
|
+ i386) UNAME_PROCESSOR=x86_64 ;;
|
||||||
|
+ powerpc) UNAME_PROCESSOR=powerpc64 ;;
|
||||||
|
+ esac
|
||||||
|
+ fi
|
||||||
|
+ fi
|
||||||
|
echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
|
||||||
|
exit ;;
|
||||||
|
*:procnto*:*:* | *:QNX:[0123456789]*:*)
|
||||||
|
@@ -1330,9 +1361,6 @@ EOF
|
||||||
|
exit ;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
-#echo '(No uname command or uname output not recognized.)' 1>&2
|
||||||
|
-#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
|
||||||
|
-
|
||||||
|
eval $set_cc_for_build
|
||||||
|
cat >$dummy.c <<EOF
|
||||||
|
#ifdef _SEQUENT_
|
||||||
|
--- fastjar-0.97/configure.jj 2008-10-16 10:15:10.000000000 +0200
|
||||||
|
+++ fastjar-0.97/configure 2014-04-10 20:43:07.458531730 +0200
|
||||||
|
@@ -6918,7 +6918,7 @@ ia64-*-hpux*)
|
||||||
|
rm -rf conftest*
|
||||||
|
;;
|
||||||
|
|
||||||
|
-x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
|
||||||
|
+x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
|
||||||
|
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
|
||||||
|
# Find out which ABI we are using.
|
||||||
|
echo 'int i;' > conftest.$ac_ext
|
||||||
|
@@ -6936,7 +6936,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*
|
||||||
|
x86_64-*linux*)
|
||||||
|
LD="${LD-ld} -m elf_i386"
|
||||||
|
;;
|
||||||
|
- ppc64-*linux*|powerpc64-*linux*)
|
||||||
|
+ powerpc64le-*linux*)
|
||||||
|
+ LD="${LD-ld} -m elf32lppclinux"
|
||||||
|
+ ;;
|
||||||
|
+ powerpc64-*linux*)
|
||||||
|
LD="${LD-ld} -m elf32ppclinux"
|
||||||
|
;;
|
||||||
|
s390x-*linux*)
|
||||||
|
@@ -6955,7 +6958,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*
|
||||||
|
x86_64-*linux*)
|
||||||
|
LD="${LD-ld} -m elf_x86_64"
|
||||||
|
;;
|
||||||
|
- ppc*-*linux*|powerpc*-*linux*)
|
||||||
|
+ powerpcle-*linux*)
|
||||||
|
+ LD="${LD-ld} -m elf64lppc"
|
||||||
|
+ ;;
|
||||||
|
+ powerpc-*linux*)
|
||||||
|
LD="${LD-ld} -m elf64ppc"
|
||||||
|
;;
|
||||||
|
s390*-*linux*|s390*-*tpf*)
|
|
@ -0,0 +1,96 @@
|
||||||
|
2014-04-09 Richard Henderson <rth@redhat.com>
|
||||||
|
|
||||||
|
* gcc-interface/Makefile.in: Support aarch64-linux.
|
||||||
|
* init.c: Enable alternate stack support also on aarch64.
|
||||||
|
* types.h (Fat_Pointer): Remove aligned attribute.
|
||||||
|
|
||||||
|
--- gcc/ada/gcc-interface/Makefile.in
|
||||||
|
+++ gcc/ada/gcc-interface/Makefile.in
|
||||||
|
@@ -2123,6 +2123,44 @@ ifeq ($(strip $(filter-out alpha% linux%,$(arch) $(osys))),)
|
||||||
|
LIBRARY_VERSION := $(LIB_VERSION)
|
||||||
|
endif
|
||||||
|
|
||||||
|
+# AArch64 Linux
|
||||||
|
+ifeq ($(strip $(filter-out aarch64% linux%,$(arch) $(osys))),)
|
||||||
|
+ LIBGNAT_TARGET_PAIRS = \
|
||||||
|
+ a-exetim.adb<a-exetim-posix.adb \
|
||||||
|
+ a-exetim.ads<a-exetim-default.ads \
|
||||||
|
+ a-intnam.ads<a-intnam-linux.ads \
|
||||||
|
+ a-synbar.adb<a-synbar-posix.adb \
|
||||||
|
+ a-synbar.ads<a-synbar-posix.ads \
|
||||||
|
+ s-inmaop.adb<s-inmaop-posix.adb \
|
||||||
|
+ s-intman.adb<s-intman-posix.adb \
|
||||||
|
+ s-linux.ads<s-linux.ads \
|
||||||
|
+ s-mudido.adb<s-mudido-affinity.adb \
|
||||||
|
+ s-osinte.ads<s-osinte-linux.ads \
|
||||||
|
+ s-osinte.adb<s-osinte-posix.adb \
|
||||||
|
+ s-osprim.adb<s-osprim-posix.adb \
|
||||||
|
+ s-taprop.adb<s-taprop-linux.adb \
|
||||||
|
+ s-tasinf.ads<s-tasinf-linux.ads \
|
||||||
|
+ s-tasinf.adb<s-tasinf-linux.adb \
|
||||||
|
+ s-tpopsp.adb<s-tpopsp-tls.adb \
|
||||||
|
+ s-taspri.ads<s-taspri-posix.ads \
|
||||||
|
+ g-sercom.adb<g-sercom-linux.adb \
|
||||||
|
+ $(ATOMICS_TARGET_PAIRS) \
|
||||||
|
+ $(ATOMICS_BUILTINS_TARGET_PAIRS) \
|
||||||
|
+ system.ads<system-linux-x86_64.ads
|
||||||
|
+ ## ^^ Note the above is a pretty-close placeholder.
|
||||||
|
+
|
||||||
|
+ TOOLS_TARGET_PAIRS = \
|
||||||
|
+ mlib-tgt-specific.adb<mlib-tgt-specific-linux.adb \
|
||||||
|
+ indepsw.adb<indepsw-gnu.adb
|
||||||
|
+
|
||||||
|
+ EXTRA_GNATRTL_TASKING_OBJS=s-linux.o a-exetim.o
|
||||||
|
+ EH_MECHANISM=-gcc
|
||||||
|
+ THREADSLIB=-lpthread -lrt
|
||||||
|
+ GNATLIB_SHARED=gnatlib-shared-dual
|
||||||
|
+ GMEM_LIB = gmemlib
|
||||||
|
+ LIBRARY_VERSION := $(LIB_VERSION)
|
||||||
|
+endif
|
||||||
|
+
|
||||||
|
# x86-64 Linux
|
||||||
|
ifeq ($(strip $(filter-out %x86_64 linux%,$(arch) $(osys))),)
|
||||||
|
LIBGNAT_TARGET_PAIRS = \
|
||||||
|
--- gcc/ada/init.c
|
||||||
|
+++ gcc/ada/init.c
|
||||||
|
@@ -562,7 +562,9 @@ __gnat_error_handler (int sig, siginfo_t *si ATTRIBUTE_UNUSED, void *ucontext)
|
||||||
|
Raise_From_Signal_Handler (exception, msg);
|
||||||
|
}
|
||||||
|
|
||||||
|
-#if defined (i386) || defined (__x86_64__) || defined (__powerpc__)
|
||||||
|
+#if defined (i386) || defined (__x86_64__) || defined (__powerpc__) \
|
||||||
|
+ || defined (__aarch64__)
|
||||||
|
+#define HAVE_GNAT_ALTERNATE_STACK 1
|
||||||
|
/* This must be in keeping with System.OS_Interface.Alternate_Stack_Size. */
|
||||||
|
char __gnat_alternate_stack[16 * 1024]; /* 2 * SIGSTKSZ */
|
||||||
|
#endif
|
||||||
|
@@ -603,7 +605,7 @@ __gnat_install_handler (void)
|
||||||
|
handled properly, avoiding a SEGV generation from stack usage by the
|
||||||
|
handler itself. */
|
||||||
|
|
||||||
|
-#if defined (i386) || defined (__x86_64__) || defined (__powerpc__)
|
||||||
|
+#ifdef HAVE_GNAT_ALTERNATE_STACK
|
||||||
|
stack_t stack;
|
||||||
|
stack.ss_sp = __gnat_alternate_stack;
|
||||||
|
stack.ss_size = sizeof (__gnat_alternate_stack);
|
||||||
|
@@ -624,7 +626,7 @@ __gnat_install_handler (void)
|
||||||
|
sigaction (SIGILL, &act, NULL);
|
||||||
|
if (__gnat_get_interrupt_state (SIGBUS) != 's')
|
||||||
|
sigaction (SIGBUS, &act, NULL);
|
||||||
|
-#if defined (i386) || defined (__x86_64__) || defined (__powerpc__)
|
||||||
|
+#ifdef HAVE_GNAT_ALTERNATE_STACK
|
||||||
|
act.sa_flags |= SA_ONSTACK;
|
||||||
|
#endif
|
||||||
|
if (__gnat_get_interrupt_state (SIGSEGV) != 's')
|
||||||
|
--- gcc/ada/types.h
|
||||||
|
+++ gcc/ada/types.h
|
||||||
|
@@ -79,8 +79,7 @@ typedef Char *Str_Ptr;
|
||||||
|
/* Types for the fat pointer used for strings and the template it
|
||||||
|
points to. */
|
||||||
|
typedef struct {int Low_Bound, High_Bound; } String_Template;
|
||||||
|
-typedef struct {const char *Array; String_Template *Bounds; }
|
||||||
|
- __attribute ((aligned (sizeof (char *) * 2))) Fat_Pointer;
|
||||||
|
+typedef struct {const char *Array; String_Template *Bounds; } Fat_Pointer;
|
||||||
|
|
||||||
|
/* Types for Node/Entity Kinds: */
|
||||||
|
|
|
@ -0,0 +1,35 @@
|
||||||
|
2014-04-07 Richard Henderson <rth@redhat.com>
|
||||||
|
|
||||||
|
* common/config/aarch64/aarch64-common.c (TARGET_OPTION_INIT_STRUCT):
|
||||||
|
Define.
|
||||||
|
(aarch64_option_init_struct): New function.
|
||||||
|
|
||||||
|
--- gcc/common/config/aarch64/aarch64-common.c
|
||||||
|
+++ gcc/common/config/aarch64/aarch64-common.c
|
||||||
|
@@ -39,6 +39,9 @@
|
||||||
|
#undef TARGET_OPTION_OPTIMIZATION_TABLE
|
||||||
|
#define TARGET_OPTION_OPTIMIZATION_TABLE aarch_option_optimization_table
|
||||||
|
|
||||||
|
+#undef TARGET_OPTION_INIT_STRUCT
|
||||||
|
+#define TARGET_OPTION_INIT_STRUCT aarch64_option_init_struct
|
||||||
|
+
|
||||||
|
/* Set default optimization options. */
|
||||||
|
static const struct default_options aarch_option_optimization_table[] =
|
||||||
|
{
|
||||||
|
@@ -47,6 +50,16 @@ static const struct default_options aarch_option_optimization_table[] =
|
||||||
|
{ OPT_LEVELS_NONE, 0, NULL, 0 }
|
||||||
|
};
|
||||||
|
|
||||||
|
+/* Implement TARGET_OPTION_INIT_STRUCT. */
|
||||||
|
+
|
||||||
|
+static void
|
||||||
|
+aarch64_option_init_struct (struct gcc_options *opts)
|
||||||
|
+{
|
||||||
|
+ /* By default, always emit DWARF-2 unwind info. This allows debugging
|
||||||
|
+ without maintaining a stack frame back-chain. */
|
||||||
|
+ opts->x_flag_asynchronous_unwind_tables = 1;
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
/* Implement TARGET_HANDLE_OPTION.
|
||||||
|
This function handles the target specific options for CPU/target selection.
|
||||||
|
|
|
@ -0,0 +1,342 @@
|
||||||
|
2014-08-08 Richard Henderson <rth@redhat.com>
|
||||||
|
|
||||||
|
* config/aarch64/aarch64.c (aarch64_save_or_restore_fprs): Add
|
||||||
|
cfi_ops argument, for restore put REG_CFA_RESTORE notes into
|
||||||
|
*cfi_ops rather than on individual insns. Cleanup.
|
||||||
|
(aarch64_save_or_restore_callee_save_registers): Likewise.
|
||||||
|
(aarch64_expand_prologue): Adjust caller.
|
||||||
|
(aarch64_expand_epilogue): Likewise. Cleanup. Emit queued cfi_ops
|
||||||
|
on the stack restore insn.
|
||||||
|
|
||||||
|
--- gcc/config/aarch64/aarch64.c 2014-07-15 02:27:16.000000000 -0700
|
||||||
|
+++ gcc/config/aarch64/aarch64.c 2014-08-21 12:52:44.190455860 -0700
|
||||||
|
@@ -1603,24 +1603,23 @@ aarch64_register_saved_on_entry (int reg
|
||||||
|
|
||||||
|
static void
|
||||||
|
aarch64_save_or_restore_fprs (int start_offset, int increment,
|
||||||
|
- bool restore, rtx base_rtx)
|
||||||
|
-
|
||||||
|
+ bool restore, rtx base_rtx, rtx *cfi_ops)
|
||||||
|
{
|
||||||
|
unsigned regno;
|
||||||
|
unsigned regno2;
|
||||||
|
rtx insn;
|
||||||
|
rtx (*gen_mem_ref)(enum machine_mode, rtx) = (frame_pointer_needed)? gen_frame_mem : gen_rtx_MEM;
|
||||||
|
|
||||||
|
-
|
||||||
|
for (regno = V0_REGNUM; regno <= V31_REGNUM; regno++)
|
||||||
|
{
|
||||||
|
if (aarch64_register_saved_on_entry (regno))
|
||||||
|
{
|
||||||
|
- rtx mem;
|
||||||
|
+ rtx mem, reg1;
|
||||||
|
mem = gen_mem_ref (DFmode,
|
||||||
|
plus_constant (Pmode,
|
||||||
|
base_rtx,
|
||||||
|
start_offset));
|
||||||
|
+ reg1 = gen_rtx_REG (DFmode, regno);
|
||||||
|
|
||||||
|
for (regno2 = regno + 1;
|
||||||
|
regno2 <= V31_REGNUM
|
||||||
|
@@ -1632,54 +1631,51 @@ aarch64_save_or_restore_fprs (int start_
|
||||||
|
if (regno2 <= V31_REGNUM &&
|
||||||
|
aarch64_register_saved_on_entry (regno2))
|
||||||
|
{
|
||||||
|
- rtx mem2;
|
||||||
|
+ rtx mem2, reg2;
|
||||||
|
/* Next highest register to be saved. */
|
||||||
|
mem2 = gen_mem_ref (DFmode,
|
||||||
|
plus_constant
|
||||||
|
(Pmode,
|
||||||
|
base_rtx,
|
||||||
|
start_offset + increment));
|
||||||
|
+ reg2 = gen_rtx_REG (DFmode, regno2);
|
||||||
|
+
|
||||||
|
if (restore == false)
|
||||||
|
{
|
||||||
|
- insn = emit_insn
|
||||||
|
- ( gen_store_pairdf (mem, gen_rtx_REG (DFmode, regno),
|
||||||
|
- mem2, gen_rtx_REG (DFmode, regno2)));
|
||||||
|
-
|
||||||
|
+ insn = emit_insn (gen_store_pairdf (mem, reg1, mem2, reg2));
|
||||||
|
+ /* The first part of a frame-related parallel insn
|
||||||
|
+ is always assumed to be relevant to the frame
|
||||||
|
+ calculations; subsequent parts, are only
|
||||||
|
+ frame-related if explicitly marked. */
|
||||||
|
+ RTX_FRAME_RELATED_P (XVECEXP (PATTERN (insn), 0, 1)) = 1;
|
||||||
|
+ RTX_FRAME_RELATED_P (insn) = 1;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
- insn = emit_insn
|
||||||
|
- ( gen_load_pairdf (gen_rtx_REG (DFmode, regno), mem,
|
||||||
|
- gen_rtx_REG (DFmode, regno2), mem2));
|
||||||
|
-
|
||||||
|
- add_reg_note (insn, REG_CFA_RESTORE, gen_rtx_REG (DFmode, regno));
|
||||||
|
- add_reg_note (insn, REG_CFA_RESTORE, gen_rtx_REG (DFmode, regno2));
|
||||||
|
+ emit_insn (gen_load_pairdf (reg1, mem, reg2, mem2));
|
||||||
|
+ *cfi_ops = alloc_reg_note (REG_CFA_RESTORE, reg1, *cfi_ops);
|
||||||
|
+ *cfi_ops = alloc_reg_note (REG_CFA_RESTORE, reg2, *cfi_ops);
|
||||||
|
}
|
||||||
|
|
||||||
|
- /* The first part of a frame-related parallel insn
|
||||||
|
- is always assumed to be relevant to the frame
|
||||||
|
- calculations; subsequent parts, are only
|
||||||
|
- frame-related if explicitly marked. */
|
||||||
|
- RTX_FRAME_RELATED_P (XVECEXP (PATTERN (insn), 0,
|
||||||
|
- 1)) = 1;
|
||||||
|
regno = regno2;
|
||||||
|
start_offset += increment * 2;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (restore == false)
|
||||||
|
- insn = emit_move_insn (mem, gen_rtx_REG (DFmode, regno));
|
||||||
|
+ {
|
||||||
|
+ insn = emit_move_insn (mem, reg1);
|
||||||
|
+ RTX_FRAME_RELATED_P (insn) = 1;
|
||||||
|
+ }
|
||||||
|
else
|
||||||
|
{
|
||||||
|
- insn = emit_move_insn (gen_rtx_REG (DFmode, regno), mem);
|
||||||
|
- add_reg_note (insn, REG_CFA_RESTORE, gen_rtx_REG (DImode, regno));
|
||||||
|
+ emit_move_insn (reg1, mem);
|
||||||
|
+ *cfi_ops = alloc_reg_note (REG_CFA_RESTORE, reg1, *cfi_ops);
|
||||||
|
}
|
||||||
|
start_offset += increment;
|
||||||
|
}
|
||||||
|
- RTX_FRAME_RELATED_P (insn) = 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
-
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -1687,13 +1683,14 @@ aarch64_save_or_restore_fprs (int start_
|
||||||
|
restore's have to happen. */
|
||||||
|
static void
|
||||||
|
aarch64_save_or_restore_callee_save_registers (HOST_WIDE_INT offset,
|
||||||
|
- bool restore)
|
||||||
|
+ bool restore, rtx *cfi_ops)
|
||||||
|
{
|
||||||
|
rtx insn;
|
||||||
|
rtx base_rtx = stack_pointer_rtx;
|
||||||
|
HOST_WIDE_INT start_offset = offset;
|
||||||
|
HOST_WIDE_INT increment = UNITS_PER_WORD;
|
||||||
|
- rtx (*gen_mem_ref)(enum machine_mode, rtx) = (frame_pointer_needed)? gen_frame_mem : gen_rtx_MEM;
|
||||||
|
+ rtx (*gen_mem_ref)(enum machine_mode, rtx)
|
||||||
|
+ = (frame_pointer_needed)? gen_frame_mem : gen_rtx_MEM;
|
||||||
|
unsigned limit = (frame_pointer_needed)? R28_REGNUM: R30_REGNUM;
|
||||||
|
unsigned regno;
|
||||||
|
unsigned regno2;
|
||||||
|
@@ -1702,11 +1699,13 @@ aarch64_save_or_restore_callee_save_regi
|
||||||
|
{
|
||||||
|
if (aarch64_register_saved_on_entry (regno))
|
||||||
|
{
|
||||||
|
- rtx mem;
|
||||||
|
+ rtx mem, reg1;
|
||||||
|
+
|
||||||
|
mem = gen_mem_ref (Pmode,
|
||||||
|
plus_constant (Pmode,
|
||||||
|
base_rtx,
|
||||||
|
start_offset));
|
||||||
|
+ reg1 = gen_rtx_REG (DImode, regno);
|
||||||
|
|
||||||
|
for (regno2 = regno + 1;
|
||||||
|
regno2 <= limit
|
||||||
|
@@ -1718,56 +1717,54 @@ aarch64_save_or_restore_callee_save_regi
|
||||||
|
if (regno2 <= limit &&
|
||||||
|
aarch64_register_saved_on_entry (regno2))
|
||||||
|
{
|
||||||
|
- rtx mem2;
|
||||||
|
+ rtx mem2, reg2;
|
||||||
|
/* Next highest register to be saved. */
|
||||||
|
mem2 = gen_mem_ref (Pmode,
|
||||||
|
plus_constant
|
||||||
|
(Pmode,
|
||||||
|
base_rtx,
|
||||||
|
start_offset + increment));
|
||||||
|
+ reg2 = gen_rtx_REG (DImode, regno2);
|
||||||
|
+
|
||||||
|
if (restore == false)
|
||||||
|
{
|
||||||
|
- insn = emit_insn
|
||||||
|
- ( gen_store_pairdi (mem, gen_rtx_REG (DImode, regno),
|
||||||
|
- mem2, gen_rtx_REG (DImode, regno2)));
|
||||||
|
-
|
||||||
|
+ insn = emit_insn (gen_store_pairdi (mem, reg1, mem2, reg2));
|
||||||
|
+ /* The first part of a frame-related parallel insn
|
||||||
|
+ is always assumed to be relevant to the frame
|
||||||
|
+ calculations; subsequent parts, are only
|
||||||
|
+ frame-related if explicitly marked. */
|
||||||
|
+ RTX_FRAME_RELATED_P (XVECEXP (PATTERN (insn), 0, 1)) = 1;
|
||||||
|
+ RTX_FRAME_RELATED_P (insn) = 1;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
- insn = emit_insn
|
||||||
|
- ( gen_load_pairdi (gen_rtx_REG (DImode, regno), mem,
|
||||||
|
- gen_rtx_REG (DImode, regno2), mem2));
|
||||||
|
-
|
||||||
|
- add_reg_note (insn, REG_CFA_RESTORE, gen_rtx_REG (DImode, regno));
|
||||||
|
- add_reg_note (insn, REG_CFA_RESTORE, gen_rtx_REG (DImode, regno2));
|
||||||
|
+ emit_insn (gen_load_pairdi (reg1, mem, reg2, mem2));
|
||||||
|
+ *cfi_ops = alloc_reg_note (REG_CFA_RESTORE, reg1, *cfi_ops);
|
||||||
|
+ *cfi_ops = alloc_reg_note (REG_CFA_RESTORE, reg2, *cfi_ops);
|
||||||
|
}
|
||||||
|
|
||||||
|
- /* The first part of a frame-related parallel insn
|
||||||
|
- is always assumed to be relevant to the frame
|
||||||
|
- calculations; subsequent parts, are only
|
||||||
|
- frame-related if explicitly marked. */
|
||||||
|
- RTX_FRAME_RELATED_P (XVECEXP (PATTERN (insn), 0,
|
||||||
|
- 1)) = 1;
|
||||||
|
regno = regno2;
|
||||||
|
start_offset += increment * 2;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (restore == false)
|
||||||
|
- insn = emit_move_insn (mem, gen_rtx_REG (DImode, regno));
|
||||||
|
+ {
|
||||||
|
+ insn = emit_move_insn (mem, reg1);
|
||||||
|
+ RTX_FRAME_RELATED_P (insn) = 1;
|
||||||
|
+ }
|
||||||
|
else
|
||||||
|
{
|
||||||
|
- insn = emit_move_insn (gen_rtx_REG (DImode, regno), mem);
|
||||||
|
- add_reg_note (insn, REG_CFA_RESTORE, gen_rtx_REG (DImode, regno));
|
||||||
|
+ emit_move_insn (reg1, mem);
|
||||||
|
+ *cfi_ops = alloc_reg_note (REG_CFA_RESTORE, reg1, *cfi_ops);
|
||||||
|
}
|
||||||
|
start_offset += increment;
|
||||||
|
}
|
||||||
|
- RTX_FRAME_RELATED_P (insn) = 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
- aarch64_save_or_restore_fprs (start_offset, increment, restore, base_rtx);
|
||||||
|
-
|
||||||
|
+ aarch64_save_or_restore_fprs (start_offset, increment, restore,
|
||||||
|
+ base_rtx, cfi_ops);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* AArch64 stack frames generated by this compiler look like:
|
||||||
|
@@ -1966,7 +1963,7 @@ aarch64_expand_prologue (void)
|
||||||
|
}
|
||||||
|
|
||||||
|
aarch64_save_or_restore_callee_save_registers
|
||||||
|
- (fp_offset + cfun->machine->frame.hardfp_offset, 0);
|
||||||
|
+ (fp_offset + cfun->machine->frame.hardfp_offset, 0, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* when offset >= 512,
|
||||||
|
@@ -1991,6 +1988,7 @@ aarch64_expand_epilogue (bool for_sibcal
|
||||||
|
HOST_WIDE_INT fp_offset;
|
||||||
|
rtx insn;
|
||||||
|
rtx cfa_reg;
|
||||||
|
+ rtx cfi_ops = NULL;
|
||||||
|
|
||||||
|
aarch64_layout_frame ();
|
||||||
|
original_frame_size = get_frame_size () + cfun->machine->saved_varargs_size;
|
||||||
|
@@ -2035,15 +2033,17 @@ aarch64_expand_epilogue (bool for_sibcal
|
||||||
|
insn = emit_insn (gen_add3_insn (stack_pointer_rtx,
|
||||||
|
hard_frame_pointer_rtx,
|
||||||
|
GEN_INT (- fp_offset)));
|
||||||
|
+ /* CFA should be calculated from the value of SP from now on. */
|
||||||
|
+ add_reg_note (insn, REG_CFA_ADJUST_CFA,
|
||||||
|
+ gen_rtx_SET (VOIDmode, stack_pointer_rtx,
|
||||||
|
+ plus_constant (Pmode, hard_frame_pointer_rtx,
|
||||||
|
+ -fp_offset)));
|
||||||
|
RTX_FRAME_RELATED_P (insn) = 1;
|
||||||
|
- /* As SP is set to (FP - fp_offset), according to the rules in
|
||||||
|
- dwarf2cfi.c:dwarf2out_frame_debug_expr, CFA should be calculated
|
||||||
|
- from the value of SP from now on. */
|
||||||
|
cfa_reg = stack_pointer_rtx;
|
||||||
|
}
|
||||||
|
|
||||||
|
aarch64_save_or_restore_callee_save_registers
|
||||||
|
- (fp_offset + cfun->machine->frame.hardfp_offset, 1);
|
||||||
|
+ (fp_offset + cfun->machine->frame.hardfp_offset, 1, &cfi_ops);
|
||||||
|
|
||||||
|
/* Restore the frame pointer and lr if the frame pointer is needed. */
|
||||||
|
if (offset > 0)
|
||||||
|
@@ -2051,6 +2051,8 @@ aarch64_expand_epilogue (bool for_sibcal
|
||||||
|
if (frame_pointer_needed)
|
||||||
|
{
|
||||||
|
rtx mem_fp, mem_lr;
|
||||||
|
+ rtx reg_fp = hard_frame_pointer_rtx;
|
||||||
|
+ rtx reg_lr = gen_rtx_REG (DImode, LR_REGNUM);
|
||||||
|
|
||||||
|
if (fp_offset)
|
||||||
|
{
|
||||||
|
@@ -2063,52 +2065,36 @@ aarch64_expand_epilogue (bool for_sibcal
|
||||||
|
stack_pointer_rtx,
|
||||||
|
fp_offset
|
||||||
|
+ UNITS_PER_WORD));
|
||||||
|
- insn = emit_insn (gen_load_pairdi (hard_frame_pointer_rtx,
|
||||||
|
- mem_fp,
|
||||||
|
- gen_rtx_REG (DImode,
|
||||||
|
- LR_REGNUM),
|
||||||
|
- mem_lr));
|
||||||
|
+ emit_insn (gen_load_pairdi (reg_fp, mem_fp, reg_lr, mem_lr));
|
||||||
|
+
|
||||||
|
+ insn = emit_insn (gen_add2_insn (stack_pointer_rtx,
|
||||||
|
+ GEN_INT (offset)));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
insn = emit_insn (gen_loadwb_pairdi_di
|
||||||
|
- (stack_pointer_rtx,
|
||||||
|
- stack_pointer_rtx,
|
||||||
|
- hard_frame_pointer_rtx,
|
||||||
|
- gen_rtx_REG (DImode, LR_REGNUM),
|
||||||
|
- GEN_INT (offset),
|
||||||
|
+ (stack_pointer_rtx, stack_pointer_rtx,
|
||||||
|
+ reg_fp, reg_lr, GEN_INT (offset),
|
||||||
|
GEN_INT (GET_MODE_SIZE (DImode) + offset)));
|
||||||
|
- RTX_FRAME_RELATED_P (XVECEXP (PATTERN (insn), 0, 2)) = 1;
|
||||||
|
- add_reg_note (insn, REG_CFA_ADJUST_CFA,
|
||||||
|
- (gen_rtx_SET (Pmode, stack_pointer_rtx,
|
||||||
|
- plus_constant (Pmode, cfa_reg,
|
||||||
|
- offset))));
|
||||||
|
- }
|
||||||
|
-
|
||||||
|
- /* The first part of a frame-related parallel insn
|
||||||
|
- is always assumed to be relevant to the frame
|
||||||
|
- calculations; subsequent parts, are only
|
||||||
|
- frame-related if explicitly marked. */
|
||||||
|
- RTX_FRAME_RELATED_P (XVECEXP (PATTERN (insn), 0, 1)) = 1;
|
||||||
|
- RTX_FRAME_RELATED_P (insn) = 1;
|
||||||
|
- add_reg_note (insn, REG_CFA_RESTORE, hard_frame_pointer_rtx);
|
||||||
|
- add_reg_note (insn, REG_CFA_RESTORE,
|
||||||
|
- gen_rtx_REG (DImode, LR_REGNUM));
|
||||||
|
-
|
||||||
|
- if (fp_offset)
|
||||||
|
- {
|
||||||
|
- insn = emit_insn (gen_add2_insn (stack_pointer_rtx,
|
||||||
|
- GEN_INT (offset)));
|
||||||
|
- RTX_FRAME_RELATED_P (insn) = 1;
|
||||||
|
}
|
||||||
|
+ cfi_ops = alloc_reg_note (REG_CFA_RESTORE, reg_fp, cfi_ops);
|
||||||
|
+ cfi_ops = alloc_reg_note (REG_CFA_RESTORE, reg_lr, cfi_ops);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
insn = emit_insn (gen_add2_insn (stack_pointer_rtx,
|
||||||
|
GEN_INT (offset)));
|
||||||
|
- RTX_FRAME_RELATED_P (insn) = 1;
|
||||||
|
}
|
||||||
|
+ cfi_ops = alloc_reg_note (REG_CFA_ADJUST_CFA,
|
||||||
|
+ gen_rtx_SET (VOIDmode, stack_pointer_rtx,
|
||||||
|
+ plus_constant (Pmode, cfa_reg,
|
||||||
|
+ offset)),
|
||||||
|
+ cfi_ops);
|
||||||
|
+ REG_NOTES (insn) = cfi_ops;
|
||||||
|
+ RTX_FRAME_RELATED_P (insn) = 1;
|
||||||
|
}
|
||||||
|
+ else
|
||||||
|
+ gcc_assert (cfi_ops == NULL);
|
||||||
|
|
||||||
|
/* Stack adjustment for exception handler. */
|
||||||
|
if (crtl->calls_eh_return)
|
|
@ -4,7 +4,7 @@
|
||||||
<a class="link" href="http://www.fsf.org/" target="_top">FSF
|
<a class="link" href="http://www.fsf.org/" target="_top">FSF
|
||||||
</a>
|
</a>
|
||||||
</p><p>
|
</p><p>
|
||||||
+ Release 4.8.1
|
+ Release 4.8.3
|
||||||
+ </p><p>
|
+ </p><p>
|
||||||
Permission is granted to copy, distribute and/or modify this
|
Permission is granted to copy, distribute and/or modify this
|
||||||
document under the terms of the GNU Free Documentation
|
document under the terms of the GNU Free Documentation
|
||||||
|
@ -18,7 +18,7 @@
|
||||||
- The API documentation, rendered into HTML, can be viewed online:
|
- The API documentation, rendered into HTML, can be viewed online:
|
||||||
+ The API documentation, rendered into HTML, can be viewed here:
|
+ The API documentation, rendered into HTML, can be viewed here:
|
||||||
</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>
|
</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>
|
||||||
+ <a class="link" href="api/index.html" target="_top">for the 4.8.1 release, local
|
+ <a class="link" href="api/index.html" target="_top">for the 4.8.3 release, local
|
||||||
+ </a>
|
+ </a>
|
||||||
+ </p></li><li class="listitem"><p>
|
+ </p></li><li class="listitem"><p>
|
||||||
<a class="link" href="http://gcc.gnu.org/onlinedocs/libstdc++/libstdc++-html-USERS-3.4/index.html" target="_top">for the 3.4 release
|
<a class="link" href="http://gcc.gnu.org/onlinedocs/libstdc++/libstdc++-html-USERS-3.4/index.html" target="_top">for the 3.4 release
|
||||||
|
|
|
@ -8,9 +8,9 @@
|
||||||
|
|
||||||
--- gcc/config/rs6000/rs6000.c.jj 2005-11-26 14:38:01.000000000 +0100
|
--- gcc/config/rs6000/rs6000.c.jj 2005-11-26 14:38:01.000000000 +0100
|
||||||
+++ gcc/config/rs6000/rs6000.c 2005-11-28 20:32:18.000000000 +0100
|
+++ gcc/config/rs6000/rs6000.c 2005-11-28 20:32:18.000000000 +0100
|
||||||
@@ -18325,18 +18325,22 @@ rs6000_return_addr (int count, rtx frame
|
@@ -21423,18 +21423,22 @@ rs6000_return_addr (int count, rtx frame
|
||||||
don't try to be too clever here. */
|
if (count != 0
|
||||||
if (count != 0 || (DEFAULT_ABI != ABI_AIX && flag_pic))
|
|| ((DEFAULT_ABI == ABI_V4 || DEFAULT_ABI == ABI_DARWIN) && flag_pic))
|
||||||
{
|
{
|
||||||
+ rtx x;
|
+ rtx x;
|
||||||
cfun->machine->ra_needs_full_frame = 1;
|
cfun->machine->ra_needs_full_frame = 1;
|
||||||
|
|
|
@ -1,43 +0,0 @@
|
||||||
2014-02-19 Jason Merrill <jason@redhat.com>
|
|
||||||
|
|
||||||
PR c++/60046
|
|
||||||
* pt.c (maybe_instantiate_noexcept): Don't instantiate exception
|
|
||||||
spec from template context.
|
|
||||||
|
|
||||||
--- gcc/cp/pt.c (revision 207920)
|
|
||||||
+++ gcc/cp/pt.c (revision 207921)
|
|
||||||
@@ -18567,6 +18567,10 @@ maybe_instantiate_noexcept (tree fn)
|
|
||||||
{
|
|
||||||
tree fntype, spec, noex, clone;
|
|
||||||
|
|
||||||
+ /* Don't instantiate a noexcept-specification from template context. */
|
|
||||||
+ if (processing_template_decl)
|
|
||||||
+ return;
|
|
||||||
+
|
|
||||||
if (DECL_CLONED_FUNCTION_P (fn))
|
|
||||||
fn = DECL_CLONED_FUNCTION (fn);
|
|
||||||
fntype = TREE_TYPE (fn);
|
|
||||||
--- gcc/testsuite/g++.dg/cpp0x/noexcept22.C (revision 0)
|
|
||||||
+++ gcc/testsuite/g++.dg/cpp0x/noexcept22.C (revision 207921)
|
|
||||||
@@ -0,0 +1,21 @@
|
|
||||||
+// PR c++/60046
|
|
||||||
+// { dg-require-effective-target c++11 }
|
|
||||||
+
|
|
||||||
+constexpr bool foo () { return noexcept (true); }
|
|
||||||
+template <typename T>
|
|
||||||
+struct V
|
|
||||||
+{
|
|
||||||
+ void bar (V &) noexcept (foo ()) {}
|
|
||||||
+};
|
|
||||||
+template <typename T>
|
|
||||||
+struct W : public V <int>
|
|
||||||
+{
|
|
||||||
+ void bar (W &x) { V <int>::bar (x); }
|
|
||||||
+};
|
|
||||||
+
|
|
||||||
+int
|
|
||||||
+main ()
|
|
||||||
+{
|
|
||||||
+ W <int> a, b;
|
|
||||||
+ a.bar (b);
|
|
||||||
+}
|
|
|
@ -1,46 +0,0 @@
|
||||||
2014-02-11 Michael Meissner <meissner@linux.vnet.ibm.com>
|
|
||||||
|
|
||||||
PR target/60137
|
|
||||||
* config/rs6000/rs6000.md (128-bit GPR splitter): Add a splitter
|
|
||||||
for VSX/Altivec vectors that land in GPR registers.
|
|
||||||
|
|
||||||
* gcc.target/powerpc/pr60137.c: New file.
|
|
||||||
|
|
||||||
--- gcc/config/rs6000/rs6000.md (revision 207698)
|
|
||||||
+++ gcc/config/rs6000/rs6000.md (revision 207699)
|
|
||||||
@@ -9963,6 +9963,15 @@ (define_insn_and_split "reload_vsx_from_
|
|
||||||
[(set_attr "length" "12")
|
|
||||||
(set_attr "type" "three")])
|
|
||||||
|
|
||||||
+(define_split
|
|
||||||
+ [(set (match_operand:FMOVE128_GPR 0 "nonimmediate_operand" "")
|
|
||||||
+ (match_operand:FMOVE128_GPR 1 "input_operand" ""))]
|
|
||||||
+ "reload_completed
|
|
||||||
+ && (int_reg_operand (operands[0], <MODE>mode)
|
|
||||||
+ || int_reg_operand (operands[1], <MODE>mode))"
|
|
||||||
+ [(pc)]
|
|
||||||
+{ rs6000_split_multireg_move (operands[0], operands[1]); DONE; })
|
|
||||||
+
|
|
||||||
;; Move SFmode to a VSX from a GPR register. Because scalar floating point
|
|
||||||
;; type is stored internally as double precision in the VSX registers, we have
|
|
||||||
;; to convert it from the vector format.
|
|
||||||
--- gcc/testsuite/gcc.target/powerpc/pr60137.c (revision 0)
|
|
||||||
+++ gcc/testsuite/gcc.target/powerpc/pr60137.c (revision 207699)
|
|
||||||
@@ -0,0 +1,17 @@
|
|
||||||
+/* { dg-do compile { target { powerpc*-*-* } } } */
|
|
||||||
+/* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */
|
|
||||||
+/* { dg-require-effective-target powerpc_p8vector_ok } */
|
|
||||||
+/* { dg-options "-mcpu=power8 -O3 -mno-vsx" } */
|
|
||||||
+
|
|
||||||
+/* target/60137, compiler got a 'could not split insn error'. */
|
|
||||||
+
|
|
||||||
+extern int target_flags;
|
|
||||||
+extern char fixed_regs[53];
|
|
||||||
+extern char call_used_regs[53];
|
|
||||||
+
|
|
||||||
+void init_reg_sets_1(void)
|
|
||||||
+{
|
|
||||||
+ int i;
|
|
||||||
+ for (i = 0; i < 53; i++)
|
|
||||||
+ fixed_regs[i] = call_used_regs[i] = (call_used_regs[i] &((target_flags & 0x02000000) ? 2 : 1)) != 0;
|
|
||||||
+}
|
|
|
@ -0,0 +1,708 @@
|
||||||
|
--- isl-0.11.1/configure.jj 2012-12-10 11:58:02.000000000 +0100
|
||||||
|
+++ isl-0.11.1/configure 2014-04-10 20:45:59.676625289 +0200
|
||||||
|
@@ -7991,7 +7991,7 @@ ia64-*-hpux*)
|
||||||
|
rm -rf conftest*
|
||||||
|
;;
|
||||||
|
|
||||||
|
-x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
|
||||||
|
+x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
|
||||||
|
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
|
||||||
|
# Find out which ABI we are using.
|
||||||
|
echo 'int i;' > conftest.$ac_ext
|
||||||
|
@@ -8009,7 +8009,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*
|
||||||
|
x86_64-*linux*)
|
||||||
|
LD="${LD-ld} -m elf_i386"
|
||||||
|
;;
|
||||||
|
- ppc64-*linux*|powerpc64-*linux*)
|
||||||
|
+ powerpc64le-*linux*)
|
||||||
|
+ LD="${LD-ld} -m elf32lppclinux"
|
||||||
|
+ ;;
|
||||||
|
+ powerpc64-*linux*)
|
||||||
|
LD="${LD-ld} -m elf32ppclinux"
|
||||||
|
;;
|
||||||
|
s390x-*linux*)
|
||||||
|
@@ -8028,7 +8031,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*
|
||||||
|
x86_64-*linux*)
|
||||||
|
LD="${LD-ld} -m elf_x86_64"
|
||||||
|
;;
|
||||||
|
- ppc*-*linux*|powerpc*-*linux*)
|
||||||
|
+ powerpcle-*linux*)
|
||||||
|
+ LD="${LD-ld} -m elf64lppc"
|
||||||
|
+ ;;
|
||||||
|
+ powerpc-*linux*)
|
||||||
|
LD="${LD-ld} -m elf64ppc"
|
||||||
|
;;
|
||||||
|
s390*-*linux*|s390*-*tpf*)
|
||||||
|
--- isl-0.11.1/config.sub.jj 2014-04-10 20:44:52.000000000 +0200
|
||||||
|
+++ isl-0.11.1/config.sub 2014-04-10 10:38:39.203978206 +0200
|
||||||
|
@@ -1,24 +1,18 @@
|
||||||
|
#! /bin/sh
|
||||||
|
# Configuration validation subroutine script.
|
||||||
|
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
||||||
|
-# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
|
||||||
|
-# 2011, 2012 Free Software Foundation, Inc.
|
||||||
|
-
|
||||||
|
-timestamp='2012-04-18'
|
||||||
|
-
|
||||||
|
-# This file is (in principle) common to ALL GNU software.
|
||||||
|
-# The presence of a machine in this file suggests that SOME GNU software
|
||||||
|
-# can handle that machine. It does not imply ALL GNU software can.
|
||||||
|
-#
|
||||||
|
-# 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
|
||||||
|
-# the Free Software Foundation; either version 2 of the License, or
|
||||||
|
+# Copyright 1992-2013 Free Software Foundation, Inc.
|
||||||
|
+
|
||||||
|
+timestamp='2013-10-01'
|
||||||
|
+
|
||||||
|
+# 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
|
||||||
|
+# the Free Software Foundation; either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
-# This program is distributed in the hope that it will be useful,
|
||||||
|
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
-# GNU General Public License for more details.
|
||||||
|
+# This program is distributed in the hope that it will be useful, but
|
||||||
|
+# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
+# General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
@@ -26,11 +20,12 @@ timestamp='2012-04-18'
|
||||||
|
# As a special exception to the GNU General Public License, if you
|
||||||
|
# distribute this file as part of a program that contains a
|
||||||
|
# configuration script generated by Autoconf, you may include it under
|
||||||
|
-# the same distribution terms that you use for the rest of that program.
|
||||||
|
+# the same distribution terms that you use for the rest of that
|
||||||
|
+# program. This Exception is an additional permission under section 7
|
||||||
|
+# of the GNU General Public License, version 3 ("GPLv3").
|
||||||
|
|
||||||
|
|
||||||
|
-# Please send patches to <config-patches@gnu.org>. Submit a context
|
||||||
|
-# diff and a properly formatted GNU ChangeLog entry.
|
||||||
|
+# Please send patches with a ChangeLog entry to config-patches@gnu.org.
|
||||||
|
#
|
||||||
|
# Configuration subroutine to validate and canonicalize a configuration type.
|
||||||
|
# Supply the specified configuration type as an argument.
|
||||||
|
@@ -73,9 +68,7 @@ Report bugs and patches to <config-patch
|
||||||
|
version="\
|
||||||
|
GNU config.sub ($timestamp)
|
||||||
|
|
||||||
|
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
|
||||||
|
-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
|
||||||
|
-Free Software Foundation, Inc.
|
||||||
|
+Copyright 1992-2013 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."
|
||||||
|
@@ -123,7 +116,7 @@ esac
|
||||||
|
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
|
||||||
|
case $maybe_os in
|
||||||
|
nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
|
||||||
|
- linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
|
||||||
|
+ linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
|
||||||
|
knetbsd*-gnu* | netbsd*-gnu* | \
|
||||||
|
kopensolaris*-gnu* | \
|
||||||
|
storm-chaos* | os2-emx* | rtmk-nova*)
|
||||||
|
@@ -156,7 +149,7 @@ case $os in
|
||||||
|
-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
|
||||||
|
-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
|
||||||
|
-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
|
||||||
|
- -apple | -axis | -knuth | -cray | -microblaze)
|
||||||
|
+ -apple | -axis | -knuth | -cray | -microblaze*)
|
||||||
|
os=
|
||||||
|
basic_machine=$1
|
||||||
|
;;
|
||||||
|
@@ -259,10 +252,12 @@ case $basic_machine in
|
||||||
|
| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
|
||||||
|
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
|
||||||
|
| am33_2.0 \
|
||||||
|
- | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
|
||||||
|
- | be32 | be64 \
|
||||||
|
+ | arc | arceb \
|
||||||
|
+ | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
|
||||||
|
+ | avr | avr32 \
|
||||||
|
+ | be32 | be64 \
|
||||||
|
| bfin \
|
||||||
|
- | c4x | clipper \
|
||||||
|
+ | c4x | c8051 | clipper \
|
||||||
|
| d10v | d30v | dlx | dsp16xx \
|
||||||
|
| epiphany \
|
||||||
|
| fido | fr30 | frv \
|
||||||
|
@@ -270,10 +265,11 @@ case $basic_machine in
|
||||||
|
| hexagon \
|
||||||
|
| i370 | i860 | i960 | ia64 \
|
||||||
|
| ip2k | iq2000 \
|
||||||
|
+ | k1om \
|
||||||
|
| le32 | le64 \
|
||||||
|
| lm32 \
|
||||||
|
| m32c | m32r | m32rle | m68000 | m68k | m88k \
|
||||||
|
- | maxq | mb | microblaze | mcore | mep | metag \
|
||||||
|
+ | maxq | mb | microblaze | microblazeel | mcore | mep | metag \
|
||||||
|
| mips | mipsbe | mipseb | mipsel | mipsle \
|
||||||
|
| mips16 \
|
||||||
|
| mips64 | mips64el \
|
||||||
|
@@ -291,16 +287,17 @@ case $basic_machine in
|
||||||
|
| mipsisa64r2 | mipsisa64r2el \
|
||||||
|
| mipsisa64sb1 | mipsisa64sb1el \
|
||||||
|
| mipsisa64sr71k | mipsisa64sr71kel \
|
||||||
|
+ | mipsr5900 | mipsr5900el \
|
||||||
|
| mipstx39 | mipstx39el \
|
||||||
|
| mn10200 | mn10300 \
|
||||||
|
| moxie \
|
||||||
|
| mt \
|
||||||
|
| msp430 \
|
||||||
|
| nds32 | nds32le | nds32be \
|
||||||
|
- | nios | nios2 \
|
||||||
|
+ | nios | nios2 | nios2eb | nios2el \
|
||||||
|
| ns16k | ns32k \
|
||||||
|
| open8 \
|
||||||
|
- | or32 \
|
||||||
|
+ | or1k | or32 \
|
||||||
|
| pdp10 | pdp11 | pj | pjl \
|
||||||
|
| powerpc | powerpc64 | powerpc64le | powerpcle \
|
||||||
|
| pyramid \
|
||||||
|
@@ -328,7 +325,7 @@ case $basic_machine in
|
||||||
|
c6x)
|
||||||
|
basic_machine=tic6x-unknown
|
||||||
|
;;
|
||||||
|
- m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
|
||||||
|
+ m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip)
|
||||||
|
basic_machine=$basic_machine-unknown
|
||||||
|
os=-none
|
||||||
|
;;
|
||||||
|
@@ -370,13 +367,13 @@ case $basic_machine in
|
||||||
|
| aarch64-* | aarch64_be-* \
|
||||||
|
| alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
|
||||||
|
| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
|
||||||
|
- | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
|
||||||
|
+ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
|
||||||
|
| arm-* | armbe-* | armle-* | armeb-* | armv*-* \
|
||||||
|
| avr-* | avr32-* \
|
||||||
|
| be32-* | be64-* \
|
||||||
|
| bfin-* | bs2000-* \
|
||||||
|
| c[123]* | c30-* | [cjt]90-* | c4x-* \
|
||||||
|
- | clipper-* | craynv-* | cydra-* \
|
||||||
|
+ | c8051-* | clipper-* | craynv-* | cydra-* \
|
||||||
|
| d10v-* | d30v-* | dlx-* \
|
||||||
|
| elxsi-* \
|
||||||
|
| f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
|
||||||
|
@@ -385,11 +382,13 @@ case $basic_machine in
|
||||||
|
| hexagon-* \
|
||||||
|
| i*86-* | i860-* | i960-* | ia64-* \
|
||||||
|
| ip2k-* | iq2000-* \
|
||||||
|
+ | k1om-* \
|
||||||
|
| le32-* | le64-* \
|
||||||
|
| lm32-* \
|
||||||
|
| m32c-* | m32r-* | m32rle-* \
|
||||||
|
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
|
||||||
|
- | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
|
||||||
|
+ | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
|
||||||
|
+ | microblaze-* | microblazeel-* \
|
||||||
|
| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
|
||||||
|
| mips16-* \
|
||||||
|
| mips64-* | mips64el-* \
|
||||||
|
@@ -407,12 +406,13 @@ case $basic_machine in
|
||||||
|
| mipsisa64r2-* | mipsisa64r2el-* \
|
||||||
|
| mipsisa64sb1-* | mipsisa64sb1el-* \
|
||||||
|
| mipsisa64sr71k-* | mipsisa64sr71kel-* \
|
||||||
|
+ | mipsr5900-* | mipsr5900el-* \
|
||||||
|
| mipstx39-* | mipstx39el-* \
|
||||||
|
| mmix-* \
|
||||||
|
| mt-* \
|
||||||
|
| msp430-* \
|
||||||
|
| nds32-* | nds32le-* | nds32be-* \
|
||||||
|
- | nios-* | nios2-* \
|
||||||
|
+ | nios-* | nios2-* | nios2eb-* | nios2el-* \
|
||||||
|
| none-* | np1-* | ns16k-* | ns32k-* \
|
||||||
|
| open8-* \
|
||||||
|
| orion-* \
|
||||||
|
@@ -788,11 +788,15 @@ case $basic_machine in
|
||||||
|
basic_machine=ns32k-utek
|
||||||
|
os=-sysv
|
||||||
|
;;
|
||||||
|
- microblaze)
|
||||||
|
+ microblaze*)
|
||||||
|
basic_machine=microblaze-xilinx
|
||||||
|
;;
|
||||||
|
+ mingw64)
|
||||||
|
+ basic_machine=x86_64-pc
|
||||||
|
+ os=-mingw64
|
||||||
|
+ ;;
|
||||||
|
mingw32)
|
||||||
|
- basic_machine=i386-pc
|
||||||
|
+ basic_machine=i686-pc
|
||||||
|
os=-mingw32
|
||||||
|
;;
|
||||||
|
mingw32ce)
|
||||||
|
@@ -828,7 +832,7 @@ case $basic_machine in
|
||||||
|
basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
|
||||||
|
;;
|
||||||
|
msys)
|
||||||
|
- basic_machine=i386-pc
|
||||||
|
+ basic_machine=i686-pc
|
||||||
|
os=-msys
|
||||||
|
;;
|
||||||
|
mvs)
|
||||||
|
@@ -1019,7 +1023,11 @@ case $basic_machine in
|
||||||
|
basic_machine=i586-unknown
|
||||||
|
os=-pw32
|
||||||
|
;;
|
||||||
|
- rdos)
|
||||||
|
+ rdos | rdos64)
|
||||||
|
+ basic_machine=x86_64-pc
|
||||||
|
+ os=-rdos
|
||||||
|
+ ;;
|
||||||
|
+ rdos32)
|
||||||
|
basic_machine=i386-pc
|
||||||
|
os=-rdos
|
||||||
|
;;
|
||||||
|
@@ -1346,21 +1354,21 @@ case $os in
|
||||||
|
-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
|
||||||
|
| -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
|
||||||
|
| -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
|
||||||
|
- | -sym* | -kopensolaris* \
|
||||||
|
+ | -sym* | -kopensolaris* | -plan9* \
|
||||||
|
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
|
||||||
|
| -aos* | -aros* \
|
||||||
|
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
|
||||||
|
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
|
||||||
|
| -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
|
||||||
|
- | -openbsd* | -solidbsd* \
|
||||||
|
+ | -bitrig* | -openbsd* | -solidbsd* \
|
||||||
|
| -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
|
||||||
|
| -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
|
||||||
|
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
|
||||||
|
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
|
||||||
|
| -chorusos* | -chorusrdb* | -cegcc* \
|
||||||
|
| -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
|
||||||
|
- | -mingw32* | -linux-gnu* | -linux-android* \
|
||||||
|
- | -linux-newlib* | -linux-uclibc* \
|
||||||
|
+ | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
|
||||||
|
+ | -linux-newlib* | -linux-musl* | -linux-uclibc* \
|
||||||
|
| -uxpv* | -beos* | -mpeix* | -udk* \
|
||||||
|
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
|
||||||
|
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
|
||||||
|
@@ -1492,9 +1500,6 @@ case $os in
|
||||||
|
-aros*)
|
||||||
|
os=-aros
|
||||||
|
;;
|
||||||
|
- -kaos*)
|
||||||
|
- os=-kaos
|
||||||
|
- ;;
|
||||||
|
-zvmoe)
|
||||||
|
os=-zvmoe
|
||||||
|
;;
|
||||||
|
@@ -1543,6 +1548,9 @@ case $basic_machine in
|
||||||
|
c4x-* | tic4x-*)
|
||||||
|
os=-coff
|
||||||
|
;;
|
||||||
|
+ c8051-*)
|
||||||
|
+ os=-elf
|
||||||
|
+ ;;
|
||||||
|
hexagon-*)
|
||||||
|
os=-elf
|
||||||
|
;;
|
||||||
|
@@ -1586,6 +1594,9 @@ case $basic_machine in
|
||||||
|
mips*-*)
|
||||||
|
os=-elf
|
||||||
|
;;
|
||||||
|
+ or1k-*)
|
||||||
|
+ os=-elf
|
||||||
|
+ ;;
|
||||||
|
or32-*)
|
||||||
|
os=-coff
|
||||||
|
;;
|
||||||
|
--- isl-0.11.1/config.guess.jj 2014-04-10 20:44:52.000000000 +0200
|
||||||
|
+++ isl-0.11.1/config.guess 2014-04-10 10:38:36.329993540 +0200
|
||||||
|
@@ -1,14 +1,12 @@
|
||||||
|
#! /bin/sh
|
||||||
|
# Attempt to guess a canonical system name.
|
||||||
|
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
||||||
|
-# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
|
||||||
|
-# 2011, 2012 Free Software Foundation, Inc.
|
||||||
|
+# Copyright 1992-2013 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
-timestamp='2012-06-10'
|
||||||
|
+timestamp='2013-06-10'
|
||||||
|
|
||||||
|
# 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
|
||||||
|
-# the Free Software Foundation; either version 2 of the License, or
|
||||||
|
+# the Free Software Foundation; either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful, but
|
||||||
|
@@ -22,19 +20,17 @@ timestamp='2012-06-10'
|
||||||
|
# As a special exception to the GNU General Public License, if you
|
||||||
|
# distribute this file as part of a program that contains a
|
||||||
|
# configuration script generated by Autoconf, you may include it under
|
||||||
|
-# the same distribution terms that you use for the rest of that program.
|
||||||
|
-
|
||||||
|
-
|
||||||
|
-# Originally written by Per Bothner. Please send patches (context
|
||||||
|
-# diff format) to <config-patches@gnu.org> and include a ChangeLog
|
||||||
|
-# entry.
|
||||||
|
+# the same distribution terms that you use for the rest of that
|
||||||
|
+# program. This Exception is an additional permission under section 7
|
||||||
|
+# of the GNU General Public License, version 3 ("GPLv3").
|
||||||
|
#
|
||||||
|
-# This script attempts to guess a canonical system name similar to
|
||||||
|
-# config.sub. If it succeeds, it prints the system name on stdout, and
|
||||||
|
-# exits with 0. Otherwise, it exits with 1.
|
||||||
|
+# Originally written by Per Bothner.
|
||||||
|
#
|
||||||
|
# You can get the latest version of this script from:
|
||||||
|
# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
|
||||||
|
+#
|
||||||
|
+# Please send patches with a ChangeLog entry to config-patches@gnu.org.
|
||||||
|
+
|
||||||
|
|
||||||
|
me=`echo "$0" | sed -e 's,.*/,,'`
|
||||||
|
|
||||||
|
@@ -54,9 +50,7 @@ version="\
|
||||||
|
GNU config.guess ($timestamp)
|
||||||
|
|
||||||
|
Originally written by Per Bothner.
|
||||||
|
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
|
||||||
|
-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
|
||||||
|
-Free Software Foundation, Inc.
|
||||||
|
+Copyright 1992-2013 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."
|
||||||
|
@@ -138,6 +132,27 @@ UNAME_RELEASE=`(uname -r) 2>/dev/null` |
|
||||||
|
UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
|
||||||
|
UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
|
||||||
|
|
||||||
|
+case "${UNAME_SYSTEM}" in
|
||||||
|
+Linux|GNU|GNU/*)
|
||||||
|
+ # If the system lacks a compiler, then just pick glibc.
|
||||||
|
+ # We could probably try harder.
|
||||||
|
+ LIBC=gnu
|
||||||
|
+
|
||||||
|
+ eval $set_cc_for_build
|
||||||
|
+ cat <<-EOF > $dummy.c
|
||||||
|
+ #include <features.h>
|
||||||
|
+ #if defined(__UCLIBC__)
|
||||||
|
+ LIBC=uclibc
|
||||||
|
+ #elif defined(__dietlibc__)
|
||||||
|
+ LIBC=dietlibc
|
||||||
|
+ #else
|
||||||
|
+ LIBC=gnu
|
||||||
|
+ #endif
|
||||||
|
+ EOF
|
||||||
|
+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
|
||||||
|
+ ;;
|
||||||
|
+esac
|
||||||
|
+
|
||||||
|
# Note: order is significant - the case branches are not exclusive.
|
||||||
|
|
||||||
|
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
||||||
|
@@ -200,6 +215,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
|
||||||
|
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
|
||||||
|
echo "${machine}-${os}${release}"
|
||||||
|
exit ;;
|
||||||
|
+ *:Bitrig:*:*)
|
||||||
|
+ UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
|
||||||
|
+ echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE}
|
||||||
|
+ exit ;;
|
||||||
|
*:OpenBSD:*:*)
|
||||||
|
UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
|
||||||
|
echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
|
||||||
|
@@ -302,7 +321,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
|
||||||
|
arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
|
||||||
|
echo arm-acorn-riscix${UNAME_RELEASE}
|
||||||
|
exit ;;
|
||||||
|
- arm:riscos:*:*|arm:RISCOS:*:*)
|
||||||
|
+ arm*:riscos:*:*|arm*:RISCOS:*:*)
|
||||||
|
echo arm-unknown-riscos
|
||||||
|
exit ;;
|
||||||
|
SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
|
||||||
|
@@ -801,6 +820,9 @@ EOF
|
||||||
|
i*:CYGWIN*:*)
|
||||||
|
echo ${UNAME_MACHINE}-pc-cygwin
|
||||||
|
exit ;;
|
||||||
|
+ *:MINGW64*:*)
|
||||||
|
+ echo ${UNAME_MACHINE}-pc-mingw64
|
||||||
|
+ exit ;;
|
||||||
|
*:MINGW*:*)
|
||||||
|
echo ${UNAME_MACHINE}-pc-mingw32
|
||||||
|
exit ;;
|
||||||
|
@@ -852,21 +874,21 @@ EOF
|
||||||
|
exit ;;
|
||||||
|
*:GNU:*:*)
|
||||||
|
# the GNU system
|
||||||
|
- echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
|
||||||
|
+ echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
|
||||||
|
exit ;;
|
||||||
|
*:GNU/*:*:*)
|
||||||
|
# other systems with GNU libc and userland
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
i*86:Minix:*:*)
|
||||||
|
echo ${UNAME_MACHINE}-pc-minix
|
||||||
|
exit ;;
|
||||||
|
aarch64:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
aarch64_be:Linux:*:*)
|
||||||
|
UNAME_MACHINE=aarch64_be
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
alpha:Linux:*:*)
|
||||||
|
case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
|
||||||
|
@@ -879,59 +901,54 @@ EOF
|
||||||
|
EV68*) UNAME_MACHINE=alphaev68 ;;
|
||||||
|
esac
|
||||||
|
objdump --private-headers /bin/sh | grep -q ld.so.1
|
||||||
|
- if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
|
||||||
|
+ if test "$?" = 0 ; then LIBC="gnulibc1" ; fi
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
+ exit ;;
|
||||||
|
+ arc:Linux:*:* | arceb:Linux:*:*)
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
arm*:Linux:*:*)
|
||||||
|
eval $set_cc_for_build
|
||||||
|
if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
|
||||||
|
| grep -q __ARM_EABI__
|
||||||
|
then
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
else
|
||||||
|
if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
|
||||||
|
| grep -q __ARM_PCS_VFP
|
||||||
|
then
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnueabi
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi
|
||||||
|
else
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnueabihf
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
exit ;;
|
||||||
|
avr32*:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
cris:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-axis-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-axis-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
crisv32:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-axis-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-axis-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
frv:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
hexagon:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
i*86:Linux:*:*)
|
||||||
|
- LIBC=gnu
|
||||||
|
- eval $set_cc_for_build
|
||||||
|
- sed 's/^ //' << EOF >$dummy.c
|
||||||
|
- #ifdef __dietlibc__
|
||||||
|
- LIBC=dietlibc
|
||||||
|
- #endif
|
||||||
|
-EOF
|
||||||
|
- eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
|
||||||
|
- echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
|
||||||
|
+ echo ${UNAME_MACHINE}-pc-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
ia64:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
m32r*:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
m68*:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
mips:Linux:*:* | mips64:Linux:*:*)
|
||||||
|
eval $set_cc_for_build
|
||||||
|
@@ -950,54 +967,63 @@ EOF
|
||||||
|
#endif
|
||||||
|
EOF
|
||||||
|
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
|
||||||
|
- test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
|
||||||
|
+ test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
|
||||||
|
;;
|
||||||
|
+ or1k:Linux:*:*)
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
+ exit ;;
|
||||||
|
or32:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
padre:Linux:*:*)
|
||||||
|
- echo sparc-unknown-linux-gnu
|
||||||
|
+ echo sparc-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
parisc64:Linux:*:* | hppa64:Linux:*:*)
|
||||||
|
- echo hppa64-unknown-linux-gnu
|
||||||
|
+ echo hppa64-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
parisc:Linux:*:* | hppa:Linux:*:*)
|
||||||
|
# Look for CPU level
|
||||||
|
case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
|
||||||
|
- PA7*) echo hppa1.1-unknown-linux-gnu ;;
|
||||||
|
- PA8*) echo hppa2.0-unknown-linux-gnu ;;
|
||||||
|
- *) echo hppa-unknown-linux-gnu ;;
|
||||||
|
+ PA7*) echo hppa1.1-unknown-linux-${LIBC} ;;
|
||||||
|
+ PA8*) echo hppa2.0-unknown-linux-${LIBC} ;;
|
||||||
|
+ *) echo hppa-unknown-linux-${LIBC} ;;
|
||||||
|
esac
|
||||||
|
exit ;;
|
||||||
|
ppc64:Linux:*:*)
|
||||||
|
- echo powerpc64-unknown-linux-gnu
|
||||||
|
+ echo powerpc64-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
ppc:Linux:*:*)
|
||||||
|
- echo powerpc-unknown-linux-gnu
|
||||||
|
+ echo powerpc-unknown-linux-${LIBC}
|
||||||
|
+ exit ;;
|
||||||
|
+ ppc64le:Linux:*:*)
|
||||||
|
+ echo powerpc64le-unknown-linux-${LIBC}
|
||||||
|
+ exit ;;
|
||||||
|
+ ppcle:Linux:*:*)
|
||||||
|
+ echo powerpcle-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
s390:Linux:*:* | s390x:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-ibm-linux
|
||||||
|
+ echo ${UNAME_MACHINE}-ibm-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
sh64*:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
sh*:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
sparc:Linux:*:* | sparc64:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
tile*:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
vax:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-dec-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-dec-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
x86_64:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
xtensa*:Linux:*:*)
|
||||||
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||||
|
exit ;;
|
||||||
|
i*86:DYNIX/ptx:4*:*)
|
||||||
|
# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
|
||||||
|
@@ -1201,6 +1227,9 @@ EOF
|
||||||
|
BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
|
||||||
|
echo i586-pc-haiku
|
||||||
|
exit ;;
|
||||||
|
+ x86_64:Haiku:*:*)
|
||||||
|
+ echo x86_64-unknown-haiku
|
||||||
|
+ exit ;;
|
||||||
|
SX-4:SUPER-UX:*:*)
|
||||||
|
echo sx4-nec-superux${UNAME_RELEASE}
|
||||||
|
exit ;;
|
||||||
|
@@ -1227,19 +1256,21 @@ EOF
|
||||||
|
exit ;;
|
||||||
|
*:Darwin:*:*)
|
||||||
|
UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
|
||||||
|
- case $UNAME_PROCESSOR in
|
||||||
|
- i386)
|
||||||
|
- eval $set_cc_for_build
|
||||||
|
- if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
|
||||||
|
- if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
|
||||||
|
- (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
|
||||||
|
- grep IS_64BIT_ARCH >/dev/null
|
||||||
|
- then
|
||||||
|
- UNAME_PROCESSOR="x86_64"
|
||||||
|
- fi
|
||||||
|
- fi ;;
|
||||||
|
- unknown) UNAME_PROCESSOR=powerpc ;;
|
||||||
|
- esac
|
||||||
|
+ eval $set_cc_for_build
|
||||||
|
+ if test "$UNAME_PROCESSOR" = unknown ; then
|
||||||
|
+ UNAME_PROCESSOR=powerpc
|
||||||
|
+ fi
|
||||||
|
+ if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
|
||||||
|
+ if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
|
||||||
|
+ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
|
||||||
|
+ grep IS_64BIT_ARCH >/dev/null
|
||||||
|
+ then
|
||||||
|
+ case $UNAME_PROCESSOR in
|
||||||
|
+ i386) UNAME_PROCESSOR=x86_64 ;;
|
||||||
|
+ powerpc) UNAME_PROCESSOR=powerpc64 ;;
|
||||||
|
+ esac
|
||||||
|
+ fi
|
||||||
|
+ fi
|
||||||
|
echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
|
||||||
|
exit ;;
|
||||||
|
*:procnto*:*:* | *:QNX:[0123456789]*:*)
|
||||||
|
@@ -1330,9 +1361,6 @@ EOF
|
||||||
|
exit ;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
-#echo '(No uname command or uname output not recognized.)' 1>&2
|
||||||
|
-#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
|
||||||
|
-
|
||||||
|
eval $set_cc_for_build
|
||||||
|
cat >$dummy.c <<EOF
|
||||||
|
#ifdef _SEQUENT_
|
||||||
|
--- isl-0.11.1/m4/libtool.m4.jj 2011-11-24 13:37:42.000000000 +0100
|
||||||
|
+++ isl-0.11.1/m4/libtool.m4 2014-04-10 20:45:52.524663864 +0200
|
||||||
|
@@ -1268,7 +1268,7 @@ ia64-*-hpux*)
|
||||||
|
rm -rf conftest*
|
||||||
|
;;
|
||||||
|
|
||||||
|
-x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
|
||||||
|
+x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
|
||||||
|
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
|
||||||
|
# Find out which ABI we are using.
|
||||||
|
echo 'int i;' > conftest.$ac_ext
|
||||||
|
@@ -1282,7 +1282,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*
|
||||||
|
x86_64-*linux*)
|
||||||
|
LD="${LD-ld} -m elf_i386"
|
||||||
|
;;
|
||||||
|
- ppc64-*linux*|powerpc64-*linux*)
|
||||||
|
+ powerpc64le-*linux*)
|
||||||
|
+ LD="${LD-ld} -m elf32lppclinux"
|
||||||
|
+ ;;
|
||||||
|
+ powerpc64-*linux*)
|
||||||
|
LD="${LD-ld} -m elf32ppclinux"
|
||||||
|
;;
|
||||||
|
s390x-*linux*)
|
||||||
|
@@ -1301,7 +1304,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*
|
||||||
|
x86_64-*linux*)
|
||||||
|
LD="${LD-ld} -m elf_x86_64"
|
||||||
|
;;
|
||||||
|
- ppc*-*linux*|powerpc*-*linux*)
|
||||||
|
+ powerpcle-*linux*)
|
||||||
|
+ LD="${LD-ld} -m elf64lppc"
|
||||||
|
+ ;;
|
||||||
|
+ powerpc-*linux*)
|
||||||
|
LD="${LD-ld} -m elf64ppc"
|
||||||
|
;;
|
||||||
|
s390*-*linux*|s390*-*tpf*)
|
2
sources
2
sources
|
@ -1,4 +1,4 @@
|
||||||
be78a47bd82523250eb3e91646db5b3d cloog-0.18.0.tar.gz
|
be78a47bd82523250eb3e91646db5b3d cloog-0.18.0.tar.gz
|
||||||
2659f09c2e43ef8b7d4406321753f1b2 fastjar-0.97.tar.gz
|
2659f09c2e43ef8b7d4406321753f1b2 fastjar-0.97.tar.gz
|
||||||
9f699b42394bd2754d9f77427553d923 gcc-4.8.2-20140120.tar.bz2
|
5a6e4c0ba1c6450d61a6157b46c51de9 gcc-4.8.3-20140911.tar.bz2
|
||||||
bce1586384d8635a76d2f017fb067cd2 isl-0.11.1.tar.bz2
|
bce1586384d8635a76d2f017fb067cd2 isl-0.11.1.tar.bz2
|
||||||
|
|
Loading…
Reference in New Issue