[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC] Add "riscv-" for embedded cross toolchains
From: |
Ben Elliston |
Subject: |
Re: [RFC] Add "riscv-" for embedded cross toolchains |
Date: |
Tue, 3 Jul 2018 14:45:20 +1000 |
User-agent: |
NeoMutt/20170609 (1.8.3) |
How is this?
2018-07-03 Liviu Ionescu <address@hidden>
Ben Elliston <address@hidden>
* config.sub: Recognise riscv-*.
* testsuite/config-sub.data: Adjust tests.
diff --git a/config.sub b/config.sub
index 072700f..76c4640 100755
--- a/config.sub
+++ b/config.sub
@@ -752,7 +752,7 @@ case $basic_machine in
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
| pru-* \
| pyramid-* \
- | riscv32-* | riscv64-* \
+ | riscv-* | riscv32-* | riscv64-* \
| rl78-* | romp-* | rs6000-* | rx-* \
| sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-*
| sheb-* | shbe-* \
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
@@ -1126,7 +1126,7 @@ case $basic_machine in
basic_machine=i386-ibm
;;
riscv)
- basic_machine=riscv32-unknown
+ basic_machine=riscv-unknown
;;
riscv-*)
basic_machine=`echo "$basic_machine" | sed 's/^riscv/riscv32/'`
diff --git a/testsuite/config-sub.data b/testsuite/config-sub.data
index 7ad1f76..5ab1807 100644
--- a/testsuite/config-sub.data
+++ b/testsuite/config-sub.data
@@ -422,11 +422,11 @@ riscv64-elf
riscv64-unknown-elf
riscv64-hcos riscv64-unknown-hcos
riscv64-linux riscv64-unknown-linux-gnu
riscv64 riscv64-unknown-none
-riscv-company-elf riscv32-company-elf
-riscv-company-hcos riscv32-company-hcos
-riscv-elf riscv32-unknown-elf
-riscv-linux riscv32-unknown-linux-gnu
-riscv riscv32-unknown-none
+riscv-company-elf riscv-company-elf
+riscv-company-hcos riscv-company-hcos
+riscv-elf riscv-unknown-elf
+riscv-linux riscv-unknown-linux-gnu
+riscv riscv-unknown-none
rl78-linux rl78-unknown-linux-gnu
rl78 rl78-unknown-none
rx-linux rx-unknown-linux-gnu
signature.asc
Description: PGP signature
- Re: [RFC] Add "riscv-" for embedded cross toolchains,
Ben Elliston <=
- Re: [RFC] Add "riscv-" for embedded cross toolchains, Liviu Ionescu, 2018/07/03
- Re: [RFC] Add "riscv-" for embedded cross toolchains, Ben Elliston, 2018/07/03
- Re: [RFC] Add "riscv-" for embedded cross toolchains, Ben Elliston, 2018/07/09
- Re: [RFC] Add "riscv-" for embedded cross toolchains, Liviu Ionescu, 2018/07/09
- Re: [RFC] Add "riscv-" for embedded cross toolchains, Jim Wilson, 2018/07/09
- Re: [RFC] Add "riscv-" for embedded cross toolchains, Ben Elliston, 2018/07/10