source:
patches/gcc-4.1.1-pure64-1.patch@
2da4918
Last change on this file since 2da4918 was 89d1048, checked in by , 18 years ago | |
---|---|
|
|
File size: 6.4 KB |
-
gcc/config/i386/linux64.h
Submitted By: Jim Gifford (patches at jg555 dot com) Date: 2005-08-27 Initial Package Version: 4.x Origin: Ken Moffat and Jim Gifford Rediffed against 4.1.0 by Chris Staub Upstream Status: LFS Specific Description: Make LIB64 builds in /lib instead of /lib64 diff -Naur gcc-4.1.0.orig/gcc/config/i386/linux64.h gcc-4.1.0/gcc/config/i386/linux64.h
old new 60 60 %{!shared: \ 61 61 %{!static: \ 62 62 %{rdynamic:-export-dynamic} \ 63 %{m32:%{!dynamic-linker:-dynamic-linker /lib /ld-linux.so.2}} \64 %{!m32:%{!dynamic-linker:-dynamic-linker /lib 64/ld-linux-x86-64.so.2}}} \63 %{m32:%{!dynamic-linker:-dynamic-linker /lib32/ld-linux.so.2}} \ 64 %{!m32:%{!dynamic-linker:-dynamic-linker /lib/ld-linux-x86-64.so.2}}} \ 65 65 %{static:-static}}" 66 66 67 67 /* Similar to standard Linux, but adding -ffast-math support. */ -
gcc/config/i386/t-linux64
diff -Naur gcc-4.1.0.orig/gcc/config/i386/t-linux64 gcc-4.1.0/gcc/config/i386/t-linux64
old new 6 6 7 7 MULTILIB_OPTIONS = m64/m32 8 8 MULTILIB_DIRNAMES = 64 32 9 MULTILIB_OSDIRNAMES = ../lib 64 ../lib9 MULTILIB_OSDIRNAMES = ../lib ../lib32 10 10 11 11 LIBGCC = stmp-multilib 12 12 INSTALL_LIBGCC = install-multilib -
gcc/config/mips/linux64.h
diff -Naur gcc-4.1.0.orig/gcc/config/mips/linux64.h gcc-4.1.0/gcc/config/mips/linux64.h
old new 47 47 %{!static: \ 48 48 %{rdynamic:-export-dynamic} \ 49 49 %{!dynamic-linker: \ 50 %{mabi=n32: -dynamic-linker /lib 32/ld.so.1} \51 %{mabi=64: -dynamic-linker /lib 64/ld.so.1} \52 %{mabi=32: -dynamic-linker /lib /ld.so.1}}} \50 %{mabi=n32: -dynamic-linker /lib64/ld.so.1} \ 51 %{mabi=64: -dynamic-linker /lib/ld.so.1} \ 52 %{mabi=32: -dynamic-linker /lib32/ld.so.1}}} \ 53 53 %{static:-static}}} \ 54 54 %{mabi=n32:-melf32%{EB:b}%{EL:l}tsmipn32} \ 55 55 %{mabi=64:-melf64%{EB:b}%{EL:l}tsmip} \ -
gcc/config/mips/t-linux64
diff -Naur gcc-4.1.0.orig/gcc/config/mips/t-linux64 gcc-4.1.0/gcc/config/mips/t-linux64
old new 1 1 MULTILIB_OPTIONS = mabi=n32/mabi=32/mabi=64 2 2 MULTILIB_DIRNAMES = n32 32 64 3 MULTILIB_OSDIRNAMES = ../lib 32 ../lib ../lib643 MULTILIB_OSDIRNAMES = ../lib64 ../lib32 ../lib 4 4 5 5 EXTRA_MULTILIB_PARTS=crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o 6 6 -
gcc/config/rs6000/linux64.h
diff -Naur gcc-4.1.0.orig/gcc/config/rs6000/linux64.h gcc-4.1.0/gcc/config/rs6000/linux64.h
old new 339 339 340 340 #define LINK_OS_LINUX_SPEC32 "-m elf32ppclinux %{!shared: %{!static: \ 341 341 %{rdynamic:-export-dynamic} \ 342 %{!dynamic-linker:-dynamic-linker /lib /ld.so.1}}}"342 %{!dynamic-linker:-dynamic-linker /lib32/ld.so.1}}}" 343 343 344 344 #define LINK_OS_LINUX_SPEC64 "-m elf64ppc %{!shared: %{!static: \ 345 345 %{rdynamic:-export-dynamic} \ 346 %{!dynamic-linker:-dynamic-linker /lib 64/ld64.so.1}}}"346 %{!dynamic-linker:-dynamic-linker /lib/ld64.so.1}}}" 347 347 348 348 #undef TOC_SECTION_ASM_OP 349 349 #define TOC_SECTION_ASM_OP \ -
gcc/config/rs6000/t-linux64
diff -Naur gcc-4.1.0.orig/gcc/config/rs6000/t-linux64 gcc-4.1.0/gcc/config/rs6000/t-linux64
old new 11 11 MULTILIB_EXTRA_OPTS = fPIC mstrict-align 12 12 MULTILIB_EXCEPTIONS = m64/msoft-float 13 13 MULTILIB_EXCLUSIONS = m64/!m32/msoft-float 14 MULTILIB_OSDIRNAMES = ../lib 64 ../libnof14 MULTILIB_OSDIRNAMES = ../lib ../lib32 nof 15 15 MULTILIB_MATCHES = $(MULTILIB_MATCHES_FLOAT) 16 16 17 17 # We want fine grained libraries, so use the new code to build the -
gcc/config/sparc/linux64.h
diff -Naur gcc-4.1.0.orig/gcc/config/sparc/linux64.h gcc-4.1.0/gcc/config/sparc/linux64.h
old new 162 162 { "link_arch_default", LINK_ARCH_DEFAULT_SPEC }, \ 163 163 { "link_arch", LINK_ARCH_SPEC }, 164 164 165 #define LINK_ARCH32_SPEC "-m elf32_sparc -Y P,/usr/lib %{shared:-shared} \165 #define LINK_ARCH32_SPEC "-m elf32_sparc -Y P,/usr/lib32 %{shared:-shared} \ 166 166 %{!shared: \ 167 167 %{!ibcs: \ 168 168 %{!static: \ 169 169 %{rdynamic:-export-dynamic} \ 170 %{!dynamic-linker:-dynamic-linker /lib /ld-linux.so.2}} \170 %{!dynamic-linker:-dynamic-linker /lib32/ld-linux.so.2}} \ 171 171 %{static:-static}}} \ 172 172 " 173 173 174 #define LINK_ARCH64_SPEC "-m elf64_sparc -Y P,/usr/lib 64%{shared:-shared} \174 #define LINK_ARCH64_SPEC "-m elf64_sparc -Y P,/usr/lib %{shared:-shared} \ 175 175 %{!shared: \ 176 176 %{!ibcs: \ 177 177 %{!static: \ 178 178 %{rdynamic:-export-dynamic} \ 179 %{!dynamic-linker:-dynamic-linker /lib 64/ld-linux.so.2}} \179 %{!dynamic-linker:-dynamic-linker /lib/ld-linux.so.2}} \ 180 180 %{static:-static}}} \ 181 181 " 182 182 … … 252 252 #else /* !SPARC_BI_ARCH */ 253 253 254 254 #undef LINK_SPEC 255 #define LINK_SPEC "-m elf64_sparc -Y P,/usr/lib 64%{shared:-shared} \255 #define LINK_SPEC "-m elf64_sparc -Y P,/usr/lib %{shared:-shared} \ 256 256 %{!shared: \ 257 257 %{!ibcs: \ 258 258 %{!static: \ 259 259 %{rdynamic:-export-dynamic} \ 260 %{!dynamic-linker:-dynamic-linker /lib 64/ld-linux.so.2}} \260 %{!dynamic-linker:-dynamic-linker /lib/ld-linux.so.2}} \ 261 261 %{static:-static}}} \ 262 262 %{mlittle-endian:-EL} \ 263 263 %{!mno-relax:%{!r:-relax}} \ -
gcc/config/sparc/t-linux64
diff -Naur gcc-4.1.0.orig/gcc/config/sparc/t-linux64 gcc-4.1.0/gcc/config/sparc/t-linux64
old new 1 1 MULTILIB_OPTIONS = m64/m32 2 2 MULTILIB_DIRNAMES = 64 32 3 MULTILIB_OSDIRNAMES = ../lib 64 ../lib3 MULTILIB_OSDIRNAMES = ../lib ../lib32 4 4 5 5 LIBGCC = stmp-multilib 6 6 INSTALL_LIBGCC = install-multilib … … 16 16 17 17 CRTSTUFF_T_CFLAGS = `if test x$$($(GCC_FOR_TARGET) $(MULTILIB_CFLAGS) \ 18 18 -print-multi-os-directory) \ 19 = x../lib 64; then echo -mcmodel=medany; fi`19 = x../lib; then echo -mcmodel=medany; fi`
Note:
See TracBrowser
for help on using the repository browser.