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