summaryrefslogtreecommitdiff
path: root/autoconf
diff options
context:
space:
mode:
authorIvan Krasin <krasin@chromium.org>2011-08-23 06:43:49 +0000
committerIvan Krasin <krasin@chromium.org>2011-08-23 06:43:49 +0000
commit9976bac3857fc4b6fb1386d08114738b108cf3ed (patch)
treee48b08a7d6df23c88c3e68b26b3642bf769d159f /autoconf
parenta534780da0b369d9e6801922605113ea86b55324 (diff)
downloadllvm-9976bac3857fc4b6fb1386d08114738b108cf3ed.tar.gz
llvm-9976bac3857fc4b6fb1386d08114738b108cf3ed.tar.bz2
llvm-9976bac3857fc4b6fb1386d08114738b108cf3ed.tar.xz
Update config.sub, config.guess and configure.
The motivation to do that: 1. Now, llvm would use the stock config.sub. Before that we had an uncommitted FreeBSD-related patch. Now, it has been upstreamed and comes back. It means that it would be easier to update these files in the next time (less magic knowledge) 2. Fix a typo for pseudo-CPUs: 32e[lb] -> [lb]e32, 64e[lb]->[lb]64. One of these CPUs is used for PNaCl and it was not really convenient to have a CPU that starts with a digit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138323 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf')
-rwxr-xr-xautoconf/config.guess4
-rwxr-xr-xautoconf/config.sub10
2 files changed, 8 insertions, 6 deletions
diff --git a/autoconf/config.guess b/autoconf/config.guess
index 2d4581a62d..f7dd69ecc9 100755
--- a/autoconf/config.guess
+++ b/autoconf/config.guess
@@ -4,7 +4,7 @@
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
# 2011 Free Software Foundation, Inc.
-timestamp='2011-08-17'
+timestamp='2011-08-20'
# 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
@@ -793,7 +793,7 @@ EOF
exit ;;
*:FreeBSD:*:*)
UNAME_PROCESSOR=`/usr/bin/uname -p`
- case ${UNAME_MACHINE} in
+ case ${UNAME_PROCESSOR} in
amd64)
echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
*)
diff --git a/autoconf/config.sub b/autoconf/config.sub
index 63142cbf67..da19a880e5 100755
--- a/autoconf/config.sub
+++ b/autoconf/config.sub
@@ -4,7 +4,7 @@
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
# 2011 Free Software Foundation, Inc.
-timestamp='2011-08-15'
+timestamp='2011-08-23'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GNU software
@@ -246,12 +246,12 @@ case $basic_machine in
# Recognize the basic CPU types without company name.
# Some are omitted here because they have special meanings below.
1750a | 580 \
- | 32e[bl] | 64e[bl] \
| a29k \
| 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 \
| bfin \
| c4x | clipper \
| d10v | d30v | dlx | dsp16xx \
@@ -259,6 +259,7 @@ case $basic_machine in
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
| i370 | i860 | i960 | ia64 \
| ip2k | iq2000 \
+ | le32 | le64 \
| lm32 \
| m32c | m32r | m32rle | m68000 | m68k | m88k \
| maxq | mb | microblaze | mcore | mep | metag \
@@ -352,13 +353,13 @@ case $basic_machine in
;;
# Recognize the basic CPU types with company name.
580-* \
- | 32e[bl]-* | 64e[bl]-* \
| a29k-* \
| alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
| arm-* | armbe-* | armle-* | armeb-* | armv*-* \
| avr-* | avr32-* \
+ | be32-* | be64-* \
| bfin-* | bs2000-* \
| c[123]* | c30-* | [cjt]90-* | c4x-* \
| clipper-* | craynv-* | cydra-* \
@@ -369,6 +370,7 @@ case $basic_machine in
| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
| i*86-* | i860-* | i960-* | ia64-* \
| ip2k-* | iq2000-* \
+ | le32-* | le64-* \
| lm32-* \
| m32c-* | m32r-* | m32rle-* \
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
@@ -816,7 +818,7 @@ case $basic_machine in
os=-mvs
;;
nacl)
- basic_machine=32el-unknown
+ basic_machine=le32-unknown
os=-nacl
;;
ncr3000)