source:
scripts/patch/gcc/4.4.1/25-hash-style.patch@
c66f200
Last change on this file since c66f200 was ee54da9, checked in by , 15 years ago | |
---|---|
|
|
File size: 6.1 KB |
-
gcc/config/alpha/linux-elf.h
2006-07-11 Jakub Jelinek <jakub@redhat.com> * config/i386/linux.h (LINK_SPEC): Add --hash-style=both. * config/i386/linux64.h (LINK_SPEC): Likewise. * config/rs6000/sysv4.h (LINK_OS_LINUX_SPEC): Likewise. * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC32, LINK_OS_LINUX_SPEC64): Likewise. * config/s390/linux.h (LINK_SPEC): Likewise. * config/ia64/linux.h (LINK_SPEC): Likewise. * config/sparc/linux.h (LINK_SPEC): Likewise. * config/sparc/linux64.h (LINK_SPEC, LINK_ARCH32_SPEC, LINK_ARCH64_SPEC): Likewise. * config/alpha/linux-elf.h (LINK_SPEC): Likewise. diff -Naur gcc-4.4.0.orig/gcc/config/alpha/linux-elf.h gcc-4.4.0/gcc/config/alpha/linux-elf.h
old new 39 39 40 40 #define ELF_DYNAMIC_LINKER LINUX_DYNAMIC_LINKER 41 41 42 #define LINK_SPEC "-m elf64alpha %{G*} %{relax:-relax}\42 #define LINK_SPEC "-m elf64alpha --hash-style=both %{G*} %{relax:-relax} \ 43 43 %{O*:-O3} %{!O*:-O1} \ 44 44 %{shared:-shared} \ 45 45 %{!shared: \ -
gcc/config/i386/linux64.h
diff -Naur gcc-4.4.0.orig/gcc/config/i386/linux64.h gcc-4.4.0/gcc/config/i386/linux64.h
old new 75 75 #endif 76 76 77 77 #undef LINK_SPEC 78 #define LINK_SPEC "%{" SPEC_64 ":-m elf_x86_64} %{" SPEC_32 ":-m elf_i386} \78 #define LINK_SPEC "%{" SPEC_64 ":-m elf_x86_64} %{" SPEC_32 ":-m elf_i386} --hash-style=both \ 79 79 %{shared:-shared} \ 80 80 %{!shared: \ 81 81 %{!static: \ -
gcc/config/i386/linux.h
diff -Naur gcc-4.4.0.orig/gcc/config/i386/linux.h gcc-4.4.0/gcc/config/i386/linux.h
old new 113 113 { "dynamic_linker", LINUX_DYNAMIC_LINKER } 114 114 115 115 #undef LINK_SPEC 116 #define LINK_SPEC "-m %(link_emulation) %{shared:-shared} \116 #define LINK_SPEC "-m %(link_emulation) --hash-style=both %{shared:-shared} \ 117 117 %{!shared: \ 118 118 %{!ibcs: \ 119 119 %{!static: \ -
gcc/config/ia64/linux.h
diff -Naur gcc-4.4.0.orig/gcc/config/ia64/linux.h gcc-4.4.0/gcc/config/ia64/linux.h
old new 40 40 #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-ia64.so.2" 41 41 42 42 #undef LINK_SPEC 43 #define LINK_SPEC " \43 #define LINK_SPEC "--hash-style=both \ 44 44 %{shared:-shared} \ 45 45 %{!shared: \ 46 46 %{!static: \ -
gcc/config/rs6000/linux64.h
diff -Naur gcc-4.4.0.orig/gcc/config/rs6000/linux64.h gcc-4.4.0/gcc/config/rs6000/linux64.h
old new 357 357 CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER64, UCLIBC_DYNAMIC_LINKER64) 358 358 359 359 360 #define LINK_OS_LINUX_SPEC32 "-m elf32ppclinux %{!shared: %{!static: \360 #define LINK_OS_LINUX_SPEC32 "-m elf32ppclinux --hash-style=both %{!shared: %{!static: \ 361 361 %{rdynamic:-export-dynamic} \ 362 362 %{!dynamic-linker:-dynamic-linker " LINUX_DYNAMIC_LINKER32 "}}}" 363 363 364 #define LINK_OS_LINUX_SPEC64 "-m elf64ppc %{!shared: %{!static: \364 #define LINK_OS_LINUX_SPEC64 "-m elf64ppc --hash-style=both %{!shared: %{!static: \ 365 365 %{rdynamic:-export-dynamic} \ 366 366 %{!dynamic-linker:-dynamic-linker " LINUX_DYNAMIC_LINKER64 "}}}" 367 367 -
gcc/config/rs6000/sysv4.h
diff -Naur gcc-4.4.0.orig/gcc/config/rs6000/sysv4.h gcc-4.4.0/gcc/config/rs6000/sysv4.h
old new 911 911 #define LINUX_DYNAMIC_LINKER \ 912 912 CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER) 913 913 914 #define LINK_OS_LINUX_SPEC "-m elf32ppclinux %{!shared: %{!static: \914 #define LINK_OS_LINUX_SPEC "-m elf32ppclinux --hash-style=both %{!shared: %{!static: \ 915 915 %{rdynamic:-export-dynamic} \ 916 916 %{!dynamic-linker:-dynamic-linker " LINUX_DYNAMIC_LINKER "}}}" 917 917 -
gcc/config/s390/linux.h
diff -Naur gcc-4.4.0.orig/gcc/config/s390/linux.h gcc-4.4.0/gcc/config/s390/linux.h
old new 77 77 78 78 #undef LINK_SPEC 79 79 #define LINK_SPEC \ 80 "%{m31:-m elf_s390}%{m64:-m elf64_s390} \80 "%{m31:-m elf_s390}%{m64:-m elf64_s390} --hash-style=both \ 81 81 %{shared:-shared} \ 82 82 %{!shared: \ 83 83 %{static:-static} \ -
gcc/config/sparc/linux64.h
diff -Naur gcc-4.4.0.orig/gcc/config/sparc/linux64.h gcc-4.4.0/gcc/config/sparc/linux64.h
old new 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 --hash-style=both -Y P,%R/usr/lib %{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 --hash-style=both -Y P,%R/usr/lib64 %{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 --hash-style=both -Y P,%R/usr/lib64 %{shared:-shared} \ 215 215 %{!shared: \ 216 216 %{!ibcs: \ 217 217 %{!static: \ -
gcc/config/sparc/linux.h
diff -Naur gcc-4.4.0.orig/gcc/config/sparc/linux.h gcc-4.4.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 --hash-style=both -Y P,/usr/lib %{shared:-shared} \ 90 90 %{!mno-relax:%{!r:-relax}} \ 91 91 %{!shared: \ 92 92 %{!ibcs: \
Note:
See TracBrowser
for help on using the repository browser.