[c0595573] | 1 | Submitted By: Joe Ciccone <jciccone@gmail.com>
|
---|
| 2 | Date: 07-25-2010
|
---|
| 3 | Initial Package Version: 3.4.6
|
---|
[9722468] | 4 | Origin: Idea originally developed by Ryan Oliver and Greg Schafer for
|
---|
| 5 | the Pure LFS project.
|
---|
[c0595573] | 6 | Upstream Status: Not Applied - CLFS Specific
|
---|
| 7 | Description: The specs patch changes the location of the dynamic linker as
|
---|
| 8 | well as the link spec to /tools/lib{,32,64}.
|
---|
[9722468] | 9 |
|
---|
[c0595573] | 10 | diff -Naur gcc-4.5.0.orig/gcc/config/alpha/gnu.h gcc-4.5.0/gcc/config/alpha/gnu.h
|
---|
| 11 | --- gcc-4.5.0.orig/gcc/config/alpha/gnu.h 2009-04-21 15:03:23.000000000 -0400
|
---|
| 12 | +++ gcc-4.5.0/gcc/config/alpha/gnu.h 2010-07-25 15:48:55.542077457 -0400
|
---|
| 13 | @@ -34,7 +34,7 @@
|
---|
[9722468] | 14 | } while (0)
|
---|
| 15 |
|
---|
| 16 | #undef ELF_DYNAMIC_LINKER
|
---|
| 17 | -#define ELF_DYNAMIC_LINKER "/lib/ld.so"
|
---|
| 18 | +#define ELF_DYNAMIC_LINKER "/tools/lib/ld.so"
|
---|
| 19 |
|
---|
| 20 | #undef STARTFILE_SPEC
|
---|
| 21 | #define STARTFILE_SPEC \
|
---|
[c0595573] | 22 | diff -Naur gcc-4.5.0.orig/gcc/config/alpha/linux-elf.h gcc-4.5.0/gcc/config/alpha/linux-elf.h
|
---|
| 23 | --- gcc-4.5.0.orig/gcc/config/alpha/linux-elf.h 2007-08-02 06:49:31.000000000 -0400
|
---|
| 24 | +++ gcc-4.5.0/gcc/config/alpha/linux-elf.h 2010-07-25 15:48:55.534077576 -0400
|
---|
[9722468] | 25 | @@ -27,8 +27,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 UCLIBC_DEFAULT
|
---|
| 34 | #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}"
|
---|
| 35 | #else
|
---|
[c0595573] | 36 | diff -Naur gcc-4.5.0.orig/gcc/config/arm/linux-eabi.h gcc-4.5.0/gcc/config/arm/linux-eabi.h
|
---|
| 37 | --- gcc-4.5.0.orig/gcc/config/arm/linux-eabi.h 2009-10-30 16:03:09.000000000 -0400
|
---|
| 38 | +++ gcc-4.5.0/gcc/config/arm/linux-eabi.h 2010-07-25 15:48:55.562077132 -0400
|
---|
[9722468] | 39 | @@ -61,7 +61,7 @@
|
---|
| 40 | /* Use ld-linux.so.3 so that it will be possible to run "classic"
|
---|
| 41 | GNU/Linux binaries on an EABI system. */
|
---|
| 42 | #undef GLIBC_DYNAMIC_LINKER
|
---|
| 43 | -#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.3"
|
---|
| 44 | +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.3"
|
---|
| 45 |
|
---|
| 46 | /* At this point, bpabi.h will have clobbered LINK_SPEC. We want to
|
---|
| 47 | use the GNU/Linux version, not the generic BPABI version. */
|
---|
[c0595573] | 48 | diff -Naur gcc-4.5.0.orig/gcc/config/arm/linux-elf.h gcc-4.5.0/gcc/config/arm/linux-elf.h
|
---|
| 49 | --- gcc-4.5.0.orig/gcc/config/arm/linux-elf.h 2009-11-05 09:47:45.000000000 -0500
|
---|
| 50 | +++ gcc-4.5.0/gcc/config/arm/linux-elf.h 2010-07-25 15:48:55.566077073 -0400
|
---|
[9722468] | 51 | @@ -62,7 +62,7 @@
|
---|
| 52 |
|
---|
| 53 | #define LIBGCC_SPEC "%{msoft-float:-lfloat} %{mfloat-abi=soft*:-lfloat} -lgcc"
|
---|
| 54 |
|
---|
| 55 | -#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
|
---|
| 56 | +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2"
|
---|
| 57 |
|
---|
| 58 | #define LINUX_TARGET_LINK_SPEC "%{h*} %{version:-v} \
|
---|
| 59 | %{b} \
|
---|
[c0595573] | 60 | diff -Naur gcc-4.5.0.orig/gcc/config/bfin/linux.h gcc-4.5.0/gcc/config/bfin/linux.h
|
---|
| 61 | --- gcc-4.5.0.orig/gcc/config/bfin/linux.h 2009-09-03 11:37:28.000000000 -0400
|
---|
| 62 | +++ gcc-4.5.0/gcc/config/bfin/linux.h 2010-07-25 15:48:55.317702207 -0400
|
---|
| 63 | @@ -45,7 +45,7 @@
|
---|
[9722468] | 64 | %{shared:-G -Bdynamic} \
|
---|
| 65 | %{!shared: %{!static: \
|
---|
| 66 | %{rdynamic:-export-dynamic} \
|
---|
| 67 | - %{!dynamic-linker:-dynamic-linker /lib/ld-uClibc.so.0}} \
|
---|
| 68 | + %{!dynamic-linker:-dynamic-linker /tools/lib/ld-uClibc.so.0}} \
|
---|
| 69 | %{static}} -init __init -fini __fini"
|
---|
| 70 |
|
---|
| 71 | #define MD_UNWIND_SUPPORT "config/bfin/linux-unwind.h"
|
---|
[c0595573] | 72 | diff -Naur gcc-4.5.0.orig/gcc/config/cris/linux.h gcc-4.5.0/gcc/config/cris/linux.h
|
---|
| 73 | --- gcc-4.5.0.orig/gcc/config/cris/linux.h 2009-03-22 11:15:04.000000000 -0400
|
---|
| 74 | +++ gcc-4.5.0/gcc/config/cris/linux.h 2010-07-25 15:48:55.642077135 -0400
|
---|
[9722468] | 75 | @@ -103,7 +103,7 @@
|
---|
| 76 | #undef CRIS_DEFAULT_CPU_VERSION
|
---|
| 77 | #define CRIS_DEFAULT_CPU_VERSION CRIS_CPU_NG
|
---|
| 78 |
|
---|
| 79 | -#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
|
---|
| 80 | +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1"
|
---|
| 81 |
|
---|
| 82 | /* We need an -rpath-link to ld.so.1, and presumably to each directory
|
---|
| 83 | specified with -B. */
|
---|
[c0595573] | 84 | diff -Naur gcc-4.5.0.orig/gcc/config/freebsd-spec.h gcc-4.5.0/gcc/config/freebsd-spec.h
|
---|
| 85 | --- gcc-4.5.0.orig/gcc/config/freebsd-spec.h 2009-09-22 12:28:26.000000000 -0400
|
---|
| 86 | +++ gcc-4.5.0/gcc/config/freebsd-spec.h 2010-07-25 15:48:55.750076934 -0400
|
---|
| 87 | @@ -146,7 +146,7 @@
|
---|
| 88 | #if FBSD_MAJOR < 6
|
---|
| 89 | #define FBSD_DYNAMIC_LINKER "/usr/libexec/ld-elf.so.1"
|
---|
| 90 | #else
|
---|
| 91 | -#define FBSD_DYNAMIC_LINKER "/libexec/ld-elf.so.1"
|
---|
| 92 | +#define FBSD_DYNAMIC_LINKER "/tools/libexec/ld-elf.so.1"
|
---|
| 93 | #endif
|
---|
| 94 |
|
---|
| 95 | #if defined(HAVE_LD_EH_FRAME_HDR)
|
---|
| 96 | diff -Naur gcc-4.5.0.orig/gcc/config/frv/linux.h gcc-4.5.0/gcc/config/frv/linux.h
|
---|
| 97 | --- gcc-4.5.0.orig/gcc/config/frv/linux.h 2007-08-02 06:49:31.000000000 -0400
|
---|
| 98 | +++ gcc-4.5.0/gcc/config/frv/linux.h 2010-07-25 15:48:55.514076541 -0400
|
---|
[9722468] | 99 | @@ -35,7 +35,7 @@
|
---|
| 100 | #define ENDFILE_SPEC \
|
---|
| 101 | "%{shared|pie:crtendS.o%s;:crtend.o%s} crtn.o%s"
|
---|
| 102 |
|
---|
| 103 | -#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
|
---|
| 104 | +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1"
|
---|
| 105 |
|
---|
| 106 | #undef LINK_SPEC
|
---|
| 107 | #define LINK_SPEC "\
|
---|
[c0595573] | 108 | diff -Naur gcc-4.5.0.orig/gcc/config/i386/gnu.h gcc-4.5.0/gcc/config/i386/gnu.h
|
---|
| 109 | --- gcc-4.5.0.orig/gcc/config/i386/gnu.h 2008-11-13 18:28:46.000000000 -0500
|
---|
| 110 | +++ gcc-4.5.0/gcc/config/i386/gnu.h 2010-07-25 15:48:55.678076577 -0400
|
---|
[9722468] | 111 | @@ -21,7 +21,7 @@
|
---|
| 112 | */
|
---|
| 113 |
|
---|
| 114 | #undef GLIBC_DYNAMIC_LINKER
|
---|
| 115 | -#define GLIBC_DYNAMIC_LINKER "/lib/ld.so"
|
---|
| 116 | +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so"
|
---|
| 117 |
|
---|
| 118 | #undef TARGET_VERSION
|
---|
| 119 | #define TARGET_VERSION fprintf (stderr, " (i386 GNU)");
|
---|
[c0595573] | 120 | diff -Naur gcc-4.5.0.orig/gcc/config/i386/linux.h gcc-4.5.0/gcc/config/i386/linux.h
|
---|
| 121 | --- gcc-4.5.0.orig/gcc/config/i386/linux.h 2010-03-24 16:44:48.000000000 -0400
|
---|
| 122 | +++ gcc-4.5.0/gcc/config/i386/linux.h 2010-07-25 15:48:55.662078225 -0400
|
---|
[9722468] | 123 | @@ -100,7 +100,7 @@
|
---|
| 124 |
|
---|
| 125 | /* These macros may be overridden in k*bsd-gnu.h and i386/k*bsd-gnu.h. */
|
---|
| 126 | #define LINK_EMULATION "elf_i386"
|
---|
| 127 | -#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
|
---|
| 128 | +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2"
|
---|
| 129 |
|
---|
| 130 | #undef ASM_SPEC
|
---|
| 131 | #define ASM_SPEC \
|
---|
[c0595573] | 132 | diff -Naur gcc-4.5.0.orig/gcc/config/i386/linux64.h gcc-4.5.0/gcc/config/i386/linux64.h
|
---|
| 133 | --- gcc-4.5.0.orig/gcc/config/i386/linux64.h 2010-03-24 16:44:48.000000000 -0400
|
---|
| 134 | +++ gcc-4.5.0/gcc/config/i386/linux64.h 2010-07-25 15:48:55.698076982 -0400
|
---|
| 135 | @@ -58,8 +58,8 @@
|
---|
| 136 | When the -shared link option is used a final link is not being
|
---|
| 137 | done. */
|
---|
| 138 |
|
---|
| 139 | -#define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2"
|
---|
| 140 | -#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux-x86-64.so.2"
|
---|
| 141 | +#define GLIBC_DYNAMIC_LINKER32 "/tools/lib/ld-linux.so.2"
|
---|
| 142 | +#define GLIBC_DYNAMIC_LINKER64 "/tools/lib64/ld-linux-x86-64.so.2"
|
---|
| 143 |
|
---|
| 144 | #if TARGET_64BIT_DEFAULT
|
---|
| 145 | #define SPEC_32 "m32"
|
---|
| 146 | diff -Naur gcc-4.5.0.orig/gcc/config/ia64/linux.h gcc-4.5.0/gcc/config/ia64/linux.h
|
---|
| 147 | --- gcc-4.5.0.orig/gcc/config/ia64/linux.h 2009-04-21 15:03:23.000000000 -0400
|
---|
| 148 | +++ gcc-4.5.0/gcc/config/ia64/linux.h 2010-07-25 15:48:55.493705353 -0400
|
---|
| 149 | @@ -61,7 +61,7 @@
|
---|
[9722468] | 150 | /* Define this for shared library support because it isn't in the main
|
---|
| 151 | linux.h file. */
|
---|
| 152 |
|
---|
| 153 | -#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-ia64.so.2"
|
---|
| 154 | +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux-ia64.so.2"
|
---|
| 155 |
|
---|
| 156 | #undef LINK_SPEC
|
---|
| 157 | #define LINK_SPEC "\
|
---|
[c0595573] | 158 | diff -Naur gcc-4.5.0.orig/gcc/config/kfreebsd-gnu.h gcc-4.5.0/gcc/config/kfreebsd-gnu.h
|
---|
| 159 | --- gcc-4.5.0.orig/gcc/config/kfreebsd-gnu.h 2007-08-02 06:49:31.000000000 -0400
|
---|
| 160 | +++ gcc-4.5.0/gcc/config/kfreebsd-gnu.h 2010-07-25 15:48:55.714077126 -0400
|
---|
| 161 | @@ -33,5 +33,5 @@
|
---|
| 162 |
|
---|
| 163 | #ifdef GLIBC_DYNAMIC_LINKER
|
---|
| 164 | #undef GLIBC_DYNAMIC_LINKER
|
---|
| 165 | -#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
|
---|
| 166 | +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1"
|
---|
| 167 | #endif
|
---|
| 168 | diff -Naur gcc-4.5.0.orig/gcc/config/knetbsd-gnu.h gcc-4.5.0/gcc/config/knetbsd-gnu.h
|
---|
| 169 | --- gcc-4.5.0.orig/gcc/config/knetbsd-gnu.h 2007-08-02 06:49:31.000000000 -0400
|
---|
| 170 | +++ gcc-4.5.0/gcc/config/knetbsd-gnu.h 2010-07-25 15:48:55.317702207 -0400
|
---|
| 171 | @@ -34,5 +34,5 @@
|
---|
| 172 |
|
---|
| 173 | #ifdef GLIBC_DYNAMIC_LINKER
|
---|
| 174 | #undef GLIBC_DYNAMIC_LINKER
|
---|
| 175 | -#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
|
---|
| 176 | +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1"
|
---|
| 177 | #endif
|
---|
| 178 | diff -Naur gcc-4.5.0.orig/gcc/config/kopensolaris-gnu.h gcc-4.5.0/gcc/config/kopensolaris-gnu.h
|
---|
| 179 | --- gcc-4.5.0.orig/gcc/config/kopensolaris-gnu.h 2009-01-29 13:48:41.000000000 -0500
|
---|
| 180 | +++ gcc-4.5.0/gcc/config/kopensolaris-gnu.h 2010-07-25 15:48:55.350076394 -0400
|
---|
[9722468] | 181 | @@ -33,5 +33,5 @@
|
---|
| 182 |
|
---|
| 183 | #ifdef GLIBC_DYNAMIC_LINKER
|
---|
| 184 | #undef GLIBC_DYNAMIC_LINKER
|
---|
| 185 | -#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
|
---|
| 186 | +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1"
|
---|
| 187 | #endif
|
---|
[c0595573] | 188 | diff -Naur gcc-4.5.0.orig/gcc/config/linux.h gcc-4.5.0/gcc/config/linux.h
|
---|
| 189 | --- gcc-4.5.0.orig/gcc/config/linux.h 2009-04-09 11:00:19.000000000 -0400
|
---|
| 190 | +++ gcc-4.5.0/gcc/config/linux.h 2010-07-25 15:48:55.358077056 -0400
|
---|
[9722468] | 191 | @@ -117,9 +117,9 @@
|
---|
| 192 | GLIBC_DYNAMIC_LINKER must be defined for each target using them, or
|
---|
| 193 | GLIBC_DYNAMIC_LINKER32 and GLIBC_DYNAMIC_LINKER64 for targets
|
---|
| 194 | supporting both 32-bit and 64-bit compilation. */
|
---|
| 195 | -#define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0"
|
---|
| 196 | -#define UCLIBC_DYNAMIC_LINKER32 "/lib/ld-uClibc.so.0"
|
---|
| 197 | -#define UCLIBC_DYNAMIC_LINKER64 "/lib/ld64-uClibc.so.0"
|
---|
| 198 | +#define UCLIBC_DYNAMIC_LINKER "/tools/lib/ld-uClibc.so.0"
|
---|
| 199 | +#define UCLIBC_DYNAMIC_LINKER32 "/tools/lib/ld-uClibc.so.0"
|
---|
| 200 | +#define UCLIBC_DYNAMIC_LINKER64 "/tools/lib/ld64-uClibc.so.0"
|
---|
| 201 | #define LINUX_DYNAMIC_LINKER \
|
---|
| 202 | CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER)
|
---|
| 203 | #define LINUX_DYNAMIC_LINKER32 \
|
---|
[c0595573] | 204 | diff -Naur gcc-4.5.0.orig/gcc/config/lm32/uclinux-elf.h gcc-4.5.0/gcc/config/lm32/uclinux-elf.h
|
---|
| 205 | --- gcc-4.5.0.orig/gcc/config/lm32/uclinux-elf.h 2009-11-11 11:43:06.000000000 -0500
|
---|
| 206 | +++ gcc-4.5.0/gcc/config/lm32/uclinux-elf.h 2010-07-25 15:48:55.630077623 -0400
|
---|
| 207 | @@ -73,7 +73,7 @@
|
---|
| 208 | %{shared:-shared} \
|
---|
| 209 | %{symbolic:-Bsymbolic} \
|
---|
| 210 | %{rdynamic:-export-dynamic} \
|
---|
| 211 | - %{!dynamic-linker:-dynamic-linker /lib/ld-linux.so.2}"
|
---|
| 212 | + %{!dynamic-linker:-dynamic-linker /tools/lib/ld-linux.so.2}"
|
---|
| 213 |
|
---|
| 214 | #define TARGET_OS_CPP_BUILTINS() LINUX_TARGET_OS_CPP_BUILTINS()
|
---|
| 215 |
|
---|
| 216 | diff -Naur gcc-4.5.0.orig/gcc/config/m32r/linux.h gcc-4.5.0/gcc/config/m32r/linux.h
|
---|
| 217 | --- gcc-4.5.0.orig/gcc/config/m32r/linux.h 2007-08-02 06:49:31.000000000 -0400
|
---|
| 218 | +++ gcc-4.5.0/gcc/config/m32r/linux.h 2010-07-25 15:48:55.338077792 -0400
|
---|
[9722468] | 219 | @@ -58,7 +58,7 @@
|
---|
| 220 |
|
---|
| 221 | /* If ELF is the default format, we should not use /lib/elf. */
|
---|
| 222 |
|
---|
| 223 | -#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
|
---|
| 224 | +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2"
|
---|
| 225 |
|
---|
| 226 | #undef LINK_SPEC
|
---|
| 227 | #if TARGET_LITTLE_ENDIAN
|
---|
[c0595573] | 228 | diff -Naur gcc-4.5.0.orig/gcc/config/m68k/linux.h gcc-4.5.0/gcc/config/m68k/linux.h
|
---|
| 229 | --- gcc-4.5.0.orig/gcc/config/m68k/linux.h 2009-12-11 10:32:08.000000000 -0500
|
---|
| 230 | +++ gcc-4.5.0/gcc/config/m68k/linux.h 2010-07-25 15:48:55.458076948 -0400
|
---|
[9722468] | 231 | @@ -84,7 +84,7 @@
|
---|
| 232 |
|
---|
| 233 | /* If ELF is the default format, we should not use /lib/elf. */
|
---|
| 234 |
|
---|
| 235 | -#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
|
---|
| 236 | +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1"
|
---|
| 237 |
|
---|
| 238 | #undef LINK_SPEC
|
---|
| 239 | #define LINK_SPEC "-m m68kelf %{shared} \
|
---|
[c0595573] | 240 | diff -Naur gcc-4.5.0.orig/gcc/config/mips/linux.h gcc-4.5.0/gcc/config/mips/linux.h
|
---|
| 241 | --- gcc-4.5.0.orig/gcc/config/mips/linux.h 2009-02-20 10:20:38.000000000 -0500
|
---|
| 242 | +++ gcc-4.5.0/gcc/config/mips/linux.h 2010-07-25 15:48:55.370077551 -0400
|
---|
| 243 | @@ -64,7 +64,7 @@
|
---|
| 244 | #undef MIPS_DEFAULT_GVALUE
|
---|
| 245 | #define MIPS_DEFAULT_GVALUE 0
|
---|
| 246 |
|
---|
| 247 | -#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
|
---|
| 248 | +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1"
|
---|
| 249 |
|
---|
| 250 | /* Borrowed from sparc/linux.h */
|
---|
| 251 | #undef LINK_SPEC
|
---|
| 252 | diff -Naur gcc-4.5.0.orig/gcc/config/mips/linux64.h gcc-4.5.0/gcc/config/mips/linux64.h
|
---|
| 253 | --- gcc-4.5.0.orig/gcc/config/mips/linux64.h 2009-02-20 10:20:38.000000000 -0500
|
---|
| 254 | +++ gcc-4.5.0/gcc/config/mips/linux64.h 2010-07-25 15:48:55.402076963 -0400
|
---|
[9722468] | 255 | @@ -35,10 +35,10 @@
|
---|
| 256 | %{!shared: \
|
---|
| 257 | %{profile:-lc_p} %{!profile:-lc}}"
|
---|
| 258 |
|
---|
| 259 | -#define GLIBC_DYNAMIC_LINKER32 "/lib/ld.so.1"
|
---|
| 260 | -#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld.so.1"
|
---|
| 261 | -#define GLIBC_DYNAMIC_LINKERN32 "/lib32/ld.so.1"
|
---|
| 262 | -#define UCLIBC_DYNAMIC_LINKERN32 "/lib32/ld-uClibc.so.0"
|
---|
| 263 | +#define GLIBC_DYNAMIC_LINKER32 "/tools/lib/ld.so.1"
|
---|
| 264 | +#define GLIBC_DYNAMIC_LINKER64 "/tools/lib64/ld.so.1"
|
---|
| 265 | +#define GLIBC_DYNAMIC_LINKERN32 "/tools/lib32/ld.so.1"
|
---|
| 266 | +#define UCLIBC_DYNAMIC_LINKERN32 "/tools/lib32/ld-uClibc.so.0"
|
---|
| 267 | #define LINUX_DYNAMIC_LINKERN32 \
|
---|
| 268 | CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKERN32, UCLIBC_DYNAMIC_LINKERN32)
|
---|
| 269 |
|
---|
[c0595573] | 270 | diff -Naur gcc-4.5.0.orig/gcc/config/mn10300/linux.h gcc-4.5.0/gcc/config/mn10300/linux.h
|
---|
| 271 | --- gcc-4.5.0.orig/gcc/config/mn10300/linux.h 2007-08-02 06:49:31.000000000 -0400
|
---|
| 272 | +++ gcc-4.5.0/gcc/config/mn10300/linux.h 2010-07-25 15:48:55.466078006 -0400
|
---|
[9722468] | 273 | @@ -32,7 +32,7 @@
|
---|
| 274 | #undef ASM_SPEC
|
---|
| 275 | #define ASM_SPEC "%{Wa,*:%*}"
|
---|
| 276 |
|
---|
| 277 | -#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
|
---|
| 278 | +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1"
|
---|
| 279 |
|
---|
| 280 | #undef LINK_SPEC
|
---|
| 281 | #define LINK_SPEC "%{mrelax:--relax} %{shared:-shared} \
|
---|
[c0595573] | 282 | diff -Naur gcc-4.5.0.orig/gcc/config/pa/pa-linux.h gcc-4.5.0/gcc/config/pa/pa-linux.h
|
---|
| 283 | --- gcc-4.5.0.orig/gcc/config/pa/pa-linux.h 2009-12-04 02:47:51.000000000 -0500
|
---|
| 284 | +++ gcc-4.5.0/gcc/config/pa/pa-linux.h 2010-07-25 15:48:55.602078201 -0400
|
---|
| 285 | @@ -38,7 +38,7 @@
|
---|
[9722468] | 286 | /* Define this for shared library support because it isn't in the main
|
---|
| 287 | linux.h file. */
|
---|
| 288 |
|
---|
| 289 | -#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
|
---|
| 290 | +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1"
|
---|
| 291 |
|
---|
| 292 | #undef LINK_SPEC
|
---|
| 293 | #define LINK_SPEC "\
|
---|
[c0595573] | 294 | diff -Naur gcc-4.5.0.orig/gcc/config/rs6000/linux64.h gcc-4.5.0/gcc/config/rs6000/linux64.h
|
---|
| 295 | --- gcc-4.5.0.orig/gcc/config/rs6000/linux64.h 2010-03-17 00:44:37.000000000 -0400
|
---|
| 296 | +++ gcc-4.5.0/gcc/config/rs6000/linux64.h 2010-07-25 15:48:55.430078384 -0400
|
---|
| 297 | @@ -348,10 +348,10 @@
|
---|
[9722468] | 298 | #undef LINK_OS_DEFAULT_SPEC
|
---|
| 299 | #define LINK_OS_DEFAULT_SPEC "%(link_os_linux)"
|
---|
| 300 |
|
---|
| 301 | -#define GLIBC_DYNAMIC_LINKER32 "/lib/ld.so.1"
|
---|
| 302 | -#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld64.so.1"
|
---|
| 303 | -#define UCLIBC_DYNAMIC_LINKER32 "/lib/ld-uClibc.so.0"
|
---|
| 304 | -#define UCLIBC_DYNAMIC_LINKER64 "/lib/ld64-uClibc.so.0"
|
---|
| 305 | +#define GLIBC_DYNAMIC_LINKER32 "/tools/lib/ld.so.1"
|
---|
| 306 | +#define GLIBC_DYNAMIC_LINKER64 "/tools/lib64/ld64.so.1"
|
---|
| 307 | +#define UCLIBC_DYNAMIC_LINKER32 "/tools/lib/ld-uClibc.so.0"
|
---|
| 308 | +#define UCLIBC_DYNAMIC_LINKER64 "/tools/lib/ld64-uClibc.so.0"
|
---|
| 309 | #if UCLIBC_DEFAULT
|
---|
| 310 | #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}"
|
---|
| 311 | #else
|
---|
[c0595573] | 312 | diff -Naur gcc-4.5.0.orig/gcc/config/rs6000/sysv4.h gcc-4.5.0/gcc/config/rs6000/sysv4.h
|
---|
| 313 | --- gcc-4.5.0.orig/gcc/config/rs6000/sysv4.h 2009-11-25 15:23:20.000000000 -0500
|
---|
| 314 | +++ gcc-4.5.0/gcc/config/rs6000/sysv4.h 2010-07-25 15:48:55.414077376 -0400
|
---|
[9722468] | 315 | @@ -901,8 +901,8 @@
|
---|
| 316 |
|
---|
| 317 | #define LINK_START_LINUX_SPEC ""
|
---|
| 318 |
|
---|
| 319 | -#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
|
---|
| 320 | -#define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0"
|
---|
| 321 | +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1"
|
---|
| 322 | +#define UCLIBC_DYNAMIC_LINKER "/tools/lib/ld-uClibc.so.0"
|
---|
| 323 | #if UCLIBC_DEFAULT
|
---|
| 324 | #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}"
|
---|
| 325 | #else
|
---|
| 326 | @@ -944,7 +944,7 @@
|
---|
| 327 |
|
---|
| 328 | #define LINK_OS_GNU_SPEC "-m elf32ppclinux %{!shared: %{!static: \
|
---|
| 329 | %{rdynamic:-export-dynamic} \
|
---|
| 330 | - %{!dynamic-linker:-dynamic-linker /lib/ld.so.1}}}"
|
---|
| 331 | + %{!dynamic-linker:-dynamic-linker /tools/lib/ld.so.1}}}"
|
---|
| 332 |
|
---|
| 333 | #define CPP_OS_GNU_SPEC "-D__unix__ -D__gnu_hurd__ -D__GNU__ \
|
---|
| 334 | %{!undef: \
|
---|
[c0595573] | 335 | diff -Naur gcc-4.5.0.orig/gcc/config/s390/linux.h gcc-4.5.0/gcc/config/s390/linux.h
|
---|
| 336 | --- gcc-4.5.0.orig/gcc/config/s390/linux.h 2007-08-02 06:49:31.000000000 -0400
|
---|
| 337 | +++ gcc-4.5.0/gcc/config/s390/linux.h 2010-07-25 15:48:55.454077087 -0400
|
---|
[9722468] | 338 | @@ -72,8 +72,8 @@
|
---|
| 339 | #define MULTILIB_DEFAULTS { "m31" }
|
---|
| 340 | #endif
|
---|
| 341 |
|
---|
| 342 | -#define GLIBC_DYNAMIC_LINKER32 "/lib/ld.so.1"
|
---|
| 343 | -#define GLIBC_DYNAMIC_LINKER64 "/lib/ld64.so.1"
|
---|
| 344 | +#define GLIBC_DYNAMIC_LINKER32 "/tools/lib/ld.so.1"
|
---|
| 345 | +#define GLIBC_DYNAMIC_LINKER64 "/tools/lib/ld64.so.1"
|
---|
| 346 |
|
---|
| 347 | #undef LINK_SPEC
|
---|
| 348 | #define LINK_SPEC \
|
---|
[c0595573] | 349 | diff -Naur gcc-4.5.0.orig/gcc/config/sh/linux.h gcc-4.5.0/gcc/config/sh/linux.h
|
---|
| 350 | --- gcc-4.5.0.orig/gcc/config/sh/linux.h 2007-08-02 06:49:31.000000000 -0400
|
---|
| 351 | +++ gcc-4.5.0/gcc/config/sh/linux.h 2010-07-25 15:48:55.726076962 -0400
|
---|
[9722468] | 352 | @@ -47,7 +47,7 @@
|
---|
| 353 |
|
---|
| 354 | #define TARGET_ASM_FILE_END file_end_indicate_exec_stack
|
---|
| 355 |
|
---|
| 356 | -#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
|
---|
| 357 | +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2"
|
---|
| 358 |
|
---|
| 359 | #undef SUBTARGET_LINK_EMUL_SUFFIX
|
---|
| 360 | #define SUBTARGET_LINK_EMUL_SUFFIX "_linux"
|
---|
[c0595573] | 361 | diff -Naur gcc-4.5.0.orig/gcc/config/sparc/linux.h gcc-4.5.0/gcc/config/sparc/linux.h
|
---|
| 362 | --- gcc-4.5.0.orig/gcc/config/sparc/linux.h 2009-12-07 18:31:01.000000000 -0500
|
---|
| 363 | +++ gcc-4.5.0/gcc/config/sparc/linux.h 2010-07-25 15:48:55.750076934 -0400
|
---|
| 364 | @@ -83,10 +83,10 @@
|
---|
| 365 |
|
---|
| 366 | /* If ELF is the default format, we should not use /lib/elf. */
|
---|
| 367 |
|
---|
| 368 | -#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
|
---|
| 369 | +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2"
|
---|
| 370 |
|
---|
| 371 | #undef LINK_SPEC
|
---|
| 372 | -#define LINK_SPEC "-m elf32_sparc -Y P,/usr/lib %{shared:-shared} \
|
---|
| 373 | +#define LINK_SPEC "-m elf32_sparc -Y P,/tools/lib %{shared:-shared} \
|
---|
| 374 | %{!mno-relax:%{!r:-relax}} \
|
---|
| 375 | %{!shared: \
|
---|
| 376 | %{!ibcs: \
|
---|
| 377 | diff -Naur gcc-4.5.0.orig/gcc/config/sparc/linux64.h gcc-4.5.0/gcc/config/sparc/linux64.h
|
---|
| 378 | --- gcc-4.5.0.orig/gcc/config/sparc/linux64.h 2009-12-07 18:31:01.000000000 -0500
|
---|
| 379 | +++ gcc-4.5.0/gcc/config/sparc/linux64.h 2010-07-25 15:48:55.758076212 -0400
|
---|
[9722468] | 380 | @@ -109,8 +109,8 @@
|
---|
| 381 |
|
---|
| 382 | /* If ELF is the default format, we should not use /lib/elf. */
|
---|
| 383 |
|
---|
| 384 | -#define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2"
|
---|
| 385 | -#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux.so.2"
|
---|
| 386 | +#define GLIBC_DYNAMIC_LINKER32 "/tools/lib/ld-linux.so.2"
|
---|
| 387 | +#define GLIBC_DYNAMIC_LINKER64 "/tools/lib64/ld-linux.so.2"
|
---|
| 388 |
|
---|
| 389 | #ifdef SPARC_BI_ARCH
|
---|
| 390 |
|
---|
| 391 | @@ -121,7 +121,7 @@
|
---|
| 392 | { "link_arch_default", LINK_ARCH_DEFAULT_SPEC }, \
|
---|
| 393 | { "link_arch", LINK_ARCH_SPEC },
|
---|
| 394 |
|
---|
| 395 | -#define LINK_ARCH32_SPEC "-m elf32_sparc -Y P,%R/usr/lib %{shared:-shared} \
|
---|
| 396 | +#define LINK_ARCH32_SPEC "-m elf32_sparc -Y P,%R/tools/lib %{shared:-shared} \
|
---|
| 397 | %{!shared: \
|
---|
| 398 | %{!ibcs: \
|
---|
| 399 | %{!static: \
|
---|
| 400 | @@ -130,7 +130,7 @@
|
---|
| 401 | %{static:-static}}} \
|
---|
| 402 | "
|
---|
| 403 |
|
---|
| 404 | -#define LINK_ARCH64_SPEC "-m elf64_sparc -Y P,%R/usr/lib64 %{shared:-shared} \
|
---|
| 405 | +#define LINK_ARCH64_SPEC "-m elf64_sparc -Y P,%R/tools/lib64 %{shared:-shared} \
|
---|
| 406 | %{!shared: \
|
---|
| 407 | %{!ibcs: \
|
---|
| 408 | %{!static: \
|
---|
| 409 | @@ -211,7 +211,7 @@
|
---|
| 410 | #else /* !SPARC_BI_ARCH */
|
---|
| 411 |
|
---|
| 412 | #undef LINK_SPEC
|
---|
| 413 | -#define LINK_SPEC "-m elf64_sparc -Y P,%R/usr/lib64 %{shared:-shared} \
|
---|
| 414 | +#define LINK_SPEC "-m elf64_sparc -Y P,%R/tools/lib64 %{shared:-shared} \
|
---|
| 415 | %{!shared: \
|
---|
| 416 | %{!ibcs: \
|
---|
| 417 | %{!static: \
|
---|
[c0595573] | 418 | diff -Naur gcc-4.5.0.orig/gcc/config/vax/linux.h gcc-4.5.0/gcc/config/vax/linux.h
|
---|
| 419 | --- gcc-4.5.0.orig/gcc/config/vax/linux.h 2009-11-03 19:07:24.000000000 -0500
|
---|
| 420 | +++ gcc-4.5.0/gcc/config/vax/linux.h 2010-07-25 15:48:55.598079154 -0400
|
---|
| 421 | @@ -44,5 +44,5 @@
|
---|
[9722468] | 422 | %{!shared: \
|
---|
[c0595573] | 423 | %{!static: \
|
---|
| 424 | %{rdynamic:-export-dynamic} \
|
---|
| 425 | - %{!dynamic-linker:-dynamic-linker /lib/ld.so.1}} \
|
---|
| 426 | + %{!dynamic-linker:-dynamic-linker /tools/lib/ld.so.1}} \
|
---|
| 427 | %{static:-static}}"
|
---|
| 428 | diff -Naur gcc-4.5.0.orig/gcc/config/xtensa/linux.h gcc-4.5.0/gcc/config/xtensa/linux.h
|
---|
| 429 | --- gcc-4.5.0.orig/gcc/config/xtensa/linux.h 2008-01-17 20:37:53.000000000 -0500
|
---|
| 430 | +++ gcc-4.5.0/gcc/config/xtensa/linux.h 2010-07-25 15:48:55.362077258 -0400
|
---|
[9722468] | 431 | @@ -43,7 +43,7 @@
|
---|
| 432 | %{mlongcalls:--longcalls} \
|
---|
| 433 | %{mno-longcalls:--no-longcalls}"
|
---|
| 434 |
|
---|
| 435 | -#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
|
---|
| 436 | +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1"
|
---|
| 437 |
|
---|
| 438 | #undef LINK_SPEC
|
---|
| 439 | #define LINK_SPEC \
|
---|