Update config.guess and config.sub with the latest versions from upstream.
/trunk/tools/config.guess | 19 17 2 0 +++++++++++++++++--
/trunk/tools/config.sub | 10 6 4 0 ++++++----
2 files changed, 23 insertions(+), 6 deletions(-)
1.1 --- a/tools/config.guess Thu Dec 11 18:12:04 2008 +0000
1.2 +++ b/tools/config.guess Thu Dec 11 18:15:41 2008 +0000
1.3 @@ -4,7 +4,7 @@
1.4 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
1.5 # Free Software Foundation, Inc.
1.6
1.7 -timestamp='2008-09-28'
1.8 +timestamp='2008-12-11'
1.9
1.10 # This file is free software; you can redistribute it and/or modify it
1.11 # under the terms of the GNU General Public License as published by
1.12 @@ -331,7 +331,22 @@
1.13 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
1.14 exit ;;
1.15 i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
1.16 - echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
1.17 + eval $set_cc_for_build
1.18 + SUN_ARCH="i386"
1.19 + # If there is a compiler, see if it is configured for 64-bit objects.
1.20 + # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
1.21 + # This test works for both compilers. Note that the full path to
1.22 + # /usr/bin/echo is necessary to work around the shell builtins for
1.23 + # echo that do not handle newlines.
1.24 + if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
1.25 + if /usr/bin/echo '\n#ifdef __amd64\nIS_64BIT_ARCH\n#endif' | \
1.26 + (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
1.27 + grep IS_64BIT_ARCH >/dev/null
1.28 + then
1.29 + SUN_ARCH="x86_64"
1.30 + fi
1.31 + fi
1.32 + echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
1.33 exit ;;
1.34 sun4*:SunOS:6*:*)
1.35 # According to config.sub, this is the proper way to canonicalize
2.1 --- a/tools/config.sub Thu Dec 11 18:12:04 2008 +0000
2.2 +++ b/tools/config.sub Thu Dec 11 18:15:41 2008 +0000
2.3 @@ -4,7 +4,7 @@
2.4 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
2.5 # Free Software Foundation, Inc.
2.6
2.7 -timestamp='2008-09-08'
2.8 +timestamp='2008-12-11'
2.9
2.10 # This file is (in principle) common to ALL GNU software.
2.11 # The presence of a machine in this file suggests that SOME GNU software
2.12 @@ -249,6 +249,7 @@
2.13 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
2.14 | i370 | i860 | i960 | ia64 \
2.15 | ip2k | iq2000 \
2.16 + | lm32 \
2.17 | m32c | m32r | m32rle | m68000 | m68k | m88k \
2.18 | maxq | mb | microblaze | mcore | mep | metag \
2.19 | mips | mipsbe | mipseb | mipsel | mipsle \
2.20 @@ -279,7 +280,7 @@
2.21 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
2.22 | pyramid \
2.23 | score \
2.24 - | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
2.25 + | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
2.26 | sh64 | sh64le \
2.27 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
2.28 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
2.29 @@ -331,6 +332,7 @@
2.30 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
2.31 | i*86-* | i860-* | i960-* | ia64-* \
2.32 | ip2k-* | iq2000-* \
2.33 + | lm32-* \
2.34 | m32c-* | m32r-* | m32rle-* \
2.35 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
2.36 | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
2.37 @@ -362,7 +364,7 @@
2.38 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
2.39 | pyramid-* \
2.40 | romp-* | rs6000-* \
2.41 - | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
2.42 + | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
2.43 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
2.44 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
2.45 | sparclite-* \
2.46 @@ -1182,7 +1184,7 @@
2.47 we32k)
2.48 basic_machine=we32k-att
2.49 ;;
2.50 - sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
2.51 + sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
2.52 basic_machine=sh-unknown
2.53 ;;
2.54 sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)