[committed] Update config.sub

Message ID 20180706062622.7403-1-sebastian.huber@embedded-brains.de
State New
Headers show
Series
  • [committed] Update config.sub
Related show

Commit Message

Sebastian Huber July 6, 2018, 6:26 a.m.
* config.sub: Sync with upstream version 2018-07-03.
---
 ChangeLog  |  4 ++++
 config.sub | 12 +++---------
 2 files changed, 7 insertions(+), 9 deletions(-)

-- 
2.13.7

Patch

diff --git a/ChangeLog b/ChangeLog
index f6b6fa0968..8718a84ab4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@ 
+2018-07-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
+
+	* config.sub: Sync with upstream version 2018-07-03.
+
 2018-07-05  Sebastian Huber  <sebastian.huber@embedded-brains.de>
 
 	* config.guess: Sync with upstream version 2018-06-26.
diff --git a/config.sub b/config.sub
index 072700fb03..c95acc681d 100755
--- a/config.sub
+++ b/config.sub
@@ -2,7 +2,7 @@ 
 # Configuration validation subroutine script.
 #   Copyright 1992-2018 Free Software Foundation, Inc.
 
-timestamp='2018-07-02'
+timestamp='2018-07-03'
 
 # This file is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License as published by
@@ -625,7 +625,7 @@  case $basic_machine in
 	| powerpc | powerpc64 | powerpc64le | powerpcle \
 	| pru \
 	| pyramid \
-	| riscv32 | riscv64 \
+	| riscv | riscv32 | riscv64 \
 	| rl78 | rx \
 	| score \
 	| sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[234]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
@@ -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-* \
@@ -1125,12 +1125,6 @@  case $basic_machine in
 	ps2)
 		basic_machine=i386-ibm
 		;;
-	riscv)
-		basic_machine=riscv32-unknown
-		;;
-	riscv-*)
-		basic_machine=`echo "$basic_machine" | sed 's/^riscv/riscv32/'`
-		;;
 	rm[46]00)
 		basic_machine=mips-siemens
 		;;