* config.sub (wasm64, wasi): Recognise.

* testsuite/config-sub.data: Add test cases for wasm (Web Assembly) and
	wasi (Web Assembly System Interface).

Signed-off-by: Ben Elliston <bje@gnu.org>
This commit is contained in:
John Ericson 2019-04-15 08:57:26 +10:00 committed by Ben Elliston
parent a7dc12fa30
commit a8d79c3130
3 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2019-04-14 John Ericson <git@johnericson.me>
* config.sub (wasm64, wasi): Recognise.
* testsuite/config-sub.data: Add test cases for wasm (Web Assembly) and
wasi (Web Assembly System Interface).
2019-03-29 Ben Elliston <bje@gnu.org>
* testsuite/config-sub.data: Sort.

5
config.sub vendored
View File

@ -1247,7 +1247,8 @@ case $cpu-$vendor in
| v70 | v850 | v850e | v850e1 | v850es | v850e2 | v850e2v3 \
| vax \
| visium \
| w65 | wasm32 \
| w65 \
| wasm32 | wasm64 \
| we32k \
| x86 | x86_64 | xc16x | xgate | xps100 \
| xstormy16 | xtensa* \
@ -1367,7 +1368,7 @@ case $os in
| powermax* | dnix* | nx6 | nx7 | sei* | dragonfly* \
| skyos* | haiku* | rdos* | toppers* | drops* | es* \
| onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \
| midnightbsd* | amdhsa* | unleashed* | emscripten*)
| midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi*)
# Remember, each alternative MUST END IN *, to match a version number.
;;
qnx*)

View File

@ -620,6 +620,9 @@ visium-elf visium-unknown-elf
visium visium-unknown-none
vsta i386-pc-vsta
wasm32-emscripten wasm32-unknown-emscripten
wasm64-emscripten wasm64-unknown-emscripten
wasm32-wasi wasm32-unknown-wasi
wasm64-wasi wasm64-unknown-wasi
wasm32 wasm32-unknown-none
we32k we32k-att-sysv
x64-linux x86_64-pc-linux-gnu