Changeset c0595573 for patches/gcc-4.5.0-pure64_specs-1.patch
- Timestamp:
- Jul 25, 2010, 2:13:26 PM (14 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 134074b
- Parents:
- 7816bd1
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
patches/gcc-4.5.0-pure64_specs-1.patch
r7816bd1 rc0595573 1 Submitted By: J im Gifford (jim at cross-lfs dot org)2 Date: 0 1-01-20103 Initial Package Version: 4.4.21 Submitted By: Joe Ciccone <jciccone@gmail.com> 2 Date: 07-25-2010 3 Initial Package Version: 3.4.6 4 4 Origin: Idea originally developed by Ryan Oliver and Greg Schafer for 5 5 the Pure LFS project. 6 Upstream Status: Not Applied 7 Description: This patch modifies the location of the dynamic linker for gcc-4.4.2. 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}. This patch in 9 addition makes changes to the paths for pure64, eg 64bit libs 10 in /usr/lib, 32bit in /usr/lib32. 8 11 9 diff -Naur gcc-4. 4.2.orig/gcc/config/alpha/gnu.h gcc-4.4.2/gcc/config/alpha/gnu.h10 --- gcc-4. 4.2.orig/gcc/config/alpha/gnu.h 2004-09-07 20:17:19.000000000 -040011 +++ gcc-4. 4.2/gcc/config/alpha/gnu.h 2010-01-01 16:56:24.640499181 -050012 @@ - 11,7 +11,7 @@12 diff -Naur gcc-4.5.0.orig/gcc/config/alpha/gnu.h gcc-4.5.0/gcc/config/alpha/gnu.h 13 --- gcc-4.5.0.orig/gcc/config/alpha/gnu.h 2009-04-21 15:03:23.000000000 -0400 14 +++ gcc-4.5.0/gcc/config/alpha/gnu.h 2010-07-25 16:12:35.229577160 -0400 15 @@ -34,7 +34,7 @@ 13 16 } while (0) 14 17 … … 19 22 #undef STARTFILE_SPEC 20 23 #define STARTFILE_SPEC \ 21 diff -Naur gcc-4. 4.2.orig/gcc/config/alpha/linux-elf.h gcc-4.4.2/gcc/config/alpha/linux-elf.h22 --- gcc-4. 4.2.orig/gcc/config/alpha/linux-elf.h 2007-08-02 06:49:31.000000000 -040023 +++ gcc-4. 4.2/gcc/config/alpha/linux-elf.h 2010-01-01 16:56:24.465441698 -050024 diff -Naur gcc-4.5.0.orig/gcc/config/alpha/linux-elf.h gcc-4.5.0/gcc/config/alpha/linux-elf.h 25 --- gcc-4.5.0.orig/gcc/config/alpha/linux-elf.h 2007-08-02 06:49:31.000000000 -0400 26 +++ gcc-4.5.0/gcc/config/alpha/linux-elf.h 2010-07-25 16:12:35.225576640 -0400 24 27 @@ -27,8 +27,8 @@ 25 28 #define EXTRA_SPECS \ … … 33 36 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}" 34 37 #else 35 diff -Naur gcc-4. 4.2.orig/gcc/config/arm/linux-eabi.h gcc-4.4.2/gcc/config/arm/linux-eabi.h36 --- gcc-4. 4.2.orig/gcc/config/arm/linux-eabi.h 2007-11-08 08:44:09.000000000 -050037 +++ gcc-4. 4.2/gcc/config/arm/linux-eabi.h 2010-01-01 16:56:29.002439333 -050038 diff -Naur gcc-4.5.0.orig/gcc/config/arm/linux-eabi.h gcc-4.5.0/gcc/config/arm/linux-eabi.h 39 --- gcc-4.5.0.orig/gcc/config/arm/linux-eabi.h 2009-10-30 16:03:09.000000000 -0400 40 +++ gcc-4.5.0/gcc/config/arm/linux-eabi.h 2010-07-25 16:12:35.245577118 -0400 38 41 @@ -61,7 +61,7 @@ 39 42 /* Use ld-linux.so.3 so that it will be possible to run "classic" … … 45 48 /* At this point, bpabi.h will have clobbered LINK_SPEC. We want to 46 49 use the GNU/Linux version, not the generic BPABI version. */ 47 diff -Naur gcc-4. 4.2.orig/gcc/config/arm/linux-elf.h gcc-4.4.2/gcc/config/arm/linux-elf.h48 --- gcc-4. 4.2.orig/gcc/config/arm/linux-elf.h 2009-02-20 10:20:38.000000000 -050049 +++ gcc-4. 4.2/gcc/config/arm/linux-elf.h 2010-01-01 16:56:28.405503916 -050050 diff -Naur gcc-4.5.0.orig/gcc/config/arm/linux-elf.h gcc-4.5.0/gcc/config/arm/linux-elf.h 51 --- gcc-4.5.0.orig/gcc/config/arm/linux-elf.h 2009-11-05 09:47:45.000000000 -0500 52 +++ gcc-4.5.0/gcc/config/arm/linux-elf.h 2010-07-25 16:12:35.245577118 -0400 50 53 @@ -62,7 +62,7 @@ 51 54 … … 57 60 #define LINUX_TARGET_LINK_SPEC "%{h*} %{version:-v} \ 58 61 %{b} \ 59 diff -Naur gcc-4. 4.2.orig/gcc/config/bfin/linux.h gcc-4.4.2/gcc/config/bfin/linux.h60 --- gcc-4. 4.2.orig/gcc/config/bfin/linux.h 2008-11-27 04:11:50.000000000 -050061 +++ gcc-4. 4.2/gcc/config/bfin/linux.h 2010-01-01 16:56:34.082561691 -050062 @@ - 22,7 +22,7 @@62 diff -Naur gcc-4.5.0.orig/gcc/config/bfin/linux.h gcc-4.5.0/gcc/config/bfin/linux.h 63 --- gcc-4.5.0.orig/gcc/config/bfin/linux.h 2009-09-03 11:37:28.000000000 -0400 64 +++ gcc-4.5.0/gcc/config/bfin/linux.h 2010-07-25 16:12:35.049578096 -0400 65 @@ -45,7 +45,7 @@ 63 66 %{shared:-G -Bdynamic} \ 64 67 %{!shared: %{!static: \ … … 69 72 70 73 #define MD_UNWIND_SUPPORT "config/bfin/linux-unwind.h" 71 diff -Naur gcc-4. 4.2.orig/gcc/config/cris/linux.h gcc-4.4.2/gcc/config/cris/linux.h72 --- gcc-4. 4.2.orig/gcc/config/cris/linux.h 2009-03-22 11:15:04.000000000 -040073 +++ gcc-4. 4.2/gcc/config/cris/linux.h 2010-01-01 16:56:29.197595306 -050074 diff -Naur gcc-4.5.0.orig/gcc/config/cris/linux.h gcc-4.5.0/gcc/config/cris/linux.h 75 --- gcc-4.5.0.orig/gcc/config/cris/linux.h 2009-03-22 11:15:04.000000000 -0400 76 +++ gcc-4.5.0/gcc/config/cris/linux.h 2010-07-25 16:12:35.289576639 -0400 74 77 @@ -103,7 +103,7 @@ 75 78 #undef CRIS_DEFAULT_CPU_VERSION … … 81 84 /* We need an -rpath-link to ld.so.1, and presumably to each directory 82 85 specified with -B. */ 83 diff -Naur gcc-4.4.2.orig/gcc/config/frv/linux.h gcc-4.4.2/gcc/config/frv/linux.h 84 --- gcc-4.4.2.orig/gcc/config/frv/linux.h 2007-08-02 06:49:31.000000000 -0400 85 +++ gcc-4.4.2/gcc/config/frv/linux.h 2010-01-01 16:56:26.579441307 -0500 86 diff -Naur gcc-4.5.0.orig/gcc/config/freebsd-spec.h gcc-4.5.0/gcc/config/freebsd-spec.h 87 --- gcc-4.5.0.orig/gcc/config/freebsd-spec.h 2009-09-22 12:28:26.000000000 -0400 88 +++ gcc-4.5.0/gcc/config/freebsd-spec.h 2010-07-25 16:12:35.361577332 -0400 89 @@ -146,7 +146,7 @@ 90 #if FBSD_MAJOR < 6 91 #define FBSD_DYNAMIC_LINKER "/usr/libexec/ld-elf.so.1" 92 #else 93 -#define FBSD_DYNAMIC_LINKER "/libexec/ld-elf.so.1" 94 +#define FBSD_DYNAMIC_LINKER "/tools/libexec/ld-elf.so.1" 95 #endif 96 97 #if defined(HAVE_LD_EH_FRAME_HDR) 98 diff -Naur gcc-4.5.0.orig/gcc/config/frv/linux.h gcc-4.5.0/gcc/config/frv/linux.h 99 --- gcc-4.5.0.orig/gcc/config/frv/linux.h 2007-08-02 06:49:31.000000000 -0400 100 +++ gcc-4.5.0/gcc/config/frv/linux.h 2010-07-25 16:12:35.205578493 -0400 86 101 @@ -35,7 +35,7 @@ 87 102 #define ENDFILE_SPEC \ … … 93 108 #undef LINK_SPEC 94 109 #define LINK_SPEC "\ 95 diff -Naur gcc-4. 4.2.orig/gcc/config/i386/gnu.h gcc-4.4.2/gcc/config/i386/gnu.h96 --- gcc-4. 4.2.orig/gcc/config/i386/gnu.h 2008-11-13 18:28:46.000000000 -050097 +++ gcc-4. 4.2/gcc/config/i386/gnu.h 2010-01-01 16:56:27.660591689 -0500110 diff -Naur gcc-4.5.0.orig/gcc/config/i386/gnu.h gcc-4.5.0/gcc/config/i386/gnu.h 111 --- gcc-4.5.0.orig/gcc/config/i386/gnu.h 2008-11-13 18:28:46.000000000 -0500 112 +++ gcc-4.5.0/gcc/config/i386/gnu.h 2010-07-25 16:12:35.317577305 -0400 98 113 @@ -21,7 +21,7 @@ 99 114 */ … … 105 120 #undef TARGET_VERSION 106 121 #define TARGET_VERSION fprintf (stderr, " (i386 GNU)"); 107 diff -Naur gcc-4.4.2.orig/gcc/config/i386/linux64.h gcc-4.4.2/gcc/config/i386/linux64.h 108 --- gcc-4.4.2.orig/gcc/config/i386/linux64.h 2009-04-09 19:23:07.000000000 -0400 109 +++ gcc-4.4.2/gcc/config/i386/linux64.h 2010-01-01 16:56:27.978561695 -0500 122 diff -Naur gcc-4.5.0.orig/gcc/config/i386/linux.h gcc-4.5.0/gcc/config/i386/linux.h 123 --- gcc-4.5.0.orig/gcc/config/i386/linux.h 2010-03-24 16:44:48.000000000 -0400 124 +++ gcc-4.5.0/gcc/config/i386/linux.h 2010-07-25 16:12:35.305577262 -0400 125 @@ -100,7 +100,7 @@ 126 127 /* These macros may be overridden in k*bsd-gnu.h and i386/k*bsd-gnu.h. */ 128 #define LINK_EMULATION "elf_i386" 129 -#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" 130 +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2" 131 132 #undef ASM_SPEC 133 #define ASM_SPEC \ 134 diff -Naur gcc-4.5.0.orig/gcc/config/i386/linux64.h gcc-4.5.0/gcc/config/i386/linux64.h 135 --- gcc-4.5.0.orig/gcc/config/i386/linux64.h 2010-03-24 16:44:48.000000000 -0400 136 +++ gcc-4.5.0/gcc/config/i386/linux64.h 2010-07-25 16:12:35.325577625 -0400 110 137 @@ -58,8 +58,8 @@ 111 138 When the -shared link option is used a final link is not being … … 117 144 +#define GLIBC_DYNAMIC_LINKER64 "/tools/lib/ld-linux-x86-64.so.2" 118 145 119 #undef ASM_SPEC 120 #define ASM_SPEC "%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} \ 121 diff -Naur gcc-4.4.2.orig/gcc/config/i386/linux.h gcc-4.4.2/gcc/config/i386/linux.h 122 --- gcc-4.4.2.orig/gcc/config/i386/linux.h 2009-05-21 09:21:30.000000000 -0400 123 +++ gcc-4.4.2/gcc/config/i386/linux.h 2010-01-01 16:56:27.558655683 -0500 124 @@ -100,7 +100,7 @@ 125 126 /* These macros may be overridden in k*bsd-gnu.h and i386/k*bsd-gnu.h. */ 127 #define LINK_EMULATION "elf_i386" 128 -#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" 129 +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2" 130 131 #undef ASM_SPEC 132 #define ASM_SPEC \ 133 diff -Naur gcc-4.4.2.orig/gcc/config/i386/t-linux64 gcc-4.4.2/gcc/config/i386/t-linux64 134 --- gcc-4.4.2.orig/gcc/config/i386/t-linux64 2008-07-02 11:59:19.000000000 -0400 135 +++ gcc-4.4.2/gcc/config/i386/t-linux64 2010-01-01 16:56:34.209563694 -0500 136 @@ -7,7 +7,7 @@ 146 #if TARGET_64BIT_DEFAULT 147 #define SPEC_32 "m32" 148 diff -Naur gcc-4.5.0.orig/gcc/config/i386/t-linux64 gcc-4.5.0/gcc/config/i386/t-linux64 149 --- gcc-4.5.0.orig/gcc/config/i386/t-linux64 2009-04-21 15:03:23.000000000 -0400 150 +++ gcc-4.5.0/gcc/config/i386/t-linux64 2010-07-25 16:15:29.253827449 -0400 151 @@ -25,7 +25,7 @@ 137 152 138 153 MULTILIB_OPTIONS = m64/m32 139 154 MULTILIB_DIRNAMES = 64 32 140 155 -MULTILIB_OSDIRNAMES = ../lib64 $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib) 141 +MULTILIB_OSDIRNAMES = ../lib $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib)156 +MULTILIB_OSDIRNAMES = ../lib ../lib32 142 157 143 158 LIBGCC = stmp-multilib 144 159 INSTALL_LIBGCC = install-multilib 145 diff -Naur gcc-4. 4.2.orig/gcc/config/ia64/linux.h gcc-4.4.2/gcc/config/ia64/linux.h146 --- gcc-4. 4.2.orig/gcc/config/ia64/linux.h 2009-02-12 11:30:53.000000000 -0500147 +++ gcc-4. 4.2/gcc/config/ia64/linux.h 2010-01-01 16:56:24.987436691 -0500148 @@ - 37,7 +37,7 @@160 diff -Naur gcc-4.5.0.orig/gcc/config/ia64/linux.h gcc-4.5.0/gcc/config/ia64/linux.h 161 --- gcc-4.5.0.orig/gcc/config/ia64/linux.h 2009-04-21 15:03:23.000000000 -0400 162 +++ gcc-4.5.0/gcc/config/ia64/linux.h 2010-07-25 16:12:35.185577234 -0400 163 @@ -61,7 +61,7 @@ 149 164 /* Define this for shared library support because it isn't in the main 150 165 linux.h file. */ … … 155 170 #undef LINK_SPEC 156 171 #define LINK_SPEC "\ 157 diff -Naur gcc-4. 4.2.orig/gcc/config/kopensolaris-gnu.h gcc-4.4.2/gcc/config/kopensolaris-gnu.h158 --- gcc-4. 4.2.orig/gcc/config/kopensolaris-gnu.h 2009-01-29 13:48:41.000000000 -0500159 +++ gcc-4. 4.2/gcc/config/kopensolaris-gnu.h 2010-01-01 16:56:30.755566240 -0500172 diff -Naur gcc-4.5.0.orig/gcc/config/kfreebsd-gnu.h gcc-4.5.0/gcc/config/kfreebsd-gnu.h 173 --- gcc-4.5.0.orig/gcc/config/kfreebsd-gnu.h 2007-08-02 06:49:31.000000000 -0400 174 +++ gcc-4.5.0/gcc/config/kfreebsd-gnu.h 2010-07-25 16:12:35.333583583 -0400 160 175 @@ -33,5 +33,5 @@ 161 176 … … 165 180 +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1" 166 181 #endif 167 diff -Naur gcc-4.4.2.orig/gcc/config/linux.h gcc-4.4.2/gcc/config/linux.h 168 --- gcc-4.4.2.orig/gcc/config/linux.h 2009-04-09 19:23:07.000000000 -0400 169 +++ gcc-4.4.2/gcc/config/linux.h 2010-01-01 16:56:30.600624174 -0500 182 diff -Naur gcc-4.5.0.orig/gcc/config/knetbsd-gnu.h gcc-4.5.0/gcc/config/knetbsd-gnu.h 183 --- gcc-4.5.0.orig/gcc/config/knetbsd-gnu.h 2007-08-02 06:49:31.000000000 -0400 184 +++ gcc-4.5.0/gcc/config/knetbsd-gnu.h 2010-07-25 16:12:35.045577979 -0400 185 @@ -34,5 +34,5 @@ 186 187 #ifdef GLIBC_DYNAMIC_LINKER 188 #undef GLIBC_DYNAMIC_LINKER 189 -#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1" 190 +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1" 191 #endif 192 diff -Naur gcc-4.5.0.orig/gcc/config/kopensolaris-gnu.h gcc-4.5.0/gcc/config/kopensolaris-gnu.h 193 --- gcc-4.5.0.orig/gcc/config/kopensolaris-gnu.h 2009-01-29 13:48:41.000000000 -0500 194 +++ gcc-4.5.0/gcc/config/kopensolaris-gnu.h 2010-07-25 16:12:35.073577415 -0400 195 @@ -33,5 +33,5 @@ 196 197 #ifdef GLIBC_DYNAMIC_LINKER 198 #undef GLIBC_DYNAMIC_LINKER 199 -#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1" 200 +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1" 201 #endif 202 diff -Naur gcc-4.5.0.orig/gcc/config/linux.h gcc-4.5.0/gcc/config/linux.h 203 --- gcc-4.5.0.orig/gcc/config/linux.h 2009-04-09 11:00:19.000000000 -0400 204 +++ gcc-4.5.0/gcc/config/linux.h 2010-07-25 16:12:35.081581396 -0400 170 205 @@ -117,9 +117,9 @@ 171 206 GLIBC_DYNAMIC_LINKER must be defined for each target using them, or … … 181 216 CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER) 182 217 #define LINUX_DYNAMIC_LINKER32 \ 183 diff -Naur gcc-4.4.2.orig/gcc/config/m32r/linux.h gcc-4.4.2/gcc/config/m32r/linux.h 184 --- gcc-4.4.2.orig/gcc/config/m32r/linux.h 2007-08-02 06:49:31.000000000 -0400 185 +++ gcc-4.4.2/gcc/config/m32r/linux.h 2010-01-01 16:56:31.478592892 -0500 218 diff -Naur gcc-4.5.0.orig/gcc/config/lm32/uclinux-elf.h gcc-4.5.0/gcc/config/lm32/uclinux-elf.h 219 --- gcc-4.5.0.orig/gcc/config/lm32/uclinux-elf.h 2009-11-11 11:43:06.000000000 -0500 220 +++ gcc-4.5.0/gcc/config/lm32/uclinux-elf.h 2010-07-25 16:12:35.285576706 -0400 221 @@ -73,7 +73,7 @@ 222 %{shared:-shared} \ 223 %{symbolic:-Bsymbolic} \ 224 %{rdynamic:-export-dynamic} \ 225 - %{!dynamic-linker:-dynamic-linker /lib/ld-linux.so.2}" 226 + %{!dynamic-linker:-dynamic-linker /tools/lib/ld-linux.so.2}" 227 228 #define TARGET_OS_CPP_BUILTINS() LINUX_TARGET_OS_CPP_BUILTINS() 229 230 diff -Naur gcc-4.5.0.orig/gcc/config/m32r/linux.h gcc-4.5.0/gcc/config/m32r/linux.h 231 --- gcc-4.5.0.orig/gcc/config/m32r/linux.h 2007-08-02 06:49:31.000000000 -0400 232 +++ gcc-4.5.0/gcc/config/m32r/linux.h 2010-07-25 16:12:35.065578524 -0400 186 233 @@ -58,7 +58,7 @@ 187 234 … … 193 240 #undef LINK_SPEC 194 241 #if TARGET_LITTLE_ENDIAN 195 diff -Naur gcc-4. 4.2.orig/gcc/config/m68k/linux.h gcc-4.4.2/gcc/config/m68k/linux.h196 --- gcc-4. 4.2.orig/gcc/config/m68k/linux.h 2007-09-24 17:07:08.000000000 -0400197 +++ gcc-4. 4.2/gcc/config/m68k/linux.h 2010-01-01 16:56:31.712593048 -0500242 diff -Naur gcc-4.5.0.orig/gcc/config/m68k/linux.h gcc-4.5.0/gcc/config/m68k/linux.h 243 --- gcc-4.5.0.orig/gcc/config/m68k/linux.h 2009-12-11 10:32:08.000000000 -0500 244 +++ gcc-4.5.0/gcc/config/m68k/linux.h 2010-07-25 16:12:35.145576353 -0400 198 245 @@ -84,7 +84,7 @@ 199 246 … … 205 252 #undef LINK_SPEC 206 253 #define LINK_SPEC "-m m68kelf %{shared} \ 207 diff -Naur gcc-4.4.2.orig/gcc/config/mips/linux64.h gcc-4.4.2/gcc/config/mips/linux64.h 208 --- gcc-4.4.2.orig/gcc/config/mips/linux64.h 2009-02-20 10:20:38.000000000 -0500 209 +++ gcc-4.4.2/gcc/config/mips/linux64.h 2010-01-01 16:56:33.817493556 -0500 254 diff -Naur gcc-4.5.0.orig/gcc/config/mips/linux.h gcc-4.5.0/gcc/config/mips/linux.h 255 --- gcc-4.5.0.orig/gcc/config/mips/linux.h 2009-02-20 10:20:38.000000000 -0500 256 +++ gcc-4.5.0/gcc/config/mips/linux.h 2010-07-25 16:12:35.089577491 -0400 257 @@ -64,7 +64,7 @@ 258 #undef MIPS_DEFAULT_GVALUE 259 #define MIPS_DEFAULT_GVALUE 0 260 261 -#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1" 262 +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1" 263 264 /* Borrowed from sparc/linux.h */ 265 #undef LINK_SPEC 266 diff -Naur gcc-4.5.0.orig/gcc/config/mips/linux64.h gcc-4.5.0/gcc/config/mips/linux64.h 267 --- gcc-4.5.0.orig/gcc/config/mips/linux64.h 2009-02-20 10:20:38.000000000 -0500 268 +++ gcc-4.5.0/gcc/config/mips/linux64.h 2010-07-25 16:12:35.113577273 -0400 210 269 @@ -35,10 +35,10 @@ 211 270 %{!shared: \ … … 223 282 CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKERN32, UCLIBC_DYNAMIC_LINKERN32) 224 283 225 diff -Naur gcc-4.4.2.orig/gcc/config/mips/linux.h gcc-4.4.2/gcc/config/mips/linux.h 226 --- gcc-4.4.2.orig/gcc/config/mips/linux.h 2009-02-20 10:20:38.000000000 -0500 227 +++ gcc-4.4.2/gcc/config/mips/linux.h 2010-01-01 16:56:33.589561959 -0500 228 @@ -64,7 +64,7 @@ 229 #undef MIPS_DEFAULT_GVALUE 230 #define MIPS_DEFAULT_GVALUE 0 231 232 -#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1" 233 +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1" 234 235 /* Borrowed from sparc/linux.h */ 236 #undef LINK_SPEC 237 diff -Naur gcc-4.4.2.orig/gcc/config/mips/t-linux64 gcc-4.4.2/gcc/config/mips/t-linux64 238 --- gcc-4.4.2.orig/gcc/config/mips/t-linux64 2006-06-06 08:51:24.000000000 -0400 239 +++ gcc-4.4.2/gcc/config/mips/t-linux64 2010-01-01 16:56:34.458660181 -0500 240 @@ -1,6 +1,6 @@ 284 diff -Naur gcc-4.5.0.orig/gcc/config/mips/t-linux64 gcc-4.5.0/gcc/config/mips/t-linux64 285 --- gcc-4.5.0.orig/gcc/config/mips/t-linux64 2009-04-21 15:03:23.000000000 -0400 286 +++ gcc-4.5.0/gcc/config/mips/t-linux64 2010-07-25 16:14:09.345576578 -0400 287 @@ -18,7 +18,7 @@ 288 241 289 MULTILIB_OPTIONS = mabi=n32/mabi=32/mabi=64 242 290 MULTILIB_DIRNAMES = n32 32 64 … … 246 294 EXTRA_MULTILIB_PARTS=crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o 247 295 248 diff -Naur gcc-4. 4.2.orig/gcc/config/mn10300/linux.h gcc-4.4.2/gcc/config/mn10300/linux.h249 --- gcc-4. 4.2.orig/gcc/config/mn10300/linux.h 2007-08-02 06:49:31.000000000 -0400250 +++ gcc-4. 4.2/gcc/config/mn10300/linux.h 2010-01-01 16:56:31.369561693 -0500296 diff -Naur gcc-4.5.0.orig/gcc/config/mn10300/linux.h gcc-4.5.0/gcc/config/mn10300/linux.h 297 --- gcc-4.5.0.orig/gcc/config/mn10300/linux.h 2007-08-02 06:49:31.000000000 -0400 298 +++ gcc-4.5.0/gcc/config/mn10300/linux.h 2010-07-25 16:12:35.153580072 -0400 251 299 @@ -32,7 +32,7 @@ 252 300 #undef ASM_SPEC … … 258 306 #undef LINK_SPEC 259 307 #define LINK_SPEC "%{mrelax:--relax} %{shared:-shared} \ 260 diff -Naur gcc-4. 4.2.orig/gcc/config/pa/pa-linux.h gcc-4.4.2/gcc/config/pa/pa-linux.h261 --- gcc-4. 4.2.orig/gcc/config/pa/pa-linux.h 2007-08-02 06:49:31.000000000 -0400262 +++ gcc-4. 4.2/gcc/config/pa/pa-linux.h 2010-01-01 16:56:25.821468275 -0500263 @@ - 44,7 +44,7 @@308 diff -Naur gcc-4.5.0.orig/gcc/config/pa/pa-linux.h gcc-4.5.0/gcc/config/pa/pa-linux.h 309 --- gcc-4.5.0.orig/gcc/config/pa/pa-linux.h 2009-12-04 02:47:51.000000000 -0500 310 +++ gcc-4.5.0/gcc/config/pa/pa-linux.h 2010-07-25 16:12:35.269577363 -0400 311 @@ -38,7 +38,7 @@ 264 312 /* Define this for shared library support because it isn't in the main 265 313 linux.h file. */ … … 270 318 #undef LINK_SPEC 271 319 #define LINK_SPEC "\ 272 diff -Naur gcc-4. 4.2.orig/gcc/config/rs6000/linux64.h gcc-4.4.2/gcc/config/rs6000/linux64.h273 --- gcc-4. 4.2.orig/gcc/config/rs6000/linux64.h 2009-04-09 19:23:07.000000000 -0400274 +++ gcc-4. 4.2/gcc/config/rs6000/linux64.h 2010-01-01 16:56:30.187504724 -0500275 @@ -34 2,10 +342,10 @@320 diff -Naur gcc-4.5.0.orig/gcc/config/rs6000/linux64.h gcc-4.5.0/gcc/config/rs6000/linux64.h 321 --- gcc-4.5.0.orig/gcc/config/rs6000/linux64.h 2010-03-17 00:44:37.000000000 -0400 322 +++ gcc-4.5.0/gcc/config/rs6000/linux64.h 2010-07-25 16:12:35.129577292 -0400 323 @@ -348,10 +348,10 @@ 276 324 #undef LINK_OS_DEFAULT_SPEC 277 325 #define LINK_OS_DEFAULT_SPEC "%(link_os_linux)" … … 288 336 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}" 289 337 #else 290 diff -Naur gcc-4. 4.2.orig/gcc/config/rs6000/sysv4.h gcc-4.4.2/gcc/config/rs6000/sysv4.h291 --- gcc-4. 4.2.orig/gcc/config/rs6000/sysv4.h 2009-04-09 19:23:07.000000000 -0400292 +++ gcc-4. 4.2/gcc/config/rs6000/sysv4.h 2010-01-01 16:56:29.858530584 -0500338 diff -Naur gcc-4.5.0.orig/gcc/config/rs6000/sysv4.h gcc-4.5.0/gcc/config/rs6000/sysv4.h 339 --- gcc-4.5.0.orig/gcc/config/rs6000/sysv4.h 2009-11-25 15:23:20.000000000 -0500 340 +++ gcc-4.5.0/gcc/config/rs6000/sysv4.h 2010-07-25 16:12:35.117577311 -0400 293 341 @@ -901,8 +901,8 @@ 294 342 … … 311 359 #define CPP_OS_GNU_SPEC "-D__unix__ -D__gnu_hurd__ -D__GNU__ \ 312 360 %{!undef: \ 313 diff -Naur gcc-4. 4.2.orig/gcc/config/rs6000/t-linux64 gcc-4.4.2/gcc/config/rs6000/t-linux64314 --- gcc-4. 4.2.orig/gcc/config/rs6000/t-linux64 2007-09-27 15:56:06.000000000 -0400315 +++ gcc-4. 4.2/gcc/config/rs6000/t-linux64 2010-01-01 16:56:34.307479149 -0500316 @@ - 19,7 +19,7 @@361 diff -Naur gcc-4.5.0.orig/gcc/config/rs6000/t-linux64 gcc-4.5.0/gcc/config/rs6000/t-linux64 362 --- gcc-4.5.0.orig/gcc/config/rs6000/t-linux64 2009-04-21 15:03:23.000000000 -0400 363 +++ gcc-4.5.0/gcc/config/rs6000/t-linux64 2010-07-25 16:14:58.202326412 -0400 364 @@ -36,7 +36,7 @@ 317 365 MULTILIB_EXTRA_OPTS = fPIC mstrict-align 318 366 MULTILIB_EXCEPTIONS = m64/msoft-float 319 367 MULTILIB_EXCLUSIONS = m64/!m32/msoft-float 320 368 -MULTILIB_OSDIRNAMES = ../lib64 $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib) nof 321 +MULTILIB_OSDIRNAMES = ../lib $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib)nof369 +MULTILIB_OSDIRNAMES = ../lib ../lib32 nof 322 370 MULTILIB_MATCHES = $(MULTILIB_MATCHES_FLOAT) 323 371 324 372 softfp_wrap_start := '\#ifndef __powerpc64__' 325 diff -Naur gcc-4. 4.2.orig/gcc/config/s390/linux.h gcc-4.4.2/gcc/config/s390/linux.h326 --- gcc-4. 4.2.orig/gcc/config/s390/linux.h 2007-08-02 06:49:31.000000000 -0400327 +++ gcc-4. 4.2/gcc/config/s390/linux.h 2010-01-01 16:56:31.307561791 -0500373 diff -Naur gcc-4.5.0.orig/gcc/config/s390/linux.h gcc-4.5.0/gcc/config/s390/linux.h 374 --- gcc-4.5.0.orig/gcc/config/s390/linux.h 2007-08-02 06:49:31.000000000 -0400 375 +++ gcc-4.5.0/gcc/config/s390/linux.h 2010-07-25 16:12:35.145576353 -0400 328 376 @@ -72,8 +72,8 @@ 329 377 #define MULTILIB_DEFAULTS { "m31" } … … 337 385 #undef LINK_SPEC 338 386 #define LINK_SPEC \ 339 diff -Naur gcc-4. 4.2.orig/gcc/config/s390/t-linux64 gcc-4.4.2/gcc/config/s390/t-linux64340 --- gcc-4. 4.2.orig/gcc/config/s390/t-linux64 2006-02-06 12:41:54.000000000 -0500341 +++ gcc-4. 4.2/gcc/config/s390/t-linux64 2010-01-01 16:56:34.344633775 -0500342 @@ -1, 6 +1,6@@387 diff -Naur gcc-4.5.0.orig/gcc/config/s390/t-linux64 gcc-4.5.0/gcc/config/s390/t-linux64 388 --- gcc-4.5.0.orig/gcc/config/s390/t-linux64 2009-10-07 04:26:47.000000000 -0400 389 +++ gcc-4.5.0/gcc/config/s390/t-linux64 2010-07-25 16:15:08.293701559 -0400 390 @@ -1,3 +1,3 @@ 343 391 MULTILIB_OPTIONS = m64/m31 344 392 MULTILIB_DIRNAMES = 64 32 345 393 -MULTILIB_OSDIRNAMES = ../lib64 ../lib 346 394 +MULTILIB_OSDIRNAMES = ../lib ../lib32 347 348 LIBGCC = stmp-multilib 349 INSTALL_LIBGCC = install-multilib 350 diff -Naur gcc-4.4.2.orig/gcc/config/sh/linux.h gcc-4.4.2/gcc/config/sh/linux.h 351 --- gcc-4.4.2.orig/gcc/config/sh/linux.h 2007-08-02 06:49:31.000000000 -0400 352 +++ gcc-4.4.2/gcc/config/sh/linux.h 2010-01-01 16:56:32.970573934 -0500 395 diff -Naur gcc-4.5.0.orig/gcc/config/sh/linux.h gcc-4.5.0/gcc/config/sh/linux.h 396 --- gcc-4.5.0.orig/gcc/config/sh/linux.h 2007-08-02 06:49:31.000000000 -0400 397 +++ gcc-4.5.0/gcc/config/sh/linux.h 2010-07-25 16:12:35.341576592 -0400 353 398 @@ -47,7 +47,7 @@ 354 399 … … 360 405 #undef SUBTARGET_LINK_EMUL_SUFFIX 361 406 #define SUBTARGET_LINK_EMUL_SUFFIX "_linux" 362 diff -Naur gcc-4.4.2.orig/gcc/config/sparc/linux64.h gcc-4.4.2/gcc/config/sparc/linux64.h 363 --- gcc-4.4.2.orig/gcc/config/sparc/linux64.h 2009-02-20 10:20:38.000000000 -0500 364 +++ gcc-4.4.2/gcc/config/sparc/linux64.h 2010-01-01 16:56:32.599626104 -0500 407 diff -Naur gcc-4.5.0.orig/gcc/config/sparc/linux.h gcc-4.5.0/gcc/config/sparc/linux.h 408 --- gcc-4.5.0.orig/gcc/config/sparc/linux.h 2009-12-07 18:31:01.000000000 -0500 409 +++ gcc-4.5.0/gcc/config/sparc/linux.h 2010-07-25 16:12:35.361577332 -0400 410 @@ -83,10 +83,10 @@ 411 412 /* If ELF is the default format, we should not use /lib/elf. */ 413 414 -#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" 415 +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2" 416 417 #undef LINK_SPEC 418 -#define LINK_SPEC "-m elf32_sparc -Y P,/usr/lib %{shared:-shared} \ 419 +#define LINK_SPEC "-m elf32_sparc -Y P,/tools/lib32 %{shared:-shared} \ 420 %{!mno-relax:%{!r:-relax}} \ 421 %{!shared: \ 422 %{!ibcs: \ 423 diff -Naur gcc-4.5.0.orig/gcc/config/sparc/linux64.h gcc-4.5.0/gcc/config/sparc/linux64.h 424 --- gcc-4.5.0.orig/gcc/config/sparc/linux64.h 2009-12-07 18:31:01.000000000 -0500 425 +++ gcc-4.5.0/gcc/config/sparc/linux64.h 2010-07-25 16:12:35.369577243 -0400 365 426 @@ -109,8 +109,8 @@ 366 427 … … 401 462 %{!ibcs: \ 402 463 %{!static: \ 403 diff -Naur gcc-4.4.2.orig/gcc/config/sparc/linux.h gcc-4.4.2/gcc/config/sparc/linux.h 404 --- gcc-4.4.2.orig/gcc/config/sparc/linux.h 2009-02-20 10:20:38.000000000 -0500 405 +++ gcc-4.4.2/gcc/config/sparc/linux.h 2010-01-01 16:56:32.288437057 -0500 406 @@ -83,10 +83,10 @@ 407 408 /* If ELF is the default format, we should not use /lib/elf. */ 409 410 -#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" 411 +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2" 412 413 #undef LINK_SPEC 414 -#define LINK_SPEC "-m elf32_sparc -Y P,/usr/lib %{shared:-shared} \ 415 +#define LINK_SPEC "-m elf32_sparc -Y P,/tools/lib32 %{shared:-shared} \ 416 %{!mno-relax:%{!r:-relax}} \ 417 %{!shared: \ 418 %{!ibcs: \ 419 diff -Naur gcc-4.4.2.orig/gcc/config/sparc/t-linux64 gcc-4.4.2/gcc/config/sparc/t-linux64 420 --- gcc-4.4.2.orig/gcc/config/sparc/t-linux64 2006-02-08 02:19:43.000000000 -0500 421 +++ gcc-4.4.2/gcc/config/sparc/t-linux64 2010-01-01 16:56:34.397501569 -0500 422 @@ -1,6 +1,6 @@ 464 diff -Naur gcc-4.5.0.orig/gcc/config/sparc/t-linux64 gcc-4.5.0/gcc/config/sparc/t-linux64 465 --- gcc-4.5.0.orig/gcc/config/sparc/t-linux64 2009-04-21 15:03:23.000000000 -0400 466 +++ gcc-4.5.0/gcc/config/sparc/t-linux64 2010-07-25 16:15:41.705578470 -0400 467 @@ -19,7 +19,7 @@ 468 423 469 MULTILIB_OPTIONS = m64/m32 424 470 MULTILIB_DIRNAMES = 64 32 … … 428 474 LIBGCC = stmp-multilib 429 475 INSTALL_LIBGCC = install-multilib 430 diff -Naur gcc-4.4.2.orig/gcc/config/xtensa/linux.h gcc-4.4.2/gcc/config/xtensa/linux.h 431 --- gcc-4.4.2.orig/gcc/config/xtensa/linux.h 2008-01-17 20:37:53.000000000 -0500 432 +++ gcc-4.4.2/gcc/config/xtensa/linux.h 2010-01-01 16:56:25.267566321 -0500 476 diff -Naur gcc-4.5.0.orig/gcc/config/vax/linux.h gcc-4.5.0/gcc/config/vax/linux.h 477 --- gcc-4.5.0.orig/gcc/config/vax/linux.h 2009-11-03 19:07:24.000000000 -0500 478 +++ gcc-4.5.0/gcc/config/vax/linux.h 2010-07-25 16:12:35.269577363 -0400 479 @@ -44,5 +44,5 @@ 480 %{!shared: \ 481 %{!static: \ 482 %{rdynamic:-export-dynamic} \ 483 - %{!dynamic-linker:-dynamic-linker /lib/ld.so.1}} \ 484 + %{!dynamic-linker:-dynamic-linker /tools/lib/ld.so.1}} \ 485 %{static:-static}}" 486 diff -Naur gcc-4.5.0.orig/gcc/config/xtensa/linux.h gcc-4.5.0/gcc/config/xtensa/linux.h 487 --- gcc-4.5.0.orig/gcc/config/xtensa/linux.h 2008-01-17 20:37:53.000000000 -0500 488 +++ gcc-4.5.0/gcc/config/xtensa/linux.h 2010-07-25 16:12:35.081581396 -0400 433 489 @@ -43,7 +43,7 @@ 434 490 %{mlongcalls:--longcalls} \
Note:
See TracChangeset
for help on using the changeset viewer.