Changeset d3cbdd9
- Timestamp:
- Apr 16, 2011, 12:54:54 PM (14 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- b40feff
- Parents:
- db10083
- Files:
-
- 3 edited
- 3 moved
Legend:
- Unmodified
- Added
- Removed
-
BOOK/introduction/common/changelog.xml
rdb10083 rd3cbdd9 40 40 <para>April 16, 2011</para> 41 41 <itemizedlist> 42 <listitem> 43 <para>[jciccone] - Updated GCC to 4.6.0.</para> 44 </listitem> 42 45 <listitem> 43 46 <para>[jciccone] - Updated Binutils to 2.21.</para> -
BOOK/packages.ent
rdb10083 rd3cbdd9 162 162 <!ENTITY gawk-home "&gnu-software;gawk"> 163 163 164 <!ENTITY gcc-version "4. 5.2">165 <!ENTITY gcc-size "6 4,776KB">164 <!ENTITY gcc-version "4.6.0"> 165 <!ENTITY gcc-size "69,904 KB"> 166 166 <!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"> 168 168 <!ENTITY gcc-home "http://gcc.gnu.org"> 169 169 -
BOOK/patches.ent
rdb10083 rd3cbdd9 22 22 23 23 <!ENTITY gcc-specs-patch "gcc-&gcc-version;-specs-1.patch"> 24 <!ENTITY gcc-specs-patch-md5 " 15e207e152928cb307f38aa0c0924429">24 <!ENTITY gcc-specs-patch-md5 "61d583984f9f12b6f37141e132fc7d57"> 25 25 <!ENTITY gcc-specs-patch-size "20 KB"> 26 26 … … 90 90 91 91 <!ENTITY gcc-pure64-patch "gcc-&gcc-version;-pure64-1.patch"> 92 <!ENTITY gcc-pure64-patch-md5 " 9f230c4d6fc288405d831aaf02ef8a69">92 <!ENTITY gcc-pure64-patch-md5 "7c41d649fe266f11e4dbdd2392f7729b"> 93 93 <!ENTITY gcc-pure64-patch-size "12 KB"> 94 94 95 95 <!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"> 97 97 <!ENTITY gcc-specs_pure64-patch-size "24 KB"> 98 98 -
patches/gcc-4.6.0-pure64-1.patch
rdb10083 rd3cbdd9 1 1 Submitted By: Joe Ciccone <jciccone@gmail.com> 2 Date: 0 1-08-20112 Date: 04-16-2011 3 3 Initial Package Version: 3.4.6 4 4 Origin: Idea originally developed by Ryan Oliver and Greg Schafer for … … 9 9 10 10 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> 11 12 12 diff -Naur gcc-4. 5.2.orig/gcc/config/i386/linux64.h gcc-4.5.2/gcc/config/i386/linux64.h13 --- gcc-4. 5.2.orig/gcc/config/i386/linux64.h 2010-03-24 16:44:48.000000000 -040014 +++ gcc-4. 5.2/gcc/config/i386/linux64.h 2011-01-08 13:41:39.814665253 -050015 @@ - 58,8 +58,8 @@13 diff -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 @@ 16 17 When the -shared link option is used a final link is not being 17 18 done. */ … … 24 25 #if TARGET_64BIT_DEFAULT 25 26 #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-linux6427 --- gcc-4. 5.2.orig/gcc/config/i386/t-linux64 2009-04-21 15:03:23.000000000 -040028 +++ gcc-4. 5.2/gcc/config/i386/t-linux64 2011-01-08 13:41:39.814665253 -050027 diff -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 29 30 @@ -25,7 +25,7 @@ 30 31 … … 36 37 LIBGCC = stmp-multilib 37 38 INSTALL_LIBGCC = install-multilib 38 diff -Naur gcc-4. 5.2.orig/gcc/config/linux.h gcc-4.5.2/gcc/config/linux.h39 --- gcc-4. 5.2.orig/gcc/config/linux.h 2009-04-09 11:00:19.000000000 -040040 +++ gcc-4. 5.2/gcc/config/linux.h 2011-01-08 13:41:39.814665253 -050041 @@ - 118,7 +118,7 @@39 diff -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 @@ 42 43 GLIBC_DYNAMIC_LINKER32 and GLIBC_DYNAMIC_LINKER64 for targets 43 44 supporting both 32-bit and 64-bit compilation. */ … … 46 47 +#define UCLIBC_DYNAMIC_LINKER32 "/lib32/ld-uClibc.so.0" 47 48 #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.h51 --- gcc-4. 5.2.orig/gcc/config/mips/linux64.h 2009-02-20 10:20:38.000000000 -050052 +++ gcc-4. 5.2/gcc/config/mips/linux64.h 2011-01-08 13:41:39.814665253 -050049 #define BIONIC_DYNAMIC_LINKER "/system/bin/linker" 50 #define BIONIC_DYNAMIC_LINKER32 "/system/bin/linker" 51 diff -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 53 54 @@ -35,10 +35,10 @@ 54 55 %{!shared: \ … … 63 64 +#define GLIBC_DYNAMIC_LINKERN32 "/lib64/ld.so.1" 64 65 +#define UCLIBC_DYNAMIC_LINKERN32 "/lib64/ld-uClibc.so.0" 66 #define BIONIC_DYNAMIC_LINKERN32 "/system/bin/linker32" 65 67 #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, \ 69 diff -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 71 72 @@ -18,7 +18,7 @@ 72 73 … … 78 79 EXTRA_MULTILIB_PARTS=crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o 79 80 80 diff -Naur gcc-4. 5.2.orig/gcc/config/rs6000/linux64.h gcc-4.5.2/gcc/config/rs6000/linux64.h81 --- gcc-4. 5.2.orig/gcc/config/rs6000/linux64.h 2010-11-17 01:09:53.000000000 -050082 +++ gcc-4. 5.2/gcc/config/rs6000/linux64.h 2011-01-08 13:41:39.814665253 -050083 @@ -3 40,9 +340,9 @@81 diff -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 @@ 84 85 #undef LINK_OS_DEFAULT_SPEC 85 86 #define LINK_OS_DEFAULT_SPEC "%(link_os_linux)" … … 92 93 +#define UCLIBC_DYNAMIC_LINKER32 "/lib32/ld-uClibc.so.0" 93 94 #define UCLIBC_DYNAMIC_LINKER64 "/lib/ld64-uClibc.so.0" 94 #if UCLIBC_DEFAULT95 #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-linux6497 --- gcc-4. 5.2.orig/gcc/config/rs6000/t-linux64 2009-04-21 15:03:23.000000000 -040098 +++ gcc-4. 5.2/gcc/config/rs6000/t-linux64 2011-01-08 13:41:39.814665253 -050095 #if DEFAULT_LIBC == LIBC_UCLIBC 96 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:" G ";:" U "}" 97 diff -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 99 100 @@ -36,7 +36,7 @@ 100 101 MULTILIB_EXTRA_OPTS = fPIC mstrict-align … … 106 107 107 108 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.h109 --- gcc-4. 5.2.orig/gcc/config/s390/linux.h 2007-08-02 06:49:31.000000000 -0400110 +++ gcc-4. 5.2/gcc/config/s390/linux.h 2011-01-08 13:41:39.814665253 -0500109 diff -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 111 112 @@ -72,7 +72,7 @@ 112 113 #define MULTILIB_DEFAULTS { "m31" } … … 118 119 119 120 #undef LINK_SPEC 120 diff -Naur gcc-4. 5.2.orig/gcc/config/s390/t-linux64 gcc-4.5.2/gcc/config/s390/t-linux64121 --- gcc-4. 5.2.orig/gcc/config/s390/t-linux64 2010-10-04 12:54:26.000000000 -0400122 +++ gcc-4. 5.2/gcc/config/s390/t-linux64 2011-01-08 13:41:51.762743997 -0500121 diff -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 123 124 @@ -7,4 +7,4 @@ 124 125 … … 127 128 -MULTILIB_OSDIRNAMES = ../lib64 $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib) 128 129 +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.h130 --- gcc-4. 5.2.orig/gcc/config/sparc/linux.h 2010-09-22 17:15:37.000000000 -0400131 +++ gcc-4. 5.2/gcc/config/sparc/linux.h 2011-01-08 13:41:39.814665253 -0500132 @@ - 86,7 +86,7 @@130 diff -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 @@ 133 134 #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" 134 135 … … 138 139 %{!mno-relax:%{!r:-relax}} \ 139 140 %{!shared: \ 140 %{! ibcs: \141 diff -Naur gcc-4. 5.2.orig/gcc/config/sparc/linux64.h gcc-4.5.2/gcc/config/sparc/linux64.h142 --- gcc-4. 5.2.orig/gcc/config/sparc/linux64.h 2010-09-22 17:15:37.000000000 -0400143 +++ gcc-4. 5.2/gcc/config/sparc/linux64.h 2011-01-08 13:41:39.814665253 -0500144 @@ -10 9,8 +109,8 @@145 146 /* If ELF is the default format, we should not use /lib/elf. */141 %{!static: \ 142 diff -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. */ 147 148 148 149 -#define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2" … … 153 154 #ifdef SPARC_BI_ARCH 154 155 155 @@ -1 21,7 +121,7 @@156 @@ -113,7 +113,7 @@ 156 157 { "link_arch_default", LINK_ARCH_DEFAULT_SPEC }, \ 157 158 { "link_arch", LINK_ARCH_SPEC }, … … 160 161 +#define LINK_ARCH32_SPEC "-m elf32_sparc -Y P,%R/lib32 %{shared:-shared} \ 161 162 %{!shared: \ 162 %{! ibcs: \163 %{ !static:\164 @@ -1 30,7 +130,7 @@165 %{static:-static}}} \163 %{!static: \ 164 %{rdynamic:-export-dynamic} \ 165 @@ -121,7 +121,7 @@ 166 %{static:-static}} \ 166 167 " 167 168 … … 169 170 +#define LINK_ARCH64_SPEC "-m elf64_sparc -Y P,%R/lib %{shared:-shared} \ 170 171 %{!shared: \ 171 %{! ibcs: \172 %{ !static:\173 @@ - 211,7 +211,7 @@172 %{!static: \ 173 %{rdynamic:-export-dynamic} \ 174 @@ -193,7 +193,7 @@ 174 175 #else /* !SPARC_BI_ARCH */ 175 176 … … 178 179 +#define LINK_SPEC "-m elf64_sparc -Y P,%R/lib %{shared:-shared} \ 179 180 %{!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-linux64183 --- gcc-4. 5.2.orig/gcc/config/sparc/t-linux64 2010-10-04 12:54:26.000000000 -0400184 +++ gcc-4. 5.2/gcc/config/sparc/t-linux64 2011-01-08 13:42:07.870657323 -0500181 %{!static: \ 182 %{rdynamic:-export-dynamic} \ 183 diff -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 185 186 @@ -26,7 +26,7 @@ 186 187 -
patches/gcc-4.6.0-pure64_specs-1.patch
rdb10083 rd3cbdd9 1 1 Submitted By: Joe Ciccone <jciccone@gmail.com> 2 Date: 0 9-08-20112 Date: 04-16-2011 3 3 Initial Package Version: 3.4.6 4 4 Origin: Idea originally developed by Ryan Oliver and Greg Schafer for … … 11 11 12 12 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> 13 14 14 diff -Naur gcc-4. 5.2.orig/gcc/config/alpha/gnu.h gcc-4.5.2/gcc/config/alpha/gnu.h15 --- gcc-4. 5.2.orig/gcc/config/alpha/gnu.h 2009-04-21 15:03:23.000000000 -040016 +++ gcc-4. 5.2/gcc/config/alpha/gnu.h 2011-01-08 13:38:44.091021377 -050015 diff -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 17 18 @@ -34,7 +34,7 @@ 18 19 } while (0) … … 24 25 #undef STARTFILE_SPEC 25 26 #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.h27 --- gcc-4. 5.2.orig/gcc/config/alpha/linux-elf.h 2007-08-02 06:49:31.000000000 -040028 +++ gcc-4. 5.2/gcc/config/alpha/linux-elf.h 2011-01-08 13:38:44.091021377 -050027 diff -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 29 30 @@ -27,8 +27,8 @@ 30 31 #define EXTRA_SPECS \ … … 35 36 +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2" 36 37 +#define UCLIBC_DYNAMIC_LINKER "/tools/lib/ld-uClibc.so.0" 37 #if UCLIBC_DEFAULT38 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc: %{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}"39 #el se40 diff -Naur gcc-4. 5.2.orig/gcc/config/arm/linux-eabi.h gcc-4.5.2/gcc/config/arm/linux-eabi.h41 --- gcc-4. 5.2.orig/gcc/config/arm/linux-eabi.h 2009-10-30 16:03:09.000000000 -040042 +++ gcc-4. 5.2/gcc/config/arm/linux-eabi.h 2011-01-08 13:38:44.091021377 -050043 @@ -6 1,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 41 diff -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 @@ 44 45 /* Use ld-linux.so.3 so that it will be possible to run "classic" 45 46 GNU/Linux binaries on an EABI system. */ … … 50 51 /* At this point, bpabi.h will have clobbered LINK_SPEC. We want to 51 52 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.h53 --- gcc-4. 5.2.orig/gcc/config/arm/linux-elf.h 2009-11-05 09:47:45.000000000 -050054 +++ gcc-4. 5.2/gcc/config/arm/linux-elf.h 2011-01-08 13:38:44.091021377 -050053 diff -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 55 56 @@ -62,7 +62,7 @@ 56 57 … … 60 61 +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2" 61 62 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.h65 --- gcc-4. 5.2.orig/gcc/config/bfin/linux.h 2009-09-03 11:37:28.000000000 -040066 +++ gcc-4. 5.2/gcc/config/bfin/linux.h 2011-01-08 13:38:44.091021377 -050063 #define LINUX_TARGET_LINK_SPEC "%{h*} \ 64 %{static:-Bstatic} \ 65 diff -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 67 68 @@ -45,7 +45,7 @@ 68 69 %{shared:-G -Bdynamic} \ 69 70 %{!shared: %{!static: \ 70 71 %{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} \ 73 74 %{static}} -init __init -fini __fini" 74 75 75 76 #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.h77 --- gcc-4. 5.2.orig/gcc/config/cris/linux.h 2009-03-22 11:15:04.000000000 -040078 +++ gcc-4. 5.2/gcc/config/cris/linux.h 2011-01-08 13:38:44.091021377 -050077 diff -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 79 80 @@ -103,7 +103,7 @@ 80 81 #undef CRIS_DEFAULT_CPU_VERSION … … 84 85 +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1" 85 86 86 /* We need an -rpath-link to ld.so.1, and presumably to each directory87 specified with -B. */88 diff -Naur gcc-4. 5.2.orig/gcc/config/freebsd-spec.h gcc-4.5.2/gcc/config/freebsd-spec.h89 --- gcc-4. 5.2.orig/gcc/config/freebsd-spec.h 2009-09-22 12:28:26.000000000 -040090 +++ gcc-4. 5.2/gcc/config/freebsd-spec.h 2011-01-08 13:38:44.091021377 -050091 @@ -1 46,7 +146,7 @@87 #undef CRIS_LINK_SUBTARGET_SPEC 88 #define CRIS_LINK_SUBTARGET_SPEC \ 89 diff -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 @@ 92 93 #if FBSD_MAJOR < 6 93 94 #define FBSD_DYNAMIC_LINKER "/usr/libexec/ld-elf.so.1" … … 98 99 99 100 #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.h101 --- gcc-4. 5.2.orig/gcc/config/frv/linux.h 2007-08-02 06:49:31.000000000 -0400102 +++ gcc-4. 5.2/gcc/config/frv/linux.h 2011-01-08 13:38:44.091021377 -0500101 diff -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 103 104 @@ -35,7 +35,7 @@ 104 105 #define ENDFILE_SPEC \ … … 110 111 #undef LINK_SPEC 111 112 #define LINK_SPEC "\ 112 diff -Naur gcc-4. 5.2.orig/gcc/config/i386/gnu.h gcc-4.5.2/gcc/config/i386/gnu.h113 --- gcc-4. 5.2.orig/gcc/config/i386/gnu.h 2008-11-13 18:28:46.000000000 -0500114 +++ gcc-4. 5.2/gcc/config/i386/gnu.h 2011-01-08 13:38:44.091021377 -0500113 diff -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 115 116 @@ -21,7 +21,7 @@ 116 117 */ … … 122 123 #undef TARGET_VERSION 123 124 #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.h125 --- gcc-4. 5.2.orig/gcc/config/i386/linux.h 2010-03-24 16:44:48.000000000 -0400126 +++ gcc-4. 5.2/gcc/config/i386/linux.h 2011-01-08 13:38:44.091021377 -0500127 @@ - 100,7 +100,7 @@125 diff -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 @@ 128 129 129 130 /* These macros may be overridden in k*bsd-gnu.h and i386/k*bsd-gnu.h. */ … … 134 135 #undef ASM_SPEC 135 136 #define ASM_SPEC \ 136 diff -Naur gcc-4. 5.2.orig/gcc/config/i386/linux64.h gcc-4.5.2/gcc/config/i386/linux64.h137 --- gcc-4. 5.2.orig/gcc/config/i386/linux64.h 2010-03-24 16:44:48.000000000 -0400138 +++ gcc-4. 5.2/gcc/config/i386/linux64.h 2011-01-08 13:38:44.091021377 -0500139 @@ - 58,8 +58,8 @@137 diff -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 @@ 140 141 When the -shared link option is used a final link is not being 141 142 done. */ … … 148 149 #if TARGET_64BIT_DEFAULT 149 150 #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-linux64151 --- gcc-4. 5.2.orig/gcc/config/i386/t-linux64 2009-04-21 15:03:23.000000000 -0400152 +++ gcc-4. 5.2/gcc/config/i386/t-linux64 2011-01-08 13:38:44.091021377 -0500151 diff -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 153 154 @@ -25,7 +25,7 @@ 154 155 … … 160 161 LIBGCC = stmp-multilib 161 162 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.h163 --- gcc-4. 5.2.orig/gcc/config/ia64/linux.h 2009-04-21 15:03:23.000000000 -0400164 +++ gcc-4. 5.2/gcc/config/ia64/linux.h 2011-01-08 13:38:44.095033293 -0500163 diff -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 165 166 @@ -61,7 +61,7 @@ 166 167 /* Define this for shared library support because it isn't in the main … … 172 173 #undef LINK_SPEC 173 174 #define LINK_SPEC "\ 174 diff -Naur gcc-4. 5.2.orig/gcc/config/kfreebsd-gnu.h gcc-4.5.2/gcc/config/kfreebsd-gnu.h175 --- gcc-4. 5.2.orig/gcc/config/kfreebsd-gnu.h 2007-08-02 06:49:31.000000000 -0400176 +++ gcc-4. 5.2/gcc/config/kfreebsd-gnu.h 2011-01-08 13:38:44.095033293 -0500175 diff -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 177 178 @@ -33,5 +33,5 @@ 178 179 … … 182 183 +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1" 183 184 #endif 184 diff -Naur gcc-4. 5.2.orig/gcc/config/knetbsd-gnu.h gcc-4.5.2/gcc/config/knetbsd-gnu.h185 --- gcc-4. 5.2.orig/gcc/config/knetbsd-gnu.h 2007-08-02 06:49:31.000000000 -0400186 +++ gcc-4. 5.2/gcc/config/knetbsd-gnu.h 2011-01-08 13:38:44.095033293 -0500185 diff -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 187 188 @@ -34,5 +34,5 @@ 188 189 … … 192 193 +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1" 193 194 #endif 194 diff -Naur gcc-4. 5.2.orig/gcc/config/kopensolaris-gnu.h gcc-4.5.2/gcc/config/kopensolaris-gnu.h195 --- gcc-4. 5.2.orig/gcc/config/kopensolaris-gnu.h 2009-01-29 13:48:41.000000000 -0500196 +++ gcc-4. 5.2/gcc/config/kopensolaris-gnu.h 2011-01-08 13:38:44.095033293 -0500195 diff -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 197 198 @@ -33,5 +33,5 @@ 198 199 … … 202 203 +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1" 203 204 #endif 204 diff -Naur gcc-4. 5.2.orig/gcc/config/linux.h gcc-4.5.2/gcc/config/linux.h205 --- gcc-4. 5.2.orig/gcc/config/linux.h 2009-04-09 11:00:19.000000000 -0400206 +++ gcc-4. 5.2/gcc/config/linux.h 2011-01-08 13:38:44.095033293 -0500207 @@ - 117,9 +117,9 @@205 diff -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 @@ 208 209 GLIBC_DYNAMIC_LINKER must be defined for each target using them, or 209 210 GLIBC_DYNAMIC_LINKER32 and GLIBC_DYNAMIC_LINKER64 for targets … … 213 214 -#define UCLIBC_DYNAMIC_LINKER64 "/lib/ld64-uClibc.so.0" 214 215 +#define UCLIBC_DYNAMIC_LINKER "/tools/lib/ld-uClibc.so.0" 215 +#define UCLIBC_DYNAMIC_LINKER32 "/tools/lib 32/ld-uClibc.so.0"216 +#define UCLIBC_DYNAMIC_LINKER32 "/tools/lib/ld-uClibc.so.0" 216 217 +#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.h221 --- gcc-4. 5.2.orig/gcc/config/lm32/uclinux-elf.h 2009-11-11 11:43:06.000000000 -0500222 +++ gcc-4. 5.2/gcc/config/lm32/uclinux-elf.h 2011-01-08 13:38:44.095033293 -0500223 @@ -7 3,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" 221 diff -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 @@ 224 225 %{shared:-shared} \ 225 226 %{symbolic:-Bsymbolic} \ 226 227 %{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" 229 230 230 231 #define TARGET_OS_CPP_BUILTINS() LINUX_TARGET_OS_CPP_BUILTINS() 231 232 232 diff -Naur gcc-4. 5.2.orig/gcc/config/m32r/linux.h gcc-4.5.2/gcc/config/m32r/linux.h233 --- gcc-4. 5.2.orig/gcc/config/m32r/linux.h 2007-08-02 06:49:31.000000000 -0400234 +++ gcc-4. 5.2/gcc/config/m32r/linux.h 2011-01-08 13:38:44.095033293 -0500235 @@ - 58,7 +58,7 @@236 237 /* If ELF is the default format, we should not use /lib/elf. */233 diff -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. */ 238 239 239 240 -#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" … … 242 243 #undef LINK_SPEC 243 244 #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.h245 --- gcc-4. 5.2.orig/gcc/config/m68k/linux.h 2009-12-11 10:32:08.000000000 -0500246 +++ gcc-4. 5.2/gcc/config/m68k/linux.h 2011-01-08 13:38:44.095033293 -0500247 @@ - 84,7 +84,7 @@248 249 /* If ELF is the default format, we should not use /lib/elf. */245 diff -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. */ 250 251 251 252 -#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1" … … 254 255 #undef LINK_SPEC 255 256 #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 @@ 257 diff -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 } 269 diff -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 @@ 260 273 #undef MIPS_DEFAULT_GVALUE 261 274 #define MIPS_DEFAULT_GVALUE 0 … … 266 279 /* Borrowed from sparc/linux.h */ 267 280 #undef LINK_SPEC 268 diff -Naur gcc-4. 5.2.orig/gcc/config/mips/linux64.h gcc-4.5.2/gcc/config/mips/linux64.h269 --- gcc-4. 5.2.orig/gcc/config/mips/linux64.h 2009-02-20 10:20:38.000000000 -0500270 +++ gcc-4. 5.2/gcc/config/mips/linux64.h 2011-01-08 13:38:44.095033293 -0500281 diff -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 271 284 @@ -35,10 +35,10 @@ 272 285 %{!shared: \ … … 277 290 -#define GLIBC_DYNAMIC_LINKERN32 "/lib32/ld.so.1" 278 291 -#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" 283 297 #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, \ 299 diff -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 289 302 @@ -18,7 +18,7 @@ 290 303 … … 296 309 EXTRA_MULTILIB_PARTS=crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o 297 310 298 diff -Naur gcc-4. 5.2.orig/gcc/config/mn10300/linux.h gcc-4.5.2/gcc/config/mn10300/linux.h299 --- gcc-4. 5.2.orig/gcc/config/mn10300/linux.h 2007-08-02 06:49:31.000000000 -0400300 +++ gcc-4. 5.2/gcc/config/mn10300/linux.h 2011-01-08 13:38:44.095033293 -0500311 diff -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 301 314 @@ -32,7 +32,7 @@ 302 315 #undef ASM_SPEC 303 #define ASM_SPEC " %{Wa,*:%*}"316 #define ASM_SPEC "" 304 317 305 318 -#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1" … … 308 321 #undef LINK_SPEC 309 322 #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.h311 --- gcc-4. 5.2.orig/gcc/config/pa/pa-linux.h 2009-12-04 02:47:51.000000000 -0500312 +++ gcc-4. 5.2/gcc/config/pa/pa-linux.h 2011-01-08 13:38:44.095033293 -0500313 @@ -3 8,7 +38,7 @@323 diff -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 @@ 314 327 /* Define this for shared library support because it isn't in the main 315 328 linux.h file. */ … … 320 333 #undef LINK_SPEC 321 334 #define LINK_SPEC "\ 322 diff -Naur gcc-4. 5.2.orig/gcc/config/rs6000/linux64.h gcc-4.5.2/gcc/config/rs6000/linux64.h323 --- gcc-4. 5.2.orig/gcc/config/rs6000/linux64.h 2010-11-17 01:09:53.000000000 -0500324 +++ gcc-4. 5.2/gcc/config/rs6000/linux64.h 2011-01-08 13:38:44.095033293 -0500325 @@ -3 40,10 +340,10 @@335 diff -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 @@ 326 339 #undef LINK_OS_DEFAULT_SPEC 327 340 #define LINK_OS_DEFAULT_SPEC "%(link_os_linux)" … … 331 344 -#define UCLIBC_DYNAMIC_LINKER32 "/lib/ld-uClibc.so.0" 332 345 -#define UCLIBC_DYNAMIC_LINKER64 "/lib/ld64-uClibc.so.0" 333 +#define GLIBC_DYNAMIC_LINKER32 "/tools/lib 32/ld.so.1"334 +#define GLIBC_DYNAMIC_LINKER64 "/tools/lib /ld64.so.1"335 +#define UCLIBC_DYNAMIC_LINKER32 "/tools/lib 32/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" 336 349 +#define UCLIBC_DYNAMIC_LINKER64 "/tools/lib/ld64-uClibc.so.0" 337 #if UCLIBC_DEFAULT338 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc: %{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}"339 #el se340 diff -Naur gcc-4. 5.2.orig/gcc/config/rs6000/sysv4.h gcc-4.5.2/gcc/config/rs6000/sysv4.h341 --- gcc-4. 5.2.orig/gcc/config/rs6000/sysv4.h 2010-11-03 09:55:26.000000000 -0400342 +++ gcc-4. 5.2/gcc/config/rs6000/sysv4.h 2011-01-08 13:38:44.095033293 -0500343 @@ -8 99,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 353 diff -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 @@ 344 357 345 358 #define LINK_START_LINUX_SPEC "" … … 349 362 +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1" 350 363 +#define UCLIBC_DYNAMIC_LINKER "/tools/lib/ld-uClibc.so.0" 351 #if UCLIBC_DEFAULT352 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc: %{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}"353 #el se354 @@ - 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 @@ 355 368 356 369 #define LINK_OS_GNU_SPEC "-m elf32ppclinux %{!shared: %{!static: \ 357 370 %{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}}" 360 373 361 374 #define CPP_OS_GNU_SPEC "-D__unix__ -D__gnu_hurd__ -D__GNU__ \ 362 375 %{!undef: \ 363 diff -Naur gcc-4. 5.2.orig/gcc/config/rs6000/t-linux64 gcc-4.5.2/gcc/config/rs6000/t-linux64364 --- gcc-4. 5.2.orig/gcc/config/rs6000/t-linux64 2009-04-21 15:03:23.000000000 -0400365 +++ gcc-4. 5.2/gcc/config/rs6000/t-linux64 2011-01-08 13:38:44.095033293 -0500376 diff -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 366 379 @@ -36,7 +36,7 @@ 367 380 MULTILIB_EXTRA_OPTS = fPIC mstrict-align … … 373 386 374 387 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.h376 --- gcc-4. 5.2.orig/gcc/config/s390/linux.h 2007-08-02 06:49:31.000000000 -0400377 +++ gcc-4. 5.2/gcc/config/s390/linux.h 2011-01-08 13:38:44.095033293 -0500388 diff -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 378 391 @@ -72,8 +72,8 @@ 379 392 #define MULTILIB_DEFAULTS { "m31" } … … 387 400 #undef LINK_SPEC 388 401 #define LINK_SPEC \ 389 diff -Naur gcc-4. 5.2.orig/gcc/config/s390/t-linux64 gcc-4.5.2/gcc/config/s390/t-linux64390 --- gcc-4. 5.2.orig/gcc/config/s390/t-linux64 2010-10-04 12:54:26.000000000 -0400391 +++ gcc-4. 5.2/gcc/config/s390/t-linux64 2011-01-08 13:40:17.250656249 -0500402 diff -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 392 405 @@ -7,4 +7,4 @@ 393 406 … … 396 409 -MULTILIB_OSDIRNAMES = ../lib64 $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib) 397 410 +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.h399 --- gcc-4. 5.2.orig/gcc/config/sh/linux.h 2007-08-02 06:49:31.000000000 -0400400 +++ gcc-4. 5.2/gcc/config/sh/linux.h 2011-01-08 13:38:44.099033415 -0500411 diff -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 401 414 @@ -47,7 +47,7 @@ 402 415 … … 408 421 #undef SUBTARGET_LINK_EMUL_SUFFIX 409 422 #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.h411 --- gcc-4. 5.2.orig/gcc/config/sparc/linux.h 2010-09-22 17:15:37.000000000 -0400412 +++ gcc-4. 5.2/gcc/config/sparc/linux.h 2011-01-08 13:38:44.099033415 -0500413 @@ - 83,10 +83,10 @@414 415 /* If ELF is the default format, we should not use /lib/elf. */423 diff -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. */ 416 429 417 430 -#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" … … 423 436 %{!mno-relax:%{!r:-relax}} \ 424 437 %{!shared: \ 425 %{! ibcs: \426 diff -Naur gcc-4. 5.2.orig/gcc/config/sparc/linux64.h gcc-4.5.2/gcc/config/sparc/linux64.h427 --- gcc-4. 5.2.orig/gcc/config/sparc/linux64.h 2010-09-22 17:15:37.000000000 -0400428 +++ gcc-4. 5.2/gcc/config/sparc/linux64.h 2011-01-08 13:38:44.099033415 -0500429 @@ -10 9,8 +109,8 @@430 431 /* If ELF is the default format, we should not use /lib/elf. */438 %{!static: \ 439 diff -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. */ 432 445 433 446 -#define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2" … … 438 451 #ifdef SPARC_BI_ARCH 439 452 440 @@ -1 21,7 +121,7 @@453 @@ -113,7 +113,7 @@ 441 454 { "link_arch_default", LINK_ARCH_DEFAULT_SPEC }, \ 442 455 { "link_arch", LINK_ARCH_SPEC }, … … 445 458 +#define LINK_ARCH32_SPEC "-m elf32_sparc -Y P,%R/tools/lib32 %{shared:-shared} \ 446 459 %{!shared: \ 447 %{! ibcs: \448 %{ !static:\449 @@ -1 30,7 +130,7 @@450 %{static:-static}}} \460 %{!static: \ 461 %{rdynamic:-export-dynamic} \ 462 @@ -121,7 +121,7 @@ 463 %{static:-static}} \ 451 464 " 452 465 … … 454 467 +#define LINK_ARCH64_SPEC "-m elf64_sparc -Y P,%R/tools/lib %{shared:-shared} \ 455 468 %{!shared: \ 456 %{! ibcs: \457 %{ !static:\458 @@ - 211,7 +211,7 @@469 %{!static: \ 470 %{rdynamic:-export-dynamic} \ 471 @@ -193,7 +193,7 @@ 459 472 #else /* !SPARC_BI_ARCH */ 460 473 … … 463 476 +#define LINK_SPEC "-m elf64_sparc -Y P,%R/tools/lib %{shared:-shared} \ 464 477 %{!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-linux64468 --- gcc-4. 5.2.orig/gcc/config/sparc/t-linux64 2010-10-04 12:54:26.000000000 -0400469 +++ gcc-4. 5.2/gcc/config/sparc/t-linux64 2011-01-08 13:40:26.191030611 -0500478 %{!static: \ 479 %{rdynamic:-export-dynamic} \ 480 diff -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 470 483 @@ -26,7 +26,7 @@ 471 484 … … 477 490 LIBGCC = stmp-multilib 478 491 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.h480 --- gcc-4. 5.2.orig/gcc/config/vax/linux.h 2009-11-03 19:07:24.000000000 -0500481 +++ gcc-4. 5.2/gcc/config/vax/linux.h 2011-01-08 13:38:44.099033415 -0500482 @@ -44, 5 +44,5@@492 diff -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 @@ 483 496 %{!shared: \ 484 497 %{!static: \ 485 498 %{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} \ 488 501 %{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 504 diff -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 @@ 493 508 %{mlongcalls:--longcalls} \ 494 509 %{mno-longcalls:--no-longcalls}" -
patches/gcc-4.6.0-specs-1.patch
rdb10083 rd3cbdd9 1 1 Submitted By: Joe Ciccone <jciccone@gmail.com> 2 Date: 0 1-08-20112 Date: 04-16-2011 3 3 Initial Package Version: 3.4.6 4 4 Origin: Idea originally developed by Ryan Oliver and Greg Schafer for … … 9 9 10 10 Rediffed Against 4.5.2 By Joe Ciccone <jciccone@gmail.com> 11 Rediffed Against 4.6.0 By Joe Ciccone <jciccone@gmail.com> 11 12 12 diff -Naur gcc-4. 5.2.orig/gcc/config/alpha/gnu.h gcc-4.5.2/gcc/config/alpha/gnu.h13 --- gcc-4. 5.2.orig/gcc/config/alpha/gnu.h 2009-04-21 15:03:23.000000000 -040014 +++ gcc-4. 5.2/gcc/config/alpha/gnu.h 2011-01-08 13:32:34.482662693 -050013 diff -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 15 16 @@ -34,7 +34,7 @@ 16 17 } while (0) … … 22 23 #undef STARTFILE_SPEC 23 24 #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.h25 --- gcc-4. 5.2.orig/gcc/config/alpha/linux-elf.h 2007-08-02 06:49:31.000000000 -040026 +++ gcc-4. 5.2/gcc/config/alpha/linux-elf.h 2011-01-08 13:32:34.486656575 -050025 diff -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 27 28 @@ -27,8 +27,8 @@ 28 29 #define EXTRA_SPECS \ … … 33 34 +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2" 34 35 +#define UCLIBC_DYNAMIC_LINKER "/tools/lib/ld-uClibc.so.0" 35 #if UCLIBC_DEFAULT36 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc: %{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}"37 #el se38 diff -Naur gcc-4. 5.2.orig/gcc/config/arm/linux-eabi.h gcc-4.5.2/gcc/config/arm/linux-eabi.h39 --- gcc-4. 5.2.orig/gcc/config/arm/linux-eabi.h 2009-10-30 16:03:09.000000000 -040040 +++ gcc-4. 5.2/gcc/config/arm/linux-eabi.h 2011-01-08 13:32:34.486656575 -050041 @@ -6 1,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 39 diff -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 @@ 42 43 /* Use ld-linux.so.3 so that it will be possible to run "classic" 43 44 GNU/Linux binaries on an EABI system. */ … … 48 49 /* At this point, bpabi.h will have clobbered LINK_SPEC. We want to 49 50 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.h51 --- gcc-4. 5.2.orig/gcc/config/arm/linux-elf.h 2009-11-05 09:47:45.000000000 -050052 +++ gcc-4. 5.2/gcc/config/arm/linux-elf.h 2011-01-08 13:32:34.486656575 -050051 diff -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 53 54 @@ -62,7 +62,7 @@ 54 55 … … 58 59 +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2" 59 60 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.h63 --- gcc-4. 5.2.orig/gcc/config/bfin/linux.h 2009-09-03 11:37:28.000000000 -040064 +++ gcc-4. 5.2/gcc/config/bfin/linux.h 2011-01-08 13:32:34.486656575 -050061 #define LINUX_TARGET_LINK_SPEC "%{h*} \ 62 %{static:-Bstatic} \ 63 diff -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 65 66 @@ -45,7 +45,7 @@ 66 67 %{shared:-G -Bdynamic} \ 67 68 %{!shared: %{!static: \ 68 69 %{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} \ 71 72 %{static}} -init __init -fini __fini" 72 73 73 74 #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.h75 --- gcc-4. 5.2.orig/gcc/config/cris/linux.h 2009-03-22 11:15:04.000000000 -040076 +++ gcc-4. 5.2/gcc/config/cris/linux.h 2011-01-08 13:32:34.486656575 -050075 diff -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 77 78 @@ -103,7 +103,7 @@ 78 79 #undef CRIS_DEFAULT_CPU_VERSION … … 82 83 +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1" 83 84 84 /* We need an -rpath-link to ld.so.1, and presumably to each directory85 specified with -B. */86 diff -Naur gcc-4. 5.2.orig/gcc/config/freebsd-spec.h gcc-4.5.2/gcc/config/freebsd-spec.h87 --- gcc-4. 5.2.orig/gcc/config/freebsd-spec.h 2009-09-22 12:28:26.000000000 -040088 +++ gcc-4. 5.2/gcc/config/freebsd-spec.h 2011-01-08 13:32:34.486656575 -050089 @@ -1 46,7 +146,7 @@85 #undef CRIS_LINK_SUBTARGET_SPEC 86 #define CRIS_LINK_SUBTARGET_SPEC \ 87 diff -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 @@ 90 91 #if FBSD_MAJOR < 6 91 92 #define FBSD_DYNAMIC_LINKER "/usr/libexec/ld-elf.so.1" … … 96 97 97 98 #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.h99 --- gcc-4. 5.2.orig/gcc/config/frv/linux.h 2007-08-02 06:49:31.000000000 -0400100 +++ gcc-4. 5.2/gcc/config/frv/linux.h 2011-01-08 13:32:34.486656575 -050099 diff -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 101 102 @@ -35,7 +35,7 @@ 102 103 #define ENDFILE_SPEC \ … … 108 109 #undef LINK_SPEC 109 110 #define LINK_SPEC "\ 110 diff -Naur gcc-4. 5.2.orig/gcc/config/i386/gnu.h gcc-4.5.2/gcc/config/i386/gnu.h111 --- gcc-4. 5.2.orig/gcc/config/i386/gnu.h 2008-11-13 18:28:46.000000000 -0500112 +++ gcc-4. 5.2/gcc/config/i386/gnu.h 2011-01-08 13:32:34.486656575 -0500111 diff -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 113 114 @@ -21,7 +21,7 @@ 114 115 */ … … 120 121 #undef TARGET_VERSION 121 122 #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.h123 --- gcc-4. 5.2.orig/gcc/config/i386/linux.h 2010-03-24 16:44:48.000000000 -0400124 +++ gcc-4. 5.2/gcc/config/i386/linux.h 2011-01-08 13:32:34.486656575 -0500125 @@ - 100,7 +100,7 @@123 diff -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 @@ 126 127 127 128 /* These macros may be overridden in k*bsd-gnu.h and i386/k*bsd-gnu.h. */ … … 132 133 #undef ASM_SPEC 133 134 #define ASM_SPEC \ 134 diff -Naur gcc-4. 5.2.orig/gcc/config/i386/linux64.h gcc-4.5.2/gcc/config/i386/linux64.h135 --- gcc-4. 5.2.orig/gcc/config/i386/linux64.h 2010-03-24 16:44:48.000000000 -0400136 +++ gcc-4. 5.2/gcc/config/i386/linux64.h 2011-01-08 13:32:34.486656575 -0500137 @@ - 58,8 +58,8 @@135 diff -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 @@ 138 139 When the -shared link option is used a final link is not being 139 140 done. */ … … 146 147 #if TARGET_64BIT_DEFAULT 147 148 #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.h149 --- gcc-4. 5.2.orig/gcc/config/ia64/linux.h 2009-04-21 15:03:23.000000000 -0400150 +++ gcc-4. 5.2/gcc/config/ia64/linux.h 2011-01-08 13:32:34.486656575 -0500149 diff -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 151 152 @@ -61,7 +61,7 @@ 152 153 /* Define this for shared library support because it isn't in the main … … 158 159 #undef LINK_SPEC 159 160 #define LINK_SPEC "\ 160 diff -Naur gcc-4. 5.2.orig/gcc/config/kfreebsd-gnu.h gcc-4.5.2/gcc/config/kfreebsd-gnu.h161 --- gcc-4. 5.2.orig/gcc/config/kfreebsd-gnu.h 2007-08-02 06:49:31.000000000 -0400162 +++ gcc-4. 5.2/gcc/config/kfreebsd-gnu.h 2011-01-08 13:32:34.486656575 -0500161 diff -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 163 164 @@ -33,5 +33,5 @@ 164 165 … … 168 169 +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1" 169 170 #endif 170 diff -Naur gcc-4. 5.2.orig/gcc/config/knetbsd-gnu.h gcc-4.5.2/gcc/config/knetbsd-gnu.h171 --- gcc-4. 5.2.orig/gcc/config/knetbsd-gnu.h 2007-08-02 06:49:31.000000000 -0400172 +++ gcc-4. 5.2/gcc/config/knetbsd-gnu.h 2011-01-08 13:32:34.486656575 -0500171 diff -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 173 174 @@ -34,5 +34,5 @@ 174 175 … … 178 179 +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1" 179 180 #endif 180 diff -Naur gcc-4. 5.2.orig/gcc/config/kopensolaris-gnu.h gcc-4.5.2/gcc/config/kopensolaris-gnu.h181 --- gcc-4. 5.2.orig/gcc/config/kopensolaris-gnu.h 2009-01-29 13:48:41.000000000 -0500182 +++ gcc-4. 5.2/gcc/config/kopensolaris-gnu.h 2011-01-08 13:32:34.486656575 -0500181 diff -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 183 184 @@ -33,5 +33,5 @@ 184 185 … … 188 189 +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1" 189 190 #endif 190 diff -Naur gcc-4. 5.2.orig/gcc/config/linux.h gcc-4.5.2/gcc/config/linux.h191 --- gcc-4. 5.2.orig/gcc/config/linux.h 2009-04-09 11:00:19.000000000 -0400192 +++ gcc-4. 5.2/gcc/config/linux.h 2011-01-08 13:32:34.486656575 -0500193 @@ - 117,9 +117,9 @@191 diff -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 @@ 194 195 GLIBC_DYNAMIC_LINKER must be defined for each target using them, or 195 196 GLIBC_DYNAMIC_LINKER32 and GLIBC_DYNAMIC_LINKER64 for targets … … 201 202 +#define UCLIBC_DYNAMIC_LINKER32 "/tools/lib/ld-uClibc.so.0" 202 203 +#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.h207 --- gcc-4. 5.2.orig/gcc/config/lm32/uclinux-elf.h 2009-11-11 11:43:06.000000000 -0500208 +++ gcc-4. 5.2/gcc/config/lm32/uclinux-elf.h 2011-01-08 13:32:34.486656575 -0500209 @@ -7 3,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" 207 diff -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 @@ 210 211 %{shared:-shared} \ 211 212 %{symbolic:-Bsymbolic} \ 212 213 %{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" 215 216 216 217 #define TARGET_OS_CPP_BUILTINS() LINUX_TARGET_OS_CPP_BUILTINS() 217 218 218 diff -Naur gcc-4. 5.2.orig/gcc/config/m32r/linux.h gcc-4.5.2/gcc/config/m32r/linux.h219 --- gcc-4. 5.2.orig/gcc/config/m32r/linux.h 2007-08-02 06:49:31.000000000 -0400220 +++ gcc-4. 5.2/gcc/config/m32r/linux.h 2011-01-08 13:32:34.486656575 -0500221 @@ - 58,7 +58,7 @@222 223 /* If ELF is the default format, we should not use /lib/elf. */219 diff -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. */ 224 225 225 226 -#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" … … 228 229 #undef LINK_SPEC 229 230 #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.h231 --- gcc-4. 5.2.orig/gcc/config/m68k/linux.h 2009-12-11 10:32:08.000000000 -0500232 +++ gcc-4. 5.2/gcc/config/m68k/linux.h 2011-01-08 13:32:34.486656575 -0500233 @@ - 84,7 +84,7 @@234 235 /* If ELF is the default format, we should not use /lib/elf. */231 diff -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. */ 236 237 237 238 -#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1" … … 240 241 #undef LINK_SPEC 241 242 #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 @@ 243 diff -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 } 255 diff -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 @@ 246 259 #undef MIPS_DEFAULT_GVALUE 247 260 #define MIPS_DEFAULT_GVALUE 0 … … 252 265 /* Borrowed from sparc/linux.h */ 253 266 #undef LINK_SPEC 254 diff -Naur gcc-4. 5.2.orig/gcc/config/mips/linux64.h gcc-4.5.2/gcc/config/mips/linux64.h255 --- gcc-4. 5.2.orig/gcc/config/mips/linux64.h 2009-02-20 10:20:38.000000000 -0500256 +++ gcc-4. 5.2/gcc/config/mips/linux64.h 2011-01-08 13:32:34.490657437 -0500267 diff -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 257 270 @@ -35,10 +35,10 @@ 258 271 %{!shared: \ … … 267 280 +#define GLIBC_DYNAMIC_LINKERN32 "/tools/lib32/ld.so.1" 268 281 +#define UCLIBC_DYNAMIC_LINKERN32 "/tools/lib32/ld-uClibc.so.0" 282 #define BIONIC_DYNAMIC_LINKERN32 "/system/bin/linker32" 269 283 #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, \ 285 diff -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 275 288 @@ -32,7 +32,7 @@ 276 289 #undef ASM_SPEC 277 #define ASM_SPEC " %{Wa,*:%*}"290 #define ASM_SPEC "" 278 291 279 292 -#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1" … … 282 295 #undef LINK_SPEC 283 296 #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.h285 --- gcc-4. 5.2.orig/gcc/config/pa/pa-linux.h 2009-12-04 02:47:51.000000000 -0500286 +++ gcc-4. 5.2/gcc/config/pa/pa-linux.h 2011-01-08 13:32:34.490657437 -0500287 @@ -3 8,7 +38,7 @@297 diff -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 @@ 288 301 /* Define this for shared library support because it isn't in the main 289 302 linux.h file. */ … … 294 307 #undef LINK_SPEC 295 308 #define LINK_SPEC "\ 296 diff -Naur gcc-4. 5.2.orig/gcc/config/rs6000/linux64.h gcc-4.5.2/gcc/config/rs6000/linux64.h297 --- gcc-4. 5.2.orig/gcc/config/rs6000/linux64.h 2010-11-17 01:09:53.000000000 -0500298 +++ gcc-4. 5.2/gcc/config/rs6000/linux64.h 2011-01-08 13:32:34.490657437 -0500299 @@ -3 40,10 +340,10 @@309 diff -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 @@ 300 313 #undef LINK_OS_DEFAULT_SPEC 301 314 #define LINK_OS_DEFAULT_SPEC "%(link_os_linux)" … … 309 322 +#define UCLIBC_DYNAMIC_LINKER32 "/tools/lib/ld-uClibc.so.0" 310 323 +#define UCLIBC_DYNAMIC_LINKER64 "/tools/lib/ld64-uClibc.so.0" 311 #if UCLIBC_DEFAULT312 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc: %{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}"313 #el se314 diff -Naur gcc-4. 5.2.orig/gcc/config/rs6000/sysv4.h gcc-4.5.2/gcc/config/rs6000/sysv4.h315 --- gcc-4. 5.2.orig/gcc/config/rs6000/sysv4.h 2010-11-03 09:55:26.000000000 -0400316 +++ gcc-4. 5.2/gcc/config/rs6000/sysv4.h 2011-01-08 13:32:34.490657437 -0500317 @@ -8 99,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 327 diff -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 @@ 318 331 319 332 #define LINK_START_LINUX_SPEC "" … … 323 336 +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1" 324 337 +#define UCLIBC_DYNAMIC_LINKER "/tools/lib/ld-uClibc.so.0" 325 #if UCLIBC_DEFAULT326 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc: %{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}"327 #el se328 @@ - 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 @@ 329 342 330 343 #define LINK_OS_GNU_SPEC "-m elf32ppclinux %{!shared: %{!static: \ 331 344 %{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}}" 334 347 335 348 #define CPP_OS_GNU_SPEC "-D__unix__ -D__gnu_hurd__ -D__GNU__ \ 336 349 %{!undef: \ 337 diff -Naur gcc-4. 5.2.orig/gcc/config/s390/linux.h gcc-4.5.2/gcc/config/s390/linux.h338 --- gcc-4. 5.2.orig/gcc/config/s390/linux.h 2007-08-02 06:49:31.000000000 -0400339 +++ gcc-4. 5.2/gcc/config/s390/linux.h 2011-01-08 13:32:34.490657437 -0500350 diff -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 340 353 @@ -72,8 +72,8 @@ 341 354 #define MULTILIB_DEFAULTS { "m31" } … … 349 362 #undef LINK_SPEC 350 363 #define LINK_SPEC \ 351 diff -Naur gcc-4. 5.2.orig/gcc/config/sh/linux.h gcc-4.5.2/gcc/config/sh/linux.h352 --- gcc-4. 5.2.orig/gcc/config/sh/linux.h 2007-08-02 06:49:31.000000000 -0400353 +++ gcc-4. 5.2/gcc/config/sh/linux.h 2011-01-08 13:32:34.490657437 -0500364 diff -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 354 367 @@ -47,7 +47,7 @@ 355 368 … … 361 374 #undef SUBTARGET_LINK_EMUL_SUFFIX 362 375 #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.h364 --- gcc-4. 5.2.orig/gcc/config/sparc/linux.h 2010-09-22 17:15:37.000000000 -0400365 +++ gcc-4. 5.2/gcc/config/sparc/linux.h 2011-01-08 13:32:34.490657437 -0500366 @@ - 83,10 +83,10 @@367 368 /* If ELF is the default format, we should not use /lib/elf. */376 diff -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. */ 369 382 370 383 -#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" … … 376 389 %{!mno-relax:%{!r:-relax}} \ 377 390 %{!shared: \ 378 %{! ibcs: \379 diff -Naur gcc-4. 5.2.orig/gcc/config/sparc/linux64.h gcc-4.5.2/gcc/config/sparc/linux64.h380 --- gcc-4. 5.2.orig/gcc/config/sparc/linux64.h 2010-09-22 17:15:37.000000000 -0400381 +++ gcc-4. 5.2/gcc/config/sparc/linux64.h 2011-01-08 13:32:34.490657437 -0500382 @@ -10 9,8 +109,8 @@383 384 /* If ELF is the default format, we should not use /lib/elf. */391 %{!static: \ 392 diff -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. */ 385 398 386 399 -#define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2" … … 391 404 #ifdef SPARC_BI_ARCH 392 405 393 @@ -1 21,7 +121,7 @@406 @@ -113,7 +113,7 @@ 394 407 { "link_arch_default", LINK_ARCH_DEFAULT_SPEC }, \ 395 408 { "link_arch", LINK_ARCH_SPEC }, … … 398 411 +#define LINK_ARCH32_SPEC "-m elf32_sparc -Y P,%R/tools/lib %{shared:-shared} \ 399 412 %{!shared: \ 400 %{! ibcs: \401 %{ !static:\402 @@ -1 30,7 +130,7 @@403 %{static:-static}}} \413 %{!static: \ 414 %{rdynamic:-export-dynamic} \ 415 @@ -121,7 +121,7 @@ 416 %{static:-static}} \ 404 417 " 405 418 … … 407 420 +#define LINK_ARCH64_SPEC "-m elf64_sparc -Y P,%R/tools/lib64 %{shared:-shared} \ 408 421 %{!shared: \ 409 %{! ibcs: \410 %{ !static:\411 @@ - 211,7 +211,7 @@422 %{!static: \ 423 %{rdynamic:-export-dynamic} \ 424 @@ -193,7 +193,7 @@ 412 425 #else /* !SPARC_BI_ARCH */ 413 426 … … 416 429 +#define LINK_SPEC "-m elf64_sparc -Y P,%R/tools/lib64 %{shared:-shared} \ 417 430 %{!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.h421 --- gcc-4. 5.2.orig/gcc/config/vax/linux.h 2009-11-03 19:07:24.000000000 -0500422 +++ gcc-4. 5.2/gcc/config/vax/linux.h 2011-01-08 13:32:34.494657459 -0500423 @@ -44, 5 +44,5@@431 %{!static: \ 432 %{rdynamic:-export-dynamic} \ 433 diff -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 @@ 424 437 %{!shared: \ 425 438 %{!static: \ 426 439 %{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} \ 429 442 %{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 445 diff -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 @@ 434 449 %{mlongcalls:--longcalls} \ 435 450 %{mno-longcalls:--no-longcalls}"
Note:
See TracChangeset
for help on using the changeset viewer.