- Timestamp:
- Nov 27, 2015, 10:35:35 AM (9 years ago)
- Branches:
- master, systemd
- Children:
- be23bc2
- Parents:
- 9edc616
- Location:
- patches
- Files:
-
- 3 added
- 3 deleted
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
patches/gcc-5.2.0-specs-1.patch
r9edc616 rf6853e3 1 Submitted By: William Harrington <kb0iic at cross-lfs dot org>2 Date: 05-31-20143 Initial Package Version: 4. 8.31 Submitted By: Martin Ward <macros_the_black@ntlworld.com> 2 Date: 10-16-2015 3 Initial Package Version: 4.9.2 4 4 Origin: Idea originally developed by Ryan Oliver and Greg Schafer for 5 the Pure LFS project. 5 the Pure LFS project. With contributions from William Harrington 6 6 Upstream Status: Not Applied - CLFS Specific 7 7 Description: The specs patch changes the location of the dynamic linker as 8 8 well as the link spec to /tools/lib{,32,64}. 9 9 10 diff -Naur gcc- 4.8.3.orig/gcc/config/aarch64/aarch64-linux.h gcc-4.8.3/gcc/config/aarch64/aarch64-linux.h11 --- gcc- 4.8.3.orig/gcc/config/aarch64/aarch64-linux.h 2013-08-13 13:22:18.000000000 +000012 +++ gcc- 4.8.3/gcc/config/aarch64/aarch64-linux.h 2014-06-01 05:02:45.010471852+000010 diff -Naur gcc-5.2.0.orig/gcc/config/aarch64/aarch64-linux.h gcc-5.2.0/gcc/config/aarch64/aarch64-linux.h 11 --- gcc-5.2.0.orig/gcc/config/aarch64/aarch64-linux.h 2015-05-12 08:49:59.000000000 +0000 12 +++ gcc-5.2.0/gcc/config/aarch64/aarch64-linux.h 2015-10-17 20:29:44.970812436 +0000 13 13 @@ -21,7 +21,7 @@ 14 14 #ifndef GCC_AARCH64_LINUX_H 15 15 #define GCC_AARCH64_LINUX_H 16 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 CPP_SPEC "%{pthread:-D_REENTRANT}"21 22 diff -Naur gcc- 4.8.3.orig/gcc/config/alpha/linux-elf.h gcc-4.8.3/gcc/config/alpha/linux-elf.h23 --- gcc- 4.8.3.orig/gcc/config/alpha/linux-elf.h 2013-01-10 20:38:27.000000000 +000024 +++ gcc- 4.8.3/gcc/config/alpha/linux-elf.h 2014-06-01 05:02:45.013805272+000017 -#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-aarch64%{mbig-endian:_be}%{mabi=ilp32:_ilp32}.so.1" 18 +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux-aarch64%{mbig-endian:_be}%{mabi=ilp32:_ilp32}.so.1" 19 20 #undef ASAN_CC1_SPEC 21 #define ASAN_CC1_SPEC "%{%:sanitize(address):-funwind-tables}" 22 diff -Naur gcc-5.2.0.orig/gcc/config/alpha/linux-elf.h gcc-5.2.0/gcc/config/alpha/linux-elf.h 23 --- gcc-5.2.0.orig/gcc/config/alpha/linux-elf.h 2015-01-05 12:33:28.000000000 +0000 24 +++ gcc-5.2.0/gcc/config/alpha/linux-elf.h 2015-10-17 20:28:41.529210187 +0000 25 25 @@ -23,8 +23,8 @@ 26 26 #define EXTRA_SPECS \ … … 34 34 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:" G ";:" U "}" 35 35 #elif DEFAULT_LIBC == LIBC_GLIBC 36 diff -Naur gcc- 4.8.3.orig/gcc/config/arm/linux-eabi.h gcc-4.8.3/gcc/config/arm/linux-eabi.h37 --- gcc- 4.8.3.orig/gcc/config/arm/linux-eabi.h 2013-01-10 20:38:27.000000000 +000038 +++ gcc- 4.8.3/gcc/config/arm/linux-eabi.h 2014-06-01 05:02:45.013805272+000036 diff -Naur gcc-5.2.0.orig/gcc/config/arm/linux-eabi.h gcc-5.2.0/gcc/config/arm/linux-eabi.h 37 --- gcc-5.2.0.orig/gcc/config/arm/linux-eabi.h 2015-01-05 12:33:28.000000000 +0000 38 +++ gcc-5.2.0/gcc/config/arm/linux-eabi.h 2015-10-17 20:28:41.529210187 +0000 39 39 @@ -68,8 +68,8 @@ 40 40 GLIBC_DYNAMIC_LINKER_DEFAULT and TARGET_DEFAULT_FLOAT_ABI. */ … … 48 48 49 49 #define GLIBC_DYNAMIC_LINKER \ 50 diff -Naur gcc- 4.8.3.orig/gcc/config/arm/linux-elf.h gcc-4.8.3/gcc/config/arm/linux-elf.h51 --- gcc- 4.8.3.orig/gcc/config/arm/linux-elf.h 2013-01-10 20:38:27.000000000 +000052 +++ gcc- 4.8.3/gcc/config/arm/linux-elf.h 2014-06-01 05:02:45.013805272+000053 @@ - 57,7 +57,7 @@50 diff -Naur gcc-5.2.0.orig/gcc/config/arm/linux-elf.h gcc-5.2.0/gcc/config/arm/linux-elf.h 51 --- gcc-5.2.0.orig/gcc/config/arm/linux-elf.h 2015-06-23 09:26:54.000000000 +0000 52 +++ gcc-5.2.0/gcc/config/arm/linux-elf.h 2015-10-17 20:28:41.529210187 +0000 53 @@ -62,7 +62,7 @@ 54 54 55 55 #define LIBGCC_SPEC "%{mfloat-abi=soft*:-lfloat} -lgcc" … … 60 60 #define LINUX_TARGET_LINK_SPEC "%{h*} \ 61 61 %{static:-Bstatic} \ 62 diff -Naur gcc- 4.8.3.orig/gcc/config/c6x/uclinux-elf.h gcc-4.8.3/gcc/config/c6x/uclinux-elf.h63 --- gcc- 4.8.3.orig/gcc/config/c6x/uclinux-elf.h 2013-01-10 20:38:27.000000000 +000064 +++ gcc- 4.8.3/gcc/config/c6x/uclinux-elf.h 2014-06-01 05:02:45.013805272+000065 @@ - 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_SPEC73 # define LINK_SPEC ENDIAN_LINK_SPEC \74 diff -Naur gcc- 4.8.3.orig/gcc/config/cris/linux.h gcc-4.8.3/gcc/config/cris/linux.h75 --- gcc- 4.8.3.orig/gcc/config/cris/linux.h 2013-01-10 20:38:27.000000000 +000076 +++ gcc- 4.8.3/gcc/config/cris/linux.h 2014-06-01 05:02:45.013805272+000062 diff -Naur gcc-5.2.0.orig/gcc/config/bfin/linux.h gcc-5.2.0/gcc/config/bfin/linux.h 63 --- gcc-5.2.0.orig/gcc/config/bfin/linux.h 2015-01-05 12:33:28.000000000 +0000 64 +++ gcc-5.2.0/gcc/config/bfin/linux.h 2015-10-17 20:28:41.529210187 +0000 65 @@ -45,7 +45,7 @@ 66 %{shared:-G -Bdynamic} \ 67 %{!shared: %{!static: \ 68 %{rdynamic:-export-dynamic} \ 69 - -dynamic-linker /lib/ld-uClibc.so.0} \ 70 + -dynamic-linker /tools/lib/ld-uClibc.so.0} \ 71 %{static}} -init __init -fini __fini" 72 73 #undef TARGET_SUPPORTS_SYNC_CALLS 74 diff -Naur gcc-5.2.0.orig/gcc/config/cris/linux.h gcc-5.2.0/gcc/config/cris/linux.h 75 --- gcc-5.2.0.orig/gcc/config/cris/linux.h 2015-01-05 12:33:28.000000000 +0000 76 +++ gcc-5.2.0/gcc/config/cris/linux.h 2015-10-17 20:28:41.529210187 +0000 77 77 @@ -102,7 +102,7 @@ 78 78 #undef CRIS_DEFAULT_CPU_VERSION … … 84 84 #undef CRIS_LINK_SUBTARGET_SPEC 85 85 #define CRIS_LINK_SUBTARGET_SPEC \ 86 diff -Naur gcc- 4.8.3.orig/gcc/config/freebsd-spec.h gcc-4.8.3/gcc/config/freebsd-spec.h87 --- gcc- 4.8.3.orig/gcc/config/freebsd-spec.h 2013-01-10 20:38:27.000000000 +000088 +++ gcc- 4.8.3/gcc/config/freebsd-spec.h 2014-06-01 05:02:45.013805272+000089 @@ -12 8,9 +128,9 @@86 diff -Naur gcc-5.2.0.orig/gcc/config/freebsd-spec.h gcc-5.2.0/gcc/config/freebsd-spec.h 87 --- gcc-5.2.0.orig/gcc/config/freebsd-spec.h 2015-06-25 17:53:14.000000000 +0000 88 +++ gcc-5.2.0/gcc/config/freebsd-spec.h 2015-10-17 20:28:41.529210187 +0000 89 @@ -129,9 +129,9 @@ 90 90 #endif 91 91 92 92 #if FBSD_MAJOR < 6 93 93 -#define FBSD_DYNAMIC_LINKER "/usr/libexec/ld-elf.so.1" 94 +#define FBSD_DYNAMIC_LINKER "/tools/lib /ld-elf.so.1"94 +#define FBSD_DYNAMIC_LINKER "/tools/libexec/ld-elf.so.1" 95 95 #else 96 96 -#define FBSD_DYNAMIC_LINKER "/libexec/ld-elf.so.1" 97 +#define FBSD_DYNAMIC_LINKER "/tools/lib /ld-elf.so.1"97 +#define FBSD_DYNAMIC_LINKER "/tools/libexec/ld-elf.so.1" 98 98 #endif 99 99 100 100 /* NOTE: The freebsd-spec.h header is included also for various 101 diff -Naur gcc- 4.8.3.orig/gcc/config/frv/linux.h gcc-4.8.3/gcc/config/frv/linux.h102 --- gcc- 4.8.3.orig/gcc/config/frv/linux.h 2013-01-10 20:38:27.000000000 +0000103 +++ gcc- 4.8.3/gcc/config/frv/linux.h 2014-06-01 05:02:45.013805272+0000101 diff -Naur gcc-5.2.0.orig/gcc/config/frv/linux.h gcc-5.2.0/gcc/config/frv/linux.h 102 --- gcc-5.2.0.orig/gcc/config/frv/linux.h 2015-01-05 12:33:28.000000000 +0000 103 +++ gcc-5.2.0/gcc/config/frv/linux.h 2015-10-17 20:28:41.529210187 +0000 104 104 @@ -34,7 +34,7 @@ 105 105 #define ENDFILE_SPEC \ … … 111 111 #undef LINK_SPEC 112 112 #define LINK_SPEC "\ 113 diff -Naur gcc- 4.8.3.orig/gcc/config/i386/gnu.h gcc-4.8.3/gcc/config/i386/gnu.h114 --- gcc- 4.8.3.orig/gcc/config/i386/gnu.h 2013-01-10 20:38:27.000000000 +0000115 +++ gcc- 4.8.3/gcc/config/i386/gnu.h 2014-06-01 05:02:45.013805272+0000113 diff -Naur gcc-5.2.0.orig/gcc/config/i386/gnu.h gcc-5.2.0/gcc/config/i386/gnu.h 114 --- gcc-5.2.0.orig/gcc/config/i386/gnu.h 2015-01-05 12:33:28.000000000 +0000 115 +++ gcc-5.2.0/gcc/config/i386/gnu.h 2015-10-17 20:28:41.529210187 +0000 116 116 @@ -22,7 +22,7 @@ 117 117 #define GNU_USER_LINK_EMULATION "elf_i386" … … 123 123 #undef STARTFILE_SPEC 124 124 #if defined HAVE_LD_PIE 125 diff -Naur gcc- 4.8.3.orig/gcc/config/i386/kfreebsd-gnu.h gcc-4.8.3/gcc/config/i386/kfreebsd-gnu.h126 --- gcc- 4.8.3.orig/gcc/config/i386/kfreebsd-gnu.h 2013-01-10 20:38:27.000000000 +0000127 +++ gcc- 4.8.3/gcc/config/i386/kfreebsd-gnu.h 2014-06-01 05:02:45.013805272+0000125 diff -Naur gcc-5.2.0.orig/gcc/config/i386/kfreebsd-gnu.h gcc-5.2.0/gcc/config/i386/kfreebsd-gnu.h 126 --- gcc-5.2.0.orig/gcc/config/i386/kfreebsd-gnu.h 2015-01-05 12:33:28.000000000 +0000 127 +++ gcc-5.2.0/gcc/config/i386/kfreebsd-gnu.h 2015-10-17 20:28:41.529210187 +0000 128 128 @@ -19,4 +19,4 @@ 129 129 <http://www.gnu.org/licenses/>. */ … … 132 132 -#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1" 133 133 +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1" 134 diff -Naur gcc- 4.8.3.orig/gcc/config/i386/kfreebsd-gnu64.h gcc-4.8.3/gcc/config/i386/kfreebsd-gnu64.h135 --- gcc- 4.8.3.orig/gcc/config/i386/kfreebsd-gnu64.h 2013-01-10 20:38:27.000000000 +0000136 +++ gcc- 4.8.3/gcc/config/i386/kfreebsd-gnu64.h 2014-06-01 05:02:45.013805272+0000134 diff -Naur gcc-5.2.0.orig/gcc/config/i386/kfreebsd-gnu64.h gcc-5.2.0/gcc/config/i386/kfreebsd-gnu64.h 135 --- gcc-5.2.0.orig/gcc/config/i386/kfreebsd-gnu64.h 2015-01-05 12:33:28.000000000 +0000 136 +++ gcc-5.2.0/gcc/config/i386/kfreebsd-gnu64.h 2015-10-17 20:28:41.529210187 +0000 137 137 @@ -22,6 +22,6 @@ 138 138 #define GNU_USER_LINK_EMULATION64 "elf_x86_64_fbsd" … … 145 145 +#define GLIBC_DYNAMIC_LINKER64 "/tools/lib/ld-kfreebsd-x86-64.so.1" 146 146 +#define GLIBC_DYNAMIC_LINKERX32 "/tools/lib/ld-kfreebsd-x32.so.1" 147 diff -Naur gcc- 4.8.3.orig/gcc/config/i386/linux.h gcc-4.8.3/gcc/config/i386/linux.h148 --- gcc- 4.8.3.orig/gcc/config/i386/linux.h 2013-01-10 20:38:27.000000000 +0000149 +++ gcc- 4.8.3/gcc/config/i386/linux.h 2014-06-01 05:02:45.013805272+0000147 diff -Naur gcc-5.2.0.orig/gcc/config/i386/linux.h gcc-5.2.0/gcc/config/i386/linux.h 148 --- gcc-5.2.0.orig/gcc/config/i386/linux.h 2015-01-05 12:33:28.000000000 +0000 149 +++ gcc-5.2.0/gcc/config/i386/linux.h 2015-10-17 20:28:41.529210187 +0000 150 150 @@ -20,4 +20,4 @@ 151 151 <http://www.gnu.org/licenses/>. */ … … 154 154 -#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" 155 155 +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2" 156 diff -Naur gcc- 4.8.3.orig/gcc/config/i386/linux64.h gcc-4.8.3/gcc/config/i386/linux64.h157 --- gcc- 4.8.3.orig/gcc/config/i386/linux64.h 2013-01-10 20:38:27.000000000 +0000158 +++ gcc- 4.8.3/gcc/config/i386/linux64.h 2014-06-01 05:02:45.013805272+0000156 diff -Naur gcc-5.2.0.orig/gcc/config/i386/linux64.h gcc-5.2.0/gcc/config/i386/linux64.h 157 --- gcc-5.2.0.orig/gcc/config/i386/linux64.h 2015-01-05 12:33:28.000000000 +0000 158 +++ gcc-5.2.0/gcc/config/i386/linux64.h 2015-10-17 20:28:41.529210187 +0000 159 159 @@ -27,6 +27,6 @@ 160 160 #define GNU_USER_LINK_EMULATION64 "elf_x86_64" … … 167 167 +#define GLIBC_DYNAMIC_LINKER64 "/tools/lib64/ld-linux-x86-64.so.2" 168 168 +#define GLIBC_DYNAMIC_LINKERX32 "/tools/libx32/ld-linux-x32.so.2" 169 diff -Naur gcc- 4.8.3.orig/gcc/config/ia64/linux.h gcc-4.8.3/gcc/config/ia64/linux.h170 --- gcc- 4.8.3.orig/gcc/config/ia64/linux.h 2013-01-10 20:38:27.000000000 +0000171 +++ gcc- 4.8.3/gcc/config/ia64/linux.h 2014-06-01 05:02:45.013805272+0000169 diff -Naur gcc-5.2.0.orig/gcc/config/ia64/linux.h gcc-5.2.0/gcc/config/ia64/linux.h 170 --- gcc-5.2.0.orig/gcc/config/ia64/linux.h 2015-01-05 12:33:28.000000000 +0000 171 +++ gcc-5.2.0/gcc/config/ia64/linux.h 2015-10-17 20:28:41.529210187 +0000 172 172 @@ -55,7 +55,7 @@ 173 173 /* Define this for shared library support because it isn't in the main … … 179 179 #undef LINK_SPEC 180 180 #define LINK_SPEC "\ 181 diff -Naur gcc- 4.8.3.orig/gcc/config/knetbsd-gnu.h gcc-4.8.3/gcc/config/knetbsd-gnu.h182 --- gcc- 4.8.3.orig/gcc/config/knetbsd-gnu.h 2013-01-10 20:38:27.000000000 +0000183 +++ gcc- 4.8.3/gcc/config/knetbsd-gnu.h 2014-06-01 05:02:45.013805272+0000181 diff -Naur gcc-5.2.0.orig/gcc/config/knetbsd-gnu.h gcc-5.2.0/gcc/config/knetbsd-gnu.h 182 --- gcc-5.2.0.orig/gcc/config/knetbsd-gnu.h 2015-01-05 12:33:28.000000000 +0000 183 +++ gcc-5.2.0/gcc/config/knetbsd-gnu.h 2015-10-17 20:28:41.529210187 +0000 184 184 @@ -32,4 +32,4 @@ 185 185 … … 188 188 -#define GNU_USER_DYNAMIC_LINKER "/lib/ld.so.1" 189 189 +#define GNU_USER_DYNAMIC_LINKER "/tools/lib/ld.so.1" 190 diff -Naur gcc- 4.8.3.orig/gcc/config/kopensolaris-gnu.h gcc-4.8.3/gcc/config/kopensolaris-gnu.h191 --- gcc- 4.8.3.orig/gcc/config/kopensolaris-gnu.h 2013-01-10 20:38:27.000000000 +0000192 +++ gcc- 4.8.3/gcc/config/kopensolaris-gnu.h 2014-06-01 05:02:45.013805272+0000193 @@ -31,4 +31, 4@@190 diff -Naur gcc-5.2.0.orig/gcc/config/kopensolaris-gnu.h gcc-5.2.0/gcc/config/kopensolaris-gnu.h 191 --- gcc-5.2.0.orig/gcc/config/kopensolaris-gnu.h 2015-01-05 12:33:28.000000000 +0000 192 +++ gcc-5.2.0/gcc/config/kopensolaris-gnu.h 2015-10-17 20:28:41.529210187 +0000 193 @@ -31,4 +31,5 @@ 194 194 while (0) 195 195 … … 197 197 -#define GNU_USER_DYNAMIC_LINKER "/lib/ld.so.1" 198 198 +#define GNU_USER_DYNAMIC_LINKER "/tools/lib/ld.so.1" 199 diff -Naur gcc-4.8.3.orig/gcc/config/linux.h gcc-4.8.3/gcc/config/linux.h 200 --- gcc-4.8.3.orig/gcc/config/linux.h 2013-01-10 20:38:27.000000000 +0000 201 +++ gcc-4.8.3/gcc/config/linux.h 2014-06-01 05:02:45.013805272 +0000 199 + 200 diff -Naur gcc-5.2.0.orig/gcc/config/linux.h gcc-5.2.0/gcc/config/linux.h 201 --- gcc-5.2.0.orig/gcc/config/linux.h 2015-01-05 12:33:28.000000000 +0000 202 +++ gcc-5.2.0/gcc/config/linux.h 2015-10-17 20:28:41.529210187 +0000 202 203 @@ -73,10 +73,10 @@ 203 204 GLIBC_DYNAMIC_LINKER must be defined for each target using them, or … … 215 216 #define BIONIC_DYNAMIC_LINKER32 "/system/bin/linker" 216 217 #define BIONIC_DYNAMIC_LINKER64 "/system/bin/linker64" 217 diff -Naur gcc- 4.8.3.orig/gcc/config/m32r/linux.h gcc-4.8.3/gcc/config/m32r/linux.h218 --- gcc- 4.8.3.orig/gcc/config/m32r/linux.h 2013-01-10 20:38:27.000000000 +0000219 +++ gcc- 4.8.3/gcc/config/m32r/linux.h 2014-06-01 05:02:45.013805272+0000220 @@ - 37,7 +37,7 @@221 When the -shared link option is used a final link is not being222 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_SPEC228 #if TARGET_LITTLE_ENDIAN229 diff -Naur gcc- 4.8.3.orig/gcc/config/m68k/linux.h gcc-4.8.3/gcc/config/m68k/linux.h230 --- gcc- 4.8.3.orig/gcc/config/m68k/linux.h 2013-01-10 20:38:27.000000000 +0000231 +++ gcc- 4.8.3/gcc/config/m68k/linux.h 2014-06-01 05:02:45.013805272+0000218 diff -Naur gcc-5.2.0.orig/gcc/config/lm32/uclinux-elf.h gcc-5.2.0/gcc/config/lm32/uclinux-elf.h 219 --- gcc-5.2.0.orig/gcc/config/lm32/uclinux-elf.h 2015-01-05 12:33:28.000000000 +0000 220 +++ gcc-5.2.0/gcc/config/lm32/uclinux-elf.h 2015-10-17 20:28:41.529210187 +0000 221 @@ -67,7 +67,7 @@ 222 %{shared:-shared} \ 223 %{symbolic:-Bsymbolic} \ 224 %{rdynamic:-export-dynamic} \ 225 - -dynamic-linker /lib/ld-linux.so.2" 226 + -dynamic-linker /tools/lib/ld-linux.so.2" 227 228 #define TARGET_OS_CPP_BUILTINS() GNU_USER_TARGET_OS_CPP_BUILTINS() 229 230 diff -Naur gcc-5.2.0.orig/gcc/config/m68k/linux.h gcc-5.2.0/gcc/config/m68k/linux.h 231 --- gcc-5.2.0.orig/gcc/config/m68k/linux.h 2015-01-05 12:33:28.000000000 +0000 232 +++ gcc-5.2.0/gcc/config/m68k/linux.h 2015-10-17 20:28:41.533210287 +0000 232 233 @@ -71,7 +71,7 @@ 233 234 When the -shared link option is used a final link is not being … … 239 240 #undef LINK_SPEC 240 241 #define LINK_SPEC "-m m68kelf %{shared} \ 241 diff -Naur gcc- 4.8.3.orig/gcc/config/microblaze/linux.h gcc-4.8.3/gcc/config/microblaze/linux.h242 --- gcc- 4.8.3.orig/gcc/config/microblaze/linux.h 2013-03-14 15:43:23.000000000 +0000243 +++ gcc- 4.8.3/gcc/config/microblaze/linux.h 2014-06-01 05:02:45.013805272+0000244 @@ -2 5,7 +25,7 @@242 diff -Naur gcc-5.2.0.orig/gcc/config/microblaze/linux.h gcc-5.2.0/gcc/config/microblaze/linux.h 243 --- gcc-5.2.0.orig/gcc/config/microblaze/linux.h 2015-05-28 14:08:19.000000000 +0000 244 +++ gcc-5.2.0/gcc/config/microblaze/linux.h 2015-10-17 20:28:41.533210287 +0000 245 @@ -28,7 +28,7 @@ 245 246 #undef TLS_NEEDS_GOT 246 247 #define TLS_NEEDS_GOT 1 … … 251 252 #define SUBTARGET_EXTRA_SPECS \ 252 253 { "dynamic_linker", DYNAMIC_LINKER } 253 diff -Naur gcc-4.8.3.orig/gcc/config/mips/linux.h gcc-4.8.3/gcc/config/mips/linux.h 254 --- gcc-4.8.3.orig/gcc/config/mips/linux.h 2013-01-10 20:38:27.000000000 +0000 255 +++ gcc-4.8.3/gcc/config/mips/linux.h 2014-06-01 05:02:45.017138692 +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" 262 diff -Naur gcc-4.8.3.orig/gcc/config/mips/linux64.h gcc-4.8.3/gcc/config/mips/linux64.h 263 --- gcc-4.8.3.orig/gcc/config/mips/linux64.h 2013-01-10 20:38:27.000000000 +0000 264 +++ gcc-4.8.3/gcc/config/mips/linux64.h 2014-06-01 05:02:45.017138692 +0000 265 @@ -22,10 +22,10 @@ 266 #define GNU_USER_LINK_EMULATION64 "elf64%{EB:b}%{EL:l}tsmip" 254 diff -Naur gcc-5.2.0.orig/gcc/config/mips/linux.h gcc-5.2.0/gcc/config/mips/linux.h 255 --- gcc-5.2.0.orig/gcc/config/mips/linux.h 2015-01-05 12:33:28.000000000 +0000 256 +++ gcc-5.2.0/gcc/config/mips/linux.h 2015-10-17 20:30:30.887975439 +0000 257 @@ -22,20 +22,20 @@ 267 258 #define GNU_USER_LINK_EMULATIONN32 "elf32%{EB:b}%{EL:l}tsmipn32" 268 259 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" 260 #define GLIBC_DYNAMIC_LINKER32 \ 261 - "%{mnan=2008:/lib/ld-linux-mipsn8.so.1;:/lib/ld.so.1}" 262 + "%{mnan=2008:/tools/lib/ld-linux-mipsn8.so.1;:/tools/lib/ld.so.1}" 263 #define GLIBC_DYNAMIC_LINKER64 \ 264 - "%{mnan=2008:/lib64/ld-linux-mipsn8.so.1;:/lib64/ld.so.1}" 265 + "%{mnan=2008:/tools/lib64/ld-linux-mipsn8.so.1;:/tools/lib64/ld.so.1}" 266 #define GLIBC_DYNAMIC_LINKERN32 \ 267 - "%{mnan=2008:/lib32/ld-linux-mipsn8.so.1;:/lib32/ld.so.1}" 268 + "%{mnan=2008:/tools/lib32/ld-linux-mipsn8.so.1;:/tools/lib32/ld.so.1}" 269 270 #undef UCLIBC_DYNAMIC_LINKER32 271 #define UCLIBC_DYNAMIC_LINKER32 \ 272 - "%{mnan=2008:/lib/ld-uClibc-mipsn8.so.0;:/lib/ld-uClibc.so.0}" 273 + "%{mnan=2008:/tools/lib/ld-uClibc-mipsn8.so.0;:/tools/lib/ld-uClibc.so.0}" 274 #undef UCLIBC_DYNAMIC_LINKER64 275 #define UCLIBC_DYNAMIC_LINKER64 \ 276 - "%{mnan=2008:/lib/ld64-uClibc-mipsn8.so.0;:/lib/ld64-uClibc.so.0}" 277 + "%{mnan=2008:/tools/lib/ld64-uClibc-mipsn8.so.0;:/tools/lib/ld64-uClibc.so.0}" 278 #define UCLIBC_DYNAMIC_LINKERN32 \ 279 - "%{mnan=2008:/lib32/ld-uClibc-mipsn8.so.0;:/lib32/ld-uClibc.so.0}" 280 + "%{mnan=2008:/tools/lib32/ld-uClibc-mipsn8.so.0;:/tools/lib32/ld-uClibc.so.0}" 281 277 282 #define BIONIC_DYNAMIC_LINKERN32 "/system/bin/linker32" 278 283 #define GNU_USER_DYNAMIC_LINKERN32 \ 279 CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKERN32, UCLIBC_DYNAMIC_LINKERN32, \ 280 diff -Naur gcc-4.8.3.orig/gcc/config/mn10300/linux.h gcc-4.8.3/gcc/config/mn10300/linux.h 281 --- gcc-4.8.3.orig/gcc/config/mn10300/linux.h 2013-01-10 20:38:27.000000000 +0000 282 +++ gcc-4.8.3/gcc/config/mn10300/linux.h 2014-06-01 05:02:45.017138692 +0000 284 diff -Naur gcc-5.2.0.orig/gcc/config/mn10300/linux.h gcc-5.2.0/gcc/config/mn10300/linux.h 285 --- gcc-5.2.0.orig/gcc/config/mn10300/linux.h 2015-01-05 12:33:28.000000000 +0000 286 +++ gcc-5.2.0/gcc/config/mn10300/linux.h 2015-10-17 20:29:02.941750373 +0000 283 287 @@ -32,7 +32,7 @@ 284 288 #undef ASM_SPEC … … 290 294 #undef LINK_SPEC 291 295 #define LINK_SPEC "%{mrelax:--relax} %{shared:-shared} \ 292 diff -Naur gcc- 4.8.3.orig/gcc/config/pa/pa-linux.h gcc-4.8.3/gcc/config/pa/pa-linux.h293 --- gcc- 4.8.3.orig/gcc/config/pa/pa-linux.h 2013-01-10 20:38:27.000000000 +0000294 +++ gcc- 4.8.3/gcc/config/pa/pa-linux.h 2014-06-01 05:02:45.017138692+0000296 diff -Naur gcc-5.2.0.orig/gcc/config/pa/pa-linux.h gcc-5.2.0/gcc/config/pa/pa-linux.h 297 --- gcc-5.2.0.orig/gcc/config/pa/pa-linux.h 2015-05-28 14:07:55.000000000 +0000 298 +++ gcc-5.2.0/gcc/config/pa/pa-linux.h 2015-10-17 20:29:02.941750373 +0000 295 299 @@ -37,7 +37,7 @@ 296 300 /* Define this for shared library support because it isn't in the main … … 302 306 #undef LINK_SPEC 303 307 #define LINK_SPEC "\ 304 diff -Naur gcc-4.8.3.orig/gcc/config/rs6000/freebsd64.h gcc-4.8.3/gcc/config/rs6000/freebsd64.h 305 --- gcc-4.8.3.orig/gcc/config/rs6000/freebsd64.h 2013-01-10 20:38:27.000000000 +0000 306 +++ gcc-4.8.3/gcc/config/rs6000/freebsd64.h 2014-06-01 05:02:45.017138692 +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)} \ 318 diff -Naur gcc-4.8.3.orig/gcc/config/rs6000/linux64.h gcc-4.8.3/gcc/config/rs6000/linux64.h 319 --- gcc-4.8.3.orig/gcc/config/rs6000/linux64.h 2014-04-04 15:10:24.000000000 +0000 320 +++ gcc-4.8.3/gcc/config/rs6000/linux64.h 2014-06-01 05:02:45.017138692 +0000 321 @@ -366,14 +366,14 @@ 308 diff -Naur gcc-5.2.0.orig/gcc/config/rs6000/linux64.h gcc-5.2.0/gcc/config/rs6000/linux64.h 309 --- gcc-5.2.0.orig/gcc/config/rs6000/linux64.h 2015-03-09 23:18:57.000000000 +0000 310 +++ gcc-5.2.0/gcc/config/rs6000/linux64.h 2015-10-17 20:29:02.941750373 +0000 311 @@ -357,14 +357,14 @@ 322 312 #undef LINK_OS_DEFAULT_SPEC 323 313 #define LINK_OS_DEFAULT_SPEC "%(link_os_linux)" … … 327 317 #ifdef LINUX64_DEFAULT_ABI_ELFv2 328 318 -#define GLIBC_DYNAMIC_LINKER64 "%{mabi=elfv1:/lib64/ld64.so.1;:/lib64/ld64.so.2}" 329 +#define GLIBC_DYNAMIC_LINKER64 "%{mabi=elfv1:/ lib64/ld64.so.1;:/tools/lib64/ld64.so.2}"319 +#define GLIBC_DYNAMIC_LINKER64 "%{mabi=elfv1:/tools/lib64/ld64.so.1;:/tools/lib64/ld64.so.2}" 330 320 #else 331 321 -#define GLIBC_DYNAMIC_LINKER64 "%{mabi=elfv2:/lib64/ld64.so.2;:/lib64/ld64.so.1}" 332 +#define GLIBC_DYNAMIC_LINKER64 "%{mabi=elfv2:/ lib64/ld64.so.2;:/tools/lib64/ld64.so.1}"322 +#define GLIBC_DYNAMIC_LINKER64 "%{mabi=elfv2:/tools/lib64/ld64.so.2;:/tools/lib64/ld64.so.1}" 333 323 #endif 334 324 -#define UCLIBC_DYNAMIC_LINKER32 "/lib/ld-uClibc.so.0" … … 339 329 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:" G ";:" U "}" 340 330 #elif DEFAULT_LIBC == LIBC_GLIBC 341 diff -Naur gcc- 4.8.3.orig/gcc/config/rs6000/sysv4.h gcc-4.8.3/gcc/config/rs6000/sysv4.h342 --- gcc- 4.8.3.orig/gcc/config/rs6000/sysv4.h 2014-04-04 14:50:31.000000000 +0000343 +++ gcc- 4.8.3/gcc/config/rs6000/sysv4.h 2014-06-01 05:02:45.017138692+0000344 @@ -76 1,8 +761,8 @@331 diff -Naur gcc-5.2.0.orig/gcc/config/rs6000/sysv4.h gcc-5.2.0/gcc/config/rs6000/sysv4.h 332 --- gcc-5.2.0.orig/gcc/config/rs6000/sysv4.h 2015-01-05 12:33:28.000000000 +0000 333 +++ gcc-5.2.0/gcc/config/rs6000/sysv4.h 2015-10-17 20:29:02.941750373 +0000 334 @@ -762,8 +762,8 @@ 345 335 346 336 #define LINK_START_LINUX_SPEC "" … … 353 343 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:" G ";:" U "}" 354 344 #elif !defined (DEFAULT_LIBC) || DEFAULT_LIBC == LIBC_GLIBC 355 @@ -806,7 +806,7 @@ 356 #define LINK_OS_NETBSD_SPEC "\ 357 %{!shared: %{!static: \ 358 %{rdynamic:-export-dynamic} \ 359 - -dynamic-linker /usr/libexec/ld.elf_so}}" 360 + -dynamic-linker /tools/lib/ld.elf_so}}" 361 362 #define CPP_OS_NETBSD_SPEC "\ 363 -D__powerpc__ -D__NetBSD__ -D__KPRINTF_ATTRIBUTE__" 364 diff -Naur gcc-4.8.3.orig/gcc/config/s390/linux.h gcc-4.8.3/gcc/config/s390/linux.h 365 --- gcc-4.8.3.orig/gcc/config/s390/linux.h 2013-01-10 20:38:27.000000000 +0000 366 +++ gcc-4.8.3/gcc/config/s390/linux.h 2014-06-01 05:02:45.017138692 +0000 345 diff -Naur gcc-5.2.0.orig/gcc/config/s390/linux.h gcc-5.2.0/gcc/config/s390/linux.h 346 --- gcc-5.2.0.orig/gcc/config/s390/linux.h 2015-05-11 07:14:10.000000000 +0000 347 +++ gcc-5.2.0/gcc/config/s390/linux.h 2015-10-17 20:29:02.941750373 +0000 367 348 @@ -60,8 +60,8 @@ 368 349 #define MULTILIB_DEFAULTS { "m31" } … … 372 353 -#define GLIBC_DYNAMIC_LINKER64 "/lib/ld64.so.1" 373 354 +#define GLIBC_DYNAMIC_LINKER32 "/tools/lib/ld.so.1" 374 +#define GLIBC_DYNAMIC_LINKER64 "/tools/lib 64/ld64.so.1"355 +#define GLIBC_DYNAMIC_LINKER64 "/tools/lib/ld64.so.1" 375 356 376 357 #undef LINK_SPEC 377 358 #define LINK_SPEC \ 378 diff -Naur gcc- 4.8.3.orig/gcc/config/sh/linux.h gcc-4.8.3/gcc/config/sh/linux.h379 --- gcc- 4.8.3.orig/gcc/config/sh/linux.h 2013-03-14 03:01:53.000000000 +0000380 +++ gcc- 4.8.3/gcc/config/sh/linux.h 2014-06-01 05:02:45.017138692+0000359 diff -Naur gcc-5.2.0.orig/gcc/config/sh/linux.h gcc-5.2.0/gcc/config/sh/linux.h 360 --- gcc-5.2.0.orig/gcc/config/sh/linux.h 2015-01-05 12:33:28.000000000 +0000 361 +++ gcc-5.2.0/gcc/config/sh/linux.h 2015-10-17 20:29:02.941750373 +0000 381 362 @@ -43,7 +43,7 @@ 382 363 … … 388 369 #undef SUBTARGET_LINK_EMUL_SUFFIX 389 370 #define SUBTARGET_LINK_EMUL_SUFFIX "_linux" 390 diff -Naur gcc- 4.8.3.orig/gcc/config/sparc/linux.h gcc-4.8.3/gcc/config/sparc/linux.h391 --- gcc- 4.8.3.orig/gcc/config/sparc/linux.h 2013-01-10 20:38:27.000000000 +0000392 +++ gcc- 4.8.3/gcc/config/sparc/linux.h 2014-06-01 05:02:45.017138692+0000371 diff -Naur gcc-5.2.0.orig/gcc/config/sparc/linux.h gcc-5.2.0/gcc/config/sparc/linux.h 372 --- gcc-5.2.0.orig/gcc/config/sparc/linux.h 2015-01-05 12:33:28.000000000 +0000 373 +++ gcc-5.2.0/gcc/config/sparc/linux.h 2015-10-17 20:29:02.941750373 +0000 393 374 @@ -83,7 +83,7 @@ 394 375 When the -shared link option is used a final link is not being … … 400 381 #undef LINK_SPEC 401 382 #define LINK_SPEC "-m elf32_sparc %{shared:-shared} \ 402 diff -Naur gcc- 4.8.3.orig/gcc/config/sparc/linux64.h gcc-4.8.3/gcc/config/sparc/linux64.h403 --- gcc- 4.8.3.orig/gcc/config/sparc/linux64.h 2013-01-10 20:38:27.000000000 +0000404 +++ gcc- 4.8.3/gcc/config/sparc/linux64.h 2014-06-01 05:02:45.017138692+0000405 @@ - 92,8 +92,8 @@383 diff -Naur gcc-5.2.0.orig/gcc/config/sparc/linux64.h gcc-5.2.0/gcc/config/sparc/linux64.h 384 --- gcc-5.2.0.orig/gcc/config/sparc/linux64.h 2015-01-05 12:33:28.000000000 +0000 385 +++ gcc-5.2.0/gcc/config/sparc/linux64.h 2015-10-17 20:29:02.941750373 +0000 386 @@ -84,8 +84,8 @@ 406 387 When the -shared link option is used a final link is not being 407 388 done. */ … … 414 395 #ifdef SPARC_BI_ARCH 415 396 416 @@ - 201,7 +201,7 @@397 @@ -193,7 +193,7 @@ 417 398 #else /* !SPARC_BI_ARCH */ 418 399 … … 423 404 %{!static: \ 424 405 %{rdynamic:-export-dynamic} \ 425 diff -Naur gcc-4.8.3.orig/gcc/config/xtensa/linux.h gcc-4.8.3/gcc/config/xtensa/linux.h 426 --- gcc-4.8.3.orig/gcc/config/xtensa/linux.h 2013-01-10 20:38:27.000000000 +0000 427 +++ gcc-4.8.3/gcc/config/xtensa/linux.h 2014-06-01 05:02:45.017138692 +0000 406 diff -Naur gcc-5.2.0.orig/gcc/config/vax/linux.h gcc-5.2.0/gcc/config/vax/linux.h 407 --- gcc-5.2.0.orig/gcc/config/vax/linux.h 2015-01-05 12:33:28.000000000 +0000 408 +++ gcc-5.2.0/gcc/config/vax/linux.h 2015-10-17 20:29:02.941750373 +0000 409 @@ -41,7 +41,7 @@ 410 %{!shared: \ 411 %{!static: \ 412 %{rdynamic:-export-dynamic} \ 413 - -dynamic-linker /lib/ld.so.1} \ 414 + -dynamic-linker /tools/lib/ld.so.1} \ 415 %{static:-static}}" 416 417 #undef WCHAR_TYPE 418 diff -Naur gcc-5.2.0.orig/gcc/config/xtensa/linux.h gcc-5.2.0/gcc/config/xtensa/linux.h 419 --- gcc-5.2.0.orig/gcc/config/xtensa/linux.h 2015-01-05 12:33:28.000000000 +0000 420 +++ gcc-5.2.0/gcc/config/xtensa/linux.h 2015-10-17 20:29:02.941750373 +0000 428 421 @@ -44,7 +44,7 @@ 429 422 %{mlongcalls:--longcalls} \
Note:
See TracChangeset
for help on using the changeset viewer.