1 |
|
#! /bin/sh |
2 |
|
# Configuration validation subroutine script. |
3 |
< |
# Copyright 1992-2013 Free Software Foundation, Inc. |
3 |
> |
# Copyright 1992-2014 Free Software Foundation, Inc. |
4 |
|
|
5 |
< |
timestamp='2013-10-01' |
5 |
> |
timestamp='2014-12-03' |
6 |
|
|
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 |
25 |
|
# of the GNU General Public License, version 3 ("GPLv3"). |
26 |
|
|
27 |
|
|
28 |
< |
# Please send patches with a ChangeLog entry to config-patches@gnu.org. |
28 |
> |
# Please send patches 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. |
68 |
|
version="\ |
69 |
|
GNU config.sub ($timestamp) |
70 |
|
|
71 |
< |
Copyright 1992-2013 Free Software Foundation, Inc. |
71 |
> |
Copyright 1992-2014 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." |
283 |
|
| mips64vr5900 | mips64vr5900el \ |
284 |
|
| mipsisa32 | mipsisa32el \ |
285 |
|
| mipsisa32r2 | mipsisa32r2el \ |
286 |
+ |
| mipsisa32r6 | mipsisa32r6el \ |
287 |
|
| mipsisa64 | mipsisa64el \ |
288 |
|
| mipsisa64r2 | mipsisa64r2el \ |
289 |
+ |
| mipsisa64r6 | mipsisa64r6el \ |
290 |
|
| mipsisa64sb1 | mipsisa64sb1el \ |
291 |
|
| mipsisa64sr71k | mipsisa64sr71kel \ |
292 |
|
| mipsr5900 | mipsr5900el \ |
298 |
|
| nds32 | nds32le | nds32be \ |
299 |
|
| nios | nios2 | nios2eb | nios2el \ |
300 |
|
| ns16k | ns32k \ |
301 |
< |
| open8 \ |
300 |
< |
| or1k | or32 \ |
301 |
> |
| open8 | or1k | or1knd | or32 \ |
302 |
|
| pdp10 | pdp11 | pj | pjl \ |
303 |
|
| powerpc | powerpc64 | powerpc64le | powerpcle \ |
304 |
|
| pyramid \ |
305 |
+ |
| riscv32 | riscv64 \ |
306 |
|
| rl78 | rx \ |
307 |
|
| score \ |
308 |
|
| sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ |
313 |
|
| tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ |
314 |
|
| ubicom32 \ |
315 |
|
| v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ |
316 |
+ |
| visium \ |
317 |
|
| we32k \ |
318 |
|
| x86 | xc16x | xstormy16 | xtensa \ |
319 |
|
| z8k | z80) |
328 |
|
c6x) |
329 |
|
basic_machine=tic6x-unknown |
330 |
|
;; |
331 |
+ |
leon|leon[3-9]) |
332 |
+ |
basic_machine=sparc-$basic_machine |
333 |
+ |
;; |
334 |
|
m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip) |
335 |
|
basic_machine=$basic_machine-unknown |
336 |
|
os=-none |
408 |
|
| mips64vr5900-* | mips64vr5900el-* \ |
409 |
|
| mipsisa32-* | mipsisa32el-* \ |
410 |
|
| mipsisa32r2-* | mipsisa32r2el-* \ |
411 |
+ |
| mipsisa32r6-* | mipsisa32r6el-* \ |
412 |
|
| mipsisa64-* | mipsisa64el-* \ |
413 |
|
| mipsisa64r2-* | mipsisa64r2el-* \ |
414 |
+ |
| mipsisa64r6-* | mipsisa64r6el-* \ |
415 |
|
| mipsisa64sb1-* | mipsisa64sb1el-* \ |
416 |
|
| mipsisa64sr71k-* | mipsisa64sr71kel-* \ |
417 |
|
| mipsr5900-* | mipsr5900el-* \ |
423 |
|
| nios-* | nios2-* | nios2eb-* | nios2el-* \ |
424 |
|
| none-* | np1-* | ns16k-* | ns32k-* \ |
425 |
|
| open8-* \ |
426 |
+ |
| or1k*-* \ |
427 |
|
| orion-* \ |
428 |
|
| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ |
429 |
|
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ |
441 |
|
| ubicom32-* \ |
442 |
|
| v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ |
443 |
|
| vax-* \ |
444 |
+ |
| visium-* \ |
445 |
|
| we32k-* \ |
446 |
|
| x86-* | x86_64-* | xc16x-* | xps100-* \ |
447 |
|
| xstormy16-* | xtensa*-* \ |
779 |
|
basic_machine=m68k-isi |
780 |
|
os=-sysv |
781 |
|
;; |
782 |
+ |
leon-*|leon[3-9]-*) |
783 |
+ |
basic_machine=sparc-`echo $basic_machine | sed 's/-.*//'` |
784 |
+ |
;; |
785 |
|
m68knommu) |
786 |
|
basic_machine=m68k-unknown |
787 |
|
os=-linux |
837 |
|
basic_machine=powerpc-unknown |
838 |
|
os=-morphos |
839 |
|
;; |
840 |
+ |
moxiebox) |
841 |
+ |
basic_machine=moxie-unknown |
842 |
+ |
os=-moxiebox |
843 |
+ |
;; |
844 |
|
msdos) |
845 |
|
basic_machine=i386-pc |
846 |
|
os=-msdos |
1386 |
|
| -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ |
1387 |
|
| -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ |
1388 |
|
| -linux-newlib* | -linux-musl* | -linux-uclibc* \ |
1389 |
< |
| -uxpv* | -beos* | -mpeix* | -udk* \ |
1389 |
> |
| -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \ |
1390 |
|
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ |
1391 |
|
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ |
1392 |
|
| -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ |
1393 |
|
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ |
1394 |
|
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ |
1395 |
|
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ |
1396 |
< |
| -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*) |
1396 |
> |
| -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -tirtos*) |
1397 |
|
# Remember, each alternative MUST END IN *, to match a version number. |
1398 |
|
;; |
1399 |
|
-qnx*) |
1611 |
|
mips*-*) |
1612 |
|
os=-elf |
1613 |
|
;; |
1597 |
– |
or1k-*) |
1598 |
– |
os=-elf |
1599 |
– |
;; |
1614 |
|
or32-*) |
1615 |
|
os=-coff |
1616 |
|
;; |