* config.sub: Recognise wasm32.

* testsuite/config-sub.data: Add a test case.

Signed-off-by: Ben Elliston <bje@gnu.org>
This commit is contained in:
Pip Cet 2017-03-21 07:07:52 +11:00 committed by Ben Elliston
parent 00666e7b39
commit 4d34a6a75e
3 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2017-03-21 Pip Cet <pipcet@gmail.com>
* config.sub: Recognise wasm32.
* testsuite/config-sub.data: Add a test case.
2017-03-05 Gerald Pfeifer <gerald@pfeifer.com>
* config.guess (*:FreeBSD:*:*): Refactor CPU handling.

7
config.sub vendored
View File

@ -2,7 +2,7 @@
# Configuration validation subroutine script.
# Copyright 1992-2017 Free Software Foundation, Inc.
timestamp='2017-02-07'
timestamp='2017-03-21'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@ -315,6 +315,7 @@ case $basic_machine in
| ubicom32 \
| v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
| visium \
| wasm32 \
| we32k \
| x86 | xc16x | xstormy16 | xtensa \
| z8k | z80)
@ -446,6 +447,7 @@ case $basic_machine in
| v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
| vax-* \
| visium-* \
| wasm32-* \
| we32k-* \
| x86-* | x86_64-* | xc16x-* | xps100-* \
| xstormy16-* | xtensa*-* \
@ -1246,6 +1248,9 @@ case $basic_machine in
basic_machine=a29k-wrs
os=-vxworks
;;
wasm32)
basic_machine=wasm32-unknown
;;
w65*)
basic_machine=w65-wdc
os=-none

View File

@ -507,6 +507,7 @@ v850e v850e-unknown-none
v850 v850-unknown-none
visium-elf visium-unknown-elf
visium visium-unknown-none
wasm32 wasm32-unknown-none
we32k we32k-unknown-none
x86_64-cygwin x86_64-pc-cygwin
x86_64-dicos x86_64-pc-dicos