• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


Commit MetaInfo

Revisionf26682b913acef7a586fe0fd46b0a652d9aa85cc (tree)
Time2000-10-17 02:51:02
AuthorPhil Blundell <philb@gnu....>
CommiterPhil Blundell

Log Message

Update from mainline

Change Summary

Incremental Difference

--- a/config.guess
+++ b/config.guess
@@ -2,7 +2,9 @@
22 # Attempt to guess a canonical system name.
33 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000
44 # Free Software Foundation, Inc.
5-#
5+
6+version='2000-09-05'
7+
68 # This file is free software; you can redistribute it and/or modify it
79 # under the terms of the GNU General Public License as published by
810 # the Free Software Foundation; either version 2 of the License, or
@@ -36,6 +38,46 @@
3638 # (but try to keep the structure clean).
3739 #
3840
41+me=`echo "$0" | sed -e 's,.*/,,'`
42+
43+usage="\
44+Usage: $0 [OPTION]
45+
46+Output the configuration name of this system.
47+
48+Operation modes:
49+ -h, --help print this help, then exit
50+ -V, --version print version number, then exit"
51+
52+help="
53+Try \`$me --help' for more information."
54+
55+# Parse command line
56+while test $# -gt 0 ; do
57+ case "$1" in
58+ --version | --vers* | -V )
59+ echo "$version" ; exit 0 ;;
60+ --help | --h* | -h )
61+ echo "$usage"; exit 0 ;;
62+ -- ) # Stop option processing
63+ shift; break ;;
64+ - ) # Use stdin as input.
65+ break ;;
66+ -* )
67+ exec >&2
68+ echo "$me: invalid option $1"
69+ echo "$help"
70+ exit 1 ;;
71+ * )
72+ break ;;
73+ esac
74+done
75+
76+if test $# != 0; then
77+ echo "$me: too many arguments$help" >&2
78+ exit 1
79+fi
80+
3981 # Use $HOST_CC if defined. $CC may point to a cross-compiler
4082 if test x"$CC_FOR_BUILD" = x; then
4183 if test x"$HOST_CC" != x; then
@@ -77,7 +119,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
77119 # object file format.
78120 # Determine the machine/vendor (is the vendor relevant).
79121 case "${UNAME_MACHINE}" in
80- amiga) machine=m68k-cbm ;;
122+ amiga) machine=m68k-unknown ;;
81123 arm32) machine=arm-unknown ;;
82124 atari*) machine=m68k-atari ;;
83125 sun3*) machine=m68k-sun ;;
@@ -173,7 +215,7 @@ EOF
173215 echo alpha-dec-winnt3.5
174216 exit 0 ;;
175217 Amiga*:UNIX_System_V:4.0:*)
176- echo m68k-cbm-sysv4
218+ echo m68k-unknown-sysv4
177219 exit 0;;
178220 amiga:OpenBSD:*:*)
179221 echo m68k-unknown-openbsd${UNAME_RELEASE}
@@ -266,7 +308,7 @@ EOF
266308 exit 0 ;;
267309 # The situation for MiNT is a little confusing. The machine name
268310 # can be virtually everything (everything which is not
269- # "atarist" or "atariste" at least should have a processor
311+ # "atarist" or "atariste" at least should have a processor
270312 # > m68000). The system name ranges from "MiNT" over "FreeMiNT"
271313 # to the lowercase version "mint" (or "freemint"). Finally
272314 # the system name "TOS" denotes a system which is actually not
@@ -360,7 +402,7 @@ EOF
360402 AViiON:dgux:*:*)
361403 # DG/UX returns AViiON for all architectures
362404 UNAME_PROCESSOR=`/usr/bin/uname -p`
363- if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110]
405+ if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
364406 then
365407 if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
366408 [ ${TARGET_BINARY_INTERFACE}x = x ]
@@ -458,6 +500,8 @@ EOF
458500 9000/[34]?? ) HP_ARCH=m68k ;;
459501 9000/[678][0-9][0-9])
460502 sed 's/^ //' << EOF >$dummy.c
503+
504+ #define _HPUX_SOURCE
461505 #include <stdlib.h>
462506 #include <unistd.h>
463507
@@ -588,7 +632,7 @@ EOF
588632 echo alpha-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
589633 exit 0 ;;
590634 CRAY*SV1:*:*:*)
591- echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
635+ echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
592636 exit 0 ;;
593637 CRAY-2:*:*:*)
594638 echo cray2-cray-unicos
@@ -604,7 +648,7 @@ EOF
604648 hp300:OpenBSD:*:*)
605649 echo m68k-unknown-openbsd${UNAME_RELEASE}
606650 exit 0 ;;
607- i?86:BSD/386:*:* | i?86:BSD/OS:*:*)
651+ i?86:BSD/386:*:* | i?86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
608652 echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
609653 exit 0 ;;
610654 sparc*:BSD/OS:*:*)
@@ -614,12 +658,6 @@ EOF
614658 echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
615659 exit 0 ;;
616660 *:FreeBSD:*:*)
617- if test -x /usr/bin/objformat; then
618- if test "elf" = "`/usr/bin/objformat`"; then
619- echo ${UNAME_MACHINE}-unknown-freebsdelf`echo ${UNAME_RELEASE}|sed -e 's/[-_].*//'`
620- exit 0
621- fi
622- fi
623661 echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
624662 exit 0 ;;
625663 *:OpenBSD:*:*)
@@ -631,6 +669,9 @@ EOF
631669 i*:MINGW*:*)
632670 echo ${UNAME_MACHINE}-pc-mingw32
633671 exit 0 ;;
672+ i*:PW*:*)
673+ echo ${UNAME_MACHINE}-pc-pw32
674+ exit 0 ;;
634675 i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
635676 # How do we know it's Interix rather than the generic POSIX subsystem?
636677 # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
@@ -649,6 +690,9 @@ EOF
649690 *:GNU:*:*)
650691 echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
651692 exit 0 ;;
693+ i*86:Minix:*:*)
694+ echo ${UNAME_MACHINE}-pc-minix
695+ exit 0 ;;
652696 *:Linux:*:*)
653697
654698 # The BFD linker knows what the default object file format is, so
@@ -670,6 +714,9 @@ EOF
670714 echo "${UNAME_MACHINE}-pc-linux-gnuaout"
671715 exit 0
672716 ;;
717+ elf_i?86)
718+ TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
719+ ;;
673720 i?86coff)
674721 echo "${UNAME_MACHINE}-pc-linux-gnucoff"
675722 exit 0
@@ -721,11 +768,15 @@ EOF
721768 if test "$?" = 0 ; then
722769 LIBC="libc1"
723770 fi
724- fi
771+ fi
725772 rm -f $dummy.c $dummy
726773 echo powerpc-unknown-linux-gnu${LIBC}
727774 exit 0
728775 ;;
776+ shelf_linux)
777+ echo "${UNAME_MACHINE}-unknown-linux-gnu"
778+ exit 0
779+ ;;
729780 esac
730781
731782 if test "${UNAME_MACHINE}" = "alpha" ; then
@@ -807,6 +858,8 @@ EOF
807858 rm -f $dummy.c $dummy
808859 elif test "${UNAME_MACHINE}" = "s390"; then
809860 echo s390-ibm-linux && exit 0
861+ elif test "${UNAME_MACHINE}" = "x86_64"; then
862+ echo x86_64-unknown-linux-gnu && exit 0
810863 else
811864 # Either a pre-BFD a.out linker (linux-gnuoldld)
812865 # or one that does not give us useful --help.
@@ -851,6 +904,7 @@ EOF
851904 EOF
852905 $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm $dummy.c $dummy && exit 0
853906 rm -f $dummy.c $dummy
907+ test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
854908 fi ;;
855909 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. earlier versions
856910 # are messed up and put the nodename in both sysname and nodename.
@@ -987,7 +1041,7 @@ EOF
9871041 mc68*:A/UX:*:*)
9881042 echo m68k-apple-aux${UNAME_RELEASE}
9891043 exit 0 ;;
990- news*:NEWS-OS:*:6*)
1044+ news*:NEWS-OS:6*:*)
9911045 echo mips-sony-newsos6
9921046 exit 0 ;;
9931047 R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
@@ -1018,14 +1072,37 @@ EOF
10181072 *:Rhapsody:*:*)
10191073 echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
10201074 exit 0 ;;
1021- Power*:Mac*OS:*:*)
1022- echo powerpc-apple-macos${UNAME_RELEASE}
1075+ *:Darwin:*:*)
1076+ echo `uname -p`-apple-darwin${UNAME_RELEASE}
10231077 exit 0 ;;
1024- *:Mac*OS:*:*)
1025- echo ${UNAME_MACHINE}-apple-macos${UNAME_RELEASE}
1078+ *:procnto*:*:* | *:QNX:[0123456789]*:*)
1079+ if test "${UNAME_MACHINE}" = "x86pc"; then
1080+ UNAME_MACHINE=pc
1081+ fi
1082+ echo `uname -p`-${UNAME_MACHINE}-nto-qnx
10261083 exit 0 ;;
10271084 *:QNX:*:4*)
1028- echo i386-qnx-qnx${UNAME_VERSION}
1085+ echo i386-pc-qnx
1086+ exit 0 ;;
1087+ NSR-[KW]:NONSTOP_KERNEL:*:*)
1088+ echo nsr-tandem-nsk${UNAME_RELEASE}
1089+ exit 0 ;;
1090+ BS2000:POSIX*:*:*)
1091+ echo bs2000-siemens-sysv
1092+ exit 0 ;;
1093+ DS/*:UNIX_System_V:*:*)
1094+ echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
1095+ exit 0 ;;
1096+ *:Plan9:*:*)
1097+ # "uname -m" is not consistent, so use $cputype instead. 386
1098+ # is converted to i386 for consistency with other x86
1099+ # operating systems.
1100+ if test "$cputype" = "386"; then
1101+ UNAME_MACHINE=i386
1102+ else
1103+ UNAME_MACHINE="$cputype"
1104+ fi
1105+ echo ${UNAME_MACHINE}-unknown-plan9
10291106 exit 0 ;;
10301107 esac
10311108
@@ -1166,6 +1243,47 @@ then
11661243 esac
11671244 fi
11681245
1169-#echo '(Unable to guess system type)' 1>&2
1246+cat >&2 <<EOF
1247+$0: unable to guess system type
1248+
1249+The $version version of this script cannot recognize your system type.
1250+Please download the most up to date version of the config scripts:
1251+
1252+ ftp://ftp.gnu.org/pub/gnu/config/
1253+
1254+If the version you run ($0) is already up to date, please
1255+send the following data and any information you think might be
1256+pertinent to <config-patches@gnu.org> in order to provide the needed
1257+information to handle your system.
1258+
1259+config.guess version = $version
1260+
1261+uname -m = `(uname -m) 2>/dev/null || echo unknown`
1262+uname -r = `(uname -r) 2>/dev/null || echo unknown`
1263+uname -s = `(uname -s) 2>/dev/null || echo unknown`
1264+uname -v = `(uname -v) 2>/dev/null || echo unknown`
1265+
1266+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null`
1267+/bin/uname -X = `(/bin/uname -X) 2>/dev/null`
1268+
1269+hostinfo = `(hostinfo) 2>/dev/null`
1270+/bin/universe = `(/bin/universe) 2>/dev/null`
1271+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null`
1272+/bin/arch = `(/bin/arch) 2>/dev/null`
1273+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null`
1274+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
1275+
1276+UNAME_MACHINE = ${UNAME_MACHINE}
1277+UNAME_RELEASE = ${UNAME_RELEASE}
1278+UNAME_SYSTEM = ${UNAME_SYSTEM}
1279+UNAME_VERSION = ${UNAME_VERSION}
1280+EOF
11701281
11711282 exit 1
1283+
1284+# Local variables:
1285+# eval: (add-hook 'write-file-hooks 'time-stamp)
1286+# time-stamp-start: "version='"
1287+# time-stamp-format: "%:y-%02m-%02d"
1288+# time-stamp-end: "'"
1289+# End:
--- a/config.sub
+++ b/config.sub
@@ -2,7 +2,9 @@
22 # Configuration validation subroutine script, version 1.1.
33 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000
44 # Free Software Foundation, Inc.
5-#
5+
6+version='2000-09-11'
7+
68 # This file is (in principle) common to ALL GNU software.
79 # The presence of a machine in this file suggests that SOME GNU software
810 # can handle that machine. It does not imply ALL GNU software can.
@@ -27,7 +29,6 @@
2729 # configuration script generated by Autoconf, you may include it under
2830 # the same distribution terms that you use for the rest of that program.
2931
30-# Written by Per Bothner <bothner@cygnus.com>.
3132 # Please send patches to <config-patches@gnu.org>.
3233 #
3334 # Configuration subroutine to validate and canonicalize a configuration type.
@@ -50,30 +51,61 @@
5051 # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
5152 # It is wrong to echo any other type of specification.
5253
53-if [ x$1 = x ]
54-then
55- echo Configuration name missing. 1>&2
56- echo "Usage: $0 CPU-MFR-OPSYS" 1>&2
57- echo "or $0 ALIAS" 1>&2
58- echo where ALIAS is a recognized configuration type. 1>&2
59- exit 1
60-fi
54+me=`echo "$0" | sed -e 's,.*/,,'`
6155
62-# First pass through any local machine types.
63-case $1 in
64- *local*)
65- echo $1
66- exit 0
67- ;;
68- *)
69- ;;
56+usage="\
57+Usage: $0 [OPTION] CPU-MFR-OPSYS
58+ $0 [OPTION] ALIAS
59+
60+Canonicalize a configuration name.
61+
62+Operation modes:
63+ -h, --help print this help, then exit
64+ -V, --version print version number, then exit"
65+
66+help="
67+Try \`$me --help' for more information."
68+
69+# Parse command line
70+while test $# -gt 0 ; do
71+ case "$1" in
72+ --version | --vers* | -V )
73+ echo "$version" ; exit 0 ;;
74+ --help | --h* | -h )
75+ echo "$usage"; exit 0 ;;
76+ -- ) # Stop option processing
77+ shift; break ;;
78+ - ) # Use stdin as input.
79+ break ;;
80+ -* )
81+ exec >&2
82+ echo "$me: invalid option $1"
83+ echo "$help"
84+ exit 1 ;;
85+
86+ *local*)
87+ # First pass through any local machine types.
88+ echo $1
89+ exit 0;;
90+
91+ * )
92+ break ;;
93+ esac
94+done
95+
96+case $# in
97+ 0) echo "$me: missing argument$help" >&2
98+ exit 1;;
99+ 1) ;;
100+ *) echo "$me: too many arguments$help" >&2
101+ exit 1;;
70102 esac
71103
72104 # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
73105 # Here we must recognize all the valid KERNEL-OS combinations.
74106 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
75107 case $maybe_os in
76- linux-gnu*)
108+ nto-qnx* | linux-gnu*)
77109 os=-$maybe_os
78110 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
79111 ;;
@@ -99,7 +131,7 @@ case $os in
99131 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
100132 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
101133 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
102- -apple)
134+ -apple | -axis)
103135 os=
104136 basic_machine=$1
105137 ;;
@@ -172,27 +204,35 @@ case $basic_machine in
172204 # Recognize the basic CPU types without company name.
173205 # Some are omitted here because they have special meanings below.
174206 tahoe | i860 | ia64 | m32r | m68k | m68000 | m88k | ns32k | arc | arm \
175- | arme[lb] | pyramid | mn10200 | mn10300 | tron | a29k \
207+ | arme[lb] | armv[2345] | armv[345][lb] | pyramid | mn10200 | mn10300 | tron | a29k \
176208 | 580 | i960 | h8300 \
209+ | x86 | ppcbe | mipsbe | mipsle | shbe | shle | armbe | armle \
177210 | hppa | hppa1.0 | hppa1.1 | hppa2.0 | hppa2.0w | hppa2.0n \
211+ | hppa64 \
178212 | alpha | alphaev[4-8] | alphaev56 | alphapca5[67] \
179213 | alphaev6[78] \
180- | we32k | ns16k | clipper | i370 | sh | powerpc | powerpcle \
214+ | we32k | ns16k | clipper | i370 | sh | sh[34] \
215+ | powerpc | powerpcle \
181216 | 1750a | dsp16xx | pdp11 | mips16 | mips64 | mipsel | mips64el \
182217 | mips64orion | mips64orionel | mipstx39 | mipstx39el \
183218 | mips64vr4300 | mips64vr4300el | mips64vr4100 | mips64vr4100el \
184219 | mips64vr5000 | miprs64vr5000el | mcore \
185220 | sparc | sparclet | sparclite | sparc64 | sparcv9 | v850 | c4x \
186- | thumb | d10v | fr30 | avr)
221+ | thumb | d10v | d30v | fr30 | avr)
187222 basic_machine=$basic_machine-unknown
188223 ;;
224+ m6811 | m68hc11 | m6812 | m68hc12)
225+ # Motorola 68HC11/12.
226+ basic_machine=$basic_machine-unknown
227+ os=-none
228+ ;;
189229 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | z8k | v70 | h8500 | w65 | pj | pjl)
190230 ;;
191231
192232 # We use `pc' rather than `unknown'
193233 # because (1) that's what they normally are, and
194234 # (2) the word "unknown" tends to confuse beginning users.
195- i[34567]86)
235+ i[234567]86 | x86_64)
196236 basic_machine=$basic_machine-pc
197237 ;;
198238 # Object if more than one company name word.
@@ -202,12 +242,14 @@ case $basic_machine in
202242 ;;
203243 # Recognize the basic CPU types with company name.
204244 # FIXME: clean up the formatting here.
205- vax-* | tahoe-* | i[34567]86-* | i860-* | ia64-* | m32r-* | m68k-* | m68000-* \
245+ vax-* | tahoe-* | i[234567]86-* | i860-* | ia64-* | m32r-* | m68k-* | m68000-* \
206246 | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | arm-* | c[123]* \
207247 | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \
208248 | power-* | none-* | 580-* | cray2-* | h8300-* | h8500-* | i960-* \
209249 | xmp-* | ymp-* \
210- | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* | hppa2.0w-* | hppa2.0n-* \
250+ | x86-* | ppcbe-* | mipsbe-* | mipsle-* | shbe-* | shle-* | armbe-* | armle-* \
251+ | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* | hppa2.0w-* \
252+ | hppa2.0n-* | hppa64-* \
211253 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphapca5[67]-* \
212254 | alphaev6[78]-* \
213255 | we32k-* | cydra-* | ns16k-* | pn-* | np1-* | xps100-* \
@@ -219,7 +261,8 @@ case $basic_machine in
219261 | mipstx39-* | mipstx39el-* | mcore-* \
220262 | f301-* | armv*-* | s390-* | sv1-* | t3e-* \
221263 | m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \
222- | thumb-* | v850-* | d30v-* | tic30-* | c30-* | fr30-* )
264+ | thumb-* | v850-* | d30v-* | tic30-* | c30-* | fr30-* \
265+ | bs2000-* | tic54x-* | c54x-* | x86_64-*)
223266 ;;
224267 # Recognize the various machine names and aliases which stand
225268 # for a CPU type and a company and sometimes even an OS.
@@ -256,14 +299,14 @@ case $basic_machine in
256299 os=-sysv
257300 ;;
258301 amiga | amiga-*)
259- basic_machine=m68k-cbm
302+ basic_machine=m68k-unknown
260303 ;;
261304 amigaos | amigados)
262- basic_machine=m68k-cbm
305+ basic_machine=m68k-unknown
263306 os=-amigaos
264307 ;;
265308 amigaunix | amix)
266- basic_machine=m68k-cbm
309+ basic_machine=m68k-unknown
267310 os=-sysv4
268311 ;;
269312 apollo68)
@@ -317,6 +360,9 @@ case $basic_machine in
317360 crds | unos)
318361 basic_machine=m68k-crds
319362 ;;
363+ cris | cris-* | etrax*)
364+ basic_machine=cris-axis
365+ ;;
320366 da30 | da30-*)
321367 basic_machine=m68k-da30
322368 ;;
@@ -471,8 +517,9 @@ case $basic_machine in
471517 basic_machine=i386-unknown
472518 os=-mingw32
473519 ;;
474- i386-qnx | qnx)
475- basic_machine=i386-qnx
520+ i[34567]86-pw32 | pw32)
521+ basic_machine=i586-unknown
522+ os=-pw32
476523 ;;
477524 iris | iris4d)
478525 basic_machine=mips-sgi
@@ -596,6 +643,9 @@ case $basic_machine in
596643 np1)
597644 basic_machine=np1-gould
598645 ;;
646+ nsr-tandem)
647+ basic_machine=nsr-tandem
648+ ;;
599649 op50n-* | op60c-*)
600650 basic_machine=hppa1.1-oki
601651 os=-proelf
@@ -628,7 +678,7 @@ case $basic_machine in
628678 pentium | p5 | k5 | k6 | nexen)
629679 basic_machine=i586-pc
630680 ;;
631- pentiumpro | p6 | 6x86)
681+ pentiumpro | p6 | 6x86 | athlon)
632682 basic_machine=i686-pc
633683 ;;
634684 pentiumii | pentium2)
@@ -637,7 +687,7 @@ case $basic_machine in
637687 pentium-* | p5-* | k5-* | k6-* | nexen-*)
638688 basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
639689 ;;
640- pentiumpro-* | p6-* | 6x86-*)
690+ pentiumpro-* | p6-* | 6x86-* | athlon-*)
641691 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
642692 ;;
643693 pentiumii-* | pentium2-*)
@@ -752,6 +802,10 @@ case $basic_machine in
752802 basic_machine=t3e-cray
753803 os=-unicos
754804 ;;
805+ tic54x | c54x*)
806+ basic_machine=tic54x-unknown
807+ os=-coff
808+ ;;
755809 tx39)
756810 basic_machine=mipstx39-unknown
757811 ;;
@@ -853,6 +907,9 @@ case $basic_machine in
853907 we32k)
854908 basic_machine=we32k-att
855909 ;;
910+ sh3 | sh4)
911+ base_machine=sh-unknown
912+ ;;
856913 sparc | sparcv9)
857914 basic_machine=sparc-sun
858915 ;;
@@ -933,9 +990,22 @@ case $os in
933990 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
934991 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
935992 | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
936- | -interix* | -uwin* | -rhapsody* | -opened* | -openstep* | -oskit*)
993+ | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \
994+ | -openstep* | -oskit* | -conix* | -pw32*)
937995 # Remember, each alternative MUST END IN *, to match a version number.
938996 ;;
997+ -qnx*)
998+ case $basic_machine in
999+ x86-* | i[34567]86-*)
1000+ ;;
1001+ *)
1002+ os=-nto$os
1003+ ;;
1004+ esac
1005+ ;;
1006+ -nto*)
1007+ os=-nto-qnx
1008+ ;;
9391009 -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
9401010 | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
9411011 | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
@@ -982,6 +1052,9 @@ case $os in
9821052 -ns2 )
9831053 os=-nextstep2
9841054 ;;
1055+ -nsk*)
1056+ os=-nsk
1057+ ;;
9851058 # Preserve the version number of sinix5.
9861059 -sinix5.*)
9871060 os=`echo $os | sed -e 's|sinix|sysv|'`
@@ -995,9 +1068,6 @@ case $os in
9951068 -oss*)
9961069 os=-sysv3
9971070 ;;
998- -qnx)
999- os=-qnx4
1000- ;;
10011071 -svr4)
10021072 os=-sysv4
10031073 ;;
@@ -1248,3 +1318,11 @@ case $basic_machine in
12481318 esac
12491319
12501320 echo $basic_machine$os
1321+exit 0
1322+
1323+# Local variables:
1324+# eval: (add-hook 'write-file-hooks 'time-stamp)
1325+# time-stamp-start: "version='"
1326+# time-stamp-format: "%:y-%02m-%02d"
1327+# time-stamp-end: "'"
1328+# End: