summaryrefslogtreecommitdiff
path: root/config.sub
diff options
context:
space:
mode:
authorJan-Benedict Glaw <jbglaw@lug-owl.de>2014-11-15 23:44:29 +0000
committerJan-Benedict Glaw <jbglaw@gcc.gnu.org>2014-11-15 23:44:29 +0000
commite4ff7e6ab072daadbafb49b12f0760c5bad3360f (patch)
treef4de8694a73288f742334c9e43f42850a0faf0f1 /config.sub
parent8ed2e447820bcd86719b1af863d9e46b82a193d0 (diff)
downloadgcc-e4ff7e6ab072daadbafb49b12f0760c5bad3360f.tar.gz
Update config.{sub,guess} from upstream repo
2014-11-16 Jan-Benedict Glaw <jbglaw@lug-owl.de> * config.sub: Update from upstream config repo. * config.guess: Ditto. From-SVN: r217619
Diffstat (limited to 'config.sub')
-rwxr-xr-xconfig.sub11
1 files changed, 9 insertions, 2 deletions
diff --git a/config.sub b/config.sub
index 88a0cb463a8..7cc68ba113f 100755
--- a/config.sub
+++ b/config.sub
@@ -2,7 +2,7 @@
# Configuration validation subroutine script.
# Copyright 1992-2014 Free Software Foundation, Inc.
-timestamp='2014-07-28'
+timestamp='2014-09-26'
# 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
@@ -25,7 +25,7 @@ timestamp='2014-07-28'
# of the GNU General Public License, version 3 ("GPLv3").
-# Please send patches with a ChangeLog entry to config-patches@gnu.org.
+# Please send patches to <config-patches@gnu.org>.
#
# Configuration subroutine to validate and canonicalize a configuration type.
# Supply the specified configuration type as an argument.
@@ -302,6 +302,7 @@ case $basic_machine in
| pdp10 | pdp11 | pj | pjl \
| powerpc | powerpc64 | powerpc64le | powerpcle \
| pyramid \
+ | riscv32 | riscv64 \
| rl78 | rx \
| score \
| sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
@@ -326,6 +327,9 @@ case $basic_machine in
c6x)
basic_machine=tic6x-unknown
;;
+ leon|leon[3-9])
+ basic_machine=sparc-$basic_machine
+ ;;
m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip)
basic_machine=$basic_machine-unknown
os=-none
@@ -773,6 +777,9 @@ case $basic_machine in
basic_machine=m68k-isi
os=-sysv
;;
+ leon-*|leon[3-9]-*)
+ basic_machine=sparc-`echo $basic_machine | sed 's/-.*//'`
+ ;;
m68knommu)
basic_machine=m68k-unknown
os=-linux