source: patches/gcc-4.6.3-specs-1.patch@ fb1d4fc

clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since fb1d4fc was 736bb57, checked in by Jonathan Norman <jon@…>, 12 years ago

Renamed GCC 4.6.2 patches to 4.6.3

  • Property mode set to 100644
File size: 19.2 KB
RevLine 
[c0595573]1Submitted By: Joe Ciccone <jciccone@gmail.com>
[d3cbdd9]2Date: 04-16-2011
[c0595573]3Initial Package Version: 3.4.6
[9722468]4Origin: Idea originally developed by Ryan Oliver and Greg Schafer for
5 the Pure LFS project.
[c0595573]6Upstream Status: Not Applied - CLFS Specific
7Description: The specs patch changes the location of the dynamic linker as
8 well as the link spec to /tools/lib{,32,64}.
[9722468]9
[670bf2c]10 Rediffed Against 4.5.2 By Joe Ciccone <jciccone@gmail.com>
[d3cbdd9]11 Rediffed Against 4.6.0 By Joe Ciccone <jciccone@gmail.com>
[670bf2c]12
[d3cbdd9]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
[c0595573]16@@ -34,7 +34,7 @@
[9722468]17 } while (0)
18
19 #undef ELF_DYNAMIC_LINKER
20-#define ELF_DYNAMIC_LINKER "/lib/ld.so"
21+#define ELF_DYNAMIC_LINKER "/tools/lib/ld.so"
22
23 #undef STARTFILE_SPEC
24 #define STARTFILE_SPEC \
[d3cbdd9]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
[9722468]28@@ -27,8 +27,8 @@
29 #define EXTRA_SPECS \
30 { "elf_dynamic_linker", ELF_DYNAMIC_LINKER },
31
32-#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
33-#define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0"
34+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2"
35+#define UCLIBC_DYNAMIC_LINKER "/tools/lib/ld-uClibc.so.0"
[d3cbdd9]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 @@
[9722468]43 /* Use ld-linux.so.3 so that it will be possible to run "classic"
44 GNU/Linux binaries on an EABI system. */
45 #undef GLIBC_DYNAMIC_LINKER
46-#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.3"
47+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.3"
48
49 /* At this point, bpabi.h will have clobbered LINK_SPEC. We want to
50 use the GNU/Linux version, not the generic BPABI version. */
[d3cbdd9]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
[9722468]54@@ -62,7 +62,7 @@
55
56 #define LIBGCC_SPEC "%{msoft-float:-lfloat} %{mfloat-abi=soft*:-lfloat} -lgcc"
57
58-#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
59+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2"
60
[d3cbdd9]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
[c0595573]66@@ -45,7 +45,7 @@
[9722468]67 %{shared:-G -Bdynamic} \
68 %{!shared: %{!static: \
69 %{rdynamic:-export-dynamic} \
[d3cbdd9]70- -dynamic-linker /lib/ld-uClibc.so.0} \
71+ -dynamic-linker /tools/lib/ld-uClibc.so.0} \
[9722468]72 %{static}} -init __init -fini __fini"
73
74 #define MD_UNWIND_SUPPORT "config/bfin/linux-unwind.h"
[d3cbdd9]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
[9722468]78@@ -103,7 +103,7 @@
79 #undef CRIS_DEFAULT_CPU_VERSION
80 #define CRIS_DEFAULT_CPU_VERSION CRIS_CPU_NG
81
82-#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
83+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1"
84
[d3cbdd9]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 @@
[c0595573]91 #if FBSD_MAJOR < 6
92 #define FBSD_DYNAMIC_LINKER "/usr/libexec/ld-elf.so.1"
93 #else
94-#define FBSD_DYNAMIC_LINKER "/libexec/ld-elf.so.1"
95+#define FBSD_DYNAMIC_LINKER "/tools/libexec/ld-elf.so.1"
96 #endif
97
98 #if defined(HAVE_LD_EH_FRAME_HDR)
[d3cbdd9]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
[9722468]102@@ -35,7 +35,7 @@
103 #define ENDFILE_SPEC \
104 "%{shared|pie:crtendS.o%s;:crtend.o%s} crtn.o%s"
105
106-#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
107+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1"
108
109 #undef LINK_SPEC
110 #define LINK_SPEC "\
[d3cbdd9]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
[9722468]114@@ -21,7 +21,7 @@
115 */
116
117 #undef GLIBC_DYNAMIC_LINKER
118-#define GLIBC_DYNAMIC_LINKER "/lib/ld.so"
119+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so"
120
121 #undef TARGET_VERSION
122 #define TARGET_VERSION fprintf (stderr, " (i386 GNU)");
[d3cbdd9]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 @@
[9722468]127
128 /* These macros may be overridden in k*bsd-gnu.h and i386/k*bsd-gnu.h. */
129 #define LINK_EMULATION "elf_i386"
130-#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
131+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2"
132
133 #undef ASM_SPEC
134 #define ASM_SPEC \
[d3cbdd9]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 @@
[c0595573]139 When the -shared link option is used a final link is not being
140 done. */
141
142-#define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2"
143-#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux-x86-64.so.2"
144+#define GLIBC_DYNAMIC_LINKER32 "/tools/lib/ld-linux.so.2"
145+#define GLIBC_DYNAMIC_LINKER64 "/tools/lib64/ld-linux-x86-64.so.2"
146
147 #if TARGET_64BIT_DEFAULT
148 #define SPEC_32 "m32"
[d3cbdd9]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
[c0595573]152@@ -61,7 +61,7 @@
[9722468]153 /* Define this for shared library support because it isn't in the main
154 linux.h file. */
155
156-#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-ia64.so.2"
157+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux-ia64.so.2"
158
159 #undef LINK_SPEC
160 #define LINK_SPEC "\
[d3cbdd9]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
[c0595573]164@@ -33,5 +33,5 @@
165
166 #ifdef GLIBC_DYNAMIC_LINKER
167 #undef GLIBC_DYNAMIC_LINKER
168-#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
169+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1"
170 #endif
[d3cbdd9]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
[c0595573]174@@ -34,5 +34,5 @@
175
176 #ifdef GLIBC_DYNAMIC_LINKER
177 #undef GLIBC_DYNAMIC_LINKER
178-#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
179+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1"
180 #endif
[d3cbdd9]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
[9722468]184@@ -33,5 +33,5 @@
185
186 #ifdef GLIBC_DYNAMIC_LINKER
187 #undef GLIBC_DYNAMIC_LINKER
188-#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
189+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1"
190 #endif
[d3cbdd9]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 @@
[9722468]195 GLIBC_DYNAMIC_LINKER must be defined for each target using them, or
196 GLIBC_DYNAMIC_LINKER32 and GLIBC_DYNAMIC_LINKER64 for targets
197 supporting both 32-bit and 64-bit compilation. */
198-#define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0"
199-#define UCLIBC_DYNAMIC_LINKER32 "/lib/ld-uClibc.so.0"
200-#define UCLIBC_DYNAMIC_LINKER64 "/lib/ld64-uClibc.so.0"
201+#define UCLIBC_DYNAMIC_LINKER "/tools/lib/ld-uClibc.so.0"
202+#define UCLIBC_DYNAMIC_LINKER32 "/tools/lib/ld-uClibc.so.0"
203+#define UCLIBC_DYNAMIC_LINKER64 "/tools/lib/ld64-uClibc.so.0"
[d3cbdd9]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 @@
[c0595573]211 %{shared:-shared} \
212 %{symbolic:-Bsymbolic} \
213 %{rdynamic:-export-dynamic} \
[d3cbdd9]214- -dynamic-linker /lib/ld-linux.so.2"
215+ -dynamic-linker /tools/lib/ld-linux.so.2"
[c0595573]216
217 #define TARGET_OS_CPP_BUILTINS() LINUX_TARGET_OS_CPP_BUILTINS()
218
[d3cbdd9]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. */
[9722468]225
226-#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
227+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2"
228
229 #undef LINK_SPEC
230 #if TARGET_LITTLE_ENDIAN
[d3cbdd9]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. */
[9722468]237
238-#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
239+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1"
240
241 #undef LINK_SPEC
242 #define LINK_SPEC "-m m68kelf %{shared} \
[d3cbdd9]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 @@
[c0595573]259 #undef MIPS_DEFAULT_GVALUE
260 #define MIPS_DEFAULT_GVALUE 0
261
262-#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
263+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1"
264
265 /* Borrowed from sparc/linux.h */
266 #undef LINK_SPEC
[d3cbdd9]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
[9722468]270@@ -35,10 +35,10 @@
271 %{!shared: \
272 %{profile:-lc_p} %{!profile:-lc}}"
273
274-#define GLIBC_DYNAMIC_LINKER32 "/lib/ld.so.1"
275-#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld.so.1"
276-#define GLIBC_DYNAMIC_LINKERN32 "/lib32/ld.so.1"
277-#define UCLIBC_DYNAMIC_LINKERN32 "/lib32/ld-uClibc.so.0"
278+#define GLIBC_DYNAMIC_LINKER32 "/tools/lib/ld.so.1"
279+#define GLIBC_DYNAMIC_LINKER64 "/tools/lib64/ld.so.1"
280+#define GLIBC_DYNAMIC_LINKERN32 "/tools/lib32/ld.so.1"
281+#define UCLIBC_DYNAMIC_LINKERN32 "/tools/lib32/ld-uClibc.so.0"
[d3cbdd9]282 #define BIONIC_DYNAMIC_LINKERN32 "/system/bin/linker32"
[9722468]283 #define LINUX_DYNAMIC_LINKERN32 \
[d3cbdd9]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
[9722468]288@@ -32,7 +32,7 @@
289 #undef ASM_SPEC
[d3cbdd9]290 #define ASM_SPEC ""
[9722468]291
292-#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
293+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1"
294
295 #undef LINK_SPEC
296 #define LINK_SPEC "%{mrelax:--relax} %{shared:-shared} \
[d3cbdd9]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 @@
[9722468]301 /* Define this for shared library support because it isn't in the main
302 linux.h file. */
303
304-#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
305+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1"
306
307 #undef LINK_SPEC
308 #define LINK_SPEC "\
[d3cbdd9]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 @@
[9722468]313 #undef LINK_OS_DEFAULT_SPEC
314 #define LINK_OS_DEFAULT_SPEC "%(link_os_linux)"
315
316-#define GLIBC_DYNAMIC_LINKER32 "/lib/ld.so.1"
317-#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld64.so.1"
318-#define UCLIBC_DYNAMIC_LINKER32 "/lib/ld-uClibc.so.0"
319-#define UCLIBC_DYNAMIC_LINKER64 "/lib/ld64-uClibc.so.0"
320+#define GLIBC_DYNAMIC_LINKER32 "/tools/lib/ld.so.1"
321+#define GLIBC_DYNAMIC_LINKER64 "/tools/lib64/ld64.so.1"
322+#define UCLIBC_DYNAMIC_LINKER32 "/tools/lib/ld-uClibc.so.0"
323+#define UCLIBC_DYNAMIC_LINKER64 "/tools/lib/ld64-uClibc.so.0"
[d3cbdd9]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 @@
[9722468]331
332 #define LINK_START_LINUX_SPEC ""
333
334-#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
335-#define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0"
336+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1"
337+#define UCLIBC_DYNAMIC_LINKER "/tools/lib/ld-uClibc.so.0"
[d3cbdd9]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 @@
[9722468]342
343 #define LINK_OS_GNU_SPEC "-m elf32ppclinux %{!shared: %{!static: \
344 %{rdynamic:-export-dynamic} \
[d3cbdd9]345- -dynamic-linker /lib/ld.so.1}}"
346+ -dynamic-linker /tools/lib/ld.so.1}}"
[9722468]347
348 #define CPP_OS_GNU_SPEC "-D__unix__ -D__gnu_hurd__ -D__GNU__ \
349 %{!undef: \
[d3cbdd9]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
[9722468]353@@ -72,8 +72,8 @@
354 #define MULTILIB_DEFAULTS { "m31" }
355 #endif
356
357-#define GLIBC_DYNAMIC_LINKER32 "/lib/ld.so.1"
358-#define GLIBC_DYNAMIC_LINKER64 "/lib/ld64.so.1"
359+#define GLIBC_DYNAMIC_LINKER32 "/tools/lib/ld.so.1"
360+#define GLIBC_DYNAMIC_LINKER64 "/tools/lib/ld64.so.1"
361
362 #undef LINK_SPEC
363 #define LINK_SPEC \
[d3cbdd9]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
[9722468]367@@ -47,7 +47,7 @@
368
369 #define TARGET_ASM_FILE_END file_end_indicate_exec_stack
370
371-#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
372+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2"
373
374 #undef SUBTARGET_LINK_EMUL_SUFFIX
375 #define SUBTARGET_LINK_EMUL_SUFFIX "_linux"
[d3cbdd9]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. */
[c0595573]382
383-#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
384+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2"
385
386 #undef LINK_SPEC
387-#define LINK_SPEC "-m elf32_sparc -Y P,/usr/lib %{shared:-shared} \
388+#define LINK_SPEC "-m elf32_sparc -Y P,/tools/lib %{shared:-shared} \
389 %{!mno-relax:%{!r:-relax}} \
390 %{!shared: \
[d3cbdd9]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. */
[9722468]398
399-#define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2"
400-#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux.so.2"
401+#define GLIBC_DYNAMIC_LINKER32 "/tools/lib/ld-linux.so.2"
402+#define GLIBC_DYNAMIC_LINKER64 "/tools/lib64/ld-linux.so.2"
403
404 #ifdef SPARC_BI_ARCH
405
[d3cbdd9]406@@ -113,7 +113,7 @@
[9722468]407 { "link_arch_default", LINK_ARCH_DEFAULT_SPEC }, \
408 { "link_arch", LINK_ARCH_SPEC },
409
410-#define LINK_ARCH32_SPEC "-m elf32_sparc -Y P,%R/usr/lib %{shared:-shared} \
411+#define LINK_ARCH32_SPEC "-m elf32_sparc -Y P,%R/tools/lib %{shared:-shared} \
412 %{!shared: \
[d3cbdd9]413 %{!static: \
414 %{rdynamic:-export-dynamic} \
415@@ -121,7 +121,7 @@
416 %{static:-static}} \
[9722468]417 "
418
419-#define LINK_ARCH64_SPEC "-m elf64_sparc -Y P,%R/usr/lib64 %{shared:-shared} \
420+#define LINK_ARCH64_SPEC "-m elf64_sparc -Y P,%R/tools/lib64 %{shared:-shared} \
421 %{!shared: \
[d3cbdd9]422 %{!static: \
423 %{rdynamic:-export-dynamic} \
424@@ -193,7 +193,7 @@
[9722468]425 #else /* !SPARC_BI_ARCH */
426
427 #undef LINK_SPEC
428-#define LINK_SPEC "-m elf64_sparc -Y P,%R/usr/lib64 %{shared:-shared} \
429+#define LINK_SPEC "-m elf64_sparc -Y P,%R/tools/lib64 %{shared:-shared} \
430 %{!shared: \
[d3cbdd9]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 @@
[9722468]437 %{!shared: \
[c0595573]438 %{!static: \
439 %{rdynamic:-export-dynamic} \
[d3cbdd9]440- -dynamic-linker /lib/ld.so.1} \
441+ -dynamic-linker /tools/lib/ld.so.1} \
[c0595573]442 %{static:-static}}"
[d3cbdd9]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 @@
[9722468]449 %{mlongcalls:--longcalls} \
450 %{mno-longcalls:--no-longcalls}"
451
452-#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
453+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1"
454
455 #undef LINK_SPEC
456 #define LINK_SPEC \
Note: See TracBrowser for help on using the repository browser.