Commit b36f67cc authored by Mike Frysinger's avatar Mike Frysinger
Browse files

update to latest upstream cvs and add support for nios2

parent 85eff8d0
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -9,6 +9,6 @@ D/tests////
D/testsuite////
/Makefile/1.6/Thu Aug  4 14:15:16 2005//
/uname/1.4/Thu Aug  4 14:15:16 2005//
/ChangeLog/1.339/Mon Nov 21 19:15:04 2005//
/config.guess/1.336/Result of merge//
/config.sub/1.331/Result of merge//
/ChangeLog/1.346/Wed Jan  4 04:04:46 2006//
/config.guess/1.342/Wed Jan  4 04:04:46 2006//
/config.sub/1.337/Wed Jan  4 04:04:46 2006//
+1 −1
Original line number Diff line number Diff line
:ext:anoncvs@savannah.gnu.org:/cvsroot/config
:pserver:anonymous@cvs.savannah.gnu.org:/cvsroot/config
+55 −0
Original line number Diff line number Diff line
2006-01-02  Ben Elliston  <bje@gnu.org>

	* config.guess (*:SolidBSD:*:*): New.
	* config.sub (-solidbsd*): New.
	* testsuite/config-guess.data: Add test case.
	* testsuite/config-sub.data: Ditto.

2005-12-23  Ben Elliston  <bje@gnu.org>

	From Takahashi Yoshihiro <nyan@jp.FreeBSD.org>:
	* config.guess (pc98:FreeBSD:*:*) Add special case.
	* config.sub (pc98, pc98-*): New.
	* testsuite/config-guess.data: Add test case.
	* testsuite/config-sub.data: Ditto.

2005-12-22  Ben Elliston  <bje@gnu.org>

	From John Williams <jwilliams@itee.uq.edu.au>:
	* config.sub (mb, microblaze): New basic_machine.
	* testsuite/config-sub.data: New tests.

2005-12-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	* config.guess (mips:Linux:*:*, mips64:Linux:*:*, i*86:Linux:*:*):
	Fix quoting of eval command line, allow for preprocessor to insert
	white space between C tokens.
	(i*86:Linux:*:*): Handle Portland Group pgcc like Intel icc; it
	doesn't define __ELF__ either.

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>:
	* 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  <bje@gnu.org>

	Reported by Jan-Benedict Glaw <jbglaw@lug-owl.de>:
	* config.guess (vax:Linux:*:): Detect as vax-dec-linux-gnu.
	* testsuite/config-guess.data: Add test.

2005-12-09  Nathan Sidwell  <nathan@codesourcery.com>

	* config.sub (mt): Rename from ms1.
	(ms1): Alias it to mt for backward compatibility.
	* testsuite/config-sub.data: Update testsuite.

2005-11-13  Kean Johnston  <jkj@sco.com>

	* config.sub: Allow -sco6 and -sco5v6 to be aliases for SCO
+22 −7
Original line number Diff line number Diff line
@@ -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-11-11'
timestamp='2006-01-02'

# 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
@@ -223,6 +223,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
    *:ekkoBSD:*:*)
	echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
	exit ;;
    *:SolidBSD:*:*)
	echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
	exit ;;
    macppc:MirBSD:*:*)
	echo powerppc-unknown-mirbsd${UNAME_RELEASE}
	exit ;;
@@ -781,7 +784,12 @@ EOF
	echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
	exit ;;
    *:FreeBSD:*:*)
	echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
	case ${UNAME_MACHINE} in
	    pc98)
		echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
	    *)
		echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
	esac
	exit ;;
    i*:CYGWIN*:*)
	echo ${UNAME_MACHINE}-pc-cygwin
@@ -868,7 +876,7 @@ EOF
	#endif
	#endif
EOF
	eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
	eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '/^CPU/{s: ::g;p;}'`"
	test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
	;;
    mips64:Linux:*:*)
@@ -887,7 +895,7 @@ EOF
	#endif
	#endif
EOF
	eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
	eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '/^CPU/{s: ::g;p;}'`"
	test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
	;;
    or32:Linux:*:*)
@@ -936,6 +944,9 @@ EOF
    sparc:Linux:*:* | sparc64:Linux:*:*)
	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
	exit ;;
    vax:Linux:*:*)
	echo ${UNAME_MACHINE}-dec-linux-${LIBC}
	exit ;;
    x86_64:Linux:*:*)
	echo x86_64-unknown-linux-${LIBC}
	exit ;;
@@ -966,6 +977,7 @@ EOF
		echo "${UNAME_MACHINE}-pc-linux-${LIBC}oldld"
		exit ;;
	esac
	# This should get integrated into the C code below, but now we hack
	if [ "$LIBC" != "gnu" ] ; then echo "$TENTATIVE" && exit 0 ; fi
	# Determine whether the default compiler is a.out or elf
	eval $set_cc_for_build
@@ -982,7 +994,7 @@ EOF
	LIBC=gnulibc1
	# endif
	#else
	#ifdef __INTEL_COMPILER
	#if defined(__INTEL_COMPILER) || defined(__PGI)
	LIBC=gnu
	#else
	LIBC=gnuaout
@@ -992,7 +1004,7 @@ EOF
	LIBC=dietlibc
	#endif
EOF
	eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
	eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '/^LIBC/{s: ::g;p;}'`"
	test x"${LIBC}" != x && {
		echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
		exit
@@ -1281,6 +1293,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
+32 −9
Original line number Diff line number Diff line
@@ -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-11-13'
timestamp='2006-01-02'

# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GNU software
@@ -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/'`
    ;;
@@ -247,7 +248,7 @@ case $basic_machine in
	| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
	| i370 | i860 | i960 | ia64 \
	| ip2k | iq2000 \
	| m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \
	| m32r | m32rle | m68000 | m68k | m88k | maxq | mb | microblaze | mcore \
	| mips | mipsbe | mipseb | mipsel | mipsle \
	| mips16 \
	| mips64 | mips64el \
@@ -265,7 +266,7 @@ case $basic_machine in
	| mipsisa64sr71k | mipsisa64sr71kel \
	| mipstx39 | mipstx39el \
	| mn10200 | mn10300 \
	| ms1 \
	| mt \
	| msp430 \
	| ns16k | ns32k \
	| or32 \
@@ -294,6 +295,13 @@ case $basic_machine in
		;;
	m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
		;;
	ms1)
		basic_machine=mt-unknown
		;;
	nios2 | nios2-* | nios2 | nios2-*)
		basic_machine=nios2-altera
		os=-none
		;;

	# We use `pc' rather than `unknown'
	# because (1) that's what they normally are, and
@@ -344,7 +352,7 @@ case $basic_machine in
	| mipsisa64sr71k-* | mipsisa64sr71kel-* \
	| mipstx39-* | mipstx39el-* \
	| mmix-* \
	| ms1-* \
	| mt-* \
	| msp430-* \
	| none-* | np1-* | ns16k-* | ns32k-* \
	| orion-* \
@@ -722,6 +730,9 @@ case $basic_machine in
		basic_machine=i386-pc
		os=-msdos
		;;
	ms1-*)
		basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
		;;
	mvs)
		basic_machine=i370-ibm
		os=-mvs
@@ -829,6 +840,12 @@ case $basic_machine in
	pc532 | pc532-*)
		basic_machine=ns32k-pc532
		;;
	pc98)
		basic_machine=i386-pc
		;;
	pc98-*)
		basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
		;;
	pentium | p5 | k5 | k6 | nexgen | viac3)
		basic_machine=i586-pc
		;;
@@ -885,6 +902,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
@@ -1200,21 +1221,23 @@ case $os in
	      | -aos* \
	      | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
	      | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
	      | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
	      | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
	      | -openbsd* | -solidbsd* \
	      | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
	      | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
	      | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
	      | -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* \
	      | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
	      | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
	      | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
	      | -skyos* | -haiku* | -irx*)
	      | -skyos* | -haiku* | -rdos* | -irx*)
	# Remember, each alternative MUST END IN *, to match a version number.
		;;
	-qnx*)
Loading