This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] top-level import
- From: "Svein E. Seldal" <Svein dot Seldal at solidas dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 17 Dec 2002 11:00:22 +0100
- Subject: [patch] top-level import
Hi,
I dont understand... I *bet* I committed config.sub (according to my
approval), but the CVS shows no record of it. It must have slipped my
grid somewhere.
Thus, I'm re-importing config.guess and config.sub from the master
repository once again.
What about the 3.3 branch? Maybe this patch ought to be a part of it as
well.
2002-12-17 Svein E. Seldal <Svein.Seldal@solidas.com>
* config.sub: Import from master repository
* config.guess: Ditto
? build.install
? patch
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/ChangeLog,v
retrieving revision 1.625
diff -c -3 -p -r1.625 ChangeLog
*** ChangeLog 17 Dec 2002 05:10:23 -0000 1.625
--- ChangeLog 17 Dec 2002 09:51:28 -0000
***************
*** 1,3 ****
--- 1,8 ----
+ 2002-12-17 Svein E. Seldal <Svein.Seldal@solidas.com>
+
+ * config.sub: Import from master repository
+ * config.guess: Ditto
+
2002-12-16 Jason Merrill <jason@redhat.com>
* Makefile.tpl (all-gcc): Use 'make quickstrap' if there was a
Index: config.guess
===================================================================
RCS file: /cvs/gcc/gcc/config.guess,v
retrieving revision 1.54
diff -c -3 -p -r1.54 config.guess
*** config.guess 9 Dec 2002 08:10:15 -0000 1.54
--- config.guess 17 Dec 2002 09:51:28 -0000
***************
*** 3,9 ****
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002 Free Software Foundation, Inc.
! timestamp='2002-11-30'
# 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
--- 3,9 ----
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002 Free Software Foundation, Inc.
! timestamp='2002-12-11'
# 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
*************** EOF
*** 635,644 ****
}
EOF
(CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
! if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi
rm -f $dummy.c $dummy && rmdir $tmpdir
fi ;;
esac
echo ${HP_ARCH}-hp-hpux${HPUX_REV}
exit 0 ;;
ia64:HP-UX:*:*)
--- 635,655 ----
}
EOF
(CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
! test -z "$HP_ARCH" && HP_ARCH=hppa
rm -f $dummy.c $dummy && rmdir $tmpdir
fi ;;
esac
+ if [ ${HP_ARCH} = "hppa2.0w" ]
+ then
+ # avoid double evaluation of $set_cc_for_build
+ test -n "$CC_FOR_BUILD" || eval $set_cc_for_build
+ if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E -) | grep __LP64__ >/dev/null
+ then
+ HP_ARCH="hppa2.0w"
+ else
+ HP_ARCH="hppa64"
+ fi
+ fi
echo ${HP_ARCH}-hp-hpux${HPUX_REV}
exit 0 ;;
ia64:HP-UX:*:*)
Index: config.sub
===================================================================
RCS file: /cvs/gcc/gcc/config.sub,v
retrieving revision 1.69
diff -c -3 -p -r1.69 config.sub
*** config.sub 20 Aug 2002 21:53:23 -0000 1.69
--- config.sub 17 Dec 2002 09:51:29 -0000
***************
*** 3,9 ****
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002 Free Software Foundation, Inc.
! timestamp='2002-08-20'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GNU software
--- 3,9 ----
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002 Free Software Foundation, Inc.
! timestamp='2002-11-30'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GNU software
*************** esac
*** 118,124 ****
# Here we must recognize all the valid KERNEL-OS combinations.
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
case $maybe_os in
! nto-qnx* | linux-gnu* | freebsd*-gnu* | storm-chaos* | os2-emx* | windows32-* | rtmk-nova*)
os=-$maybe_os
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
;;
--- 118,124 ----
# Here we must recognize all the valid KERNEL-OS combinations.
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
case $maybe_os in
! nto-qnx* | linux-gnu* | freebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
os=-$maybe_os
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
;;
*************** case $basic_machine in
*** 229,235 ****
| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
! | c4x | clipper \
| d10v | d30v | dlx | dsp16xx \
| fr30 | frv \
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
--- 229,235 ----
| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
! | clipper \
| d10v | d30v | dlx | dsp16xx \
| fr30 | frv \
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
*************** case $basic_machine in
*** 239,245 ****
| mips | mipsbe | mipseb | mipsel | mipsle \
| mips16 \
| mips64 | mips64el \
! | mips64vr | mips64vrel \
| mips64orion | mips64orionel \
| mips64vr4100 | mips64vr4100el \
| mips64vr4300 | mips64vr4300el \
--- 239,245 ----
| mips | mipsbe | mipseb | mipsel | mipsle \
| mips16 \
| mips64 | mips64el \
! | mips64vr | mips64vrel \
| mips64orion | mips64orionel \
| mips64vr4100 | mips64vr4100el \
| mips64vr4300 | mips64vr4300el \
*************** case $basic_machine in
*** 294,300 ****
| arm-* | armbe-* | armle-* | armeb-* | armv*-* \
| avr-* \
| bs2000-* \
! | c[123]* | c30-* | [cjt]90-* | c54x-* \
| clipper-* | cydra-* \
| d10v-* | d30v-* | dlx-* \
| elxsi-* \
--- 294,300 ----
| arm-* | armbe-* | armle-* | armeb-* | armv*-* \
| avr-* \
| bs2000-* \
! | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* \
| clipper-* | cydra-* \
| d10v-* | d30v-* | dlx-* \
| elxsi-* \
*************** case $basic_machine in
*** 309,315 ****
| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
| mips16-* \
| mips64-* | mips64el-* \
! | mips64vr-* | mips64vrel-* \
| mips64orion-* | mips64orionel-* \
| mips64vr4100-* | mips64vr4100el-* \
| mips64vr4300-* | mips64vr4300el-* \
--- 309,315 ----
| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
| mips16-* \
| mips64-* | mips64el-* \
! | mips64vr-* | mips64vrel-* \
| mips64orion-* | mips64orionel-* \
| mips64vr4100-* | mips64vr4100el-* \
| mips64vr4300-* | mips64vr4300el-* \
*************** case $basic_machine in
*** 329,335 ****
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
| sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
| sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
! | tahoe-* | thumb-* | tic30-* | tic54x-* | tic80-* | tron-* \
| v850-* | v850e-* | vax-* \
| we32k-* \
| x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
--- 329,335 ----
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
| sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
| sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
! | tahoe-* | thumb-* | tic30-* | tic4x-* | tic54x-* | tic80-* | tron-* \
| v850-* | v850e-* | vax-* \
| we32k-* \
| x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
*************** case $basic_machine in
*** 749,755 ****
pbb)
basic_machine=m68k-tti
;;
! pc532 | pc532-*)
basic_machine=ns32k-pc532
;;
pentium | p5 | k5 | k6 | nexgen | viac3)
--- 749,755 ----
pbb)
basic_machine=m68k-tti
;;
! pc532 | pc532-*)
basic_machine=ns32k-pc532
;;
pentium | p5 | k5 | k6 | nexgen | viac3)
*************** case $basic_machine in
*** 776,797 ****
power) basic_machine=power-ibm
;;
ppc) basic_machine=powerpc-unknown
! ;;
ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
;;
ppcle | powerpclittle | ppc-le | powerpc-little)
basic_machine=powerpcle-unknown
! ;;
ppcle-* | powerpclittle-*)
basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
;;
ppc64) basic_machine=powerpc64-unknown
! ;;
ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
;;
ppc64le | powerpc64little | ppc64-le | powerpc64-little)
basic_machine=powerpc64le-unknown
! ;;
ppc64le-* | powerpc64little-*)
basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
;;
--- 776,797 ----
power) basic_machine=power-ibm
;;
ppc) basic_machine=powerpc-unknown
! ;;
ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
;;
ppcle | powerpclittle | ppc-le | powerpc-little)
basic_machine=powerpcle-unknown
! ;;
ppcle-* | powerpclittle-*)
basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
;;
ppc64) basic_machine=powerpc64-unknown
! ;;
ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
;;
ppc64le | powerpc64little | ppc64-le | powerpc64-little)
basic_machine=powerpc64le-unknown
! ;;
ppc64le-* | powerpc64little-*)
basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
;;
*************** case $basic_machine in
*** 893,899 ****
sun386 | sun386i | roadrunner)
basic_machine=i386-sun
;;
! sv1)
basic_machine=sv1-cray
os=-unicos
;;
--- 893,899 ----
sun386 | sun386i | roadrunner)
basic_machine=i386-sun
;;
! sv1)
basic_machine=sv1-cray
os=-unicos
;;
*************** case $basic_machine in
*** 913,918 ****
--- 913,922 ----
basic_machine=t90-cray
os=-unicos
;;
+ tic4x | c4x*)
+ basic_machine=tic4x-unknown
+ os=-coff
+ ;;
tic54x | c54x*)
basic_machine=tic54x-unknown
os=-coff
*************** case $basic_machine in
*** 951,958 ****
os=-vms
;;
vpp*|vx|vx-*)
! basic_machine=f301-fujitsu
! ;;
vxworks960)
basic_machine=i960-wrs
os=-vxworks
--- 955,962 ----
os=-vms
;;
vpp*|vx|vx-*)
! basic_machine=f301-fujitsu
! ;;
vxworks960)
basic_machine=i960-wrs
os=-vxworks
*************** case $basic_machine in
*** 973,983 ****
basic_machine=hppa1.1-winbond
os=-proelf
;;
! windows32)
! basic_machine=i386-pc
! os=-windows32-msvcrt
! ;;
! xps | xps100)
basic_machine=xps100-honeywell
;;
ymp)
--- 977,983 ----
basic_machine=hppa1.1-winbond
os=-proelf
;;
! xps | xps100)
basic_machine=xps100-honeywell
;;
ymp)
*************** case $basic_machine in
*** 1032,1038 ****
sparc | sparcv9 | sparcv9b)
basic_machine=sparc-sun
;;
! cydra)
basic_machine=cydra-cydrome
;;
orion)
--- 1032,1038 ----
sparc | sparcv9 | sparcv9b)
basic_machine=sparc-sun
;;
! cydra)
basic_machine=cydra-cydrome
;;
orion)
*************** case $basic_machine in
*** 1047,1056 ****
pmac | pmac-mpw)
basic_machine=powerpc-apple
;;
- c4x*)
- basic_machine=c4x-none
- os=-coff
- ;;
*-unknown)
# Make sure to match an already-canonicalized machine name.
;;
--- 1047,1052 ----
*************** case $os in
*** 1113,1123 ****
| -chorusos* | -chorusrdb* \
| -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
| -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
! | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
| -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
! | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* | -powermax*)
# Remember, each alternative MUST END IN *, to match a version number.
;;
-qnx*)
--- 1109,1120 ----
| -chorusos* | -chorusrdb* \
| -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
| -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
! | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
| -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
! | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
! | -powermax* | -dnix*)
# Remember, each alternative MUST END IN *, to match a version number.
;;
-qnx*)
*************** case $os in
*** 1129,1136 ****
;;
esac
;;
-nto*)
! os=-nto-qnx
;;
-sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
| -windows* | -osx | -abug | -netware* | -os9* | -beos* \
--- 1126,1135 ----
;;
esac
;;
+ -nto-qnx*)
+ ;;
-nto*)
! os=`echo $os | sed -e 's|nto|nto-qnx|'`
;;
-sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
| -windows* | -osx | -abug | -netware* | -os9* | -beos* \
*************** case $os in
*** 1182,1188 ****
os=-rtmk-nova
;;
-ns2 )
! os=-nextstep2
;;
-nsk*)
os=-nsk
--- 1181,1187 ----
os=-rtmk-nova
;;
-ns2 )
! os=-nextstep2
;;
-nsk*)
os=-nsk
*************** case $os in
*** 1221,1228 ****
-xenix)
os=-xenix
;;
! -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
! os=-mint
;;
-none)
;;
--- 1220,1227 ----
-xenix)
os=-xenix
;;
! -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
! os=-mint
;;
-none)
;;
*************** case $basic_machine in
*** 1259,1265 ****
pdp10-*)
os=-tops20
;;
! pdp11-*)
os=-none
;;
*-dec | vax-*)
--- 1258,1264 ----
pdp10-*)
os=-tops20
;;
! pdp11-*)
os=-none
;;
*-dec | vax-*)
*************** case $basic_machine in
*** 1352,1370 ****
*-next)
os=-nextstep3
;;
! *-gould)
os=-sysv
;;
! *-highlevel)
os=-bsd
;;
*-encore)
os=-bsd
;;
! *-sgi)
os=-irix
;;
! *-siemens)
os=-sysv4
;;
*-masscomp)
--- 1351,1369 ----
*-next)
os=-nextstep3
;;
! *-gould)
os=-sysv
;;
! *-highlevel)
os=-bsd
;;
*-encore)
os=-bsd
;;
! *-sgi)
os=-irix
;;
! *-siemens)
os=-sysv4
;;
*-masscomp)