source:
patches/gcc-4.8.2-specs-1.patch@
5979edd
Last change on this file since 5979edd was 2e59d11, checked in by , 11 years ago | |
---|---|
|
|
File size: 19.3 KB |
-
gcc/config/aarch64/aarch64-linux.h
Submitted By: William Harrington <kb0iic@cross-lfs.org> Date: 06-02-2013 Initial Package Version: 3.8.1 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}. diff -Naur gcc-4.8.1.orig/gcc/config/aarch64/aarch64-linux.h gcc-4.8.1/gcc/config/aarch64/aarch64-linux.h
old new 21 21 #ifndef GCC_AARCH64_LINUX_H 22 22 #define GCC_AARCH64_LINUX_H 23 23 24 #define GLIBC_DYNAMIC_LINKER "/ lib/ld-linux-aarch64.so.1"24 #define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux-aarch64.so.1" 25 25 26 26 #define LINUX_TARGET_LINK_SPEC "%{h*} \ 27 27 %{static:-Bstatic} \ -
gcc/config/alpha/linux-elf.h
diff -Naur gcc-4.8.1.orig/gcc/config/alpha/linux-elf.h gcc-4.8.1/gcc/config/alpha/linux-elf.h
old new 23 23 #define EXTRA_SPECS \ 24 24 { "elf_dynamic_linker", ELF_DYNAMIC_LINKER }, 25 25 26 #define GLIBC_DYNAMIC_LINKER "/ lib/ld-linux.so.2"27 #define UCLIBC_DYNAMIC_LINKER "/ lib/ld-uClibc.so.0"26 #define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2" 27 #define UCLIBC_DYNAMIC_LINKER "/tools/lib/ld-uClibc.so.0" 28 28 #if DEFAULT_LIBC == LIBC_UCLIBC 29 29 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:" G ";:" U "}" 30 30 #elif DEFAULT_LIBC == LIBC_GLIBC -
gcc/config/arm/linux-eabi.h
diff -Naur gcc-4.8.1.orig/gcc/config/arm/linux-eabi.h gcc-4.8.1/gcc/config/arm/linux-eabi.h
old new 68 68 GLIBC_DYNAMIC_LINKER_DEFAULT and TARGET_DEFAULT_FLOAT_ABI. */ 69 69 70 70 #undef GLIBC_DYNAMIC_LINKER 71 #define GLIBC_DYNAMIC_LINKER_SOFT_FLOAT "/ lib/ld-linux.so.3"72 #define GLIBC_DYNAMIC_LINKER_HARD_FLOAT "/ lib/ld-linux-armhf.so.3"71 #define GLIBC_DYNAMIC_LINKER_SOFT_FLOAT "/tools/lib/ld-linux.so.3" 72 #define GLIBC_DYNAMIC_LINKER_HARD_FLOAT "/tools/lib/ld-linux-armhf.so.3" 73 73 #define GLIBC_DYNAMIC_LINKER_DEFAULT GLIBC_DYNAMIC_LINKER_SOFT_FLOAT 74 74 75 75 #define GLIBC_DYNAMIC_LINKER \ -
gcc/config/arm/linux-elf.h
diff -Naur gcc-4.8.1.orig/gcc/config/arm/linux-elf.h gcc-4.8.1/gcc/config/arm/linux-elf.h
old new 57 57 58 58 #define LIBGCC_SPEC "%{mfloat-abi=soft*:-lfloat} -lgcc" 59 59 60 #define GLIBC_DYNAMIC_LINKER "/ lib/ld-linux.so.2"60 #define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2" 61 61 62 62 #define LINUX_TARGET_LINK_SPEC "%{h*} \ 63 63 %{static:-Bstatic} \ -
gcc/config/c6x/uclinux-elf.h
diff -Naur gcc-4.8.1.orig/gcc/config/c6x/uclinux-elf.h gcc-4.8.1/gcc/config/c6x/uclinux-elf.h
old new 36 36 #define STARTFILE_SPEC \ 37 37 "%{!shared:crt1%O%s} crti%O%s %{shared|pie:crtbeginS.o%s;:crtbegin.o%s}" 38 38 39 #define UCLIBC_DYNAMIC_LINKER "/ lib/ld-uClibc.so.0"39 #define UCLIBC_DYNAMIC_LINKER "/tools/lib/ld-uClibc.so.0" 40 40 41 41 #undef LINK_SPEC 42 42 #define LINK_SPEC ENDIAN_LINK_SPEC \ -
gcc/config/cris/linux.h
diff -Naur gcc-4.8.1.orig/gcc/config/cris/linux.h gcc-4.8.1/gcc/config/cris/linux.h
old new 102 102 #undef CRIS_DEFAULT_CPU_VERSION 103 103 #define CRIS_DEFAULT_CPU_VERSION CRIS_CPU_NG 104 104 105 #define GLIBC_DYNAMIC_LINKER "/ lib/ld.so.1"105 #define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1" 106 106 107 107 #undef CRIS_LINK_SUBTARGET_SPEC 108 108 #define CRIS_LINK_SUBTARGET_SPEC \ -
gcc/config/freebsd-spec.h
diff -Naur gcc-4.8.1.orig/gcc/config/freebsd-spec.h gcc-4.8.1/gcc/config/freebsd-spec.h
old new 128 128 #endif 129 129 130 130 #if FBSD_MAJOR < 6 131 #define FBSD_DYNAMIC_LINKER "/ usr/libexec/ld-elf.so.1"131 #define FBSD_DYNAMIC_LINKER "/tools/lib/ld-elf.so.1" 132 132 #else 133 #define FBSD_DYNAMIC_LINKER "/ libexec/ld-elf.so.1"133 #define FBSD_DYNAMIC_LINKER "/tools/lib/ld-elf.so.1" 134 134 #endif 135 135 136 136 /* NOTE: The freebsd-spec.h header is included also for various -
gcc/config/frv/linux.h
diff -Naur gcc-4.8.1.orig/gcc/config/frv/linux.h gcc-4.8.1/gcc/config/frv/linux.h
old new 34 34 #define ENDFILE_SPEC \ 35 35 "%{shared|pie:crtendS.o%s;:crtend.o%s} crtn.o%s" 36 36 37 #define GLIBC_DYNAMIC_LINKER "/ lib/ld.so.1"37 #define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1" 38 38 39 39 #undef LINK_SPEC 40 40 #define LINK_SPEC "\ -
gcc/config/i386/gnu.h
diff -Naur gcc-4.8.1.orig/gcc/config/i386/gnu.h gcc-4.8.1/gcc/config/i386/gnu.h
old new 22 22 #define GNU_USER_LINK_EMULATION "elf_i386" 23 23 24 24 #undef GNU_USER_DYNAMIC_LINKER 25 #define GNU_USER_DYNAMIC_LINKER "/ lib/ld.so"25 #define GNU_USER_DYNAMIC_LINKER "/tools/lib/ld.so" 26 26 27 27 #undef STARTFILE_SPEC 28 28 #if defined HAVE_LD_PIE -
gcc/config/i386/kfreebsd-gnu.h
diff -Naur gcc-4.8.1.orig/gcc/config/i386/kfreebsd-gnu.h gcc-4.8.1/gcc/config/i386/kfreebsd-gnu.h
old new 19 19 <http://www.gnu.org/licenses/>. */ 20 20 21 21 #define GNU_USER_LINK_EMULATION "elf_i386_fbsd" 22 #define GLIBC_DYNAMIC_LINKER "/ lib/ld.so.1"22 #define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1" -
gcc/config/i386/kfreebsd-gnu64.h
diff -Naur gcc-4.8.1.orig/gcc/config/i386/kfreebsd-gnu64.h gcc-4.8.1/gcc/config/i386/kfreebsd-gnu64.h
old new 22 22 #define GNU_USER_LINK_EMULATION64 "elf_x86_64_fbsd" 23 23 #define GNU_USER_LINK_EMULATIONX32 "elf32_x86_64_fbsd" 24 24 25 #define GLIBC_DYNAMIC_LINKER32 "/ lib/ld.so.1"26 #define GLIBC_DYNAMIC_LINKER64 "/ lib/ld-kfreebsd-x86-64.so.1"27 #define GLIBC_DYNAMIC_LINKERX32 "/ lib/ld-kfreebsd-x32.so.1"25 #define GLIBC_DYNAMIC_LINKER32 "/tools/lib/ld.so.1" 26 #define GLIBC_DYNAMIC_LINKER64 "/tools/lib/ld-kfreebsd-x86-64.so.1" 27 #define GLIBC_DYNAMIC_LINKERX32 "/tools/lib/ld-kfreebsd-x32.so.1" -
gcc/config/i386/linux.h
diff -Naur gcc-4.8.1.orig/gcc/config/i386/linux.h gcc-4.8.1/gcc/config/i386/linux.h
old new 20 20 <http://www.gnu.org/licenses/>. */ 21 21 22 22 #define GNU_USER_LINK_EMULATION "elf_i386" 23 #define GLIBC_DYNAMIC_LINKER "/ lib/ld-linux.so.2"23 #define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2" -
gcc/config/i386/linux64.h
diff -Naur gcc-4.8.1.orig/gcc/config/i386/linux64.h gcc-4.8.1/gcc/config/i386/linux64.h
old new 27 27 #define GNU_USER_LINK_EMULATION64 "elf_x86_64" 28 28 #define GNU_USER_LINK_EMULATIONX32 "elf32_x86_64" 29 29 30 #define GLIBC_DYNAMIC_LINKER32 "/ lib/ld-linux.so.2"31 #define GLIBC_DYNAMIC_LINKER64 "/ lib64/ld-linux-x86-64.so.2"32 #define GLIBC_DYNAMIC_LINKERX32 "/ libx32/ld-linux-x32.so.2"30 #define GLIBC_DYNAMIC_LINKER32 "/tools/lib/ld-linux.so.2" 31 #define GLIBC_DYNAMIC_LINKER64 "/tools/lib64/ld-linux-x86-64.so.2" 32 #define GLIBC_DYNAMIC_LINKERX32 "/tools/libx32/ld-linux-x32.so.2" -
gcc/config/ia64/linux.h
diff -Naur gcc-4.8.1.orig/gcc/config/ia64/linux.h gcc-4.8.1/gcc/config/ia64/linux.h
old new 55 55 /* Define this for shared library support because it isn't in the main 56 56 linux.h file. */ 57 57 58 #define GLIBC_DYNAMIC_LINKER "/ lib/ld-linux-ia64.so.2"58 #define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux-ia64.so.2" 59 59 60 60 #undef LINK_SPEC 61 61 #define LINK_SPEC "\ -
gcc/config/knetbsd-gnu.h
diff -Naur gcc-4.8.1.orig/gcc/config/knetbsd-gnu.h gcc-4.8.1/gcc/config/knetbsd-gnu.h
old new 32 32 33 33 34 34 #undef GNU_USER_DYNAMIC_LINKER 35 #define GNU_USER_DYNAMIC_LINKER "/ lib/ld.so.1"35 #define GNU_USER_DYNAMIC_LINKER "/tools/lib/ld.so.1" -
gcc/config/kopensolaris-gnu.h
diff -Naur gcc-4.8.1.orig/gcc/config/kopensolaris-gnu.h gcc-4.8.1/gcc/config/kopensolaris-gnu.h
old new 31 31 while (0) 32 32 33 33 #undef GNU_USER_DYNAMIC_LINKER 34 #define GNU_USER_DYNAMIC_LINKER "/ lib/ld.so.1"34 #define GNU_USER_DYNAMIC_LINKER "/tools/lib/ld.so.1" -
gcc/config/linux.h
diff -Naur gcc-4.8.1.orig/gcc/config/linux.h gcc-4.8.1/gcc/config/linux.h
old new 73 73 GLIBC_DYNAMIC_LINKER must be defined for each target using them, or 74 74 GLIBC_DYNAMIC_LINKER32 and GLIBC_DYNAMIC_LINKER64 for targets 75 75 supporting both 32-bit and 64-bit compilation. */ 76 #define UCLIBC_DYNAMIC_LINKER "/ lib/ld-uClibc.so.0"77 #define UCLIBC_DYNAMIC_LINKER32 "/ lib/ld-uClibc.so.0"78 #define UCLIBC_DYNAMIC_LINKER64 "/ lib/ld64-uClibc.so.0"79 #define UCLIBC_DYNAMIC_LINKERX32 "/ lib/ldx32-uClibc.so.0"76 #define UCLIBC_DYNAMIC_LINKER "/tools/lib/ld-uClibc.so.0" 77 #define UCLIBC_DYNAMIC_LINKER32 "/tools/lib/ld-uClibc.so.0" 78 #define UCLIBC_DYNAMIC_LINKER64 "/tools/lib/ld64-uClibc.so.0" 79 #define UCLIBC_DYNAMIC_LINKERX32 "/tools/lib/ldx32-uClibc.so.0" 80 80 #define BIONIC_DYNAMIC_LINKER "/system/bin/linker" 81 81 #define BIONIC_DYNAMIC_LINKER32 "/system/bin/linker" 82 82 #define BIONIC_DYNAMIC_LINKER64 "/system/bin/linker64" -
gcc/config/m32r/linux.h
diff -Naur gcc-4.8.1.orig/gcc/config/m32r/linux.h gcc-4.8.1/gcc/config/m32r/linux.h
old new 37 37 When the -shared link option is used a final link is not being 38 38 done. */ 39 39 40 #define GLIBC_DYNAMIC_LINKER "/ lib/ld-linux.so.2"40 #define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2" 41 41 42 42 #undef LINK_SPEC 43 43 #if TARGET_LITTLE_ENDIAN -
gcc/config/m68k/linux.h
diff -Naur gcc-4.8.1.orig/gcc/config/m68k/linux.h gcc-4.8.1/gcc/config/m68k/linux.h
old new 71 71 When the -shared link option is used a final link is not being 72 72 done. */ 73 73 74 #define GLIBC_DYNAMIC_LINKER "/ lib/ld.so.1"74 #define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1" 75 75 76 76 #undef LINK_SPEC 77 77 #define LINK_SPEC "-m m68kelf %{shared} \ -
gcc/config/microblaze/linux.h
diff -Naur gcc-4.8.1.orig/gcc/config/microblaze/linux.h gcc-4.8.1/gcc/config/microblaze/linux.h
old new 25 25 #undef TLS_NEEDS_GOT 26 26 #define TLS_NEEDS_GOT 1 27 27 28 #define DYNAMIC_LINKER "/ lib/ld.so.1"28 #define DYNAMIC_LINKER "/tools/lib/ld.so.1" 29 29 #undef SUBTARGET_EXTRA_SPECS 30 30 #define SUBTARGET_EXTRA_SPECS \ 31 31 { "dynamic_linker", DYNAMIC_LINKER } -
gcc/config/mips/linux.h
diff -Naur gcc-4.8.1.orig/gcc/config/mips/linux.h gcc-4.8.1/gcc/config/mips/linux.h
old new 17 17 along with GCC; see the file COPYING3. If not see 18 18 <http://www.gnu.org/licenses/>. */ 19 19 20 #define GLIBC_DYNAMIC_LINKER "/ lib/ld.so.1"20 #define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1" -
gcc/config/mips/linux64.h
diff -Naur gcc-4.8.1.orig/gcc/config/mips/linux64.h gcc-4.8.1/gcc/config/mips/linux64.h
old new 22 22 #define GNU_USER_LINK_EMULATION64 "elf64%{EB:b}%{EL:l}tsmip" 23 23 #define GNU_USER_LINK_EMULATIONN32 "elf32%{EB:b}%{EL:l}tsmipn32" 24 24 25 #define GLIBC_DYNAMIC_LINKER32 "/ lib/ld.so.1"26 #define GLIBC_DYNAMIC_LINKER64 "/ lib64/ld.so.1"27 #define GLIBC_DYNAMIC_LINKERN32 "/ lib32/ld.so.1"28 #define UCLIBC_DYNAMIC_LINKERN32 "/ lib32/ld-uClibc.so.0"25 #define GLIBC_DYNAMIC_LINKER32 "/tools/lib/ld.so.1" 26 #define GLIBC_DYNAMIC_LINKER64 "/tools/lib64/ld.so.1" 27 #define GLIBC_DYNAMIC_LINKERN32 "/tools/lib32/ld.so.1" 28 #define UCLIBC_DYNAMIC_LINKERN32 "/tools/lib32/ld-uClibc.so.0" 29 29 #define BIONIC_DYNAMIC_LINKERN32 "/system/bin/linker32" 30 30 #define GNU_USER_DYNAMIC_LINKERN32 \ 31 31 CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKERN32, UCLIBC_DYNAMIC_LINKERN32, \ -
gcc/config/mn10300/linux.h
diff -Naur gcc-4.8.1.orig/gcc/config/mn10300/linux.h gcc-4.8.1/gcc/config/mn10300/linux.h
old new 32 32 #undef ASM_SPEC 33 33 #define ASM_SPEC "" 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.8.1.orig/gcc/config/pa/pa-linux.h gcc-4.8.1/gcc/config/pa/pa-linux.h
old new 37 37 /* Define this for shared library support because it isn't in the main 38 38 linux.h file. */ 39 39 40 #define GLIBC_DYNAMIC_LINKER "/ lib/ld.so.1"40 #define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1" 41 41 42 42 #undef LINK_SPEC 43 43 #define LINK_SPEC "\ -
gcc/config/rs6000/freebsd64.h
diff -Naur gcc-4.8.1.orig/gcc/config/rs6000/freebsd64.h gcc-4.8.1/gcc/config/rs6000/freebsd64.h
old new 154 154 { "link_os_freebsd_spec32", LINK_OS_FREEBSD_SPEC32 }, \ 155 155 { "link_os_freebsd_spec64", LINK_OS_FREEBSD_SPEC64 }, 156 156 157 #define FREEBSD_DYNAMIC_LINKER32 "/ libexec/ld-elf32.so.1"158 #define FREEBSD_DYNAMIC_LINKER64 "/ libexec/ld-elf.so.1"157 #define FREEBSD_DYNAMIC_LINKER32 "/tools/lib/ld-elf32.so.1" 158 #define FREEBSD_DYNAMIC_LINKER64 "/tools/lib64/ld-elf.so.1" 159 159 160 160 #define LINK_OS_FREEBSD_SPEC_DEF32 "\ 161 161 %{p:%nconsider using `-pg' instead of `-p' with gprof(1)} \ -
gcc/config/rs6000/linux64.h
diff -Naur gcc-4.8.1.orig/gcc/config/rs6000/linux64.h gcc-4.8.1/gcc/config/rs6000/linux64.h
old new 360 360 #undef LINK_OS_DEFAULT_SPEC 361 361 #define LINK_OS_DEFAULT_SPEC "%(link_os_linux)" 362 362 363 #define GLIBC_DYNAMIC_LINKER32 "/ lib/ld.so.1"364 #define GLIBC_DYNAMIC_LINKER64 "/ lib64/ld64.so.1"365 #define UCLIBC_DYNAMIC_LINKER32 "/ lib/ld-uClibc.so.0"366 #define UCLIBC_DYNAMIC_LINKER64 "/ lib/ld64-uClibc.so.0"363 #define GLIBC_DYNAMIC_LINKER32 "/tools/lib/ld.so.1" 364 #define GLIBC_DYNAMIC_LINKER64 "/tools/lib64/ld64.so.1" 365 #define UCLIBC_DYNAMIC_LINKER32 "/tools/lib/ld-uClibc.so.0" 366 #define UCLIBC_DYNAMIC_LINKER64 "/tools/lib64/ld64-uClibc.so.0" 367 367 #if DEFAULT_LIBC == LIBC_UCLIBC 368 368 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:" G ";:" U "}" 369 369 #elif DEFAULT_LIBC == LIBC_GLIBC -
gcc/config/rs6000/sysv4.h
diff -Naur gcc-4.8.1.orig/gcc/config/rs6000/sysv4.h gcc-4.8.1/gcc/config/rs6000/sysv4.h
old new 787 787 788 788 #define LINK_START_LINUX_SPEC "" 789 789 790 #define GLIBC_DYNAMIC_LINKER "/ lib/ld.so.1"791 #define UCLIBC_DYNAMIC_LINKER "/ lib/ld-uClibc.so.0"790 #define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1" 791 #define UCLIBC_DYNAMIC_LINKER "/tools/lib/ld-uClibc.so.0" 792 792 #if DEFAULT_LIBC == LIBC_UCLIBC 793 793 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:" G ";:" U "}" 794 794 #elif !defined (DEFAULT_LIBC) || DEFAULT_LIBC == LIBC_GLIBC … … 832 832 #define LINK_OS_NETBSD_SPEC "\ 833 833 %{!shared: %{!static: \ 834 834 %{rdynamic:-export-dynamic} \ 835 -dynamic-linker / usr/libexec/ld.elf_so}}"835 -dynamic-linker /tools/lib/ld.elf_so}}" 836 836 837 837 #define CPP_OS_NETBSD_SPEC "\ 838 838 -D__powerpc__ -D__NetBSD__ -D__KPRINTF_ATTRIBUTE__" -
gcc/config/s390/linux.h
diff -Naur gcc-4.8.1.orig/gcc/config/s390/linux.h gcc-4.8.1/gcc/config/s390/linux.h
old new 60 60 #define MULTILIB_DEFAULTS { "m31" } 61 61 #endif 62 62 63 #define GLIBC_DYNAMIC_LINKER32 "/ lib/ld.so.1"64 #define GLIBC_DYNAMIC_LINKER64 "/ lib/ld64.so.1"63 #define GLIBC_DYNAMIC_LINKER32 "/tools/lib/ld.so.1" 64 #define GLIBC_DYNAMIC_LINKER64 "/tools/lib64/ld64.so.1" 65 65 66 66 #undef LINK_SPEC 67 67 #define LINK_SPEC \ -
gcc/config/sh/linux.h
diff -Naur gcc-4.8.1.orig/gcc/config/sh/linux.h gcc-4.8.1/gcc/config/sh/linux.h
old new 43 43 44 44 #define TARGET_ASM_FILE_END file_end_indicate_exec_stack 45 45 46 #define GLIBC_DYNAMIC_LINKER "/ lib/ld-linux.so.2"46 #define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2" 47 47 48 48 #undef SUBTARGET_LINK_EMUL_SUFFIX 49 49 #define SUBTARGET_LINK_EMUL_SUFFIX "_linux" -
gcc/config/sparc/linux.h
diff -Naur gcc-4.8.1.orig/gcc/config/sparc/linux.h gcc-4.8.1/gcc/config/sparc/linux.h
old new 83 83 When the -shared link option is used a final link is not being 84 84 done. */ 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 89 #define LINK_SPEC "-m elf32_sparc %{shared:-shared} \ -
gcc/config/sparc/linux64.h
diff -Naur gcc-4.8.1.orig/gcc/config/sparc/linux64.h gcc-4.8.1/gcc/config/sparc/linux64.h
old new 92 92 When the -shared link option is used a final link is not being 93 93 done. */ 94 94 95 #define GLIBC_DYNAMIC_LINKER32 "/ lib/ld-linux.so.2"96 #define GLIBC_DYNAMIC_LINKER64 "/ lib64/ld-linux.so.2"95 #define GLIBC_DYNAMIC_LINKER32 "/tools/lib/ld-linux.so.2" 96 #define GLIBC_DYNAMIC_LINKER64 "/tools/lib64/ld-linux.so.2" 97 97 98 98 #ifdef SPARC_BI_ARCH 99 99 … … 201 201 #else /* !SPARC_BI_ARCH */ 202 202 203 203 #undef LINK_SPEC 204 #define LINK_SPEC "-m elf64_sparc -Y P,%R/ usr/lib64 %{shared:-shared} \204 #define LINK_SPEC "-m elf64_sparc -Y P,%R/tools/lib64 %{shared:-shared} \ 205 205 %{!shared: \ 206 206 %{!static: \ 207 207 %{rdynamic:-export-dynamic} \ -
gcc/config/xtensa/linux.h
diff -Naur gcc-4.8.1.orig/gcc/config/xtensa/linux.h gcc-4.8.1/gcc/config/xtensa/linux.h
old new 44 44 %{mlongcalls:--longcalls} \ 45 45 %{mno-longcalls:--no-longcalls}" 46 46 47 #define GLIBC_DYNAMIC_LINKER "/ lib/ld.so.1"47 #define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1" 48 48 49 49 #undef LINK_SPEC 50 50 #define LINK_SPEC \
Note:
See TracBrowser
for help on using the repository browser.