source:
patches/gcc-4.5.2-pure64_specs-1.patch@
6101984
Last change on this file since 6101984 was 670bf2c, checked in by , 14 years ago | |
---|---|
|
|
File size: 21.4 KB |
-
gcc/config/alpha/gnu.h
Submitted By: Joe Ciccone <jciccone@gmail.com> Date: 09-08-2011 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: The specs patch changes the location of the dynamic linker as well as the link spec to /tools/lib{,32,64}. This patch in addition makes changes to the paths for pure64, eg 64bit libs in /usr/lib, 32bit in /usr/lib32. Rediffed Against 4.5.2 By Pontus Carlsson <PontusCarlsson at live dot se> diff -Naur gcc-4.5.2.orig/gcc/config/alpha/gnu.h gcc-4.5.2/gcc/config/alpha/gnu.h
old new 34 34 } while (0) 35 35 36 36 #undef ELF_DYNAMIC_LINKER 37 #define ELF_DYNAMIC_LINKER "/ lib/ld.so"37 #define ELF_DYNAMIC_LINKER "/tools/lib/ld.so" 38 38 39 39 #undef STARTFILE_SPEC 40 40 #define STARTFILE_SPEC \ -
gcc/config/alpha/linux-elf.h
diff -Naur gcc-4.5.2.orig/gcc/config/alpha/linux-elf.h gcc-4.5.2/gcc/config/alpha/linux-elf.h
old new 27 27 #define EXTRA_SPECS \ 28 28 { "elf_dynamic_linker", ELF_DYNAMIC_LINKER }, 29 29 30 #define GLIBC_DYNAMIC_LINKER "/ lib/ld-linux.so.2"31 #define UCLIBC_DYNAMIC_LINKER "/ lib/ld-uClibc.so.0"30 #define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2" 31 #define UCLIBC_DYNAMIC_LINKER "/tools/lib/ld-uClibc.so.0" 32 32 #if UCLIBC_DEFAULT 33 33 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}" 34 34 #else -
gcc/config/arm/linux-eabi.h
diff -Naur gcc-4.5.2.orig/gcc/config/arm/linux-eabi.h gcc-4.5.2/gcc/config/arm/linux-eabi.h
old new 61 61 /* Use ld-linux.so.3 so that it will be possible to run "classic" 62 62 GNU/Linux binaries on an EABI system. */ 63 63 #undef GLIBC_DYNAMIC_LINKER 64 #define GLIBC_DYNAMIC_LINKER "/ lib/ld-linux.so.3"64 #define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.3" 65 65 66 66 /* At this point, bpabi.h will have clobbered LINK_SPEC. We want to 67 67 use the GNU/Linux version, not the generic BPABI version. */ -
gcc/config/arm/linux-elf.h
diff -Naur gcc-4.5.2.orig/gcc/config/arm/linux-elf.h gcc-4.5.2/gcc/config/arm/linux-elf.h
old new 62 62 63 63 #define LIBGCC_SPEC "%{msoft-float:-lfloat} %{mfloat-abi=soft*:-lfloat} -lgcc" 64 64 65 #define GLIBC_DYNAMIC_LINKER "/ lib/ld-linux.so.2"65 #define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2" 66 66 67 67 #define LINUX_TARGET_LINK_SPEC "%{h*} %{version:-v} \ 68 68 %{b} \ -
gcc/config/bfin/linux.h
diff -Naur gcc-4.5.2.orig/gcc/config/bfin/linux.h gcc-4.5.2/gcc/config/bfin/linux.h
old new 45 45 %{shared:-G -Bdynamic} \ 46 46 %{!shared: %{!static: \ 47 47 %{rdynamic:-export-dynamic} \ 48 %{!dynamic-linker:-dynamic-linker / lib/ld-uClibc.so.0}} \48 %{!dynamic-linker:-dynamic-linker /tools/lib/ld-uClibc.so.0}} \ 49 49 %{static}} -init __init -fini __fini" 50 50 51 51 #define MD_UNWIND_SUPPORT "config/bfin/linux-unwind.h" -
gcc/config/cris/linux.h
diff -Naur gcc-4.5.2.orig/gcc/config/cris/linux.h gcc-4.5.2/gcc/config/cris/linux.h
old new 103 103 #undef CRIS_DEFAULT_CPU_VERSION 104 104 #define CRIS_DEFAULT_CPU_VERSION CRIS_CPU_NG 105 105 106 #define GLIBC_DYNAMIC_LINKER "/ lib/ld.so.1"106 #define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1" 107 107 108 108 /* We need an -rpath-link to ld.so.1, and presumably to each directory 109 109 specified with -B. */ -
gcc/config/freebsd-spec.h
diff -Naur gcc-4.5.2.orig/gcc/config/freebsd-spec.h gcc-4.5.2/gcc/config/freebsd-spec.h
old new 146 146 #if FBSD_MAJOR < 6 147 147 #define FBSD_DYNAMIC_LINKER "/usr/libexec/ld-elf.so.1" 148 148 #else 149 #define FBSD_DYNAMIC_LINKER "/ libexec/ld-elf.so.1"149 #define FBSD_DYNAMIC_LINKER "/tools/libexec/ld-elf.so.1" 150 150 #endif 151 151 152 152 #if defined(HAVE_LD_EH_FRAME_HDR) -
gcc/config/frv/linux.h
diff -Naur gcc-4.5.2.orig/gcc/config/frv/linux.h gcc-4.5.2/gcc/config/frv/linux.h
old new 35 35 #define ENDFILE_SPEC \ 36 36 "%{shared|pie:crtendS.o%s;:crtend.o%s} crtn.o%s" 37 37 38 #define GLIBC_DYNAMIC_LINKER "/ lib/ld.so.1"38 #define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1" 39 39 40 40 #undef LINK_SPEC 41 41 #define LINK_SPEC "\ -
gcc/config/i386/gnu.h
diff -Naur gcc-4.5.2.orig/gcc/config/i386/gnu.h gcc-4.5.2/gcc/config/i386/gnu.h
old new 21 21 */ 22 22 23 23 #undef GLIBC_DYNAMIC_LINKER 24 #define GLIBC_DYNAMIC_LINKER "/ lib/ld.so"24 #define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so" 25 25 26 26 #undef TARGET_VERSION 27 27 #define TARGET_VERSION fprintf (stderr, " (i386 GNU)"); -
gcc/config/i386/linux.h
diff -Naur gcc-4.5.2.orig/gcc/config/i386/linux.h gcc-4.5.2/gcc/config/i386/linux.h
old new 100 100 101 101 /* These macros may be overridden in k*bsd-gnu.h and i386/k*bsd-gnu.h. */ 102 102 #define LINK_EMULATION "elf_i386" 103 #define GLIBC_DYNAMIC_LINKER "/ lib/ld-linux.so.2"103 #define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2" 104 104 105 105 #undef ASM_SPEC 106 106 #define ASM_SPEC \ -
gcc/config/i386/linux64.h
diff -Naur gcc-4.5.2.orig/gcc/config/i386/linux64.h gcc-4.5.2/gcc/config/i386/linux64.h
old new 58 58 When the -shared link option is used a final link is not being 59 59 done. */ 60 60 61 #define GLIBC_DYNAMIC_LINKER32 "/ lib/ld-linux.so.2"62 #define GLIBC_DYNAMIC_LINKER64 "/ lib64/ld-linux-x86-64.so.2"61 #define GLIBC_DYNAMIC_LINKER32 "/tools/lib32/ld-linux.so.2" 62 #define GLIBC_DYNAMIC_LINKER64 "/tools/lib/ld-linux-x86-64.so.2" 63 63 64 64 #if TARGET_64BIT_DEFAULT 65 65 #define SPEC_32 "m32" -
gcc/config/i386/t-linux64
diff -Naur gcc-4.5.2.orig/gcc/config/i386/t-linux64 gcc-4.5.2/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/ia64/linux.h
diff -Naur gcc-4.5.2.orig/gcc/config/ia64/linux.h gcc-4.5.2/gcc/config/ia64/linux.h
old new 61 61 /* Define this for shared library support because it isn't in the main 62 62 linux.h file. */ 63 63 64 #define GLIBC_DYNAMIC_LINKER "/ lib/ld-linux-ia64.so.2"64 #define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux-ia64.so.2" 65 65 66 66 #undef LINK_SPEC 67 67 #define LINK_SPEC "\ -
gcc/config/kfreebsd-gnu.h
diff -Naur gcc-4.5.2.orig/gcc/config/kfreebsd-gnu.h gcc-4.5.2/gcc/config/kfreebsd-gnu.h
old new 33 33 34 34 #ifdef GLIBC_DYNAMIC_LINKER 35 35 #undef GLIBC_DYNAMIC_LINKER 36 #define GLIBC_DYNAMIC_LINKER "/ lib/ld.so.1"36 #define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1" 37 37 #endif -
gcc/config/knetbsd-gnu.h
diff -Naur gcc-4.5.2.orig/gcc/config/knetbsd-gnu.h gcc-4.5.2/gcc/config/knetbsd-gnu.h
old new 34 34 35 35 #ifdef GLIBC_DYNAMIC_LINKER 36 36 #undef GLIBC_DYNAMIC_LINKER 37 #define GLIBC_DYNAMIC_LINKER "/ lib/ld.so.1"37 #define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1" 38 38 #endif -
gcc/config/kopensolaris-gnu.h
diff -Naur gcc-4.5.2.orig/gcc/config/kopensolaris-gnu.h gcc-4.5.2/gcc/config/kopensolaris-gnu.h
old new 33 33 34 34 #ifdef GLIBC_DYNAMIC_LINKER 35 35 #undef GLIBC_DYNAMIC_LINKER 36 #define GLIBC_DYNAMIC_LINKER "/ lib/ld.so.1"36 #define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1" 37 37 #endif -
gcc/config/linux.h
diff -Naur gcc-4.5.2.orig/gcc/config/linux.h gcc-4.5.2/gcc/config/linux.h
old new 117 117 GLIBC_DYNAMIC_LINKER must be defined for each target using them, or 118 118 GLIBC_DYNAMIC_LINKER32 and GLIBC_DYNAMIC_LINKER64 for targets 119 119 supporting both 32-bit and 64-bit compilation. */ 120 #define UCLIBC_DYNAMIC_LINKER "/ lib/ld-uClibc.so.0"121 #define UCLIBC_DYNAMIC_LINKER32 "/ lib/ld-uClibc.so.0"122 #define UCLIBC_DYNAMIC_LINKER64 "/ lib/ld64-uClibc.so.0"120 #define UCLIBC_DYNAMIC_LINKER "/tools/lib/ld-uClibc.so.0" 121 #define UCLIBC_DYNAMIC_LINKER32 "/tools/lib32/ld-uClibc.so.0" 122 #define UCLIBC_DYNAMIC_LINKER64 "/tools/lib/ld64-uClibc.so.0" 123 123 #define LINUX_DYNAMIC_LINKER \ 124 124 CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER) 125 125 #define LINUX_DYNAMIC_LINKER32 \ -
gcc/config/lm32/uclinux-elf.h
diff -Naur gcc-4.5.2.orig/gcc/config/lm32/uclinux-elf.h gcc-4.5.2/gcc/config/lm32/uclinux-elf.h
old new 73 73 %{shared:-shared} \ 74 74 %{symbolic:-Bsymbolic} \ 75 75 %{rdynamic:-export-dynamic} \ 76 %{!dynamic-linker:-dynamic-linker / lib/ld-linux.so.2}"76 %{!dynamic-linker:-dynamic-linker /tools/lib/ld-linux.so.2}" 77 77 78 78 #define TARGET_OS_CPP_BUILTINS() LINUX_TARGET_OS_CPP_BUILTINS() 79 79 -
gcc/config/m32r/linux.h
diff -Naur gcc-4.5.2.orig/gcc/config/m32r/linux.h gcc-4.5.2/gcc/config/m32r/linux.h
old new 58 58 59 59 /* If ELF is the default format, we should not use /lib/elf. */ 60 60 61 #define GLIBC_DYNAMIC_LINKER "/ lib/ld-linux.so.2"61 #define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2" 62 62 63 63 #undef LINK_SPEC 64 64 #if TARGET_LITTLE_ENDIAN -
gcc/config/m68k/linux.h
diff -Naur gcc-4.5.2.orig/gcc/config/m68k/linux.h gcc-4.5.2/gcc/config/m68k/linux.h
old new 84 84 85 85 /* If ELF is the default format, we should not use /lib/elf. */ 86 86 87 #define GLIBC_DYNAMIC_LINKER "/ lib/ld.so.1"87 #define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1" 88 88 89 89 #undef LINK_SPEC 90 90 #define LINK_SPEC "-m m68kelf %{shared} \ -
gcc/config/mips/linux.h
diff -Naur gcc-4.5.2.orig/gcc/config/mips/linux.h gcc-4.5.2/gcc/config/mips/linux.h
old new 64 64 #undef MIPS_DEFAULT_GVALUE 65 65 #define MIPS_DEFAULT_GVALUE 0 66 66 67 #define GLIBC_DYNAMIC_LINKER "/ lib/ld.so.1"67 #define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1" 68 68 69 69 /* Borrowed from sparc/linux.h */ 70 70 #undef LINK_SPEC -
gcc/config/mips/linux64.h
diff -Naur gcc-4.5.2.orig/gcc/config/mips/linux64.h gcc-4.5.2/gcc/config/mips/linux64.h
old new 35 35 %{!shared: \ 36 36 %{profile:-lc_p} %{!profile:-lc}}" 37 37 38 #define GLIBC_DYNAMIC_LINKER32 "/ lib/ld.so.1"39 #define GLIBC_DYNAMIC_LINKER64 "/ lib64/ld.so.1"40 #define GLIBC_DYNAMIC_LINKERN32 "/ lib32/ld.so.1"41 #define UCLIBC_DYNAMIC_LINKERN32 "/ lib32/ld-uClibc.so.0"38 #define GLIBC_DYNAMIC_LINKER32 "/tools/lib32/ld.so.1" 39 #define GLIBC_DYNAMIC_LINKER64 "/tools/lib/ld.so.1" 40 #define GLIBC_DYNAMIC_LINKERN32 "/tools/lib64/ld.so.1" 41 #define UCLIBC_DYNAMIC_LINKERN32 "/tools/lib64/ld-uClibc.so.0" 42 42 #define LINUX_DYNAMIC_LINKERN32 \ 43 43 CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKERN32, UCLIBC_DYNAMIC_LINKERN32) 44 44 -
gcc/config/mips/t-linux64
diff -Naur gcc-4.5.2.orig/gcc/config/mips/t-linux64 gcc-4.5.2/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/mn10300/linux.h
diff -Naur gcc-4.5.2.orig/gcc/config/mn10300/linux.h gcc-4.5.2/gcc/config/mn10300/linux.h
old new 32 32 #undef ASM_SPEC 33 33 #define ASM_SPEC "%{Wa,*:%*}" 34 34 35 #define GLIBC_DYNAMIC_LINKER "/ lib/ld.so.1"35 #define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1" 36 36 37 37 #undef LINK_SPEC 38 38 #define LINK_SPEC "%{mrelax:--relax} %{shared:-shared} \ -
gcc/config/pa/pa-linux.h
diff -Naur gcc-4.5.2.orig/gcc/config/pa/pa-linux.h gcc-4.5.2/gcc/config/pa/pa-linux.h
old new 38 38 /* Define this for shared library support because it isn't in the main 39 39 linux.h file. */ 40 40 41 #define GLIBC_DYNAMIC_LINKER "/ lib/ld.so.1"41 #define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1" 42 42 43 43 #undef LINK_SPEC 44 44 #define LINK_SPEC "\ -
gcc/config/rs6000/linux64.h
diff -Naur gcc-4.5.2.orig/gcc/config/rs6000/linux64.h gcc-4.5.2/gcc/config/rs6000/linux64.h
old new 340 340 #undef LINK_OS_DEFAULT_SPEC 341 341 #define LINK_OS_DEFAULT_SPEC "%(link_os_linux)" 342 342 343 #define GLIBC_DYNAMIC_LINKER32 "/ lib/ld.so.1"344 #define GLIBC_DYNAMIC_LINKER64 "/ lib64/ld64.so.1"345 #define UCLIBC_DYNAMIC_LINKER32 "/ lib/ld-uClibc.so.0"346 #define UCLIBC_DYNAMIC_LINKER64 "/ lib/ld64-uClibc.so.0"343 #define GLIBC_DYNAMIC_LINKER32 "/tools/lib32/ld.so.1" 344 #define GLIBC_DYNAMIC_LINKER64 "/tools/lib/ld64.so.1" 345 #define UCLIBC_DYNAMIC_LINKER32 "/tools/lib32/ld-uClibc.so.0" 346 #define UCLIBC_DYNAMIC_LINKER64 "/tools/lib/ld64-uClibc.so.0" 347 347 #if UCLIBC_DEFAULT 348 348 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}" 349 349 #else -
gcc/config/rs6000/sysv4.h
diff -Naur gcc-4.5.2.orig/gcc/config/rs6000/sysv4.h gcc-4.5.2/gcc/config/rs6000/sysv4.h
old new 899 899 900 900 #define LINK_START_LINUX_SPEC "" 901 901 902 #define GLIBC_DYNAMIC_LINKER "/ lib/ld.so.1"903 #define UCLIBC_DYNAMIC_LINKER "/ lib/ld-uClibc.so.0"902 #define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1" 903 #define UCLIBC_DYNAMIC_LINKER "/tools/lib/ld-uClibc.so.0" 904 904 #if UCLIBC_DEFAULT 905 905 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}" 906 906 #else … … 942 942 943 943 #define LINK_OS_GNU_SPEC "-m elf32ppclinux %{!shared: %{!static: \ 944 944 %{rdynamic:-export-dynamic} \ 945 %{!dynamic-linker:-dynamic-linker / lib/ld.so.1}}}"945 %{!dynamic-linker:-dynamic-linker /tools/lib/ld.so.1}}}" 946 946 947 947 #define CPP_OS_GNU_SPEC "-D__unix__ -D__gnu_hurd__ -D__GNU__ \ 948 948 %{!undef: \ -
gcc/config/rs6000/t-linux64
diff -Naur gcc-4.5.2.orig/gcc/config/rs6000/t-linux64 gcc-4.5.2/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/linux.h
diff -Naur gcc-4.5.2.orig/gcc/config/s390/linux.h gcc-4.5.2/gcc/config/s390/linux.h
old new 72 72 #define MULTILIB_DEFAULTS { "m31" } 73 73 #endif 74 74 75 #define GLIBC_DYNAMIC_LINKER32 "/ lib/ld.so.1"76 #define GLIBC_DYNAMIC_LINKER64 "/ lib/ld64.so.1"75 #define GLIBC_DYNAMIC_LINKER32 "/tools/lib32/ld.so.1" 76 #define GLIBC_DYNAMIC_LINKER64 "/tools/lib/ld64.so.1" 77 77 78 78 #undef LINK_SPEC 79 79 #define LINK_SPEC \ -
gcc/config/s390/t-linux64
diff -Naur gcc-4.5.2.orig/gcc/config/s390/t-linux64 gcc-4.5.2/gcc/config/s390/t-linux64
old new 7 7 8 8 MULTILIB_OPTIONS = m64/m31 9 9 MULTILIB_DIRNAMES = 64 32 10 MULTILIB_OSDIRNAMES = ../lib 64 $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib)10 MULTILIB_OSDIRNAMES = ../lib ../lib32 -
gcc/config/sh/linux.h
diff -Naur gcc-4.5.2.orig/gcc/config/sh/linux.h gcc-4.5.2/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.2.orig/gcc/config/sparc/linux.h gcc-4.5.2/gcc/config/sparc/linux.h
old new 83 83 84 84 /* If ELF is the default format, we should not use /lib/elf. */ 85 85 86 #define GLIBC_DYNAMIC_LINKER "/ lib/ld-linux.so.2"86 #define GLIBC_DYNAMIC_LINKER "/tools/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,/tools/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.2.orig/gcc/config/sparc/linux64.h gcc-4.5.2/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 "/ lib64/ld-linux.so.2"112 #define GLIBC_DYNAMIC_LINKER32 "/tools/lib32/ld-linux.so.2" 113 #define GLIBC_DYNAMIC_LINKER64 "/tools/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/tools/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/lib64%{shared:-shared} \133 #define LINK_ARCH64_SPEC "-m elf64_sparc -Y P,%R/tools/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/lib64%{shared:-shared} \214 #define LINK_SPEC "-m elf64_sparc -Y P,%R/tools/lib %{shared:-shared} \ 215 215 %{!shared: \ 216 216 %{!ibcs: \ 217 217 %{!static: \ -
gcc/config/sparc/t-linux64
diff -Naur gcc-4.5.2.orig/gcc/config/sparc/t-linux64 gcc-4.5.2/gcc/config/sparc/t-linux64
old new 26 26 27 27 MULTILIB_OPTIONS = m64/m32 28 28 MULTILIB_DIRNAMES = 64 32 29 MULTILIB_OSDIRNAMES = ../lib 64 $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib)29 MULTILIB_OSDIRNAMES = ../lib ../lib32 30 30 31 31 LIBGCC = stmp-multilib 32 32 INSTALL_LIBGCC = install-multilib -
gcc/config/vax/linux.h
diff -Naur gcc-4.5.2.orig/gcc/config/vax/linux.h gcc-4.5.2/gcc/config/vax/linux.h
old new 44 44 %{!shared: \ 45 45 %{!static: \ 46 46 %{rdynamic:-export-dynamic} \ 47 %{!dynamic-linker:-dynamic-linker / lib/ld.so.1}} \47 %{!dynamic-linker:-dynamic-linker /tools/lib/ld.so.1}} \ 48 48 %{static:-static}}" -
gcc/config/xtensa/linux.h
diff -Naur gcc-4.5.2.orig/gcc/config/xtensa/linux.h gcc-4.5.2/gcc/config/xtensa/linux.h
old new 43 43 %{mlongcalls:--longcalls} \ 44 44 %{mno-longcalls:--no-longcalls}" 45 45 46 #define GLIBC_DYNAMIC_LINKER "/ lib/ld.so.1"46 #define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1" 47 47 48 48 #undef LINK_SPEC 49 49 #define LINK_SPEC \
Note:
See TracBrowser
for help on using the repository browser.