source:
patches/gcc-4.2.2-pure64-1.patch@
2830f42
Last change on this file since 2830f42 was 5a90148, checked in by , 17 years ago | |
---|---|
|
|
File size: 6.8 KB |
-
gcc/config/i386/linux64.h
diff -Naur gcc-4.2.0.orig/gcc/config/i386/linux64.h gcc-4.2.0/gcc/config/i386/linux64.h
old new 49 49 When the -shared link option is used a final link is not being 50 50 done. */ 51 51 52 #define GLIBC_DYNAMIC_LINKER32 "/lib /ld-linux.so.2"53 #define GLIBC_DYNAMIC_LINKER64 "/lib 64/ld-linux-x86-64.so.2"52 #define GLIBC_DYNAMIC_LINKER32 "/lib32/ld-linux.so.2" 53 #define GLIBC_DYNAMIC_LINKER64 "/lib/ld-linux-x86-64.so.2" 54 54 55 55 #undef LINK_SPEC 56 56 #define LINK_SPEC "%{!m32:-m elf_x86_64} %{m32:-m elf_i386} \ -
gcc/config/i386/t-linux64
diff -Naur gcc-4.2.0.orig/gcc/config/i386/t-linux64 gcc-4.2.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.2.0.orig/gcc/config/mips/linux64.h gcc-4.2.0/gcc/config/mips/linux64.h
old new 36 36 %{!shared: %{pthread:-lpthread} \ 37 37 %{profile:-lc_p} %{!profile: -lc}}" 38 38 39 #define GLIBC_DYNAMIC_LINKER32 "/lib /ld.so.1"40 #define GLIBC_DYNAMIC_LINKER64 "/lib 64/ld.so.1"41 #define GLIBC_DYNAMIC_LINKERN32 "/lib 32/ld.so.1"42 #define UCLIBC_DYNAMIC_LINKERN32 "/lib 32/ld-uClibc.so.0"39 #define GLIBC_DYNAMIC_LINKER32 "/lib32/ld.so.1" 40 #define GLIBC_DYNAMIC_LINKER64 "/lib/ld.so.1" 41 #define GLIBC_DYNAMIC_LINKERN32 "/lib64/ld.so.1" 42 #define UCLIBC_DYNAMIC_LINKERN32 "/lib64/ld-uClibc.so.0" 43 43 #define LINUX_DYNAMIC_LINKERN32 \ 44 44 CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKERN32, UCLIBC_DYNAMIC_LINKERN32) 45 45 -
gcc/config/mips/t-linux64
diff -Naur gcc-4.2.0.orig/gcc/config/mips/t-linux64 gcc-4.2.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.2.0.orig/gcc/config/rs6000/linux64.h gcc-4.2.0/gcc/config/rs6000/linux64.h
old new 336 336 #undef LINK_OS_DEFAULT_SPEC 337 337 #define LINK_OS_DEFAULT_SPEC "%(link_os_linux)" 338 338 339 #define GLIBC_DYNAMIC_LINKER32 "/lib /ld.so.1"340 #define GLIBC_DYNAMIC_LINKER64 "/lib 64/ld64.so.1"339 #define GLIBC_DYNAMIC_LINKER32 "/lib32/ld.so.1" 340 #define GLIBC_DYNAMIC_LINKER64 "/lib/ld64.so.1" 341 341 #define UCLIBC_DYNAMIC_LINKER32 "/lib/ld-uClibc.so.0" 342 342 #define UCLIBC_DYNAMIC_LINKER64 "/lib/ld64-uClibc.so.0" 343 343 #if UCLIBC_DEFAULT -
gcc/config/rs6000/t-linux64
diff -Naur gcc-4.2.0.orig/gcc/config/rs6000/t-linux64 gcc-4.2.0/gcc/config/rs6000/t-linux64
old new 12 12 MULTILIB_EXTRA_OPTS = fPIC mstrict-align 13 13 MULTILIB_EXCEPTIONS = m64/msoft-float 14 14 MULTILIB_EXCLUSIONS = m64/!m32/msoft-float 15 MULTILIB_OSDIRNAMES = ../lib 64 ../libnof15 MULTILIB_OSDIRNAMES = ../lib ../lib32 nof 16 16 MULTILIB_MATCHES = $(MULTILIB_MATCHES_FLOAT) 17 17 18 18 softfp_wrap_start := '\#ifndef __powerpc64__' -
gcc/config/s390/t-linux64
diff -Naur gcc-4.2.0.orig/gcc/config/s390/t-linux64 gcc-4.2.0/gcc/config/s390/t-linux64
old new 1 1 MULTILIB_OPTIONS = m64/m31 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 -
gcc/config/sparc/linux64.h
diff -Naur gcc-4.2.0.orig/gcc/config/sparc/linux64.h gcc-4.2.0/gcc/config/sparc/linux64.h
old new 144 144 145 145 /* If ELF is the default format, we should not use /lib/elf. */ 146 146 147 #define GLIBC_DYNAMIC_LINKER32 "/lib /ld-linux.so.2"148 #define GLIBC_DYNAMIC_LINKER64 "/lib 64/ld-linux.so.2"147 #define GLIBC_DYNAMIC_LINKER32 "/lib32/ld-linux.so.2" 148 #define GLIBC_DYNAMIC_LINKER64 "/lib/ld-linux.so.2" 149 149 #define UCLIBC_DYNAMIC_LINKER32 "/lib/ld-uClibc.so.0" 150 150 #define UCLIBC_DYNAMIC_LINKER64 "/lib/ld64-uClibc.so.0" 151 151 #if UCLIBC_DEFAULT … … 167 167 { "link_arch_default", LINK_ARCH_DEFAULT_SPEC }, \ 168 168 { "link_arch", LINK_ARCH_SPEC }, 169 169 170 #define LINK_ARCH32_SPEC "-m elf32_sparc -Y P,/usr/lib %{shared:-shared} \170 #define LINK_ARCH32_SPEC "-m elf32_sparc -Y P,/usr/lib32 %{shared:-shared} \ 171 171 %{!shared: \ 172 172 %{!ibcs: \ 173 173 %{!static: \ … … 176 176 %{static:-static}}} \ 177 177 " 178 178 179 #define LINK_ARCH64_SPEC "-m elf64_sparc -Y P,/usr/lib 64%{shared:-shared} \179 #define LINK_ARCH64_SPEC "-m elf64_sparc -Y P,/usr/lib %{shared:-shared} \ 180 180 %{!shared: \ 181 181 %{!ibcs: \ 182 182 %{!static: \ … … 257 257 #else /* !SPARC_BI_ARCH */ 258 258 259 259 #undef LINK_SPEC 260 #define LINK_SPEC "-m elf64_sparc -Y P,/usr/lib 64%{shared:-shared} \260 #define LINK_SPEC "-m elf64_sparc -Y P,/usr/lib %{shared:-shared} \ 261 261 %{!shared: \ 262 262 %{!ibcs: \ 263 263 %{!static: \ -
gcc/config/sparc/linux.h
diff -Naur gcc-4.2.0.orig/gcc/config/sparc/linux.h gcc-4.2.0/gcc/config/sparc/linux.h
old new 133 133 134 134 135 135 #undef LINK_SPEC 136 #define LINK_SPEC "-m elf32_sparc -Y P,/usr/lib %{shared:-shared} \136 #define LINK_SPEC "-m elf32_sparc -Y P,/usr/lib32 %{shared:-shared} \ 137 137 %{!mno-relax:%{!r:-relax}} \ 138 138 %{!shared: \ 139 139 %{!ibcs: \ -
gcc/config/sparc/t-linux64
diff -Naur gcc-4.2.0.orig/gcc/config/sparc/t-linux64 gcc-4.2.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 … … 10 10 11 11 CRTSTUFF_T_CFLAGS = `if test x$$($(GCC_FOR_TARGET) $(MULTILIB_CFLAGS) \ 12 12 -print-multi-os-directory) \ 13 = x../lib 64; then echo -mcmodel=medany; fi`13 = x../lib; then echo -mcmodel=medany; fi`
Note:
See TracBrowser
for help on using the repository browser.