Changeset af43a09 for patches/gcc-4.6.0-pure64-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-pure64-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 Pontus Carlsson <PontusCarlsson at live dot se> 11 Rediffed Against 4.6.0 By Joe Ciccone <jciccone@gmail.com> 11 12 12 diff -Naur gcc-4. 5.2.orig/gcc/config/i386/linux64.h gcc-4.5.2/gcc/config/i386/linux64.h13 --- gcc-4. 5.2.orig/gcc/config/i386/linux64.h 2010-03-24 16:44:48.000000000 -040014 +++ gcc-4. 5.2/gcc/config/i386/linux64.h 2011-01-08 13:41:39.814665253 -050015 @@ - 58,8 +58,8 @@13 diff -Naur gcc-4.6.0.orig/gcc/config/i386/linux64.h gcc-4.6.0/gcc/config/i386/linux64.h 14 --- gcc-4.6.0.orig/gcc/config/i386/linux64.h 2011-03-02 17:35:36.000000000 -0500 15 +++ gcc-4.6.0/gcc/config/i386/linux64.h 2011-04-16 15:49:02.335213604 -0400 16 @@ -62,8 +62,8 @@ 16 17 When the -shared link option is used a final link is not being 17 18 done. */ … … 24 25 #if TARGET_64BIT_DEFAULT 25 26 #define SPEC_32 "m32" 26 diff -Naur gcc-4. 5.2.orig/gcc/config/i386/t-linux64 gcc-4.5.2/gcc/config/i386/t-linux6427 --- gcc-4. 5.2.orig/gcc/config/i386/t-linux64 2009-04-21 15:03:23.000000000 -040028 +++ gcc-4. 5.2/gcc/config/i386/t-linux64 2011-01-08 13:41:39.814665253 -050027 diff -Naur gcc-4.6.0.orig/gcc/config/i386/t-linux64 gcc-4.6.0/gcc/config/i386/t-linux64 28 --- gcc-4.6.0.orig/gcc/config/i386/t-linux64 2009-04-21 15:03:23.000000000 -0400 29 +++ gcc-4.6.0/gcc/config/i386/t-linux64 2011-04-16 15:49:02.335213604 -0400 29 30 @@ -25,7 +25,7 @@ 30 31 … … 36 37 LIBGCC = stmp-multilib 37 38 INSTALL_LIBGCC = install-multilib 38 diff -Naur gcc-4. 5.2.orig/gcc/config/linux.h gcc-4.5.2/gcc/config/linux.h39 --- gcc-4. 5.2.orig/gcc/config/linux.h 2009-04-09 11:00:19.000000000 -040040 +++ gcc-4. 5.2/gcc/config/linux.h 2011-01-08 13:41:39.814665253 -050041 @@ - 118,7 +118,7 @@39 diff -Naur gcc-4.6.0.orig/gcc/config/linux.h gcc-4.6.0/gcc/config/linux.h 40 --- gcc-4.6.0.orig/gcc/config/linux.h 2011-01-12 09:29:14.000000000 -0500 41 +++ gcc-4.6.0/gcc/config/linux.h 2011-04-16 15:49:02.335213604 -0400 42 @@ -75,7 +75,7 @@ 42 43 GLIBC_DYNAMIC_LINKER32 and GLIBC_DYNAMIC_LINKER64 for targets 43 44 supporting both 32-bit and 64-bit compilation. */ … … 46 47 +#define UCLIBC_DYNAMIC_LINKER32 "/lib32/ld-uClibc.so.0" 47 48 #define UCLIBC_DYNAMIC_LINKER64 "/lib/ld64-uClibc.so.0" 48 #define LINUX_DYNAMIC_LINKER \49 CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER)50 diff -Naur gcc-4. 5.2.orig/gcc/config/mips/linux64.h gcc-4.5.2/gcc/config/mips/linux64.h51 --- gcc-4. 5.2.orig/gcc/config/mips/linux64.h 2009-02-20 10:20:38.000000000 -050052 +++ gcc-4. 5.2/gcc/config/mips/linux64.h 2011-01-08 13:41:39.814665253 -050049 #define BIONIC_DYNAMIC_LINKER "/system/bin/linker" 50 #define BIONIC_DYNAMIC_LINKER32 "/system/bin/linker" 51 diff -Naur gcc-4.6.0.orig/gcc/config/mips/linux64.h gcc-4.6.0/gcc/config/mips/linux64.h 52 --- gcc-4.6.0.orig/gcc/config/mips/linux64.h 2011-01-19 15:39:09.000000000 -0500 53 +++ gcc-4.6.0/gcc/config/mips/linux64.h 2011-04-16 15:50:00.807213626 -0400 53 54 @@ -35,10 +35,10 @@ 54 55 %{!shared: \ … … 63 64 +#define GLIBC_DYNAMIC_LINKERN32 "/lib64/ld.so.1" 64 65 +#define UCLIBC_DYNAMIC_LINKERN32 "/lib64/ld-uClibc.so.0" 66 #define BIONIC_DYNAMIC_LINKERN32 "/system/bin/linker32" 65 67 #define LINUX_DYNAMIC_LINKERN32 \ 66 CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKERN32, UCLIBC_DYNAMIC_LINKERN32) 67 68 diff -Naur gcc-4.5.2.orig/gcc/config/mips/t-linux64 gcc-4.5.2/gcc/config/mips/t-linux64 69 --- gcc-4.5.2.orig/gcc/config/mips/t-linux64 2009-04-21 15:03:23.000000000 -0400 70 +++ gcc-4.5.2/gcc/config/mips/t-linux64 2011-01-08 13:41:39.814665253 -0500 68 CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKERN32, UCLIBC_DYNAMIC_LINKERN32, \ 69 diff -Naur gcc-4.6.0.orig/gcc/config/mips/t-linux64 gcc-4.6.0/gcc/config/mips/t-linux64 70 --- gcc-4.6.0.orig/gcc/config/mips/t-linux64 2009-04-21 15:03:23.000000000 -0400 71 +++ gcc-4.6.0/gcc/config/mips/t-linux64 2011-04-16 15:49:02.335213604 -0400 71 72 @@ -18,7 +18,7 @@ 72 73 … … 78 79 EXTRA_MULTILIB_PARTS=crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o 79 80 80 diff -Naur gcc-4. 5.2.orig/gcc/config/rs6000/linux64.h gcc-4.5.2/gcc/config/rs6000/linux64.h81 --- gcc-4. 5.2.orig/gcc/config/rs6000/linux64.h 2010-11-17 01:09:53.000000000 -050082 +++ gcc-4. 5.2/gcc/config/rs6000/linux64.h 2011-01-08 13:41:39.814665253 -050083 @@ -3 40,9 +340,9 @@81 diff -Naur gcc-4.6.0.orig/gcc/config/rs6000/linux64.h gcc-4.6.0/gcc/config/rs6000/linux64.h 82 --- gcc-4.6.0.orig/gcc/config/rs6000/linux64.h 2011-03-07 02:50:23.000000000 -0500 83 +++ gcc-4.6.0/gcc/config/rs6000/linux64.h 2011-04-16 15:49:02.335213604 -0400 84 @@ -372,9 +372,9 @@ 84 85 #undef LINK_OS_DEFAULT_SPEC 85 86 #define LINK_OS_DEFAULT_SPEC "%(link_os_linux)" … … 92 93 +#define UCLIBC_DYNAMIC_LINKER32 "/lib32/ld-uClibc.so.0" 93 94 #define UCLIBC_DYNAMIC_LINKER64 "/lib/ld64-uClibc.so.0" 94 #if UCLIBC_DEFAULT95 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc: %{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}"96 diff -Naur gcc-4. 5.2.orig/gcc/config/rs6000/t-linux64 gcc-4.5.2/gcc/config/rs6000/t-linux6497 --- gcc-4. 5.2.orig/gcc/config/rs6000/t-linux64 2009-04-21 15:03:23.000000000 -040098 +++ gcc-4. 5.2/gcc/config/rs6000/t-linux64 2011-01-08 13:41:39.814665253 -050095 #if DEFAULT_LIBC == LIBC_UCLIBC 96 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:" G ";:" U "}" 97 diff -Naur gcc-4.6.0.orig/gcc/config/rs6000/t-linux64 gcc-4.6.0/gcc/config/rs6000/t-linux64 98 --- gcc-4.6.0.orig/gcc/config/rs6000/t-linux64 2009-04-21 15:03:23.000000000 -0400 99 +++ gcc-4.6.0/gcc/config/rs6000/t-linux64 2011-04-16 15:49:02.335213604 -0400 99 100 @@ -36,7 +36,7 @@ 100 101 MULTILIB_EXTRA_OPTS = fPIC mstrict-align … … 106 107 107 108 softfp_wrap_start := '\#ifndef __powerpc64__' 108 diff -Naur gcc-4. 5.2.orig/gcc/config/s390/linux.h gcc-4.5.2/gcc/config/s390/linux.h109 --- gcc-4. 5.2.orig/gcc/config/s390/linux.h 2007-08-02 06:49:31.000000000 -0400110 +++ gcc-4. 5.2/gcc/config/s390/linux.h 2011-01-08 13:41:39.814665253 -0500109 diff -Naur gcc-4.6.0.orig/gcc/config/s390/linux.h gcc-4.6.0/gcc/config/s390/linux.h 110 --- gcc-4.6.0.orig/gcc/config/s390/linux.h 2010-12-09 08:27:07.000000000 -0500 111 +++ gcc-4.6.0/gcc/config/s390/linux.h 2011-04-16 15:49:02.335213604 -0400 111 112 @@ -72,7 +72,7 @@ 112 113 #define MULTILIB_DEFAULTS { "m31" } … … 118 119 119 120 #undef LINK_SPEC 120 diff -Naur gcc-4. 5.2.orig/gcc/config/s390/t-linux64 gcc-4.5.2/gcc/config/s390/t-linux64121 --- gcc-4. 5.2.orig/gcc/config/s390/t-linux64 2010-10-04 12:54:26.000000000 -0400122 +++ gcc-4. 5.2/gcc/config/s390/t-linux64 2011-01-08 13:41:51.762743997 -0500121 diff -Naur gcc-4.6.0.orig/gcc/config/s390/t-linux64 gcc-4.6.0/gcc/config/s390/t-linux64 122 --- gcc-4.6.0.orig/gcc/config/s390/t-linux64 2010-10-04 12:51:59.000000000 -0400 123 +++ gcc-4.6.0/gcc/config/s390/t-linux64 2011-04-16 15:49:02.335213604 -0400 123 124 @@ -7,4 +7,4 @@ 124 125 … … 127 128 -MULTILIB_OSDIRNAMES = ../lib64 $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib) 128 129 +MULTILIB_OSDIRNAMES = ../lib ../lib32 129 diff -Naur gcc-4. 5.2.orig/gcc/config/sparc/linux.h gcc-4.5.2/gcc/config/sparc/linux.h130 --- gcc-4. 5.2.orig/gcc/config/sparc/linux.h 2010-09-22 17:15:37.000000000 -0400131 +++ gcc-4. 5.2/gcc/config/sparc/linux.h 2011-01-08 13:41:39.814665253 -0500132 @@ - 86,7 +86,7 @@130 diff -Naur gcc-4.6.0.orig/gcc/config/sparc/linux.h gcc-4.6.0/gcc/config/sparc/linux.h 131 --- gcc-4.6.0.orig/gcc/config/sparc/linux.h 2011-01-26 15:30:12.000000000 -0500 132 +++ gcc-4.6.0/gcc/config/sparc/linux.h 2011-04-16 15:49:02.335213604 -0400 133 @@ -74,7 +74,7 @@ 133 134 #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" 134 135 … … 138 139 %{!mno-relax:%{!r:-relax}} \ 139 140 %{!shared: \ 140 %{! ibcs: \141 diff -Naur gcc-4. 5.2.orig/gcc/config/sparc/linux64.h gcc-4.5.2/gcc/config/sparc/linux64.h142 --- gcc-4. 5.2.orig/gcc/config/sparc/linux64.h 2010-09-22 17:15:37.000000000 -0400143 +++ gcc-4. 5.2/gcc/config/sparc/linux64.h 2011-01-08 13:41:39.814665253 -0500144 @@ -10 9,8 +109,8 @@145 146 /* If ELF is the default format, we should not use /lib/elf. */141 %{!static: \ 142 diff -Naur gcc-4.6.0.orig/gcc/config/sparc/linux64.h gcc-4.6.0/gcc/config/sparc/linux64.h 143 --- gcc-4.6.0.orig/gcc/config/sparc/linux64.h 2011-02-17 08:57:21.000000000 -0500 144 +++ gcc-4.6.0/gcc/config/sparc/linux64.h 2011-04-16 15:49:02.335213604 -0400 145 @@ -101,8 +101,8 @@ 146 When the -shared link option is used a final link is not being 147 done. */ 147 148 148 149 -#define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2" … … 153 154 #ifdef SPARC_BI_ARCH 154 155 155 @@ -1 21,7 +121,7 @@156 @@ -113,7 +113,7 @@ 156 157 { "link_arch_default", LINK_ARCH_DEFAULT_SPEC }, \ 157 158 { "link_arch", LINK_ARCH_SPEC }, … … 160 161 +#define LINK_ARCH32_SPEC "-m elf32_sparc -Y P,%R/lib32 %{shared:-shared} \ 161 162 %{!shared: \ 162 %{! ibcs: \163 %{ !static:\164 @@ -1 30,7 +130,7 @@165 %{static:-static}}} \163 %{!static: \ 164 %{rdynamic:-export-dynamic} \ 165 @@ -121,7 +121,7 @@ 166 %{static:-static}} \ 166 167 " 167 168 … … 169 170 +#define LINK_ARCH64_SPEC "-m elf64_sparc -Y P,%R/lib %{shared:-shared} \ 170 171 %{!shared: \ 171 %{! ibcs: \172 %{ !static:\173 @@ - 211,7 +211,7 @@172 %{!static: \ 173 %{rdynamic:-export-dynamic} \ 174 @@ -193,7 +193,7 @@ 174 175 #else /* !SPARC_BI_ARCH */ 175 176 … … 178 179 +#define LINK_SPEC "-m elf64_sparc -Y P,%R/lib %{shared:-shared} \ 179 180 %{!shared: \ 180 %{! ibcs: \181 %{ !static:\182 diff -Naur gcc-4. 5.2.orig/gcc/config/sparc/t-linux64 gcc-4.5.2/gcc/config/sparc/t-linux64183 --- gcc-4. 5.2.orig/gcc/config/sparc/t-linux64 2010-10-04 12:54:26.000000000 -0400184 +++ gcc-4. 5.2/gcc/config/sparc/t-linux64 2011-01-08 13:42:07.870657323 -0500181 %{!static: \ 182 %{rdynamic:-export-dynamic} \ 183 diff -Naur gcc-4.6.0.orig/gcc/config/sparc/t-linux64 gcc-4.6.0/gcc/config/sparc/t-linux64 184 --- gcc-4.6.0.orig/gcc/config/sparc/t-linux64 2011-01-03 15:52:22.000000000 -0500 185 +++ gcc-4.6.0/gcc/config/sparc/t-linux64 2011-04-16 15:49:02.335213604 -0400 185 186 @@ -26,7 +26,7 @@ 186 187
Note:
See TracChangeset
for help on using the changeset viewer.