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