]> git.pld-linux.org Git - packages/crossppc-gcc.git/blame - gcc-hash-style-gnu.patch
- drop obsolete files
[packages/crossppc-gcc.git] / gcc-hash-style-gnu.patch
CommitLineData
2b82b10d
PS
1--- gcc-4.2.0-20070316/gcc/config/alpha/linux-elf.h.orig 2006-02-18 06:12:51.000000000 -0500
2+++ gcc-4.2.0-20070316/gcc/config/alpha/linux-elf.h 2007-04-18 07:14:56.875631582 -0400
3@@ -40,7 +40,7 @@
4
5 #define ELF_DYNAMIC_LINKER LINUX_DYNAMIC_LINKER
6
7-#define LINK_SPEC "-m elf64alpha %{G*} %{relax:-relax} \
8+#define LINK_SPEC "-m elf64alpha --hash-style=gnu %{G*} %{relax:-relax} \
9 %{O*:-O3} %{!O*:-O1} \
10 %{shared:-shared} \
11 %{!shared: \
12--- gcc-4.2.0-20070316/gcc/config/s390/linux.h.orig 2006-12-12 10:21:53.000000000 -0500
13+++ gcc-4.2.0-20070316/gcc/config/s390/linux.h 2007-04-18 07:14:56.875631582 -0400
14@@ -78,7 +78,7 @@
15
16 #undef LINK_SPEC
17 #define LINK_SPEC \
18- "%{m31:-m elf_s390}%{m64:-m elf64_s390} \
19+ "%{m31:-m elf_s390}%{m64:-m elf64_s390} --hash-style=gnu \
20 %{shared:-shared} \
21 %{!shared: \
22 %{static:-static} \
23--- gcc-4.2.0-20070316/gcc/config/sparc/linux.h.orig 2006-02-18 06:12:51.000000000 -0500
24+++ gcc-4.2.0-20070316/gcc/config/sparc/linux.h 2007-04-18 07:14:56.875631582 -0400
25@@ -133,7 +133,7 @@
26
27
28 #undef LINK_SPEC
29-#define LINK_SPEC "-m elf32_sparc -Y P,/usr/lib %{shared:-shared} \
30+#define LINK_SPEC "-m elf32_sparc --hash-style=gnu -Y P,/usr/lib %{shared:-shared} \
31 %{!mno-relax:%{!r:-relax}} \
32 %{!shared: \
33 %{!ibcs: \
34--- gcc-4.2.0-20070316/gcc/config/sparc/linux64.h.orig 2006-03-02 17:47:02.000000000 -0500
35+++ gcc-4.2.0-20070316/gcc/config/sparc/linux64.h 2007-04-18 07:16:49.644880415 -0400
3fea1298 36@@ -121,7 +121,7 @@
2b82b10d
PS
37 { "link_arch_default", LINK_ARCH_DEFAULT_SPEC }, \
38 { "link_arch", LINK_ARCH_SPEC },
39
3fea1298
PS
40-#define LINK_ARCH32_SPEC "-m elf32_sparc -Y P,%R/usr/lib %{shared:-shared} \
41+#define LINK_ARCH32_SPEC "-m elf32_sparc --hash-style=gnu -Y P,%R/usr/lib %{shared:-shared} \
2b82b10d
PS
42 %{!shared: \
43 %{!ibcs: \
44 %{!static: \
3fea1298 45@@ -130,7 +130,7 @@
2b82b10d
PS
46 %{static:-static}}} \
47 "
48
3fea1298
PS
49-#define LINK_ARCH64_SPEC "-m elf64_sparc -Y P,%R/usr/lib64 %{shared:-shared} \
50+#define LINK_ARCH64_SPEC "-m elf64_sparc --hash-style=gnu -Y P,%R/usr/lib64 %{shared:-shared} \
2b82b10d
PS
51 %{!shared: \
52 %{!ibcs: \
53 %{!static: \
3fea1298 54@@ -211,7 +211,7 @@
2b82b10d
PS
55 #else /* !SPARC_BI_ARCH */
56
57 #undef LINK_SPEC
3fea1298
PS
58-#define LINK_SPEC "-m elf64_sparc -Y P,%R/usr/lib64 %{shared:-shared} \
59+#define LINK_SPEC "-m elf64_sparc --hash-style=gnu -Y P,%R/usr/lib64 %{shared:-shared} \
2b82b10d
PS
60 %{!shared: \
61 %{!ibcs: \
62 %{!static: \
63--- gcc-4.2.0-20070316/gcc/config/i386/linux.h.orig 2006-04-06 18:16:11.000000000 -0400
64+++ gcc-4.2.0-20070316/gcc/config/i386/linux.h 2007-04-18 07:14:56.875631582 -0400
65@@ -109,7 +109,7 @@
66 { "dynamic_linker", LINUX_DYNAMIC_LINKER }
67
68 #undef LINK_SPEC
69-#define LINK_SPEC "-m %(link_emulation) %{shared:-shared} \
70+#define LINK_SPEC "-m %(link_emulation) --hash-style=gnu %{shared:-shared} \
71 %{!shared: \
72 %{!ibcs: \
73 %{!static: \
74--- gcc-4.2.0-20070316/gcc/config/i386/linux64.h.orig 2006-02-18 06:12:51.000000000 -0500
75+++ gcc-4.2.0-20070316/gcc/config/i386/linux64.h 2007-04-18 07:14:56.875631582 -0400
ff39d931
PS
76@@ -65,7 +65,7 @@
77 #endif
2b82b10d
PS
78
79 #undef LINK_SPEC
ff39d931
PS
80-#define LINK_SPEC "%{" SPEC_64 ":-m elf_x86_64} %{" SPEC_32 ":-m elf_i386} \
81+#define LINK_SPEC "%{" SPEC_64 ":-m elf_x86_64} %{" SPEC_32 ":-m elf_i386} --hash-style=gnu \
2b82b10d
PS
82 %{shared:-shared} \
83 %{!shared: \
84 %{!static: \
85--- gcc-4.2.0-20070316/gcc/config/ia64/linux.h.orig 2006-12-12 10:21:53.000000000 -0500
86+++ gcc-4.2.0-20070316/gcc/config/ia64/linux.h 2007-04-18 07:14:56.875631582 -0400
87@@ -40,7 +40,7 @@
88 #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-ia64.so.2"
89
90 #undef LINK_SPEC
91-#define LINK_SPEC "\
92+#define LINK_SPEC "--hash-style=gnu \
93 %{shared:-shared} \
94 %{!shared: \
95 %{!static: \
96--- gcc-4.2.0-20070316/gcc/config/rs6000/sysv4.h.orig 2007-03-09 19:59:15.000000000 -0500
97+++ gcc-4.2.0-20070316/gcc/config/rs6000/sysv4.h 2007-04-18 07:14:56.872300144 -0400
98@@ -902,7 +902,7 @@
99 #define LINUX_DYNAMIC_LINKER \
100 CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER)
101
102-#define LINK_OS_LINUX_SPEC "-m elf32ppclinux %{!shared: %{!static: \
103+#define LINK_OS_LINUX_SPEC "-m elf32ppclinux --hash-style=gnu %{!shared: %{!static: \
104 %{rdynamic:-export-dynamic} \
105 %{!dynamic-linker:-dynamic-linker " LINUX_DYNAMIC_LINKER "}}}"
106
107--- gcc-4.2.0-20070316/gcc/config/rs6000/linux64.h.orig 2006-07-14 11:54:23.000000000 -0400
108+++ gcc-4.2.0-20070316/gcc/config/rs6000/linux64.h 2007-04-18 07:18:14.042413298 -0400
109@@ -351,11 +351,11 @@
110 CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER64, UCLIBC_DYNAMIC_LINKER64)
111
112
113-#define LINK_OS_LINUX_SPEC32 "-m elf32ppclinux %{!shared: %{!static: \
114+#define LINK_OS_LINUX_SPEC32 "-m elf32ppclinux --hash-style=gnu %{!shared: %{!static: \
115 %{rdynamic:-export-dynamic} \
116 %{!dynamic-linker:-dynamic-linker " LINUX_DYNAMIC_LINKER32 "}}}"
117
118-#define LINK_OS_LINUX_SPEC64 "-m elf64ppc %{!shared: %{!static: \
119+#define LINK_OS_LINUX_SPEC64 "-m elf64ppc --hash-style=gnu %{!shared: %{!static: \
120 %{rdynamic:-export-dynamic} \
121 %{!dynamic-linker:-dynamic-linker " LINUX_DYNAMIC_LINKER64 "}}}"
122
This page took 0.124872 seconds and 4 git commands to generate.