]> Git Repo - binutils.git/blob - ld/ChangeLog
[BFD, AArch64, x86] Improve warning for --force-bti
[binutils.git] / ld / ChangeLog
1 2019-03-21  Sudakshina Das  <[email protected]>
2
3         * testsuite/ld-aarch64/aarch64-elf.exp: Add new test.
4         * testsuite/ld-aarch64/bti-plt-1.s: Add .ifdef for PAC note section.
5         * testsuite/ld-aarch64/bti-plt-6.d: Update warning.
6         * testsuite/ld-aarch64/bti-plt-7.d: Likewise.
7         * testsuite/ld-aarch64/bti-warn.d: New test.
8
9 2019-03-21  Alan Modra  <[email protected]>
10
11         * testsuite/ld-elf/fini2.s: Reduce alignment.
12         * testsuite/ld-elf/fini3.s: Likewise.
13         * testsuite/ld-elf/finin.s: Likewise.
14         * testsuite/ld-elf/init2.s: Likewise.
15         * testsuite/ld-elf/init3.s: Likewise.
16         * testsuite/ld-elf/initn.s: Likewise.
17         * testsuite/ld-elf/pr14156a.d: Don't xfail m68hc1*-* or xgate-*.
18         * testsuite/ld-elf/pr14156b.d: Don't xfail xgate-*.
19
20 2019-03-21  Alan Modra  <[email protected]>
21
22         * scripttempl/alpha.sc, * scripttempl/armbpabi.sc,
23         * scripttempl/crisaout.sc, * scripttempl/elf32cr16.sc,
24         * scripttempl/elf32crx.sc, * scripttempl/elf32xc16x.sc,
25         * scripttempl/elf32xc16xl.sc, * scripttempl/elf32xc16xs.sc,
26         * scripttempl/elf64hppa.sc, * scripttempl/elf_chaos.sc,
27         * scripttempl/elfarc.sc, * scripttempl/elfarcv2.sc,
28         * scripttempl/elfd30v.sc, * scripttempl/elfm68hc11.sc,
29         * scripttempl/elfm68hc12.sc, * scripttempl/elfm9s12z.sc,
30         * scripttempl/elfmicroblaze.sc, * scripttempl/elfxgate.sc,
31         * scripttempl/elfxtensa.sc, * scripttempl/epiphany_4x4.sc,
32         * scripttempl/ft32.sc, * scripttempl/i386beos.sc,
33         * scripttempl/iq2000.sc, * scripttempl/mcorepe.sc,
34         * scripttempl/mep.sc, * scripttempl/mips.sc, * scripttempl/moxie.sc,
35         * scripttempl/pe.sc, * scripttempl/pep.sc, * scripttempl/ppcpe.sc,
36         * scripttempl/tic4xcoff.sc, * scripttempl/tic80coff.sc,
37         * scripttempl/v850.sc, * scripttempl/v850_rh850.sc,
38         * scripttempl/visium.sc, * scripttempl/xstormy16.sc: Add KEEP and
39         SORT_NONE to .init and .fini wildcards.
40         * scripttempl/elf32xc16x.sc,
41         * scripttempl/elf32xc16xl.sc,
42         * scripttempl/elf32xc16xs.sc: Add .fini wildcard.
43         * scripttempl/elf_chaos.sc: Add .init output section.
44         * scripttempl/elfd30v.sc: Remove duplicate .init.
45         * scripttempl/elfm68hc11.sc, * scripttempl/elfm68hc12.sc,
46         * scripttempl/elfm9s12z.sc, * scripttempl/elfxgate.sc: Remove
47         duplicate .init, and add .fini wildcard.
48         * scripttempl/ppcpe.sc (INIT, FINI): Delete.
49         * ldlang.c (update_wild_statements): Special case .init and
50         .fini in the wildcard, not the output section.
51
52 2019-03-21  Alan Modra  <[email protected]>
53
54         * emulparams/elf32lm32fd.sh (DYNAMIC_LINK): Undef.
55
56 2019-03-21  Alan Modra  <[email protected]>
57
58         * ldlang.c (lang_size_sections_1): Set SEC_KEEP on
59         create_object_symbols_section.
60         * testsuite/ld-elf/pr22319.d: Don't xfail dlx.
61
62 2019-03-18  Alan Modra  <[email protected]>
63
64         * testsuite/ld-elf/merge.d: Remove csky from xfails, add moxie.
65         * testsuite/ld-elf/pr21884.d: Remove csky from xfails.
66         * testsuite/ld-elf/shared.exp: Add csky to list not xfailing pr22374.
67         * testsuite/ld-unique/pr21529.d: Remove csky from xfails
68
69 2019-03-15  Nick Clifton  <[email protected]>
70
71         PR 24262
72         * ld.texi (-plugin): Correct the path used to locate linker
73         plugins.
74
75 2019-03-13  Sudakshina Das  <[email protected]>
76
77         * NEWS: Document --pac-plt.
78         * emultempl/aarch64elf.em (OPTION_PAC_PLT): New.
79         (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add pac-plt.
80         (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_PAC_PLT.
81         * testsuite/ld-aarch64/aarch64-elf.exp: Add the following tests.
82         * testsuite/ld-aarch64/bti-pac-plt-1.d: New test.
83         * testsuite/ld-aarch64/bti-pac-plt-2.d: New test.
84         * testsuite/ld-aarch64/pac-plt-1.d: New test.
85         * testsuite/ld-aarch64/pac-plt-2.d: New test.
86         * testsuite/ld-aarch64/bti-plt-1.s: Add .ifndef directive.
87
88 2019-03-13  Sudakshina Das  <[email protected]>
89             Szabolcs Nagy  <[email protected]>
90
91         * NEWS: Document --force-bti.
92         * emultempl/aarch64elf.em (plt_type, bti_type, OPTION_FORCE_BTI): New.
93         (PARSE_AND_LIST_SHORTOPTS, PARSE_AND_LIST_OPTIONS): Add force-bti.
94         (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_FORCE_BTI.
95         * testsuite/ld-aarch64/aarch64-elf.exp: Add all the tests below.
96         * testsuite/ld-aarch64/bti-plt-1.d: New test.
97         * testsuite/ld-aarch64/bti-plt-1.s: New test.
98         * testsuite/ld-aarch64/bti-plt-2.d: New test.
99         * testsuite/ld-aarch64/bti-plt-3.d: New test.
100         * testsuite/ld-aarch64/bti-plt-4.d: New test.
101         * testsuite/ld-aarch64/bti-plt-5.d: New test.
102         * testsuite/ld-aarch64/bti-plt-6.d: New test.
103         * testsuite/ld-aarch64/bti-plt-7.d: New test.
104         * testsuite/ld-aarch64/bti-plt-so.s: New test.
105         * testsuite/ld-aarch64/bti-plt.ld: New test.
106
107 2019-03-13  Sudakshina Das  <[email protected]>
108
109         * NEWS: Document GNU_PROPERTY_AARCH64_FEATURE_1_BTI and
110         GNU_PROPERTY_AARCH64_FEATURE_1_PAC.
111         * testsuite/ld-aarch64/aarch64-elf.exp: Add run commands for new tests.
112         * testsuite/ld-aarch64/property-bti-pac1.d: New test.
113         * testsuite/ld-aarch64/property-bti-pac1.s: New test.
114         * testsuite/ld-aarch64/property-bti-pac2.d: New test.
115         * testsuite/ld-aarch64/property-bti-pac2.s: New test.
116         * testsuite/ld-aarch64/property-bti-pac3.d: New test.
117
118 2019-03-13  H.J. Lu  <[email protected]>
119
120         PR ld/24322
121         * testsuite/ld-i386/i386.exp: Run PR ld/24322 tests.
122         * testsuite/ld-x86-64/x86-64.exp: Likewise.
123         * testsuite/ld-i386/pr24322a.d: New file.
124         * testsuite/ld-i386/pr24322b.d: Likewise.
125         * testsuite/ld-x86-64/pr24322a-x32.d: Likewise.
126         * testsuite/ld-x86-64/pr24322a.d: Likewise.
127         * testsuite/ld-x86-64/pr24322b-x32.d: Likewise.
128         * testsuite/ld-x86-64/pr24322b.d: Likewise.
129         * testsuite/ld-x86-64/pr24322a.s: Likewise.
130         * testsuite/ld-x86-64/pr24322b.s: Likewise.
131         * testsuite/ld-x86-64/pr24322c.s: Likewise.
132
133 2019-03-06  Nick Bowler  <[email protected]>
134
135         PR 24289
136         * ldexp.c (fold_name): Allow lookups of the LENGTH and ORIGIN
137         attributes during the first phase.
138
139 2019-03-01  Andreas Krebbel  <[email protected]>
140
141         This reverts commit 5a12586d44fa8d5dfc74cbca4f2f36a273a16335.
142         2019-01-14  Maamoun Tarsha  <[email protected]>
143
144         PR 20113
145         * emulparams/elf64_s390.sh (SEPARATE_GOTPLT): Define.
146         * emulparams/elf_s390.sh (SEPARATE_GOTPLT): Define.
147         * testsuite/ld-s390/gotreloc_31-1.dd: Update expected output.
148         * testsuite/ld-s390/tlsbin.dd: Likewise.
149         * testsuite/ld-s390/tlsbin.rd: Likewise.
150         * testsuite/ld-s390/tlsbin.sd: Likewise.
151         * testsuite/ld-s390/tlsbin_64.dd: Likewise.
152         * testsuite/ld-s390/tlsbin_64.rd: Likewise.
153         * testsuite/ld-s390/tlsbin_64.sd: Likewise.
154         * testsuite/ld-s390/tlspic.dd: Likewise.
155         * testsuite/ld-s390/tlspic.rd: Likewise.
156         * testsuite/ld-s390/tlspic.sd: Likewise.
157         * testsuite/ld-s390/tlspic_64.dd: Likewise.
158         * testsuite/ld-s390/tlspic_64.rd: Likewise.
159         * testsuite/ld-s390/tlspic_64.sd: Likewise.
160         * testsuite/ld-s390/s390.exp: Skip s390 tests for tpf targets.
161
162 2019-02-27  H.J. Lu  <[email protected]>
163
164         PR ld/24276
165         * testsuite/ld-i386/i386.exp: Run PR ld/24276 test.
166         * testsuite/ld-x86-64/x86-64.exp: Likewise.
167         * testsuite/ld-i386/pr24276.dso: New file.
168         * testsuite/ld-i386/pr24276.warn: Likewise.
169         * testsuite/ld-x86-64/pr24276.dso: Likewise.
170         * testsuite/ld-x86-64/pr24276.warn: Likewise.
171
172 2019-02-20  Eric Tsai  <[email protected]>
173
174         * testsuite/ld-xtensa/call_overflow.d: New test definition.
175         * testsuite/ld-xtensa/call_overflow1.s: New test source.
176         * testsuite/ld-xtensa/call_overflow2.s: New test source.
177         * testsuite/ld-xtensa/call_overflow3.s: New test source.
178         * testsuite/ld-xtensa/xtensa.exp: Add call_overflow test.
179
180 2019-02-14  Thomas Schwinge  <[email protected]>
181
182         * testsuite/ld-elf/elf.exp: Remove Hurd XFAILs.
183
184 2019-02-12  Nick Clifton  <[email protected]>
185
186         * po/fr.po: Updated French translation.
187
188 2019-02-09  Vineet Gupta  <[email protected]>
189
190         * emultempl/arclinux.em: Delete special INIT/FINI handling.
191
192 2019-02-07  Nick Clifton  <[email protected]>
193
194         PR 24175
195         * ld.texi (Options): Add missing word to the description of the
196         --start-group option.
197
198 2019-02-06  Alan Modra  <[email protected]>
199
200         PR ld/24008
201         * testsuite/ld-scripts/pr24008.d: Pass with extra target
202         defined symbols.
203
204 2019-02-05  H.J. Lu  <[email protected]>
205
206         PR ld/24151
207         * testsuite/ld-x86-64/pr24151a-x32.d: New file.
208         * testsuite/ld-x86-64/pr24151a.d: Likewise.
209         * testsuite/ld-x86-64/pr24151a.s: Likewise.
210         * testsuite/ld-x86-64/x86-64.exp: Run pr24151a and pr24151a-x32.
211
212 2019-01-31  Alan Modra  <[email protected]>
213
214         * NEWS: Mention -t change.
215         * ld.texi (--trace/-t): Expand documentation a little.
216
217 2019-01-29  H.J. Lu  <[email protected]>
218
219         PR ld/24008
220         * testsuite/ld-scripts/defined.exp: Run pr24008.
221         * testsuite/ld-scripts/pr24008.d: New file.
222         * testsuite/ld-scripts/pr24008.map: Likewise.
223         * testsuite/ld-scripts/pr24008.s: Likewise.
224         * testsuite/ld-scripts/pr24008.t: Likewise.
225
226 2019-01-29  Eric Botcazou  <[email protected]>
227
228         * testsuite/ld-ifunc/ifunc.exp: Skip pr23169 on SPARC.
229
230 2019-01-28  Alan Modra  <[email protected]>
231
232         PR 24008
233         * ldexp.h (lang_phase_type): Add lang_fixed_phase_enum.
234         * ldexp.c (fold_name): Move expld.assign_name check later to
235         avoid an extra lookup.
236         (exp_fold_tree_1): When lang_fixed_phase_enum, don't change symbol
237         values, and don't clear expld.assign_name.
238         * ldlang.c (lang_map): Set expld.phase to lang_fixed_phase_enum.
239         (print_assignment): Resolve entire assignment expression.
240         Don't access symbol u.def unless symbol is defined.
241
242 2019-01-25  Nick Clifton  <[email protected]>
243
244         * po/bg.po: Updated Bulgarian translation.
245
246 2019-01-23  Sebastian Huber  <[email protected]>
247
248         * ld.texi (--wrap): Add warning that LTO may make this feature
249         ineffective.
250
251 2019-01-21  Nick Clifton  <[email protected]>
252
253         * po/uk.po: Updated Ukranian translation.
254         * po/pr_BR.po: Updated Brazilian Portuguese translation.
255
256 2019-01-21  Nick Clifton  <[email protected]>
257
258         PR 24108
259         * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Update
260         expected error message.
261
262 2019-01-19  Nick Clifton  <[email protected]>
263
264         * configure: Regenerate.
265         * po/ld.pot: Regenerate.
266
267 2018-06-24  Nick Clifton  <[email protected]>
268
269         2.32 branch created.
270
271 2019-01-16  Kito Cheng  <[email protected]>
272
273         * testsuite/ld-elf/orphan-region.d: XFAIL for RISC-V, because add new
274         section.
275         * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Add new tests.
276         * testsuite/ld-riscv-elf/attr-merge-arch-01.d: New test.
277         * testsuite/ld-riscv-elf/attr-merge-arch-01a.s: Likewise.
278         * testsuite/ld-riscv-elf/attr-merge-arch-01b.s: Likewise.
279         * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
280         * testsuite/ld-riscv-elf/attr-merge-arch-02a.s: Likewise.
281         * testsuite/ld-riscv-elf/attr-merge-arch-02b.s: Likewise.
282         * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
283         * testsuite/ld-riscv-elf/attr-merge-arch-03a.s: Likewise.
284         * testsuite/ld-riscv-elf/attr-merge-arch-03b.s: Likewise.
285         * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Likewise.
286         * testsuite/ld-riscv-elf/attr-merge-arch-failed-01a.s: Likewise.
287         * testsuite/ld-riscv-elf/attr-merge-arch-failed-01b.s: Likewise.
288         * testsuite/ld-riscv-elf/attr-merge-priv-spec-a.s: Likewise.
289         * testsuite/ld-riscv-elf/attr-merge-priv-spec-b.s: Likewise.
290         * testsuite/ld-riscv-elf/attr-merge-priv-spec.d: Likewise.
291         * testsuite/ld-riscv-elf/attr-merge-stack-align-a.s: Likewise.
292         * testsuite/ld-riscv-elf/attr-merge-stack-align-b.s: Likewise.
293         * testsuite/ld-riscv-elf/attr-merge-stack-align-failed-a.s: Likewise.
294         * testsuite/ld-riscv-elf/attr-merge-stack-align-failed-b.s: Likewise.
295         * testsuite/ld-riscv-elf/attr-merge-stack-align-failed.d: Likewise.
296         * testsuite/ld-riscv-elf/attr-merge-stack-align.d: Likewise.
297         * testsuite/ld-riscv-elf/attr-merge-strict-align-01.d: Likewise.
298         * testsuite/ld-riscv-elf/attr-merge-strict-align-01a.s: Likewise.
299         * testsuite/ld-riscv-elf/attr-merge-strict-align-01b.s: Likewise.
300         * testsuite/ld-riscv-elf/attr-merge-strict-align-02.d: Likewise.
301         * testsuite/ld-riscv-elf/attr-merge-strict-align-02a.s: Likewise.
302         * testsuite/ld-riscv-elf/attr-merge-strict-align-02b.s: Likewise.
303         * testsuite/ld-riscv-elf/attr-merge-strict-align-03.d: Likewise.
304         * testsuite/ld-riscv-elf/attr-merge-strict-align-03a.s: Likewise.
305         * testsuite/ld-riscv-elf/attr-merge-strict-align-03b.s: Likewise.
306         * testsuite/ld-riscv-elf/attr-merge-strict-align-04.d: Likewise.
307         * testsuite/ld-riscv-elf/attr-merge-strict-align-04a.s: Likewise.
308         * testsuite/ld-riscv-elf/attr-merge-strict-align-04b.s: Likewise.
309         * testsuite/ld-riscv-elf/attr-merge-strict-align-05.d: Likewise.
310         * testsuite/ld-riscv-elf/attr-merge-strict-align-05a.s: Likewise.
311         * testsuite/ld-riscv-elf/attr-merge-strict-align-05b.s: Likewise.
312
313 2019-01-14  Maamoun Tarsha  <[email protected]>
314
315         PR 20113
316         * emulparams/elf64_s390.sh (SEPARATE_GOTPLT): Define.
317         * emulparams/elf_s390.sh (SEPARATE_GOTPLT): Define.
318         * testsuite/ld-s390/gotreloc_31-1.dd: Update expected output.
319         * testsuite/ld-s390/tlsbin.dd: Likewise.
320         * testsuite/ld-s390/tlsbin.rd: Likewise.
321         * testsuite/ld-s390/tlsbin.sd: Likewise.
322         * testsuite/ld-s390/tlsbin_64.dd: Likewise.
323         * testsuite/ld-s390/tlsbin_64.rd: Likewise.
324         * testsuite/ld-s390/tlsbin_64.sd: Likewise.
325         * testsuite/ld-s390/tlspic.dd: Likewise.
326         * testsuite/ld-s390/tlspic.rd: Likewise.
327         * testsuite/ld-s390/tlspic.sd: Likewise.
328         * testsuite/ld-s390/tlspic_64.dd: Likewise.
329         * testsuite/ld-s390/tlspic_64.rd: Likewise.
330         * testsuite/ld-s390/tlspic_64.sd: Likewise.
331         * testsuite/ld-s390/s390.exp: Skip s390 tests for tpf targets.
332
333 2019-01-14  Sebastian Huber  <[email protected]>
334
335         * ld.texi (--wrap): Add example to emphasise that only undefined
336         references are replaced by the linker.
337
338 2019-01-09  Nick Clifton  <[email protected]>
339
340         * po/es.po: Updated Spanish translation.
341
342 2019-01-09  Andrew Paprocki  <[email protected]>
343
344         * configure: Regenerate.
345
346 2019-01-08  Alan Modra  <[email protected]>
347
348         * testsuite/ld-elf/sec64k.exp: Use . rather than $objdir in
349         generated source file names.
350         * testsuite/ld-m68k/m68k-got.exp: Likewise.
351
352 2019-01-01  Alan Modra  <[email protected]>
353
354         Update year range in copyright notice of all files.
355
356 For older changes see ChangeLog-2018
357 \f
358 Copyright (C) 2019 Free Software Foundation, Inc.
359
360 Copying and distribution of this file, with or without modification,
361 are permitted in any medium without royalty provided the copyright
362 notice and this notice are preserved.
363
364 Local Variables:
365 mode: change-log
366 left-margin: 8
367 fill-column: 74
368 version-control: never
369 End:
This page took 0.044596 seconds and 4 git commands to generate.