x86: Properly set IBT and SHSTK properties for -z ibt/shstk
[external/binutils.git] / ld / ChangeLog
1 2019-03-13  H.J. Lu  <hongjiu.lu@intel.com>
2
3         PR ld/24322
4         * testsuite/ld-i386/i386.exp: Run PR ld/24322 tests.
5         * testsuite/ld-x86-64/x86-64.exp: Likewise.
6         * testsuite/ld-i386/pr24322a.d: New file.
7         * testsuite/ld-i386/pr24322b.d: Likewise.
8         * testsuite/ld-x86-64/pr24322a-x32.d: Likewise.
9         * testsuite/ld-x86-64/pr24322a.d: Likewise.
10         * testsuite/ld-x86-64/pr24322b-x32.d: Likewise.
11         * testsuite/ld-x86-64/pr24322b.d: Likewise.
12         * testsuite/ld-x86-64/pr24322a.s: Likewise.
13         * testsuite/ld-x86-64/pr24322b.s: Likewise.
14         * testsuite/ld-x86-64/pr24322c.s: Likewise.
15
16 2019-03-06  Nick Bowler  <nbowler@draconx.ca>
17
18         PR 24289
19         * ldexp.c (fold_name): Allow lookups of the LENGTH and ORIGIN
20         attributes during the first phase.
21
22 2019-03-01  Andreas Krebbel  <krebbel@linux.ibm.com>
23
24         This reverts commit 5a12586d44fa8d5dfc74cbca4f2f36a273a16335.
25         2019-01-14  Maamoun Tarsha  <maamountk@hotmail.com>
26
27         PR 20113
28         * emulparams/elf64_s390.sh (SEPARATE_GOTPLT): Define.
29         * emulparams/elf_s390.sh (SEPARATE_GOTPLT): Define.
30         * testsuite/ld-s390/gotreloc_31-1.dd: Update expected output.
31         * testsuite/ld-s390/tlsbin.dd: Likewise.
32         * testsuite/ld-s390/tlsbin.rd: Likewise.
33         * testsuite/ld-s390/tlsbin.sd: Likewise.
34         * testsuite/ld-s390/tlsbin_64.dd: Likewise.
35         * testsuite/ld-s390/tlsbin_64.rd: Likewise.
36         * testsuite/ld-s390/tlsbin_64.sd: Likewise.
37         * testsuite/ld-s390/tlspic.dd: Likewise.
38         * testsuite/ld-s390/tlspic.rd: Likewise.
39         * testsuite/ld-s390/tlspic.sd: Likewise.
40         * testsuite/ld-s390/tlspic_64.dd: Likewise.
41         * testsuite/ld-s390/tlspic_64.rd: Likewise.
42         * testsuite/ld-s390/tlspic_64.sd: Likewise.
43         * testsuite/ld-s390/s390.exp: Skip s390 tests for tpf targets.
44
45 2019-02-27  H.J. Lu  <hongjiu.lu@intel.com>
46
47         PR ld/24276
48         * testsuite/ld-i386/i386.exp: Run PR ld/24276 test.
49         * testsuite/ld-x86-64/x86-64.exp: Likewise.
50         * testsuite/ld-i386/pr24276.dso: New file.
51         * testsuite/ld-i386/pr24276.warn: Likewise.
52         * testsuite/ld-x86-64/pr24276.dso: Likewise.
53         * testsuite/ld-x86-64/pr24276.warn: Likewise.
54
55 2019-02-20  Eric Tsai  <erictsai@cadence.com>
56
57         * testsuite/ld-xtensa/call_overflow.d: New test definition.
58         * testsuite/ld-xtensa/call_overflow1.s: New test source.
59         * testsuite/ld-xtensa/call_overflow2.s: New test source.
60         * testsuite/ld-xtensa/call_overflow3.s: New test source.
61         * testsuite/ld-xtensa/xtensa.exp: Add call_overflow test.
62
63 2019-02-14  Thomas Schwinge  <thomas@codesourcery.com>
64
65         * testsuite/ld-elf/elf.exp: Remove Hurd XFAILs.
66
67 2019-02-12  Nick Clifton  <nickc@redhat.com>
68
69         * po/fr.po: Updated French translation.
70
71 2019-02-09  Vineet Gupta  <vgupta@synopsys.com>
72
73         * emultempl/arclinux.em: Delete special INIT/FINI handling.
74
75 2019-02-07  Nick Clifton  <nickc@redhat.com>
76
77         PR 24175
78         * ld.texi (Options): Add missing word to the description of the
79         --start-group option.
80
81 2019-02-06  Alan Modra  <amodra@gmail.com>
82
83         PR ld/24008
84         * testsuite/ld-scripts/pr24008.d: Pass with extra target
85         defined symbols.
86
87 2019-02-05  H.J. Lu  <hongjiu.lu@intel.com>
88
89         PR ld/24151
90         * testsuite/ld-x86-64/pr24151a-x32.d: New file.
91         * testsuite/ld-x86-64/pr24151a.d: Likewise.
92         * testsuite/ld-x86-64/pr24151a.s: Likewise.
93         * testsuite/ld-x86-64/x86-64.exp: Run pr24151a and pr24151a-x32.
94
95 2019-01-31  Alan Modra  <amodra@gmail.com>
96
97         * NEWS: Mention -t change.
98         * ld.texi (--trace/-t): Expand documentation a little.
99
100 2019-01-29  H.J. Lu  <hongjiu.lu@intel.com>
101
102         PR ld/24008
103         * testsuite/ld-scripts/defined.exp: Run pr24008.
104         * testsuite/ld-scripts/pr24008.d: New file.
105         * testsuite/ld-scripts/pr24008.map: Likewise.
106         * testsuite/ld-scripts/pr24008.s: Likewise.
107         * testsuite/ld-scripts/pr24008.t: Likewise.
108
109 2019-01-29  Eric Botcazou  <ebotcazou@adacore.com>
110
111         * testsuite/ld-ifunc/ifunc.exp: Skip pr23169 on SPARC.
112
113 2019-01-28  Alan Modra  <amodra@gmail.com>
114
115         PR 24008
116         * ldexp.h (lang_phase_type): Add lang_fixed_phase_enum.
117         * ldexp.c (fold_name): Move expld.assign_name check later to
118         avoid an extra lookup.
119         (exp_fold_tree_1): When lang_fixed_phase_enum, don't change symbol
120         values, and don't clear expld.assign_name.
121         * ldlang.c (lang_map): Set expld.phase to lang_fixed_phase_enum.
122         (print_assignment): Resolve entire assignment expression.
123         Don't access symbol u.def unless symbol is defined.
124
125 2019-01-25  Nick Clifton  <nickc@redhat.com>
126
127         * po/bg.po: Updated Bulgarian translation.
128
129 2019-01-23  Sebastian Huber  <sebastian.huber@embedded-brains.de>
130
131         * ld.texi (--wrap): Add warning that LTO may make this feature
132         ineffective.
133
134 2019-01-21  Nick Clifton  <nickc@redhat.com>
135
136         * po/uk.po: Updated Ukranian translation.
137         * po/pr_BR.po: Updated Brazilian Portuguese translation.
138
139 2019-01-21  Nick Clifton  <nickc@redhat.com>
140
141         PR 24108
142         * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Update
143         expected error message.
144
145 2019-01-19  Nick Clifton  <nickc@redhat.com>
146
147         * configure: Regenerate.
148         * po/ld.pot: Regenerate.
149
150 2018-06-24  Nick Clifton  <nickc@redhat.com>
151
152         2.32 branch created.
153
154 2019-01-16  Kito Cheng  <kito@andestech.com>
155
156         * testsuite/ld-elf/orphan-region.d: XFAIL for RISC-V, because add new
157         section.
158         * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Add new tests.
159         * testsuite/ld-riscv-elf/attr-merge-arch-01.d: New test.
160         * testsuite/ld-riscv-elf/attr-merge-arch-01a.s: Likewise.
161         * testsuite/ld-riscv-elf/attr-merge-arch-01b.s: Likewise.
162         * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
163         * testsuite/ld-riscv-elf/attr-merge-arch-02a.s: Likewise.
164         * testsuite/ld-riscv-elf/attr-merge-arch-02b.s: Likewise.
165         * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
166         * testsuite/ld-riscv-elf/attr-merge-arch-03a.s: Likewise.
167         * testsuite/ld-riscv-elf/attr-merge-arch-03b.s: Likewise.
168         * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Likewise.
169         * testsuite/ld-riscv-elf/attr-merge-arch-failed-01a.s: Likewise.
170         * testsuite/ld-riscv-elf/attr-merge-arch-failed-01b.s: Likewise.
171         * testsuite/ld-riscv-elf/attr-merge-priv-spec-a.s: Likewise.
172         * testsuite/ld-riscv-elf/attr-merge-priv-spec-b.s: Likewise.
173         * testsuite/ld-riscv-elf/attr-merge-priv-spec.d: Likewise.
174         * testsuite/ld-riscv-elf/attr-merge-stack-align-a.s: Likewise.
175         * testsuite/ld-riscv-elf/attr-merge-stack-align-b.s: Likewise.
176         * testsuite/ld-riscv-elf/attr-merge-stack-align-failed-a.s: Likewise.
177         * testsuite/ld-riscv-elf/attr-merge-stack-align-failed-b.s: Likewise.
178         * testsuite/ld-riscv-elf/attr-merge-stack-align-failed.d: Likewise.
179         * testsuite/ld-riscv-elf/attr-merge-stack-align.d: Likewise.
180         * testsuite/ld-riscv-elf/attr-merge-strict-align-01.d: Likewise.
181         * testsuite/ld-riscv-elf/attr-merge-strict-align-01a.s: Likewise.
182         * testsuite/ld-riscv-elf/attr-merge-strict-align-01b.s: Likewise.
183         * testsuite/ld-riscv-elf/attr-merge-strict-align-02.d: Likewise.
184         * testsuite/ld-riscv-elf/attr-merge-strict-align-02a.s: Likewise.
185         * testsuite/ld-riscv-elf/attr-merge-strict-align-02b.s: Likewise.
186         * testsuite/ld-riscv-elf/attr-merge-strict-align-03.d: Likewise.
187         * testsuite/ld-riscv-elf/attr-merge-strict-align-03a.s: Likewise.
188         * testsuite/ld-riscv-elf/attr-merge-strict-align-03b.s: Likewise.
189         * testsuite/ld-riscv-elf/attr-merge-strict-align-04.d: Likewise.
190         * testsuite/ld-riscv-elf/attr-merge-strict-align-04a.s: Likewise.
191         * testsuite/ld-riscv-elf/attr-merge-strict-align-04b.s: Likewise.
192         * testsuite/ld-riscv-elf/attr-merge-strict-align-05.d: Likewise.
193         * testsuite/ld-riscv-elf/attr-merge-strict-align-05a.s: Likewise.
194         * testsuite/ld-riscv-elf/attr-merge-strict-align-05b.s: Likewise.
195
196 2019-01-14  Maamoun Tarsha  <maamountk@hotmail.com>
197
198         PR 20113
199         * emulparams/elf64_s390.sh (SEPARATE_GOTPLT): Define.
200         * emulparams/elf_s390.sh (SEPARATE_GOTPLT): Define.
201         * testsuite/ld-s390/gotreloc_31-1.dd: Update expected output.
202         * testsuite/ld-s390/tlsbin.dd: Likewise.
203         * testsuite/ld-s390/tlsbin.rd: Likewise.
204         * testsuite/ld-s390/tlsbin.sd: Likewise.
205         * testsuite/ld-s390/tlsbin_64.dd: Likewise.
206         * testsuite/ld-s390/tlsbin_64.rd: Likewise.
207         * testsuite/ld-s390/tlsbin_64.sd: Likewise.
208         * testsuite/ld-s390/tlspic.dd: Likewise.
209         * testsuite/ld-s390/tlspic.rd: Likewise.
210         * testsuite/ld-s390/tlspic.sd: Likewise.
211         * testsuite/ld-s390/tlspic_64.dd: Likewise.
212         * testsuite/ld-s390/tlspic_64.rd: Likewise.
213         * testsuite/ld-s390/tlspic_64.sd: Likewise.
214         * testsuite/ld-s390/s390.exp: Skip s390 tests for tpf targets.
215
216 2019-01-14  Sebastian Huber  <sebastian.huber@embedded-brains.de>
217
218         * ld.texi (--wrap): Add example to emphasise that only undefined
219         references are replaced by the linker.
220
221 2019-01-09  Nick Clifton  <nickc@redhat.com>
222
223         * po/es.po: Updated Spanish translation.
224
225 2019-01-09  Andrew Paprocki  <andrew@ishiboo.com>
226
227         * configure: Regenerate.
228
229 2019-01-08  Alan Modra  <amodra@gmail.com>
230
231         * testsuite/ld-elf/sec64k.exp: Use . rather than $objdir in
232         generated source file names.
233         * testsuite/ld-m68k/m68k-got.exp: Likewise.
234
235 2019-01-01  Alan Modra  <amodra@gmail.com>
236
237         Update year range in copyright notice of all files.
238
239 For older changes see ChangeLog-2018
240 \f
241 Copyright (C) 2019 Free Software Foundation, Inc.
242
243 Copying and distribution of this file, with or without modification,
244 are permitted in any medium without royalty provided the copyright
245 notice and this notice are preserved.
246
247 Local Variables:
248 mode: change-log
249 left-margin: 8
250 fill-column: 74
251 version-control: never
252 End: