ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/hopm/trunk/config.sub
(Generate patch)

Comparing hopm/trunk/config.sub (file contents):
Revision 5052 by michael, Mon Dec 22 11:56:03 2014 UTC vs.
Revision 5059 by michael, Mon Dec 22 13:43:00 2014 UTC

# Line 1 | Line 1
1   #! /bin/sh
2   # Configuration validation subroutine script.
3 < #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4 < #   2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
3 > #   Copyright 1992-2013 Free Software Foundation, Inc.
4  
5 < timestamp='2006-02-23'
5 > timestamp='2013-10-01'
6  
7 < # This file is (in principle) common to ALL GNU software.
8 < # The presence of a machine in this file suggests that SOME GNU software
9 < # can handle that machine.  It does not imply ALL GNU software can.
11 < #
12 < # This file is free software; you can redistribute it and/or modify
13 < # it under the terms of the GNU General Public License as published by
14 < # the Free Software Foundation; either version 2 of the License, or
7 > # This file is free software; you can redistribute it and/or modify it
8 > # under the terms of the GNU General Public License as published by
9 > # the Free Software Foundation; either version 3 of the License, or
10   # (at your option) any later version.
11   #
12 < # This program is distributed in the hope that it will be useful,
13 < # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 < # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 < # GNU General Public License for more details.
12 > # This program is distributed in the hope that it will be useful, but
13 > # WITHOUT ANY WARRANTY; without even the implied warranty of
14 > # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15 > # General Public License for more details.
16   #
17   # You should have received a copy of the GNU General Public License
18 < # along with this program; if not, write to the Free Software
24 < # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
25 < # 02110-1301, USA.
18 > # along with this program; if not, see <http://www.gnu.org/licenses/>.
19   #
20   # As a special exception to the GNU General Public License, if you
21   # distribute this file as part of a program that contains a
22   # configuration script generated by Autoconf, you may include it under
23 < # the same distribution terms that you use for the rest of that program.
23 > # the same distribution terms that you use for the rest of that
24 > # program.  This Exception is an additional permission under section 7
25 > # of the GNU General Public License, version 3 ("GPLv3").
26  
27  
28 < # Please send patches to <config-patches@gnu.org>.  Submit a context
34 < # diff and a properly formatted ChangeLog entry.
28 > # Please send patches with a ChangeLog entry to config-patches@gnu.org.
29   #
30   # Configuration subroutine to validate and canonicalize a configuration type.
31   # Supply the specified configuration type as an argument.
32   # If it is invalid, we print an error message on stderr and exit with code 1.
33   # Otherwise, we print the canonical config type on stdout and succeed.
34  
35 + # You can get the latest version of this script from:
36 + # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
37 +
38   # This file is supposed to be the same for all GNU packages
39   # and recognize all the CPU types, system types and aliases
40   # that are meaningful with *any* GNU software.
# Line 71 | Line 68 | Report bugs and patches to <config-patch
68   version="\
69   GNU config.sub ($timestamp)
70  
71 < Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
75 < Free Software Foundation, Inc.
71 > Copyright 1992-2013 Free Software Foundation, Inc.
72  
73   This is free software; see the source for copying conditions.  There is NO
74   warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
# Line 119 | Line 115 | esac
115   # Here we must recognize all the valid KERNEL-OS combinations.
116   maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
117   case $maybe_os in
118 <  nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
119 <  uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
118 >  nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
119 >  linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
120 >  knetbsd*-gnu* | netbsd*-gnu* | \
121 >  kopensolaris*-gnu* | \
122    storm-chaos* | os2-emx* | rtmk-nova*)
123      os=-$maybe_os
124      basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
125      ;;
126 +  android-linux)
127 +    os=-linux-android
128 +    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
129 +    ;;
130    *)
131      basic_machine=`echo $1 | sed 's/-[^-]*$//'`
132      if [ $basic_machine != $1 ]
# Line 147 | Line 149 | case $os in
149          -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
150          -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
151          -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
152 <        -apple | -axis | -knuth | -cray)
152 >        -apple | -axis | -knuth | -cray | -microblaze*)
153                  os=
154                  basic_machine=$1
155                  ;;
156 +        -bluegene*)
157 +                os=-cnk
158 +                ;;
159          -sim | -cisco | -oki | -wec | -winbond)
160                  os=
161                  basic_machine=$1
# Line 165 | Line 170 | case $os in
170                  os=-chorusos
171                  basic_machine=$1
172                  ;;
173 <        -chorusrdb)
174 <                os=-chorusrdb
173 >        -chorusrdb)
174 >                os=-chorusrdb
175                  basic_machine=$1
176 <                ;;
176 >                ;;
177          -hiux*)
178                  os=-hiuxwe2
179                  ;;
# Line 213 | Line 218 | case $os in
218          -isc*)
219                  basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
220                  ;;
221 +        -lynx*178)
222 +                os=-lynxos178
223 +                ;;
224 +        -lynx*5)
225 +                os=-lynxos5
226 +                ;;
227          -lynx*)
228                  os=-lynxos
229                  ;;
# Line 237 | Line 248 | case $basic_machine in
248          # Some are omitted here because they have special meanings below.
249          1750a | 580 \
250          | a29k \
251 +        | aarch64 | aarch64_be \
252          | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
253          | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
254          | am33_2.0 \
255 <        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
255 >        | arc | arceb \
256 >        | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
257 >        | avr | avr32 \
258 >        | be32 | be64 \
259          | bfin \
260 <        | c4x | clipper \
260 >        | c4x | c8051 | clipper \
261          | d10v | d30v | dlx | dsp16xx \
262 <        | fr30 | frv \
262 >        | epiphany \
263 >        | fido | fr30 | frv \
264          | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
265 +        | hexagon \
266          | i370 | i860 | i960 | ia64 \
267          | ip2k | iq2000 \
268 <        | m32r | m32rle | m68000 | m68k | m88k | maxq | mb | microblaze | mcore \
268 >        | k1om \
269 >        | le32 | le64 \
270 >        | lm32 \
271 >        | m32c | m32r | m32rle | m68000 | m68k | m88k \
272 >        | maxq | mb | microblaze | microblazeel | mcore | mep | metag \
273          | mips | mipsbe | mipseb | mipsel | mipsle \
274          | mips16 \
275          | mips64 | mips64el \
276 <        | mips64vr | mips64vrel \
276 >        | mips64octeon | mips64octeonel \
277          | mips64orion | mips64orionel \
278 +        | mips64r5900 | mips64r5900el \
279 +        | mips64vr | mips64vrel \
280          | mips64vr4100 | mips64vr4100el \
281          | mips64vr4300 | mips64vr4300el \
282          | mips64vr5000 | mips64vr5000el \
# Line 264 | Line 287 | case $basic_machine in
287          | mipsisa64r2 | mipsisa64r2el \
288          | mipsisa64sb1 | mipsisa64sb1el \
289          | mipsisa64sr71k | mipsisa64sr71kel \
290 +        | mipsr5900 | mipsr5900el \
291          | mipstx39 | mipstx39el \
292          | mn10200 | mn10300 \
293 +        | moxie \
294          | mt \
295          | msp430 \
296 <        | nios | nios2 \
296 >        | nds32 | nds32le | nds32be \
297 >        | nios | nios2 | nios2eb | nios2el \
298          | ns16k | ns32k \
299 <        | or32 \
299 >        | open8 \
300 >        | or1k | or32 \
301          | pdp10 | pdp11 | pj | pjl \
302 <        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
302 >        | powerpc | powerpc64 | powerpc64le | powerpcle \
303          | pyramid \
304 <        | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
304 >        | rl78 | rx \
305 >        | score \
306 >        | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
307          | sh64 | sh64le \
308 <        | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
309 <        | sparcv8 | sparcv9 | sparcv9b \
310 <        | strongarm \
311 <        | tahoe | thumb | tic4x | tic80 | tron \
312 <        | v850 | v850e \
308 >        | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
309 >        | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
310 >        | spu \
311 >        | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
312 >        | ubicom32 \
313 >        | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
314          | we32k \
315 <        | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
316 <        | z8k)
315 >        | x86 | xc16x | xstormy16 | xtensa \
316 >        | z8k | z80)
317                  basic_machine=$basic_machine-unknown
318                  ;;
319 <        m32c)
320 <                basic_machine=$basic_machine-unknown
319 >        c54x)
320 >                basic_machine=tic54x-unknown
321 >                ;;
322 >        c55x)
323 >                basic_machine=tic55x-unknown
324                  ;;
325 <        m6811 | m68hc11 | m6812 | m68hc12)
326 <                # Motorola 68HC11/12.
325 >        c6x)
326 >                basic_machine=tic6x-unknown
327 >                ;;
328 >        m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip)
329                  basic_machine=$basic_machine-unknown
330                  os=-none
331                  ;;
# Line 300 | Line 335 | case $basic_machine in
335                  basic_machine=mt-unknown
336                  ;;
337  
338 +        strongarm | thumb | xscale)
339 +                basic_machine=arm-unknown
340 +                ;;
341 +        xgate)
342 +                basic_machine=$basic_machine-unknown
343 +                os=-none
344 +                ;;
345 +        xscaleeb)
346 +                basic_machine=armeb-unknown
347 +                ;;
348 +
349 +        xscaleel)
350 +                basic_machine=armel-unknown
351 +                ;;
352 +
353          # We use `pc' rather than `unknown'
354          # because (1) that's what they normally are, and
355          # (2) the word "unknown" tends to confuse beginning users.
# Line 314 | Line 364 | case $basic_machine in
364          # Recognize the basic CPU types with company name.
365          580-* \
366          | a29k-* \
367 +        | aarch64-* | aarch64_be-* \
368          | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
369          | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
370 <        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
370 >        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
371          | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
372 <        | avr-* \
372 >        | avr-* | avr32-* \
373 >        | be32-* | be64-* \
374          | bfin-* | bs2000-* \
375 <        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
376 <        | clipper-* | craynv-* | cydra-* \
375 >        | c[123]* | c30-* | [cjt]90-* | c4x-* \
376 >        | c8051-* | clipper-* | craynv-* | cydra-* \
377          | d10v-* | d30v-* | dlx-* \
378          | elxsi-* \
379 <        | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
379 >        | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
380          | h8300-* | h8500-* \
381          | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
382 +        | hexagon-* \
383          | i*86-* | i860-* | i960-* | ia64-* \
384          | ip2k-* | iq2000-* \
385 <        | m32r-* | m32rle-* \
385 >        | k1om-* \
386 >        | le32-* | le64-* \
387 >        | lm32-* \
388 >        | m32c-* | m32r-* | m32rle-* \
389          | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
390 <        | m88110-* | m88k-* | maxq-* | mcore-* \
390 >        | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
391 >        | microblaze-* | microblazeel-* \
392          | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
393          | mips16-* \
394          | mips64-* | mips64el-* \
395 <        | mips64vr-* | mips64vrel-* \
395 >        | mips64octeon-* | mips64octeonel-* \
396          | mips64orion-* | mips64orionel-* \
397 +        | mips64r5900-* | mips64r5900el-* \
398 +        | mips64vr-* | mips64vrel-* \
399          | mips64vr4100-* | mips64vr4100el-* \
400          | mips64vr4300-* | mips64vr4300el-* \
401          | mips64vr5000-* | mips64vr5000el-* \
# Line 347 | Line 406 | case $basic_machine in
406          | mipsisa64r2-* | mipsisa64r2el-* \
407          | mipsisa64sb1-* | mipsisa64sb1el-* \
408          | mipsisa64sr71k-* | mipsisa64sr71kel-* \
409 +        | mipsr5900-* | mipsr5900el-* \
410          | mipstx39-* | mipstx39el-* \
411          | mmix-* \
412          | mt-* \
413          | msp430-* \
414 <        | nios-* | nios2-* \
414 >        | nds32-* | nds32le-* | nds32be-* \
415 >        | nios-* | nios2-* | nios2eb-* | nios2el-* \
416          | none-* | np1-* | ns16k-* | ns32k-* \
417 +        | open8-* \
418          | orion-* \
419          | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
420 <        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
420 >        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
421          | pyramid-* \
422 <        | romp-* | rs6000-* \
423 <        | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \
422 >        | rl78-* | romp-* | rs6000-* | rx-* \
423 >        | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
424          | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
425 <        | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
425 >        | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
426          | sparclite-* \
427 <        | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
428 <        | tahoe-* | thumb-* \
427 >        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
428 >        | tahoe-* \
429          | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
430 +        | tile*-* \
431          | tron-* \
432 <        | v850-* | v850e-* | vax-* \
432 >        | ubicom32-* \
433 >        | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
434 >        | vax-* \
435          | we32k-* \
436 <        | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
437 <        | xstormy16-* | xtensa-* \
436 >        | x86-* | x86_64-* | xc16x-* | xps100-* \
437 >        | xstormy16-* | xtensa*-* \
438          | ymp-* \
439 <        | z8k-*)
439 >        | z8k-* | z80-*)
440                  ;;
441 <        m32c-*)
441 >        # Recognize the basic CPU types without company name, with glob match.
442 >        xtensa*)
443 >                basic_machine=$basic_machine-unknown
444                  ;;
445          # Recognize the various machine names and aliases which stand
446          # for a CPU type and a company and sometimes even an OS.
# Line 391 | Line 458 | case $basic_machine in
458                  basic_machine=a29k-amd
459                  os=-udi
460                  ;;
461 <        abacus)
461 >        abacus)
462                  basic_machine=abacus-unknown
463                  ;;
464          adobe68k)
# Line 437 | Line 504 | case $basic_machine in
504                  basic_machine=m68k-apollo
505                  os=-bsd
506                  ;;
507 +        aros)
508 +                basic_machine=i386-pc
509 +                os=-aros
510 +                ;;
511          aux)
512                  basic_machine=m68k-apple
513                  os=-aux
# Line 445 | Line 516 | case $basic_machine in
516                  basic_machine=ns32k-sequent
517                  os=-dynix
518                  ;;
519 +        blackfin)
520 +                basic_machine=bfin-unknown
521 +                os=-linux
522 +                ;;
523 +        blackfin-*)
524 +                basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
525 +                os=-linux
526 +                ;;
527 +        bluegene*)
528 +                basic_machine=powerpc-ibm
529 +                os=-cnk
530 +                ;;
531 +        c54x-*)
532 +                basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
533 +                ;;
534 +        c55x-*)
535 +                basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
536 +                ;;
537 +        c6x-*)
538 +                basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
539 +                ;;
540          c90)
541                  basic_machine=c90-cray
542                  os=-unicos
543                  ;;
544 +        cegcc)
545 +                basic_machine=arm-unknown
546 +                os=-cegcc
547 +                ;;
548          convex-c1)
549                  basic_machine=c1-convex
550                  os=-bsd
# Line 477 | Line 573 | case $basic_machine in
573                  basic_machine=craynv-cray
574                  os=-unicosmp
575                  ;;
576 <        cr16c)
577 <                basic_machine=cr16c-unknown
576 >        cr16 | cr16-*)
577 >                basic_machine=cr16-unknown
578                  os=-elf
579                  ;;
580          crds | unos)
# Line 516 | Line 612 | case $basic_machine in
612                  basic_machine=m88k-motorola
613                  os=-sysv3
614                  ;;
615 +        dicos)
616 +                basic_machine=i686-pc
617 +                os=-dicos
618 +                ;;
619          djgpp)
620                  basic_machine=i586-pc
621                  os=-msdosdjgpp
# Line 631 | Line 731 | case $basic_machine in
731          i370-ibm* | ibm*)
732                  basic_machine=i370-ibm
733                  ;;
634 # I'm not sure what "Sysv32" means.  Should this be sysv3.2?
734          i*86v32)
735                  basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
736                  os=-sysv32
# Line 670 | Line 769 | case $basic_machine in
769                  basic_machine=m68k-isi
770                  os=-sysv
771                  ;;
772 +        m68knommu)
773 +                basic_machine=m68k-unknown
774 +                os=-linux
775 +                ;;
776 +        m68knommu-*)
777 +                basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
778 +                os=-linux
779 +                ;;
780          m88k-omron*)
781                  basic_machine=m88k-omron
782                  ;;
# Line 681 | Line 788 | case $basic_machine in
788                  basic_machine=ns32k-utek
789                  os=-sysv
790                  ;;
791 +        microblaze*)
792 +                basic_machine=microblaze-xilinx
793 +                ;;
794 +        mingw64)
795 +                basic_machine=x86_64-pc
796 +                os=-mingw64
797 +                ;;
798          mingw32)
799 <                basic_machine=i386-pc
799 >                basic_machine=i686-pc
800                  os=-mingw32
801                  ;;
802 +        mingw32ce)
803 +                basic_machine=arm-unknown
804 +                os=-mingw32ce
805 +                ;;
806          miniframe)
807                  basic_machine=m68000-convergent
808                  ;;
# Line 713 | Line 831 | case $basic_machine in
831          ms1-*)
832                  basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
833                  ;;
834 +        msys)
835 +                basic_machine=i686-pc
836 +                os=-msys
837 +                ;;
838          mvs)
839                  basic_machine=i370-ibm
840                  os=-mvs
841                  ;;
842 +        nacl)
843 +                basic_machine=le32-unknown
844 +                os=-nacl
845 +                ;;
846          ncr3000)
847                  basic_machine=i486-ncr
848                  os=-sysv4
# Line 781 | Line 907 | case $basic_machine in
907          np1)
908                  basic_machine=np1-gould
909                  ;;
910 +        neo-tandem)
911 +                basic_machine=neo-tandem
912 +                ;;
913 +        nse-tandem)
914 +                basic_machine=nse-tandem
915 +                ;;
916          nsr-tandem)
917                  basic_machine=nsr-tandem
918                  ;;
# Line 811 | Line 943 | case $basic_machine in
943                  basic_machine=i860-intel
944                  os=-osf
945                  ;;
946 +        parisc)
947 +                basic_machine=hppa-unknown
948 +                os=-linux
949 +                ;;
950 +        parisc-*)
951 +                basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
952 +                os=-linux
953 +                ;;
954          pbd)
955                  basic_machine=sparc-tti
956                  ;;
# Line 855 | Line 995 | case $basic_machine in
995                  ;;
996          power)  basic_machine=power-ibm
997                  ;;
998 <        ppc)    basic_machine=powerpc-unknown
998 >        ppc | ppcbe)    basic_machine=powerpc-unknown
999                  ;;
1000 <        ppc-*)  basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
1000 >        ppc-* | ppcbe-*)
1001 >                basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
1002                  ;;
1003          ppcle | powerpclittle | ppc-le | powerpc-little)
1004                  basic_machine=powerpcle-unknown
# Line 882 | Line 1023 | case $basic_machine in
1023                  basic_machine=i586-unknown
1024                  os=-pw32
1025                  ;;
1026 <        rdos)
1026 >        rdos | rdos64)
1027 >                basic_machine=x86_64-pc
1028 >                os=-rdos
1029 >                ;;
1030 >        rdos32)
1031                  basic_machine=i386-pc
1032                  os=-rdos
1033                  ;;
# Line 912 | Line 1057 | case $basic_machine in
1057          sb1el)
1058                  basic_machine=mipsisa64sb1el-unknown
1059                  ;;
1060 +        sde)
1061 +                basic_machine=mipsisa32-sde
1062 +                os=-elf
1063 +                ;;
1064          sei)
1065                  basic_machine=mips-sei
1066                  os=-seiux
# Line 923 | Line 1072 | case $basic_machine in
1072                  basic_machine=sh-hitachi
1073                  os=-hms
1074                  ;;
1075 +        sh5el)
1076 +                basic_machine=sh5le-unknown
1077 +                ;;
1078          sh64)
1079                  basic_machine=sh64-unknown
1080                  ;;
# Line 944 | Line 1096 | case $basic_machine in
1096                  basic_machine=i860-stratus
1097                  os=-sysv4
1098                  ;;
1099 +        strongarm-* | thumb-*)
1100 +                basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
1101 +                ;;
1102          sun2)
1103                  basic_machine=m68000-sun
1104                  ;;
# Line 1000 | Line 1155 | case $basic_machine in
1155                  basic_machine=t90-cray
1156                  os=-unicos
1157                  ;;
1158 <        tic54x | c54x*)
1159 <                basic_machine=tic54x-unknown
1160 <                os=-coff
1006 <                ;;
1007 <        tic55x | c55x*)
1008 <                basic_machine=tic55x-unknown
1009 <                os=-coff
1010 <                ;;
1011 <        tic6x | c6x*)
1012 <                basic_machine=tic6x-unknown
1013 <                os=-coff
1158 >        tile*)
1159 >                basic_machine=$basic_machine-unknown
1160 >                os=-linux-gnu
1161                  ;;
1162          tx39)
1163                  basic_machine=mipstx39-unknown
# Line 1079 | Line 1226 | case $basic_machine in
1226          xps | xps100)
1227                  basic_machine=xps100-honeywell
1228                  ;;
1229 +        xscale-* | xscalee[bl]-*)
1230 +                basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
1231 +                ;;
1232          ymp)
1233                  basic_machine=ymp-cray
1234                  os=-unicos
# Line 1087 | Line 1237 | case $basic_machine in
1237                  basic_machine=z8k-unknown
1238                  os=-sim
1239                  ;;
1240 +        z80-*-coff)
1241 +                basic_machine=z80-unknown
1242 +                os=-sim
1243 +                ;;
1244          none)
1245                  basic_machine=none-none
1246                  os=-none
# Line 1125 | Line 1279 | case $basic_machine in
1279          we32k)
1280                  basic_machine=we32k-att
1281                  ;;
1282 <        sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
1282 >        sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
1283                  basic_machine=sh-unknown
1284                  ;;
1285 <        sparc | sparcv8 | sparcv9 | sparcv9b)
1285 >        sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
1286                  basic_machine=sparc-sun
1287                  ;;
1288          cydra)
# Line 1172 | Line 1326 | esac
1326   if [ x"$os" != x"" ]
1327   then
1328   case $os in
1329 <        # First match some system type aliases
1330 <        # that might get confused with valid system types.
1329 >        # First match some system type aliases
1330 >        # that might get confused with valid system types.
1331          # -solaris* is a basic system type, with this one exception.
1332 +        -auroraux)
1333 +                os=-auroraux
1334 +                ;;
1335          -solaris1 | -solaris1.*)
1336                  os=`echo $os | sed -e 's|solaris1|sunos4|'`
1337                  ;;
# Line 1195 | Line 1352 | case $os in
1352          # Each alternative MUST END IN A *, to match a version number.
1353          # -sysv* is not here because it comes later, after sysvr4.
1354          -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1355 <              | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
1356 <              | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
1355 >              | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
1356 >              | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
1357 >              | -sym* | -kopensolaris* | -plan9* \
1358                | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1359 <              | -aos* \
1359 >              | -aos* | -aros* \
1360                | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1361                | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1362                | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
1363 <              | -openbsd* | -solidbsd* \
1363 >              | -bitrig* | -openbsd* | -solidbsd* \
1364                | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
1365                | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1366                | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1367                | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1368 <              | -chorusos* | -chorusrdb* \
1369 <              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1370 <              | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
1368 >              | -chorusos* | -chorusrdb* | -cegcc* \
1369 >              | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1370 >              | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
1371 >              | -linux-newlib* | -linux-musl* | -linux-uclibc* \
1372                | -uxpv* | -beos* | -mpeix* | -udk* \
1373                | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1374                | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
# Line 1217 | Line 1376 | case $os in
1376                | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1377                | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1378                | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1379 <              | -skyos* | -haiku* | -rdos*)
1379 >              | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
1380          # Remember, each alternative MUST END IN *, to match a version number.
1381                  ;;
1382          -qnx*)
# Line 1256 | Line 1415 | case $os in
1415          -opened*)
1416                  os=-openedition
1417                  ;;
1418 <        -os400*)
1418 >        -os400*)
1419                  os=-os400
1420                  ;;
1421          -wince*)
# Line 1305 | Line 1464 | case $os in
1464          -sinix*)
1465                  os=-sysv4
1466                  ;;
1467 <        -tpf*)
1467 >        -tpf*)
1468                  os=-tpf
1469                  ;;
1470          -triton*)
# Line 1341 | Line 1500 | case $os in
1500          -aros*)
1501                  os=-aros
1502                  ;;
1344        -kaos*)
1345                os=-kaos
1346                ;;
1503          -zvmoe)
1504                  os=-zvmoe
1505                  ;;
1506 +        -dicos*)
1507 +                os=-dicos
1508 +                ;;
1509 +        -nacl*)
1510 +                ;;
1511          -none)
1512                  ;;
1513          *)
# Line 1369 | Line 1530 | else
1530   # system, and we'll never get to this point.
1531  
1532   case $basic_machine in
1533 +        score-*)
1534 +                os=-elf
1535 +                ;;
1536 +        spu-*)
1537 +                os=-elf
1538 +                ;;
1539          *-acorn)
1540                  os=-riscix1.2
1541                  ;;
# Line 1378 | Line 1545 | case $basic_machine in
1545          arm*-semi)
1546                  os=-aout
1547                  ;;
1548 <    c4x-* | tic4x-*)
1549 <        os=-coff
1550 <        ;;
1548 >        c4x-* | tic4x-*)
1549 >                os=-coff
1550 >                ;;
1551 >        c8051-*)
1552 >                os=-elf
1553 >                ;;
1554 >        hexagon-*)
1555 >                os=-elf
1556 >                ;;
1557 >        tic54x-*)
1558 >                os=-coff
1559 >                ;;
1560 >        tic55x-*)
1561 >                os=-coff
1562 >                ;;
1563 >        tic6x-*)
1564 >                os=-coff
1565 >                ;;
1566          # This must come before the *-dec entry.
1567          pdp10-*)
1568                  os=-tops20
# Line 1399 | Line 1581 | case $basic_machine in
1581                  ;;
1582          m68000-sun)
1583                  os=-sunos3
1402                # This also exists in the configure program, but was not the
1403                # default.
1404                # os=-sunos4
1584                  ;;
1585          m68*-cisco)
1586                  os=-aout
1587                  ;;
1588 +        mep-*)
1589 +                os=-elf
1590 +                ;;
1591          mips*-cisco)
1592                  os=-elf
1593                  ;;
1594          mips*-*)
1595                  os=-elf
1596                  ;;
1597 +        or1k-*)
1598 +                os=-elf
1599 +                ;;
1600          or32-*)
1601                  os=-coff
1602                  ;;
# Line 1430 | Line 1615 | case $basic_machine in
1615          *-ibm)
1616                  os=-aix
1617                  ;;
1618 <        *-knuth)
1618 >        *-knuth)
1619                  os=-mmixware
1620                  ;;
1621          *-wec)
# Line 1535 | Line 1720 | case $basic_machine in
1720                          -sunos*)
1721                                  vendor=sun
1722                                  ;;
1723 <                        -aix*)
1723 >                        -cnk*|-aix*)
1724                                  vendor=ibm
1725                                  ;;
1726                          -beos*)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines