Automatic date update in version.in
[deliverable/binutils-gdb.git] / ld / ChangeLog
... / ...
CommitLineData
12019-07-02 Nick Clifton <nickc@redhat.com>
2
3 PR 24753
4 * emultempl/aarch64elf.em (_aarch64_add_stub_section): Include the
5 LINKER_CREATED section flag when creating the stub section.
6
72019-07-02 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
8
9 * testsuite/ld-arm/arm-elf.exp: Add tests.
10 * testsuite/ld-arm/cmse_main.s: New test.
11 * testsuite/ld-arm/cmse_main_sec_debug.d: Likewise.
12 * testsuite/ld-arm/cmse_sec_debug.s: Likewise.
13
142019-07-01 Nick Clifton <nickc@redhat.com>
15
16 PR 23839
17 * testsuite/ld-arm/unwind-4.d: Adjust for corrected calculation of
18 exidx relocs.
19
202019-06-28 Alan Modra <amodra@gmail.com>
21
22 * testsuite/ld-powerpc/callstub-1.d,
23 * testsuite/ld-powerpc/callstub-1.s: New test.
24 * testsuite/ld-powerpc/callstub-2.d,
25 * testsuite/ld-powerpc/callstub-2.s: New test.
26 * testsuite/ld-powerpc/powerpc.exp: Run them.
27
282019-06-25 Jan Beulich <jbeulich@suse.com>
29
30 * plugin.c (get_lto_kind, get_lto_resolution,
31 get_lto_visibility): Rename "index" to "idx".
32
332019-06-24 H.J. Lu <hongjiu.lu@intel.com>
34
35 PR ld/24721
36 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/24721 tests.
37 * testsuite/ld-x86-64/pr24721-x32.d: New file.
38 * testsuite/ld-x86-64/pr24721.d: Likewise.
39 * testsuite/ld-x86-64/pr24721.map: Likewise.
40 * testsuite/ld-x86-64/pr24721a.s: Likewise.
41 * testsuite/ld-x86-64/pr24721b.s: Likewise.
42
432019-06-23 Alan Modra <amodra@gmail.com>
44
45 PR 24704
46 * testsuite/ld-powerpc/elfv2exe.d: Update.
47 * testsuite/ld-powerpc/elfv2so.d: Update.
48
492019-06-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
50
51 * testsuite/ld-aarch64/aarch64-elf.exp: Add emit-relocs-22 and -23.
52 * testsuite/ld-aarch64/emit-relocs-22.d: New test.
53 * testsuite/ld-aarch64/emit-relocs-22.s: New test.
54 * testsuite/ld-aarch64/emit-relocs-23.d: New test.
55 * testsuite/ld-aarch64/emit-relocs-23.s: New test.
56
572019-06-14 Alan Modra <amodra@gmail.com>
58
59 * Makefile.in: Regenerate.
60 * configure: Regenerate.
61
622019-06-14 Alan Modra <amodra@gmail.com>
63
64 PR 24662
65 * testsuite/ld-alpha/tlsbin.rd: Update.
66 * testsuite/ld-alpha/tlsbinr.rd: Update.
67 * testsuite/ld-alpha/tlspic.rd: Update.
68
692019-06-07 Maciej W. Rozycki <macro@wdc.com>
70
71 * ld.texi (Options): Also document `-rpath' option restrictions
72 in the description of the option itself.
73
742019-06-06 Sudakshina Das <sudi.das@arm.com>
75
76 * testsuite/ld-aarch64/aarch64-elf.exp: Add new tests.
77 * testsuite/ld-aarch64/property-bti-pac4-a.d: New test.
78 * testsuite/ld-aarch64/property-bti-pac4-b.d: New test.
79 * testsuite/ld-aarch64/property-bti-pac4.s: New test.
80
812019-06-06 Sudakshina Das <sudi.das@arm.com>
82
83 * NEWS: Update options names.
84 * emultempl/aarch64elf.em (OPTION_FORCE_BTI, OPTION_PAC_PLT): Remove.
85 (PARSE_AND_LIST_LONGOPTS): Remove force-bti and pac-plt.
86 (PARSE_AND_LIST_OPTIONS): Update to -z.
87 (PARSE_AND_LIST_ARGS_CASE_Z_AARCH64): New.
88 (PARSE_AND_LIST_ARGS_CASE_Z): Add PARSE_AND_LIST_ARGS_CASE_Z_AARCH64.
89 (PARSE_AND_LIST_ARGS_CASES): Move cases for these options.
90 * testsuite/ld-aarch64/bti-pac-plt-1.d: Update option.
91 * testsuite/ld-aarch64/bti-pac-plt-2.d: Likewise.
92 * testsuite/ld-aarch64/bti-plt-1.d: Likewise.
93 * testsuite/ld-aarch64/bti-plt-2.d: Likewise.
94 * testsuite/ld-aarch64/bti-plt-3.d: Likewise.
95 * testsuite/ld-aarch64/bti-plt-4.d: Likewise.
96 * testsuite/ld-aarch64/bti-plt-6.d: Likewise.
97 * testsuite/ld-aarch64/bti-plt-7.d: Likewise.
98 * testsuite/ld-aarch64/bti-warn.d: Likewise.
99 * testsuite/ld-aarch64/pac-plt-1.d: Likewise.
100 * testsuite/ld-aarch64/pac-plt-2.d: Likewise.
101
1022019-05-30 Nick Clifton <nickc@redhat.com>
103
104 PR 24627
105 * testsuite/ld-elf/ver_def.vd: Update expected output.
106
1072019-05-30 Alan Modra <amodra@gmail.com>
108
109 PR 24596
110 * emulparams/m9s12zelf.sh (TEMPLATE_NAME): Set to generic.
111 (EXTRA_EM_FILE): Define to genelf.
112 * testsuite/lib/ld-lib.exp (uses_genelf): Add s12z.
113
1142019-05-30 Alan Modra <amodra@gmail.com>
115
116 * testsuite/lib/ld-lib.exp (run_ld_link_tests): Support procedure
117 calls in optional "xfail" args.
118 (run_ld_link_exec_tests): Likewise.
119 (is_generic): New.
120 (uses_genelf): Rename from is_generic_elf. Delete bogus semicolons.
121 * testsuite/ld-scripts/align.exp: Rename is_generic_elf call.
122 * testsuite/ld-elf/elf.exp: Use is_generic and uses_genelf. Delete
123 xfail_implib var.
124 * testsuite/ld-elf/sec64k.exp: Use is_generic.
125 * testsuite/ld-elf/shared.exp: Likewise.
126 * testsuite/ld-discard/extern.d: Use is_generic in xfail.
127 * testsuite/ld-discard/start.d: Likewise.
128 * testsuite/ld-discard/static.d: Likewise.
129 * testsuite/ld-elf/attributes.d: Likewise.
130 * testsuite/ld-elf/group1.d: Likewise.
131 * testsuite/ld-elf/group3b.d: Likewise.
132 * testsuite/ld-elf/group8a.d: Likewise.
133 * testsuite/ld-elf/group8b.d: Likewise.
134 * testsuite/ld-elf/group9a.d: Likewise.
135 * testsuite/ld-elf/group9b.d: Likewise.
136 * testsuite/ld-elf/linkonce2.d: Likewise.
137 * testsuite/ld-elf/merge2.d: Likewise.
138 * testsuite/ld-elf/merge3.d: Likewise.
139 * testsuite/ld-elf/pr12851.d: Likewise.
140 * testsuite/ld-elf/pr12975.d: Likewise.
141 * testsuite/ld-elf/pr13177.d: Likewise.
142 * testsuite/ld-elf/pr13195.d: Likewise.
143 * testsuite/ld-elf/pr17550c.d: Likewise.
144 * testsuite/ld-elf/pr17550d.d: Likewise.
145 * testsuite/ld-elf/pr17615.d: Likewise.
146 * testsuite/ld-elf/pr21562a.d: Likewise.
147 * testsuite/ld-elf/pr21562b.d: Likewise.
148 * testsuite/ld-elf/pr21562c.d: Likewise.
149 * testsuite/ld-elf/pr21562d.d: Likewise.
150 * testsuite/ld-elf/pr21562i.d: Likewise.
151 * testsuite/ld-elf/pr21562j.d: Likewise.
152 * testsuite/ld-elf/pr21562k.d: Likewise.
153 * testsuite/ld-elf/pr21562l.d: Likewise.
154 * testsuite/ld-elf/pr21562m.d: Likewise.
155 * testsuite/ld-elf/pr21562n.d: Likewise.
156 * testsuite/ld-elf/pr22677.d: Likewise.
157 * testsuite/ld-elf/pr22836-1a.d: Likewise.
158 * testsuite/ld-elf/pr22836-1b.d: Likewise.
159 * testsuite/ld-elf/warn3.d: Likewise.
160 * testsuite/ld-elf/warn1.d: Likewise and xfail sparc solaris
161 targets rather than notarget.
162 * testsuite/ld-elf/compressed1d.d: Use uses_genelf in xfail.
163 * testsuite/ld-elf/orphan-10.d: Likewise.
164 * testsuite/ld-elf/orphan-9.d: Likewise.
165 * testsuite/ld-elf/orphan-region.d: Likewise.
166 * testsuite/ld-elf/orphan.d: Likewise.
167 * testsuite/ld-elf/orphan3.d: Likewise.
168 * testsuite/ld-elf/pr20528a.d: Likewise.
169 * testsuite/ld-elf/pr20528b.d: Likewise.
170 * testsuite/ld-elf/pr23658-1a.d: Likewise.
171 * testsuite/ld-elf/pr23658-1b.d: Likewise.
172 * testsuite/ld-elf/pr349.d: Likewise.
173 * testsuite/ld-elf/warn2.d: Likewise and xfail sparc solaris
174 targets rather than notarget.
175 * testsuite/ld-elf/merge.d: Correct ms1-*-* to mt-*-*.
176
1772019-05-28 Faraz Shahbazker <fshahbazker@wavecomp.com>
178
179 * testsuite/ld-mips-elf/undefweak-overflow.s: Remove test case
180 for pcrel_hi/pcrel_lo.
181 * testsuite/ld-mips-elf/undefweak-overflow.d: Update to match.
182 * testsuite/ld-mips-elf/reloc-pcrel-r6.s: New test source.
183 * testsuite/ld-mips-elf/reloc-pcrel-r6.d: New test linker script.
184 * testsuite/ld-mips-elf/reloc-pcrel-r6.ld: New test.
185 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
186
1872019-05-28 Alan Modra <amodra@gmail.com>
188
189 PR 24596
190 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Check that
191 the output is coff before accessing coff tdata.
192 * emultempl/pep.em (gld_${EMULATION_NAME}_after_open): Likewise.
193
1942019-05-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
195
196 * testsuite/ld-aarch64/variant_pcs-now.d: Use --hash-style=sysv.
197 * testsuite/ld-aarch64/variant_pcs-shared.d: Likewise.
198
1992019-05-27 Alan Modra <amodra@gmail.com>
200
201 PR 24596
202 * emultempl/genelf.em (gld${EMULATION_NAME}_after_open): Set
203 BFS_KEEP on group signature symbol.
204
2052019-04-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
206
207 * testsuite/ld-aarch64/aarch64-elf.exp: Add new tests.
208 * testsuite/ld-aarch64/variant_pcs-1.s: New asm for tests.
209 * testsuite/ld-aarch64/variant_pcs-2.s: New asm for tests.
210 * testsuite/ld-aarch64/variant_pcs-now.d: New test.
211 * testsuite/ld-aarch64/variant_pcs-r.d: New test.
212 * testsuite/ld-aarch64/variant_pcs-shared.d: New test.
213 * testsuite/ld-aarch64/variant_pcs.ld: New linker script for tests.
214
2152019-05-24 Alan Modra <amodra@gmail.com>
216
217 * po/BLD-POTFILES.in: Regenerate.
218
2192019-05-24 Alan Modra <amodra@gmail.com>
220
221 * testsuite/ld-powerpc/notoc2.d,
222 * testsuite/ld-powerpc/notoc2.s: New test.
223 * testsuite/ld-powerpc/powerpc.exp: Run it.
224
2252019-05-24 Alan Modra <amodra@gmail.com>
226
227 * testsuite/ld-powerpc/pcrelopt.s,
228 * testsuite/ld-powerpc/pcrelopt.d,
229 * testsuite/ld-powerpc/pcrelopt.sec: New test.
230 * testsuite/ld-powerpc/powerpc.exp: Run it.
231
2322019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com>
233
234 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64bpf.c.
235 * Makefile.in (prefix): Regenerate.
236 * configure.tgt (targ_extra_ofiles): Add case for bpf-*-* targets.
237 * emulparams/elf64bpf.sh: New file.
238 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Add
239 bpf-*-* to the list of targets not supporting gc-sections.
240 * testsuite/ld-bpf/bar.s: New file.
241 * testsuite/ld-bpf/jump-1.d: Likewise.
242 * testsuite/ld-bpf/foo.s: Likewise.
243 * testsuite/ld-bpf/call-1.d: Likewise.
244 * testsuite/ld-bpf/bpf.exp: Likewise.
245 * testsuite/ld-bpf/baz.s: Likewise.
246
2472019-05-23 Alan Modra <amodra@gmail.com>
248
249 PR 24576
250 * ldfile.c (enum script_open_style): New.
251 (struct script_name_list): New.
252 (ldfile_open_command_file_1): Take a script_open_style param
253 rather than booleans. Adjust callers. Only fail when -T or
254 default -T script is invoked twice.
255 (ldfile_try_open_bfd): Revert last change.
256
2572019-05-22 Julius Werner <jwerner@chromium.org>
258 Nick Clifton <nickc@redhat.com>
259
260 PR 24576
261 * ld/ldfile.c: (ldfile_open_command_file_1): Add new parameter -
262 is_script. If true check that the file has not already been
263 parsed as a linker script.
264 (ldfile_open_script_file): New function.
265 (ldfile_try_open_bfd): Use the new function in place of
266 ldfile_open_command_line.
267 * ldmain.c (main): Likewise.
268 * lexsup.c (parse_args): Use the new function for opening linker
269 scripts with the -T option.
270 * ldfile.h (ldfile_open_script_file): Add prototype.
271
2722019-05-21 Faraz Shahbazker <fshahbazker@wavecomp.com>
273
274 * testsuite/ld-mips-elf/pic-reloc-5.s: Add tests for
275 %tprel_hi and %tprel_lo relocations.
276 * testsuite/ld-mips-elf/pic-reloc-6.s: Likewise.
277 * testsuite/ld-mips-elf/pic-reloc-5.d: Update accordingly.
278 * testsuite/ld-mips-elf/pic-reloc-6.d: Likewise.
279 * testsuite/ld-mips-elf/pic-reloc-tls.ld: New test linker
280 script file.
281
2822019-05-21 Faraz Shahbazker <fshahbazker@wavecomp.com>
283
284 * testsuite/ld-mips-elf/pic-reloc-5.d: New test.
285 * testsuite/ld-mips-elf/pic-reloc-6.d: New test.
286 * testsuite/ld-mips-elf/pic-reloc-7.d: New test.
287 * testsuite/ld-mips-elf/pic-reloc-5.s: New test source.
288 * testsuite/ld-mips-elf/pic-reloc-6.s: New test source.
289 * testsuite/ld-mips-elf/pic-reloc-7.s: New test source.
290 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
291
2922019-05-21 Matthew Fortune <matthew.fortune@mips.com>
293 Faraz Shahbazker <fshahbazker@wavecomp.com>
294
295 * emultempl/mipself.em (compact_branches): New static variable.
296 (mips_create_output_section_statements): Call
297 _bfd_mips_elf_compact_branches.
298 (PARSE_AND_LIST_PROLOGUE): Add OPTION_COMPACT_BRANCHES and
299 OPTION_NO_COMPACT_BRANCHES.
300 (PARSE_AND_LIST_LONGOPTS): Add compact-branches,
301 no-compact-branches.
302 (PARSE_AND_LIST_OPTIONS): Add --compact-branches,
303 --no-compact-branches.
304 (PARSE_AND_LIST_ARGS_CASES): Handle the above.
305 * ld.texinfo: Document --compact-branches, --no-compact-branches.
306 * testsuite/ld-mips-elf/pic-and-nonpic-1-r6.dd: New test.
307 * testsuite/ld-mips-elf/pic-and-nonpic-1-r6.nd: New test.
308 * testsuite/ld-mips-elf/pic-and-nonpic-3a-r6.dd: New test.
309 * testsuite/ld-mips-elf/pic-and-nonpic-3a-r6.gd: New test.
310 * testsuite/ld-mips-elf/pic-and-nonpic-1a-r6.s: New test source.
311 * testsuite/ld-mips-elf/pic-and-nonpic-3a-r6.s: New test source.
312 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
313
3142019-05-21 Andre Vieira <andre.simoesdiasvieira@arm.com>
315
316 * testsuite/ld-arm/arm-elf.exp: Add tests
317 * testsuite/ld-arm/bfs-0.s: New test.
318 * testsuite/ld-arm/bfs-1.s: New test.
319 * testsuite/ld-arm/branch-futures.d: New test.
320
3212019-05-21 Tamar Christina <tamar.christina@arm.com>
322
323 PR ld/24373
324 * emultempl/aarch64elf.em (PARSE_AND_LIST_LONGOPTS): Add optional args
325 to flags.
326 * NEWS: Add changes to flag.
327 (PARSE_AND_LIST_OPTIONS): Update help descriptions.
328 (PARSE_AND_LIST_ARGS_CASES): Add new options to parser.
329 * testsuite/ld-aarch64/aarch64-elf.exp: Add new run_dump_tests.
330 * testsuite/ld-aarch64/erratum843419-adr.d: New test.
331 * testsuite/ld-aarch64/erratum843419-adrp.d: New test.
332 * testsuite/ld-aarch64/erratum843419-far-adr.d: New test.
333 * testsuite/ld-aarch64/erratum843419-far-full.d: New test.
334 * testsuite/ld-aarch64/erratum843419-far.s: New test.
335 * testsuite/ld-aarch64/erratum843419-full.d: New test.
336 * testsuite/ld-aarch64/erratum843419-near.s: New test.
337 * testsuite/ld-aarch64/erratum843419-no-args.d: New test.
338
3392019-05-21 Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com>
340
341 PR ld/24571
342 * ld/testsuite/ld-avr/relax-insn-at-range-boundary.d: New test.
343 * ld/testsuite/ld-avr/relax-insn-at-range-boundary.s: New test.
344
3452019-05-21 Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com>
346
347 PR ld/24564
348 * testsuite/ld-avr/wraparound-range-boundary.d: New test.
349 * testsuite/ld-avr/wraparound-range-boundary.s: New test.
350
3512019-05-20 Faraz Shahbazker <fshahbazker@wavecomp.com>
352
353 PR 14798
354 * testsuite/ld-mips-elf/reloc-6a.s: Specify .text section for
355 global code symbols.
356 * testsuite/ld-mips-elf/reloc-6b.s: Likewise.
357
3582019-05-17 Alan Modra <amodra@gmail.com>
359
360 PR 24567
361 * plugin.c (plugin_notice): Do not let a common symbol override
362 a non-common definition in IR.
363
3642019-05-09 Dimitar Dimitrov <dimitar@dinux.eu>
365
366 * scripttempl/pru.sc (__init_array_begin, __init_array_begin):
367 Rename.
368
3692019-05-08 Pekka Seppänen <pexu@sourceware.mail.kapsi.fi>
370
371 PR 24536
372 * ldbuildid.c (generate_build_id): Cast return value from
373 GetProcAddress in order to avoid a compile time warning.
374
3752019-05-06 Alan Modra <amodra@gmail.com>
376
377 * testsuite/ld-undefined/weak-undef.exp: Don't xfail pj.
378
3792019-05-04 Alan Modra <amodra@gmail.com>
380
381 * testsuite/ld-scripts/fill.d: Don't xfail m32c
382 * testsuite/ld-scripts/fill16.d: Likewise.
383
3842019-05-04 Alan Modra <amodra@gmail.com>
385
386 PR 24511
387 * testsuite/ld-elf/pr14156a.d: Allow for .init/.fini being a
388 data section on hppa64.
389 * testsuite/ld-elf/pr14156b.d: Likewise.
390 * testsuite/ld-scripts/pr18963.t: Map standard sections to set
391 output section flags.
392 * testsuite/ld-scripts/sane1.t: Likewise.
393 * testsuite/ld-elf/init-fini-arrays.s: Reference __init_array_start
394 and __fini_array_start. Define __start et al.
395 * testsuite/ld-elf/pr24511.d: New test.
396
3972019-04-30 Alan Modra <amodra@gmail.com>
398
399 * testsuite/ld-powerpc/elfv2exe.d: Update.
400 * testsuite/ld-powerpc/elfv2so.d: Update.
401 * testsuite/ld-powerpc/tocopt.d: Update.
402 * testsuite/ld-powerpc/tocopt.s: Update.
403 * testsuite/ld-powerpc/tocopt5.d: Update.
404 * testsuite/ld-powerpc/tocopt5.s: Update.
405 * testsuite/ld-powerpc/tocopt7.d: Update.
406 * testsuite/ld-powerpc/tocopt7.s: Update.
407 * testsuite/ld-powerpc/tocopt8.d: Update.
408 * testsuite/ld-powerpc/tocopt8.s: Update.
409
4102019-04-30 Alan Modra <amodra@gmail.com>
411
412 * ld.texi (How GNU properties are merged): Avoid pod2man error.
413 Correct example.
414
4152019-04-26 H.J. Lu <hongjiu.lu@intel.com>
416
417 PR ld/24486
418 * testsuite/ld-plugin/lto.exp: Run PR ld/24486 tests.
419 * testsuite/ld-plugin/pr24486a.c: New file.
420 * testsuite/ld-plugin/pr24486b.c: Likewise.
421 * testsuite/ld-plugin/pr24486c.c: Likewise.
422
4232019-04-26 Nick Clifton <nickc@redhat.com>
424
425 * po/ru.po: Updated Russian translation.
426
4272019-04-26 Christopher Yeleighton <giecrilj@stegny.2a.pl>
428
429 * ld.texi: Properly hyphenate the word "specific".
430
4312019-04-25 H.J. Lu <hongjiu.lu@intel.com>
432
433 PR ld/24406
434 * ld.texi: Remove LTO warning from --wrap.
435 * plugin.c (get_symbols): Update resolution for wrapper and
436 wrapped symbols.
437 * testsuite/ld-plugin/lto.exp: Run ld/24406 tests.
438 * testsuite/ld-plugin/pr24406-1.c: New file.
439 * testsuite/ld-plugin/pr24406-2a.c: Likewise.
440 * testsuite/ld-plugin/pr24406-2b.c: Likewise.
441
4422019-04-25 Sudakshina Das <sudi.das@arm.com>
443
444 * testsuite/ld-aarch64/bti-pac-plt-1.d: Update.
445 * testsuite/ld-aarch64/bti-pac-plt-2.d: Update.
446 * testsuite/ld-aarch64/bti-plt-1.d: Update.
447 * testsuite/ld-aarch64/bti-plt-3.d: Update.
448 * testsuite/ld-aarch64/bti-plt-5.d: Update.
449 * testsuite/ld-aarch64/pac-plt-1.d: Update.
450 * testsuite/ld-aarch64/pac-plt-2.d: Update.
451
4522019-04-24 Sandra Loosemore <sandra@codesourcery.com>
453
454 * testsuite/config/default.exp: Use [check_compiler_available]
455 instead of [which $CC].
456 * testsuite/ld-auto-import/auto-import.exp: Likewise.
457 * testsuite/ld-cygwin/exe-export.exp: Likewise.
458 * testsuite/ld-elf/audit.exp: Likewise.
459 * testsuite/ld-elf/compress.exp: Likewise.
460 * testsuite/ld-elf/dwarf.exp: Likewise.
461 * testsuite/ld-elf/elf.exp: Likewise.
462 * testsuite/ld-elf/indirect.exp: Likewise.
463 * testsuite/ld-elf/linux-x86.exp: Likewise.
464 * testsuite/ld-elf/shared.exp: Likewise.
465 * testsuite/ld-elf/tls.exp: Likewise.
466 * testsuite/ld-elf/wrap.exp: Likewise.
467 * testsuite/ld-elfcomm/elfcomm.exp: Likewise.
468 * testsuite/ld-elfvers/vers.exp: Likewise.
469 * testsuite/ld-elfvsb/elfvsb.exp: Likewise.
470 * testsuite/ld-elfweak/elfweak.exp: Likewise.
471 * testsuite/ld-gc/gc.exp: Likewise.
472 * testsuite/ld-i386/i386.exp: Likewise.
473 * testsuite/ld-i386/no-plt.exp: Likewise.
474 * testsuite/ld-i386/tls.exp: Likewise.
475 * testsuite/ld-ifunc/ifunc.exp: Likewise.
476 * testsuite/ld-mn10300/mn10300.exp: Likewise.
477 * testsuite/ld-pe/pe-compile.exp: Likewise.
478 * testsuite/ld-pe/pe-run.exp: Likewise.
479 * testsuite/ld-pe/pe-run2.exp: Likewise.
480 * testsuite/ld-pie/pie.exp: Likewise.
481 * testsuite/ld-plugin/lto.exp: Likewise.
482 * testsuite/ld-plugin/plugin.exp: Likewise.
483 * testsuite/ld-scripts/crossref.exp: Likewise.
484 * testsuite/ld-sh/sh.exp: Likewise.
485 * testsuite/ld-shared/shared.exp: Likewise.
486 * testsuite/ld-size/size.exp: Likewise.
487 * testsuite/ld-srec/srec.exp: Likewise.
488 * testsuite/ld-undefined/undefined.exp: Likewise.
489 * testsuite/ld-unique/unique.exp: Likewise.
490 * testsuite/ld-x86-64/mpx.exp: Likewise.
491 * testsuite/ld-x86-64/no-plt.exp: Likewise.
492 * testsuite/ld-x86-64/tls.exp: Likewise.
493 * testsuite/ld-x86-64/x86-64.exp: Likewise.
494 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Call
495 check_compiler_available before trying to use the compiler.
496 (run_cc_link_tests): Likewise.
497 (check_compiler_available): New. Use it instead of [which $CC].
498
4992019-04-23 Alan Modra <amodra@gmail.com>
500
501 * Makefile.am (GENDEPDIR): New var, used..
502 (GENSCRIPTS): ..here.
503 * Makefile.in: Regenerate.
504 * genscripts.sh: Test for $DEPDIR set before every use.
505
5062019-04-22 Matthew Fortune <matthew.fortune@mips.com>
507
508 * testsuite/ld-mips-elf/mips-elf-flags.exp: Fix expected ASEs
509 for M5100.
510
5112019-04-19 Alan Modra <amodra@gmail.com>
512
513 * testsuite/ld-gc/skip-map-discarded.s: Add section attributes.
514 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Add
515 s12z to list of targets not supporting --gc-sections.
516
5172019-04-17 H.J. Lu <hongjiu.lu@intel.com>
518
519 * testsuite/ld-i386/i386.exp: Run pr18801a and pr18801b instead
520 of pr18801.
521 * testsuite/ld-x86-64/x86-64.exp: Likewise.
522 * testsuite/ld-i386/pr18801.d: Removed.
523 * testsuite/ld-x86-64/pr18801.d: Likewise.
524 * testsuite/ld-i386/pr18801a.d: New file.
525 * testsuite/ld-i386/pr18801b.d: Likewise.
526 * testsuite/ld-x86-64/pr18801a.d: Likewise.
527 * testsuite/ld-x86-64/pr18801b.d: Likewise.
528 * testsuite/ld-x86-64/pie2.d: Suggest -fPIE instead of -fPIC.
529 * testsuite/ld-x86-64/pie2.d: Likewise.
530 * testsuite/ld-x86-64/pr19719.d: Likewise.
531 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
532 * testsuite/ld-x86-64/pr19969.d: Likewise.
533 * testsuite/ld-x86-64/pr21997-1a.err: Likewise.
534 * testsuite/ld-x86-64/pr21997-1b.err: Likewise.
535 * testsuite/ld-x86-64/pr22001-1a.err: Likewise.
536 * testsuite/ld-x86-64/pr22001-1b.err: Likewise.
537 * testsuite/ld-x86-64/pr22791-1.err: Likewise.
538
5392019-04-17 H.J. Lu <hongjiu.lu@intel.com>
540
541 PR ld/24458
542 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/24458 tests.
543 * testsuite/ld-x86-64/pr24458.s: New file.
544 * testsuite/ld-x86-64/pr24458a-x32.d: Likewise.
545 * testsuite/ld-x86-64/pr24458a.d: Likewise.
546 * testsuite/ld-x86-64/pr24458b-x32.d: Likewise.
547 * testsuite/ld-x86-64/pr24458b.d: Likewise.
548 * testsuite/ld-x86-64/pr24458c-x32.d: Likewise.
549 * testsuite/ld-x86-64/pr24458c.d: Likewise.
550
5512019-04-17 Jozef Lawrynowicz <jozef.l@mittosystems.com>
552
553 * config/tc-msp430.c (msp430_make_init_symbols): Define __crt0_init_bss
554 symbol when .lower.bss or .either.bss sections exist.
555 Define __crt0_movedata when .lower.data or .either.data sections exist.
556 * testsuite/gas/msp430/either-data-bss-sym.d: New test.
557 * testsuite/gas/msp430/low-data-bss-sym.d: New test.
558 * testsuite/gas/msp430/either-data-bss-sym.s: New test source.
559 * testsuite/gas/msp430/low-data-bss-sym.s: New test source.
560 * testsuite/gas/msp430/msp430.exp: Run new tests.
561 Enable large code model when running -mdata-region={upper,either}
562 tests.
563
5642019-04-16 Alan Modra <amodra@gmail.com>
565
566 * testsuite/ld-scripts/pr20302.d: Don't run for ns32k-*-*.
567 * testsuite/ld-scripts/section-match-1.d: Likewise.
568 * testsuite/ld-undefined/require-defined.exp: Likewise.
569
5702019-04-15 Faraz Shahbazker <fshahbazker@wavecomp.com>
571
572 * testsuite/ld-gc/gc.exp: Skip print-map-discarded test for non-ELF
573 targets.
574
5752019-04-15 Sudakshina Das <sudi.das@arm.com>
576
577 * testsuite/ld-arm/bfcsel.s: New.
578 * testsuite/ld-arm/bfcsel.d: New.
579 * testsuite/ld-arm/arm-elf.exp: Add above test.
580
5812019-04-15 Sudakshina Das <sudi.das@arm.com>
582
583 * testsuite/ld-arm/bfl.s: New.
584 * testsuite/ld-arm/bfl.d: New.
585 * testsuite/ld-arm/arm-elf.exp: Add above test.
586
5872019-04-15 Sudakshina Das <sudi.das@arm.com>
588
589 * testsuite/ld-arm/bf.s: New.
590 * testsuite/ld-arm/bf.d: New.
591 * testsuite/ld-arm/arm-elf.exp: Add above test.
592
5932019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
594
595 * testsuite/ld-arm/attr-merge-13.attr: New test.
596 * testsuite/ld-arm/attr-merge-13a.s: New test.
597 * testsuite/ld-arm/attr-merge-13b.s: New test.
598
5992019-04-13 Alan Modra <amodra@gmail.com>
600
601 * Makefile.am (GENSCRIPTS): Pass LIB_PATH as a parameter. Add
602 DEPDIR parameter.
603 (ELF_DEPS, ELF_GEN_DEPS, ELF_X86_DEPS): Delete.
604 (ALL_EMULATION_SOURCES, ALL_64_EMULATION_SOURCES): Depend on
605 $GEN_DEPENDS.
606 (e*.c): Delete all dependencies, instead include dependencies
607 from $DEPDIR/*.Pc.
608 * Makefile.in: Regenerate.
609 * configure.ac (source_sh): Define and use function.
610 * configure: Regenerate.
611 * emulparams/aarch64cloudabib.sh, * emulparams/aarch64elf32b.sh,
612 * emulparams/aarch64elfb.sh, * emulparams/aarch64fbsdb.sh,
613 * emulparams/aarch64linux32b.sh, * emulparams/aarch64linuxb.sh,
614 * emulparams/arcelf.sh, * emulparams/arcelf_prof.sh,
615 * emulparams/arclinux.sh, * emulparams/arclinux_nps.sh,
616 * emulparams/arclinux_prof.sh, * emulparams/arcv2elf.sh,
617 * emulparams/arcv2elfx.sh, * emulparams/armelf_fbsd.sh,
618 * emulparams/armelf_linux_eabi.sh,
619 * emulparams/armelf_linux_fdpiceabi.sh,
620 * emulparams/armelf_nacl.sh, * emulparams/armelf_nbsd.sh,
621 * emulparams/armelf_vxworks.sh, * emulparams/armelfb.sh,
622 * emulparams/armelfb_fbsd.sh, * emulparams/armelfb_fuchsia.sh,
623 * emulparams/armelfb_linux.sh, * emulparams/armelfb_linux_eabi.sh,
624 * emulparams/armelfb_linux_fdpiceabi.sh,
625 * emulparams/armelfb_nacl.sh, * emulparams/armelfb_nbsd.sh,
626 * emulparams/armsymbian.sh, * emulparams/cskyelf_linux.sh,
627 * emulparams/elf32_sparc_sol2.sh,
628 * emulparams/elf32_sparc_vxworks.sh, * emulparams/elf32_tic6x_be.sh,
629 * emulparams/elf32_tic6x_elf_be.sh,
630 * emulparams/elf32_tic6x_elf_le.sh,
631 * emulparams/elf32_tic6x_linux_be.sh,
632 * emulparams/elf32_tic6x_linux_le.sh,
633 * emulparams/elf32_x86_64.sh, * emulparams/elf32_x86_64_nacl.sh,
634 * emulparams/elf32b4300.sh, * emulparams/elf32bfinfd.sh,
635 * emulparams/elf32bmipn32.sh, * emulparams/elf32bsmip.sh,
636 * emulparams/elf32btsmip.sh, * emulparams/elf32btsmip_fbsd.sh,
637 * emulparams/elf32btsmipn32.sh, * emulparams/elf32btsmipn32_fbsd.sh,
638 * emulparams/elf32ebmip.sh, * emulparams/elf32ebmipvxworks.sh,
639 * emulparams/elf32elmip.sh, * emulparams/elf32elmipvxworks.sh,
640 * emulparams/elf32frvfd.sh, * emulparams/elf32l4300.sh,
641 * emulparams/elf32lm32fd.sh, * emulparams/elf32lmip.sh,
642 * emulparams/elf32lppc.sh, * emulparams/elf32lppclinux.sh,
643 * emulparams/elf32lppcnto.sh, * emulparams/elf32lppcsim.sh,
644 * emulparams/elf32lr5900.sh, * emulparams/elf32lr5900n32.sh,
645 * emulparams/elf32lriscv.sh, * emulparams/elf32lriscv_ilp32.sh,
646 * emulparams/elf32lriscv_ilp32f.sh, * emulparams/elf32lsmip.sh,
647 * emulparams/elf32ltsmip.sh, * emulparams/elf32ltsmip_fbsd.sh,
648 * emulparams/elf32ltsmipn32.sh, * emulparams/elf32ltsmipn32_fbsd.sh,
649 * emulparams/elf32microblazeel.sh, * emulparams/elf32or1k_linux.sh,
650 * emulparams/elf32ppc.sh, * emulparams/elf32ppc_fbsd.sh,
651 * emulparams/elf32ppccommon.sh, * emulparams/elf32ppclinux.sh,
652 * emulparams/elf32ppcnto.sh, * emulparams/elf32ppcsim.sh,
653 * emulparams/elf32ppcvxworks.sh, * emulparams/elf32ppcwindiss.sh,
654 * emulparams/elf32tilegx_be.sh, * emulparams/elf64_ia64_fbsd.sh,
655 * emulparams/elf64_sparc_fbsd.sh, * emulparams/elf64_sparc_sol2.sh,
656 * emulparams/elf64alpha_fbsd.sh, * emulparams/elf64alpha_nbsd.sh,
657 * emulparams/elf64bmip-defs.sh, * emulparams/elf64bmip.sh,
658 * emulparams/elf64btsmip.sh, * emulparams/elf64btsmip_fbsd.sh,
659 * emulparams/elf64lppc.sh, * emulparams/elf64lriscv-defs.sh,
660 * emulparams/elf64lriscv.sh, * emulparams/elf64lriscv_lp64.sh,
661 * emulparams/elf64lriscv_lp64f.sh, * emulparams/elf64ltsmip.sh,
662 * emulparams/elf64ltsmip_fbsd.sh, * emulparams/elf64ppc.sh,
663 * emulparams/elf64ppc_fbsd.sh, * emulparams/elf64rdos.sh,
664 * emulparams/elf64tilegx_be.sh, * emulparams/elf_i386.sh,
665 * emulparams/elf_i386_be.sh, * emulparams/elf_i386_fbsd.sh,
666 * emulparams/elf_i386_ldso.sh, * emulparams/elf_i386_nacl.sh,
667 * emulparams/elf_i386_sol2.sh, * emulparams/elf_i386_vxworks.sh,
668 * emulparams/elf_iamcu.sh, * emulparams/elf_k1om.sh,
669 * emulparams/elf_k1om_fbsd.sh, * emulparams/elf_l1om.sh,
670 * emulparams/elf_l1om_fbsd.sh, * emulparams/elf_x86_64.sh,
671 * emulparams/elf_x86_64_cloudabi.sh,
672 * emulparams/elf_x86_64_fbsd.sh, * emulparams/elf_x86_64_nacl.sh,
673 * emulparams/elf_x86_64_sol2.sh, * emulparams/h8300helf.sh,
674 * emulparams/h8300helf_linux.sh, * emulparams/h8300hnelf.sh,
675 * emulparams/h8300self.sh, * emulparams/h8300self_linux.sh,
676 * emulparams/h8300snelf.sh, * emulparams/h8300sxelf.sh,
677 * emulparams/h8300sxelf_linux.sh, * emulparams/h8300sxnelf.sh,
678 * emulparams/hppanbsd.sh, * emulparams/hppaobsd.sh,
679 * emulparams/m32rlelf.sh, * emulparams/m32rlelf_linux.sh,
680 * emulparams/m68kelfnbsd.sh, * emulparams/mn10300.sh,
681 * emulparams/msp430X.sh, * emulparams/nds32belf.sh,
682 * emulparams/nds32belf16m.sh, * emulparams/nds32belf_linux.sh,
683 * emulparams/pjlelf.sh, * emulparams/ppclynx.sh,
684 * emulparams/score7_elf.sh, * emulparams/shelf_fd.sh,
685 * emulparams/shelf_linux.sh, * emulparams/shelf_nbsd.sh,
686 * emulparams/shelf_uclinux.sh, * emulparams/shelf_vxworks.sh,
687 * emulparams/shl.sh, * emulparams/shlelf.sh,
688 * emulparams/shlelf_fd.sh, * emulparams/shlelf_nbsd.sh,
689 * emulparams/shlelf_vxworks.sh: Use source_sh.
690 * genscripts.sh: Adjust for changed parameters. Emit dependencies
691 for e*.c to .deps/*.Pc.
692 (source_sh): New function, use it throughout to source scripts.
693 * genscrba.sh (source_em): Use source_sh.
694
6952019-04-13 Alan Modra <amodra@gmail.com>
696
697 * configure.ac (TDIRS): Build up tdirs in this variable and
698 AC_SUBST, also using AM_SUBST_NOTMAKE.
699 * configure: Regenerate.
700 * Makefile.am (DISTCLEANFILES): Remove tdirs.
701 * Makefile.in: Regenerate.
702
7032019-04-12 Nick Clifton <nickc@redhat.com>
704
705 PR 24450
706 * ld.texi (Output Section Attributes): Add ALIGN_WITH_INPUT to
707 example of section attributes.
708
7092019-04-11 Faraz Shahbazker <fshahbazker@wavecomp.com>
710
711 * NEWS: Mention new option --no-print-map-discarded.
712 * ld.h (ld_config_type) <print_map_discarded>: New field.
713 * ldlang.c (lang_map): Conditionally output discarded sections
714 in map files based on configuration option.
715 * ldlex.h (option_values) <OPTION_PRINT_MAP_DISCARDED,
716 OPTION_NO_PRINT_MAP_DISCARDED>: New.
717 * ldmain.c (main): Enabled print_map_discarded by default.
718 * lexsup.c (ld_options): Add new command-line options.
719 (parse_args) <OPTION_NO_PRINT_MAP_DISCARDED,
720 OPTION_PRINT_MAP_DISCARDED>: New cases.
721 * ld.texi: Document new options.
722 * testsuite/ld-gc/gc.exp: Add new test.
723 * testsuite/ld-gc/skip-map-discarded.s: New file.
724 * testsuite/ld-gc/skip-map-discarded.d: New file.
725 * testsuite/ld-gc/skip-map-discarded.map: New file.
726
7272019-04-11 H.J. Lu <hongjiu.lu@intel.com>
728
729 * ld.texi: Document -z cet-report=[none|warning|error].
730 * emulparams/cet.sh: Add -z cet-report=[none|warning|error].
731 * testsuite/ld-i386/i386.exp: Run -z cet-report=[warning|error]
732 tests.
733 * testsuite/ld-x86-64/x86-64.exp: Likewise.
734 * testsuite/ld-i386/property-x86-cet1.d: New file.
735 * testsuite/ld-i386/property-x86-cet2a.d: Likewise.
736 * testsuite/ld-i386/property-x86-cet2b.d: Likewise.
737 * testsuite/ld-i386/property-x86-cet3a.d: Likewise.
738 * testsuite/ld-i386/property-x86-cet3b.d: Likewise.
739 * testsuite/ld-i386/property-x86-cet4a.d: Likewise.
740 * testsuite/ld-i386/property-x86-cet4b.d: Likewise.
741 * testsuite/ld-i386/property-x86-cet5a.d: Likewise.
742 * testsuite/ld-i386/property-x86-cet5b.d: Likewise.
743 * testsuite/ld-i386/property-x86-cet6.d: Likewise.
744 * testsuite/ld-x86-64/property-x86-cet.s: Likewise.
745 * testsuite/ld-x86-64/property-x86-cet1-x32.d: Likewise.
746 * testsuite/ld-x86-64/property-x86-cet1.d: Likewise.
747 * testsuite/ld-x86-64/property-x86-cet2a-x32.d: Likewise.
748 * testsuite/ld-x86-64/property-x86-cet2a.d: Likewise.
749 * testsuite/ld-x86-64/property-x86-cet2b-x32.d: Likewise.
750 * testsuite/ld-x86-64/property-x86-cet2b.d: Likewise.
751 * testsuite/ld-x86-64/property-x86-cet3a-x32.d: Likewise.
752 * testsuite/ld-x86-64/property-x86-cet3a.d: Likewise.
753 * testsuite/ld-x86-64/property-x86-cet3b-x32.d: Likewise.
754 * testsuite/ld-x86-64/property-x86-cet3b.d: Likewise.
755 * testsuite/ld-x86-64/property-x86-cet4a-x32.d: Likewise.
756 * testsuite/ld-x86-64/property-x86-cet4a.d: Likewise.
757 * testsuite/ld-x86-64/property-x86-cet4b-x32.d: Likewise.
758 * testsuite/ld-x86-64/property-x86-cet4b.d: Likewise.
759 * testsuite/ld-x86-64/property-x86-cet5a-x32.d: Likewise.
760 * testsuite/ld-x86-64/property-x86-cet5a.d: Likewise.
761 * testsuite/ld-x86-64/property-x86-cet5b-x32.d: Likewise.
762 * testsuite/ld-x86-64/property-x86-cet5b.d: Likewise.
763 * testsuite/ld-x86-64/property-x86-cet6-x32.d: Likewise.
764 * testsuite/ld-x86-64/property-x86-cet6.d: Likewise.
765
7662019-04-11 H.J. Lu <hongjiu.lu@intel.com>
767
768 * testsuite/config/default.exp (STATIC_PIE_LDFLAGS): New. Set
769 to "-static-pie" if target compiler supports it.
770 * testsuite/ld-elf/elf.exp: Run -static-pie tests if
771 $STATIC_PIE_LDFLAGS isn't empty.
772 * testsuite/ld-ifunc/ifunc.exp: Likewise.
773
7742019-04-11 Tamar Christina <tamar.christina@arm.com>
775
776 PR ld/24302
777 * testsuite/ld-aarch64/aarch64-elf.exp: Add new test.
778 * testsuite/ld-aarch64/tls-relax-gdesc-le-now.d: New test.
779
7802019-04-10 H.J. Lu <hongjiu.lu@intel.com>
781
782 * scripttempl/elf.sc (CREATE_PIC): New. Set for CREATE_SHLIB or
783 CREATE_PIE.
784 (__rel_iplt_start): Don't define for CREATE_PIC.
785 (__rel_iplt_end): Likewise.
786 (__rela_iplt_start): Likewise.
787 (__rela_iplt_end): Likewise.
788
7892019-04-10 Alan Modra <amodra@gmail.com>
790
791 * testsuite/ld-elf/shared.exp: Don't xfail PR ld/20995 for
792 powerpc-nto.
793
7942019-04-10 Alan Modra <amodra@gmail.com>
795
796 * emultempl/cskyelf.em (csk_elf_before_parse): New function,
797 setting use_branch_stub false for linux.
798 (csky_elf_create_output_section_statements): Do emit this
799 function and all others in the file for linux, plus the branch
800 option control. Disable branch stubs when non-ELF.
801
8022019-04-10 Alan Modra <amodra@gmail.com>
803
804 * Makefile.am (eskyelf.c, eskyelf_linux.c): Depend on cskyelf.em.
805 (ecskyelf_linux.c): Depend on cskyelf.sh.
806 (eelf32microblazeel.c): Depend on elf32microblaze.sh.
807 * Makefile.in: Regenerate.
808 * emulparams/cskyelf.sh: Comment regarding cskelf_linux.sh.
809 (PAGE_SIZE): Don't define.
810 * emulparams/cskyelf_linux.sh: Source sckyelf.sh, leaving just
811 the differing variable defs/undefs.
812 * emulparams/elf32mcore.sh (PAGE_SIZE): Don't define.
813 * emulparams/elf32microblaze.sh: Comment re. elf32microblazeel.sh.
814 (OUTPUT_FORMAT): Use BIG_OUTPUT_FORMAT.
815 (PAGE_SIZE): Don't define.
816 * emulparams/elf32microblazeel.sh: Source elf32microblaze.sh,
817 leaving just the differing OUTPUT_FORMAT.
818
8192019-04-10 Alan Modra <amodra@gmail.com>
820
821 * po/BLD-POTFILES.in: Regenerate.
822
8232019-04-08 H.J. Lu <hongjiu.lu@intel.com>
824
825 * testsuite/ld-elf/shared.exp: XFAIL PR ld/20995 tests for
826 lynxos and nto targets.
827
8282019-04-08 H.J. Lu <hongjiu.lu@intel.com>
829
830 * Makefile.am (ALL_EMULATION_SOURCES): Remove eelf_i386_chaos.c.
831 (eelf_i386_chaos.c): Removed.
832 * Makefile.in: Regenerated.
833 * configure.tgt: Remove i[3-7]86-*-kaos*.
834 * emulparams/elf_i386_chaos.sh: Removed.
835
8362019-04-08 H.J. Lu <hongjiu.lu@intel.com>
837
838 * emulparams/elf_i386_be.sh (EXTRA_EM_FILE): New.
839 * emulparams/i386moss.sh (EXTRA_EM_FILE): Likewise.
840
8412019-04-08 Alan Modra <amodra@gmail.com>
842
843 * emulparams/elf64rdos.sh (EXTRA_EM_FILE): Define.
844 * emulparams/i386lynx.sh (EXTRA_EM_FILE): Define.
845 * emulparams/i386nto.sh (EXTRA_EM_FILE): Define.
846
8472019-04-06 H.J. Lu <hongjiu.lu@intel.com>
848
849 * Makefile.am (ELF_X86_DEPS): Add $(srcdir)/emultempl/elf-x86.em.
850 (eelf_i386_sol2.c): Also depend on
851 $(srcdir)/emultempl/solaris2-x86.em.
852 (eelf_x86_64_sol2.c): Likewise.
853 * Makefile.in: Regenerated.
854 * emulparams/call_nop.sh: Set x86-specific linker options via
855 params.
856 * emulparams/cet.sh: Likewise.
857 * emulparams/reloc_overflow.sh: Likewise.
858 * emulparams/elf32_x86_64.sh (EXTRA_EM_FILE): New. Set to
859 "elf-x86".
860 * emulparams/elf_i386.sh: Likewise.
861 * emulparams/elf_i386_be.sh: Likewise.
862 * emulparams/elf_i386_chaos.sh: Likewise.
863 * emulparams/elf_i386_ldso.sh: Likewise.
864 * emulparams/elf_i386_vxworks.sh: Likewise.
865 * emulparams/elf_iamcu.sh: Likewise.
866 * emulparams/elf_k1om.sh: Likewise.
867 * emulparams/elf_l1om.sh: Likewise.
868 * emulparams/elf_x86_64.sh: Likewise.
869 * emulparams/elf_i386_sol2.sh (EXTRA_EM_FILE): Changed to
870 "solaris2-x86".
871 * emulparams/elf_x86_64_sol2.sh: Likewise.
872 * emultempl/elf-x86.em: New file.
873 * emultempl/solaris2-x86.em: Likewise.
874 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
875 set link_info.call_nop_byte.
876
8772019-04-05 Alan Modra <amodra@gmail.com>
878
879 * testsuite/ld-powerpc/tlsexe32.d: Remove trailing spaces.
880 * testsuite/ld-powerpc/tlsopt5.d: Likewise.
881 * testsuite/ld-powerpc/tlsopt5_32.d: Likewise.
882
8832019-04-03 Alan Modra <amodra@gmail.com>
884
885 PR 24411
886 ldlex.l (SYMBOLNAMECHAR1): Don't match '/'.
887 (<EXPRESSION>"/DISCARD/"): New.
888
8892019-04-03 Alan Modra <amodra@gmail.com>
890
891 * ldlex.l: Formatting.
892 (CMDFILENAMECHAR, CMDFILENAMECHAR1): Delete.
893 (FILENAMECHAR1, SYMBOLNAMECHAR1, FILENAMECHAR, WILDCHAR),
894 (NOCFILENAMECHAR): Remove duplicate chars. Reorder.
895 (SYMBOLCHARN): Likewise. Rename to SYMBOLNAMECHAR.
896 (<INPUTLIST>"$SYSROOT"..): Delete rule.
897
8982019-03-29 Max Filippov <jcmvbkbc@gmail.com>
899
900 * testsuite/ld-xtensa/relax-undef-weak-pie-export-dynamic.d: New
901 test definition.
902 * testsuite/ld-xtensa/xtensa.exp
903 (relax-undef-weak-pie-export-dynamic): Add new test.
904
9052019-03-26 Martin Liska <mliska@suse.cz>
906
907 * plugin.c (get_symbols): Add lto_kind_str, lto_resolution_str,
908 lto_visibility_str and use then to inform about plugin-symbols.
909 * testsuite/ld-plugin/plugin-12.d: Adjust expected pattern.
910
9112019-03-25 Tamar Christina <tamar.christina@arm.com>
912
913 * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Update disassembly.
914 * testsuite/ld-arm/jump-reloc-veneers-long.d: Update disassembly.
915
9162019-03-21 Sudakshina Das <sudi.das@arm.com>
917
918 * testsuite/ld-aarch64/aarch64-elf.exp: Add new test.
919 * testsuite/ld-aarch64/bti-plt-1.s: Add .ifdef for PAC note section.
920 * testsuite/ld-aarch64/bti-plt-6.d: Update warning.
921 * testsuite/ld-aarch64/bti-plt-7.d: Likewise.
922 * testsuite/ld-aarch64/bti-warn.d: New test.
923
9242019-03-21 Alan Modra <amodra@gmail.com>
925
926 * testsuite/ld-elf/fini2.s: Reduce alignment.
927 * testsuite/ld-elf/fini3.s: Likewise.
928 * testsuite/ld-elf/finin.s: Likewise.
929 * testsuite/ld-elf/init2.s: Likewise.
930 * testsuite/ld-elf/init3.s: Likewise.
931 * testsuite/ld-elf/initn.s: Likewise.
932 * testsuite/ld-elf/pr14156a.d: Don't xfail m68hc1*-* or xgate-*.
933 * testsuite/ld-elf/pr14156b.d: Don't xfail xgate-*.
934
9352019-03-21 Alan Modra <amodra@gmail.com>
936
937 * scripttempl/alpha.sc, * scripttempl/armbpabi.sc,
938 * scripttempl/crisaout.sc, * scripttempl/elf32cr16.sc,
939 * scripttempl/elf32crx.sc, * scripttempl/elf32xc16x.sc,
940 * scripttempl/elf32xc16xl.sc, * scripttempl/elf32xc16xs.sc,
941 * scripttempl/elf64hppa.sc, * scripttempl/elf_chaos.sc,
942 * scripttempl/elfarc.sc, * scripttempl/elfarcv2.sc,
943 * scripttempl/elfd30v.sc, * scripttempl/elfm68hc11.sc,
944 * scripttempl/elfm68hc12.sc, * scripttempl/elfm9s12z.sc,
945 * scripttempl/elfmicroblaze.sc, * scripttempl/elfxgate.sc,
946 * scripttempl/elfxtensa.sc, * scripttempl/epiphany_4x4.sc,
947 * scripttempl/ft32.sc, * scripttempl/i386beos.sc,
948 * scripttempl/iq2000.sc, * scripttempl/mcorepe.sc,
949 * scripttempl/mep.sc, * scripttempl/mips.sc, * scripttempl/moxie.sc,
950 * scripttempl/pe.sc, * scripttempl/pep.sc, * scripttempl/ppcpe.sc,
951 * scripttempl/tic4xcoff.sc, * scripttempl/tic80coff.sc,
952 * scripttempl/v850.sc, * scripttempl/v850_rh850.sc,
953 * scripttempl/visium.sc, * scripttempl/xstormy16.sc: Add KEEP and
954 SORT_NONE to .init and .fini wildcards.
955 * scripttempl/elf32xc16x.sc,
956 * scripttempl/elf32xc16xl.sc,
957 * scripttempl/elf32xc16xs.sc: Add .fini wildcard.
958 * scripttempl/elf_chaos.sc: Add .init output section.
959 * scripttempl/elfd30v.sc: Remove duplicate .init.
960 * scripttempl/elfm68hc11.sc, * scripttempl/elfm68hc12.sc,
961 * scripttempl/elfm9s12z.sc, * scripttempl/elfxgate.sc: Remove
962 duplicate .init, and add .fini wildcard.
963 * scripttempl/ppcpe.sc (INIT, FINI): Delete.
964 * ldlang.c (update_wild_statements): Special case .init and
965 .fini in the wildcard, not the output section.
966
9672019-03-21 Alan Modra <amodra@gmail.com>
968
969 * emulparams/elf32lm32fd.sh (DYNAMIC_LINK): Undef.
970
9712019-03-21 Alan Modra <amodra@gmail.com>
972
973 * ldlang.c (lang_size_sections_1): Set SEC_KEEP on
974 create_object_symbols_section.
975 * testsuite/ld-elf/pr22319.d: Don't xfail dlx.
976
9772019-03-18 Alan Modra <amodra@gmail.com>
978
979 * testsuite/ld-elf/merge.d: Remove csky from xfails, add moxie.
980 * testsuite/ld-elf/pr21884.d: Remove csky from xfails.
981 * testsuite/ld-elf/shared.exp: Add csky to list not xfailing pr22374.
982 * testsuite/ld-unique/pr21529.d: Remove csky from xfails
983
9842019-03-15 Nick Clifton <nickc@redhat.com>
985
986 PR 24262
987 * ld.texi (-plugin): Correct the path used to locate linker
988 plugins.
989
9902019-03-13 Sudakshina Das <sudi.das@arm.com>
991
992 * NEWS: Document --pac-plt.
993 * emultempl/aarch64elf.em (OPTION_PAC_PLT): New.
994 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add pac-plt.
995 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_PAC_PLT.
996 * testsuite/ld-aarch64/aarch64-elf.exp: Add the following tests.
997 * testsuite/ld-aarch64/bti-pac-plt-1.d: New test.
998 * testsuite/ld-aarch64/bti-pac-plt-2.d: New test.
999 * testsuite/ld-aarch64/pac-plt-1.d: New test.
1000 * testsuite/ld-aarch64/pac-plt-2.d: New test.
1001 * testsuite/ld-aarch64/bti-plt-1.s: Add .ifndef directive.
1002
10032019-03-13 Sudakshina Das <sudi.das@arm.com>
1004 Szabolcs Nagy <szabolcs.nagy@arm.com>
1005
1006 * NEWS: Document --force-bti.
1007 * emultempl/aarch64elf.em (plt_type, bti_type, OPTION_FORCE_BTI): New.
1008 (PARSE_AND_LIST_SHORTOPTS, PARSE_AND_LIST_OPTIONS): Add force-bti.
1009 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_FORCE_BTI.
1010 * testsuite/ld-aarch64/aarch64-elf.exp: Add all the tests below.
1011 * testsuite/ld-aarch64/bti-plt-1.d: New test.
1012 * testsuite/ld-aarch64/bti-plt-1.s: New test.
1013 * testsuite/ld-aarch64/bti-plt-2.d: New test.
1014 * testsuite/ld-aarch64/bti-plt-3.d: New test.
1015 * testsuite/ld-aarch64/bti-plt-4.d: New test.
1016 * testsuite/ld-aarch64/bti-plt-5.d: New test.
1017 * testsuite/ld-aarch64/bti-plt-6.d: New test.
1018 * testsuite/ld-aarch64/bti-plt-7.d: New test.
1019 * testsuite/ld-aarch64/bti-plt-so.s: New test.
1020 * testsuite/ld-aarch64/bti-plt.ld: New test.
1021
10222019-03-13 Sudakshina Das <sudi.das@arm.com>
1023
1024 * NEWS: Document GNU_PROPERTY_AARCH64_FEATURE_1_BTI and
1025 GNU_PROPERTY_AARCH64_FEATURE_1_PAC.
1026 * testsuite/ld-aarch64/aarch64-elf.exp: Add run commands for new tests.
1027 * testsuite/ld-aarch64/property-bti-pac1.d: New test.
1028 * testsuite/ld-aarch64/property-bti-pac1.s: New test.
1029 * testsuite/ld-aarch64/property-bti-pac2.d: New test.
1030 * testsuite/ld-aarch64/property-bti-pac2.s: New test.
1031 * testsuite/ld-aarch64/property-bti-pac3.d: New test.
1032
10332019-03-13 H.J. Lu <hongjiu.lu@intel.com>
1034
1035 PR ld/24322
1036 * testsuite/ld-i386/i386.exp: Run PR ld/24322 tests.
1037 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1038 * testsuite/ld-i386/pr24322a.d: New file.
1039 * testsuite/ld-i386/pr24322b.d: Likewise.
1040 * testsuite/ld-x86-64/pr24322a-x32.d: Likewise.
1041 * testsuite/ld-x86-64/pr24322a.d: Likewise.
1042 * testsuite/ld-x86-64/pr24322b-x32.d: Likewise.
1043 * testsuite/ld-x86-64/pr24322b.d: Likewise.
1044 * testsuite/ld-x86-64/pr24322a.s: Likewise.
1045 * testsuite/ld-x86-64/pr24322b.s: Likewise.
1046 * testsuite/ld-x86-64/pr24322c.s: Likewise.
1047
10482019-03-06 Nick Bowler <nbowler@draconx.ca>
1049
1050 PR 24289
1051 * ldexp.c (fold_name): Allow lookups of the LENGTH and ORIGIN
1052 attributes during the first phase.
1053
10542019-03-01 Andreas Krebbel <krebbel@linux.ibm.com>
1055
1056 This reverts commit 5a12586d44fa8d5dfc74cbca4f2f36a273a16335.
1057 2019-01-14 Maamoun Tarsha <maamountk@hotmail.com>
1058
1059 PR 20113
1060 * emulparams/elf64_s390.sh (SEPARATE_GOTPLT): Define.
1061 * emulparams/elf_s390.sh (SEPARATE_GOTPLT): Define.
1062 * testsuite/ld-s390/gotreloc_31-1.dd: Update expected output.
1063 * testsuite/ld-s390/tlsbin.dd: Likewise.
1064 * testsuite/ld-s390/tlsbin.rd: Likewise.
1065 * testsuite/ld-s390/tlsbin.sd: Likewise.
1066 * testsuite/ld-s390/tlsbin_64.dd: Likewise.
1067 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
1068 * testsuite/ld-s390/tlsbin_64.sd: Likewise.
1069 * testsuite/ld-s390/tlspic.dd: Likewise.
1070 * testsuite/ld-s390/tlspic.rd: Likewise.
1071 * testsuite/ld-s390/tlspic.sd: Likewise.
1072 * testsuite/ld-s390/tlspic_64.dd: Likewise.
1073 * testsuite/ld-s390/tlspic_64.rd: Likewise.
1074 * testsuite/ld-s390/tlspic_64.sd: Likewise.
1075 * testsuite/ld-s390/s390.exp: Skip s390 tests for tpf targets.
1076
10772019-02-27 H.J. Lu <hongjiu.lu@intel.com>
1078
1079 PR ld/24276
1080 * testsuite/ld-i386/i386.exp: Run PR ld/24276 test.
1081 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1082 * testsuite/ld-i386/pr24276.dso: New file.
1083 * testsuite/ld-i386/pr24276.warn: Likewise.
1084 * testsuite/ld-x86-64/pr24276.dso: Likewise.
1085 * testsuite/ld-x86-64/pr24276.warn: Likewise.
1086
10872019-02-20 Eric Tsai <erictsai@cadence.com>
1088
1089 * testsuite/ld-xtensa/call_overflow.d: New test definition.
1090 * testsuite/ld-xtensa/call_overflow1.s: New test source.
1091 * testsuite/ld-xtensa/call_overflow2.s: New test source.
1092 * testsuite/ld-xtensa/call_overflow3.s: New test source.
1093 * testsuite/ld-xtensa/xtensa.exp: Add call_overflow test.
1094
10952019-02-14 Thomas Schwinge <thomas@codesourcery.com>
1096
1097 * testsuite/ld-elf/elf.exp: Remove Hurd XFAILs.
1098
10992019-02-12 Nick Clifton <nickc@redhat.com>
1100
1101 * po/fr.po: Updated French translation.
1102
11032019-02-09 Vineet Gupta <vgupta@synopsys.com>
1104
1105 * emultempl/arclinux.em: Delete special INIT/FINI handling.
1106
11072019-02-07 Nick Clifton <nickc@redhat.com>
1108
1109 PR 24175
1110 * ld.texi (Options): Add missing word to the description of the
1111 --start-group option.
1112
11132019-02-06 Alan Modra <amodra@gmail.com>
1114
1115 PR ld/24008
1116 * testsuite/ld-scripts/pr24008.d: Pass with extra target
1117 defined symbols.
1118
11192019-02-05 H.J. Lu <hongjiu.lu@intel.com>
1120
1121 PR ld/24151
1122 * testsuite/ld-x86-64/pr24151a-x32.d: New file.
1123 * testsuite/ld-x86-64/pr24151a.d: Likewise.
1124 * testsuite/ld-x86-64/pr24151a.s: Likewise.
1125 * testsuite/ld-x86-64/x86-64.exp: Run pr24151a and pr24151a-x32.
1126
11272019-01-31 Alan Modra <amodra@gmail.com>
1128
1129 * NEWS: Mention -t change.
1130 * ld.texi (--trace/-t): Expand documentation a little.
1131
11322019-01-29 H.J. Lu <hongjiu.lu@intel.com>
1133
1134 PR ld/24008
1135 * testsuite/ld-scripts/defined.exp: Run pr24008.
1136 * testsuite/ld-scripts/pr24008.d: New file.
1137 * testsuite/ld-scripts/pr24008.map: Likewise.
1138 * testsuite/ld-scripts/pr24008.s: Likewise.
1139 * testsuite/ld-scripts/pr24008.t: Likewise.
1140
11412019-01-29 Eric Botcazou <ebotcazou@adacore.com>
1142
1143 * testsuite/ld-ifunc/ifunc.exp: Skip pr23169 on SPARC.
1144
11452019-01-28 Alan Modra <amodra@gmail.com>
1146
1147 PR 24008
1148 * ldexp.h (lang_phase_type): Add lang_fixed_phase_enum.
1149 * ldexp.c (fold_name): Move expld.assign_name check later to
1150 avoid an extra lookup.
1151 (exp_fold_tree_1): When lang_fixed_phase_enum, don't change symbol
1152 values, and don't clear expld.assign_name.
1153 * ldlang.c (lang_map): Set expld.phase to lang_fixed_phase_enum.
1154 (print_assignment): Resolve entire assignment expression.
1155 Don't access symbol u.def unless symbol is defined.
1156
11572019-01-25 Nick Clifton <nickc@redhat.com>
1158
1159 * po/bg.po: Updated Bulgarian translation.
1160
11612019-01-23 Sebastian Huber <sebastian.huber@embedded-brains.de>
1162
1163 * ld.texi (--wrap): Add warning that LTO may make this feature
1164 ineffective.
1165
11662019-01-21 Nick Clifton <nickc@redhat.com>
1167
1168 * po/uk.po: Updated Ukranian translation.
1169 * po/pr_BR.po: Updated Brazilian Portuguese translation.
1170
11712019-01-21 Nick Clifton <nickc@redhat.com>
1172
1173 PR 24108
1174 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Update
1175 expected error message.
1176
11772019-01-19 Nick Clifton <nickc@redhat.com>
1178
1179 * configure: Regenerate.
1180 * po/ld.pot: Regenerate.
1181
11822018-06-24 Nick Clifton <nickc@redhat.com>
1183
1184 2.32 branch created.
1185
11862019-01-16 Kito Cheng <kito@andestech.com>
1187
1188 * testsuite/ld-elf/orphan-region.d: XFAIL for RISC-V, because add new
1189 section.
1190 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Add new tests.
1191 * testsuite/ld-riscv-elf/attr-merge-arch-01.d: New test.
1192 * testsuite/ld-riscv-elf/attr-merge-arch-01a.s: Likewise.
1193 * testsuite/ld-riscv-elf/attr-merge-arch-01b.s: Likewise.
1194 * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
1195 * testsuite/ld-riscv-elf/attr-merge-arch-02a.s: Likewise.
1196 * testsuite/ld-riscv-elf/attr-merge-arch-02b.s: Likewise.
1197 * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
1198 * testsuite/ld-riscv-elf/attr-merge-arch-03a.s: Likewise.
1199 * testsuite/ld-riscv-elf/attr-merge-arch-03b.s: Likewise.
1200 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Likewise.
1201 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01a.s: Likewise.
1202 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01b.s: Likewise.
1203 * testsuite/ld-riscv-elf/attr-merge-priv-spec-a.s: Likewise.
1204 * testsuite/ld-riscv-elf/attr-merge-priv-spec-b.s: Likewise.
1205 * testsuite/ld-riscv-elf/attr-merge-priv-spec.d: Likewise.
1206 * testsuite/ld-riscv-elf/attr-merge-stack-align-a.s: Likewise.
1207 * testsuite/ld-riscv-elf/attr-merge-stack-align-b.s: Likewise.
1208 * testsuite/ld-riscv-elf/attr-merge-stack-align-failed-a.s: Likewise.
1209 * testsuite/ld-riscv-elf/attr-merge-stack-align-failed-b.s: Likewise.
1210 * testsuite/ld-riscv-elf/attr-merge-stack-align-failed.d: Likewise.
1211 * testsuite/ld-riscv-elf/attr-merge-stack-align.d: Likewise.
1212 * testsuite/ld-riscv-elf/attr-merge-strict-align-01.d: Likewise.
1213 * testsuite/ld-riscv-elf/attr-merge-strict-align-01a.s: Likewise.
1214 * testsuite/ld-riscv-elf/attr-merge-strict-align-01b.s: Likewise.
1215 * testsuite/ld-riscv-elf/attr-merge-strict-align-02.d: Likewise.
1216 * testsuite/ld-riscv-elf/attr-merge-strict-align-02a.s: Likewise.
1217 * testsuite/ld-riscv-elf/attr-merge-strict-align-02b.s: Likewise.
1218 * testsuite/ld-riscv-elf/attr-merge-strict-align-03.d: Likewise.
1219 * testsuite/ld-riscv-elf/attr-merge-strict-align-03a.s: Likewise.
1220 * testsuite/ld-riscv-elf/attr-merge-strict-align-03b.s: Likewise.
1221 * testsuite/ld-riscv-elf/attr-merge-strict-align-04.d: Likewise.
1222 * testsuite/ld-riscv-elf/attr-merge-strict-align-04a.s: Likewise.
1223 * testsuite/ld-riscv-elf/attr-merge-strict-align-04b.s: Likewise.
1224 * testsuite/ld-riscv-elf/attr-merge-strict-align-05.d: Likewise.
1225 * testsuite/ld-riscv-elf/attr-merge-strict-align-05a.s: Likewise.
1226 * testsuite/ld-riscv-elf/attr-merge-strict-align-05b.s: Likewise.
1227
12282019-01-14 Maamoun Tarsha <maamountk@hotmail.com>
1229
1230 PR 20113
1231 * emulparams/elf64_s390.sh (SEPARATE_GOTPLT): Define.
1232 * emulparams/elf_s390.sh (SEPARATE_GOTPLT): Define.
1233 * testsuite/ld-s390/gotreloc_31-1.dd: Update expected output.
1234 * testsuite/ld-s390/tlsbin.dd: Likewise.
1235 * testsuite/ld-s390/tlsbin.rd: Likewise.
1236 * testsuite/ld-s390/tlsbin.sd: Likewise.
1237 * testsuite/ld-s390/tlsbin_64.dd: Likewise.
1238 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
1239 * testsuite/ld-s390/tlsbin_64.sd: Likewise.
1240 * testsuite/ld-s390/tlspic.dd: Likewise.
1241 * testsuite/ld-s390/tlspic.rd: Likewise.
1242 * testsuite/ld-s390/tlspic.sd: Likewise.
1243 * testsuite/ld-s390/tlspic_64.dd: Likewise.
1244 * testsuite/ld-s390/tlspic_64.rd: Likewise.
1245 * testsuite/ld-s390/tlspic_64.sd: Likewise.
1246 * testsuite/ld-s390/s390.exp: Skip s390 tests for tpf targets.
1247
12482019-01-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
1249
1250 * ld.texi (--wrap): Add example to emphasise that only undefined
1251 references are replaced by the linker.
1252
12532019-01-09 Nick Clifton <nickc@redhat.com>
1254
1255 * po/es.po: Updated Spanish translation.
1256
12572019-01-09 Andrew Paprocki <andrew@ishiboo.com>
1258
1259 * configure: Regenerate.
1260
12612019-01-08 Alan Modra <amodra@gmail.com>
1262
1263 * testsuite/ld-elf/sec64k.exp: Use . rather than $objdir in
1264 generated source file names.
1265 * testsuite/ld-m68k/m68k-got.exp: Likewise.
1266
12672019-01-01 Alan Modra <amodra@gmail.com>
1268
1269 Update year range in copyright notice of all files.
1270
1271For older changes see ChangeLog-2018
1272\f
1273Copyright (C) 2019 Free Software Foundation, Inc.
1274
1275Copying and distribution of this file, with or without modification,
1276are permitted in any medium without royalty provided the copyright
1277notice and this notice are preserved.
1278
1279Local Variables:
1280mode: change-log
1281left-margin: 8
1282fill-column: 74
1283version-control: never
1284End:
This page took 0.366761 seconds and 4 git commands to generate.