* config.sub (cr16-*): Do not clobber vendor.

* testsuite/config-sub.data (cr16-random-elf): Adjust test case.

Signed-off-by: Ben Elliston <bje@gnu.org>
This commit is contained in:
John Ericson 2018-08-24 20:36:55 +10:00 committed by Ben Elliston
parent ddf4d5ca18
commit 478579434f
3 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2018-08-24 John Ericson <john.ericson@obsidian.systems>
* config.sub (cr16-*): Do not clobber vendor.
* testsuite/config-sub.data (cr16-random-elf): Adjust test case.
2018-08-24 John Ericson <john.ericson@obsidian.systems>
* config.sub: Consolidate some *-* patterns above big patterns.

5
config.sub vendored
View File

@ -1065,10 +1065,13 @@ case $basic_machine in
amd64-*)
basic_machine=x86_64-`echo "$basic_machine" | sed 's/^[^-]*-//'`
;;
cr16 | cr16-*)
cr16)
basic_machine=cr16-unknown
os=${os:-elf}
;;
cr16-*)
os=${os:-elf}
;;
crisv32 | crisv32-* | etraxfs*)
basic_machine=crisv32-axis
;;

View File

@ -128,7 +128,7 @@ clipper clipper-unknown-none
clipper-clix clipper-intergraph-clix
cr16 cr16-unknown-elf
cr16-elf cr16-unknown-elf
cr16-random-elf cr16-unknown-elf
cr16-random-elf cr16-random-elf
crx crx-unknown-elf
crds m68k-crds-unos
cris-linux cris-axis-linux-gnu