1
1
#! /bin/sh
2
2
# Configuration validation subroutine script.
3
- # Copyright 1992-2014 Free Software Foundation, Inc.
3
+ # Copyright 1992-2015 Free Software Foundation, Inc.
4
4
5
- timestamp=' 2014-05-01 '
5
+ timestamp=' 2015-08-18 '
6
6
7
7
# This file is free software; you can redistribute it and/or modify it
8
8
# under the terms of the GNU General Public License as published by
@@ -25,7 +25,7 @@ timestamp='2014-05-01'
25
25
# of the GNU General Public License, version 3 ("GPLv3").
26
26
27
27
28
- # Please send patches with a ChangeLog entry to config-patches@gnu.org.
28
+ # Please send patches to < config-patches@gnu.org> .
29
29
#
30
30
# Configuration subroutine to validate and canonicalize a configuration type.
31
31
# Supply the specified configuration type as an argument.
@@ -68,7 +68,7 @@ Report bugs and patches to <config-patches@gnu.org>."
68
68
version=" \
69
69
GNU config.sub ($timestamp )
70
70
71
- Copyright 1992-2014 Free Software Foundation, Inc.
71
+ Copyright 1992-2015 Free Software Foundation, Inc.
72
72
73
73
This is free software; see the source for copying conditions. There is NO
74
74
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -117,7 +117,7 @@ maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
117
117
case $maybe_os in
118
118
nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
119
119
linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd* -gnu* | \
120
- knetbsd* -gnu* | netbsd* -gnu* | \
120
+ knetbsd* -gnu* | netbsd* -gnu* | netbsd * -eabi * | \
121
121
kopensolaris* -gnu* | \
122
122
storm-chaos* | os2-emx* | rtmk-nova* )
123
123
os=-$maybe_os
@@ -255,12 +255,13 @@ case $basic_machine in
255
255
| arc | arceb \
256
256
| arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
257
257
| avr | avr32 \
258
+ | ba \
258
259
| be32 | be64 \
259
260
| bfin \
260
261
| c4x | c8051 | clipper \
261
262
| d10v | d30v | dlx | dsp16xx \
262
- | epiphany \
263
- | fido | fr30 | frv \
263
+ | e2k | epiphany \
264
+ | fido | fr30 | frv | ft32 \
264
265
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
265
266
| hexagon \
266
267
| i370 | i860 | i960 | ia64 \
@@ -302,16 +303,18 @@ case $basic_machine in
302
303
| pdp10 | pdp11 | pj | pjl \
303
304
| powerpc | powerpc64 | powerpc64le | powerpcle \
304
305
| pyramid \
306
+ | riscv32 | riscv64 \
305
307
| rl78 | rx \
306
308
| score \
307
- | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34 ]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
309
+ | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[234 ]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
308
310
| sh64 | sh64le \
309
311
| sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
310
312
| sparcv8 | sparcv9 | sparcv9b | sparcv9v \
311
313
| spu \
312
314
| tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
313
315
| ubicom32 \
314
316
| v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
317
+ | visium \
315
318
| we32k \
316
319
| x86 | xc16x | xstormy16 | xtensa \
317
320
| z8k | z80)
@@ -326,6 +329,9 @@ case $basic_machine in
326
329
c6x)
327
330
basic_machine=tic6x-unknown
328
331
;;
332
+ leon|leon[3-9])
333
+ basic_machine=sparc-$basic_machine
334
+ ;;
329
335
m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip)
330
336
basic_machine=$basic_machine -unknown
331
337
os=-none
@@ -371,12 +377,13 @@ case $basic_machine in
371
377
| alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
372
378
| arm-* | armbe-* | armle-* | armeb-* | armv* -* \
373
379
| avr-* | avr32-* \
380
+ | ba-* \
374
381
| be32-* | be64-* \
375
382
| bfin-* | bs2000-* \
376
383
| c[123]* | c30-* | [cjt]90-* | c4x-* \
377
384
| c8051-* | clipper-* | craynv-* | cydra-* \
378
385
| d10v-* | d30v-* | dlx-* \
379
- | elxsi-* \
386
+ | e2k- * | elxsi-* \
380
387
| f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
381
388
| h8300-* | h8500-* \
382
389
| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
@@ -423,19 +430,21 @@ case $basic_machine in
423
430
| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
424
431
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
425
432
| pyramid-* \
433
+ | riscv32-* | riscv64-* \
426
434
| rl78-* | romp-* | rs6000-* | rx-* \
427
435
| sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
428
436
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
429
437
| sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
430
438
| sparclite-* \
431
- | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx? -* \
439
+ | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx* -* \
432
440
| tahoe-* \
433
441
| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
434
442
| tile* -* \
435
443
| tron-* \
436
444
| ubicom32-* \
437
445
| v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
438
446
| vax-* \
447
+ | visium-* \
439
448
| we32k-* \
440
449
| x86-* | x86_64-* | xc16x-* | xps100-* \
441
450
| xstormy16-* | xtensa* -* \
@@ -512,6 +521,9 @@ case $basic_machine in
512
521
basic_machine=i386-pc
513
522
os=-aros
514
523
;;
524
+ asmjs)
525
+ basic_machine=asmjs-unknown
526
+ ;;
515
527
aux)
516
528
basic_machine=m68k-apple
517
529
os=-aux
@@ -773,6 +785,9 @@ case $basic_machine in
773
785
basic_machine=m68k-isi
774
786
os=-sysv
775
787
;;
788
+ leon-* |leon[3-9]-* )
789
+ basic_machine=sparc-` echo $basic_machine | sed ' s/-.*//' `
790
+ ;;
776
791
m68knommu)
777
792
basic_machine=m68k-unknown
778
793
os=-linux
@@ -828,6 +843,10 @@ case $basic_machine in
828
843
basic_machine=powerpc-unknown
829
844
os=-morphos
830
845
;;
846
+ moxiebox)
847
+ basic_machine=moxie-unknown
848
+ os=-moxiebox
849
+ ;;
831
850
msdos)
832
851
basic_machine=i386-pc
833
852
os=-msdos
@@ -1360,7 +1379,7 @@ case $os in
1360
1379
| -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
1361
1380
| -sym* | -kopensolaris* | -plan9* \
1362
1381
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1363
- | -aos* | -aros* \
1382
+ | -aos* | -aros* | -cloudabi * \
1364
1383
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1365
1384
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1366
1385
| -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
@@ -1373,7 +1392,7 @@ case $os in
1373
1392
| -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1374
1393
| -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
1375
1394
| -linux-newlib* | -linux-musl* | -linux-uclibc* \
1376
- | -uxpv* | -beos* | -mpeix* | -udk* \
1395
+ | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox * \
1377
1396
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1378
1397
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1379
1398
| -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
0 commit comments