~ubuntu-branches/debian/sid/gcc-4.8/sid

« back to all changes in this revision

Viewing changes to .svn/pristine/9f/9fafce444c1ab1bd660eea11ecf16cfe53dbb1d4.svn-base

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2014-12-19 19:48:34 UTC
  • Revision ID: package-import@ubuntu.com-20141219194834-4dz1q7rrn5pad823
Tags: 4.8.4-1
* GCC 4.8.4 release.
  - Fix PR target/61407 (darwin), PR middle-end/58624 (ice),
    PR sanitizer/64265 (wrong code).
* Require recent binutils to pass go test failures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# DP: Link using --hash-style=gnu (aarch64, alpha, amd64, armel, armhf, ia64,
 
2
# DP: i386, powerpc, ppc64, s390, sparc)
 
3
 
 
4
2006-07-11  Jakub Jelinek  <jakub@redhat.com>
 
5
 
 
6
        * config/i386/linux.h (LINK_SPEC): Add --hash-style=gnu.
 
7
        * config/i386/linux64.h (LINK_SPEC): Likewise.
 
8
        * config/rs6000/sysv4.h (LINK_OS_LINUX_SPEC): Likewise.
 
9
        * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC32,
 
10
        LINK_OS_LINUX_SPEC64): Likewise.
 
11
        * config/s390/linux.h (LINK_SPEC): Likewise.
 
12
        * config/ia64/linux.h (LINK_SPEC): Likewise.
 
13
        * config/sparc/linux.h (LINK_SPEC): Likewise.
 
14
        * config/sparc/linux64.h (LINK_SPEC, LINK_ARCH32_SPEC,
 
15
        LINK_ARCH64_SPEC): Likewise.
 
16
        * config/alpha/linux-elf.h (LINK_SPEC): Likewise.
 
17
 
 
18
2009-12-21  Matthias Klose  <doko@ubuntu.com>
 
19
 
 
20
        * config/arm/linux-elf.h (LINK_SPEC): Add --hash-style=gnu.
 
21
 
 
22
2012-11-17  Matthias Klose  <doko@ubuntu.com>
 
23
 
 
24
        * config/aarch64/aarch64-linux.h (LINK_SPEC): Add --hash-style=gnu.
 
25
        
 
26
---
 
27
 gcc/config/alpha/linux-elf.h |    2 +-
 
28
 gcc/config/i386/linux.h      |    2 +-
 
29
 gcc/config/i386/linux64.h    |    2 +-
 
30
 gcc/config/ia64/linux.h      |    2 +-
 
31
 gcc/config/rs6000/linux64.h  |    4 ++--
 
32
 gcc/config/rs6000/sysv4.h    |    2 +-
 
33
 gcc/config/s390/linux.h      |    2 +-
 
34
 gcc/config/sparc/linux.h     |    2 +-
 
35
 8 files changed, 9 insertions(+), 9 deletions(-)
 
36
 
 
37
Index: b/src/gcc/config/alpha/linux-elf.h
 
38
===================================================================
 
39
--- a/src/gcc/config/alpha/linux-elf.h
 
40
+++ b/src/gcc/config/alpha/linux-elf.h
 
41
@@ -37,7 +37,7 @@
 
42
 
 
43
 #define ELF_DYNAMIC_LINKER     GNU_USER_DYNAMIC_LINKER
 
44
 
 
45
-#define LINK_SPEC "-m elf64alpha %{G*} %{relax:-relax}         \
 
46
+#define LINK_SPEC "-m elf64alpha --hash-style=gnu %{G*} %{relax:-relax}        \
 
47
   %{O*:-O3} %{!O*:-O1}                                         \
 
48
   %{shared:-shared}                                            \
 
49
   %{!shared:                                                   \
 
50
Index: b/src/gcc/config/ia64/linux.h
 
51
===================================================================
 
52
--- a/src/gcc/config/ia64/linux.h
 
53
+++ b/src/gcc/config/ia64/linux.h
 
54
@@ -58,7 +58,7 @@
 
55
 #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-ia64.so.2"
 
56
 
 
57
 #undef LINK_SPEC
 
58
-#define LINK_SPEC "\
 
59
+#define LINK_SPEC " --hash-style=gnu \
 
60
   %{shared:-shared} \
 
61
   %{!shared: \
 
62
     %{!static: \
 
63
Index: b/src/gcc/config/rs6000/linux64.h
 
64
===================================================================
 
65
--- a/src/gcc/config/rs6000/linux64.h
 
66
+++ b/src/gcc/config/rs6000/linux64.h
 
67
@@ -377,11 +377,11 @@
 
68
   CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER64, UCLIBC_DYNAMIC_LINKER64)
 
69
 
 
70
 
 
71
-#define LINK_OS_LINUX_SPEC32 "-m elf32ppclinux %{!shared: %{!static: \
 
72
+#define LINK_OS_LINUX_SPEC32 "-m elf32ppclinux --hash-style=gnu %{!shared: %{!static: \
 
73
   %{rdynamic:-export-dynamic} \
 
74
   -dynamic-linker " GNU_USER_DYNAMIC_LINKER32 "}}"
 
75
 
 
76
-#define LINK_OS_LINUX_SPEC64 "-m elf64ppc %{!shared: %{!static: \
 
77
+#define LINK_OS_LINUX_SPEC64 "-m elf64ppc --hash-style=gnu %{!shared: %{!static: \
 
78
   %{rdynamic:-export-dynamic} \
 
79
   -dynamic-linker " GNU_USER_DYNAMIC_LINKER64 "}}"
 
80
 
 
81
Index: b/src/gcc/config/rs6000/sysv4.h
 
82
===================================================================
 
83
--- a/src/gcc/config/rs6000/sysv4.h
 
84
+++ b/src/gcc/config/rs6000/sysv4.h
 
85
@@ -799,7 +799,7 @@
 
86
 #define GNU_USER_DYNAMIC_LINKER \
 
87
   CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER)
 
88
 
 
89
-#define LINK_OS_LINUX_SPEC "-m elf32ppclinux %{!shared: %{!static: \
 
90
+#define LINK_OS_LINUX_SPEC "-m elf32ppclinux --hash-style=gnu %{!shared: %{!static: \
 
91
   %{rdynamic:-export-dynamic} \
 
92
   -dynamic-linker " GNU_USER_DYNAMIC_LINKER "}}"
 
93
 
 
94
Index: b/src/gcc/config/s390/linux.h
 
95
===================================================================
 
96
--- a/src/gcc/config/s390/linux.h
 
97
+++ b/src/gcc/config/s390/linux.h
 
98
@@ -65,7 +65,7 @@
 
99
 
 
100
 #undef  LINK_SPEC
 
101
 #define LINK_SPEC \
 
102
-  "%{m31:-m elf_s390}%{m64:-m elf64_s390} \
 
103
+  "%{m31:-m elf_s390}%{m64:-m elf64_s390} --hash-style=gnu \
 
104
    %{shared:-shared} \
 
105
    %{!shared: \
 
106
       %{static:-static} \
 
107
Index: b/src/gcc/config/sparc/linux.h
 
108
===================================================================
 
109
--- a/src/gcc/config/sparc/linux.h
 
110
+++ b/src/gcc/config/sparc/linux.h
 
111
@@ -86,7 +86,7 @@
 
112
 #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
 
113
 
 
114
 #undef  LINK_SPEC
 
115
-#define LINK_SPEC "-m elf32_sparc %{shared:-shared} \
 
116
+#define LINK_SPEC "-m elf32_sparc --hash-style=gnu %{shared:-shared} \
 
117
   %{!mno-relax:%{!r:-relax}} \
 
118
   %{!shared: \
 
119
     %{!static: \
 
120
Index: b/src/gcc/config/arm/linux-elf.h
 
121
===================================================================
 
122
--- a/src/gcc/config/arm/linux-elf.h
 
123
+++ b/src/gcc/config/arm/linux-elf.h
 
124
@@ -67,6 +67,7 @@
 
125
      %{rdynamic:-export-dynamic} \
 
126
      -dynamic-linker " GNU_USER_DYNAMIC_LINKER "} \
 
127
    -X \
 
128
+   --hash-style=gnu \
 
129
    %{mbig-endian:-EB} %{mlittle-endian:-EL}" \
 
130
    SUBTARGET_EXTRA_LINK_SPEC
 
131
 
 
132
Index: b/src/gcc/config/i386/gnu-user.h
 
133
===================================================================
 
134
--- a/src/gcc/config/i386/gnu-user.h
 
135
+++ b/src/gcc/config/i386/gnu-user.h
 
136
@@ -74,7 +74,7 @@
 
137
   { "link_emulation", GNU_USER_LINK_EMULATION },\
 
138
   { "dynamic_linker", GNU_USER_DYNAMIC_LINKER }
 
139
 
 
140
-#define GNU_USER_TARGET_LINK_SPEC "-m %(link_emulation) %{shared:-shared} \
 
141
+#define GNU_USER_TARGET_LINK_SPEC "-m %(link_emulation) --hash-style=gnu %{shared:-shared} \
 
142
   %{!shared: \
 
143
     %{!static: \
 
144
       %{rdynamic:-export-dynamic} \
 
145
Index: b/src/gcc/config/i386/gnu-user64.h
 
146
===================================================================
 
147
--- a/src/gcc/config/i386/gnu-user64.h
 
148
+++ b/src/gcc/config/i386/gnu-user64.h
 
149
@@ -56,6 +56,7 @@
 
150
                   "%{" SPEC_64 ":-m " GNU_USER_LINK_EMULATION64 "} \
 
151
                    %{" SPEC_32 ":-m " GNU_USER_LINK_EMULATION32 "} \
 
152
                    %{" SPEC_X32 ":-m " GNU_USER_LINK_EMULATIONX32 "} \
 
153
+  --hash-style=gnu \
 
154
   %{shared:-shared} \
 
155
   %{!shared: \
 
156
     %{!static: \
 
157
Index: b/src/gcc/config/aarch64/aarch64-linux.h
 
158
===================================================================
 
159
--- a/src/gcc/config/aarch64/aarch64-linux.h
 
160
+++ b/src/gcc/config/aarch64/aarch64-linux.h
 
161
@@ -24,6 +24,7 @@
 
162
 #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-aarch64.so.1"
 
163
 
 
164
 #define LINUX_TARGET_LINK_SPEC  "%{h*}         \
 
165
+   --hash-style=gnu                            \
 
166
    %{static:-Bstatic}                          \
 
167
    %{shared:-shared}                           \
 
168
    %{symbolic:-Bsymbolic}                      \