From 59bd9e65b4b71584ada806f04caf95214397c9e3 Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Sun, 11 Dec 2005 11:08:06 +0000 Subject: [PATCH] From Shaun Jackman : * config.sub: Add the KERNEL-OS combination linux-newlib*. * testsuite/config-sub.data: Add a test for i386-linux-newlib. --- ChangeLog | 6 ++++++ config.sub | 8 +++++--- testsuite/config-sub.data | 1 + 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index bdae5b2..00ce531 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-12-11 Ben Elliston + + From Shaun Jackman : + * config.sub: Add the KERNEL-OS combination linux-newlib*. + * testsuite/config-sub.data: Add a test for i386-linux-newlib. + 2005-12-11 Ben Elliston Reported by Leif Ekblad : diff --git a/config.sub b/config.sub index b7c17a5..2851647 100755 --- a/config.sub +++ b/config.sub @@ -119,8 +119,9 @@ esac # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in - nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \ - kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*) + nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ + uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ + storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; @@ -1199,7 +1200,8 @@ case $os in | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -chorusos* | -chorusrdb* \ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ - | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \ + | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ + | -uxpv* | -beos* | -mpeix* | -udk* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ diff --git a/testsuite/config-sub.data b/testsuite/config-sub.data index e6304d9..aa71afe 100644 --- a/testsuite/config-sub.data +++ b/testsuite/config-sub.data @@ -76,3 +76,4 @@ mt mt-unknown-none mt-elf mt-unknown-elf rdos i386-pc-rdos i586-rdos i586-pc-rdos +i386-linux-newlib i386-pc-linux-newlib