From 3b2d78786a5cef4f873fcc6d0fb27eed712c6437 Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Sun, 11 Dec 2005 10:56:13 +0000 Subject: [PATCH] Reported by Leif Ekblad : * config.guess (i*86:rdos:*:*): New. * config.sub: Handle rdos. * testsuite/config-guess.data: Add test case for RDOS. * testsuite/config-sub.data: Likewise. --- ChangeLog | 8 ++++++++ config.guess | 5 ++++- config.sub | 8 ++++++-- testsuite/config-guess.data | 1 + testsuite/config-sub.data | 2 ++ 5 files changed, 21 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2a24c09..bdae5b2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2005-12-11 Ben Elliston + + Reported by Leif Ekblad : + * config.guess (i*86:rdos:*:*): New. + * config.sub: Handle rdos. + * testsuite/config-guess.data: Add test case for RDOS. + * testsuite/config-sub.data: Likewise. + 2005-12-09 Ben Elliston Reported by Jan-Benedict Glaw : diff --git a/config.guess b/config.guess index a8f2927..be0de06 100755 --- a/config.guess +++ b/config.guess @@ -3,7 +3,7 @@ # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. -timestamp='2005-12-09' +timestamp='2005-12-11' # 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 @@ -1266,6 +1266,9 @@ EOF i*86:skyos:*:*) echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' exit ;; + i*86:rdos:*:*) + echo ${UNAME_MACHINE}-pc-rdos + exit ;; esac #echo '(No uname command or uname output not recognized.)' 1>&2 diff --git a/config.sub b/config.sub index 59e7208..b7c17a5 100755 --- a/config.sub +++ b/config.sub @@ -3,7 +3,7 @@ # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. -timestamp='2005-12-09' +timestamp='2005-12-11' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software @@ -873,6 +873,10 @@ case $basic_machine in basic_machine=i586-unknown os=-pw32 ;; + rdos) + basic_machine=i386-pc + os=-rdos + ;; rom68k) basic_machine=m68k-rom68k os=-coff @@ -1202,7 +1206,7 @@ case $os in | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ - | -skyos* | -haiku*) + | -skyos* | -haiku* | -rdos*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) diff --git a/testsuite/config-guess.data b/testsuite/config-guess.data index 3b6b62c..8ecacc3 100644 --- a/testsuite/config-guess.data +++ b/testsuite/config-guess.data @@ -15,3 +15,4 @@ x86_64 1.5.18(0.132/4/2) CYGWIN_NT-5.2 ignored x86_64-unknown-cygwin x86 5.0 Interix ignored i586-pc-interix5 ppc64 2.6.9-22 Linux ignored powerpc64-unknown-linux-gnu vax 2.6.15 Linux ignored vax-dec-linux-gnu +i586 ignored rdos ignored i586-pc-rdos diff --git a/testsuite/config-sub.data b/testsuite/config-sub.data index 71d8979..e6304d9 100644 --- a/testsuite/config-sub.data +++ b/testsuite/config-sub.data @@ -74,3 +74,5 @@ i386-pc-sco6 i386-pc-sco5v6 i386-pc-sco5v6 i386-pc-sco5v6 mt mt-unknown-none mt-elf mt-unknown-elf +rdos i386-pc-rdos +i586-rdos i586-pc-rdos