* 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

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
;;