source:
patches/gcc-4.5.0-pure64-1.patch@
e81afa2
Last change on this file since e81afa2 was c0595573, checked in by , 14 years ago | |
---|---|
|
|
File size: 5.3 KB |
-
gcc/config/i386/t-linux64
Submitted By: Joe Ciccone <jciccone@gmail.com> Date: 07-25-2010 Initial Package Version: 3.4.6 Origin: Idea originally developed by Ryan Oliver and Greg Schafer for the Pure LFS project. Upstream Status: Not Applied - CLFS Specific Description: This patch makes changes to the paths for pure64, eg 64bit libs in /usr/lib, 32bit in /usr/lib32. diff -Naur gcc-4.5.0.orig/gcc/config/i386/t-linux64 gcc-4.5.0/gcc/config/i386/t-linux64
old new 25 25 26 26 MULTILIB_OPTIONS = m64/m32 27 27 MULTILIB_DIRNAMES = 64 32 28 MULTILIB_OSDIRNAMES = ../lib 64 $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib)28 MULTILIB_OSDIRNAMES = ../lib ../lib32 29 29 30 30 LIBGCC = stmp-multilib 31 31 INSTALL_LIBGCC = install-multilib -
gcc/config/mips/t-linux64
diff -Naur gcc-4.5.0.orig/gcc/config/mips/t-linux64 gcc-4.5.0/gcc/config/mips/t-linux64
old new 18 18 19 19 MULTILIB_OPTIONS = mabi=n32/mabi=32/mabi=64 20 20 MULTILIB_DIRNAMES = n32 32 64 21 MULTILIB_OSDIRNAMES = ../lib 32 ../lib ../lib6421 MULTILIB_OSDIRNAMES = ../lib64 ../lib32 ../lib 22 22 23 23 EXTRA_MULTILIB_PARTS=crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o 24 24 -
gcc/config/rs6000/t-linux64
diff -Naur gcc-4.5.0.orig/gcc/config/rs6000/t-linux64 gcc-4.5.0/gcc/config/rs6000/t-linux64
old new 36 36 MULTILIB_EXTRA_OPTS = fPIC mstrict-align 37 37 MULTILIB_EXCEPTIONS = m64/msoft-float 38 38 MULTILIB_EXCLUSIONS = m64/!m32/msoft-float 39 MULTILIB_OSDIRNAMES = ../lib 64 $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib)nof39 MULTILIB_OSDIRNAMES = ../lib ../lib32 nof 40 40 MULTILIB_MATCHES = $(MULTILIB_MATCHES_FLOAT) 41 41 42 42 softfp_wrap_start := '\#ifndef __powerpc64__' -
gcc/config/s390/t-linux64
diff -Naur gcc-4.5.0.orig/gcc/config/s390/t-linux64 gcc-4.5.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 -
gcc/config/sh/linux.h
diff -Naur gcc-4.5.0.orig/gcc/config/sh/linux.h gcc-4.5.0/gcc/config/sh/linux.h
old new 47 47 48 48 #define TARGET_ASM_FILE_END file_end_indicate_exec_stack 49 49 50 #define GLIBC_DYNAMIC_LINKER "/ lib/ld-linux.so.2"50 #define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2" 51 51 52 52 #undef SUBTARGET_LINK_EMUL_SUFFIX 53 53 #define SUBTARGET_LINK_EMUL_SUFFIX "_linux" -
gcc/config/sparc/linux.h
diff -Naur gcc-4.5.0.orig/gcc/config/sparc/linux.h gcc-4.5.0/gcc/config/sparc/linux.h
old new 86 86 #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" 87 87 88 88 #undef LINK_SPEC 89 #define LINK_SPEC "-m elf32_sparc -Y P,/usr/lib %{shared:-shared} \89 #define LINK_SPEC "-m elf32_sparc -Y P,/usr/lib32 %{shared:-shared} \ 90 90 %{!mno-relax:%{!r:-relax}} \ 91 91 %{!shared: \ 92 92 %{!ibcs: \ -
gcc/config/sparc/linux64.h
diff -Naur gcc-4.5.0.orig/gcc/config/sparc/linux64.h gcc-4.5.0/gcc/config/sparc/linux64.h
old new 109 109 110 110 /* If ELF is the default format, we should not use /lib/elf. */ 111 111 112 #define GLIBC_DYNAMIC_LINKER32 "/lib /ld-linux.so.2"113 #define GLIBC_DYNAMIC_LINKER64 "/lib 64/ld-linux.so.2"112 #define GLIBC_DYNAMIC_LINKER32 "/lib32/ld-linux.so.2" 113 #define GLIBC_DYNAMIC_LINKER64 "/lib/ld-linux.so.2" 114 114 115 115 #ifdef SPARC_BI_ARCH 116 116 … … 121 121 { "link_arch_default", LINK_ARCH_DEFAULT_SPEC }, \ 122 122 { "link_arch", LINK_ARCH_SPEC }, 123 123 124 #define LINK_ARCH32_SPEC "-m elf32_sparc -Y P,%R/usr/lib %{shared:-shared} \124 #define LINK_ARCH32_SPEC "-m elf32_sparc -Y P,%R/usr/lib32 %{shared:-shared} \ 125 125 %{!shared: \ 126 126 %{!ibcs: \ 127 127 %{!static: \ … … 130 130 %{static:-static}}} \ 131 131 " 132 132 133 #define LINK_ARCH64_SPEC "-m elf64_sparc -Y P,%R/usr/lib 64%{shared:-shared} \133 #define LINK_ARCH64_SPEC "-m elf64_sparc -Y P,%R/usr/lib %{shared:-shared} \ 134 134 %{!shared: \ 135 135 %{!ibcs: \ 136 136 %{!static: \ … … 211 211 #else /* !SPARC_BI_ARCH */ 212 212 213 213 #undef LINK_SPEC 214 #define LINK_SPEC "-m elf64_sparc -Y P,%R/usr/lib 64%{shared:-shared} \214 #define LINK_SPEC "-m elf64_sparc -Y P,%R/usr/lib %{shared:-shared} \ 215 215 %{!shared: \ 216 216 %{!ibcs: \ 217 217 %{!static: \ -
gcc/config/sparc/t-linux64
diff -Naur gcc-4.5.0.orig/gcc/config/sparc/t-linux64 gcc-4.5.0/gcc/config/sparc/t-linux64
old new 19 19 20 20 MULTILIB_OPTIONS = m64/m32 21 21 MULTILIB_DIRNAMES = 64 32 22 MULTILIB_OSDIRNAMES = ../lib 64 ../lib22 MULTILIB_OSDIRNAMES = ../lib ../lib32 23 23 24 24 LIBGCC = stmp-multilib 25 25 INSTALL_LIBGCC = install-multilib
Note:
See TracBrowser
for help on using the repository browser.