patches/gcc/4.1.1/110-arm-eabi.patch
changeset 1617 7d70bcf940a9
parent 1602 1ba79f2126df
parent 1616 1fda13e5d961
child 1618 7f52e1cca71e
     1.1 --- a/patches/gcc/4.1.1/110-arm-eabi.patch	Wed Oct 28 12:03:38 2009 +0100
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,27 +0,0 @@
     1.4 ---- gcc-2005q3-1.orig/gcc/config.gcc	2005-10-31 19:02:54.000000000 +0300
     1.5 -+++ gcc-2005q3-1/gcc/config.gcc	2006-01-27 01:09:09.000000000 +0300
     1.6 -@@ -674,7 +674,7 @@
     1.7 - 	tm_file="dbxelf.h elfos.h linux.h arm/elf.h arm/linux-gas.h arm/linux-elf.h" 
     1.8 - 	tmake_file="${tmake_file} t-linux arm/t-arm"
     1.9 - 	case ${target} in
    1.10 --	arm*-*-linux-gnueabi)
    1.11 -+	arm*-*-linux-gnueabi | arm*-*-linux-uclibcgnueabi)
    1.12 - 	    tm_file="$tm_file arm/bpabi.h arm/linux-eabi.h"
    1.13 - 	    tmake_file="$tmake_file arm/t-arm-elf arm/t-bpabi arm/t-linux-eabi"
    1.14 -   	    # The BPABI long long divmod functions return a 128-bit value in 
    1.15 -
    1.16 -diff -urN gcc-2005q3-2/gcc/config/arm/linux-eabi.h gcc-2005q3-2.new/gcc/config/arm/linux-eabi.h
    1.17 ---- gcc-2005q3-2/gcc/config/arm/linux-eabi.h	2005-12-07 23:14:16.000000000 +0300
    1.18 -+++ gcc-2005q3-2.new/gcc/config/arm/linux-eabi.h	2006-03-29 19:02:34.000000000 +0400
    1.19 -@@ -53,7 +53,11 @@
    1.20 - /* Use ld-linux.so.3 so that it will be possible to run "classic"
    1.21 -    GNU/Linux binaries on an EABI system.  */
    1.22 - #undef LINUX_TARGET_INTERPRETER
    1.23 -+#ifdef USE_UCLIBC
    1.24 -+#define LINUX_TARGET_INTERPRETER "/lib/ld-uClibc.so.0"
    1.25 -+#else
    1.26 - #define LINUX_TARGET_INTERPRETER "/lib/ld-linux.so.3"
    1.27 -+#endif
    1.28 - 
    1.29 - /* At this point, bpabi.h will have clobbered LINK_SPEC.  We want to
    1.30 -    use the GNU/Linux version, not the generic BPABI version.  */