From 0388bdcb1116a7d817ffc78782dd5855cfaa7c96 Mon Sep 17 00:00:00 2001 From: Sevan Janiyan Date: Tue, 26 Jun 2018 11:54:17 +1000 Subject: [PATCH] * config.guess (*:Minix:*:*): Accept any machine. * testsuite/config-guess.data: Add a test case. Signed-off-by: Ben Elliston --- ChangeLog | 6 ++++++ config.guess | 6 +++--- testsuite/config-guess.data | 1 + 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index a024ad8..dc19a4b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2018-06-26 Sevan Janiyan + Ben Elliston + + * config.guess (*:Minix:*:*): Accept any machine. + * testsuite/config-guess.data: Add a test case. + 2018-06-22 Palmer Dabbelt * config.sub: Add riscv-* as an alias for riscv32-*. diff --git a/config.guess b/config.guess index 883a671..445c406 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/testsuite/config-guess.data b/testsuite/config-guess.data index 4fc98f6..7099610 100644 --- a/testsuite/config-guess.data +++ b/testsuite/config-guess.data @@ -35,6 +35,7 @@ evbarm 7.0 NetBSD ignored earmv7hfeb armv7eb-unknown-netbsdelf7.0-eabi frv 2.4.24 Linux ignored ignored frv-unknown-linux-gnu genuineintel 6.0 Interix ignored ignored x86_64-unknown-interix6.0 hexagon 1.0 Linux ignored ignored hexagon-unknown-linux-gnu +i386 1.0 Minix ignored ignored i386-unknown-minix i386 1.0 MINGW ignored ignored i386-pc-mingw32 i386 1.0 Sortix ignored ignored i386-unknown-sortix i386 12.1 AROS ignored ignored i386-pc-aros