patches/gcc/2.95.3/110-backport-config.gcc-1.4.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed May 20 20:13:13 2009 +0000 (2009-05-20)
changeset 1345 27fec561af53
permissions -rw-r--r--
Merge the uClinux/noMMU stuff back to /trunk:
- merge Linux and uClinux back to a single kernel
- add ARCH_USE_MMU and acquainted config options that
architectures can auto-select
- make binutils and elf2flt two "Binary utilities" that
go in a single common sub-{menu,directory} structure

-------- diffstat follows --------
/trunk/scripts/build/kernel/uclinux.sh | 2 0 2 0 -
/trunk/scripts/build/kernel/linux.sh | 206 204 2 0 +++++++++++++++++++++++++++++
/trunk/scripts/build/kernel/linux-common.sh | 198 0 198 0 ----------------------------
/trunk/scripts/build/binutils.sh | 232 0 232 0 --------------------------------
/trunk/scripts/build/elf2flt.sh | 150 0 150 0 ---------------------
/trunk/scripts/crosstool-NG.sh.in | 6 4 2 0 +
/trunk/config/kernel/linux.in | 249 249 0 0 +++++++++++++++++++++++++++++++++++
/trunk/config/kernel/linux.in-common | 252 0 252 0 -----------------------------------
/trunk/config/kernel/uclinux.in | 21 0 21 0 ---
/trunk/config/target.in | 23 22 1 0 +++
/trunk/config/elf2flt.in | 49 0 49 0 -------
/trunk/config/libc/glibc.in | 2 1 1 0
/trunk/config/libc/eglibc.in | 2 1 1 0
/trunk/config/config.in | 1 0 1 0 -
/trunk/config/arch/sh.in | 1 1 0 0 +
/trunk/config/arch/arm.in | 2 1 1 0
/trunk/config/arch/powerpc.in | 1 1 0 0 +
/trunk/config/arch/ia64.in | 1 1 0 0 +
/trunk/config/arch/alpha.in | 1 1 0 0 +
/trunk/config/arch/x86.in | 1 1 0 0 +
/trunk/config/arch/mips.in | 1 1 0 0 +
/trunk/config/arch/powerpc64.in | 1 1 0 0 +
22 files changed, 489 insertions(+), 913 deletions(-)
     1 # Taken from http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config.gcc.diff?r1=1.3&r2=1.4
     2 # Should fix error
     3 #   Configuration powerpc-host_apple-darwin7.3.0 not supported
     4 # when configuring gcc-2.95 on Mac OS X for i686 target
     5 # Also create xm-darwin.h, seems to be required, else we get the error
     6 #   In file included from .../gcc-2.95.3/gcc/gencheck.c:21:
     7 #   hconfig.h:11:30: rs6000/xm-darwin.h: No such file or directory
     8 #   make[1]: *** [gencheck.o] Error 1
     9 
    10 
    11 --- gcc-2.95.3/gcc/configure.old	2004-03-24 12:17:44.000000000 -0800
    12 +++ gcc-2.95.3/gcc/configure	2004-03-24 17:14:38.000000000 -0800
    13 @@ -5079,6 +5079,10 @@
    14  		tmake_file=rs6000/t-beos
    15  		xmake_file=rs6000/x-beos
    16  		;;
    17 +	powerpc-*-darwin*)
    18 +		xm_file="rs6000/xm-rs6000.h rs6000/xm-darwin.h"
    19 +		xmake_file=rs6000/x-darwin
    20 +		;;
    21  	powerpc-*-sysv* | powerpc-*-elf*)
    22  		tm_file=rs6000/sysv4.h
    23  		xm_file="xm-siglist.h rs6000/xm-sysv4.h"
    24 --- /dev/null	2003-01-30 02:24:37.000000000 -0800
    25 +++ gcc-3.0.4/gcc/config/rs6000/xm-darwin.h	2000-11-20 19:02:09.000000000 -0800
    26 @@ -0,0 +1,9 @@
    27 +/* Undo the USG definition in xm-rs6000.h, Darwin is a BSD flavor.  */
    28 +
    29 +#undef USG
    30 +
    31 +/* Override the usual setting, since Apple's GCC has lame bugs and
    32 +   can't handle the initializers.  Someday the bugs will be fixed and
    33 +   we can get rid of this silliness.  */
    34 +
    35 +#define HAVE_DESIGNATED_INITIALIZERS 0