summaryrefslogtreecommitdiff
path: root/config.sub
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-07-06 05:57:35 +0000
committerSebastian Huber <sh@gcc.gnu.org>2018-07-06 05:57:35 +0000
commitc234070e9487cffe9440441bf12487b7e2acbc62 (patch)
tree1a671a6a4f672fa8bd40f30c7fef6369fde12456 /config.sub
parentc3659c58bb9b548e9c8223a88a49076e4d4c7d82 (diff)
downloadgcc-c234070e9487cffe9440441bf12487b7e2acbc62.tar.gz
Update config.guess and config.sub
* config.guess: Sync with upstream version 2018-06-26. * config.sub: Sync with upstream version 2018-07-02. From-SVN: r262466
Diffstat (limited to 'config.sub')
-rwxr-xr-xconfig.sub8
1 files changed, 7 insertions, 1 deletions
diff --git a/config.sub b/config.sub
index d1f5b549034..072700fb037 100755
--- a/config.sub
+++ b/config.sub
@@ -2,7 +2,7 @@
# Configuration validation subroutine script.
# Copyright 1992-2018 Free Software Foundation, Inc.
-timestamp='2018-05-24'
+timestamp='2018-07-02'
# 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
@@ -1125,6 +1125,12 @@ 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
;;