From fc7ed3ed8f056d7591b041e82880aeb12552c757 Mon Sep 17 00:00:00 2001 From: David Hill Date: Sun, 17 Jun 2012 08:38:27 +1000 Subject: [PATCH] * config.guess (*:Bitrig:*:*): New. * config.sub (-bitrig*): Likewise. * testsuite/config-sub.data: Add a test case. Signed-off-by: Ben Elliston --- ChangeLog | 6 ++++++ config.guess | 6 +++++- config.sub | 2 +- testsuite/config-sub.data | 1 + 4 files changed, 13 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4a9e325..b6cec46 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-06-17 David Hill + + * config.guess (*:Bitrig:*:*): New. + * config.sub (-bitrig*): Likewise. + * testsuite/config-sub.data: Add a test case. + 2012-06-10 Dmitriy Fedchenko Ben Elliston diff --git a/config.guess b/config.guess index c0adba9..aa04f04 100755 --- a/config.guess +++ b/config.guess @@ -4,7 +4,7 @@ # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, # 2011, 2012 Free Software Foundation, Inc. -timestamp='2012-06-10' +timestamp='2012-06-17' # 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 @@ -200,6 +200,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. echo "${machine}-${os}${release}" exit ;; + *:Bitrig:*:*) + UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'` + echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE} + exit ;; *:OpenBSD:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} diff --git a/config.sub b/config.sub index 6205f84..8beeb41 100755 --- a/config.sub +++ b/config.sub @@ -1352,7 +1352,7 @@ case $os in | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ - | -openbsd* | -solidbsd* \ + | -bitrig* | -openbsd* | -solidbsd* \ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ diff --git a/testsuite/config-sub.data b/testsuite/config-sub.data index 4311df9..8636710 100644 --- a/testsuite/config-sub.data +++ b/testsuite/config-sub.data @@ -55,6 +55,7 @@ frv-linux frv-unknown-linux-gnu hexagon-linux hexagon-unknown-linux-gnu hexagon hexagon-unknown-elf i386-aros i386-pc-aros +i386-bitrig i386-pc-bitrig i386-drops1.0 i386-pc-drops1.0 i386-elf i386-pc-elf i386-es i386-pc-es