diff options
author | Damien Miller <djm@mindrot.org> | 2016-08-02 10:48:04 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2016-08-02 10:48:04 +1000 |
commit | 23902e31dfd18c6d7bb41ccd73de3b5358a377da (patch) | |
tree | 9a4e939b4404a75ad3fa93fac63000dc73c9153d /config.sub | |
parent | dd1031b78b83083615b68d7163c44f4408635be2 (diff) |
update config.guess and config.sub to current
upstream commit 562f3512b3911ba0c77a7f68214881d1f241f46e
Diffstat (limited to 'config.sub')
-rwxr-xr-x | config.sub | 130 |
1 files changed, 80 insertions, 50 deletions
diff --git a/config.sub b/config.sub index eee8dccb0..9feb73bf0 100755 --- a/config.sub +++ b/config.sub | |||
@@ -1,24 +1,18 @@ | |||
1 | #! /bin/sh | 1 | #! /bin/sh |
2 | # Configuration validation subroutine script. | 2 | # Configuration validation subroutine script. |
3 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, | 3 | # Copyright 1992-2016 Free Software Foundation, Inc. |
4 | # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, | ||
5 | # 2011, 2012, 2013 Free Software Foundation, Inc. | ||
6 | 4 | ||
7 | timestamp='2012-12-23' | 5 | timestamp='2016-06-20' |
8 | 6 | ||
9 | # This file is (in principle) common to ALL GNU software. | 7 | # This file is free software; you can redistribute it and/or modify it |
10 | # The presence of a machine in this file suggests that SOME GNU software | 8 | # under the terms of the GNU General Public License as published by |
11 | # can handle that machine. It does not imply ALL GNU software can. | 9 | # the Free Software Foundation; either version 3 of the License, or |
12 | # | ||
13 | # This file is free software; you can redistribute it and/or modify | ||
14 | # it under the terms of the GNU General Public License as published by | ||
15 | # the Free Software Foundation; either version 2 of the License, or | ||
16 | # (at your option) any later version. | 10 | # (at your option) any later version. |
17 | # | 11 | # |
18 | # This program is distributed in the hope that it will be useful, | 12 | # This program is distributed in the hope that it will be useful, but |
19 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | # WITHOUT ANY WARRANTY; without even the implied warranty of |
20 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
21 | # GNU General Public License for more details. | 15 | # General Public License for more details. |
22 | # | 16 | # |
23 | # You should have received a copy of the GNU General Public License | 17 | # You should have received a copy of the GNU General Public License |
24 | # along with this program; if not, see <http://www.gnu.org/licenses/>. | 18 | # along with this program; if not, see <http://www.gnu.org/licenses/>. |
@@ -26,11 +20,12 @@ timestamp='2012-12-23' | |||
26 | # As a special exception to the GNU General Public License, if you | 20 | # As a special exception to the GNU General Public License, if you |
27 | # distribute this file as part of a program that contains a | 21 | # distribute this file as part of a program that contains a |
28 | # configuration script generated by Autoconf, you may include it under | 22 | # configuration script generated by Autoconf, you may include it under |
29 | # 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"). | ||
30 | 26 | ||
31 | 27 | ||
32 | # Please send patches to <config-patches@gnu.org>. Submit a context | 28 | # Please send patches to <config-patches@gnu.org>. |
33 | # diff and a properly formatted GNU ChangeLog entry. | ||
34 | # | 29 | # |
35 | # Configuration subroutine to validate and canonicalize a configuration type. | 30 | # Configuration subroutine to validate and canonicalize a configuration type. |
36 | # Supply the specified configuration type as an argument. | 31 | # Supply the specified configuration type as an argument. |
@@ -38,7 +33,7 @@ timestamp='2012-12-23' | |||
38 | # Otherwise, we print the canonical config type on stdout and succeed. | 33 | # Otherwise, we print the canonical config type on stdout and succeed. |
39 | 34 | ||
40 | # You can get the latest version of this script from: | 35 | # You can get the latest version of this script from: |
41 | # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD | 36 | # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub |
42 | 37 | ||
43 | # This file is supposed to be the same for all GNU packages | 38 | # This file is supposed to be the same for all GNU packages |
44 | # and recognize all the CPU types, system types and aliases | 39 | # and recognize all the CPU types, system types and aliases |
@@ -58,8 +53,7 @@ timestamp='2012-12-23' | |||
58 | me=`echo "$0" | sed -e 's,.*/,,'` | 53 | me=`echo "$0" | sed -e 's,.*/,,'` |
59 | 54 | ||
60 | usage="\ | 55 | usage="\ |
61 | Usage: $0 [OPTION] CPU-MFR-OPSYS | 56 | Usage: $0 [OPTION] CPU-MFR-OPSYS or ALIAS |
62 | $0 [OPTION] ALIAS | ||
63 | 57 | ||
64 | Canonicalize a configuration name. | 58 | Canonicalize a configuration name. |
65 | 59 | ||
@@ -73,9 +67,7 @@ Report bugs and patches to <config-patches@gnu.org>." | |||
73 | version="\ | 67 | version="\ |
74 | GNU config.sub ($timestamp) | 68 | GNU config.sub ($timestamp) |
75 | 69 | ||
76 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, | 70 | Copyright 1992-2016 Free Software Foundation, Inc. |
77 | 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, | ||
78 | 2012, 2013 Free Software Foundation, Inc. | ||
79 | 71 | ||
80 | This is free software; see the source for copying conditions. There is NO | 72 | This is free software; see the source for copying conditions. There is NO |
81 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." | 73 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
@@ -124,7 +116,7 @@ maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` | |||
124 | case $maybe_os in | 116 | case $maybe_os in |
125 | nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ | 117 | nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ |
126 | linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ | 118 | linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ |
127 | knetbsd*-gnu* | netbsd*-gnu* | \ | 119 | knetbsd*-gnu* | netbsd*-gnu* | netbsd*-eabi* | \ |
128 | kopensolaris*-gnu* | \ | 120 | kopensolaris*-gnu* | \ |
129 | storm-chaos* | os2-emx* | rtmk-nova*) | 121 | storm-chaos* | os2-emx* | rtmk-nova*) |
130 | os=-$maybe_os | 122 | os=-$maybe_os |
@@ -259,19 +251,21 @@ case $basic_machine in | |||
259 | | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | 251 | | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ |
260 | | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | 252 | | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ |
261 | | am33_2.0 \ | 253 | | am33_2.0 \ |
262 | | arc \ | 254 | | arc | arceb \ |
263 | | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \ | 255 | | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \ |
264 | | avr | avr32 \ | 256 | | avr | avr32 \ |
257 | | ba \ | ||
265 | | be32 | be64 \ | 258 | | be32 | be64 \ |
266 | | bfin \ | 259 | | bfin \ |
267 | | c4x | clipper \ | 260 | | c4x | c8051 | clipper \ |
268 | | d10v | d30v | dlx | dsp16xx \ | 261 | | d10v | d30v | dlx | dsp16xx \ |
269 | | epiphany \ | 262 | | e2k | epiphany \ |
270 | | fido | fr30 | frv \ | 263 | | fido | fr30 | frv | ft32 \ |
271 | | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | 264 | | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ |
272 | | hexagon \ | 265 | | hexagon \ |
273 | | i370 | i860 | i960 | ia64 \ | 266 | | i370 | i860 | i960 | ia64 \ |
274 | | ip2k | iq2000 \ | 267 | | ip2k | iq2000 \ |
268 | | k1om \ | ||
275 | | le32 | le64 \ | 269 | | le32 | le64 \ |
276 | | lm32 \ | 270 | | lm32 \ |
277 | | m32c | m32r | m32rle | m68000 | m68k | m88k \ | 271 | | m32c | m32r | m32rle | m68000 | m68k | m88k \ |
@@ -289,26 +283,29 @@ case $basic_machine in | |||
289 | | mips64vr5900 | mips64vr5900el \ | 283 | | mips64vr5900 | mips64vr5900el \ |
290 | | mipsisa32 | mipsisa32el \ | 284 | | mipsisa32 | mipsisa32el \ |
291 | | mipsisa32r2 | mipsisa32r2el \ | 285 | | mipsisa32r2 | mipsisa32r2el \ |
286 | | mipsisa32r6 | mipsisa32r6el \ | ||
292 | | mipsisa64 | mipsisa64el \ | 287 | | mipsisa64 | mipsisa64el \ |
293 | | mipsisa64r2 | mipsisa64r2el \ | 288 | | mipsisa64r2 | mipsisa64r2el \ |
289 | | mipsisa64r6 | mipsisa64r6el \ | ||
294 | | mipsisa64sb1 | mipsisa64sb1el \ | 290 | | mipsisa64sb1 | mipsisa64sb1el \ |
295 | | mipsisa64sr71k | mipsisa64sr71kel \ | 291 | | mipsisa64sr71k | mipsisa64sr71kel \ |
292 | | mipsr5900 | mipsr5900el \ | ||
296 | | mipstx39 | mipstx39el \ | 293 | | mipstx39 | mipstx39el \ |
297 | | mn10200 | mn10300 \ | 294 | | mn10200 | mn10300 \ |
298 | | moxie \ | 295 | | moxie \ |
299 | | mt \ | 296 | | mt \ |
300 | | msp430 \ | 297 | | msp430 \ |
301 | | nds32 | nds32le | nds32be \ | 298 | | nds32 | nds32le | nds32be \ |
302 | | nios | nios2 \ | 299 | | nios | nios2 | nios2eb | nios2el \ |
303 | | ns16k | ns32k \ | 300 | | ns16k | ns32k \ |
304 | | open8 \ | 301 | | open8 | or1k | or1knd | or32 \ |
305 | | or32 \ | ||
306 | | pdp10 | pdp11 | pj | pjl \ | 302 | | pdp10 | pdp11 | pj | pjl \ |
307 | | powerpc | powerpc64 | powerpc64le | powerpcle \ | 303 | | powerpc | powerpc64 | powerpc64le | powerpcle \ |
308 | | pyramid \ | 304 | | pyramid \ |
305 | | riscv32 | riscv64 \ | ||
309 | | rl78 | rx \ | 306 | | rl78 | rx \ |
310 | | score \ | 307 | | score \ |
311 | | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ | 308 | | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[234]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ |
312 | | sh64 | sh64le \ | 309 | | sh64 | sh64le \ |
313 | | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ | 310 | | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ |
314 | | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ | 311 | | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ |
@@ -316,6 +313,7 @@ case $basic_machine in | |||
316 | | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ | 313 | | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ |
317 | | ubicom32 \ | 314 | | ubicom32 \ |
318 | | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ | 315 | | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ |
316 | | visium \ | ||
319 | | we32k \ | 317 | | we32k \ |
320 | | x86 | xc16x | xstormy16 | xtensa \ | 318 | | x86 | xc16x | xstormy16 | xtensa \ |
321 | | z8k | z80) | 319 | | z8k | z80) |
@@ -330,7 +328,10 @@ case $basic_machine in | |||
330 | c6x) | 328 | c6x) |
331 | basic_machine=tic6x-unknown | 329 | basic_machine=tic6x-unknown |
332 | ;; | 330 | ;; |
333 | m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip) | 331 | leon|leon[3-9]) |
332 | basic_machine=sparc-$basic_machine | ||
333 | ;; | ||
334 | m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip) | ||
334 | basic_machine=$basic_machine-unknown | 335 | basic_machine=$basic_machine-unknown |
335 | os=-none | 336 | os=-none |
336 | ;; | 337 | ;; |
@@ -372,21 +373,23 @@ case $basic_machine in | |||
372 | | aarch64-* | aarch64_be-* \ | 373 | | aarch64-* | aarch64_be-* \ |
373 | | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | 374 | | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ |
374 | | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | 375 | | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ |
375 | | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ | 376 | | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \ |
376 | | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | 377 | | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ |
377 | | avr-* | avr32-* \ | 378 | | avr-* | avr32-* \ |
379 | | ba-* \ | ||
378 | | be32-* | be64-* \ | 380 | | be32-* | be64-* \ |
379 | | bfin-* | bs2000-* \ | 381 | | bfin-* | bs2000-* \ |
380 | | c[123]* | c30-* | [cjt]90-* | c4x-* \ | 382 | | c[123]* | c30-* | [cjt]90-* | c4x-* \ |
381 | | clipper-* | craynv-* | cydra-* \ | 383 | | c8051-* | clipper-* | craynv-* | cydra-* \ |
382 | | d10v-* | d30v-* | dlx-* \ | 384 | | d10v-* | d30v-* | dlx-* \ |
383 | | elxsi-* \ | 385 | | e2k-* | elxsi-* \ |
384 | | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ | 386 | | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ |
385 | | h8300-* | h8500-* \ | 387 | | h8300-* | h8500-* \ |
386 | | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | 388 | | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ |
387 | | hexagon-* \ | 389 | | hexagon-* \ |
388 | | i*86-* | i860-* | i960-* | ia64-* \ | 390 | | i*86-* | i860-* | i960-* | ia64-* \ |
389 | | ip2k-* | iq2000-* \ | 391 | | ip2k-* | iq2000-* \ |
392 | | k1om-* \ | ||
390 | | le32-* | le64-* \ | 393 | | le32-* | le64-* \ |
391 | | lm32-* \ | 394 | | lm32-* \ |
392 | | m32c-* | m32r-* | m32rle-* \ | 395 | | m32c-* | m32r-* | m32rle-* \ |
@@ -406,28 +409,33 @@ case $basic_machine in | |||
406 | | mips64vr5900-* | mips64vr5900el-* \ | 409 | | mips64vr5900-* | mips64vr5900el-* \ |
407 | | mipsisa32-* | mipsisa32el-* \ | 410 | | mipsisa32-* | mipsisa32el-* \ |
408 | | mipsisa32r2-* | mipsisa32r2el-* \ | 411 | | mipsisa32r2-* | mipsisa32r2el-* \ |
412 | | mipsisa32r6-* | mipsisa32r6el-* \ | ||
409 | | mipsisa64-* | mipsisa64el-* \ | 413 | | mipsisa64-* | mipsisa64el-* \ |
410 | | mipsisa64r2-* | mipsisa64r2el-* \ | 414 | | mipsisa64r2-* | mipsisa64r2el-* \ |
415 | | mipsisa64r6-* | mipsisa64r6el-* \ | ||
411 | | mipsisa64sb1-* | mipsisa64sb1el-* \ | 416 | | mipsisa64sb1-* | mipsisa64sb1el-* \ |
412 | | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | 417 | | mipsisa64sr71k-* | mipsisa64sr71kel-* \ |
418 | | mipsr5900-* | mipsr5900el-* \ | ||
413 | | mipstx39-* | mipstx39el-* \ | 419 | | mipstx39-* | mipstx39el-* \ |
414 | | mmix-* \ | 420 | | mmix-* \ |
415 | | mt-* \ | 421 | | mt-* \ |
416 | | msp430-* \ | 422 | | msp430-* \ |
417 | | nds32-* | nds32le-* | nds32be-* \ | 423 | | nds32-* | nds32le-* | nds32be-* \ |
418 | | nios-* | nios2-* \ | 424 | | nios-* | nios2-* | nios2eb-* | nios2el-* \ |
419 | | none-* | np1-* | ns16k-* | ns32k-* \ | 425 | | none-* | np1-* | ns16k-* | ns32k-* \ |
420 | | open8-* \ | 426 | | open8-* \ |
427 | | or1k*-* \ | ||
421 | | orion-* \ | 428 | | orion-* \ |
422 | | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | 429 | | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ |
423 | | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ | 430 | | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ |
424 | | pyramid-* \ | 431 | | pyramid-* \ |
432 | | riscv32-* | riscv64-* \ | ||
425 | | rl78-* | romp-* | rs6000-* | rx-* \ | 433 | | rl78-* | romp-* | rs6000-* | rx-* \ |
426 | | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ | 434 | | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ |
427 | | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | 435 | | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ |
428 | | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ | 436 | | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ |
429 | | sparclite-* \ | 437 | | sparclite-* \ |
430 | | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \ | 438 | | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx*-* \ |
431 | | tahoe-* \ | 439 | | tahoe-* \ |
432 | | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | 440 | | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ |
433 | | tile*-* \ | 441 | | tile*-* \ |
@@ -435,6 +443,7 @@ case $basic_machine in | |||
435 | | ubicom32-* \ | 443 | | ubicom32-* \ |
436 | | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ | 444 | | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ |
437 | | vax-* \ | 445 | | vax-* \ |
446 | | visium-* \ | ||
438 | | we32k-* \ | 447 | | we32k-* \ |
439 | | x86-* | x86_64-* | xc16x-* | xps100-* \ | 448 | | x86-* | x86_64-* | xc16x-* | xps100-* \ |
440 | | xstormy16-* | xtensa*-* \ | 449 | | xstormy16-* | xtensa*-* \ |
@@ -511,6 +520,9 @@ case $basic_machine in | |||
511 | basic_machine=i386-pc | 520 | basic_machine=i386-pc |
512 | os=-aros | 521 | os=-aros |
513 | ;; | 522 | ;; |
523 | asmjs) | ||
524 | basic_machine=asmjs-unknown | ||
525 | ;; | ||
514 | aux) | 526 | aux) |
515 | basic_machine=m68k-apple | 527 | basic_machine=m68k-apple |
516 | os=-aux | 528 | os=-aux |
@@ -631,6 +643,14 @@ case $basic_machine in | |||
631 | basic_machine=m68k-bull | 643 | basic_machine=m68k-bull |
632 | os=-sysv3 | 644 | os=-sysv3 |
633 | ;; | 645 | ;; |
646 | e500v[12]) | ||
647 | basic_machine=powerpc-unknown | ||
648 | os=$os"spe" | ||
649 | ;; | ||
650 | e500v[12]-*) | ||
651 | basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` | ||
652 | os=$os"spe" | ||
653 | ;; | ||
634 | ebmon29k) | 654 | ebmon29k) |
635 | basic_machine=a29k-amd | 655 | basic_machine=a29k-amd |
636 | os=-ebmon | 656 | os=-ebmon |
@@ -772,6 +792,9 @@ case $basic_machine in | |||
772 | basic_machine=m68k-isi | 792 | basic_machine=m68k-isi |
773 | os=-sysv | 793 | os=-sysv |
774 | ;; | 794 | ;; |
795 | leon-*|leon[3-9]-*) | ||
796 | basic_machine=sparc-`echo $basic_machine | sed 's/-.*//'` | ||
797 | ;; | ||
775 | m68knommu) | 798 | m68knommu) |
776 | basic_machine=m68k-unknown | 799 | basic_machine=m68k-unknown |
777 | os=-linux | 800 | os=-linux |
@@ -799,7 +822,7 @@ case $basic_machine in | |||
799 | os=-mingw64 | 822 | os=-mingw64 |
800 | ;; | 823 | ;; |
801 | mingw32) | 824 | mingw32) |
802 | basic_machine=i386-pc | 825 | basic_machine=i686-pc |
803 | os=-mingw32 | 826 | os=-mingw32 |
804 | ;; | 827 | ;; |
805 | mingw32ce) | 828 | mingw32ce) |
@@ -827,6 +850,10 @@ case $basic_machine in | |||
827 | basic_machine=powerpc-unknown | 850 | basic_machine=powerpc-unknown |
828 | os=-morphos | 851 | os=-morphos |
829 | ;; | 852 | ;; |
853 | moxiebox) | ||
854 | basic_machine=moxie-unknown | ||
855 | os=-moxiebox | ||
856 | ;; | ||
830 | msdos) | 857 | msdos) |
831 | basic_machine=i386-pc | 858 | basic_machine=i386-pc |
832 | os=-msdos | 859 | os=-msdos |
@@ -835,7 +862,7 @@ case $basic_machine in | |||
835 | basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` | 862 | basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` |
836 | ;; | 863 | ;; |
837 | msys) | 864 | msys) |
838 | basic_machine=i386-pc | 865 | basic_machine=i686-pc |
839 | os=-msys | 866 | os=-msys |
840 | ;; | 867 | ;; |
841 | mvs) | 868 | mvs) |
@@ -1357,29 +1384,30 @@ case $os in | |||
1357 | -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ | 1384 | -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ |
1358 | | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ | 1385 | | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ |
1359 | | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ | 1386 | | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ |
1360 | | -sym* | -kopensolaris* \ | 1387 | | -sym* | -kopensolaris* | -plan9* \ |
1361 | | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | 1388 | | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ |
1362 | | -aos* | -aros* \ | 1389 | | -aos* | -aros* | -cloudabi* | -sortix* \ |
1363 | | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | 1390 | | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ |
1364 | | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | 1391 | | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ |
1365 | | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ | 1392 | | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ |
1366 | | -bitrig* | -openbsd* | -solidbsd* \ | 1393 | | -bitrig* | -openbsd* | -solidbsd* | -libertybsd* \ |
1367 | | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | 1394 | | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ |
1368 | | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | 1395 | | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ |
1369 | | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | 1396 | | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ |
1370 | | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | 1397 | | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ |
1371 | | -chorusos* | -chorusrdb* | -cegcc* \ | 1398 | | -chorusos* | -chorusrdb* | -cegcc* \ |
1372 | | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | 1399 | | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ |
1373 | | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ | 1400 | | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ |
1374 | | -linux-newlib* | -linux-musl* | -linux-uclibc* \ | 1401 | | -linux-newlib* | -linux-musl* | -linux-uclibc* \ |
1375 | | -uxpv* | -beos* | -mpeix* | -udk* \ | 1402 | | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \ |
1376 | | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | 1403 | | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ |
1377 | | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | 1404 | | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ |
1378 | | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | 1405 | | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ |
1379 | | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | 1406 | | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ |
1380 | | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | 1407 | | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ |
1381 | | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ | 1408 | | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ |
1382 | | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*) | 1409 | | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \ |
1410 | | -onefs* | -tirtos* | -phoenix*) | ||
1383 | # Remember, each alternative MUST END IN *, to match a version number. | 1411 | # Remember, each alternative MUST END IN *, to match a version number. |
1384 | ;; | 1412 | ;; |
1385 | -qnx*) | 1413 | -qnx*) |
@@ -1503,9 +1531,6 @@ case $os in | |||
1503 | -aros*) | 1531 | -aros*) |
1504 | os=-aros | 1532 | os=-aros |
1505 | ;; | 1533 | ;; |
1506 | -kaos*) | ||
1507 | os=-kaos | ||
1508 | ;; | ||
1509 | -zvmoe) | 1534 | -zvmoe) |
1510 | os=-zvmoe | 1535 | os=-zvmoe |
1511 | ;; | 1536 | ;; |
@@ -1514,6 +1539,8 @@ case $os in | |||
1514 | ;; | 1539 | ;; |
1515 | -nacl*) | 1540 | -nacl*) |
1516 | ;; | 1541 | ;; |
1542 | -ios) | ||
1543 | ;; | ||
1517 | -none) | 1544 | -none) |
1518 | ;; | 1545 | ;; |
1519 | *) | 1546 | *) |
@@ -1554,6 +1581,9 @@ case $basic_machine in | |||
1554 | c4x-* | tic4x-*) | 1581 | c4x-* | tic4x-*) |
1555 | os=-coff | 1582 | os=-coff |
1556 | ;; | 1583 | ;; |
1584 | c8051-*) | ||
1585 | os=-elf | ||
1586 | ;; | ||
1557 | hexagon-*) | 1587 | hexagon-*) |
1558 | os=-elf | 1588 | os=-elf |
1559 | ;; | 1589 | ;; |