Changeset 56a4eb5 for patches/gcc-4.4.0-pure64-1.patch
- Timestamp:
- Jun 3, 2009, 7:19:12 PM (15 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- eafdda9
- Parents:
- 77e17c8d
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
patches/gcc-4.4.0-pure64-1.patch
r77e17c8d r56a4eb5 1 1 Submitted By: Jim Gifford (jim at cross-lfs dot org) 2 Date: 0 1-25-20093 Initial Package Version: 4. 3.32 Date: 04-21-2009 3 Initial Package Version: 4.4.0 4 4 Origin: Idea originally developed by Ryan Oliver and Greg Schafer for 5 5 the Pure LFS project. 6 6 Upstream Status: Not Applied 7 Description: This patch modifies the location of the dynamic linker for gcc-4. 3.3.7 Description: This patch modifies the location of the dynamic linker for gcc-4.4.0. 8 8 9 diff -Naur gcc-4. 3.3.orig/gcc/config/i386/linux64.h gcc-4.3.3/gcc/config/i386/linux64.h10 --- gcc-4. 3.3.orig/gcc/config/i386/linux64.h 2007-08-02 03:49:31.000000000 -070011 +++ gcc-4. 3.3/gcc/config/i386/linux64.h 2009-01-25 00:49:04.956938399 -080012 @@ -5 3,8 +53,8 @@9 diff -Naur gcc-4.4.0.orig/gcc/config/i386/linux64.h gcc-4.4.0/gcc/config/i386/linux64.h 10 --- gcc-4.4.0.orig/gcc/config/i386/linux64.h 2009-04-09 16:23:07.000000000 -0700 11 +++ gcc-4.4.0/gcc/config/i386/linux64.h 2009-04-21 10:12:45.639047632 -0700 12 @@ -58,8 +58,8 @@ 13 13 When the -shared link option is used a final link is not being 14 14 done. */ … … 19 19 +#define GLIBC_DYNAMIC_LINKER64 "/lib/ld-linux-x86-64.so.2" 20 20 21 # if TARGET_64BIT_DEFAULT22 #define SPEC_32 "m32"23 diff -Naur gcc-4. 3.3.orig/gcc/config/i386/t-linux64 gcc-4.3.3/gcc/config/i386/t-linux6424 --- gcc-4. 3.3.orig/gcc/config/i386/t-linux64 2007-09-27 12:56:06.000000000 -070025 +++ gcc-4. 3.3/gcc/config/i386/t-linux64 2009-01-25 00:49:11.211799413 -080026 @@ - 13,7 +13,7 @@21 #undef ASM_SPEC 22 #define ASM_SPEC "%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} \ 23 diff -Naur gcc-4.4.0.orig/gcc/config/i386/t-linux64 gcc-4.4.0/gcc/config/i386/t-linux64 24 --- gcc-4.4.0.orig/gcc/config/i386/t-linux64 2008-07-02 08:59:19.000000000 -0700 25 +++ gcc-4.4.0/gcc/config/i386/t-linux64 2009-04-21 10:12:52.642213438 -0700 26 @@ -7,7 +7,7 @@ 27 27 28 28 MULTILIB_OPTIONS = m64/m32 … … 33 33 LIBGCC = stmp-multilib 34 34 INSTALL_LIBGCC = install-multilib 35 diff -Naur gcc-4. 3.3.orig/gcc/config/linux.h gcc-4.3.3/gcc/config/linux.h36 --- gcc-4. 3.3.orig/gcc/config/linux.h 2007-08-02 03:49:31.000000000 -070037 +++ gcc-4. 3.3/gcc/config/linux.h 2009-01-25 00:49:09.037979047 -080038 @@ -11 3,7 +113,7 @@35 diff -Naur gcc-4.4.0.orig/gcc/config/linux.h gcc-4.4.0/gcc/config/linux.h 36 --- gcc-4.4.0.orig/gcc/config/linux.h 2009-04-09 16:23:07.000000000 -0700 37 +++ gcc-4.4.0/gcc/config/linux.h 2009-04-21 10:12:49.548334684 -0700 38 @@ -118,7 +118,7 @@ 39 39 GLIBC_DYNAMIC_LINKER32 and GLIBC_DYNAMIC_LINKER64 for targets 40 40 supporting both 32-bit and 64-bit compilation. */ … … 45 45 #define LINUX_DYNAMIC_LINKER \ 46 46 CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER) 47 diff -Naur gcc-4. 3.3.orig/gcc/config/mips/linux64.h gcc-4.3.3/gcc/config/mips/linux64.h48 --- gcc-4. 3.3.orig/gcc/config/mips/linux64.h 2007-08-02 03:49:31.000000000 -070049 +++ gcc-4. 3.3/gcc/config/mips/linux64.h 2009-01-25 00:49:09.124111188 -080050 @@ -3 8,10 +38,10 @@47 diff -Naur gcc-4.4.0.orig/gcc/config/mips/linux64.h gcc-4.4.0/gcc/config/mips/linux64.h 48 --- gcc-4.4.0.orig/gcc/config/mips/linux64.h 2009-02-20 07:20:38.000000000 -0800 49 +++ gcc-4.4.0/gcc/config/mips/linux64.h 2009-04-21 10:12:49.630265960 -0700 50 @@ -35,10 +35,10 @@ 51 51 %{!shared: \ 52 52 %{profile:-lc_p} %{!profile:-lc}}" … … 63 63 CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKERN32, UCLIBC_DYNAMIC_LINKERN32) 64 64 65 diff -Naur gcc-4. 3.3.orig/gcc/config/mips/t-linux64 gcc-4.3.3/gcc/config/mips/t-linux6466 --- gcc-4. 3.3.orig/gcc/config/mips/t-linux64 2006-06-06 05:51:24.000000000 -070067 +++ gcc-4. 3.3/gcc/config/mips/t-linux64 2009-01-25 00:49:11.265119430 -080065 diff -Naur gcc-4.4.0.orig/gcc/config/mips/t-linux64 gcc-4.4.0/gcc/config/mips/t-linux64 66 --- gcc-4.4.0.orig/gcc/config/mips/t-linux64 2006-06-06 05:51:24.000000000 -0700 67 +++ gcc-4.4.0/gcc/config/mips/t-linux64 2009-04-21 10:12:52.704637799 -0700 68 68 @@ -1,6 +1,6 @@ 69 69 MULTILIB_OPTIONS = mabi=n32/mabi=32/mabi=64 … … 74 74 EXTRA_MULTILIB_PARTS=crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o 75 75 76 diff -Naur gcc-4. 3.3.orig/gcc/config/rs6000/linux64.h gcc-4.3.3/gcc/config/rs6000/linux64.h77 --- gcc-4. 3.3.orig/gcc/config/rs6000/linux64.h 2007-08-02 03:49:31.000000000 -070078 +++ gcc-4. 3.3/gcc/config/rs6000/linux64.h 2009-01-25 00:49:01.265542673 -080079 @@ -3 39,9 +339,9 @@76 diff -Naur gcc-4.4.0.orig/gcc/config/rs6000/linux64.h gcc-4.4.0/gcc/config/rs6000/linux64.h 77 --- gcc-4.4.0.orig/gcc/config/rs6000/linux64.h 2009-04-09 16:23:07.000000000 -0700 78 +++ gcc-4.4.0/gcc/config/rs6000/linux64.h 2009-04-21 10:12:42.311081157 -0700 79 @@ -342,9 +342,9 @@ 80 80 #undef LINK_OS_DEFAULT_SPEC 81 81 #define LINK_OS_DEFAULT_SPEC "%(link_os_linux)" … … 90 90 #if UCLIBC_DEFAULT 91 91 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}" 92 diff -Naur gcc-4. 3.3.orig/gcc/config/rs6000/t-linux64 gcc-4.3.3/gcc/config/rs6000/t-linux6493 --- gcc-4. 3.3.orig/gcc/config/rs6000/t-linux64 2007-09-27 12:56:06.000000000 -070094 +++ gcc-4. 3.3/gcc/config/rs6000/t-linux64 2009-01-25 00:49:11.137970107 -080092 diff -Naur gcc-4.4.0.orig/gcc/config/rs6000/t-linux64 gcc-4.4.0/gcc/config/rs6000/t-linux64 93 --- gcc-4.4.0.orig/gcc/config/rs6000/t-linux64 2007-09-27 12:56:06.000000000 -0700 94 +++ gcc-4.4.0/gcc/config/rs6000/t-linux64 2009-04-21 10:12:52.552479957 -0700 95 95 @@ -19,7 +19,7 @@ 96 96 MULTILIB_EXTRA_OPTS = fPIC mstrict-align … … 102 102 103 103 softfp_wrap_start := '\#ifndef __powerpc64__' 104 diff -Naur gcc-4. 3.3.orig/gcc/config/s390/linux.h gcc-4.3.3/gcc/config/s390/linux.h105 --- gcc-4. 3.3.orig/gcc/config/s390/linux.h 2007-08-02 03:49:31.000000000 -0700106 +++ gcc-4. 3.3/gcc/config/s390/linux.h 2009-01-25 00:49:04.058697303 -0800104 diff -Naur gcc-4.4.0.orig/gcc/config/s390/linux.h gcc-4.4.0/gcc/config/s390/linux.h 105 --- gcc-4.4.0.orig/gcc/config/s390/linux.h 2007-08-02 03:49:31.000000000 -0700 106 +++ gcc-4.4.0/gcc/config/s390/linux.h 2009-04-21 10:12:44.800229083 -0700 107 107 @@ -72,7 +72,7 @@ 108 108 #define MULTILIB_DEFAULTS { "m31" } … … 114 114 115 115 #undef LINK_SPEC 116 diff -Naur gcc-4. 3.3.orig/gcc/config/s390/t-linux64 gcc-4.3.3/gcc/config/s390/t-linux64117 --- gcc-4. 3.3.orig/gcc/config/s390/t-linux64 2006-02-06 09:41:54.000000000 -0800118 +++ gcc-4. 3.3/gcc/config/s390/t-linux64 2009-01-25 00:49:11.178985891 -0800116 diff -Naur gcc-4.4.0.orig/gcc/config/s390/t-linux64 gcc-4.4.0/gcc/config/s390/t-linux64 117 --- gcc-4.4.0.orig/gcc/config/s390/t-linux64 2006-02-06 09:41:54.000000000 -0800 118 +++ gcc-4.4.0/gcc/config/s390/t-linux64 2009-04-21 10:12:52.607098757 -0700 119 119 @@ -1,6 +1,6 @@ 120 120 MULTILIB_OPTIONS = m64/m31 … … 125 125 LIBGCC = stmp-multilib 126 126 INSTALL_LIBGCC = install-multilib 127 diff -Naur gcc-4. 3.3.orig/gcc/config/sparc/linux64.h gcc-4.3.3/gcc/config/sparc/linux64.h128 --- gcc-4. 3.3.orig/gcc/config/sparc/linux64.h 2007-10-18 21:29:38.000000000 -0700129 +++ gcc-4. 3.3/gcc/config/sparc/linux64.h 2009-01-25 00:49:10.604768822 -0800130 @@ -1 44,9 +144,9@@127 diff -Naur gcc-4.4.0.orig/gcc/config/sparc/linux64.h gcc-4.4.0/gcc/config/sparc/linux64.h 128 --- gcc-4.4.0.orig/gcc/config/sparc/linux64.h 2009-02-20 07:20:38.000000000 -0800 129 +++ gcc-4.4.0/gcc/config/sparc/linux64.h 2009-04-21 10:12:52.029679006 -0700 130 @@ -109,8 +109,8 @@ 131 131 132 132 /* If ELF is the default format, we should not use /lib/elf. */ … … 134 134 -#define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2" 135 135 -#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux.so.2" 136 -#define UCLIBC_DYNAMIC_LINKER32 "/lib/ld-uClibc.so.0"137 136 +#define GLIBC_DYNAMIC_LINKER32 "/lib32/ld-linux.so.2" 138 137 +#define GLIBC_DYNAMIC_LINKER64 "/lib/ld-linux.so.2" 139 +#define UCLIBC_DYNAMIC_LINKER32 "/lib32/ld-uClibc.so.0" 140 #define UCLIBC_DYNAMIC_LINKER64 "/lib/ld64-uClibc.so.0" 141 #if UCLIBC_DEFAULT 142 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}" 143 @@ -167,7 +167,7 @@ 138 139 #ifdef SPARC_BI_ARCH 140 141 @@ -121,7 +121,7 @@ 144 142 { "link_arch_default", LINK_ARCH_DEFAULT_SPEC }, \ 145 143 { "link_arch", LINK_ARCH_SPEC }, 146 144 147 -#define LINK_ARCH32_SPEC "-m elf32_sparc -Y P, /usr/lib %{shared:-shared} \148 +#define LINK_ARCH32_SPEC "-m elf32_sparc -Y P, /usr/lib32 %{shared:-shared} \145 -#define LINK_ARCH32_SPEC "-m elf32_sparc -Y P,%R/usr/lib %{shared:-shared} \ 146 +#define LINK_ARCH32_SPEC "-m elf32_sparc -Y P,%R/usr/lib32 %{shared:-shared} \ 149 147 %{!shared: \ 150 148 %{!ibcs: \ 151 149 %{!static: \ 152 @@ -1 76,7 +176,7 @@150 @@ -130,7 +130,7 @@ 153 151 %{static:-static}}} \ 154 152 " 155 153 156 -#define LINK_ARCH64_SPEC "-m elf64_sparc -Y P, /usr/lib64 %{shared:-shared} \157 +#define LINK_ARCH64_SPEC "-m elf64_sparc -Y P, /usr/lib %{shared:-shared} \154 -#define LINK_ARCH64_SPEC "-m elf64_sparc -Y P,%R/usr/lib64 %{shared:-shared} \ 155 +#define LINK_ARCH64_SPEC "-m elf64_sparc -Y P,%R/usr/lib %{shared:-shared} \ 158 156 %{!shared: \ 159 157 %{!ibcs: \ 160 158 %{!static: \ 161 @@ -2 57,7 +257,7 @@159 @@ -211,7 +211,7 @@ 162 160 #else /* !SPARC_BI_ARCH */ 163 161 164 162 #undef LINK_SPEC 165 -#define LINK_SPEC "-m elf64_sparc -Y P, /usr/lib64 %{shared:-shared} \166 +#define LINK_SPEC "-m elf64_sparc -Y P, /usr/lib %{shared:-shared} \163 -#define LINK_SPEC "-m elf64_sparc -Y P,%R/usr/lib64 %{shared:-shared} \ 164 +#define LINK_SPEC "-m elf64_sparc -Y P,%R/usr/lib %{shared:-shared} \ 167 165 %{!shared: \ 168 166 %{!ibcs: \ 169 167 %{!static: \ 170 diff -Naur gcc-4. 3.3.orig/gcc/config/sparc/linux.h gcc-4.3.3/gcc/config/sparc/linux.h171 --- gcc-4. 3.3.orig/gcc/config/sparc/linux.h 2007-08-02 03:49:31.000000000 -0700172 +++ gcc-4. 3.3/gcc/config/sparc/linux.h 2009-01-25 00:49:10.863168878 -0800173 @@ - 132,7 +132,7 @@174 168 diff -Naur gcc-4.4.0.orig/gcc/config/sparc/linux.h gcc-4.4.0/gcc/config/sparc/linux.h 169 --- gcc-4.4.0.orig/gcc/config/sparc/linux.h 2009-02-20 07:20:38.000000000 -0800 170 +++ gcc-4.4.0/gcc/config/sparc/linux.h 2009-04-21 10:12:52.271571169 -0700 171 @@ -86,7 +86,7 @@ 172 #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" 175 173 176 174 #undef LINK_SPEC … … 180 178 %{!shared: \ 181 179 %{!ibcs: \ 182 diff -Naur gcc-4. 3.3.orig/gcc/config/sparc/t-linux64 gcc-4.3.3/gcc/config/sparc/t-linux64183 --- gcc-4. 3.3.orig/gcc/config/sparc/t-linux64 2006-02-07 23:19:43.000000000 -0800184 +++ gcc-4. 3.3/gcc/config/sparc/t-linux64 2009-01-25 00:49:11.314338874 -0800180 diff -Naur gcc-4.4.0.orig/gcc/config/sparc/t-linux64 gcc-4.4.0/gcc/config/sparc/t-linux64 181 --- gcc-4.4.0.orig/gcc/config/sparc/t-linux64 2006-02-07 23:19:43.000000000 -0800 182 +++ gcc-4.4.0/gcc/config/sparc/t-linux64 2009-04-21 10:12:52.755357174 -0700 185 183 @@ -1,6 +1,6 @@ 186 184 MULTILIB_OPTIONS = m64/m32
Note:
See TracChangeset
for help on using the changeset viewer.