From: Sebastian Huber Date: Fri, 6 Jul 2018 05:57:35 +0000 (+0000) Subject: Update config.guess and config.sub X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c234070e9487cffe9440441bf12487b7e2acbc62;p=gcc.git 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 --- diff --git a/ChangeLog b/ChangeLog index 40324899468..3140078cbbb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2018-07-06 Sebastian Huber + + * config.guess: Sync with upstream version 2018-06-26. + * config.sub: Sync with upstream version 2018-07-02. + 2018-06-19 Bernhard M. Wiedemann * libtool.m4: Sort output of 'find' to enable deterministic builds. diff --git a/config.guess b/config.guess index 883a6713bf0..445c406836e 100755 --- a/config.guess +++ b/config.guess @@ -2,7 +2,7 @@ # Attempt to guess a canonical system name. # Copyright 1992-2018 Free Software Foundation, Inc. -timestamp='2018-05-19' +timestamp='2018-06-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 @@ -894,8 +894,8 @@ EOF # other systems with GNU libc and userland echo "$UNAME_MACHINE-unknown-`echo "$UNAME_SYSTEM" | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`-$LIBC" exit ;; - i*86:Minix:*:*) - echo "$UNAME_MACHINE"-pc-minix + *:Minix:*:*) + echo "$UNAME_MACHINE"-unknown-minix exit ;; aarch64:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" 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 ;;