source: patches/gcc-5.3.0-specs-1.patch@ 870ba41

sysvinit
Last change on this file since 870ba41 was 8633cac, checked in by William Harrington <kb0iic@…>, 9 years ago

GCC 5.3.0 patches renamed.

  • Property mode set to 100644
File size: 19.3 KB
RevLine 
[8633cac]1Submitted By: Martin Ward <macros_the_black@ntlworld.com>
2Date: 12-28-2015
3Initial Package Version: 4.9.2
4Origin: Idea originally developed by Ryan Oliver and Greg Schafer for
5 the Pure LFS project. With contributions from William Harrington
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}.
9Comment: Renamed for GCC 5.3.0
10
11diff -Naur gcc-5.2.0.orig/gcc/config/aarch64/aarch64-linux.h gcc-5.2.0/gcc/config/aarch64/aarch64-linux.h
12--- gcc-5.2.0.orig/gcc/config/aarch64/aarch64-linux.h 2015-05-12 08:49:59.000000000 +0000
13+++ gcc-5.2.0/gcc/config/aarch64/aarch64-linux.h 2015-10-17 20:29:44.970812436 +0000
14@@ -21,7 +21,7 @@
15 #ifndef GCC_AARCH64_LINUX_H
16 #define GCC_AARCH64_LINUX_H
17
18-#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-aarch64%{mbig-endian:_be}%{mabi=ilp32:_ilp32}.so.1"
19+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux-aarch64%{mbig-endian:_be}%{mabi=ilp32:_ilp32}.so.1"
20
21 #undef ASAN_CC1_SPEC
22 #define ASAN_CC1_SPEC "%{%:sanitize(address):-funwind-tables}"
23diff -Naur gcc-5.2.0.orig/gcc/config/alpha/linux-elf.h gcc-5.2.0/gcc/config/alpha/linux-elf.h
24--- gcc-5.2.0.orig/gcc/config/alpha/linux-elf.h 2015-01-05 12:33:28.000000000 +0000
25+++ gcc-5.2.0/gcc/config/alpha/linux-elf.h 2015-10-17 20:28:41.529210187 +0000
26@@ -23,8 +23,8 @@
27 #define EXTRA_SPECS \
28 { "elf_dynamic_linker", ELF_DYNAMIC_LINKER },
29
30-#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
31-#define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0"
32+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2"
33+#define UCLIBC_DYNAMIC_LINKER "/tools/lib/ld-uClibc.so.0"
34 #if DEFAULT_LIBC == LIBC_UCLIBC
35 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:" G ";:" U "}"
36 #elif DEFAULT_LIBC == LIBC_GLIBC
37diff -Naur gcc-5.2.0.orig/gcc/config/arm/linux-eabi.h gcc-5.2.0/gcc/config/arm/linux-eabi.h
38--- gcc-5.2.0.orig/gcc/config/arm/linux-eabi.h 2015-01-05 12:33:28.000000000 +0000
39+++ gcc-5.2.0/gcc/config/arm/linux-eabi.h 2015-10-17 20:28:41.529210187 +0000
40@@ -68,8 +68,8 @@
41 GLIBC_DYNAMIC_LINKER_DEFAULT and TARGET_DEFAULT_FLOAT_ABI. */
42
43 #undef GLIBC_DYNAMIC_LINKER
44-#define GLIBC_DYNAMIC_LINKER_SOFT_FLOAT "/lib/ld-linux.so.3"
45-#define GLIBC_DYNAMIC_LINKER_HARD_FLOAT "/lib/ld-linux-armhf.so.3"
46+#define GLIBC_DYNAMIC_LINKER_SOFT_FLOAT "/tools/lib/ld-linux.so.3"
47+#define GLIBC_DYNAMIC_LINKER_HARD_FLOAT "/tools/lib/ld-linux-armhf.so.3"
48 #define GLIBC_DYNAMIC_LINKER_DEFAULT GLIBC_DYNAMIC_LINKER_SOFT_FLOAT
49
50 #define GLIBC_DYNAMIC_LINKER \
51diff -Naur gcc-5.2.0.orig/gcc/config/arm/linux-elf.h gcc-5.2.0/gcc/config/arm/linux-elf.h
52--- gcc-5.2.0.orig/gcc/config/arm/linux-elf.h 2015-06-23 09:26:54.000000000 +0000
53+++ gcc-5.2.0/gcc/config/arm/linux-elf.h 2015-10-17 20:28:41.529210187 +0000
54@@ -62,7 +62,7 @@
55
56 #define LIBGCC_SPEC "%{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
61 #define LINUX_TARGET_LINK_SPEC "%{h*} \
62 %{static:-Bstatic} \
63diff -Naur gcc-5.2.0.orig/gcc/config/bfin/linux.h gcc-5.2.0/gcc/config/bfin/linux.h
64--- gcc-5.2.0.orig/gcc/config/bfin/linux.h 2015-01-05 12:33:28.000000000 +0000
65+++ gcc-5.2.0/gcc/config/bfin/linux.h 2015-10-17 20:28:41.529210187 +0000
66@@ -45,7 +45,7 @@
67 %{shared:-G -Bdynamic} \
68 %{!shared: %{!static: \
69 %{rdynamic:-export-dynamic} \
70- -dynamic-linker /lib/ld-uClibc.so.0} \
71+ -dynamic-linker /tools/lib/ld-uClibc.so.0} \
72 %{static}} -init __init -fini __fini"
73
74 #undef TARGET_SUPPORTS_SYNC_CALLS
75diff -Naur gcc-5.2.0.orig/gcc/config/cris/linux.h gcc-5.2.0/gcc/config/cris/linux.h
76--- gcc-5.2.0.orig/gcc/config/cris/linux.h 2015-01-05 12:33:28.000000000 +0000
77+++ gcc-5.2.0/gcc/config/cris/linux.h 2015-10-17 20:28:41.529210187 +0000
78@@ -102,7 +102,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
85 #undef CRIS_LINK_SUBTARGET_SPEC
86 #define CRIS_LINK_SUBTARGET_SPEC \
87diff -Naur gcc-5.2.0.orig/gcc/config/freebsd-spec.h gcc-5.2.0/gcc/config/freebsd-spec.h
88--- gcc-5.2.0.orig/gcc/config/freebsd-spec.h 2015-06-25 17:53:14.000000000 +0000
89+++ gcc-5.2.0/gcc/config/freebsd-spec.h 2015-10-17 20:28:41.529210187 +0000
90@@ -129,9 +129,9 @@
91 #endif
92
93 #if FBSD_MAJOR < 6
94-#define FBSD_DYNAMIC_LINKER "/usr/libexec/ld-elf.so.1"
95+#define FBSD_DYNAMIC_LINKER "/tools/libexec/ld-elf.so.1"
96 #else
97-#define FBSD_DYNAMIC_LINKER "/libexec/ld-elf.so.1"
98+#define FBSD_DYNAMIC_LINKER "/tools/libexec/ld-elf.so.1"
99 #endif
100
101 /* NOTE: The freebsd-spec.h header is included also for various
102diff -Naur gcc-5.2.0.orig/gcc/config/frv/linux.h gcc-5.2.0/gcc/config/frv/linux.h
103--- gcc-5.2.0.orig/gcc/config/frv/linux.h 2015-01-05 12:33:28.000000000 +0000
104+++ gcc-5.2.0/gcc/config/frv/linux.h 2015-10-17 20:28:41.529210187 +0000
105@@ -34,7 +34,7 @@
106 #define ENDFILE_SPEC \
107 "%{shared|pie:crtendS.o%s;:crtend.o%s} crtn.o%s"
108
109-#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
110+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1"
111
112 #undef LINK_SPEC
113 #define LINK_SPEC "\
114diff -Naur gcc-5.2.0.orig/gcc/config/i386/gnu.h gcc-5.2.0/gcc/config/i386/gnu.h
115--- gcc-5.2.0.orig/gcc/config/i386/gnu.h 2015-01-05 12:33:28.000000000 +0000
116+++ gcc-5.2.0/gcc/config/i386/gnu.h 2015-10-17 20:28:41.529210187 +0000
117@@ -22,7 +22,7 @@
118 #define GNU_USER_LINK_EMULATION "elf_i386"
119
120 #undef GNU_USER_DYNAMIC_LINKER
121-#define GNU_USER_DYNAMIC_LINKER "/lib/ld.so"
122+#define GNU_USER_DYNAMIC_LINKER "/tools/lib/ld.so"
123
124 #undef STARTFILE_SPEC
125 #if defined HAVE_LD_PIE
126diff -Naur gcc-5.2.0.orig/gcc/config/i386/kfreebsd-gnu.h gcc-5.2.0/gcc/config/i386/kfreebsd-gnu.h
127--- gcc-5.2.0.orig/gcc/config/i386/kfreebsd-gnu.h 2015-01-05 12:33:28.000000000 +0000
128+++ gcc-5.2.0/gcc/config/i386/kfreebsd-gnu.h 2015-10-17 20:28:41.529210187 +0000
129@@ -19,4 +19,4 @@
130 <http://www.gnu.org/licenses/>. */
131
132 #define GNU_USER_LINK_EMULATION "elf_i386_fbsd"
133-#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
134+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1"
135diff -Naur gcc-5.2.0.orig/gcc/config/i386/kfreebsd-gnu64.h gcc-5.2.0/gcc/config/i386/kfreebsd-gnu64.h
136--- gcc-5.2.0.orig/gcc/config/i386/kfreebsd-gnu64.h 2015-01-05 12:33:28.000000000 +0000
137+++ gcc-5.2.0/gcc/config/i386/kfreebsd-gnu64.h 2015-10-17 20:28:41.529210187 +0000
138@@ -22,6 +22,6 @@
139 #define GNU_USER_LINK_EMULATION64 "elf_x86_64_fbsd"
140 #define GNU_USER_LINK_EMULATIONX32 "elf32_x86_64_fbsd"
141
142-#define GLIBC_DYNAMIC_LINKER32 "/lib/ld.so.1"
143-#define GLIBC_DYNAMIC_LINKER64 "/lib/ld-kfreebsd-x86-64.so.1"
144-#define GLIBC_DYNAMIC_LINKERX32 "/lib/ld-kfreebsd-x32.so.1"
145+#define GLIBC_DYNAMIC_LINKER32 "/tools/lib/ld.so.1"
146+#define GLIBC_DYNAMIC_LINKER64 "/tools/lib/ld-kfreebsd-x86-64.so.1"
147+#define GLIBC_DYNAMIC_LINKERX32 "/tools/lib/ld-kfreebsd-x32.so.1"
148diff -Naur gcc-5.2.0.orig/gcc/config/i386/linux.h gcc-5.2.0/gcc/config/i386/linux.h
149--- gcc-5.2.0.orig/gcc/config/i386/linux.h 2015-01-05 12:33:28.000000000 +0000
150+++ gcc-5.2.0/gcc/config/i386/linux.h 2015-10-17 20:28:41.529210187 +0000
151@@ -20,4 +20,4 @@
152 <http://www.gnu.org/licenses/>. */
153
154 #define GNU_USER_LINK_EMULATION "elf_i386"
155-#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
156+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2"
157diff -Naur gcc-5.2.0.orig/gcc/config/i386/linux64.h gcc-5.2.0/gcc/config/i386/linux64.h
158--- gcc-5.2.0.orig/gcc/config/i386/linux64.h 2015-01-05 12:33:28.000000000 +0000
159+++ gcc-5.2.0/gcc/config/i386/linux64.h 2015-10-17 20:28:41.529210187 +0000
160@@ -27,6 +27,6 @@
161 #define GNU_USER_LINK_EMULATION64 "elf_x86_64"
162 #define GNU_USER_LINK_EMULATIONX32 "elf32_x86_64"
163
164-#define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2"
165-#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux-x86-64.so.2"
166-#define GLIBC_DYNAMIC_LINKERX32 "/libx32/ld-linux-x32.so.2"
167+#define GLIBC_DYNAMIC_LINKER32 "/tools/lib/ld-linux.so.2"
168+#define GLIBC_DYNAMIC_LINKER64 "/tools/lib64/ld-linux-x86-64.so.2"
169+#define GLIBC_DYNAMIC_LINKERX32 "/tools/libx32/ld-linux-x32.so.2"
170diff -Naur gcc-5.2.0.orig/gcc/config/ia64/linux.h gcc-5.2.0/gcc/config/ia64/linux.h
171--- gcc-5.2.0.orig/gcc/config/ia64/linux.h 2015-01-05 12:33:28.000000000 +0000
172+++ gcc-5.2.0/gcc/config/ia64/linux.h 2015-10-17 20:28:41.529210187 +0000
173@@ -55,7 +55,7 @@
174 /* Define this for shared library support because it isn't in the main
175 linux.h file. */
176
177-#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-ia64.so.2"
178+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux-ia64.so.2"
179
180 #undef LINK_SPEC
181 #define LINK_SPEC "\
182diff -Naur gcc-5.2.0.orig/gcc/config/knetbsd-gnu.h gcc-5.2.0/gcc/config/knetbsd-gnu.h
183--- gcc-5.2.0.orig/gcc/config/knetbsd-gnu.h 2015-01-05 12:33:28.000000000 +0000
184+++ gcc-5.2.0/gcc/config/knetbsd-gnu.h 2015-10-17 20:28:41.529210187 +0000
185@@ -32,4 +32,4 @@
186
187
188 #undef GNU_USER_DYNAMIC_LINKER
189-#define GNU_USER_DYNAMIC_LINKER "/lib/ld.so.1"
190+#define GNU_USER_DYNAMIC_LINKER "/tools/lib/ld.so.1"
191diff -Naur gcc-5.2.0.orig/gcc/config/kopensolaris-gnu.h gcc-5.2.0/gcc/config/kopensolaris-gnu.h
192--- gcc-5.2.0.orig/gcc/config/kopensolaris-gnu.h 2015-01-05 12:33:28.000000000 +0000
193+++ gcc-5.2.0/gcc/config/kopensolaris-gnu.h 2015-10-17 20:28:41.529210187 +0000
194@@ -31,4 +31,5 @@
195 while (0)
196
197 #undef GNU_USER_DYNAMIC_LINKER
198-#define GNU_USER_DYNAMIC_LINKER "/lib/ld.so.1"
199+#define GNU_USER_DYNAMIC_LINKER "/tools/lib/ld.so.1"
200+
201diff -Naur gcc-5.2.0.orig/gcc/config/linux.h gcc-5.2.0/gcc/config/linux.h
202--- gcc-5.2.0.orig/gcc/config/linux.h 2015-01-05 12:33:28.000000000 +0000
203+++ gcc-5.2.0/gcc/config/linux.h 2015-10-17 20:28:41.529210187 +0000
204@@ -73,10 +73,10 @@
205 GLIBC_DYNAMIC_LINKER must be defined for each target using them, or
206 GLIBC_DYNAMIC_LINKER32 and GLIBC_DYNAMIC_LINKER64 for targets
207 supporting both 32-bit and 64-bit compilation. */
208-#define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0"
209-#define UCLIBC_DYNAMIC_LINKER32 "/lib/ld-uClibc.so.0"
210-#define UCLIBC_DYNAMIC_LINKER64 "/lib/ld64-uClibc.so.0"
211-#define UCLIBC_DYNAMIC_LINKERX32 "/lib/ldx32-uClibc.so.0"
212+#define UCLIBC_DYNAMIC_LINKER "/tools/lib/ld-uClibc.so.0"
213+#define UCLIBC_DYNAMIC_LINKER32 "/tools/lib/ld-uClibc.so.0"
214+#define UCLIBC_DYNAMIC_LINKER64 "/tools/lib/ld64-uClibc.so.0"
215+#define UCLIBC_DYNAMIC_LINKERX32 "/tools/lib/ldx32-uClibc.so.0"
216 #define BIONIC_DYNAMIC_LINKER "/system/bin/linker"
217 #define BIONIC_DYNAMIC_LINKER32 "/system/bin/linker"
218 #define BIONIC_DYNAMIC_LINKER64 "/system/bin/linker64"
219diff -Naur gcc-5.2.0.orig/gcc/config/lm32/uclinux-elf.h gcc-5.2.0/gcc/config/lm32/uclinux-elf.h
220--- gcc-5.2.0.orig/gcc/config/lm32/uclinux-elf.h 2015-01-05 12:33:28.000000000 +0000
221+++ gcc-5.2.0/gcc/config/lm32/uclinux-elf.h 2015-10-17 20:28:41.529210187 +0000
222@@ -67,7 +67,7 @@
223 %{shared:-shared} \
224 %{symbolic:-Bsymbolic} \
225 %{rdynamic:-export-dynamic} \
226- -dynamic-linker /lib/ld-linux.so.2"
227+ -dynamic-linker /tools/lib/ld-linux.so.2"
228
229 #define TARGET_OS_CPP_BUILTINS() GNU_USER_TARGET_OS_CPP_BUILTINS()
230
231diff -Naur gcc-5.2.0.orig/gcc/config/m68k/linux.h gcc-5.2.0/gcc/config/m68k/linux.h
232--- gcc-5.2.0.orig/gcc/config/m68k/linux.h 2015-01-05 12:33:28.000000000 +0000
233+++ gcc-5.2.0/gcc/config/m68k/linux.h 2015-10-17 20:28:41.533210287 +0000
234@@ -71,7 +71,7 @@
235 When the -shared link option is used a final link is not being
236 done. */
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} \
243diff -Naur gcc-5.2.0.orig/gcc/config/microblaze/linux.h gcc-5.2.0/gcc/config/microblaze/linux.h
244--- gcc-5.2.0.orig/gcc/config/microblaze/linux.h 2015-05-28 14:08:19.000000000 +0000
245+++ gcc-5.2.0/gcc/config/microblaze/linux.h 2015-10-17 20:28:41.533210287 +0000
246@@ -28,7 +28,7 @@
247 #undef TLS_NEEDS_GOT
248 #define TLS_NEEDS_GOT 1
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-5.2.0.orig/gcc/config/mips/linux.h gcc-5.2.0/gcc/config/mips/linux.h
256--- gcc-5.2.0.orig/gcc/config/mips/linux.h 2015-01-05 12:33:28.000000000 +0000
257+++ gcc-5.2.0/gcc/config/mips/linux.h 2015-10-17 20:30:30.887975439 +0000
258@@ -22,20 +22,20 @@
259 #define GNU_USER_LINK_EMULATIONN32 "elf32%{EB:b}%{EL:l}tsmipn32"
260
261 #define GLIBC_DYNAMIC_LINKER32 \
262- "%{mnan=2008:/lib/ld-linux-mipsn8.so.1;:/lib/ld.so.1}"
263+ "%{mnan=2008:/tools/lib/ld-linux-mipsn8.so.1;:/tools/lib/ld.so.1}"
264 #define GLIBC_DYNAMIC_LINKER64 \
265- "%{mnan=2008:/lib64/ld-linux-mipsn8.so.1;:/lib64/ld.so.1}"
266+ "%{mnan=2008:/tools/lib64/ld-linux-mipsn8.so.1;:/tools/lib64/ld.so.1}"
267 #define GLIBC_DYNAMIC_LINKERN32 \
268- "%{mnan=2008:/lib32/ld-linux-mipsn8.so.1;:/lib32/ld.so.1}"
269+ "%{mnan=2008:/tools/lib32/ld-linux-mipsn8.so.1;:/tools/lib32/ld.so.1}"
270
271 #undef UCLIBC_DYNAMIC_LINKER32
272 #define UCLIBC_DYNAMIC_LINKER32 \
273- "%{mnan=2008:/lib/ld-uClibc-mipsn8.so.0;:/lib/ld-uClibc.so.0}"
274+ "%{mnan=2008:/tools/lib/ld-uClibc-mipsn8.so.0;:/tools/lib/ld-uClibc.so.0}"
275 #undef UCLIBC_DYNAMIC_LINKER64
276 #define UCLIBC_DYNAMIC_LINKER64 \
277- "%{mnan=2008:/lib/ld64-uClibc-mipsn8.so.0;:/lib/ld64-uClibc.so.0}"
278+ "%{mnan=2008:/tools/lib/ld64-uClibc-mipsn8.so.0;:/tools/lib/ld64-uClibc.so.0}"
279 #define UCLIBC_DYNAMIC_LINKERN32 \
280- "%{mnan=2008:/lib32/ld-uClibc-mipsn8.so.0;:/lib32/ld-uClibc.so.0}"
281+ "%{mnan=2008:/tools/lib32/ld-uClibc-mipsn8.so.0;:/tools/lib32/ld-uClibc.so.0}"
282
283 #define BIONIC_DYNAMIC_LINKERN32 "/system/bin/linker32"
284 #define GNU_USER_DYNAMIC_LINKERN32 \
285diff -Naur gcc-5.2.0.orig/gcc/config/mn10300/linux.h gcc-5.2.0/gcc/config/mn10300/linux.h
286--- gcc-5.2.0.orig/gcc/config/mn10300/linux.h 2015-01-05 12:33:28.000000000 +0000
287+++ gcc-5.2.0/gcc/config/mn10300/linux.h 2015-10-17 20:29:02.941750373 +0000
288@@ -32,7 +32,7 @@
289 #undef ASM_SPEC
290 #define ASM_SPEC ""
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} \
297diff -Naur gcc-5.2.0.orig/gcc/config/pa/pa-linux.h gcc-5.2.0/gcc/config/pa/pa-linux.h
298--- gcc-5.2.0.orig/gcc/config/pa/pa-linux.h 2015-05-28 14:07:55.000000000 +0000
299+++ gcc-5.2.0/gcc/config/pa/pa-linux.h 2015-10-17 20:29:02.941750373 +0000
300@@ -37,7 +37,7 @@
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 "\
309diff -Naur gcc-5.2.0.orig/gcc/config/rs6000/linux64.h gcc-5.2.0/gcc/config/rs6000/linux64.h
310--- gcc-5.2.0.orig/gcc/config/rs6000/linux64.h 2015-03-09 23:18:57.000000000 +0000
311+++ gcc-5.2.0/gcc/config/rs6000/linux64.h 2015-10-17 20:29:02.941750373 +0000
312@@ -357,14 +357,14 @@
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_LINKER32 "/tools/lib/ld.so.1"
318 #ifdef LINUX64_DEFAULT_ABI_ELFv2
319-#define GLIBC_DYNAMIC_LINKER64 "%{mabi=elfv1:/lib64/ld64.so.1;:/lib64/ld64.so.2}"
320+#define GLIBC_DYNAMIC_LINKER64 "%{mabi=elfv1:/tools/lib64/ld64.so.1;:/tools/lib64/ld64.so.2}"
321 #else
322-#define GLIBC_DYNAMIC_LINKER64 "%{mabi=elfv2:/lib64/ld64.so.2;:/lib64/ld64.so.1}"
323+#define GLIBC_DYNAMIC_LINKER64 "%{mabi=elfv2:/tools/lib64/ld64.so.2;:/tools/lib64/ld64.so.1}"
324 #endif
325-#define UCLIBC_DYNAMIC_LINKER32 "/lib/ld-uClibc.so.0"
326-#define UCLIBC_DYNAMIC_LINKER64 "/lib/ld64-uClibc.so.0"
327+#define UCLIBC_DYNAMIC_LINKER32 "/tools/lib/ld-uClibc.so.0"
328+#define UCLIBC_DYNAMIC_LINKER64 "/tools/lib/ld64-uClibc.so.0"
329 #if DEFAULT_LIBC == LIBC_UCLIBC
330 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:" G ";:" U "}"
331 #elif DEFAULT_LIBC == LIBC_GLIBC
332diff -Naur gcc-5.2.0.orig/gcc/config/rs6000/sysv4.h gcc-5.2.0/gcc/config/rs6000/sysv4.h
333--- gcc-5.2.0.orig/gcc/config/rs6000/sysv4.h 2015-01-05 12:33:28.000000000 +0000
334+++ gcc-5.2.0/gcc/config/rs6000/sysv4.h 2015-10-17 20:29:02.941750373 +0000
335@@ -762,8 +762,8 @@
336
337 #define LINK_START_LINUX_SPEC ""
338
339-#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
340-#define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0"
341+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1"
342+#define UCLIBC_DYNAMIC_LINKER "/tools/lib/ld-uClibc.so.0"
343 #if DEFAULT_LIBC == LIBC_UCLIBC
344 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:" G ";:" U "}"
345 #elif !defined (DEFAULT_LIBC) || DEFAULT_LIBC == LIBC_GLIBC
346diff -Naur gcc-5.2.0.orig/gcc/config/s390/linux.h gcc-5.2.0/gcc/config/s390/linux.h
347--- gcc-5.2.0.orig/gcc/config/s390/linux.h 2015-05-11 07:14:10.000000000 +0000
348+++ gcc-5.2.0/gcc/config/s390/linux.h 2015-10-17 20:29:02.941750373 +0000
349@@ -60,8 +60,8 @@
350 #define MULTILIB_DEFAULTS { "m31" }
351 #endif
352
353-#define GLIBC_DYNAMIC_LINKER32 "/lib/ld.so.1"
354-#define GLIBC_DYNAMIC_LINKER64 "/lib/ld64.so.1"
355+#define GLIBC_DYNAMIC_LINKER32 "/tools/lib/ld.so.1"
356+#define GLIBC_DYNAMIC_LINKER64 "/tools/lib/ld64.so.1"
357
358 #undef LINK_SPEC
359 #define LINK_SPEC \
360diff -Naur gcc-5.2.0.orig/gcc/config/sh/linux.h gcc-5.2.0/gcc/config/sh/linux.h
361--- gcc-5.2.0.orig/gcc/config/sh/linux.h 2015-01-05 12:33:28.000000000 +0000
362+++ gcc-5.2.0/gcc/config/sh/linux.h 2015-10-17 20:29:02.941750373 +0000
363@@ -43,7 +43,7 @@
364
365 #define TARGET_ASM_FILE_END file_end_indicate_exec_stack
366
367-#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
368+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2"
369
370 #undef SUBTARGET_LINK_EMUL_SUFFIX
371 #define SUBTARGET_LINK_EMUL_SUFFIX "_linux"
372diff -Naur gcc-5.2.0.orig/gcc/config/sparc/linux.h gcc-5.2.0/gcc/config/sparc/linux.h
373--- gcc-5.2.0.orig/gcc/config/sparc/linux.h 2015-01-05 12:33:28.000000000 +0000
374+++ gcc-5.2.0/gcc/config/sparc/linux.h 2015-10-17 20:29:02.941750373 +0000
375@@ -83,7 +83,7 @@
376 When the -shared link option is used a final link is not being
377 done. */
378
379-#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
380+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2"
381
382 #undef LINK_SPEC
383 #define LINK_SPEC "-m elf32_sparc %{shared:-shared} \
384diff -Naur gcc-5.2.0.orig/gcc/config/sparc/linux64.h gcc-5.2.0/gcc/config/sparc/linux64.h
385--- gcc-5.2.0.orig/gcc/config/sparc/linux64.h 2015-01-05 12:33:28.000000000 +0000
386+++ gcc-5.2.0/gcc/config/sparc/linux64.h 2015-10-17 20:29:02.941750373 +0000
387@@ -84,8 +84,8 @@
388 When the -shared link option is used a final link is not being
389 done. */
390
391-#define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2"
392-#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux.so.2"
393+#define GLIBC_DYNAMIC_LINKER32 "/tools/lib/ld-linux.so.2"
394+#define GLIBC_DYNAMIC_LINKER64 "/tools/lib64/ld-linux.so.2"
395
396 #ifdef SPARC_BI_ARCH
397
398@@ -193,7 +193,7 @@
399 #else /* !SPARC_BI_ARCH */
400
401 #undef LINK_SPEC
402-#define LINK_SPEC "-m elf64_sparc -Y P,%R/usr/lib64 %{shared:-shared} \
403+#define LINK_SPEC "-m elf64_sparc -Y P,%R/tools/lib64 %{shared:-shared} \
404 %{!shared: \
405 %{!static: \
406 %{rdynamic:-export-dynamic} \
407diff -Naur gcc-5.2.0.orig/gcc/config/vax/linux.h gcc-5.2.0/gcc/config/vax/linux.h
408--- gcc-5.2.0.orig/gcc/config/vax/linux.h 2015-01-05 12:33:28.000000000 +0000
409+++ gcc-5.2.0/gcc/config/vax/linux.h 2015-10-17 20:29:02.941750373 +0000
410@@ -41,7 +41,7 @@
411 %{!shared: \
412 %{!static: \
413 %{rdynamic:-export-dynamic} \
414- -dynamic-linker /lib/ld.so.1} \
415+ -dynamic-linker /tools/lib/ld.so.1} \
416 %{static:-static}}"
417
418 #undef WCHAR_TYPE
419diff -Naur gcc-5.2.0.orig/gcc/config/xtensa/linux.h gcc-5.2.0/gcc/config/xtensa/linux.h
420--- gcc-5.2.0.orig/gcc/config/xtensa/linux.h 2015-01-05 12:33:28.000000000 +0000
421+++ gcc-5.2.0/gcc/config/xtensa/linux.h 2015-10-17 20:29:02.941750373 +0000
422@@ -44,7 +44,7 @@
423 %{mlongcalls:--longcalls} \
424 %{mno-longcalls:--no-longcalls}"
425
426-#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
427+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1"
428
429 #undef LINK_SPEC
430 #define LINK_SPEC \
Note: See TracBrowser for help on using the repository browser.