patches/gcc/2.95.3/120-backport-config.gcc-1.92.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Jan 06 22:22:02 2009 +0000 (2009-01-06)
changeset 1130 78681fe5cdd1
permissions -rw-r--r--
Update all samples to the latest set of config options.
There might be some small issues here and there due to the split of CT_ExtractAndPatch.

/trunk/samples/x86_64-unknown-linux-gnu/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/sh4-unknown-linux-gnu/crosstool.config | 13 10 3 0 +++++++++---
/trunk/samples/armeb-unknown-linux-uclibc/crosstool.config | 10 7 3 0 ++++++---
/trunk/samples/arm-unknown-elf/crosstool.config | 8 4 4 0 +++---
/trunk/samples/arm-unknown-linux-gnueabi/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/armeb-unknown-eabi/crosstool.config | 8 4 4 0 +++---
/trunk/samples/ia64-unknown-linux-gnu/crosstool.config | 13 10 3 0 +++++++++---
/trunk/samples/x86_64-unknown-linux-uclibc/crosstool.config | 11 8 3 0 +++++++---
/trunk/samples/armeb-unknown-linux-gnueabi/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/powerpc-e500v2-linux-gnuspe/crosstool.config | 11 8 3 0 +++++++---
/trunk/samples/i686-nptl-linux-gnu/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/powerpc-unknown-linux-gnu/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/arm-unknown-linux-gnu/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/mips-unknown-linux-uclibc/crosstool.config | 10 7 3 0 ++++++---
/trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config | 11 8 3 0 +++++++---
/trunk/samples/arm-iphone-linux-gnueabi/crosstool.config | 5 2 3 0 ++---
/trunk/samples/armeb-unknown-linux-gnu/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/powerpc-unknown_nofpu-linux-gnu/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/powerpc-unknown-linux-uclibc/crosstool.config | 10 7 3 0 ++++++---
/trunk/samples/arm-unknown-linux-uclibc/crosstool.config | 11 8 3 0 +++++++---
/trunk/samples/i586-geode-linux-uclibc/crosstool.config | 11 8 3 0 +++++++---
/trunk/samples/powerpc-405-linux-gnu/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/mips-unknown-elf/crosstool.config | 8 4 4 0 +++---
/trunk/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config | 11 8 3 0 +++++++---
/trunk/samples/mipsel-unknown-linux-gnu/crosstool.config | 13 10 3 0 +++++++++---
/trunk/samples/arm-unknown-eabi/crosstool.config | 8 4 4 0 +++---
/trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/powerpc-860-linux-gnu/crosstool.config | 13 10 3 0 +++++++++---
28 files changed, 237 insertions(+), 88 deletions(-)
     1 # Taken from http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config.gcc.diff?r1=1.91&r2=1.92
     2 # Should fix error
     3 #   Configuration x86_64-host_unknown-linux-gnu not supported
     4 # when configuring gcc-2.95 on x86_64 build for i686 target
     5 # It's a bit silly, since tm_file refers to files that don't exist,
     6 # but as long as x86_64 is just the build machine, that doesn't matter.
     7 
     8 --- gcc-2.95.3/gcc/configure.old	2004-03-24 12:17:44.000000000 -0800
     9 +++ gcc-2.95.3/gcc/configure	2004-03-24 12:19:30.000000000 -0800
    10 @@ -2929,6 +2929,9 @@
    11  	i[34567]86-*-*)
    12  		cpu_type=i386
    13  		;;
    14 +	x86_64-*-*)
    15 +		cpu_type=i386
    16 +		;;
    17  	hppa*-*-*)
    18  		cpu_type=pa
    19  		;;
    20 @@ -3643,6 +3646,19 @@
    21   			thread_file='posix'
    22   		fi
    23  		;;
    24 +	x86_64-*-linux*)
    25 +		xmake_file=x-linux
    26 +		tm_file="i386/biarch64.h i386/i386.h i386/att.h linux.h i386/x86-64.h \
    27 +			 i386/linux64.h"
    28 +		tmake_file="t-slibgcc-elf-ver t-linux i386/t-crtstuff"
    29 +		extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
    30 +		gnu_ld=yes
    31 +		float_format=i386
    32 +		if test x$enable_threads = xyes; then
    33 +			thread_file='posix'
    34 +		fi
    35 +		;;
    36 +
    37  	i[34567]86-*-gnu*)
    38  		float_format=i386
    39  		;;