From Shaun Jackman <sjackman@gmail.com>:

* config.sub: Add the KERNEL-OS combination linux-newlib*.
	* testsuite/config-sub.data: Add a test for i386-linux-newlib.
This commit is contained in:
Ben Elliston 2005-12-11 11:08:06 +00:00
parent 3b2d78786a
commit 59bd9e65b4
3 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2005-12-11 Ben Elliston <bje@gnu.org>
From Shaun Jackman <sjackman@gmail.com>:
* 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 <bje@gnu.org>
Reported by Leif Ekblad <leif@rdos.net>:

8
config.sub vendored
View File

@ -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* \

View File

@ -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