Changeset af43a09 for patches/gcc-4.6.0-specs-1.patch
- Timestamp:
- Apr 16, 2011, 2:33:52 PM (14 years ago)
- Children:
- 2643b9b4
- Parents:
- 7b0cc7e8 (diff), af891d2 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
patches/gcc-4.6.0-specs-1.patch
r7b0cc7e8 raf43a09 1 1 Submitted By: Joe Ciccone <jciccone@gmail.com> 2 Date: 0 1-08-20112 Date: 04-16-2011 3 3 Initial Package Version: 3.4.6 4 4 Origin: Idea originally developed by Ryan Oliver and Greg Schafer for … … 9 9 10 10 Rediffed Against 4.5.2 By Joe Ciccone <jciccone@gmail.com> 11 Rediffed Against 4.6.0 By Joe Ciccone <jciccone@gmail.com> 11 12 12 diff -Naur gcc-4. 5.2.orig/gcc/config/alpha/gnu.h gcc-4.5.2/gcc/config/alpha/gnu.h13 --- gcc-4. 5.2.orig/gcc/config/alpha/gnu.h 2009-04-21 15:03:23.000000000 -040014 +++ gcc-4. 5.2/gcc/config/alpha/gnu.h 2011-01-08 13:32:34.482662693 -050013 diff -Naur gcc-4.6.0.orig/gcc/config/alpha/gnu.h gcc-4.6.0/gcc/config/alpha/gnu.h 14 --- gcc-4.6.0.orig/gcc/config/alpha/gnu.h 2010-10-06 03:49:52.000000000 -0400 15 +++ gcc-4.6.0/gcc/config/alpha/gnu.h 2011-04-16 15:31:47.519213210 -0400 15 16 @@ -34,7 +34,7 @@ 16 17 } while (0) … … 22 23 #undef STARTFILE_SPEC 23 24 #define STARTFILE_SPEC \ 24 diff -Naur gcc-4. 5.2.orig/gcc/config/alpha/linux-elf.h gcc-4.5.2/gcc/config/alpha/linux-elf.h25 --- gcc-4. 5.2.orig/gcc/config/alpha/linux-elf.h 2007-08-02 06:49:31.000000000 -040026 +++ gcc-4. 5.2/gcc/config/alpha/linux-elf.h 2011-01-08 13:32:34.486656575 -050025 diff -Naur gcc-4.6.0.orig/gcc/config/alpha/linux-elf.h gcc-4.6.0/gcc/config/alpha/linux-elf.h 26 --- gcc-4.6.0.orig/gcc/config/alpha/linux-elf.h 2010-12-09 08:27:07.000000000 -0500 27 +++ gcc-4.6.0/gcc/config/alpha/linux-elf.h 2011-04-16 15:33:20.991213246 -0400 27 28 @@ -27,8 +27,8 @@ 28 29 #define EXTRA_SPECS \ … … 33 34 +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2" 34 35 +#define UCLIBC_DYNAMIC_LINKER "/tools/lib/ld-uClibc.so.0" 35 #if UCLIBC_DEFAULT36 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc: %{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}"37 #el se38 diff -Naur gcc-4. 5.2.orig/gcc/config/arm/linux-eabi.h gcc-4.5.2/gcc/config/arm/linux-eabi.h39 --- gcc-4. 5.2.orig/gcc/config/arm/linux-eabi.h 2009-10-30 16:03:09.000000000 -040040 +++ gcc-4. 5.2/gcc/config/arm/linux-eabi.h 2011-01-08 13:32:34.486656575 -050041 @@ -6 1,7 +61,7 @@36 #if DEFAULT_LIBC == LIBC_UCLIBC 37 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:" G ";:" U "}" 38 #elif DEFAULT_LIBC == LIBC_GLIBC 39 diff -Naur gcc-4.6.0.orig/gcc/config/arm/linux-eabi.h gcc-4.6.0/gcc/config/arm/linux-eabi.h 40 --- gcc-4.6.0.orig/gcc/config/arm/linux-eabi.h 2011-01-12 09:29:14.000000000 -0500 41 +++ gcc-4.6.0/gcc/config/arm/linux-eabi.h 2011-04-16 15:31:47.911213210 -0400 42 @@ -62,7 +62,7 @@ 42 43 /* Use ld-linux.so.3 so that it will be possible to run "classic" 43 44 GNU/Linux binaries on an EABI system. */ … … 48 49 /* At this point, bpabi.h will have clobbered LINK_SPEC. We want to 49 50 use the GNU/Linux version, not the generic BPABI version. */ 50 diff -Naur gcc-4. 5.2.orig/gcc/config/arm/linux-elf.h gcc-4.5.2/gcc/config/arm/linux-elf.h51 --- gcc-4. 5.2.orig/gcc/config/arm/linux-elf.h 2009-11-05 09:47:45.000000000 -050052 +++ gcc-4. 5.2/gcc/config/arm/linux-elf.h 2011-01-08 13:32:34.486656575 -050051 diff -Naur gcc-4.6.0.orig/gcc/config/arm/linux-elf.h gcc-4.6.0/gcc/config/arm/linux-elf.h 52 --- gcc-4.6.0.orig/gcc/config/arm/linux-elf.h 2011-01-14 13:42:32.000000000 -0500 53 +++ gcc-4.6.0/gcc/config/arm/linux-elf.h 2011-04-16 15:31:48.087213212 -0400 53 54 @@ -62,7 +62,7 @@ 54 55 … … 58 59 +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2" 59 60 60 #define LINUX_TARGET_LINK_SPEC "%{h*} %{version:-v}\61 %{ b} \62 diff -Naur gcc-4. 5.2.orig/gcc/config/bfin/linux.h gcc-4.5.2/gcc/config/bfin/linux.h63 --- gcc-4. 5.2.orig/gcc/config/bfin/linux.h 2009-09-03 11:37:28.000000000 -040064 +++ gcc-4. 5.2/gcc/config/bfin/linux.h 2011-01-08 13:32:34.486656575 -050061 #define LINUX_TARGET_LINK_SPEC "%{h*} \ 62 %{static:-Bstatic} \ 63 diff -Naur gcc-4.6.0.orig/gcc/config/bfin/linux.h gcc-4.6.0/gcc/config/bfin/linux.h 64 --- gcc-4.6.0.orig/gcc/config/bfin/linux.h 2010-12-09 08:27:07.000000000 -0500 65 +++ gcc-4.6.0/gcc/config/bfin/linux.h 2011-04-16 15:33:51.791213258 -0400 65 66 @@ -45,7 +45,7 @@ 66 67 %{shared:-G -Bdynamic} \ 67 68 %{!shared: %{!static: \ 68 69 %{rdynamic:-export-dynamic} \ 69 - %{!dynamic-linker:-dynamic-linker /lib/ld-uClibc.so.0}} \70 + %{!dynamic-linker:-dynamic-linker /tools/lib/ld-uClibc.so.0}} \70 - -dynamic-linker /lib/ld-uClibc.so.0} \ 71 + -dynamic-linker /tools/lib/ld-uClibc.so.0} \ 71 72 %{static}} -init __init -fini __fini" 72 73 73 74 #define MD_UNWIND_SUPPORT "config/bfin/linux-unwind.h" 74 diff -Naur gcc-4. 5.2.orig/gcc/config/cris/linux.h gcc-4.5.2/gcc/config/cris/linux.h75 --- gcc-4. 5.2.orig/gcc/config/cris/linux.h 2009-03-22 11:15:04.000000000 -040076 +++ gcc-4. 5.2/gcc/config/cris/linux.h 2011-01-08 13:32:34.486656575 -050075 diff -Naur gcc-4.6.0.orig/gcc/config/cris/linux.h gcc-4.6.0/gcc/config/cris/linux.h 76 --- gcc-4.6.0.orig/gcc/config/cris/linux.h 2011-01-14 13:51:46.000000000 -0500 77 +++ gcc-4.6.0/gcc/config/cris/linux.h 2011-04-16 15:31:48.239213212 -0400 77 78 @@ -103,7 +103,7 @@ 78 79 #undef CRIS_DEFAULT_CPU_VERSION … … 82 83 +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1" 83 84 84 /* We need an -rpath-link to ld.so.1, and presumably to each directory85 specified with -B. */86 diff -Naur gcc-4. 5.2.orig/gcc/config/freebsd-spec.h gcc-4.5.2/gcc/config/freebsd-spec.h87 --- gcc-4. 5.2.orig/gcc/config/freebsd-spec.h 2009-09-22 12:28:26.000000000 -040088 +++ gcc-4. 5.2/gcc/config/freebsd-spec.h 2011-01-08 13:32:34.486656575 -050089 @@ -1 46,7 +146,7 @@85 #undef CRIS_LINK_SUBTARGET_SPEC 86 #define CRIS_LINK_SUBTARGET_SPEC \ 87 diff -Naur gcc-4.6.0.orig/gcc/config/freebsd-spec.h gcc-4.6.0/gcc/config/freebsd-spec.h 88 --- gcc-4.6.0.orig/gcc/config/freebsd-spec.h 2011-02-13 19:40:15.000000000 -0500 89 +++ gcc-4.6.0/gcc/config/freebsd-spec.h 2011-04-16 15:31:48.239213212 -0400 90 @@ -131,7 +131,7 @@ 90 91 #if FBSD_MAJOR < 6 91 92 #define FBSD_DYNAMIC_LINKER "/usr/libexec/ld-elf.so.1" … … 96 97 97 98 #if defined(HAVE_LD_EH_FRAME_HDR) 98 diff -Naur gcc-4. 5.2.orig/gcc/config/frv/linux.h gcc-4.5.2/gcc/config/frv/linux.h99 --- gcc-4. 5.2.orig/gcc/config/frv/linux.h 2007-08-02 06:49:31.000000000 -0400100 +++ gcc-4. 5.2/gcc/config/frv/linux.h 2011-01-08 13:32:34.486656575 -050099 diff -Naur gcc-4.6.0.orig/gcc/config/frv/linux.h gcc-4.6.0/gcc/config/frv/linux.h 100 --- gcc-4.6.0.orig/gcc/config/frv/linux.h 2010-12-09 08:27:07.000000000 -0500 101 +++ gcc-4.6.0/gcc/config/frv/linux.h 2011-04-16 15:31:48.239213212 -0400 101 102 @@ -35,7 +35,7 @@ 102 103 #define ENDFILE_SPEC \ … … 108 109 #undef LINK_SPEC 109 110 #define LINK_SPEC "\ 110 diff -Naur gcc-4. 5.2.orig/gcc/config/i386/gnu.h gcc-4.5.2/gcc/config/i386/gnu.h111 --- gcc-4. 5.2.orig/gcc/config/i386/gnu.h 2008-11-13 18:28:46.000000000 -0500112 +++ gcc-4. 5.2/gcc/config/i386/gnu.h 2011-01-08 13:32:34.486656575 -0500111 diff -Naur gcc-4.6.0.orig/gcc/config/i386/gnu.h gcc-4.6.0/gcc/config/i386/gnu.h 112 --- gcc-4.6.0.orig/gcc/config/i386/gnu.h 2011-02-08 14:14:04.000000000 -0500 113 +++ gcc-4.6.0/gcc/config/i386/gnu.h 2011-04-16 15:31:48.239213212 -0400 113 114 @@ -21,7 +21,7 @@ 114 115 */ … … 120 121 #undef TARGET_VERSION 121 122 #define TARGET_VERSION fprintf (stderr, " (i386 GNU)"); 122 diff -Naur gcc-4. 5.2.orig/gcc/config/i386/linux.h gcc-4.5.2/gcc/config/i386/linux.h123 --- gcc-4. 5.2.orig/gcc/config/i386/linux.h 2010-03-24 16:44:48.000000000 -0400124 +++ gcc-4. 5.2/gcc/config/i386/linux.h 2011-01-08 13:32:34.486656575 -0500125 @@ - 100,7 +100,7 @@123 diff -Naur gcc-4.6.0.orig/gcc/config/i386/linux.h gcc-4.6.0/gcc/config/i386/linux.h 124 --- gcc-4.6.0.orig/gcc/config/i386/linux.h 2011-01-14 13:45:06.000000000 -0500 125 +++ gcc-4.6.0/gcc/config/i386/linux.h 2011-04-16 15:31:48.239213212 -0400 126 @@ -92,7 +92,7 @@ 126 127 127 128 /* These macros may be overridden in k*bsd-gnu.h and i386/k*bsd-gnu.h. */ … … 132 133 #undef ASM_SPEC 133 134 #define ASM_SPEC \ 134 diff -Naur gcc-4. 5.2.orig/gcc/config/i386/linux64.h gcc-4.5.2/gcc/config/i386/linux64.h135 --- gcc-4. 5.2.orig/gcc/config/i386/linux64.h 2010-03-24 16:44:48.000000000 -0400136 +++ gcc-4. 5.2/gcc/config/i386/linux64.h 2011-01-08 13:32:34.486656575 -0500137 @@ - 58,8 +58,8 @@135 diff -Naur gcc-4.6.0.orig/gcc/config/i386/linux64.h gcc-4.6.0/gcc/config/i386/linux64.h 136 --- gcc-4.6.0.orig/gcc/config/i386/linux64.h 2011-03-02 17:35:36.000000000 -0500 137 +++ gcc-4.6.0/gcc/config/i386/linux64.h 2011-04-16 15:31:48.239213212 -0400 138 @@ -62,8 +62,8 @@ 138 139 When the -shared link option is used a final link is not being 139 140 done. */ … … 146 147 #if TARGET_64BIT_DEFAULT 147 148 #define SPEC_32 "m32" 148 diff -Naur gcc-4. 5.2.orig/gcc/config/ia64/linux.h gcc-4.5.2/gcc/config/ia64/linux.h149 --- gcc-4. 5.2.orig/gcc/config/ia64/linux.h 2009-04-21 15:03:23.000000000 -0400150 +++ gcc-4. 5.2/gcc/config/ia64/linux.h 2011-01-08 13:32:34.486656575 -0500149 diff -Naur gcc-4.6.0.orig/gcc/config/ia64/linux.h gcc-4.6.0/gcc/config/ia64/linux.h 150 --- gcc-4.6.0.orig/gcc/config/ia64/linux.h 2010-12-09 08:27:07.000000000 -0500 151 +++ gcc-4.6.0/gcc/config/ia64/linux.h 2011-04-16 15:31:48.239213212 -0400 151 152 @@ -61,7 +61,7 @@ 152 153 /* Define this for shared library support because it isn't in the main … … 158 159 #undef LINK_SPEC 159 160 #define LINK_SPEC "\ 160 diff -Naur gcc-4. 5.2.orig/gcc/config/kfreebsd-gnu.h gcc-4.5.2/gcc/config/kfreebsd-gnu.h161 --- gcc-4. 5.2.orig/gcc/config/kfreebsd-gnu.h 2007-08-02 06:49:31.000000000 -0400162 +++ gcc-4. 5.2/gcc/config/kfreebsd-gnu.h 2011-01-08 13:32:34.486656575 -0500161 diff -Naur gcc-4.6.0.orig/gcc/config/kfreebsd-gnu.h gcc-4.6.0/gcc/config/kfreebsd-gnu.h 162 --- gcc-4.6.0.orig/gcc/config/kfreebsd-gnu.h 2007-08-02 06:49:31.000000000 -0400 163 +++ gcc-4.6.0/gcc/config/kfreebsd-gnu.h 2011-04-16 15:31:48.239213212 -0400 163 164 @@ -33,5 +33,5 @@ 164 165 … … 168 169 +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1" 169 170 #endif 170 diff -Naur gcc-4. 5.2.orig/gcc/config/knetbsd-gnu.h gcc-4.5.2/gcc/config/knetbsd-gnu.h171 --- gcc-4. 5.2.orig/gcc/config/knetbsd-gnu.h 2007-08-02 06:49:31.000000000 -0400172 +++ gcc-4. 5.2/gcc/config/knetbsd-gnu.h 2011-01-08 13:32:34.486656575 -0500171 diff -Naur gcc-4.6.0.orig/gcc/config/knetbsd-gnu.h gcc-4.6.0/gcc/config/knetbsd-gnu.h 172 --- gcc-4.6.0.orig/gcc/config/knetbsd-gnu.h 2007-08-02 06:49:31.000000000 -0400 173 +++ gcc-4.6.0/gcc/config/knetbsd-gnu.h 2011-04-16 15:31:48.239213212 -0400 173 174 @@ -34,5 +34,5 @@ 174 175 … … 178 179 +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1" 179 180 #endif 180 diff -Naur gcc-4. 5.2.orig/gcc/config/kopensolaris-gnu.h gcc-4.5.2/gcc/config/kopensolaris-gnu.h181 --- gcc-4. 5.2.orig/gcc/config/kopensolaris-gnu.h 2009-01-29 13:48:41.000000000 -0500182 +++ gcc-4. 5.2/gcc/config/kopensolaris-gnu.h 2011-01-08 13:32:34.486656575 -0500181 diff -Naur gcc-4.6.0.orig/gcc/config/kopensolaris-gnu.h gcc-4.6.0/gcc/config/kopensolaris-gnu.h 182 --- gcc-4.6.0.orig/gcc/config/kopensolaris-gnu.h 2009-01-29 13:48:41.000000000 -0500 183 +++ gcc-4.6.0/gcc/config/kopensolaris-gnu.h 2011-04-16 15:31:48.239213212 -0400 183 184 @@ -33,5 +33,5 @@ 184 185 … … 188 189 +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1" 189 190 #endif 190 diff -Naur gcc-4. 5.2.orig/gcc/config/linux.h gcc-4.5.2/gcc/config/linux.h191 --- gcc-4. 5.2.orig/gcc/config/linux.h 2009-04-09 11:00:19.000000000 -0400192 +++ gcc-4. 5.2/gcc/config/linux.h 2011-01-08 13:32:34.486656575 -0500193 @@ - 117,9 +117,9 @@191 diff -Naur gcc-4.6.0.orig/gcc/config/linux.h gcc-4.6.0/gcc/config/linux.h 192 --- gcc-4.6.0.orig/gcc/config/linux.h 2011-01-12 09:29:14.000000000 -0500 193 +++ gcc-4.6.0/gcc/config/linux.h 2011-04-16 15:34:53.103213282 -0400 194 @@ -74,9 +74,9 @@ 194 195 GLIBC_DYNAMIC_LINKER must be defined for each target using them, or 195 196 GLIBC_DYNAMIC_LINKER32 and GLIBC_DYNAMIC_LINKER64 for targets … … 201 202 +#define UCLIBC_DYNAMIC_LINKER32 "/tools/lib/ld-uClibc.so.0" 202 203 +#define UCLIBC_DYNAMIC_LINKER64 "/tools/lib/ld64-uClibc.so.0" 203 #define LINUX_DYNAMIC_LINKER \204 CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER)205 #define LINUX_DYNAMIC_LINKER32 \206 diff -Naur gcc-4. 5.2.orig/gcc/config/lm32/uclinux-elf.h gcc-4.5.2/gcc/config/lm32/uclinux-elf.h207 --- gcc-4. 5.2.orig/gcc/config/lm32/uclinux-elf.h 2009-11-11 11:43:06.000000000 -0500208 +++ gcc-4. 5.2/gcc/config/lm32/uclinux-elf.h 2011-01-08 13:32:34.486656575 -0500209 @@ -7 3,7 +73,7 @@204 #define BIONIC_DYNAMIC_LINKER "/system/bin/linker" 205 #define BIONIC_DYNAMIC_LINKER32 "/system/bin/linker" 206 #define BIONIC_DYNAMIC_LINKER64 "/system/bin/linker64" 207 diff -Naur gcc-4.6.0.orig/gcc/config/lm32/uclinux-elf.h gcc-4.6.0/gcc/config/lm32/uclinux-elf.h 208 --- gcc-4.6.0.orig/gcc/config/lm32/uclinux-elf.h 2011-01-14 13:42:32.000000000 -0500 209 +++ gcc-4.6.0/gcc/config/lm32/uclinux-elf.h 2011-04-16 15:38:23.975213362 -0400 210 @@ -72,7 +72,7 @@ 210 211 %{shared:-shared} \ 211 212 %{symbolic:-Bsymbolic} \ 212 213 %{rdynamic:-export-dynamic} \ 213 - %{!dynamic-linker:-dynamic-linker /lib/ld-linux.so.2}"214 + %{!dynamic-linker:-dynamic-linker /tools/lib/ld-linux.so.2}"214 - -dynamic-linker /lib/ld-linux.so.2" 215 + -dynamic-linker /tools/lib/ld-linux.so.2" 215 216 216 217 #define TARGET_OS_CPP_BUILTINS() LINUX_TARGET_OS_CPP_BUILTINS() 217 218 218 diff -Naur gcc-4. 5.2.orig/gcc/config/m32r/linux.h gcc-4.5.2/gcc/config/m32r/linux.h219 --- gcc-4. 5.2.orig/gcc/config/m32r/linux.h 2007-08-02 06:49:31.000000000 -0400220 +++ gcc-4. 5.2/gcc/config/m32r/linux.h 2011-01-08 13:32:34.486656575 -0500221 @@ - 58,7 +58,7 @@222 223 /* If ELF is the default format, we should not use /lib/elf. */219 diff -Naur gcc-4.6.0.orig/gcc/config/m32r/linux.h gcc-4.6.0/gcc/config/m32r/linux.h 220 --- gcc-4.6.0.orig/gcc/config/m32r/linux.h 2011-01-14 13:45:06.000000000 -0500 221 +++ gcc-4.6.0/gcc/config/m32r/linux.h 2011-04-16 15:31:48.395213212 -0400 222 @@ -47,7 +47,7 @@ 223 When the -shared link option is used a final link is not being 224 done. */ 224 225 225 226 -#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" … … 228 229 #undef LINK_SPEC 229 230 #if TARGET_LITTLE_ENDIAN 230 diff -Naur gcc-4. 5.2.orig/gcc/config/m68k/linux.h gcc-4.5.2/gcc/config/m68k/linux.h231 --- gcc-4. 5.2.orig/gcc/config/m68k/linux.h 2009-12-11 10:32:08.000000000 -0500232 +++ gcc-4. 5.2/gcc/config/m68k/linux.h 2011-01-08 13:32:34.486656575 -0500233 @@ - 84,7 +84,7 @@234 235 /* If ELF is the default format, we should not use /lib/elf. */231 diff -Naur gcc-4.6.0.orig/gcc/config/m68k/linux.h gcc-4.6.0/gcc/config/m68k/linux.h 232 --- gcc-4.6.0.orig/gcc/config/m68k/linux.h 2011-01-26 15:30:12.000000000 -0500 233 +++ gcc-4.6.0/gcc/config/m68k/linux.h 2011-04-16 15:31:48.395213212 -0400 234 @@ -75,7 +75,7 @@ 235 When the -shared link option is used a final link is not being 236 done. */ 236 237 237 238 -#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1" … … 240 241 #undef LINK_SPEC 241 242 #define LINK_SPEC "-m m68kelf %{shared} \ 242 diff -Naur gcc-4.5.2.orig/gcc/config/mips/linux.h gcc-4.5.2/gcc/config/mips/linux.h 243 --- gcc-4.5.2.orig/gcc/config/mips/linux.h 2009-02-20 10:20:38.000000000 -0500 244 +++ gcc-4.5.2/gcc/config/mips/linux.h 2011-01-08 13:32:34.486656575 -0500 245 @@ -64,7 +64,7 @@ 243 diff -Naur gcc-4.6.0.orig/gcc/config/microblaze/linux.h gcc-4.6.0/gcc/config/microblaze/linux.h 244 --- gcc-4.6.0.orig/gcc/config/microblaze/linux.h 2010-12-09 08:27:07.000000000 -0500 245 +++ gcc-4.6.0/gcc/config/microblaze/linux.h 2011-04-16 15:40:09.295213402 -0400 246 @@ -20,7 +20,7 @@ 247 <http://www.gnu.org/licenses/>. */ 248 249 250 -#define DYNAMIC_LINKER "/lib/ld.so.1" 251 +#define DYNAMIC_LINKER "/tools/lib/ld.so.1" 252 #undef SUBTARGET_EXTRA_SPECS 253 #define SUBTARGET_EXTRA_SPECS \ 254 { "dynamic_linker", DYNAMIC_LINKER } 255 diff -Naur gcc-4.6.0.orig/gcc/config/mips/linux.h gcc-4.6.0/gcc/config/mips/linux.h 256 --- gcc-4.6.0.orig/gcc/config/mips/linux.h 2011-01-14 13:45:06.000000000 -0500 257 +++ gcc-4.6.0/gcc/config/mips/linux.h 2011-04-16 15:31:48.395213212 -0400 258 @@ -61,7 +61,7 @@ 246 259 #undef MIPS_DEFAULT_GVALUE 247 260 #define MIPS_DEFAULT_GVALUE 0 … … 252 265 /* Borrowed from sparc/linux.h */ 253 266 #undef LINK_SPEC 254 diff -Naur gcc-4. 5.2.orig/gcc/config/mips/linux64.h gcc-4.5.2/gcc/config/mips/linux64.h255 --- gcc-4. 5.2.orig/gcc/config/mips/linux64.h 2009-02-20 10:20:38.000000000 -0500256 +++ gcc-4. 5.2/gcc/config/mips/linux64.h 2011-01-08 13:32:34.490657437 -0500267 diff -Naur gcc-4.6.0.orig/gcc/config/mips/linux64.h gcc-4.6.0/gcc/config/mips/linux64.h 268 --- gcc-4.6.0.orig/gcc/config/mips/linux64.h 2011-01-19 15:39:09.000000000 -0500 269 +++ gcc-4.6.0/gcc/config/mips/linux64.h 2011-04-16 15:35:35.847213298 -0400 257 270 @@ -35,10 +35,10 @@ 258 271 %{!shared: \ … … 267 280 +#define GLIBC_DYNAMIC_LINKERN32 "/tools/lib32/ld.so.1" 268 281 +#define UCLIBC_DYNAMIC_LINKERN32 "/tools/lib32/ld-uClibc.so.0" 282 #define BIONIC_DYNAMIC_LINKERN32 "/system/bin/linker32" 269 283 #define LINUX_DYNAMIC_LINKERN32 \ 270 CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKERN32, UCLIBC_DYNAMIC_LINKERN32) 271 272 diff -Naur gcc-4.5.2.orig/gcc/config/mn10300/linux.h gcc-4.5.2/gcc/config/mn10300/linux.h 273 --- gcc-4.5.2.orig/gcc/config/mn10300/linux.h 2007-08-02 06:49:31.000000000 -0400 274 +++ gcc-4.5.2/gcc/config/mn10300/linux.h 2011-01-08 13:32:34.490657437 -0500 284 CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKERN32, UCLIBC_DYNAMIC_LINKERN32, \ 285 diff -Naur gcc-4.6.0.orig/gcc/config/mn10300/linux.h gcc-4.6.0/gcc/config/mn10300/linux.h 286 --- gcc-4.6.0.orig/gcc/config/mn10300/linux.h 2010-12-31 09:34:26.000000000 -0500 287 +++ gcc-4.6.0/gcc/config/mn10300/linux.h 2011-04-16 15:31:48.395213212 -0400 275 288 @@ -32,7 +32,7 @@ 276 289 #undef ASM_SPEC 277 #define ASM_SPEC " %{Wa,*:%*}"290 #define ASM_SPEC "" 278 291 279 292 -#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1" … … 282 295 #undef LINK_SPEC 283 296 #define LINK_SPEC "%{mrelax:--relax} %{shared:-shared} \ 284 diff -Naur gcc-4. 5.2.orig/gcc/config/pa/pa-linux.h gcc-4.5.2/gcc/config/pa/pa-linux.h285 --- gcc-4. 5.2.orig/gcc/config/pa/pa-linux.h 2009-12-04 02:47:51.000000000 -0500286 +++ gcc-4. 5.2/gcc/config/pa/pa-linux.h 2011-01-08 13:32:34.490657437 -0500287 @@ -3 8,7 +38,7 @@297 diff -Naur gcc-4.6.0.orig/gcc/config/pa/pa-linux.h gcc-4.6.0/gcc/config/pa/pa-linux.h 298 --- gcc-4.6.0.orig/gcc/config/pa/pa-linux.h 2011-01-26 15:27:04.000000000 -0500 299 +++ gcc-4.6.0/gcc/config/pa/pa-linux.h 2011-04-16 15:31:48.395213212 -0400 300 @@ -39,7 +39,7 @@ 288 301 /* Define this for shared library support because it isn't in the main 289 302 linux.h file. */ … … 294 307 #undef LINK_SPEC 295 308 #define LINK_SPEC "\ 296 diff -Naur gcc-4. 5.2.orig/gcc/config/rs6000/linux64.h gcc-4.5.2/gcc/config/rs6000/linux64.h297 --- gcc-4. 5.2.orig/gcc/config/rs6000/linux64.h 2010-11-17 01:09:53.000000000 -0500298 +++ gcc-4. 5.2/gcc/config/rs6000/linux64.h 2011-01-08 13:32:34.490657437 -0500299 @@ -3 40,10 +340,10 @@309 diff -Naur gcc-4.6.0.orig/gcc/config/rs6000/linux64.h gcc-4.6.0/gcc/config/rs6000/linux64.h 310 --- gcc-4.6.0.orig/gcc/config/rs6000/linux64.h 2011-03-07 02:50:23.000000000 -0500 311 +++ gcc-4.6.0/gcc/config/rs6000/linux64.h 2011-04-16 15:36:11.471213312 -0400 312 @@ -372,10 +372,10 @@ 300 313 #undef LINK_OS_DEFAULT_SPEC 301 314 #define LINK_OS_DEFAULT_SPEC "%(link_os_linux)" … … 309 322 +#define UCLIBC_DYNAMIC_LINKER32 "/tools/lib/ld-uClibc.so.0" 310 323 +#define UCLIBC_DYNAMIC_LINKER64 "/tools/lib/ld64-uClibc.so.0" 311 #if UCLIBC_DEFAULT312 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc: %{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}"313 #el se314 diff -Naur gcc-4. 5.2.orig/gcc/config/rs6000/sysv4.h gcc-4.5.2/gcc/config/rs6000/sysv4.h315 --- gcc-4. 5.2.orig/gcc/config/rs6000/sysv4.h 2010-11-03 09:55:26.000000000 -0400316 +++ gcc-4. 5.2/gcc/config/rs6000/sysv4.h 2011-01-08 13:32:34.490657437 -0500317 @@ -8 99,8 +899,8 @@324 #if DEFAULT_LIBC == LIBC_UCLIBC 325 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:" G ";:" U "}" 326 #elif DEFAULT_LIBC == LIBC_GLIBC 327 diff -Naur gcc-4.6.0.orig/gcc/config/rs6000/sysv4.h gcc-4.6.0/gcc/config/rs6000/sysv4.h 328 --- gcc-4.6.0.orig/gcc/config/rs6000/sysv4.h 2011-03-07 02:50:23.000000000 -0500 329 +++ gcc-4.6.0/gcc/config/rs6000/sysv4.h 2011-04-16 15:37:33.279213342 -0400 330 @@ -818,8 +818,8 @@ 318 331 319 332 #define LINK_START_LINUX_SPEC "" … … 323 336 +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1" 324 337 +#define UCLIBC_DYNAMIC_LINKER "/tools/lib/ld-uClibc.so.0" 325 #if UCLIBC_DEFAULT326 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc: %{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}"327 #el se328 @@ - 942,7 +942,7 @@338 #if DEFAULT_LIBC == LIBC_UCLIBC 339 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:" G ";:" U "}" 340 #elif !defined (DEFAULT_LIBC) || DEFAULT_LIBC == LIBC_GLIBC 341 @@ -863,7 +863,7 @@ 329 342 330 343 #define LINK_OS_GNU_SPEC "-m elf32ppclinux %{!shared: %{!static: \ 331 344 %{rdynamic:-export-dynamic} \ 332 - %{!dynamic-linker:-dynamic-linker /lib/ld.so.1}}}"333 + %{!dynamic-linker:-dynamic-linker /tools/lib/ld.so.1}}}"345 - -dynamic-linker /lib/ld.so.1}}" 346 + -dynamic-linker /tools/lib/ld.so.1}}" 334 347 335 348 #define CPP_OS_GNU_SPEC "-D__unix__ -D__gnu_hurd__ -D__GNU__ \ 336 349 %{!undef: \ 337 diff -Naur gcc-4. 5.2.orig/gcc/config/s390/linux.h gcc-4.5.2/gcc/config/s390/linux.h338 --- gcc-4. 5.2.orig/gcc/config/s390/linux.h 2007-08-02 06:49:31.000000000 -0400339 +++ gcc-4. 5.2/gcc/config/s390/linux.h 2011-01-08 13:32:34.490657437 -0500350 diff -Naur gcc-4.6.0.orig/gcc/config/s390/linux.h gcc-4.6.0/gcc/config/s390/linux.h 351 --- gcc-4.6.0.orig/gcc/config/s390/linux.h 2010-12-09 08:27:07.000000000 -0500 352 +++ gcc-4.6.0/gcc/config/s390/linux.h 2011-04-16 15:31:48.399213212 -0400 340 353 @@ -72,8 +72,8 @@ 341 354 #define MULTILIB_DEFAULTS { "m31" } … … 349 362 #undef LINK_SPEC 350 363 #define LINK_SPEC \ 351 diff -Naur gcc-4. 5.2.orig/gcc/config/sh/linux.h gcc-4.5.2/gcc/config/sh/linux.h352 --- gcc-4. 5.2.orig/gcc/config/sh/linux.h 2007-08-02 06:49:31.000000000 -0400353 +++ gcc-4. 5.2/gcc/config/sh/linux.h 2011-01-08 13:32:34.490657437 -0500364 diff -Naur gcc-4.6.0.orig/gcc/config/sh/linux.h gcc-4.6.0/gcc/config/sh/linux.h 365 --- gcc-4.6.0.orig/gcc/config/sh/linux.h 2010-12-09 08:27:07.000000000 -0500 366 +++ gcc-4.6.0/gcc/config/sh/linux.h 2011-04-16 15:31:48.399213212 -0400 354 367 @@ -47,7 +47,7 @@ 355 368 … … 361 374 #undef SUBTARGET_LINK_EMUL_SUFFIX 362 375 #define SUBTARGET_LINK_EMUL_SUFFIX "_linux" 363 diff -Naur gcc-4. 5.2.orig/gcc/config/sparc/linux.h gcc-4.5.2/gcc/config/sparc/linux.h364 --- gcc-4. 5.2.orig/gcc/config/sparc/linux.h 2010-09-22 17:15:37.000000000 -0400365 +++ gcc-4. 5.2/gcc/config/sparc/linux.h 2011-01-08 13:32:34.490657437 -0500366 @@ - 83,10 +83,10 @@367 368 /* If ELF is the default format, we should not use /lib/elf. */376 diff -Naur gcc-4.6.0.orig/gcc/config/sparc/linux.h gcc-4.6.0/gcc/config/sparc/linux.h 377 --- gcc-4.6.0.orig/gcc/config/sparc/linux.h 2011-01-26 15:30:12.000000000 -0500 378 +++ gcc-4.6.0/gcc/config/sparc/linux.h 2011-04-16 15:31:48.399213212 -0400 379 @@ -71,10 +71,10 @@ 380 When the -shared link option is used a final link is not being 381 done. */ 369 382 370 383 -#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" … … 376 389 %{!mno-relax:%{!r:-relax}} \ 377 390 %{!shared: \ 378 %{! ibcs: \379 diff -Naur gcc-4. 5.2.orig/gcc/config/sparc/linux64.h gcc-4.5.2/gcc/config/sparc/linux64.h380 --- gcc-4. 5.2.orig/gcc/config/sparc/linux64.h 2010-09-22 17:15:37.000000000 -0400381 +++ gcc-4. 5.2/gcc/config/sparc/linux64.h 2011-01-08 13:32:34.490657437 -0500382 @@ -10 9,8 +109,8 @@383 384 /* If ELF is the default format, we should not use /lib/elf. */391 %{!static: \ 392 diff -Naur gcc-4.6.0.orig/gcc/config/sparc/linux64.h gcc-4.6.0/gcc/config/sparc/linux64.h 393 --- gcc-4.6.0.orig/gcc/config/sparc/linux64.h 2011-02-17 08:57:21.000000000 -0500 394 +++ gcc-4.6.0/gcc/config/sparc/linux64.h 2011-04-16 15:31:48.399213212 -0400 395 @@ -101,8 +101,8 @@ 396 When the -shared link option is used a final link is not being 397 done. */ 385 398 386 399 -#define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2" … … 391 404 #ifdef SPARC_BI_ARCH 392 405 393 @@ -1 21,7 +121,7 @@406 @@ -113,7 +113,7 @@ 394 407 { "link_arch_default", LINK_ARCH_DEFAULT_SPEC }, \ 395 408 { "link_arch", LINK_ARCH_SPEC }, … … 398 411 +#define LINK_ARCH32_SPEC "-m elf32_sparc -Y P,%R/tools/lib %{shared:-shared} \ 399 412 %{!shared: \ 400 %{! ibcs: \401 %{ !static:\402 @@ -1 30,7 +130,7 @@403 %{static:-static}}} \413 %{!static: \ 414 %{rdynamic:-export-dynamic} \ 415 @@ -121,7 +121,7 @@ 416 %{static:-static}} \ 404 417 " 405 418 … … 407 420 +#define LINK_ARCH64_SPEC "-m elf64_sparc -Y P,%R/tools/lib64 %{shared:-shared} \ 408 421 %{!shared: \ 409 %{! ibcs: \410 %{ !static:\411 @@ - 211,7 +211,7 @@422 %{!static: \ 423 %{rdynamic:-export-dynamic} \ 424 @@ -193,7 +193,7 @@ 412 425 #else /* !SPARC_BI_ARCH */ 413 426 … … 416 429 +#define LINK_SPEC "-m elf64_sparc -Y P,%R/tools/lib64 %{shared:-shared} \ 417 430 %{!shared: \ 418 %{! ibcs: \419 %{ !static:\420 diff -Naur gcc-4. 5.2.orig/gcc/config/vax/linux.h gcc-4.5.2/gcc/config/vax/linux.h421 --- gcc-4. 5.2.orig/gcc/config/vax/linux.h 2009-11-03 19:07:24.000000000 -0500422 +++ gcc-4. 5.2/gcc/config/vax/linux.h 2011-01-08 13:32:34.494657459 -0500423 @@ -44, 5 +44,5@@431 %{!static: \ 432 %{rdynamic:-export-dynamic} \ 433 diff -Naur gcc-4.6.0.orig/gcc/config/vax/linux.h gcc-4.6.0/gcc/config/vax/linux.h 434 --- gcc-4.6.0.orig/gcc/config/vax/linux.h 2010-12-09 20:03:33.000000000 -0500 435 +++ gcc-4.6.0/gcc/config/vax/linux.h 2011-04-16 15:38:05.583213354 -0400 436 @@ -44,7 +44,7 @@ 424 437 %{!shared: \ 425 438 %{!static: \ 426 439 %{rdynamic:-export-dynamic} \ 427 - %{!dynamic-linker:-dynamic-linker /lib/ld.so.1}} \428 + %{!dynamic-linker:-dynamic-linker /tools/lib/ld.so.1}} \440 - -dynamic-linker /lib/ld.so.1} \ 441 + -dynamic-linker /tools/lib/ld.so.1} \ 429 442 %{static:-static}}" 430 diff -Naur gcc-4.5.2.orig/gcc/config/xtensa/linux.h gcc-4.5.2/gcc/config/xtensa/linux.h 431 --- gcc-4.5.2.orig/gcc/config/xtensa/linux.h 2008-01-17 20:37:53.000000000 -0500 432 +++ gcc-4.5.2/gcc/config/xtensa/linux.h 2011-01-08 13:32:34.494657459 -0500 433 @@ -43,7 +43,7 @@ 443 444 #undef WCHAR_TYPE 445 diff -Naur gcc-4.6.0.orig/gcc/config/xtensa/linux.h gcc-4.6.0/gcc/config/xtensa/linux.h 446 --- gcc-4.6.0.orig/gcc/config/xtensa/linux.h 2011-01-14 13:45:06.000000000 -0500 447 +++ gcc-4.6.0/gcc/config/xtensa/linux.h 2011-04-16 15:31:48.399213212 -0400 448 @@ -48,7 +48,7 @@ 434 449 %{mlongcalls:--longcalls} \ 435 450 %{mno-longcalls:--no-longcalls}"
Note:
See TracChangeset
for help on using the changeset viewer.