From 478579434f93e619e3159e1f2dfc5fb498b12542 Mon Sep 17 00:00:00 2001 From: John Ericson Date: Fri, 24 Aug 2018 20:36:55 +1000 Subject: [PATCH] * config.sub (cr16-*): Do not clobber vendor. * testsuite/config-sub.data (cr16-random-elf): Adjust test case. Signed-off-by: Ben Elliston --- ChangeLog | 5 +++++ config.sub | 5 ++++- testsuite/config-sub.data | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index b0cf632..c3d9a17 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2018-08-24 John Ericson + + * config.sub (cr16-*): Do not clobber vendor. + * testsuite/config-sub.data (cr16-random-elf): Adjust test case. + 2018-08-24 John Ericson * config.sub: Consolidate some *-* patterns above big patterns. diff --git a/config.sub b/config.sub index 532a5dd..7ab164f 100755 --- a/config.sub +++ b/config.sub @@ -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 ;; diff --git a/testsuite/config-sub.data b/testsuite/config-sub.data index 0ec8e3c..cffecd5 100644 --- a/testsuite/config-sub.data +++ b/testsuite/config-sub.data @@ -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