source: patches/gcc-4.8.2-specs-1.patch@ 5cc17e85

clfs-3.0.0-sysvinit sysvinit
Last change on this file since 5cc17e85 was 2e59d11, checked in by William Harrington <kb0iic@…>, 11 years ago

Rename gcc 4.8.1 patches to gcc-4.8.2 and create new gcc 4.8.2 branch update patch.

  • Property mode set to 100644
File size: 19.3 KB
RevLine 
[578cf221]1Submitted By: William Harrington <kb0iic@cross-lfs.org>
2Date: 06-02-2013
3Initial Package Version: 3.8.1
4Origin: Idea originally developed by Ryan Oliver and Greg Schafer for
5 the Pure LFS project.
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}.
9
10diff -Naur gcc-4.8.1.orig/gcc/config/aarch64/aarch64-linux.h gcc-4.8.1/gcc/config/aarch64/aarch64-linux.h
11--- gcc-4.8.1.orig/gcc/config/aarch64/aarch64-linux.h 2013-01-10 20:38:27.000000000 +0000
12+++ gcc-4.8.1/gcc/config/aarch64/aarch64-linux.h 2013-06-02 18:34:23.431123694 +0000
13@@ -21,7 +21,7 @@
14 #ifndef GCC_AARCH64_LINUX_H
15 #define GCC_AARCH64_LINUX_H
16
17-#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-aarch64.so.1"
18+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux-aarch64.so.1"
19
20 #define LINUX_TARGET_LINK_SPEC "%{h*} \
21 %{static:-Bstatic} \
22diff -Naur gcc-4.8.1.orig/gcc/config/alpha/linux-elf.h gcc-4.8.1/gcc/config/alpha/linux-elf.h
23--- gcc-4.8.1.orig/gcc/config/alpha/linux-elf.h 2013-01-10 20:38:27.000000000 +0000
24+++ gcc-4.8.1/gcc/config/alpha/linux-elf.h 2013-06-02 18:41:54.442979638 +0000
25@@ -23,8 +23,8 @@
26 #define EXTRA_SPECS \
27 { "elf_dynamic_linker", ELF_DYNAMIC_LINKER },
28
29-#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
30-#define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0"
31+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2"
32+#define UCLIBC_DYNAMIC_LINKER "/tools/lib/ld-uClibc.so.0"
33 #if DEFAULT_LIBC == LIBC_UCLIBC
34 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:" G ";:" U "}"
35 #elif DEFAULT_LIBC == LIBC_GLIBC
36diff -Naur gcc-4.8.1.orig/gcc/config/arm/linux-eabi.h gcc-4.8.1/gcc/config/arm/linux-eabi.h
37--- gcc-4.8.1.orig/gcc/config/arm/linux-eabi.h 2013-01-10 20:38:27.000000000 +0000
38+++ gcc-4.8.1/gcc/config/arm/linux-eabi.h 2013-06-02 18:35:05.207653352 +0000
39@@ -68,8 +68,8 @@
40 GLIBC_DYNAMIC_LINKER_DEFAULT and TARGET_DEFAULT_FLOAT_ABI. */
41
42 #undef GLIBC_DYNAMIC_LINKER
43-#define GLIBC_DYNAMIC_LINKER_SOFT_FLOAT "/lib/ld-linux.so.3"
44-#define GLIBC_DYNAMIC_LINKER_HARD_FLOAT "/lib/ld-linux-armhf.so.3"
45+#define GLIBC_DYNAMIC_LINKER_SOFT_FLOAT "/tools/lib/ld-linux.so.3"
46+#define GLIBC_DYNAMIC_LINKER_HARD_FLOAT "/tools/lib/ld-linux-armhf.so.3"
47 #define GLIBC_DYNAMIC_LINKER_DEFAULT GLIBC_DYNAMIC_LINKER_SOFT_FLOAT
48
49 #define GLIBC_DYNAMIC_LINKER \
50diff -Naur gcc-4.8.1.orig/gcc/config/arm/linux-elf.h gcc-4.8.1/gcc/config/arm/linux-elf.h
51--- gcc-4.8.1.orig/gcc/config/arm/linux-elf.h 2013-01-10 20:38:27.000000000 +0000
52+++ gcc-4.8.1/gcc/config/arm/linux-elf.h 2013-06-02 18:34:36.191081939 +0000
53@@ -57,7 +57,7 @@
54
55 #define LIBGCC_SPEC "%{mfloat-abi=soft*:-lfloat} -lgcc"
56
57-#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
58+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2"
59
60 #define LINUX_TARGET_LINK_SPEC "%{h*} \
61 %{static:-Bstatic} \
62diff -Naur gcc-4.8.1.orig/gcc/config/c6x/uclinux-elf.h gcc-4.8.1/gcc/config/c6x/uclinux-elf.h
63--- gcc-4.8.1.orig/gcc/config/c6x/uclinux-elf.h 2013-01-10 20:38:27.000000000 +0000
64+++ gcc-4.8.1/gcc/config/c6x/uclinux-elf.h 2013-06-02 18:42:19.526230933 +0000
65@@ -36,7 +36,7 @@
66 #define STARTFILE_SPEC \
67 "%{!shared:crt1%O%s} crti%O%s %{shared|pie:crtbeginS.o%s;:crtbegin.o%s}"
68
69-#define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0"
70+#define UCLIBC_DYNAMIC_LINKER "/tools/lib/ld-uClibc.so.0"
71
72 #undef LINK_SPEC
73 #define LINK_SPEC ENDIAN_LINK_SPEC \
74diff -Naur gcc-4.8.1.orig/gcc/config/cris/linux.h gcc-4.8.1/gcc/config/cris/linux.h
75--- gcc-4.8.1.orig/gcc/config/cris/linux.h 2013-01-10 20:38:27.000000000 +0000
76+++ gcc-4.8.1/gcc/config/cris/linux.h 2013-06-02 18:35:19.464273243 +0000
77@@ -102,7 +102,7 @@
78 #undef CRIS_DEFAULT_CPU_VERSION
79 #define CRIS_DEFAULT_CPU_VERSION CRIS_CPU_NG
80
81-#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
82+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1"
83
84 #undef CRIS_LINK_SUBTARGET_SPEC
85 #define CRIS_LINK_SUBTARGET_SPEC \
86diff -Naur gcc-4.8.1.orig/gcc/config/freebsd-spec.h gcc-4.8.1/gcc/config/freebsd-spec.h
87--- gcc-4.8.1.orig/gcc/config/freebsd-spec.h 2013-01-10 20:38:27.000000000 +0000
88+++ gcc-4.8.1/gcc/config/freebsd-spec.h 2013-06-02 18:42:49.842798548 +0000
89@@ -128,9 +128,9 @@
90 #endif
91
92 #if FBSD_MAJOR < 6
93-#define FBSD_DYNAMIC_LINKER "/usr/libexec/ld-elf.so.1"
94+#define FBSD_DYNAMIC_LINKER "/tools/lib/ld-elf.so.1"
95 #else
96-#define FBSD_DYNAMIC_LINKER "/libexec/ld-elf.so.1"
97+#define FBSD_DYNAMIC_LINKER "/tools/lib/ld-elf.so.1"
98 #endif
99
100 /* NOTE: The freebsd-spec.h header is included also for various
101diff -Naur gcc-4.8.1.orig/gcc/config/frv/linux.h gcc-4.8.1/gcc/config/frv/linux.h
102--- gcc-4.8.1.orig/gcc/config/frv/linux.h 2013-01-10 20:38:27.000000000 +0000
103+++ gcc-4.8.1/gcc/config/frv/linux.h 2013-06-02 18:35:28.287577631 +0000
104@@ -34,7 +34,7 @@
105 #define ENDFILE_SPEC \
106 "%{shared|pie:crtendS.o%s;:crtend.o%s} crtn.o%s"
107
108-#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
109+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1"
110
111 #undef LINK_SPEC
112 #define LINK_SPEC "\
113diff -Naur gcc-4.8.1.orig/gcc/config/i386/gnu.h gcc-4.8.1/gcc/config/i386/gnu.h
114--- gcc-4.8.1.orig/gcc/config/i386/gnu.h 2013-01-10 20:38:27.000000000 +0000
115+++ gcc-4.8.1/gcc/config/i386/gnu.h 2013-06-02 18:43:15.049381727 +0000
116@@ -22,7 +22,7 @@
117 #define GNU_USER_LINK_EMULATION "elf_i386"
118
119 #undef GNU_USER_DYNAMIC_LINKER
120-#define GNU_USER_DYNAMIC_LINKER "/lib/ld.so"
121+#define GNU_USER_DYNAMIC_LINKER "/tools/lib/ld.so"
122
123 #undef STARTFILE_SPEC
124 #if defined HAVE_LD_PIE
125diff -Naur gcc-4.8.1.orig/gcc/config/i386/kfreebsd-gnu.h gcc-4.8.1/gcc/config/i386/kfreebsd-gnu.h
126--- gcc-4.8.1.orig/gcc/config/i386/kfreebsd-gnu.h 2013-01-10 20:38:27.000000000 +0000
127+++ gcc-4.8.1/gcc/config/i386/kfreebsd-gnu.h 2013-06-02 18:36:12.890764675 +0000
128@@ -19,4 +19,4 @@
129 <http://www.gnu.org/licenses/>. */
130
131 #define GNU_USER_LINK_EMULATION "elf_i386_fbsd"
132-#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
133+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1"
134diff -Naur gcc-4.8.1.orig/gcc/config/i386/kfreebsd-gnu64.h gcc-4.8.1/gcc/config/i386/kfreebsd-gnu64.h
135--- gcc-4.8.1.orig/gcc/config/i386/kfreebsd-gnu64.h 2013-01-10 20:38:27.000000000 +0000
136+++ gcc-4.8.1/gcc/config/i386/kfreebsd-gnu64.h 2013-06-02 18:35:46.520851155 +0000
137@@ -22,6 +22,6 @@
138 #define GNU_USER_LINK_EMULATION64 "elf_x86_64_fbsd"
139 #define GNU_USER_LINK_EMULATIONX32 "elf32_x86_64_fbsd"
140
141-#define GLIBC_DYNAMIC_LINKER32 "/lib/ld.so.1"
142-#define GLIBC_DYNAMIC_LINKER64 "/lib/ld-kfreebsd-x86-64.so.1"
143-#define GLIBC_DYNAMIC_LINKERX32 "/lib/ld-kfreebsd-x32.so.1"
144+#define GLIBC_DYNAMIC_LINKER32 "/tools/lib/ld.so.1"
145+#define GLIBC_DYNAMIC_LINKER64 "/tools/lib/ld-kfreebsd-x86-64.so.1"
146+#define GLIBC_DYNAMIC_LINKERX32 "/tools/lib/ld-kfreebsd-x32.so.1"
147diff -Naur gcc-4.8.1.orig/gcc/config/i386/linux.h gcc-4.8.1/gcc/config/i386/linux.h
148--- gcc-4.8.1.orig/gcc/config/i386/linux.h 2013-01-10 20:38:27.000000000 +0000
149+++ gcc-4.8.1/gcc/config/i386/linux.h 2013-06-02 18:35:33.470893926 +0000
150@@ -20,4 +20,4 @@
151 <http://www.gnu.org/licenses/>. */
152
153 #define GNU_USER_LINK_EMULATION "elf_i386"
154-#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
155+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2"
156diff -Naur gcc-4.8.1.orig/gcc/config/i386/linux64.h gcc-4.8.1/gcc/config/i386/linux64.h
157--- gcc-4.8.1.orig/gcc/config/i386/linux64.h 2013-01-10 20:38:27.000000000 +0000
158+++ gcc-4.8.1/gcc/config/i386/linux64.h 2013-06-02 18:36:06.977450771 +0000
159@@ -27,6 +27,6 @@
160 #define GNU_USER_LINK_EMULATION64 "elf_x86_64"
161 #define GNU_USER_LINK_EMULATIONX32 "elf32_x86_64"
162
163-#define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2"
164-#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux-x86-64.so.2"
165-#define GLIBC_DYNAMIC_LINKERX32 "/libx32/ld-linux-x32.so.2"
166+#define GLIBC_DYNAMIC_LINKER32 "/tools/lib/ld-linux.so.2"
167+#define GLIBC_DYNAMIC_LINKER64 "/tools/lib64/ld-linux-x86-64.so.2"
168+#define GLIBC_DYNAMIC_LINKERX32 "/tools/libx32/ld-linux-x32.so.2"
169diff -Naur gcc-4.8.1.orig/gcc/config/ia64/linux.h gcc-4.8.1/gcc/config/ia64/linux.h
170--- gcc-4.8.1.orig/gcc/config/ia64/linux.h 2013-01-10 20:38:27.000000000 +0000
171+++ gcc-4.8.1/gcc/config/ia64/linux.h 2013-06-02 18:36:19.327410170 +0000
172@@ -55,7 +55,7 @@
173 /* Define this for shared library support because it isn't in the main
174 linux.h file. */
175
176-#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-ia64.so.2"
177+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux-ia64.so.2"
178
179 #undef LINK_SPEC
180 #define LINK_SPEC "\
181diff -Naur gcc-4.8.1.orig/gcc/config/knetbsd-gnu.h gcc-4.8.1/gcc/config/knetbsd-gnu.h
182--- gcc-4.8.1.orig/gcc/config/knetbsd-gnu.h 2013-01-10 20:38:27.000000000 +0000
183+++ gcc-4.8.1/gcc/config/knetbsd-gnu.h 2013-06-02 18:43:32.272657313 +0000
184@@ -32,4 +32,4 @@
185
186
187 #undef GNU_USER_DYNAMIC_LINKER
188-#define GNU_USER_DYNAMIC_LINKER "/lib/ld.so.1"
189+#define GNU_USER_DYNAMIC_LINKER "/tools/lib/ld.so.1"
190diff -Naur gcc-4.8.1.orig/gcc/config/kopensolaris-gnu.h gcc-4.8.1/gcc/config/kopensolaris-gnu.h
191--- gcc-4.8.1.orig/gcc/config/kopensolaris-gnu.h 2013-01-10 20:38:27.000000000 +0000
192+++ gcc-4.8.1/gcc/config/kopensolaris-gnu.h 2013-06-02 18:43:36.355976960 +0000
193@@ -31,4 +31,4 @@
194 while (0)
195
196 #undef GNU_USER_DYNAMIC_LINKER
197-#define GNU_USER_DYNAMIC_LINKER "/lib/ld.so.1"
198+#define GNU_USER_DYNAMIC_LINKER "/tools/lib/ld.so.1"
199diff -Naur gcc-4.8.1.orig/gcc/config/linux.h gcc-4.8.1/gcc/config/linux.h
200--- gcc-4.8.1.orig/gcc/config/linux.h 2013-01-10 20:38:27.000000000 +0000
201+++ gcc-4.8.1/gcc/config/linux.h 2013-06-02 18:37:10.180576851 +0000
202@@ -73,10 +73,10 @@
203 GLIBC_DYNAMIC_LINKER must be defined for each target using them, or
204 GLIBC_DYNAMIC_LINKER32 and GLIBC_DYNAMIC_LINKER64 for targets
205 supporting both 32-bit and 64-bit compilation. */
206-#define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0"
207-#define UCLIBC_DYNAMIC_LINKER32 "/lib/ld-uClibc.so.0"
208-#define UCLIBC_DYNAMIC_LINKER64 "/lib/ld64-uClibc.so.0"
209-#define UCLIBC_DYNAMIC_LINKERX32 "/lib/ldx32-uClibc.so.0"
210+#define UCLIBC_DYNAMIC_LINKER "/tools/lib/ld-uClibc.so.0"
211+#define UCLIBC_DYNAMIC_LINKER32 "/tools/lib/ld-uClibc.so.0"
212+#define UCLIBC_DYNAMIC_LINKER64 "/tools/lib/ld64-uClibc.so.0"
213+#define UCLIBC_DYNAMIC_LINKERX32 "/tools/lib/ldx32-uClibc.so.0"
214 #define BIONIC_DYNAMIC_LINKER "/system/bin/linker"
215 #define BIONIC_DYNAMIC_LINKER32 "/system/bin/linker"
216 #define BIONIC_DYNAMIC_LINKER64 "/system/bin/linker64"
217diff -Naur gcc-4.8.1.orig/gcc/config/m32r/linux.h gcc-4.8.1/gcc/config/m32r/linux.h
218--- gcc-4.8.1.orig/gcc/config/m32r/linux.h 2013-01-10 20:38:27.000000000 +0000
219+++ gcc-4.8.1/gcc/config/m32r/linux.h 2013-06-02 18:37:16.640555687 +0000
220@@ -37,7 +37,7 @@
221 When the -shared link option is used a final link is not being
222 done. */
223
224-#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
225+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2"
226
227 #undef LINK_SPEC
228 #if TARGET_LITTLE_ENDIAN
229diff -Naur gcc-4.8.1.orig/gcc/config/m68k/linux.h gcc-4.8.1/gcc/config/m68k/linux.h
230--- gcc-4.8.1.orig/gcc/config/m68k/linux.h 2013-01-10 20:38:27.000000000 +0000
231+++ gcc-4.8.1/gcc/config/m68k/linux.h 2013-06-02 18:37:22.030538021 +0000
232@@ -71,7 +71,7 @@
233 When the -shared link option is used a final link is not being
234 done. */
235
236-#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
237+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1"
238
239 #undef LINK_SPEC
240 #define LINK_SPEC "-m m68kelf %{shared} \
241diff -Naur gcc-4.8.1.orig/gcc/config/microblaze/linux.h gcc-4.8.1/gcc/config/microblaze/linux.h
242--- gcc-4.8.1.orig/gcc/config/microblaze/linux.h 2013-03-14 15:43:23.000000000 +0000
243+++ gcc-4.8.1/gcc/config/microblaze/linux.h 2013-06-02 18:44:07.505872576 +0000
244@@ -25,7 +25,7 @@
245 #undef TLS_NEEDS_GOT
246 #define TLS_NEEDS_GOT 1
247
248-#define DYNAMIC_LINKER "/lib/ld.so.1"
249+#define DYNAMIC_LINKER "/tools/lib/ld.so.1"
250 #undef SUBTARGET_EXTRA_SPECS
251 #define SUBTARGET_EXTRA_SPECS \
252 { "dynamic_linker", DYNAMIC_LINKER }
253diff -Naur gcc-4.8.1.orig/gcc/config/mips/linux.h gcc-4.8.1/gcc/config/mips/linux.h
254--- gcc-4.8.1.orig/gcc/config/mips/linux.h 2013-01-10 20:38:27.000000000 +0000
255+++ gcc-4.8.1/gcc/config/mips/linux.h 2013-06-02 18:37:29.310514227 +0000
256@@ -17,4 +17,4 @@
257 along with GCC; see the file COPYING3. If not see
258 <http://www.gnu.org/licenses/>. */
259
260-#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
261+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1"
262diff -Naur gcc-4.8.1.orig/gcc/config/mips/linux64.h gcc-4.8.1/gcc/config/mips/linux64.h
263--- gcc-4.8.1.orig/gcc/config/mips/linux64.h 2013-01-10 20:38:27.000000000 +0000
264+++ gcc-4.8.1/gcc/config/mips/linux64.h 2013-06-02 18:37:51.027109674 +0000
265@@ -22,10 +22,10 @@
266 #define GNU_USER_LINK_EMULATION64 "elf64%{EB:b}%{EL:l}tsmip"
267 #define GNU_USER_LINK_EMULATIONN32 "elf32%{EB:b}%{EL:l}tsmipn32"
268
269-#define GLIBC_DYNAMIC_LINKER32 "/lib/ld.so.1"
270-#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld.so.1"
271-#define GLIBC_DYNAMIC_LINKERN32 "/lib32/ld.so.1"
272-#define UCLIBC_DYNAMIC_LINKERN32 "/lib32/ld-uClibc.so.0"
273+#define GLIBC_DYNAMIC_LINKER32 "/tools/lib/ld.so.1"
274+#define GLIBC_DYNAMIC_LINKER64 "/tools/lib64/ld.so.1"
275+#define GLIBC_DYNAMIC_LINKERN32 "/tools/lib32/ld.so.1"
276+#define UCLIBC_DYNAMIC_LINKERN32 "/tools/lib32/ld-uClibc.so.0"
277 #define BIONIC_DYNAMIC_LINKERN32 "/system/bin/linker32"
278 #define GNU_USER_DYNAMIC_LINKERN32 \
279 CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKERN32, UCLIBC_DYNAMIC_LINKERN32, \
280diff -Naur gcc-4.8.1.orig/gcc/config/mn10300/linux.h gcc-4.8.1/gcc/config/mn10300/linux.h
281--- gcc-4.8.1.orig/gcc/config/mn10300/linux.h 2013-01-10 20:38:27.000000000 +0000
282+++ gcc-4.8.1/gcc/config/mn10300/linux.h 2013-06-02 18:37:56.083759785 +0000
283@@ -32,7 +32,7 @@
284 #undef ASM_SPEC
285 #define ASM_SPEC ""
286
287-#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
288+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1"
289
290 #undef LINK_SPEC
291 #define LINK_SPEC "%{mrelax:--relax} %{shared:-shared} \
292diff -Naur gcc-4.8.1.orig/gcc/config/pa/pa-linux.h gcc-4.8.1/gcc/config/pa/pa-linux.h
293--- gcc-4.8.1.orig/gcc/config/pa/pa-linux.h 2013-01-10 20:38:27.000000000 +0000
294+++ gcc-4.8.1/gcc/config/pa/pa-linux.h 2013-06-02 18:38:00.017080221 +0000
295@@ -37,7 +37,7 @@
296 /* Define this for shared library support because it isn't in the main
297 linux.h file. */
298
299-#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
300+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1"
301
302 #undef LINK_SPEC
303 #define LINK_SPEC "\
304diff -Naur gcc-4.8.1.orig/gcc/config/rs6000/freebsd64.h gcc-4.8.1/gcc/config/rs6000/freebsd64.h
305--- gcc-4.8.1.orig/gcc/config/rs6000/freebsd64.h 2013-01-10 20:38:27.000000000 +0000
306+++ gcc-4.8.1/gcc/config/rs6000/freebsd64.h 2013-06-02 18:45:31.492257649 +0000
307@@ -154,8 +154,8 @@
308 { "link_os_freebsd_spec32", LINK_OS_FREEBSD_SPEC32 }, \
309 { "link_os_freebsd_spec64", LINK_OS_FREEBSD_SPEC64 },
310
311-#define FREEBSD_DYNAMIC_LINKER32 "/libexec/ld-elf32.so.1"
312-#define FREEBSD_DYNAMIC_LINKER64 "/libexec/ld-elf.so.1"
313+#define FREEBSD_DYNAMIC_LINKER32 "/tools/lib/ld-elf32.so.1"
314+#define FREEBSD_DYNAMIC_LINKER64 "/tools/lib64/ld-elf.so.1"
315
316 #define LINK_OS_FREEBSD_SPEC_DEF32 "\
317 %{p:%nconsider using `-pg' instead of `-p' with gprof(1)} \
318diff -Naur gcc-4.8.1.orig/gcc/config/rs6000/linux64.h gcc-4.8.1/gcc/config/rs6000/linux64.h
319--- gcc-4.8.1.orig/gcc/config/rs6000/linux64.h 2013-01-10 20:38:27.000000000 +0000
320+++ gcc-4.8.1/gcc/config/rs6000/linux64.h 2013-06-02 18:45:09.498998302 +0000
321@@ -360,10 +360,10 @@
322 #undef LINK_OS_DEFAULT_SPEC
323 #define LINK_OS_DEFAULT_SPEC "%(link_os_linux)"
324
325-#define GLIBC_DYNAMIC_LINKER32 "/lib/ld.so.1"
326-#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld64.so.1"
327-#define UCLIBC_DYNAMIC_LINKER32 "/lib/ld-uClibc.so.0"
328-#define UCLIBC_DYNAMIC_LINKER64 "/lib/ld64-uClibc.so.0"
329+#define GLIBC_DYNAMIC_LINKER32 "/tools/lib/ld.so.1"
330+#define GLIBC_DYNAMIC_LINKER64 "/tools/lib64/ld64.so.1"
331+#define UCLIBC_DYNAMIC_LINKER32 "/tools/lib/ld-uClibc.so.0"
332+#define UCLIBC_DYNAMIC_LINKER64 "/tools/lib64/ld64-uClibc.so.0"
333 #if DEFAULT_LIBC == LIBC_UCLIBC
334 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:" G ";:" U "}"
335 #elif DEFAULT_LIBC == LIBC_GLIBC
336diff -Naur gcc-4.8.1.orig/gcc/config/rs6000/sysv4.h gcc-4.8.1/gcc/config/rs6000/sysv4.h
337--- gcc-4.8.1.orig/gcc/config/rs6000/sysv4.h 2013-01-10 20:38:27.000000000 +0000
338+++ gcc-4.8.1/gcc/config/rs6000/sysv4.h 2013-06-02 18:45:54.485514422 +0000
339@@ -787,8 +787,8 @@
340
341 #define LINK_START_LINUX_SPEC ""
342
343-#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
344-#define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0"
345+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1"
346+#define UCLIBC_DYNAMIC_LINKER "/tools/lib/ld-uClibc.so.0"
347 #if DEFAULT_LIBC == LIBC_UCLIBC
348 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:" G ";:" U "}"
349 #elif !defined (DEFAULT_LIBC) || DEFAULT_LIBC == LIBC_GLIBC
350@@ -832,7 +832,7 @@
351 #define LINK_OS_NETBSD_SPEC "\
352 %{!shared: %{!static: \
353 %{rdynamic:-export-dynamic} \
354- -dynamic-linker /usr/libexec/ld.elf_so}}"
355+ -dynamic-linker /tools/lib/ld.elf_so}}"
356
357 #define CPP_OS_NETBSD_SPEC "\
358 -D__powerpc__ -D__NetBSD__ -D__KPRINTF_ATTRIBUTE__"
359diff -Naur gcc-4.8.1.orig/gcc/config/s390/linux.h gcc-4.8.1/gcc/config/s390/linux.h
360--- gcc-4.8.1.orig/gcc/config/s390/linux.h 2013-01-10 20:38:27.000000000 +0000
361+++ gcc-4.8.1/gcc/config/s390/linux.h 2013-06-02 18:46:05.885476284 +0000
362@@ -60,8 +60,8 @@
363 #define MULTILIB_DEFAULTS { "m31" }
364 #endif
365
366-#define GLIBC_DYNAMIC_LINKER32 "/lib/ld.so.1"
367-#define GLIBC_DYNAMIC_LINKER64 "/lib/ld64.so.1"
368+#define GLIBC_DYNAMIC_LINKER32 "/tools/lib/ld.so.1"
369+#define GLIBC_DYNAMIC_LINKER64 "/tools/lib64/ld64.so.1"
370
371 #undef LINK_SPEC
372 #define LINK_SPEC \
373diff -Naur gcc-4.8.1.orig/gcc/config/sh/linux.h gcc-4.8.1/gcc/config/sh/linux.h
374--- gcc-4.8.1.orig/gcc/config/sh/linux.h 2013-03-14 03:01:53.000000000 +0000
375+++ gcc-4.8.1/gcc/config/sh/linux.h 2013-06-02 18:39:16.150164212 +0000
376@@ -43,7 +43,7 @@
377
378 #define TARGET_ASM_FILE_END file_end_indicate_exec_stack
379
380-#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
381+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2"
382
383 #undef SUBTARGET_LINK_EMUL_SUFFIX
384 #define SUBTARGET_LINK_EMUL_SUFFIX "_linux"
385diff -Naur gcc-4.8.1.orig/gcc/config/sparc/linux.h gcc-4.8.1/gcc/config/sparc/linux.h
386--- gcc-4.8.1.orig/gcc/config/sparc/linux.h 2013-01-10 20:38:27.000000000 +0000
387+++ gcc-4.8.1/gcc/config/sparc/linux.h 2013-06-02 18:39:28.320124356 +0000
388@@ -83,7 +83,7 @@
389 When the -shared link option is used a final link is not being
390 done. */
391
392-#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
393+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2"
394
395 #undef LINK_SPEC
396 #define LINK_SPEC "-m elf32_sparc %{shared:-shared} \
397diff -Naur gcc-4.8.1.orig/gcc/config/sparc/linux64.h gcc-4.8.1/gcc/config/sparc/linux64.h
398--- gcc-4.8.1.orig/gcc/config/sparc/linux64.h 2013-01-10 20:38:27.000000000 +0000
399+++ gcc-4.8.1/gcc/config/sparc/linux64.h 2013-06-02 18:40:16.716632682 +0000
400@@ -92,8 +92,8 @@
401 When the -shared link option is used a final link is not being
402 done. */
403
404-#define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2"
405-#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux.so.2"
406+#define GLIBC_DYNAMIC_LINKER32 "/tools/lib/ld-linux.so.2"
407+#define GLIBC_DYNAMIC_LINKER64 "/tools/lib64/ld-linux.so.2"
408
409 #ifdef SPARC_BI_ARCH
410
411@@ -201,7 +201,7 @@
412 #else /* !SPARC_BI_ARCH */
413
414 #undef LINK_SPEC
415-#define LINK_SPEC "-m elf64_sparc -Y P,%R/usr/lib64 %{shared:-shared} \
416+#define LINK_SPEC "-m elf64_sparc -Y P,%R/tools/lib64 %{shared:-shared} \
417 %{!shared: \
418 %{!static: \
419 %{rdynamic:-export-dynamic} \
420diff -Naur gcc-4.8.1.orig/gcc/config/xtensa/linux.h gcc-4.8.1/gcc/config/xtensa/linux.h
421--- gcc-4.8.1.orig/gcc/config/xtensa/linux.h 2013-01-10 20:38:27.000000000 +0000
422+++ gcc-4.8.1/gcc/config/xtensa/linux.h 2013-06-02 18:40:28.986592459 +0000
423@@ -44,7 +44,7 @@
424 %{mlongcalls:--longcalls} \
425 %{mno-longcalls:--no-longcalls}"
426
427-#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
428+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1"
429
430 #undef LINK_SPEC
431 #define LINK_SPEC \
Note: See TracBrowser for help on using the repository browser.