Changeset 2c79b57 for patches/gcc-4.1.2-pure64_specs-1.patch
- Timestamp:
- Feb 14, 2007, 9:11:42 AM (18 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 55d273f
- Parents:
- f932b2b
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
patches/gcc-4.1.2-pure64_specs-1.patch
rf932b2b r2c79b57 1 1 Submitted By: Robert Connolly <robert at linuxfromscratch dot org> (ashes) 2 Date: 200 6-01-163 Initial Package Version: 4. 0.02 Date: 2007-02-14 3 Initial Package Version: 4.1.2 4 4 Upstream Status: Not Sent - LFS Specfic 5 5 Origin: Idea originally developed by Ryan Oliver and Greg Schafer for … … 7 7 More architectures added by Zack Winkles. 8 8 Further fine tunings by Greg Schafer. 9 Modified for gcc 3.3.2 by Oliver Brakmann.10 Rediffed against gcc 3.4.0 by Zack Winkles.11 Rediffed against gcc 3.4.3 by Jim Gifford.12 9 Rediffed against gcc 4.0.0 by Robert Connolly. 13 10 Rediffed against gcc 4.1.0 by Chris Staub 11 Rediffed against gcc 4.1.2 by Jim Gifford 14 12 Description: This patch modifies the location of the dynamic linker for 15 13 the GCC Pass 2 build in LFS Chapter 5. 16 14 17 diff -Naur gcc-4.1. 0.orig/gcc/config/alpha/linux-elf.h gcc-4.1.0/gcc/config/alpha/linux-elf.h18 --- gcc-4.1. 0.orig/gcc/config/alpha/linux-elf.h 2005-06-24 21:22:41.000000000 -040019 +++ gcc-4.1. 0/gcc/config/alpha/linux-elf.h 2006-03-01 01:25:20.000000000 -050015 diff -Naur gcc-4.1.2.orig/gcc/config/alpha/linux-elf.h gcc-4.1.2/gcc/config/alpha/linux-elf.h 16 --- gcc-4.1.2.orig/gcc/config/alpha/linux-elf.h 2005-06-24 18:22:41.000000000 -0700 17 +++ gcc-4.1.2/gcc/config/alpha/linux-elf.h 2007-02-14 07:51:38.000000000 -0800 20 18 @@ -27,7 +27,7 @@ 21 19 #define SUBTARGET_EXTRA_SPECS \ … … 27 25 #define LINK_SPEC "-m elf64alpha %{G*} %{relax:-relax} \ 28 26 %{O*:-O3} %{!O*:-O1} \ 29 diff -Naur gcc-4.1. 0.orig/gcc/config/arm/linux-elf.h gcc-4.1.0/gcc/config/arm/linux-elf.h30 --- gcc-4.1. 0.orig/gcc/config/arm/linux-elf.h 2005-10-09 21:04:31.000000000 -040031 +++ gcc-4.1. 0/gcc/config/arm/linux-elf.h 2006-03-01 01:21:32.000000000 -050027 diff -Naur gcc-4.1.2.orig/gcc/config/arm/linux-elf.h gcc-4.1.2/gcc/config/arm/linux-elf.h 28 --- gcc-4.1.2.orig/gcc/config/arm/linux-elf.h 2005-10-09 18:04:31.000000000 -0700 29 +++ gcc-4.1.2/gcc/config/arm/linux-elf.h 2007-02-14 07:51:38.000000000 -0800 32 30 @@ -51,7 +51,7 @@ 33 31 … … 39 37 #define LINUX_TARGET_LINK_SPEC "%{h*} %{version:-v} \ 40 38 %{b} \ 41 diff -Naur gcc-4.1. 0.orig/gcc/config/frv/linux.h gcc-4.1.0/gcc/config/frv/linux.h42 --- gcc-4.1. 0.orig/gcc/config/frv/linux.h 2005-06-24 21:22:41.000000000 -040043 +++ gcc-4.1. 0/gcc/config/frv/linux.h 2006-03-01 01:25:20.000000000 -050039 diff -Naur gcc-4.1.2.orig/gcc/config/frv/linux.h gcc-4.1.2/gcc/config/frv/linux.h 40 --- gcc-4.1.2.orig/gcc/config/frv/linux.h 2005-06-24 18:22:41.000000000 -0700 41 +++ gcc-4.1.2/gcc/config/frv/linux.h 2007-02-14 07:51:38.000000000 -0800 44 42 @@ -41,7 +41,7 @@ 45 43 %{mfdpic: -m elf32frvfd -z text} %{shared} %{pie} \ … … 51 49 52 50 /* Support for compile-time default CPU. */ 53 diff -Naur gcc-4.1. 0.orig/gcc/config/i386/gnu.h gcc-4.1.0/gcc/config/i386/gnu.h54 --- gcc-4.1. 0.orig/gcc/config/i386/gnu.h 2004-09-07 20:17:19.000000000 -040055 +++ gcc-4.1. 0/gcc/config/i386/gnu.h 2006-03-01 01:25:20.000000000 -050051 diff -Naur gcc-4.1.2.orig/gcc/config/i386/gnu.h gcc-4.1.2/gcc/config/i386/gnu.h 52 --- gcc-4.1.2.orig/gcc/config/i386/gnu.h 2004-09-07 17:17:19.000000000 -0700 53 +++ gcc-4.1.2/gcc/config/i386/gnu.h 2007-02-14 07:51:38.000000000 -0800 56 54 @@ -27,7 +27,7 @@ 57 55 %{!shared: \ … … 63 61 64 62 #undef STARTFILE_SPEC 65 diff -Naur gcc-4.1. 0.orig/gcc/config/i386/linux.h gcc-4.1.0/gcc/config/i386/linux.h66 --- gcc-4.1. 0.orig/gcc/config/i386/linux.h 2005-08-10 13:53:01.000000000 -040067 +++ gcc-4.1. 0/gcc/config/i386/linux.h 2006-03-01 01:25:20.000000000 -050063 diff -Naur gcc-4.1.2.orig/gcc/config/i386/linux.h gcc-4.1.2/gcc/config/i386/linux.h 64 --- gcc-4.1.2.orig/gcc/config/i386/linux.h 2005-08-10 10:53:01.000000000 -0700 65 +++ gcc-4.1.2/gcc/config/i386/linux.h 2007-02-14 07:51:38.000000000 -0800 68 66 @@ -105,7 +105,7 @@ 69 67 /* If ELF is the default format, we should not use /lib/elf. */ … … 75 73 #undef SUBTARGET_EXTRA_SPECS 76 74 #define SUBTARGET_EXTRA_SPECS \ 77 diff -Naur gcc-4.1. 0.orig/gcc/config/i386/linux64.h gcc-4.1.0/gcc/config/i386/linux64.h78 --- gcc-4.1. 0.orig/gcc/config/i386/linux64.h 2005-08-10 13:53:01.000000000 -040079 +++ gcc-4.1. 0/gcc/config/i386/linux64.h 2006-03-01 01:25:20.000000000 -050075 diff -Naur gcc-4.1.2.orig/gcc/config/i386/linux64.h gcc-4.1.2/gcc/config/i386/linux64.h 76 --- gcc-4.1.2.orig/gcc/config/i386/linux64.h 2005-08-10 10:53:01.000000000 -0700 77 +++ gcc-4.1.2/gcc/config/i386/linux64.h 2007-02-14 07:51:38.000000000 -0800 80 78 @@ -60,8 +60,8 @@ 81 79 %{!shared: \ … … 89 87 90 88 /* Similar to standard Linux, but adding -ffast-math support. */ 91 diff -Naur gcc-4.1. 0.orig/gcc/config/ia64/linux.h gcc-4.1.0/gcc/config/ia64/linux.h92 --- gcc-4.1. 0.orig/gcc/config/ia64/linux.h 2004-09-07 20:17:19.000000000 -040093 +++ gcc-4.1. 0/gcc/config/ia64/linux.h 2006-03-01 01:25:20.000000000 -050089 diff -Naur gcc-4.1.2.orig/gcc/config/ia64/linux.h gcc-4.1.2/gcc/config/ia64/linux.h 90 --- gcc-4.1.2.orig/gcc/config/ia64/linux.h 2006-12-12 07:24:07.000000000 -0800 91 +++ gcc-4.1.2/gcc/config/ia64/linux.h 2007-02-14 07:51:38.000000000 -0800 94 92 @@ -43,7 +43,7 @@ 95 93 %{!shared: \ … … 100 98 %{static:-static}}" 101 99 102 103 diff -Naur gcc-4.1. 0.orig/gcc/config/linux.h gcc-4.1.0/gcc/config/linux.h104 --- gcc-4.1. 0.orig/gcc/config/linux.h 2005-08-06 09:26:35.000000000 -0400105 +++ gcc-4.1. 0/gcc/config/linux.h 2006-03-01 01:25:20.000000000 -0500100 #define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}" 101 diff -Naur gcc-4.1.2.orig/gcc/config/linux.h gcc-4.1.2/gcc/config/linux.h 102 --- gcc-4.1.2.orig/gcc/config/linux.h 2005-08-06 06:26:35.000000000 -0700 103 +++ gcc-4.1.2/gcc/config/linux.h 2007-02-14 07:51:38.000000000 -0800 106 104 @@ -104,3 +104,7 @@ 107 105 #define TARGET_C99_FUNCTIONS 1 … … 112 110 +#undef STANDARD_INCLUDE_DIR 113 111 +#define STANDARD_INCLUDE_DIR 0 114 diff -Naur gcc-4.1. 0.orig/gcc/config/m32r/linux.h gcc-4.1.0/gcc/config/m32r/linux.h115 --- gcc-4.1. 0.orig/gcc/config/m32r/linux.h 2005-07-08 06:00:15.000000000 -0400116 +++ gcc-4.1. 0/gcc/config/m32r/linux.h 2006-03-01 01:25:20.000000000 -0500112 diff -Naur gcc-4.1.2.orig/gcc/config/m32r/linux.h gcc-4.1.2/gcc/config/m32r/linux.h 113 --- gcc-4.1.2.orig/gcc/config/m32r/linux.h 2005-07-08 03:00:15.000000000 -0700 114 +++ gcc-4.1.2/gcc/config/m32r/linux.h 2007-02-14 07:51:38.000000000 -0800 117 115 @@ -66,7 +66,7 @@ 118 116 %{!ibcs: \ … … 133 131 #endif 134 132 135 diff -Naur gcc-4.1. 0.orig/gcc/config/m68k/linux.h gcc-4.1.0/gcc/config/m68k/linux.h136 --- gcc-4.1. 0.orig/gcc/config/m68k/linux.h 2005-06-24 21:22:41.000000000 -0400137 +++ gcc-4.1. 0/gcc/config/m68k/linux.h 2006-03-01 01:25:20.000000000 -0500133 diff -Naur gcc-4.1.2.orig/gcc/config/m68k/linux.h gcc-4.1.2/gcc/config/m68k/linux.h 134 --- gcc-4.1.2.orig/gcc/config/m68k/linux.h 2005-06-24 18:22:41.000000000 -0700 135 +++ gcc-4.1.2/gcc/config/m68k/linux.h 2007-02-14 07:51:38.000000000 -0800 138 136 @@ -128,7 +128,7 @@ 139 137 %{!shared: \ … … 145 143 146 144 /* For compatibility with linux/a.out */ 147 diff -Naur gcc-4.1. 0.orig/gcc/config/mips/linux.h gcc-4.1.0/gcc/config/mips/linux.h148 --- gcc-4.1. 0.orig/gcc/config/mips/linux.h 2005-06-24 21:22:41.000000000 -0400149 +++ gcc-4.1. 0/gcc/config/mips/linux.h 2006-03-01 01:25:20.000000000 -0500145 diff -Naur gcc-4.1.2.orig/gcc/config/mips/linux.h gcc-4.1.2/gcc/config/mips/linux.h 146 --- gcc-4.1.2.orig/gcc/config/mips/linux.h 2006-12-17 05:57:31.000000000 -0800 147 +++ gcc-4.1.2/gcc/config/mips/linux.h 2007-02-14 07:51:38.000000000 -0800 150 148 @@ -112,7 +112,7 @@ 151 149 %{!ibcs: \ … … 157 155 158 156 #undef SUBTARGET_ASM_SPEC 159 diff -Naur gcc-4.1. 0.orig/gcc/config/mips/linux64.h gcc-4.1.0/gcc/config/mips/linux64.h160 --- gcc-4.1. 0.orig/gcc/config/mips/linux64.h 2005-06-24 21:22:41.000000000 -0400161 +++ gcc-4.1. 0/gcc/config/mips/linux64.h 2006-03-01 01:25:20.000000000 -0500157 diff -Naur gcc-4.1.2.orig/gcc/config/mips/linux64.h gcc-4.1.2/gcc/config/mips/linux64.h 158 --- gcc-4.1.2.orig/gcc/config/mips/linux64.h 2005-06-24 18:22:41.000000000 -0700 159 +++ gcc-4.1.2/gcc/config/mips/linux64.h 2007-02-14 07:51:38.000000000 -0800 162 160 @@ -47,9 +47,9 @@ 163 161 %{!static: \ … … 173 171 %{mabi=n32:-melf32%{EB:b}%{EL:l}tsmipn32} \ 174 172 %{mabi=64:-melf64%{EB:b}%{EL:l}tsmip} \ 175 diff -Naur gcc-4.1. 0.orig/gcc/config/mn10300/linux.h gcc-4.1.0/gcc/config/mn10300/linux.h176 --- gcc-4.1. 0.orig/gcc/config/mn10300/linux.h 2005-06-24 21:22:41.000000000 -0400177 +++ gcc-4.1. 0/gcc/config/mn10300/linux.h 2006-03-01 01:25:20.000000000 -0500173 diff -Naur gcc-4.1.2.orig/gcc/config/mn10300/linux.h gcc-4.1.2/gcc/config/mn10300/linux.h 174 --- gcc-4.1.2.orig/gcc/config/mn10300/linux.h 2005-06-24 18:22:41.000000000 -0700 175 +++ gcc-4.1.2/gcc/config/mn10300/linux.h 2007-02-14 07:51:38.000000000 -0800 178 176 @@ -37,7 +37,7 @@ 179 177 #define LINK_SPEC "%{mrelax:--relax} %{shared:-shared} \ … … 185 183 186 184 #undef PROCESSOR_DEFAULT 187 diff -Naur gcc-4.1. 0.orig/gcc/config/pa/pa-linux.h gcc-4.1.0/gcc/config/pa/pa-linux.h188 --- gcc-4.1. 0.orig/gcc/config/pa/pa-linux.h 2005-11-17 22:22:18.000000000 -0500189 +++ gcc-4.1. 0/gcc/config/pa/pa-linux.h 2006-03-01 01:25:20.000000000 -0500185 diff -Naur gcc-4.1.2.orig/gcc/config/pa/pa-linux.h gcc-4.1.2/gcc/config/pa/pa-linux.h 186 --- gcc-4.1.2.orig/gcc/config/pa/pa-linux.h 2007-01-11 18:23:38.000000000 -0800 187 +++ gcc-4.1.2/gcc/config/pa/pa-linux.h 2007-02-14 07:51:38.000000000 -0800 190 188 @@ -55,7 +55,7 @@ 191 189 %{!shared: \ … … 197 195 198 196 /* glibc's profiling functions don't need gcc to allocate counters. */ 199 diff -Naur gcc-4.1. 0.orig/gcc/config/rs6000/linux64.h gcc-4.1.0/gcc/config/rs6000/linux64.h200 --- gcc-4.1. 0.orig/gcc/config/rs6000/linux64.h 2006-02-10 15:58:33.000000000 -0500201 +++ gcc-4.1. 0/gcc/config/rs6000/linux64.h 2006-03-01 01:25:20.000000000 -0500197 diff -Naur gcc-4.1.2.orig/gcc/config/rs6000/linux64.h gcc-4.1.2/gcc/config/rs6000/linux64.h 198 --- gcc-4.1.2.orig/gcc/config/rs6000/linux64.h 2006-02-10 12:58:33.000000000 -0800 199 +++ gcc-4.1.2/gcc/config/rs6000/linux64.h 2007-02-14 07:51:38.000000000 -0800 202 200 @@ -339,11 +339,11 @@ 203 201 … … 214 212 #undef TOC_SECTION_ASM_OP 215 213 #define TOC_SECTION_ASM_OP \ 216 diff -Naur gcc-4.1. 0.orig/gcc/config/rs6000/sysv4.h gcc-4.1.0/gcc/config/rs6000/sysv4.h217 --- gcc-4.1. 0.orig/gcc/config/rs6000/sysv4.h 2006-02-10 15:58:33.000000000 -0500218 +++ gcc-4.1. 0/gcc/config/rs6000/sysv4.h 2006-03-01 01:25:20.000000000 -0500214 diff -Naur gcc-4.1.2.orig/gcc/config/rs6000/sysv4.h gcc-4.1.2/gcc/config/rs6000/sysv4.h 215 --- gcc-4.1.2.orig/gcc/config/rs6000/sysv4.h 2006-02-10 12:58:33.000000000 -0800 216 +++ gcc-4.1.2/gcc/config/rs6000/sysv4.h 2007-02-14 07:51:38.000000000 -0800 219 217 @@ -1041,7 +1041,7 @@ 220 218 … … 235 233 #define CPP_OS_GNU_SPEC "-D__unix__ -D__gnu_hurd__ -D__GNU__ \ 236 234 %{!undef: \ 237 diff -Naur gcc-4.1. 0.orig/gcc/config/s390/linux.h gcc-4.1.0/gcc/config/s390/linux.h238 --- gcc-4.1. 0.orig/gcc/config/s390/linux.h 2006-02-11 03:38:51.000000000 -0500239 +++ gcc-4.1. 0/gcc/config/s390/linux.h 2006-03-01 01:25:20.000000000 -0500235 diff -Naur gcc-4.1.2.orig/gcc/config/s390/linux.h gcc-4.1.2/gcc/config/s390/linux.h 236 --- gcc-4.1.2.orig/gcc/config/s390/linux.h 2006-12-12 07:24:07.000000000 -0800 237 +++ gcc-4.1.2/gcc/config/s390/linux.h 2007-02-14 07:51:38.000000000 -0800 240 238 @@ -86,8 +86,8 @@ 241 239 %{!static: \ … … 247 245 + %{m64:-dynamic-linker /tools/lib/ld64.so.1}}}}" 248 246 249 250 #define TARGET_ASM_FILE_END file_end_indicate_exec_stack251 diff -Naur gcc-4.1. 0.orig/gcc/config/sh/linux.h gcc-4.1.0/gcc/config/sh/linux.h252 --- gcc-4.1. 0.orig/gcc/config/sh/linux.h 2005-06-24 21:22:41.000000000 -0400253 +++ gcc-4.1. 0/gcc/config/sh/linux.h 2006-03-01 01:25:20.000000000 -0500247 #define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}" 248 249 diff -Naur gcc-4.1.2.orig/gcc/config/sh/linux.h gcc-4.1.2/gcc/config/sh/linux.h 250 --- gcc-4.1.2.orig/gcc/config/sh/linux.h 2005-06-24 18:22:41.000000000 -0700 251 +++ gcc-4.1.2/gcc/config/sh/linux.h 2007-02-14 07:51:38.000000000 -0800 254 252 @@ -60,7 +60,7 @@ 255 253 "%{shared:-shared} \ … … 261 259 262 260 /* Output assembler code to STREAM to call the profiler. */ 263 diff -Naur gcc-4.1. 0.orig/gcc/config/sparc/linux.h gcc-4.1.0/gcc/config/sparc/linux.h264 --- gcc-4.1. 0.orig/gcc/config/sparc/linux.h 2006-02-11 03:38:51.000000000 -0500265 +++ gcc-4.1. 0/gcc/config/sparc/linux.h 2006-03-01 01:25:20.000000000 -0500261 diff -Naur gcc-4.1.2.orig/gcc/config/sparc/linux.h gcc-4.1.2/gcc/config/sparc/linux.h 262 --- gcc-4.1.2.orig/gcc/config/sparc/linux.h 2006-02-11 00:38:51.000000000 -0800 263 +++ gcc-4.1.2/gcc/config/sparc/linux.h 2007-02-14 07:51:38.000000000 -0800 266 264 @@ -126,13 +126,13 @@ 267 265 /* If ELF is the default format, we should not use /lib/elf. */ … … 280 278 281 279 /* The sun bundled assembler doesn't accept -Yd, (and neither does gas). 282 diff -Naur gcc-4.1. 0.orig/gcc/config/sparc/linux64.h gcc-4.1.0/gcc/config/sparc/linux64.h283 --- gcc-4.1. 0.orig/gcc/config/sparc/linux64.h 2006-02-11 03:38:51.000000000 -0500284 +++ gcc-4.1. 0/gcc/config/sparc/linux64.h 2006-03-01 01:25:20.000000000 -0500280 diff -Naur gcc-4.1.2.orig/gcc/config/sparc/linux64.h gcc-4.1.2/gcc/config/sparc/linux64.h 281 --- gcc-4.1.2.orig/gcc/config/sparc/linux64.h 2006-02-11 00:38:51.000000000 -0800 282 +++ gcc-4.1.2/gcc/config/sparc/linux64.h 2007-02-14 07:51:38.000000000 -0800 285 283 @@ -162,21 +162,21 @@ 286 284 { "link_arch_default", LINK_ARCH_DEFAULT_SPEC }, \ … … 324 322 %{mlittle-endian:-EL} \ 325 323 %{!mno-relax:%{!r:-relax}} \ 326 diff -Naur gcc-4.1. 0.orig/gcc/config/xtensa/linux.h gcc-4.1.0/gcc/config/xtensa/linux.h327 --- gcc-4.1. 0.orig/gcc/config/xtensa/linux.h 2005-06-24 21:22:41.000000000 -0400328 +++ gcc-4.1. 0/gcc/config/xtensa/linux.h 2006-03-01 01:25:20.000000000 -0500324 diff -Naur gcc-4.1.2.orig/gcc/config/xtensa/linux.h gcc-4.1.2/gcc/config/xtensa/linux.h 325 --- gcc-4.1.2.orig/gcc/config/xtensa/linux.h 2005-06-24 18:22:41.000000000 -0700 326 +++ gcc-4.1.2/gcc/config/xtensa/linux.h 2007-02-14 07:51:38.000000000 -0800 329 327 @@ -50,7 +50,7 @@ 330 328 %{!ibcs: \ … … 336 334 337 335 #undef LOCAL_LABEL_PREFIX 336 diff -Naur gcc-4.1.2.orig/gcc/gcc.c gcc-4.1.2/gcc/gcc.c 337 --- gcc-4.1.2.orig/gcc/gcc.c 2006-11-07 06:26:21.000000000 -0800 338 +++ gcc-4.1.2/gcc/gcc.c 2007-02-14 07:48:55.000000000 -0800 339 @@ -3821,16 +3821,22 @@ 340 PREFIX_PRIORITY_LAST, 2, 0); 341 add_prefix (&exec_prefixes, standard_exec_prefix, "BINUTILS", 342 PREFIX_PRIORITY_LAST, 2, 0); 343 - add_prefix (&exec_prefixes, standard_exec_prefix_1, "BINUTILS", 344 + if (*cross_compile == '0') 345 + { 346 + add_prefix (&exec_prefixes, standard_exec_prefix_1, "BINUTILS", 347 PREFIX_PRIORITY_LAST, 2, 0); 348 - add_prefix (&exec_prefixes, standard_exec_prefix_2, "BINUTILS", 349 + add_prefix (&exec_prefixes, standard_exec_prefix_2, "BINUTILS", 350 PREFIX_PRIORITY_LAST, 2, 0); 351 + } 352 #endif 353 354 add_prefix (&startfile_prefixes, standard_exec_prefix, "BINUTILS", 355 PREFIX_PRIORITY_LAST, 1, 0); 356 - add_prefix (&startfile_prefixes, standard_exec_prefix_2, "BINUTILS", 357 + if (*cross_compile == '0') 358 + { 359 + add_prefix (&startfile_prefixes, standard_exec_prefix_2, "BINUTILS", 360 PREFIX_PRIORITY_LAST, 1, 0); 361 + } 362 363 tooldir_prefix = concat (tooldir_base_prefix, spec_machine, 364 dir_separator_str, NULL);
Note:
See TracChangeset
for help on using the changeset viewer.