Changeset d3cbdd9


Ignore:
Timestamp:
Apr 16, 2011, 12:54:54 PM (13 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
b40feff
Parents:
db10083
Message:

Updated GCC to 4.6.0.

Files:
3 edited
3 moved

Legend:

Unmodified
Added
Removed
  • BOOK/introduction/common/changelog.xml

    rdb10083 rd3cbdd9  
    4040      <para>April 16, 2011</para>
    4141      <itemizedlist>
     42        <listitem>
     43          <para>[jciccone] - Updated GCC to 4.6.0.</para>
     44        </listitem>
    4245        <listitem>
    4346          <para>[jciccone] - Updated Binutils to 2.21.</para>
  • BOOK/packages.ent

    rdb10083 rd3cbdd9  
    162162<!ENTITY gawk-home "&gnu-software;gawk">
    163163
    164 <!ENTITY gcc-version "4.5.2">
    165 <!ENTITY gcc-size "64,776 KB">
     164<!ENTITY gcc-version "4.6.0">
     165<!ENTITY gcc-size "69,904 KB">
    166166<!ENTITY gcc-url "ftp://gcc.gnu.org/pub/gcc/releases/gcc-&gcc-version;/gcc-&gcc-version;.tar.bz2">
    167 <!ENTITY gcc-md5 "d6559145853fbaaa0fd7556ed93bce9a">
     167<!ENTITY gcc-md5 "93d1c436bf991564524701259b6285a2">
    168168<!ENTITY gcc-home "http://gcc.gnu.org">
    169169
  • BOOK/patches.ent

    rdb10083 rd3cbdd9  
    2222
    2323<!ENTITY gcc-specs-patch "gcc-&gcc-version;-specs-1.patch">
    24 <!ENTITY gcc-specs-patch-md5 "15e207e152928cb307f38aa0c0924429">
     24<!ENTITY gcc-specs-patch-md5 "61d583984f9f12b6f37141e132fc7d57">
    2525<!ENTITY gcc-specs-patch-size "20 KB">
    2626
     
    9090
    9191<!ENTITY gcc-pure64-patch "gcc-&gcc-version;-pure64-1.patch">
    92 <!ENTITY gcc-pure64-patch-md5 "9f230c4d6fc288405d831aaf02ef8a69">
     92<!ENTITY gcc-pure64-patch-md5 "7c41d649fe266f11e4dbdd2392f7729b">
    9393<!ENTITY gcc-pure64-patch-size "12 KB">
    9494
    9595<!ENTITY gcc-specs_pure64-patch "gcc-&gcc-version;-pure64_specs-1.patch">
    96 <!ENTITY gcc-specs_pure64-patch-md5 "bdf42c85af936319438f912a3870e3ea">
     96<!ENTITY gcc-specs_pure64-patch-md5 "24f012f5d407d48bf6191ec5aa6bed60">
    9797<!ENTITY gcc-specs_pure64-patch-size "24 KB">
    9898
  • patches/gcc-4.6.0-pure64-1.patch

    rdb10083 rd3cbdd9  
    11Submitted By: Joe Ciccone <jciccone@gmail.com>
    2 Date: 01-08-2011
     2Date: 04-16-2011
    33Initial Package Version: 3.4.6
    44Origin: Idea originally developed by Ryan Oliver and Greg Schafer for
     
    99
    1010    Rediffed Against 4.5.2 By Pontus Carlsson <PontusCarlsson at live dot se>
     11    Rediffed Against 4.6.0 By Joe Ciccone <jciccone@gmail.com>
    1112
    12 diff -Naur gcc-4.5.2.orig/gcc/config/i386/linux64.h gcc-4.5.2/gcc/config/i386/linux64.h
    13 --- gcc-4.5.2.orig/gcc/config/i386/linux64.h    2010-03-24 16:44:48.000000000 -0400
    14 +++ gcc-4.5.2/gcc/config/i386/linux64.h 2011-01-08 13:41:39.814665253 -0500
    15 @@ -58,8 +58,8 @@
     13diff -Naur gcc-4.6.0.orig/gcc/config/i386/linux64.h gcc-4.6.0/gcc/config/i386/linux64.h
     14--- gcc-4.6.0.orig/gcc/config/i386/linux64.h    2011-03-02 17:35:36.000000000 -0500
     15+++ gcc-4.6.0/gcc/config/i386/linux64.h 2011-04-16 15:49:02.335213604 -0400
     16@@ -62,8 +62,8 @@
    1617    When the -shared link option is used a final link is not being
    1718    done.  */
     
    2425 #if TARGET_64BIT_DEFAULT
    2526 #define SPEC_32 "m32"
    26 diff -Naur gcc-4.5.2.orig/gcc/config/i386/t-linux64 gcc-4.5.2/gcc/config/i386/t-linux64
    27 --- gcc-4.5.2.orig/gcc/config/i386/t-linux64    2009-04-21 15:03:23.000000000 -0400
    28 +++ gcc-4.5.2/gcc/config/i386/t-linux64 2011-01-08 13:41:39.814665253 -0500
     27diff -Naur gcc-4.6.0.orig/gcc/config/i386/t-linux64 gcc-4.6.0/gcc/config/i386/t-linux64
     28--- gcc-4.6.0.orig/gcc/config/i386/t-linux64    2009-04-21 15:03:23.000000000 -0400
     29+++ gcc-4.6.0/gcc/config/i386/t-linux64 2011-04-16 15:49:02.335213604 -0400
    2930@@ -25,7 +25,7 @@
    3031 
     
    3637 LIBGCC = stmp-multilib
    3738 INSTALL_LIBGCC = install-multilib
    38 diff -Naur gcc-4.5.2.orig/gcc/config/linux.h gcc-4.5.2/gcc/config/linux.h
    39 --- gcc-4.5.2.orig/gcc/config/linux.h   2009-04-09 11:00:19.000000000 -0400
    40 +++ gcc-4.5.2/gcc/config/linux.h        2011-01-08 13:41:39.814665253 -0500
    41 @@ -118,7 +118,7 @@
     39diff -Naur gcc-4.6.0.orig/gcc/config/linux.h gcc-4.6.0/gcc/config/linux.h
     40--- gcc-4.6.0.orig/gcc/config/linux.h   2011-01-12 09:29:14.000000000 -0500
     41+++ gcc-4.6.0/gcc/config/linux.h        2011-04-16 15:49:02.335213604 -0400
     42@@ -75,7 +75,7 @@
    4243    GLIBC_DYNAMIC_LINKER32 and GLIBC_DYNAMIC_LINKER64 for targets
    4344    supporting both 32-bit and 64-bit compilation.  */
     
    4647+#define UCLIBC_DYNAMIC_LINKER32 "/lib32/ld-uClibc.so.0"
    4748 #define UCLIBC_DYNAMIC_LINKER64 "/lib/ld64-uClibc.so.0"
    48  #define LINUX_DYNAMIC_LINKER \
    49    CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER)
    50 diff -Naur gcc-4.5.2.orig/gcc/config/mips/linux64.h gcc-4.5.2/gcc/config/mips/linux64.h
    51 --- gcc-4.5.2.orig/gcc/config/mips/linux64.h    2009-02-20 10:20:38.000000000 -0500
    52 +++ gcc-4.5.2/gcc/config/mips/linux64.h 2011-01-08 13:41:39.814665253 -0500
     49 #define BIONIC_DYNAMIC_LINKER "/system/bin/linker"
     50 #define BIONIC_DYNAMIC_LINKER32 "/system/bin/linker"
     51diff -Naur gcc-4.6.0.orig/gcc/config/mips/linux64.h gcc-4.6.0/gcc/config/mips/linux64.h
     52--- gcc-4.6.0.orig/gcc/config/mips/linux64.h    2011-01-19 15:39:09.000000000 -0500
     53+++ gcc-4.6.0/gcc/config/mips/linux64.h 2011-04-16 15:50:00.807213626 -0400
    5354@@ -35,10 +35,10 @@
    5455 %{!shared: \
     
    6364+#define GLIBC_DYNAMIC_LINKERN32 "/lib64/ld.so.1"
    6465+#define UCLIBC_DYNAMIC_LINKERN32 "/lib64/ld-uClibc.so.0"
     66 #define BIONIC_DYNAMIC_LINKERN32 "/system/bin/linker32"
    6567 #define LINUX_DYNAMIC_LINKERN32 \
    66    CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKERN32, UCLIBC_DYNAMIC_LINKERN32)
    67  
    68 diff -Naur gcc-4.5.2.orig/gcc/config/mips/t-linux64 gcc-4.5.2/gcc/config/mips/t-linux64
    69 --- gcc-4.5.2.orig/gcc/config/mips/t-linux64    2009-04-21 15:03:23.000000000 -0400
    70 +++ gcc-4.5.2/gcc/config/mips/t-linux64 2011-01-08 13:41:39.814665253 -0500
     68   CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKERN32, UCLIBC_DYNAMIC_LINKERN32, \
     69diff -Naur gcc-4.6.0.orig/gcc/config/mips/t-linux64 gcc-4.6.0/gcc/config/mips/t-linux64
     70--- gcc-4.6.0.orig/gcc/config/mips/t-linux64    2009-04-21 15:03:23.000000000 -0400
     71+++ gcc-4.6.0/gcc/config/mips/t-linux64 2011-04-16 15:49:02.335213604 -0400
    7172@@ -18,7 +18,7 @@
    7273 
     
    7879 EXTRA_MULTILIB_PARTS=crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o
    7980 
    80 diff -Naur gcc-4.5.2.orig/gcc/config/rs6000/linux64.h gcc-4.5.2/gcc/config/rs6000/linux64.h
    81 --- gcc-4.5.2.orig/gcc/config/rs6000/linux64.h  2010-11-17 01:09:53.000000000 -0500
    82 +++ gcc-4.5.2/gcc/config/rs6000/linux64.h       2011-01-08 13:41:39.814665253 -0500
    83 @@ -340,9 +340,9 @@
     81diff -Naur gcc-4.6.0.orig/gcc/config/rs6000/linux64.h gcc-4.6.0/gcc/config/rs6000/linux64.h
     82--- gcc-4.6.0.orig/gcc/config/rs6000/linux64.h  2011-03-07 02:50:23.000000000 -0500
     83+++ gcc-4.6.0/gcc/config/rs6000/linux64.h       2011-04-16 15:49:02.335213604 -0400
     84@@ -372,9 +372,9 @@
    8485 #undef LINK_OS_DEFAULT_SPEC
    8586 #define LINK_OS_DEFAULT_SPEC "%(link_os_linux)"
     
    9293+#define UCLIBC_DYNAMIC_LINKER32 "/lib32/ld-uClibc.so.0"
    9394 #define UCLIBC_DYNAMIC_LINKER64 "/lib/ld64-uClibc.so.0"
    94  #if UCLIBC_DEFAULT
    95  #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}"
    96 diff -Naur gcc-4.5.2.orig/gcc/config/rs6000/t-linux64 gcc-4.5.2/gcc/config/rs6000/t-linux64
    97 --- gcc-4.5.2.orig/gcc/config/rs6000/t-linux64  2009-04-21 15:03:23.000000000 -0400
    98 +++ gcc-4.5.2/gcc/config/rs6000/t-linux64       2011-01-08 13:41:39.814665253 -0500
     95 #if DEFAULT_LIBC == LIBC_UCLIBC
     96 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:" G ";:" U "}"
     97diff -Naur gcc-4.6.0.orig/gcc/config/rs6000/t-linux64 gcc-4.6.0/gcc/config/rs6000/t-linux64
     98--- gcc-4.6.0.orig/gcc/config/rs6000/t-linux64  2009-04-21 15:03:23.000000000 -0400
     99+++ gcc-4.6.0/gcc/config/rs6000/t-linux64       2011-04-16 15:49:02.335213604 -0400
    99100@@ -36,7 +36,7 @@
    100101 MULTILIB_EXTRA_OPTS     = fPIC mstrict-align
     
    106107 
    107108 softfp_wrap_start := '\#ifndef __powerpc64__'
    108 diff -Naur gcc-4.5.2.orig/gcc/config/s390/linux.h gcc-4.5.2/gcc/config/s390/linux.h
    109 --- gcc-4.5.2.orig/gcc/config/s390/linux.h      2007-08-02 06:49:31.000000000 -0400
    110 +++ gcc-4.5.2/gcc/config/s390/linux.h   2011-01-08 13:41:39.814665253 -0500
     109diff -Naur gcc-4.6.0.orig/gcc/config/s390/linux.h gcc-4.6.0/gcc/config/s390/linux.h
     110--- gcc-4.6.0.orig/gcc/config/s390/linux.h      2010-12-09 08:27:07.000000000 -0500
     111+++ gcc-4.6.0/gcc/config/s390/linux.h   2011-04-16 15:49:02.335213604 -0400
    111112@@ -72,7 +72,7 @@
    112113 #define MULTILIB_DEFAULTS { "m31" }
     
    118119 
    119120 #undef  LINK_SPEC
    120 diff -Naur gcc-4.5.2.orig/gcc/config/s390/t-linux64 gcc-4.5.2/gcc/config/s390/t-linux64
    121 --- gcc-4.5.2.orig/gcc/config/s390/t-linux64    2010-10-04 12:54:26.000000000 -0400
    122 +++ gcc-4.5.2/gcc/config/s390/t-linux64 2011-01-08 13:41:51.762743997 -0500
     121diff -Naur gcc-4.6.0.orig/gcc/config/s390/t-linux64 gcc-4.6.0/gcc/config/s390/t-linux64
     122--- gcc-4.6.0.orig/gcc/config/s390/t-linux64    2010-10-04 12:51:59.000000000 -0400
     123+++ gcc-4.6.0/gcc/config/s390/t-linux64 2011-04-16 15:49:02.335213604 -0400
    123124@@ -7,4 +7,4 @@
    124125 
     
    127128-MULTILIB_OSDIRNAMES = ../lib64 $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib)
    128129+MULTILIB_OSDIRNAMES = ../lib ../lib32
    129 diff -Naur gcc-4.5.2.orig/gcc/config/sparc/linux.h gcc-4.5.2/gcc/config/sparc/linux.h
    130 --- gcc-4.5.2.orig/gcc/config/sparc/linux.h     2010-09-22 17:15:37.000000000 -0400
    131 +++ gcc-4.5.2/gcc/config/sparc/linux.h  2011-01-08 13:41:39.814665253 -0500
    132 @@ -86,7 +86,7 @@
     130diff -Naur gcc-4.6.0.orig/gcc/config/sparc/linux.h gcc-4.6.0/gcc/config/sparc/linux.h
     131--- gcc-4.6.0.orig/gcc/config/sparc/linux.h     2011-01-26 15:30:12.000000000 -0500
     132+++ gcc-4.6.0/gcc/config/sparc/linux.h  2011-04-16 15:49:02.335213604 -0400
     133@@ -74,7 +74,7 @@
    133134 #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
    134135 
     
    138139   %{!mno-relax:%{!r:-relax}} \
    139140   %{!shared: \
    140      %{!ibcs: \
    141 diff -Naur gcc-4.5.2.orig/gcc/config/sparc/linux64.h gcc-4.5.2/gcc/config/sparc/linux64.h
    142 --- gcc-4.5.2.orig/gcc/config/sparc/linux64.h   2010-09-22 17:15:37.000000000 -0400
    143 +++ gcc-4.5.2/gcc/config/sparc/linux64.h        2011-01-08 13:41:39.814665253 -0500
    144 @@ -109,8 +109,8 @@
    145  
    146  /* If ELF is the default format, we should not use /lib/elf.  */
     141     %{!static: \
     142diff -Naur gcc-4.6.0.orig/gcc/config/sparc/linux64.h gcc-4.6.0/gcc/config/sparc/linux64.h
     143--- gcc-4.6.0.orig/gcc/config/sparc/linux64.h   2011-02-17 08:57:21.000000000 -0500
     144+++ gcc-4.6.0/gcc/config/sparc/linux64.h        2011-04-16 15:49:02.335213604 -0400
     145@@ -101,8 +101,8 @@
     146    When the -shared link option is used a final link is not being
     147    done.  */
    147148 
    148149-#define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2"
     
    153154 #ifdef SPARC_BI_ARCH
    154155 
    155 @@ -121,7 +121,7 @@
     156@@ -113,7 +113,7 @@
    156157   { "link_arch_default", LINK_ARCH_DEFAULT_SPEC },       \
    157158   { "link_arch",        LINK_ARCH_SPEC },
     
    160161+#define LINK_ARCH32_SPEC "-m elf32_sparc -Y P,%R/lib32 %{shared:-shared} \
    161162   %{!shared: \
    162      %{!ibcs: \
    163        %{!static: \
    164 @@ -130,7 +130,7 @@
    165          %{static:-static}}} \
     163     %{!static: \
     164       %{rdynamic:-export-dynamic} \
     165@@ -121,7 +121,7 @@
     166       %{static:-static}} \
    166167 "
    167168 
     
    169170+#define LINK_ARCH64_SPEC "-m elf64_sparc -Y P,%R/lib %{shared:-shared} \
    170171   %{!shared: \
    171      %{!ibcs: \
    172        %{!static: \
    173 @@ -211,7 +211,7 @@
     172     %{!static: \
     173       %{rdynamic:-export-dynamic} \
     174@@ -193,7 +193,7 @@
    174175 #else /* !SPARC_BI_ARCH */
    175176 
     
    178179+#define LINK_SPEC "-m elf64_sparc -Y P,%R/lib %{shared:-shared} \
    179180   %{!shared: \
    180      %{!ibcs: \
    181        %{!static: \
    182 diff -Naur gcc-4.5.2.orig/gcc/config/sparc/t-linux64 gcc-4.5.2/gcc/config/sparc/t-linux64
    183 --- gcc-4.5.2.orig/gcc/config/sparc/t-linux64   2010-10-04 12:54:26.000000000 -0400
    184 +++ gcc-4.5.2/gcc/config/sparc/t-linux64        2011-01-08 13:42:07.870657323 -0500
     181     %{!static: \
     182       %{rdynamic:-export-dynamic} \
     183diff -Naur gcc-4.6.0.orig/gcc/config/sparc/t-linux64 gcc-4.6.0/gcc/config/sparc/t-linux64
     184--- gcc-4.6.0.orig/gcc/config/sparc/t-linux64   2011-01-03 15:52:22.000000000 -0500
     185+++ gcc-4.6.0/gcc/config/sparc/t-linux64        2011-04-16 15:49:02.335213604 -0400
    185186@@ -26,7 +26,7 @@
    186187 
  • patches/gcc-4.6.0-pure64_specs-1.patch

    rdb10083 rd3cbdd9  
    11Submitted By: Joe Ciccone <jciccone@gmail.com>
    2 Date: 09-08-2011
     2Date: 04-16-2011
    33Initial Package Version: 3.4.6
    44Origin: Idea originally developed by Ryan Oliver and Greg Schafer for
     
    1111
    1212    Rediffed Against 4.5.2 By Pontus Carlsson <PontusCarlsson at live dot se>
     13    Rediffed Against 4.6.0 By Joe Ciccone <jciccone@gmail.com>
    1314
    14 diff -Naur gcc-4.5.2.orig/gcc/config/alpha/gnu.h gcc-4.5.2/gcc/config/alpha/gnu.h
    15 --- gcc-4.5.2.orig/gcc/config/alpha/gnu.h       2009-04-21 15:03:23.000000000 -0400
    16 +++ gcc-4.5.2/gcc/config/alpha/gnu.h    2011-01-08 13:38:44.091021377 -0500
     15diff -Naur gcc-4.6.0.orig/gcc/config/alpha/gnu.h gcc-4.6.0/gcc/config/alpha/gnu.h
     16--- gcc-4.6.0.orig/gcc/config/alpha/gnu.h       2010-10-06 03:49:52.000000000 -0400
     17+++ gcc-4.6.0/gcc/config/alpha/gnu.h    2011-04-16 15:42:48.119213462 -0400
    1718@@ -34,7 +34,7 @@
    1819     } while (0)
     
    2425 #undef STARTFILE_SPEC
    2526 #define STARTFILE_SPEC \
    26 diff -Naur gcc-4.5.2.orig/gcc/config/alpha/linux-elf.h gcc-4.5.2/gcc/config/alpha/linux-elf.h
    27 --- gcc-4.5.2.orig/gcc/config/alpha/linux-elf.h 2007-08-02 06:49:31.000000000 -0400
    28 +++ gcc-4.5.2/gcc/config/alpha/linux-elf.h      2011-01-08 13:38:44.091021377 -0500
     27diff -Naur gcc-4.6.0.orig/gcc/config/alpha/linux-elf.h gcc-4.6.0/gcc/config/alpha/linux-elf.h
     28--- gcc-4.6.0.orig/gcc/config/alpha/linux-elf.h 2010-12-09 08:27:07.000000000 -0500
     29+++ gcc-4.6.0/gcc/config/alpha/linux-elf.h      2011-04-16 15:45:39.055213526 -0400
    2930@@ -27,8 +27,8 @@
    3031 #define EXTRA_SPECS \
     
    3536+#define GLIBC_DYNAMIC_LINKER   "/tools/lib/ld-linux.so.2"
    3637+#define UCLIBC_DYNAMIC_LINKER "/tools/lib/ld-uClibc.so.0"
    37  #if UCLIBC_DEFAULT
    38  #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}"
    39  #else
    40 diff -Naur gcc-4.5.2.orig/gcc/config/arm/linux-eabi.h gcc-4.5.2/gcc/config/arm/linux-eabi.h
    41 --- gcc-4.5.2.orig/gcc/config/arm/linux-eabi.h  2009-10-30 16:03:09.000000000 -0400
    42 +++ gcc-4.5.2/gcc/config/arm/linux-eabi.h       2011-01-08 13:38:44.091021377 -0500
    43 @@ -61,7 +61,7 @@
     38 #if DEFAULT_LIBC == LIBC_UCLIBC
     39 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:" G ";:" U "}"
     40 #elif DEFAULT_LIBC == LIBC_GLIBC
     41diff -Naur gcc-4.6.0.orig/gcc/config/arm/linux-eabi.h gcc-4.6.0/gcc/config/arm/linux-eabi.h
     42--- gcc-4.6.0.orig/gcc/config/arm/linux-eabi.h  2011-01-12 09:29:14.000000000 -0500
     43+++ gcc-4.6.0/gcc/config/arm/linux-eabi.h       2011-04-16 15:42:48.119213462 -0400
     44@@ -62,7 +62,7 @@
    4445 /* Use ld-linux.so.3 so that it will be possible to run "classic"
    4546    GNU/Linux binaries on an EABI system.  */
     
    5051 /* At this point, bpabi.h will have clobbered LINK_SPEC.  We want to
    5152    use the GNU/Linux version, not the generic BPABI version.  */
    52 diff -Naur gcc-4.5.2.orig/gcc/config/arm/linux-elf.h gcc-4.5.2/gcc/config/arm/linux-elf.h
    53 --- gcc-4.5.2.orig/gcc/config/arm/linux-elf.h   2009-11-05 09:47:45.000000000 -0500
    54 +++ gcc-4.5.2/gcc/config/arm/linux-elf.h        2011-01-08 13:38:44.091021377 -0500
     53diff -Naur gcc-4.6.0.orig/gcc/config/arm/linux-elf.h gcc-4.6.0/gcc/config/arm/linux-elf.h
     54--- gcc-4.6.0.orig/gcc/config/arm/linux-elf.h   2011-01-14 13:42:32.000000000 -0500
     55+++ gcc-4.6.0/gcc/config/arm/linux-elf.h        2011-04-16 15:42:48.119213462 -0400
    5556@@ -62,7 +62,7 @@
    5657 
     
    6061+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2"
    6162 
    62  #define LINUX_TARGET_LINK_SPEC  "%{h*} %{version:-v} \
    63     %{b} \
    64 diff -Naur gcc-4.5.2.orig/gcc/config/bfin/linux.h gcc-4.5.2/gcc/config/bfin/linux.h
    65 --- gcc-4.5.2.orig/gcc/config/bfin/linux.h      2009-09-03 11:37:28.000000000 -0400
    66 +++ gcc-4.5.2/gcc/config/bfin/linux.h   2011-01-08 13:38:44.091021377 -0500
     63 #define LINUX_TARGET_LINK_SPEC  "%{h*} \
     64    %{static:-Bstatic} \
     65diff -Naur gcc-4.6.0.orig/gcc/config/bfin/linux.h gcc-4.6.0/gcc/config/bfin/linux.h
     66--- gcc-4.6.0.orig/gcc/config/bfin/linux.h      2010-12-09 08:27:07.000000000 -0500
     67+++ gcc-4.6.0/gcc/config/bfin/linux.h   2011-04-16 15:43:19.823213474 -0400
    6768@@ -45,7 +45,7 @@
    6869   %{shared:-G -Bdynamic} \
    6970   %{!shared: %{!static: \
    7071    %{rdynamic:-export-dynamic} \
    71 -   %{!dynamic-linker:-dynamic-linker /lib/ld-uClibc.so.0}} \
    72 +   %{!dynamic-linker:-dynamic-linker /tools/lib/ld-uClibc.so.0}} \
     72-   -dynamic-linker /lib/ld-uClibc.so.0} \
     73+   -dynamic-linker /tools/lib/ld-uClibc.so.0} \
    7374    %{static}} -init __init -fini __fini"
    7475 
    7576 #define MD_UNWIND_SUPPORT "config/bfin/linux-unwind.h"
    76 diff -Naur gcc-4.5.2.orig/gcc/config/cris/linux.h gcc-4.5.2/gcc/config/cris/linux.h
    77 --- gcc-4.5.2.orig/gcc/config/cris/linux.h      2009-03-22 11:15:04.000000000 -0400
    78 +++ gcc-4.5.2/gcc/config/cris/linux.h   2011-01-08 13:38:44.091021377 -0500
     77diff -Naur gcc-4.6.0.orig/gcc/config/cris/linux.h gcc-4.6.0/gcc/config/cris/linux.h
     78--- gcc-4.6.0.orig/gcc/config/cris/linux.h      2011-01-14 13:51:46.000000000 -0500
     79+++ gcc-4.6.0/gcc/config/cris/linux.h   2011-04-16 15:42:48.119213462 -0400
    7980@@ -103,7 +103,7 @@
    8081 #undef CRIS_DEFAULT_CPU_VERSION
     
    8485+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1"
    8586 
    86  /* We need an -rpath-link to ld.so.1, and presumably to each directory
    87     specified with -B.  */
    88 diff -Naur gcc-4.5.2.orig/gcc/config/freebsd-spec.h gcc-4.5.2/gcc/config/freebsd-spec.h
    89 --- gcc-4.5.2.orig/gcc/config/freebsd-spec.h    2009-09-22 12:28:26.000000000 -0400
    90 +++ gcc-4.5.2/gcc/config/freebsd-spec.h 2011-01-08 13:38:44.091021377 -0500
    91 @@ -146,7 +146,7 @@
     87 #undef CRIS_LINK_SUBTARGET_SPEC
     88 #define CRIS_LINK_SUBTARGET_SPEC \
     89diff -Naur gcc-4.6.0.orig/gcc/config/freebsd-spec.h gcc-4.6.0/gcc/config/freebsd-spec.h
     90--- gcc-4.6.0.orig/gcc/config/freebsd-spec.h    2011-02-13 19:40:15.000000000 -0500
     91+++ gcc-4.6.0/gcc/config/freebsd-spec.h 2011-04-16 15:42:48.119213462 -0400
     92@@ -131,7 +131,7 @@
    9293 #if FBSD_MAJOR < 6
    9394 #define FBSD_DYNAMIC_LINKER "/usr/libexec/ld-elf.so.1"
     
    9899 
    99100 #if defined(HAVE_LD_EH_FRAME_HDR)
    100 diff -Naur gcc-4.5.2.orig/gcc/config/frv/linux.h gcc-4.5.2/gcc/config/frv/linux.h
    101 --- gcc-4.5.2.orig/gcc/config/frv/linux.h       2007-08-02 06:49:31.000000000 -0400
    102 +++ gcc-4.5.2/gcc/config/frv/linux.h    2011-01-08 13:38:44.091021377 -0500
     101diff -Naur gcc-4.6.0.orig/gcc/config/frv/linux.h gcc-4.6.0/gcc/config/frv/linux.h
     102--- gcc-4.6.0.orig/gcc/config/frv/linux.h       2010-12-09 08:27:07.000000000 -0500
     103+++ gcc-4.6.0/gcc/config/frv/linux.h    2011-04-16 15:42:48.119213462 -0400
    103104@@ -35,7 +35,7 @@
    104105 #define ENDFILE_SPEC \
     
    110111 #undef LINK_SPEC
    111112 #define LINK_SPEC "\
    112 diff -Naur gcc-4.5.2.orig/gcc/config/i386/gnu.h gcc-4.5.2/gcc/config/i386/gnu.h
    113 --- gcc-4.5.2.orig/gcc/config/i386/gnu.h        2008-11-13 18:28:46.000000000 -0500
    114 +++ gcc-4.5.2/gcc/config/i386/gnu.h     2011-01-08 13:38:44.091021377 -0500
     113diff -Naur gcc-4.6.0.orig/gcc/config/i386/gnu.h gcc-4.6.0/gcc/config/i386/gnu.h
     114--- gcc-4.6.0.orig/gcc/config/i386/gnu.h        2011-02-08 14:14:04.000000000 -0500
     115+++ gcc-4.6.0/gcc/config/i386/gnu.h     2011-04-16 15:42:48.119213462 -0400
    115116@@ -21,7 +21,7 @@
    116117 */
     
    122123 #undef TARGET_VERSION
    123124 #define TARGET_VERSION fprintf (stderr, " (i386 GNU)");
    124 diff -Naur gcc-4.5.2.orig/gcc/config/i386/linux.h gcc-4.5.2/gcc/config/i386/linux.h
    125 --- gcc-4.5.2.orig/gcc/config/i386/linux.h      2010-03-24 16:44:48.000000000 -0400
    126 +++ gcc-4.5.2/gcc/config/i386/linux.h   2011-01-08 13:38:44.091021377 -0500
    127 @@ -100,7 +100,7 @@
     125diff -Naur gcc-4.6.0.orig/gcc/config/i386/linux.h gcc-4.6.0/gcc/config/i386/linux.h
     126--- gcc-4.6.0.orig/gcc/config/i386/linux.h      2011-01-14 13:45:06.000000000 -0500
     127+++ gcc-4.6.0/gcc/config/i386/linux.h   2011-04-16 15:42:48.123213462 -0400
     128@@ -92,7 +92,7 @@
    128129 
    129130 /* These macros may be overridden in k*bsd-gnu.h and i386/k*bsd-gnu.h. */
     
    134135 #undef  ASM_SPEC
    135136 #define ASM_SPEC \
    136 diff -Naur gcc-4.5.2.orig/gcc/config/i386/linux64.h gcc-4.5.2/gcc/config/i386/linux64.h
    137 --- gcc-4.5.2.orig/gcc/config/i386/linux64.h    2010-03-24 16:44:48.000000000 -0400
    138 +++ gcc-4.5.2/gcc/config/i386/linux64.h 2011-01-08 13:38:44.091021377 -0500
    139 @@ -58,8 +58,8 @@
     137diff -Naur gcc-4.6.0.orig/gcc/config/i386/linux64.h gcc-4.6.0/gcc/config/i386/linux64.h
     138--- gcc-4.6.0.orig/gcc/config/i386/linux64.h    2011-03-02 17:35:36.000000000 -0500
     139+++ gcc-4.6.0/gcc/config/i386/linux64.h 2011-04-16 15:42:48.123213462 -0400
     140@@ -62,8 +62,8 @@
    140141    When the -shared link option is used a final link is not being
    141142    done.  */
     
    148149 #if TARGET_64BIT_DEFAULT
    149150 #define SPEC_32 "m32"
    150 diff -Naur gcc-4.5.2.orig/gcc/config/i386/t-linux64 gcc-4.5.2/gcc/config/i386/t-linux64
    151 --- gcc-4.5.2.orig/gcc/config/i386/t-linux64    2009-04-21 15:03:23.000000000 -0400
    152 +++ gcc-4.5.2/gcc/config/i386/t-linux64 2011-01-08 13:38:44.091021377 -0500
     151diff -Naur gcc-4.6.0.orig/gcc/config/i386/t-linux64 gcc-4.6.0/gcc/config/i386/t-linux64
     152--- gcc-4.6.0.orig/gcc/config/i386/t-linux64    2009-04-21 15:03:23.000000000 -0400
     153+++ gcc-4.6.0/gcc/config/i386/t-linux64 2011-04-16 15:42:48.123213462 -0400
    153154@@ -25,7 +25,7 @@
    154155 
     
    160161 LIBGCC = stmp-multilib
    161162 INSTALL_LIBGCC = install-multilib
    162 diff -Naur gcc-4.5.2.orig/gcc/config/ia64/linux.h gcc-4.5.2/gcc/config/ia64/linux.h
    163 --- gcc-4.5.2.orig/gcc/config/ia64/linux.h      2009-04-21 15:03:23.000000000 -0400
    164 +++ gcc-4.5.2/gcc/config/ia64/linux.h   2011-01-08 13:38:44.095033293 -0500
     163diff -Naur gcc-4.6.0.orig/gcc/config/ia64/linux.h gcc-4.6.0/gcc/config/ia64/linux.h
     164--- gcc-4.6.0.orig/gcc/config/ia64/linux.h      2010-12-09 08:27:07.000000000 -0500
     165+++ gcc-4.6.0/gcc/config/ia64/linux.h   2011-04-16 15:42:48.123213462 -0400
    165166@@ -61,7 +61,7 @@
    166167 /* Define this for shared library support because it isn't in the main
     
    172173 #undef LINK_SPEC
    173174 #define LINK_SPEC "\
    174 diff -Naur gcc-4.5.2.orig/gcc/config/kfreebsd-gnu.h gcc-4.5.2/gcc/config/kfreebsd-gnu.h
    175 --- gcc-4.5.2.orig/gcc/config/kfreebsd-gnu.h    2007-08-02 06:49:31.000000000 -0400
    176 +++ gcc-4.5.2/gcc/config/kfreebsd-gnu.h 2011-01-08 13:38:44.095033293 -0500
     175diff -Naur gcc-4.6.0.orig/gcc/config/kfreebsd-gnu.h gcc-4.6.0/gcc/config/kfreebsd-gnu.h
     176--- gcc-4.6.0.orig/gcc/config/kfreebsd-gnu.h    2007-08-02 06:49:31.000000000 -0400
     177+++ gcc-4.6.0/gcc/config/kfreebsd-gnu.h 2011-04-16 15:42:48.123213462 -0400
    177178@@ -33,5 +33,5 @@
    178179 
     
    182183+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1"
    183184 #endif
    184 diff -Naur gcc-4.5.2.orig/gcc/config/knetbsd-gnu.h gcc-4.5.2/gcc/config/knetbsd-gnu.h
    185 --- gcc-4.5.2.orig/gcc/config/knetbsd-gnu.h     2007-08-02 06:49:31.000000000 -0400
    186 +++ gcc-4.5.2/gcc/config/knetbsd-gnu.h  2011-01-08 13:38:44.095033293 -0500
     185diff -Naur gcc-4.6.0.orig/gcc/config/knetbsd-gnu.h gcc-4.6.0/gcc/config/knetbsd-gnu.h
     186--- gcc-4.6.0.orig/gcc/config/knetbsd-gnu.h     2007-08-02 06:49:31.000000000 -0400
     187+++ gcc-4.6.0/gcc/config/knetbsd-gnu.h  2011-04-16 15:42:48.123213462 -0400
    187188@@ -34,5 +34,5 @@
    188189 
     
    192193+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1"
    193194 #endif
    194 diff -Naur gcc-4.5.2.orig/gcc/config/kopensolaris-gnu.h gcc-4.5.2/gcc/config/kopensolaris-gnu.h
    195 --- gcc-4.5.2.orig/gcc/config/kopensolaris-gnu.h        2009-01-29 13:48:41.000000000 -0500
    196 +++ gcc-4.5.2/gcc/config/kopensolaris-gnu.h     2011-01-08 13:38:44.095033293 -0500
     195diff -Naur gcc-4.6.0.orig/gcc/config/kopensolaris-gnu.h gcc-4.6.0/gcc/config/kopensolaris-gnu.h
     196--- gcc-4.6.0.orig/gcc/config/kopensolaris-gnu.h        2009-01-29 13:48:41.000000000 -0500
     197+++ gcc-4.6.0/gcc/config/kopensolaris-gnu.h     2011-04-16 15:42:48.123213462 -0400
    197198@@ -33,5 +33,5 @@
    198199 
     
    202203+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1"
    203204 #endif
    204 diff -Naur gcc-4.5.2.orig/gcc/config/linux.h gcc-4.5.2/gcc/config/linux.h
    205 --- gcc-4.5.2.orig/gcc/config/linux.h   2009-04-09 11:00:19.000000000 -0400
    206 +++ gcc-4.5.2/gcc/config/linux.h        2011-01-08 13:38:44.095033293 -0500
    207 @@ -117,9 +117,9 @@
     205diff -Naur gcc-4.6.0.orig/gcc/config/linux.h gcc-4.6.0/gcc/config/linux.h
     206--- gcc-4.6.0.orig/gcc/config/linux.h   2011-01-12 09:29:14.000000000 -0500
     207+++ gcc-4.6.0/gcc/config/linux.h        2011-04-16 15:43:45.695213484 -0400
     208@@ -74,9 +74,9 @@
    208209    GLIBC_DYNAMIC_LINKER must be defined for each target using them, or
    209210    GLIBC_DYNAMIC_LINKER32 and GLIBC_DYNAMIC_LINKER64 for targets
     
    213214-#define UCLIBC_DYNAMIC_LINKER64 "/lib/ld64-uClibc.so.0"
    214215+#define UCLIBC_DYNAMIC_LINKER "/tools/lib/ld-uClibc.so.0"
    215 +#define UCLIBC_DYNAMIC_LINKER32 "/tools/lib32/ld-uClibc.so.0"
     216+#define UCLIBC_DYNAMIC_LINKER32 "/tools/lib/ld-uClibc.so.0"
    216217+#define UCLIBC_DYNAMIC_LINKER64 "/tools/lib/ld64-uClibc.so.0"
    217  #define LINUX_DYNAMIC_LINKER \
    218    CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER)
    219  #define LINUX_DYNAMIC_LINKER32 \
    220 diff -Naur gcc-4.5.2.orig/gcc/config/lm32/uclinux-elf.h gcc-4.5.2/gcc/config/lm32/uclinux-elf.h
    221 --- gcc-4.5.2.orig/gcc/config/lm32/uclinux-elf.h        2009-11-11 11:43:06.000000000 -0500
    222 +++ gcc-4.5.2/gcc/config/lm32/uclinux-elf.h     2011-01-08 13:38:44.095033293 -0500
    223 @@ -73,7 +73,7 @@
     218 #define BIONIC_DYNAMIC_LINKER "/system/bin/linker"
     219 #define BIONIC_DYNAMIC_LINKER32 "/system/bin/linker"
     220 #define BIONIC_DYNAMIC_LINKER64 "/system/bin/linker64"
     221diff -Naur gcc-4.6.0.orig/gcc/config/lm32/uclinux-elf.h gcc-4.6.0/gcc/config/lm32/uclinux-elf.h
     222--- gcc-4.6.0.orig/gcc/config/lm32/uclinux-elf.h        2011-01-14 13:42:32.000000000 -0500
     223+++ gcc-4.6.0/gcc/config/lm32/uclinux-elf.h     2011-04-16 15:46:22.543213544 -0400
     224@@ -72,7 +72,7 @@
    224225    %{shared:-shared} \
    225226    %{symbolic:-Bsymbolic} \
    226227    %{rdynamic:-export-dynamic} \
    227 -   %{!dynamic-linker:-dynamic-linker /lib/ld-linux.so.2}"
    228 +   %{!dynamic-linker:-dynamic-linker /tools/lib/ld-linux.so.2}"
     228-   -dynamic-linker /lib/ld-linux.so.2"
     229+   -dynamic-linker /tools/lib/ld-linux.so.2"
    229230 
    230231 #define TARGET_OS_CPP_BUILTINS() LINUX_TARGET_OS_CPP_BUILTINS()
    231232 
    232 diff -Naur gcc-4.5.2.orig/gcc/config/m32r/linux.h gcc-4.5.2/gcc/config/m32r/linux.h
    233 --- gcc-4.5.2.orig/gcc/config/m32r/linux.h      2007-08-02 06:49:31.000000000 -0400
    234 +++ gcc-4.5.2/gcc/config/m32r/linux.h   2011-01-08 13:38:44.095033293 -0500
    235 @@ -58,7 +58,7 @@
    236  
    237  /* If ELF is the default format, we should not use /lib/elf.  */
     233diff -Naur gcc-4.6.0.orig/gcc/config/m32r/linux.h gcc-4.6.0/gcc/config/m32r/linux.h
     234--- gcc-4.6.0.orig/gcc/config/m32r/linux.h      2011-01-14 13:45:06.000000000 -0500
     235+++ gcc-4.6.0/gcc/config/m32r/linux.h   2011-04-16 15:42:48.135213462 -0400
     236@@ -47,7 +47,7 @@
     237    When the -shared link option is used a final link is not being
     238    done.  */
    238239 
    239240-#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
     
    242243 #undef LINK_SPEC
    243244 #if TARGET_LITTLE_ENDIAN
    244 diff -Naur gcc-4.5.2.orig/gcc/config/m68k/linux.h gcc-4.5.2/gcc/config/m68k/linux.h
    245 --- gcc-4.5.2.orig/gcc/config/m68k/linux.h      2009-12-11 10:32:08.000000000 -0500
    246 +++ gcc-4.5.2/gcc/config/m68k/linux.h   2011-01-08 13:38:44.095033293 -0500
    247 @@ -84,7 +84,7 @@
    248  
    249  /* If ELF is the default format, we should not use /lib/elf.  */
     245diff -Naur gcc-4.6.0.orig/gcc/config/m68k/linux.h gcc-4.6.0/gcc/config/m68k/linux.h
     246--- gcc-4.6.0.orig/gcc/config/m68k/linux.h      2011-01-26 15:30:12.000000000 -0500
     247+++ gcc-4.6.0/gcc/config/m68k/linux.h   2011-04-16 15:42:48.135213462 -0400
     248@@ -75,7 +75,7 @@
     249    When the -shared link option is used a final link is not being
     250    done.  */
    250251 
    251252-#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
     
    254255 #undef LINK_SPEC
    255256 #define LINK_SPEC "-m m68kelf %{shared} \
    256 diff -Naur gcc-4.5.2.orig/gcc/config/mips/linux.h gcc-4.5.2/gcc/config/mips/linux.h
    257 --- gcc-4.5.2.orig/gcc/config/mips/linux.h      2009-02-20 10:20:38.000000000 -0500
    258 +++ gcc-4.5.2/gcc/config/mips/linux.h   2011-01-08 13:38:44.095033293 -0500
    259 @@ -64,7 +64,7 @@
     257diff -Naur gcc-4.6.0.orig/gcc/config/microblaze/linux.h gcc-4.6.0/gcc/config/microblaze/linux.h
     258--- gcc-4.6.0.orig/gcc/config/microblaze/linux.h        2010-12-09 08:27:07.000000000 -0500
     259+++ gcc-4.6.0/gcc/config/microblaze/linux.h     2011-04-16 15:46:40.719213550 -0400
     260@@ -20,7 +20,7 @@
     261    <http://www.gnu.org/licenses/>.  */
     262 
     263 
     264-#define DYNAMIC_LINKER "/lib/ld.so.1"
     265+#define DYNAMIC_LINKER "/tools/lib/ld.so.1"
     266 #undef  SUBTARGET_EXTRA_SPECS
     267 #define SUBTARGET_EXTRA_SPECS \
     268   { "dynamic_linker", DYNAMIC_LINKER }
     269diff -Naur gcc-4.6.0.orig/gcc/config/mips/linux.h gcc-4.6.0/gcc/config/mips/linux.h
     270--- gcc-4.6.0.orig/gcc/config/mips/linux.h      2011-01-14 13:45:06.000000000 -0500
     271+++ gcc-4.6.0/gcc/config/mips/linux.h   2011-04-16 15:42:48.135213462 -0400
     272@@ -61,7 +61,7 @@
    260273 #undef MIPS_DEFAULT_GVALUE
    261274 #define MIPS_DEFAULT_GVALUE 0
     
    266279 /* Borrowed from sparc/linux.h */
    267280 #undef LINK_SPEC
    268 diff -Naur gcc-4.5.2.orig/gcc/config/mips/linux64.h gcc-4.5.2/gcc/config/mips/linux64.h
    269 --- gcc-4.5.2.orig/gcc/config/mips/linux64.h    2009-02-20 10:20:38.000000000 -0500
    270 +++ gcc-4.5.2/gcc/config/mips/linux64.h 2011-01-08 13:38:44.095033293 -0500
     281diff -Naur gcc-4.6.0.orig/gcc/config/mips/linux64.h gcc-4.6.0/gcc/config/mips/linux64.h
     282--- gcc-4.6.0.orig/gcc/config/mips/linux64.h    2011-01-19 15:39:09.000000000 -0500
     283+++ gcc-4.6.0/gcc/config/mips/linux64.h 2011-04-16 15:44:23.007213498 -0400
    271284@@ -35,10 +35,10 @@
    272285 %{!shared: \
     
    277290-#define GLIBC_DYNAMIC_LINKERN32 "/lib32/ld.so.1"
    278291-#define UCLIBC_DYNAMIC_LINKERN32 "/lib32/ld-uClibc.so.0"
    279 +#define GLIBC_DYNAMIC_LINKER32 "/tools/lib32/ld.so.1"
    280 +#define GLIBC_DYNAMIC_LINKER64 "/tools/lib/ld.so.1"
    281 +#define GLIBC_DYNAMIC_LINKERN32 "/tools/lib64/ld.so.1"
    282 +#define UCLIBC_DYNAMIC_LINKERN32 "/tools/lib64/ld-uClibc.so.0"
     292+#define GLIBC_DYNAMIC_LINKER32 "/tools/lib/ld.so.1"
     293+#define GLIBC_DYNAMIC_LINKER64 "/tools/lib64/ld.so.1"
     294+#define GLIBC_DYNAMIC_LINKERN32 "/tools/lib32/ld.so.1"
     295+#define UCLIBC_DYNAMIC_LINKERN32 "/tools/lib32/ld-uClibc.so.0"
     296 #define BIONIC_DYNAMIC_LINKERN32 "/system/bin/linker32"
    283297 #define LINUX_DYNAMIC_LINKERN32 \
    284    CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKERN32, UCLIBC_DYNAMIC_LINKERN32)
    285  
    286 diff -Naur gcc-4.5.2.orig/gcc/config/mips/t-linux64 gcc-4.5.2/gcc/config/mips/t-linux64
    287 --- gcc-4.5.2.orig/gcc/config/mips/t-linux64    2009-04-21 15:03:23.000000000 -0400
    288 +++ gcc-4.5.2/gcc/config/mips/t-linux64 2011-01-08 13:38:44.095033293 -0500
     298   CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKERN32, UCLIBC_DYNAMIC_LINKERN32, \
     299diff -Naur gcc-4.6.0.orig/gcc/config/mips/t-linux64 gcc-4.6.0/gcc/config/mips/t-linux64
     300--- gcc-4.6.0.orig/gcc/config/mips/t-linux64    2009-04-21 15:03:23.000000000 -0400
     301+++ gcc-4.6.0/gcc/config/mips/t-linux64 2011-04-16 15:42:48.135213462 -0400
    289302@@ -18,7 +18,7 @@
    290303 
     
    296309 EXTRA_MULTILIB_PARTS=crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o
    297310 
    298 diff -Naur gcc-4.5.2.orig/gcc/config/mn10300/linux.h gcc-4.5.2/gcc/config/mn10300/linux.h
    299 --- gcc-4.5.2.orig/gcc/config/mn10300/linux.h   2007-08-02 06:49:31.000000000 -0400
    300 +++ gcc-4.5.2/gcc/config/mn10300/linux.h        2011-01-08 13:38:44.095033293 -0500
     311diff -Naur gcc-4.6.0.orig/gcc/config/mn10300/linux.h gcc-4.6.0/gcc/config/mn10300/linux.h
     312--- gcc-4.6.0.orig/gcc/config/mn10300/linux.h   2010-12-31 09:34:26.000000000 -0500
     313+++ gcc-4.6.0/gcc/config/mn10300/linux.h        2011-04-16 15:42:48.135213462 -0400
    301314@@ -32,7 +32,7 @@
    302315 #undef  ASM_SPEC
    303  #define ASM_SPEC "%{Wa,*:%*}"
     316 #define ASM_SPEC ""
    304317 
    305318-#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
     
    308321 #undef  LINK_SPEC
    309322 #define LINK_SPEC "%{mrelax:--relax} %{shared:-shared} \
    310 diff -Naur gcc-4.5.2.orig/gcc/config/pa/pa-linux.h gcc-4.5.2/gcc/config/pa/pa-linux.h
    311 --- gcc-4.5.2.orig/gcc/config/pa/pa-linux.h     2009-12-04 02:47:51.000000000 -0500
    312 +++ gcc-4.5.2/gcc/config/pa/pa-linux.h  2011-01-08 13:38:44.095033293 -0500
    313 @@ -38,7 +38,7 @@
     323diff -Naur gcc-4.6.0.orig/gcc/config/pa/pa-linux.h gcc-4.6.0/gcc/config/pa/pa-linux.h
     324--- gcc-4.6.0.orig/gcc/config/pa/pa-linux.h     2011-01-26 15:27:04.000000000 -0500
     325+++ gcc-4.6.0/gcc/config/pa/pa-linux.h  2011-04-16 15:42:48.135213462 -0400
     326@@ -39,7 +39,7 @@
    314327 /* Define this for shared library support because it isn't in the main
    315328    linux.h file.  */
     
    320333 #undef LINK_SPEC
    321334 #define LINK_SPEC "\
    322 diff -Naur gcc-4.5.2.orig/gcc/config/rs6000/linux64.h gcc-4.5.2/gcc/config/rs6000/linux64.h
    323 --- gcc-4.5.2.orig/gcc/config/rs6000/linux64.h  2010-11-17 01:09:53.000000000 -0500
    324 +++ gcc-4.5.2/gcc/config/rs6000/linux64.h       2011-01-08 13:38:44.095033293 -0500
    325 @@ -340,10 +340,10 @@
     335diff -Naur gcc-4.6.0.orig/gcc/config/rs6000/linux64.h gcc-4.6.0/gcc/config/rs6000/linux64.h
     336--- gcc-4.6.0.orig/gcc/config/rs6000/linux64.h  2011-03-07 02:50:23.000000000 -0500
     337+++ gcc-4.6.0/gcc/config/rs6000/linux64.h       2011-04-16 15:44:57.343213510 -0400
     338@@ -372,10 +372,10 @@
    326339 #undef LINK_OS_DEFAULT_SPEC
    327340 #define LINK_OS_DEFAULT_SPEC "%(link_os_linux)"
     
    331344-#define UCLIBC_DYNAMIC_LINKER32 "/lib/ld-uClibc.so.0"
    332345-#define UCLIBC_DYNAMIC_LINKER64 "/lib/ld64-uClibc.so.0"
    333 +#define GLIBC_DYNAMIC_LINKER32 "/tools/lib32/ld.so.1"
    334 +#define GLIBC_DYNAMIC_LINKER64 "/tools/lib/ld64.so.1"
    335 +#define UCLIBC_DYNAMIC_LINKER32 "/tools/lib32/ld-uClibc.so.0"
     346+#define GLIBC_DYNAMIC_LINKER32 "/tools/lib/ld.so.1"
     347+#define GLIBC_DYNAMIC_LINKER64 "/tools/lib64/ld64.so.1"
     348+#define UCLIBC_DYNAMIC_LINKER32 "/tools/lib/ld-uClibc.so.0"
    336349+#define UCLIBC_DYNAMIC_LINKER64 "/tools/lib/ld64-uClibc.so.0"
    337  #if UCLIBC_DEFAULT
    338  #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}"
    339  #else
    340 diff -Naur gcc-4.5.2.orig/gcc/config/rs6000/sysv4.h gcc-4.5.2/gcc/config/rs6000/sysv4.h
    341 --- gcc-4.5.2.orig/gcc/config/rs6000/sysv4.h    2010-11-03 09:55:26.000000000 -0400
    342 +++ gcc-4.5.2/gcc/config/rs6000/sysv4.h 2011-01-08 13:38:44.095033293 -0500
    343 @@ -899,8 +899,8 @@
     350 #if DEFAULT_LIBC == LIBC_UCLIBC
     351 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:" G ";:" U "}"
     352 #elif DEFAULT_LIBC == LIBC_GLIBC
     353diff -Naur gcc-4.6.0.orig/gcc/config/rs6000/sysv4.h gcc-4.6.0/gcc/config/rs6000/sysv4.h
     354--- gcc-4.6.0.orig/gcc/config/rs6000/sysv4.h    2011-03-07 02:50:23.000000000 -0500
     355+++ gcc-4.6.0/gcc/config/rs6000/sysv4.h 2011-04-16 15:45:23.727213520 -0400
     356@@ -818,8 +818,8 @@
    344357 
    345358 #define LINK_START_LINUX_SPEC ""
     
    349362+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1"
    350363+#define UCLIBC_DYNAMIC_LINKER "/tools/lib/ld-uClibc.so.0"
    351  #if UCLIBC_DEFAULT
    352  #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}"
    353  #else
    354 @@ -942,7 +942,7 @@
     364 #if DEFAULT_LIBC == LIBC_UCLIBC
     365 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:" G ";:" U "}"
     366 #elif !defined (DEFAULT_LIBC) || DEFAULT_LIBC == LIBC_GLIBC
     367@@ -863,7 +863,7 @@
    355368 
    356369 #define LINK_OS_GNU_SPEC "-m elf32ppclinux %{!shared: %{!static: \
    357370   %{rdynamic:-export-dynamic} \
    358 %{!dynamic-linker:-dynamic-linker /lib/ld.so.1}}}"
    359 %{!dynamic-linker:-dynamic-linker /tools/lib/ld.so.1}}}"
     371-dynamic-linker /lib/ld.so.1}}"
     372-dynamic-linker /tools/lib/ld.so.1}}"
    360373 
    361374 #define CPP_OS_GNU_SPEC "-D__unix__ -D__gnu_hurd__ -D__GNU__   \
    362375 %{!undef:                                                      \
    363 diff -Naur gcc-4.5.2.orig/gcc/config/rs6000/t-linux64 gcc-4.5.2/gcc/config/rs6000/t-linux64
    364 --- gcc-4.5.2.orig/gcc/config/rs6000/t-linux64  2009-04-21 15:03:23.000000000 -0400
    365 +++ gcc-4.5.2/gcc/config/rs6000/t-linux64       2011-01-08 13:38:44.095033293 -0500
     376diff -Naur gcc-4.6.0.orig/gcc/config/rs6000/t-linux64 gcc-4.6.0/gcc/config/rs6000/t-linux64
     377--- gcc-4.6.0.orig/gcc/config/rs6000/t-linux64  2009-04-21 15:03:23.000000000 -0400
     378+++ gcc-4.6.0/gcc/config/rs6000/t-linux64       2011-04-16 15:42:48.195213462 -0400
    366379@@ -36,7 +36,7 @@
    367380 MULTILIB_EXTRA_OPTS     = fPIC mstrict-align
     
    373386 
    374387 softfp_wrap_start := '\#ifndef __powerpc64__'
    375 diff -Naur gcc-4.5.2.orig/gcc/config/s390/linux.h gcc-4.5.2/gcc/config/s390/linux.h
    376 --- gcc-4.5.2.orig/gcc/config/s390/linux.h      2007-08-02 06:49:31.000000000 -0400
    377 +++ gcc-4.5.2/gcc/config/s390/linux.h   2011-01-08 13:38:44.095033293 -0500
     388diff -Naur gcc-4.6.0.orig/gcc/config/s390/linux.h gcc-4.6.0/gcc/config/s390/linux.h
     389--- gcc-4.6.0.orig/gcc/config/s390/linux.h      2010-12-09 08:27:07.000000000 -0500
     390+++ gcc-4.6.0/gcc/config/s390/linux.h   2011-04-16 15:42:48.195213462 -0400
    378391@@ -72,8 +72,8 @@
    379392 #define MULTILIB_DEFAULTS { "m31" }
     
    387400 #undef  LINK_SPEC
    388401 #define LINK_SPEC \
    389 diff -Naur gcc-4.5.2.orig/gcc/config/s390/t-linux64 gcc-4.5.2/gcc/config/s390/t-linux64
    390 --- gcc-4.5.2.orig/gcc/config/s390/t-linux64    2010-10-04 12:54:26.000000000 -0400
    391 +++ gcc-4.5.2/gcc/config/s390/t-linux64 2011-01-08 13:40:17.250656249 -0500
     402diff -Naur gcc-4.6.0.orig/gcc/config/s390/t-linux64 gcc-4.6.0/gcc/config/s390/t-linux64
     403--- gcc-4.6.0.orig/gcc/config/s390/t-linux64    2010-10-04 12:51:59.000000000 -0400
     404+++ gcc-4.6.0/gcc/config/s390/t-linux64 2011-04-16 15:42:48.195213462 -0400
    392405@@ -7,4 +7,4 @@
    393406 
     
    396409-MULTILIB_OSDIRNAMES = ../lib64 $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib)
    397410+MULTILIB_OSDIRNAMES = ../lib ../lib32
    398 diff -Naur gcc-4.5.2.orig/gcc/config/sh/linux.h gcc-4.5.2/gcc/config/sh/linux.h
    399 --- gcc-4.5.2.orig/gcc/config/sh/linux.h        2007-08-02 06:49:31.000000000 -0400
    400 +++ gcc-4.5.2/gcc/config/sh/linux.h     2011-01-08 13:38:44.099033415 -0500
     411diff -Naur gcc-4.6.0.orig/gcc/config/sh/linux.h gcc-4.6.0/gcc/config/sh/linux.h
     412--- gcc-4.6.0.orig/gcc/config/sh/linux.h        2010-12-09 08:27:07.000000000 -0500
     413+++ gcc-4.6.0/gcc/config/sh/linux.h     2011-04-16 15:42:48.195213462 -0400
    401414@@ -47,7 +47,7 @@
    402415 
     
    408421 #undef SUBTARGET_LINK_EMUL_SUFFIX
    409422 #define SUBTARGET_LINK_EMUL_SUFFIX "_linux"
    410 diff -Naur gcc-4.5.2.orig/gcc/config/sparc/linux.h gcc-4.5.2/gcc/config/sparc/linux.h
    411 --- gcc-4.5.2.orig/gcc/config/sparc/linux.h     2010-09-22 17:15:37.000000000 -0400
    412 +++ gcc-4.5.2/gcc/config/sparc/linux.h  2011-01-08 13:38:44.099033415 -0500
    413 @@ -83,10 +83,10 @@
    414  
    415  /* If ELF is the default format, we should not use /lib/elf.  */
     423diff -Naur gcc-4.6.0.orig/gcc/config/sparc/linux.h gcc-4.6.0/gcc/config/sparc/linux.h
     424--- gcc-4.6.0.orig/gcc/config/sparc/linux.h     2011-01-26 15:30:12.000000000 -0500
     425+++ gcc-4.6.0/gcc/config/sparc/linux.h  2011-04-16 15:42:48.195213462 -0400
     426@@ -71,10 +71,10 @@
     427    When the -shared link option is used a final link is not being
     428    done.  */
    416429 
    417430-#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
     
    423436   %{!mno-relax:%{!r:-relax}} \
    424437   %{!shared: \
    425      %{!ibcs: \
    426 diff -Naur gcc-4.5.2.orig/gcc/config/sparc/linux64.h gcc-4.5.2/gcc/config/sparc/linux64.h
    427 --- gcc-4.5.2.orig/gcc/config/sparc/linux64.h   2010-09-22 17:15:37.000000000 -0400
    428 +++ gcc-4.5.2/gcc/config/sparc/linux64.h        2011-01-08 13:38:44.099033415 -0500
    429 @@ -109,8 +109,8 @@
    430  
    431  /* If ELF is the default format, we should not use /lib/elf.  */
     438     %{!static: \
     439diff -Naur gcc-4.6.0.orig/gcc/config/sparc/linux64.h gcc-4.6.0/gcc/config/sparc/linux64.h
     440--- gcc-4.6.0.orig/gcc/config/sparc/linux64.h   2011-02-17 08:57:21.000000000 -0500
     441+++ gcc-4.6.0/gcc/config/sparc/linux64.h        2011-04-16 15:42:48.195213462 -0400
     442@@ -101,8 +101,8 @@
     443    When the -shared link option is used a final link is not being
     444    done.  */
    432445 
    433446-#define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2"
     
    438451 #ifdef SPARC_BI_ARCH
    439452 
    440 @@ -121,7 +121,7 @@
     453@@ -113,7 +113,7 @@
    441454   { "link_arch_default", LINK_ARCH_DEFAULT_SPEC },       \
    442455   { "link_arch",        LINK_ARCH_SPEC },
     
    445458+#define LINK_ARCH32_SPEC "-m elf32_sparc -Y P,%R/tools/lib32 %{shared:-shared} \
    446459   %{!shared: \
    447      %{!ibcs: \
    448        %{!static: \
    449 @@ -130,7 +130,7 @@
    450          %{static:-static}}} \
     460     %{!static: \
     461       %{rdynamic:-export-dynamic} \
     462@@ -121,7 +121,7 @@
     463       %{static:-static}} \
    451464 "
    452465 
     
    454467+#define LINK_ARCH64_SPEC "-m elf64_sparc -Y P,%R/tools/lib %{shared:-shared} \
    455468   %{!shared: \
    456      %{!ibcs: \
    457        %{!static: \
    458 @@ -211,7 +211,7 @@
     469     %{!static: \
     470       %{rdynamic:-export-dynamic} \
     471@@ -193,7 +193,7 @@
    459472 #else /* !SPARC_BI_ARCH */
    460473 
     
    463476+#define LINK_SPEC "-m elf64_sparc -Y P,%R/tools/lib %{shared:-shared} \
    464477   %{!shared: \
    465      %{!ibcs: \
    466        %{!static: \
    467 diff -Naur gcc-4.5.2.orig/gcc/config/sparc/t-linux64 gcc-4.5.2/gcc/config/sparc/t-linux64
    468 --- gcc-4.5.2.orig/gcc/config/sparc/t-linux64   2010-10-04 12:54:26.000000000 -0400
    469 +++ gcc-4.5.2/gcc/config/sparc/t-linux64        2011-01-08 13:40:26.191030611 -0500
     478     %{!static: \
     479       %{rdynamic:-export-dynamic} \
     480diff -Naur gcc-4.6.0.orig/gcc/config/sparc/t-linux64 gcc-4.6.0/gcc/config/sparc/t-linux64
     481--- gcc-4.6.0.orig/gcc/config/sparc/t-linux64   2011-01-03 15:52:22.000000000 -0500
     482+++ gcc-4.6.0/gcc/config/sparc/t-linux64        2011-04-16 15:42:48.195213462 -0400
    470483@@ -26,7 +26,7 @@
    471484 
     
    477490 LIBGCC = stmp-multilib
    478491 INSTALL_LIBGCC = install-multilib
    479 diff -Naur gcc-4.5.2.orig/gcc/config/vax/linux.h gcc-4.5.2/gcc/config/vax/linux.h
    480 --- gcc-4.5.2.orig/gcc/config/vax/linux.h       2009-11-03 19:07:24.000000000 -0500
    481 +++ gcc-4.5.2/gcc/config/vax/linux.h    2011-01-08 13:38:44.099033415 -0500
    482 @@ -44,5 +44,5 @@
     492diff -Naur gcc-4.6.0.orig/gcc/config/vax/linux.h gcc-4.6.0/gcc/config/vax/linux.h
     493--- gcc-4.6.0.orig/gcc/config/vax/linux.h       2010-12-09 20:03:33.000000000 -0500
     494+++ gcc-4.6.0/gcc/config/vax/linux.h    2011-04-16 15:45:53.007213532 -0400
     495@@ -44,7 +44,7 @@
    483496   %{!shared: \
    484497     %{!static: \
    485498       %{rdynamic:-export-dynamic} \
    486 -      %{!dynamic-linker:-dynamic-linker /lib/ld.so.1}} \
    487 +      %{!dynamic-linker:-dynamic-linker /tools/lib/ld.so.1}} \
     499-      -dynamic-linker /lib/ld.so.1} \
     500+      -dynamic-linker /tools/lib/ld.so.1} \
    488501     %{static:-static}}"
    489 diff -Naur gcc-4.5.2.orig/gcc/config/xtensa/linux.h gcc-4.5.2/gcc/config/xtensa/linux.h
    490 --- gcc-4.5.2.orig/gcc/config/xtensa/linux.h    2008-01-17 20:37:53.000000000 -0500
    491 +++ gcc-4.5.2/gcc/config/xtensa/linux.h 2011-01-08 13:38:44.099033415 -0500
    492 @@ -43,7 +43,7 @@
     502 
     503 #undef  WCHAR_TYPE
     504diff -Naur gcc-4.6.0.orig/gcc/config/xtensa/linux.h gcc-4.6.0/gcc/config/xtensa/linux.h
     505--- gcc-4.6.0.orig/gcc/config/xtensa/linux.h    2011-01-14 13:45:06.000000000 -0500
     506+++ gcc-4.6.0/gcc/config/xtensa/linux.h 2011-04-16 15:42:48.195213462 -0400
     507@@ -48,7 +48,7 @@
    493508   %{mlongcalls:--longcalls} \
    494509   %{mno-longcalls:--no-longcalls}"
  • patches/gcc-4.6.0-specs-1.patch

    rdb10083 rd3cbdd9  
    11Submitted By: Joe Ciccone <jciccone@gmail.com>
    2 Date: 01-08-2011
     2Date: 04-16-2011
    33Initial Package Version: 3.4.6
    44Origin: Idea originally developed by Ryan Oliver and Greg Schafer for
     
    99
    1010    Rediffed Against 4.5.2 By Joe Ciccone <jciccone@gmail.com>
     11    Rediffed Against 4.6.0 By Joe Ciccone <jciccone@gmail.com>
    1112
    12 diff -Naur gcc-4.5.2.orig/gcc/config/alpha/gnu.h gcc-4.5.2/gcc/config/alpha/gnu.h
    13 --- gcc-4.5.2.orig/gcc/config/alpha/gnu.h       2009-04-21 15:03:23.000000000 -0400
    14 +++ gcc-4.5.2/gcc/config/alpha/gnu.h    2011-01-08 13:32:34.482662693 -0500
     13diff -Naur gcc-4.6.0.orig/gcc/config/alpha/gnu.h gcc-4.6.0/gcc/config/alpha/gnu.h
     14--- gcc-4.6.0.orig/gcc/config/alpha/gnu.h       2010-10-06 03:49:52.000000000 -0400
     15+++ gcc-4.6.0/gcc/config/alpha/gnu.h    2011-04-16 15:31:47.519213210 -0400
    1516@@ -34,7 +34,7 @@
    1617     } while (0)
     
    2223 #undef STARTFILE_SPEC
    2324 #define STARTFILE_SPEC \
    24 diff -Naur gcc-4.5.2.orig/gcc/config/alpha/linux-elf.h gcc-4.5.2/gcc/config/alpha/linux-elf.h
    25 --- gcc-4.5.2.orig/gcc/config/alpha/linux-elf.h 2007-08-02 06:49:31.000000000 -0400
    26 +++ gcc-4.5.2/gcc/config/alpha/linux-elf.h      2011-01-08 13:32:34.486656575 -0500
     25diff -Naur gcc-4.6.0.orig/gcc/config/alpha/linux-elf.h gcc-4.6.0/gcc/config/alpha/linux-elf.h
     26--- gcc-4.6.0.orig/gcc/config/alpha/linux-elf.h 2010-12-09 08:27:07.000000000 -0500
     27+++ gcc-4.6.0/gcc/config/alpha/linux-elf.h      2011-04-16 15:33:20.991213246 -0400
    2728@@ -27,8 +27,8 @@
    2829 #define EXTRA_SPECS \
     
    3334+#define GLIBC_DYNAMIC_LINKER   "/tools/lib/ld-linux.so.2"
    3435+#define UCLIBC_DYNAMIC_LINKER "/tools/lib/ld-uClibc.so.0"
    35  #if UCLIBC_DEFAULT
    36  #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}"
    37  #else
    38 diff -Naur gcc-4.5.2.orig/gcc/config/arm/linux-eabi.h gcc-4.5.2/gcc/config/arm/linux-eabi.h
    39 --- gcc-4.5.2.orig/gcc/config/arm/linux-eabi.h  2009-10-30 16:03:09.000000000 -0400
    40 +++ gcc-4.5.2/gcc/config/arm/linux-eabi.h       2011-01-08 13:32:34.486656575 -0500
    41 @@ -61,7 +61,7 @@
     36 #if DEFAULT_LIBC == LIBC_UCLIBC
     37 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:" G ";:" U "}"
     38 #elif DEFAULT_LIBC == LIBC_GLIBC
     39diff -Naur gcc-4.6.0.orig/gcc/config/arm/linux-eabi.h gcc-4.6.0/gcc/config/arm/linux-eabi.h
     40--- gcc-4.6.0.orig/gcc/config/arm/linux-eabi.h  2011-01-12 09:29:14.000000000 -0500
     41+++ gcc-4.6.0/gcc/config/arm/linux-eabi.h       2011-04-16 15:31:47.911213210 -0400
     42@@ -62,7 +62,7 @@
    4243 /* Use ld-linux.so.3 so that it will be possible to run "classic"
    4344    GNU/Linux binaries on an EABI system.  */
     
    4849 /* At this point, bpabi.h will have clobbered LINK_SPEC.  We want to
    4950    use the GNU/Linux version, not the generic BPABI version.  */
    50 diff -Naur gcc-4.5.2.orig/gcc/config/arm/linux-elf.h gcc-4.5.2/gcc/config/arm/linux-elf.h
    51 --- gcc-4.5.2.orig/gcc/config/arm/linux-elf.h   2009-11-05 09:47:45.000000000 -0500
    52 +++ gcc-4.5.2/gcc/config/arm/linux-elf.h        2011-01-08 13:32:34.486656575 -0500
     51diff -Naur gcc-4.6.0.orig/gcc/config/arm/linux-elf.h gcc-4.6.0/gcc/config/arm/linux-elf.h
     52--- gcc-4.6.0.orig/gcc/config/arm/linux-elf.h   2011-01-14 13:42:32.000000000 -0500
     53+++ gcc-4.6.0/gcc/config/arm/linux-elf.h        2011-04-16 15:31:48.087213212 -0400
    5354@@ -62,7 +62,7 @@
    5455 
     
    5859+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2"
    5960 
    60  #define LINUX_TARGET_LINK_SPEC  "%{h*} %{version:-v} \
    61     %{b} \
    62 diff -Naur gcc-4.5.2.orig/gcc/config/bfin/linux.h gcc-4.5.2/gcc/config/bfin/linux.h
    63 --- gcc-4.5.2.orig/gcc/config/bfin/linux.h      2009-09-03 11:37:28.000000000 -0400
    64 +++ gcc-4.5.2/gcc/config/bfin/linux.h   2011-01-08 13:32:34.486656575 -0500
     61 #define LINUX_TARGET_LINK_SPEC  "%{h*} \
     62    %{static:-Bstatic} \
     63diff -Naur gcc-4.6.0.orig/gcc/config/bfin/linux.h gcc-4.6.0/gcc/config/bfin/linux.h
     64--- gcc-4.6.0.orig/gcc/config/bfin/linux.h      2010-12-09 08:27:07.000000000 -0500
     65+++ gcc-4.6.0/gcc/config/bfin/linux.h   2011-04-16 15:33:51.791213258 -0400
    6566@@ -45,7 +45,7 @@
    6667   %{shared:-G -Bdynamic} \
    6768   %{!shared: %{!static: \
    6869    %{rdynamic:-export-dynamic} \
    69 -   %{!dynamic-linker:-dynamic-linker /lib/ld-uClibc.so.0}} \
    70 +   %{!dynamic-linker:-dynamic-linker /tools/lib/ld-uClibc.so.0}} \
     70-   -dynamic-linker /lib/ld-uClibc.so.0} \
     71+   -dynamic-linker /tools/lib/ld-uClibc.so.0} \
    7172    %{static}} -init __init -fini __fini"
    7273 
    7374 #define MD_UNWIND_SUPPORT "config/bfin/linux-unwind.h"
    74 diff -Naur gcc-4.5.2.orig/gcc/config/cris/linux.h gcc-4.5.2/gcc/config/cris/linux.h
    75 --- gcc-4.5.2.orig/gcc/config/cris/linux.h      2009-03-22 11:15:04.000000000 -0400
    76 +++ gcc-4.5.2/gcc/config/cris/linux.h   2011-01-08 13:32:34.486656575 -0500
     75diff -Naur gcc-4.6.0.orig/gcc/config/cris/linux.h gcc-4.6.0/gcc/config/cris/linux.h
     76--- gcc-4.6.0.orig/gcc/config/cris/linux.h      2011-01-14 13:51:46.000000000 -0500
     77+++ gcc-4.6.0/gcc/config/cris/linux.h   2011-04-16 15:31:48.239213212 -0400
    7778@@ -103,7 +103,7 @@
    7879 #undef CRIS_DEFAULT_CPU_VERSION
     
    8283+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1"
    8384 
    84  /* We need an -rpath-link to ld.so.1, and presumably to each directory
    85     specified with -B.  */
    86 diff -Naur gcc-4.5.2.orig/gcc/config/freebsd-spec.h gcc-4.5.2/gcc/config/freebsd-spec.h
    87 --- gcc-4.5.2.orig/gcc/config/freebsd-spec.h    2009-09-22 12:28:26.000000000 -0400
    88 +++ gcc-4.5.2/gcc/config/freebsd-spec.h 2011-01-08 13:32:34.486656575 -0500
    89 @@ -146,7 +146,7 @@
     85 #undef CRIS_LINK_SUBTARGET_SPEC
     86 #define CRIS_LINK_SUBTARGET_SPEC \
     87diff -Naur gcc-4.6.0.orig/gcc/config/freebsd-spec.h gcc-4.6.0/gcc/config/freebsd-spec.h
     88--- gcc-4.6.0.orig/gcc/config/freebsd-spec.h    2011-02-13 19:40:15.000000000 -0500
     89+++ gcc-4.6.0/gcc/config/freebsd-spec.h 2011-04-16 15:31:48.239213212 -0400
     90@@ -131,7 +131,7 @@
    9091 #if FBSD_MAJOR < 6
    9192 #define FBSD_DYNAMIC_LINKER "/usr/libexec/ld-elf.so.1"
     
    9697 
    9798 #if defined(HAVE_LD_EH_FRAME_HDR)
    98 diff -Naur gcc-4.5.2.orig/gcc/config/frv/linux.h gcc-4.5.2/gcc/config/frv/linux.h
    99 --- gcc-4.5.2.orig/gcc/config/frv/linux.h       2007-08-02 06:49:31.000000000 -0400
    100 +++ gcc-4.5.2/gcc/config/frv/linux.h    2011-01-08 13:32:34.486656575 -0500
     99diff -Naur gcc-4.6.0.orig/gcc/config/frv/linux.h gcc-4.6.0/gcc/config/frv/linux.h
     100--- gcc-4.6.0.orig/gcc/config/frv/linux.h       2010-12-09 08:27:07.000000000 -0500
     101+++ gcc-4.6.0/gcc/config/frv/linux.h    2011-04-16 15:31:48.239213212 -0400
    101102@@ -35,7 +35,7 @@
    102103 #define ENDFILE_SPEC \
     
    108109 #undef LINK_SPEC
    109110 #define LINK_SPEC "\
    110 diff -Naur gcc-4.5.2.orig/gcc/config/i386/gnu.h gcc-4.5.2/gcc/config/i386/gnu.h
    111 --- gcc-4.5.2.orig/gcc/config/i386/gnu.h        2008-11-13 18:28:46.000000000 -0500
    112 +++ gcc-4.5.2/gcc/config/i386/gnu.h     2011-01-08 13:32:34.486656575 -0500
     111diff -Naur gcc-4.6.0.orig/gcc/config/i386/gnu.h gcc-4.6.0/gcc/config/i386/gnu.h
     112--- gcc-4.6.0.orig/gcc/config/i386/gnu.h        2011-02-08 14:14:04.000000000 -0500
     113+++ gcc-4.6.0/gcc/config/i386/gnu.h     2011-04-16 15:31:48.239213212 -0400
    113114@@ -21,7 +21,7 @@
    114115 */
     
    120121 #undef TARGET_VERSION
    121122 #define TARGET_VERSION fprintf (stderr, " (i386 GNU)");
    122 diff -Naur gcc-4.5.2.orig/gcc/config/i386/linux.h gcc-4.5.2/gcc/config/i386/linux.h
    123 --- gcc-4.5.2.orig/gcc/config/i386/linux.h      2010-03-24 16:44:48.000000000 -0400
    124 +++ gcc-4.5.2/gcc/config/i386/linux.h   2011-01-08 13:32:34.486656575 -0500
    125 @@ -100,7 +100,7 @@
     123diff -Naur gcc-4.6.0.orig/gcc/config/i386/linux.h gcc-4.6.0/gcc/config/i386/linux.h
     124--- gcc-4.6.0.orig/gcc/config/i386/linux.h      2011-01-14 13:45:06.000000000 -0500
     125+++ gcc-4.6.0/gcc/config/i386/linux.h   2011-04-16 15:31:48.239213212 -0400
     126@@ -92,7 +92,7 @@
    126127 
    127128 /* These macros may be overridden in k*bsd-gnu.h and i386/k*bsd-gnu.h. */
     
    132133 #undef  ASM_SPEC
    133134 #define ASM_SPEC \
    134 diff -Naur gcc-4.5.2.orig/gcc/config/i386/linux64.h gcc-4.5.2/gcc/config/i386/linux64.h
    135 --- gcc-4.5.2.orig/gcc/config/i386/linux64.h    2010-03-24 16:44:48.000000000 -0400
    136 +++ gcc-4.5.2/gcc/config/i386/linux64.h 2011-01-08 13:32:34.486656575 -0500
    137 @@ -58,8 +58,8 @@
     135diff -Naur gcc-4.6.0.orig/gcc/config/i386/linux64.h gcc-4.6.0/gcc/config/i386/linux64.h
     136--- gcc-4.6.0.orig/gcc/config/i386/linux64.h    2011-03-02 17:35:36.000000000 -0500
     137+++ gcc-4.6.0/gcc/config/i386/linux64.h 2011-04-16 15:31:48.239213212 -0400
     138@@ -62,8 +62,8 @@
    138139    When the -shared link option is used a final link is not being
    139140    done.  */
     
    146147 #if TARGET_64BIT_DEFAULT
    147148 #define SPEC_32 "m32"
    148 diff -Naur gcc-4.5.2.orig/gcc/config/ia64/linux.h gcc-4.5.2/gcc/config/ia64/linux.h
    149 --- gcc-4.5.2.orig/gcc/config/ia64/linux.h      2009-04-21 15:03:23.000000000 -0400
    150 +++ gcc-4.5.2/gcc/config/ia64/linux.h   2011-01-08 13:32:34.486656575 -0500
     149diff -Naur gcc-4.6.0.orig/gcc/config/ia64/linux.h gcc-4.6.0/gcc/config/ia64/linux.h
     150--- gcc-4.6.0.orig/gcc/config/ia64/linux.h      2010-12-09 08:27:07.000000000 -0500
     151+++ gcc-4.6.0/gcc/config/ia64/linux.h   2011-04-16 15:31:48.239213212 -0400
    151152@@ -61,7 +61,7 @@
    152153 /* Define this for shared library support because it isn't in the main
     
    158159 #undef LINK_SPEC
    159160 #define LINK_SPEC "\
    160 diff -Naur gcc-4.5.2.orig/gcc/config/kfreebsd-gnu.h gcc-4.5.2/gcc/config/kfreebsd-gnu.h
    161 --- gcc-4.5.2.orig/gcc/config/kfreebsd-gnu.h    2007-08-02 06:49:31.000000000 -0400
    162 +++ gcc-4.5.2/gcc/config/kfreebsd-gnu.h 2011-01-08 13:32:34.486656575 -0500
     161diff -Naur gcc-4.6.0.orig/gcc/config/kfreebsd-gnu.h gcc-4.6.0/gcc/config/kfreebsd-gnu.h
     162--- gcc-4.6.0.orig/gcc/config/kfreebsd-gnu.h    2007-08-02 06:49:31.000000000 -0400
     163+++ gcc-4.6.0/gcc/config/kfreebsd-gnu.h 2011-04-16 15:31:48.239213212 -0400
    163164@@ -33,5 +33,5 @@
    164165 
     
    168169+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1"
    169170 #endif
    170 diff -Naur gcc-4.5.2.orig/gcc/config/knetbsd-gnu.h gcc-4.5.2/gcc/config/knetbsd-gnu.h
    171 --- gcc-4.5.2.orig/gcc/config/knetbsd-gnu.h     2007-08-02 06:49:31.000000000 -0400
    172 +++ gcc-4.5.2/gcc/config/knetbsd-gnu.h  2011-01-08 13:32:34.486656575 -0500
     171diff -Naur gcc-4.6.0.orig/gcc/config/knetbsd-gnu.h gcc-4.6.0/gcc/config/knetbsd-gnu.h
     172--- gcc-4.6.0.orig/gcc/config/knetbsd-gnu.h     2007-08-02 06:49:31.000000000 -0400
     173+++ gcc-4.6.0/gcc/config/knetbsd-gnu.h  2011-04-16 15:31:48.239213212 -0400
    173174@@ -34,5 +34,5 @@
    174175 
     
    178179+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1"
    179180 #endif
    180 diff -Naur gcc-4.5.2.orig/gcc/config/kopensolaris-gnu.h gcc-4.5.2/gcc/config/kopensolaris-gnu.h
    181 --- gcc-4.5.2.orig/gcc/config/kopensolaris-gnu.h        2009-01-29 13:48:41.000000000 -0500
    182 +++ gcc-4.5.2/gcc/config/kopensolaris-gnu.h     2011-01-08 13:32:34.486656575 -0500
     181diff -Naur gcc-4.6.0.orig/gcc/config/kopensolaris-gnu.h gcc-4.6.0/gcc/config/kopensolaris-gnu.h
     182--- gcc-4.6.0.orig/gcc/config/kopensolaris-gnu.h        2009-01-29 13:48:41.000000000 -0500
     183+++ gcc-4.6.0/gcc/config/kopensolaris-gnu.h     2011-04-16 15:31:48.239213212 -0400
    183184@@ -33,5 +33,5 @@
    184185 
     
    188189+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1"
    189190 #endif
    190 diff -Naur gcc-4.5.2.orig/gcc/config/linux.h gcc-4.5.2/gcc/config/linux.h
    191 --- gcc-4.5.2.orig/gcc/config/linux.h   2009-04-09 11:00:19.000000000 -0400
    192 +++ gcc-4.5.2/gcc/config/linux.h        2011-01-08 13:32:34.486656575 -0500
    193 @@ -117,9 +117,9 @@
     191diff -Naur gcc-4.6.0.orig/gcc/config/linux.h gcc-4.6.0/gcc/config/linux.h
     192--- gcc-4.6.0.orig/gcc/config/linux.h   2011-01-12 09:29:14.000000000 -0500
     193+++ gcc-4.6.0/gcc/config/linux.h        2011-04-16 15:34:53.103213282 -0400
     194@@ -74,9 +74,9 @@
    194195    GLIBC_DYNAMIC_LINKER must be defined for each target using them, or
    195196    GLIBC_DYNAMIC_LINKER32 and GLIBC_DYNAMIC_LINKER64 for targets
     
    201202+#define UCLIBC_DYNAMIC_LINKER32 "/tools/lib/ld-uClibc.so.0"
    202203+#define UCLIBC_DYNAMIC_LINKER64 "/tools/lib/ld64-uClibc.so.0"
    203  #define LINUX_DYNAMIC_LINKER \
    204    CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER)
    205  #define LINUX_DYNAMIC_LINKER32 \
    206 diff -Naur gcc-4.5.2.orig/gcc/config/lm32/uclinux-elf.h gcc-4.5.2/gcc/config/lm32/uclinux-elf.h
    207 --- gcc-4.5.2.orig/gcc/config/lm32/uclinux-elf.h        2009-11-11 11:43:06.000000000 -0500
    208 +++ gcc-4.5.2/gcc/config/lm32/uclinux-elf.h     2011-01-08 13:32:34.486656575 -0500
    209 @@ -73,7 +73,7 @@
     204 #define BIONIC_DYNAMIC_LINKER "/system/bin/linker"
     205 #define BIONIC_DYNAMIC_LINKER32 "/system/bin/linker"
     206 #define BIONIC_DYNAMIC_LINKER64 "/system/bin/linker64"
     207diff -Naur gcc-4.6.0.orig/gcc/config/lm32/uclinux-elf.h gcc-4.6.0/gcc/config/lm32/uclinux-elf.h
     208--- gcc-4.6.0.orig/gcc/config/lm32/uclinux-elf.h        2011-01-14 13:42:32.000000000 -0500
     209+++ gcc-4.6.0/gcc/config/lm32/uclinux-elf.h     2011-04-16 15:38:23.975213362 -0400
     210@@ -72,7 +72,7 @@
    210211    %{shared:-shared} \
    211212    %{symbolic:-Bsymbolic} \
    212213    %{rdynamic:-export-dynamic} \
    213 -   %{!dynamic-linker:-dynamic-linker /lib/ld-linux.so.2}"
    214 +   %{!dynamic-linker:-dynamic-linker /tools/lib/ld-linux.so.2}"
     214-   -dynamic-linker /lib/ld-linux.so.2"
     215+   -dynamic-linker /tools/lib/ld-linux.so.2"
    215216 
    216217 #define TARGET_OS_CPP_BUILTINS() LINUX_TARGET_OS_CPP_BUILTINS()
    217218 
    218 diff -Naur gcc-4.5.2.orig/gcc/config/m32r/linux.h gcc-4.5.2/gcc/config/m32r/linux.h
    219 --- gcc-4.5.2.orig/gcc/config/m32r/linux.h      2007-08-02 06:49:31.000000000 -0400
    220 +++ gcc-4.5.2/gcc/config/m32r/linux.h   2011-01-08 13:32:34.486656575 -0500
    221 @@ -58,7 +58,7 @@
    222  
    223  /* If ELF is the default format, we should not use /lib/elf.  */
     219diff -Naur gcc-4.6.0.orig/gcc/config/m32r/linux.h gcc-4.6.0/gcc/config/m32r/linux.h
     220--- gcc-4.6.0.orig/gcc/config/m32r/linux.h      2011-01-14 13:45:06.000000000 -0500
     221+++ gcc-4.6.0/gcc/config/m32r/linux.h   2011-04-16 15:31:48.395213212 -0400
     222@@ -47,7 +47,7 @@
     223    When the -shared link option is used a final link is not being
     224    done.  */
    224225 
    225226-#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
     
    228229 #undef LINK_SPEC
    229230 #if TARGET_LITTLE_ENDIAN
    230 diff -Naur gcc-4.5.2.orig/gcc/config/m68k/linux.h gcc-4.5.2/gcc/config/m68k/linux.h
    231 --- gcc-4.5.2.orig/gcc/config/m68k/linux.h      2009-12-11 10:32:08.000000000 -0500
    232 +++ gcc-4.5.2/gcc/config/m68k/linux.h   2011-01-08 13:32:34.486656575 -0500
    233 @@ -84,7 +84,7 @@
    234  
    235  /* If ELF is the default format, we should not use /lib/elf.  */
     231diff -Naur gcc-4.6.0.orig/gcc/config/m68k/linux.h gcc-4.6.0/gcc/config/m68k/linux.h
     232--- gcc-4.6.0.orig/gcc/config/m68k/linux.h      2011-01-26 15:30:12.000000000 -0500
     233+++ gcc-4.6.0/gcc/config/m68k/linux.h   2011-04-16 15:31:48.395213212 -0400
     234@@ -75,7 +75,7 @@
     235    When the -shared link option is used a final link is not being
     236    done.  */
    236237 
    237238-#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
     
    240241 #undef LINK_SPEC
    241242 #define LINK_SPEC "-m m68kelf %{shared} \
    242 diff -Naur gcc-4.5.2.orig/gcc/config/mips/linux.h gcc-4.5.2/gcc/config/mips/linux.h
    243 --- gcc-4.5.2.orig/gcc/config/mips/linux.h      2009-02-20 10:20:38.000000000 -0500
    244 +++ gcc-4.5.2/gcc/config/mips/linux.h   2011-01-08 13:32:34.486656575 -0500
    245 @@ -64,7 +64,7 @@
     243diff -Naur gcc-4.6.0.orig/gcc/config/microblaze/linux.h gcc-4.6.0/gcc/config/microblaze/linux.h
     244--- gcc-4.6.0.orig/gcc/config/microblaze/linux.h        2010-12-09 08:27:07.000000000 -0500
     245+++ gcc-4.6.0/gcc/config/microblaze/linux.h     2011-04-16 15:40:09.295213402 -0400
     246@@ -20,7 +20,7 @@
     247    <http://www.gnu.org/licenses/>.  */
     248 
     249 
     250-#define DYNAMIC_LINKER "/lib/ld.so.1"
     251+#define DYNAMIC_LINKER "/tools/lib/ld.so.1"
     252 #undef  SUBTARGET_EXTRA_SPECS
     253 #define SUBTARGET_EXTRA_SPECS \
     254   { "dynamic_linker", DYNAMIC_LINKER }
     255diff -Naur gcc-4.6.0.orig/gcc/config/mips/linux.h gcc-4.6.0/gcc/config/mips/linux.h
     256--- gcc-4.6.0.orig/gcc/config/mips/linux.h      2011-01-14 13:45:06.000000000 -0500
     257+++ gcc-4.6.0/gcc/config/mips/linux.h   2011-04-16 15:31:48.395213212 -0400
     258@@ -61,7 +61,7 @@
    246259 #undef MIPS_DEFAULT_GVALUE
    247260 #define MIPS_DEFAULT_GVALUE 0
     
    252265 /* Borrowed from sparc/linux.h */
    253266 #undef LINK_SPEC
    254 diff -Naur gcc-4.5.2.orig/gcc/config/mips/linux64.h gcc-4.5.2/gcc/config/mips/linux64.h
    255 --- gcc-4.5.2.orig/gcc/config/mips/linux64.h    2009-02-20 10:20:38.000000000 -0500
    256 +++ gcc-4.5.2/gcc/config/mips/linux64.h 2011-01-08 13:32:34.490657437 -0500
     267diff -Naur gcc-4.6.0.orig/gcc/config/mips/linux64.h gcc-4.6.0/gcc/config/mips/linux64.h
     268--- gcc-4.6.0.orig/gcc/config/mips/linux64.h    2011-01-19 15:39:09.000000000 -0500
     269+++ gcc-4.6.0/gcc/config/mips/linux64.h 2011-04-16 15:35:35.847213298 -0400
    257270@@ -35,10 +35,10 @@
    258271 %{!shared: \
     
    267280+#define GLIBC_DYNAMIC_LINKERN32 "/tools/lib32/ld.so.1"
    268281+#define UCLIBC_DYNAMIC_LINKERN32 "/tools/lib32/ld-uClibc.so.0"
     282 #define BIONIC_DYNAMIC_LINKERN32 "/system/bin/linker32"
    269283 #define LINUX_DYNAMIC_LINKERN32 \
    270    CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKERN32, UCLIBC_DYNAMIC_LINKERN32)
    271  
    272 diff -Naur gcc-4.5.2.orig/gcc/config/mn10300/linux.h gcc-4.5.2/gcc/config/mn10300/linux.h
    273 --- gcc-4.5.2.orig/gcc/config/mn10300/linux.h   2007-08-02 06:49:31.000000000 -0400
    274 +++ gcc-4.5.2/gcc/config/mn10300/linux.h        2011-01-08 13:32:34.490657437 -0500
     284   CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKERN32, UCLIBC_DYNAMIC_LINKERN32, \
     285diff -Naur gcc-4.6.0.orig/gcc/config/mn10300/linux.h gcc-4.6.0/gcc/config/mn10300/linux.h
     286--- gcc-4.6.0.orig/gcc/config/mn10300/linux.h   2010-12-31 09:34:26.000000000 -0500
     287+++ gcc-4.6.0/gcc/config/mn10300/linux.h        2011-04-16 15:31:48.395213212 -0400
    275288@@ -32,7 +32,7 @@
    276289 #undef  ASM_SPEC
    277  #define ASM_SPEC "%{Wa,*:%*}"
     290 #define ASM_SPEC ""
    278291 
    279292-#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
     
    282295 #undef  LINK_SPEC
    283296 #define LINK_SPEC "%{mrelax:--relax} %{shared:-shared} \
    284 diff -Naur gcc-4.5.2.orig/gcc/config/pa/pa-linux.h gcc-4.5.2/gcc/config/pa/pa-linux.h
    285 --- gcc-4.5.2.orig/gcc/config/pa/pa-linux.h     2009-12-04 02:47:51.000000000 -0500
    286 +++ gcc-4.5.2/gcc/config/pa/pa-linux.h  2011-01-08 13:32:34.490657437 -0500
    287 @@ -38,7 +38,7 @@
     297diff -Naur gcc-4.6.0.orig/gcc/config/pa/pa-linux.h gcc-4.6.0/gcc/config/pa/pa-linux.h
     298--- gcc-4.6.0.orig/gcc/config/pa/pa-linux.h     2011-01-26 15:27:04.000000000 -0500
     299+++ gcc-4.6.0/gcc/config/pa/pa-linux.h  2011-04-16 15:31:48.395213212 -0400
     300@@ -39,7 +39,7 @@
    288301 /* Define this for shared library support because it isn't in the main
    289302    linux.h file.  */
     
    294307 #undef LINK_SPEC
    295308 #define LINK_SPEC "\
    296 diff -Naur gcc-4.5.2.orig/gcc/config/rs6000/linux64.h gcc-4.5.2/gcc/config/rs6000/linux64.h
    297 --- gcc-4.5.2.orig/gcc/config/rs6000/linux64.h  2010-11-17 01:09:53.000000000 -0500
    298 +++ gcc-4.5.2/gcc/config/rs6000/linux64.h       2011-01-08 13:32:34.490657437 -0500
    299 @@ -340,10 +340,10 @@
     309diff -Naur gcc-4.6.0.orig/gcc/config/rs6000/linux64.h gcc-4.6.0/gcc/config/rs6000/linux64.h
     310--- gcc-4.6.0.orig/gcc/config/rs6000/linux64.h  2011-03-07 02:50:23.000000000 -0500
     311+++ gcc-4.6.0/gcc/config/rs6000/linux64.h       2011-04-16 15:36:11.471213312 -0400
     312@@ -372,10 +372,10 @@
    300313 #undef LINK_OS_DEFAULT_SPEC
    301314 #define LINK_OS_DEFAULT_SPEC "%(link_os_linux)"
     
    309322+#define UCLIBC_DYNAMIC_LINKER32 "/tools/lib/ld-uClibc.so.0"
    310323+#define UCLIBC_DYNAMIC_LINKER64 "/tools/lib/ld64-uClibc.so.0"
    311  #if UCLIBC_DEFAULT
    312  #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}"
    313  #else
    314 diff -Naur gcc-4.5.2.orig/gcc/config/rs6000/sysv4.h gcc-4.5.2/gcc/config/rs6000/sysv4.h
    315 --- gcc-4.5.2.orig/gcc/config/rs6000/sysv4.h    2010-11-03 09:55:26.000000000 -0400
    316 +++ gcc-4.5.2/gcc/config/rs6000/sysv4.h 2011-01-08 13:32:34.490657437 -0500
    317 @@ -899,8 +899,8 @@
     324 #if DEFAULT_LIBC == LIBC_UCLIBC
     325 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:" G ";:" U "}"
     326 #elif DEFAULT_LIBC == LIBC_GLIBC
     327diff -Naur gcc-4.6.0.orig/gcc/config/rs6000/sysv4.h gcc-4.6.0/gcc/config/rs6000/sysv4.h
     328--- gcc-4.6.0.orig/gcc/config/rs6000/sysv4.h    2011-03-07 02:50:23.000000000 -0500
     329+++ gcc-4.6.0/gcc/config/rs6000/sysv4.h 2011-04-16 15:37:33.279213342 -0400
     330@@ -818,8 +818,8 @@
    318331 
    319332 #define LINK_START_LINUX_SPEC ""
     
    323336+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1"
    324337+#define UCLIBC_DYNAMIC_LINKER "/tools/lib/ld-uClibc.so.0"
    325  #if UCLIBC_DEFAULT
    326  #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}"
    327  #else
    328 @@ -942,7 +942,7 @@
     338 #if DEFAULT_LIBC == LIBC_UCLIBC
     339 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:" G ";:" U "}"
     340 #elif !defined (DEFAULT_LIBC) || DEFAULT_LIBC == LIBC_GLIBC
     341@@ -863,7 +863,7 @@
    329342 
    330343 #define LINK_OS_GNU_SPEC "-m elf32ppclinux %{!shared: %{!static: \
    331344   %{rdynamic:-export-dynamic} \
    332 %{!dynamic-linker:-dynamic-linker /lib/ld.so.1}}}"
    333 %{!dynamic-linker:-dynamic-linker /tools/lib/ld.so.1}}}"
     345-dynamic-linker /lib/ld.so.1}}"
     346-dynamic-linker /tools/lib/ld.so.1}}"
    334347 
    335348 #define CPP_OS_GNU_SPEC "-D__unix__ -D__gnu_hurd__ -D__GNU__   \
    336349 %{!undef:                                                      \
    337 diff -Naur gcc-4.5.2.orig/gcc/config/s390/linux.h gcc-4.5.2/gcc/config/s390/linux.h
    338 --- gcc-4.5.2.orig/gcc/config/s390/linux.h      2007-08-02 06:49:31.000000000 -0400
    339 +++ gcc-4.5.2/gcc/config/s390/linux.h   2011-01-08 13:32:34.490657437 -0500
     350diff -Naur gcc-4.6.0.orig/gcc/config/s390/linux.h gcc-4.6.0/gcc/config/s390/linux.h
     351--- gcc-4.6.0.orig/gcc/config/s390/linux.h      2010-12-09 08:27:07.000000000 -0500
     352+++ gcc-4.6.0/gcc/config/s390/linux.h   2011-04-16 15:31:48.399213212 -0400
    340353@@ -72,8 +72,8 @@
    341354 #define MULTILIB_DEFAULTS { "m31" }
     
    349362 #undef  LINK_SPEC
    350363 #define LINK_SPEC \
    351 diff -Naur gcc-4.5.2.orig/gcc/config/sh/linux.h gcc-4.5.2/gcc/config/sh/linux.h
    352 --- gcc-4.5.2.orig/gcc/config/sh/linux.h        2007-08-02 06:49:31.000000000 -0400
    353 +++ gcc-4.5.2/gcc/config/sh/linux.h     2011-01-08 13:32:34.490657437 -0500
     364diff -Naur gcc-4.6.0.orig/gcc/config/sh/linux.h gcc-4.6.0/gcc/config/sh/linux.h
     365--- gcc-4.6.0.orig/gcc/config/sh/linux.h        2010-12-09 08:27:07.000000000 -0500
     366+++ gcc-4.6.0/gcc/config/sh/linux.h     2011-04-16 15:31:48.399213212 -0400
    354367@@ -47,7 +47,7 @@
    355368 
     
    361374 #undef SUBTARGET_LINK_EMUL_SUFFIX
    362375 #define SUBTARGET_LINK_EMUL_SUFFIX "_linux"
    363 diff -Naur gcc-4.5.2.orig/gcc/config/sparc/linux.h gcc-4.5.2/gcc/config/sparc/linux.h
    364 --- gcc-4.5.2.orig/gcc/config/sparc/linux.h     2010-09-22 17:15:37.000000000 -0400
    365 +++ gcc-4.5.2/gcc/config/sparc/linux.h  2011-01-08 13:32:34.490657437 -0500
    366 @@ -83,10 +83,10 @@
    367  
    368  /* If ELF is the default format, we should not use /lib/elf.  */
     376diff -Naur gcc-4.6.0.orig/gcc/config/sparc/linux.h gcc-4.6.0/gcc/config/sparc/linux.h
     377--- gcc-4.6.0.orig/gcc/config/sparc/linux.h     2011-01-26 15:30:12.000000000 -0500
     378+++ gcc-4.6.0/gcc/config/sparc/linux.h  2011-04-16 15:31:48.399213212 -0400
     379@@ -71,10 +71,10 @@
     380    When the -shared link option is used a final link is not being
     381    done.  */
    369382 
    370383-#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
     
    376389   %{!mno-relax:%{!r:-relax}} \
    377390   %{!shared: \
    378      %{!ibcs: \
    379 diff -Naur gcc-4.5.2.orig/gcc/config/sparc/linux64.h gcc-4.5.2/gcc/config/sparc/linux64.h
    380 --- gcc-4.5.2.orig/gcc/config/sparc/linux64.h   2010-09-22 17:15:37.000000000 -0400
    381 +++ gcc-4.5.2/gcc/config/sparc/linux64.h        2011-01-08 13:32:34.490657437 -0500
    382 @@ -109,8 +109,8 @@
    383  
    384  /* If ELF is the default format, we should not use /lib/elf.  */
     391     %{!static: \
     392diff -Naur gcc-4.6.0.orig/gcc/config/sparc/linux64.h gcc-4.6.0/gcc/config/sparc/linux64.h
     393--- gcc-4.6.0.orig/gcc/config/sparc/linux64.h   2011-02-17 08:57:21.000000000 -0500
     394+++ gcc-4.6.0/gcc/config/sparc/linux64.h        2011-04-16 15:31:48.399213212 -0400
     395@@ -101,8 +101,8 @@
     396    When the -shared link option is used a final link is not being
     397    done.  */
    385398 
    386399-#define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2"
     
    391404 #ifdef SPARC_BI_ARCH
    392405 
    393 @@ -121,7 +121,7 @@
     406@@ -113,7 +113,7 @@
    394407   { "link_arch_default", LINK_ARCH_DEFAULT_SPEC },       \
    395408   { "link_arch",        LINK_ARCH_SPEC },
     
    398411+#define LINK_ARCH32_SPEC "-m elf32_sparc -Y P,%R/tools/lib %{shared:-shared} \
    399412   %{!shared: \
    400      %{!ibcs: \
    401        %{!static: \
    402 @@ -130,7 +130,7 @@
    403          %{static:-static}}} \
     413     %{!static: \
     414       %{rdynamic:-export-dynamic} \
     415@@ -121,7 +121,7 @@
     416       %{static:-static}} \
    404417 "
    405418 
     
    407420+#define LINK_ARCH64_SPEC "-m elf64_sparc -Y P,%R/tools/lib64 %{shared:-shared} \
    408421   %{!shared: \
    409      %{!ibcs: \
    410        %{!static: \
    411 @@ -211,7 +211,7 @@
     422     %{!static: \
     423       %{rdynamic:-export-dynamic} \
     424@@ -193,7 +193,7 @@
    412425 #else /* !SPARC_BI_ARCH */
    413426 
     
    416429+#define LINK_SPEC "-m elf64_sparc -Y P,%R/tools/lib64 %{shared:-shared} \
    417430   %{!shared: \
    418      %{!ibcs: \
    419        %{!static: \
    420 diff -Naur gcc-4.5.2.orig/gcc/config/vax/linux.h gcc-4.5.2/gcc/config/vax/linux.h
    421 --- gcc-4.5.2.orig/gcc/config/vax/linux.h       2009-11-03 19:07:24.000000000 -0500
    422 +++ gcc-4.5.2/gcc/config/vax/linux.h    2011-01-08 13:32:34.494657459 -0500
    423 @@ -44,5 +44,5 @@
     431     %{!static: \
     432       %{rdynamic:-export-dynamic} \
     433diff -Naur gcc-4.6.0.orig/gcc/config/vax/linux.h gcc-4.6.0/gcc/config/vax/linux.h
     434--- gcc-4.6.0.orig/gcc/config/vax/linux.h       2010-12-09 20:03:33.000000000 -0500
     435+++ gcc-4.6.0/gcc/config/vax/linux.h    2011-04-16 15:38:05.583213354 -0400
     436@@ -44,7 +44,7 @@
    424437   %{!shared: \
    425438     %{!static: \
    426439       %{rdynamic:-export-dynamic} \
    427 -      %{!dynamic-linker:-dynamic-linker /lib/ld.so.1}} \
    428 +      %{!dynamic-linker:-dynamic-linker /tools/lib/ld.so.1}} \
     440-      -dynamic-linker /lib/ld.so.1} \
     441+      -dynamic-linker /tools/lib/ld.so.1} \
    429442     %{static:-static}}"
    430 diff -Naur gcc-4.5.2.orig/gcc/config/xtensa/linux.h gcc-4.5.2/gcc/config/xtensa/linux.h
    431 --- gcc-4.5.2.orig/gcc/config/xtensa/linux.h    2008-01-17 20:37:53.000000000 -0500
    432 +++ gcc-4.5.2/gcc/config/xtensa/linux.h 2011-01-08 13:32:34.494657459 -0500
    433 @@ -43,7 +43,7 @@
     443 
     444 #undef  WCHAR_TYPE
     445diff -Naur gcc-4.6.0.orig/gcc/config/xtensa/linux.h gcc-4.6.0/gcc/config/xtensa/linux.h
     446--- gcc-4.6.0.orig/gcc/config/xtensa/linux.h    2011-01-14 13:45:06.000000000 -0500
     447+++ gcc-4.6.0/gcc/config/xtensa/linux.h 2011-04-16 15:31:48.399213212 -0400
     448@@ -48,7 +48,7 @@
    434449   %{mlongcalls:--longcalls} \
    435450   %{mno-longcalls:--no-longcalls}"
Note: See TracChangeset for help on using the changeset viewer.