1 2022-08-18 Ralf Habacker <ralf.habacker@freenet.de>
4 * testsuite/ld-pe/pe-run2-def.exp: New file.
6 2022-08-03 Alan Modra <amodra@gmail.com>
9 * ldlang.h (lang_input_statement_struct): Add sort_key field.
10 * emultempl/pe.em (after_open): If multiple import libraries refer
11 to the same bfd, store their names in the sort_key field.
12 * emultempl/pep.em (after_open): Likewise.
13 * ldlang.c (sort_filename): New function. Returns the filename to
14 be used when sorting input files.
15 (wild_sort): Use the sort_filename function.
17 2022-07-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
20 * configure.tgt (ac_default_ld_warn_rwx_segments): Extend to all
21 sparc targets. Expand comment.
23 2022-07-26 Nick Clifton <nickc@redhat.com>
26 * configure.tgt (ac_default_ld_warn_rwx_segments): Disable for
27 sparc-solaris configurations.
29 2022-07-08 Nick Clifton <nickc@redhat.com>
31 * 2.39 branch created.
33 2022-06-27 Nick Clifton <nickc@redhat.com>
36 * configure.ac: Move HPPA specific code from here...
37 * configure.tgt: ... to here. Add similar code for MIPS.
38 Move code for CRIS, MIPS and HPPA to block at start of file.
39 * configure: Regenerate.
41 2022-06-21 Nick Clifton <nickc@redhat.com>
44 * configure.ac (ac_default_ld_warn_execstack): Default to 'no' for
46 (ac_default_ld_warn_rwx_segments): Likewise.
47 * configure: Regenerate.
48 * testsuite/ld-elf/elf.exp: Add the --warn-execstack command line
49 option to the command line when running execstack tests for the
52 2022-05-12 Alan Modra <amodra@gmail.com>
55 * pe-dll.c (dll_name): Delete, replacing with..
56 (dll_filename): ..this, moved earlier in file.
57 (generate_edata): Delete parameters. Don't set up dll_name here..
58 (pe_process_import_defs): ..instead set up dll_filename and
59 dll_symname here before returning.
60 (dll_symname_len): Delete write-only variable.
61 (pe_dll_generate_implib): Don't set up dll_symname here.
63 2022-05-03 Nick Clifton <nickc@redhat.com>
66 * libdep_plugin.c (get_libdeps): Check for overflow when computing
67 amount of memory to allocate.
69 2022-04-27 Nick Clifton <nickc@redhat.com>
72 * pe-dll.c (make_head): Use asprintf to allocate and populate a
73 buffer containing the temporary name.
74 (make_tail, make_one, make_singleton_name_thunk): Likewise.
75 (make_import_fixup_mark, make_import_fixup_entry): Likewise.
76 (make_runtime_pseudo_reloc): Likewise.
77 (pe_create_runtime_relocator_reference): Likewise.
79 2022-04-25 Nick Clifton <nickc@redhat.com>
82 * testsuite/ld-elf/pr29072.b.warn: Update to include the note
83 about the linker's behaviour being depreccated.
85 2022-04-20 Clément Chigot <clement.chigot@atos.net>
87 * emultempl/aix.em (params): New variable.
88 (stub_file): New variable.
89 (xcoff_add_stub_section): New function.
90 (xcoff_layout_sections_again): New function
91 (hook_in_stub): New function.
92 (_after_allocation): Add stub creation.
93 (_create_output_section_statements): Allocate stub file and
94 pass params to backend.
96 2022-04-20 Clément Chigot <clement.chigot@atos.net>
98 * emultempl/aix.em (_after_allocation): New function.
100 2022-04-07 Mark Harmstone <mark@harmstone.com>
102 * testsuite/ld-pe/secidx1.s: New test source file.
103 * testsuite/ld-pe/secidx2.s: New test source file.
104 * testsuite/ld-pe/secidx.d: New test driver file.
105 * testsuite/ld-pe/secidx_64.d: New test driver file.
106 * testsuite/ld-pe/pe.exp: Add new tests.
108 2022-03-01 Nick Clifton <nickc@redhat.com>
111 * testsuite/ld-elf/pr21964-1a.c: Fix array comparisons.
112 * testsuite/ld-elf/pr21964-1b.c: Likewise.
113 * testsuite/ld-elf/pr21964-1c.c: Likewise.
114 * testsuite/ld-elf/pr21964-2a.c: Likewise.
115 * testsuite/ld-elf/pr21964-2b.c: Likewise.
116 * testsuite/ld-elf/pr21964-3a.c: Likewise.
118 2022-02-17 Roland McGrath <mcgrathr@google.com>
120 * ld.texi (Output Section Type): Fix typo in @code syntax.
122 2022-02-17 Nick Clifton <nickc@redhat.com>
124 * po/sr.po: Updated Serbian translation.
126 2022-02-16 Fangrui Song <maskray@google.com>
127 Nick Clifton <nickc@redhat.com>
130 * ld.texi: Document new output section type.
131 * ldlex.l: Add new token TYPE.
132 * ldgram.y: Handle TYPE=exp and READONLY (TYPE=exp).
133 * ldlang.h: Add type_section to list of section types.
134 * ldlang.c (lang_add_section): Handle type_section.
135 (map_input_to_output_sections): Handle type_section.
136 * testsuite/ld-scripts/output-section-types.t: Add tests.
137 * testsuite/ld-scripts/output-section-types.d: Update.
139 2022-02-02 Nick Clifton <nickc@redhat.com>
141 * po/fr.po: Updated French translation.
143 2022-01-24 Nick Clifton <nickc@redhat.com>
145 * po/bg.po: Updated Bulgarian translation.
146 * po/uk.po: Updated Ukranian translation.
148 2022-01-22 Alexander von Gluck IV <kallisti5@unixzen.com>
150 * configure.tgt (arm-haiku): Fix typo.
151 * emulparams/armelf_haiku.su (MAXPAGESIZE): Use the default value.
152 (COMMONPAGESIZE): Likewise.
154 2022-01-22 Nick Clifton <nickc@redhat.com>
156 * configure: Regenerate.
157 * po/ld.pot: Regenerate.
159 2022-01-22 Nick Clifton <nickc@redhat.com>
161 * 2.38 release branch created.
163 2022-01-21 Nick Clifton <nickc@redhat.com>
165 * po/sr.po: Updated Serbian translation.
167 2022-01-17 Nick Clifton <nickc@redhat.com>
169 * Makefile.in: Regenerate.
170 * po/ld.pot: Regenerate.
172 2022-01-11 Martin Storsjö <martin@martin.st>
174 * pe-dll.c (make_head): Prefix the symbol name with the dll name.
175 (make_tail, make_one, make_singleton_name_thunk): Likewise.
176 (make_import_fixup_entry, make_runtime_pseudo_reloc): Likewise.
177 (pe_create_runtime_relocator_reference): Likewise.
178 (pe_dll_generate_implib): Set dll_symname_len.
179 (pe_process_import_defs): Likewise.
181 2021-12-16 Nick Clifton <nickc@redhat.com>
184 * testsuite/ld-avr/avr-prop-7.d: Adjust expected output.
185 * testsuite/ld-avr/avr-prop-8.d: Likewise.
186 * testsuite/ld-avr/pr13402.d: Likewise.
188 2021-11-30 Nick Clifton <nickc@redhat.com>
190 * scripttempl/pru.sc (.pru_irq_map): Define output section.
191 * testsuite/ld-pru/pru_irq_map-1.d: New test.
192 * testsuite/ld-pru/pru_irq_map-2.d: New test.
193 * testsuite/ld-pru/pru_irq_map.s: New test.
195 2021-11-17 Jeremy Drake <cygwin@jdrake.com>
197 * emultempl/pep.em (DEFAULT_DLL_CHARACTERISTICS): Set to 0 for
199 * emultempl/pep.em (DEFAULT_DLL_CHARACTERISTICS): Likewise.
201 2021-11-17 Nick Clifton <nickc@redhat.com>
204 * ldgram.y: Add support for PT_GNU_RELRO and PT_GNU_PROPERTY.
205 * ldgram.c: Regenerate.
207 2021-11-15 Roland McGrath <mcgrathr@google.com>
209 * testsuite/ld-aarch64/dt_textrel.d: Pass explicit -z notext in
210 case ld was configured with --enable-textrel-check=error.
211 * testsuite/ld-aarch64/pr22764.d: Likewise.
212 * testsuite/ld-aarch64/pr20402.d: Likewise.
214 2021-10-25 Nick Alcock <nick.alcock@oracle.com>
216 * testsuite/ld-ctf/nonrepresentable-member.*: New test.
218 2021-10-25 Nick Alcock <nick.alcock@oracle.com>
220 * testsuite/ld-ctf/array.d: Change --ctf=.ctf to --ctf.
221 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
222 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
223 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
224 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
225 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
226 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
227 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
228 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
229 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
230 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
231 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
232 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
233 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
234 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
235 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
236 * testsuite/ld-ctf/cycle-1.d: Likewise.
237 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
238 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
239 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
240 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
241 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
242 * testsuite/ld-ctf/diag-cuname.d: Likewise.
243 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
244 * testsuite/ld-ctf/enum-forward.d: Likewise.
245 * testsuite/ld-ctf/enums.d: Likewise.
246 * testsuite/ld-ctf/forward.d: Likewise.
247 * testsuite/ld-ctf/function.d: Likewise.
248 * testsuite/ld-ctf/nonrepresentable.d: Likewise.
249 * testsuite/ld-ctf/slice.d: Likewise.
250 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
252 2021-09-30 Dimitar Dimitrov <dimitar@dinux.eu>
254 * scripttempl/pru.sc (.resource_table): Align the output
255 section, not the first symbol.
257 2021-09-27 Nick Alcock <nick.alcock@oracle.com>
259 * configure: Regenerate.
261 2021-09-21 Nick Clifton <nickc@redhat.com>
263 * ldlang.c (lang_end): When computing the entry point, only
264 try the start address of the entry section when creating an
266 * ld.texi (Entry point): Update description of heuristic used to
267 choose the entry point.
268 testsuite/ld-alpha/tlspic.rd: Update expected entry point address.
269 testsuite/ld-arm/tls-gdesc-got.d: Likewise.
270 testsuite/ld-i386/tlsnopic.rd: Likewise.
271 testsuite/ld-ia64/tlspic.rd: Likewise.
272 testsuite/ld-sparc/gotop32.rd: Likewise.
273 testsuite/ld-sparc/gotop64.rd: Likewise.
274 testsuite/ld-sparc/tlssunnopic32.rd: Likewise.
275 testsuite/ld-sparc/tlssunnopic64.rd: Likewise.
276 testsuite/ld-sparc/tlssunpic32.rd: Likewise.
277 testsuite/ld-sparc/tlssunpic64.rd: Likewise.
278 testsuite/ld-tic6x/shlib-1.rd: Likewise.
279 testsuite/ld-tic6x/shlib-1b.rd: Likewise.
280 testsuite/ld-tic6x/shlib-1r.rd: Likewise.
281 testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
282 testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
283 testsuite/ld-x86-64/pr14207.d: Likewise.
284 testsuite/ld-x86-64/tlsdesc.rd: Likewise.
285 testsuite/ld-x86-64/tlspic.rd: Likewise.
286 testsuite/ld-x86-64/tlspic2.rd: Likewise.
288 2021-09-15 Claudiu Zissulescu <claziss@synopsys.com>
290 * testsuite/ld-arc/got-weak.d: Update file.
292 2021-09-14 Claudiu Zissulescu <claziss@synopsys.com>
294 * ld-arc/got-weak.d: New file.
295 * ld-arc/got-weak.s: Likewise.
297 2021-07-26 Roland McGrath <mcgrathr@google.com>
299 * testsuite/ld-x86-64/x86-64.exp (Build textrel-1): Use --warn-textrel.
301 2021-07-06 Michael Matz <matz@suse.de>
304 * testsuite/ld-riscv-elf/relax-twice.ver: New.
305 * testsuite/ld-riscv-elf/relax-twice-1.s: New.
306 * testsuite/ld-riscv-elf/relax-twice-2.s: New.
307 * testsuite/ld-riscv-elf/ld-riscv-elf.exp
308 (run_relax_twice_test): New, and call it.
310 2021-07-03 Nick Clifton <nickc@redhat.com>
312 * configure: Regenerate.
313 * po/ld.pot: Regenerate.
315 2021-07-03 Nick Clifton <nickc@redhat.com>
317 * 2.37 release branch created.
319 2021-06-22 Nelson Chu <nelson.chu@sifive.com>
321 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
322 * testsuite/ld-riscv-elf/pcrel-lo-addend-3a.d: New testcase.
323 * testsuite/ld-riscv-elf/pcrel-lo-addend-3a.s: Likewise.
324 * testsuite/ld-riscv-elf/pcrel-lo-addend-3b.d: New testcase.
325 Should report error since the %pcrel_lo with addend refers to
327 * testsuite/ld-riscv-elf/pcrel-lo-addend-3b.s: Likewise.
328 * testsuite/ld-riscv-elf/pcrel-lo-addend-3c.d: New testcase.
329 Should report error since the %got_pcrel_hi with addend.
330 * testsuite/ld-riscv-elf/pcrel-lo-addend-3c.s: Likewise.
331 * testsuite/ld-riscv-elf/pcrel-lo-addend-3.ld: Likewise.
333 2021-06-19 H.J. Lu <hongjiu.lu@intel.com>
336 * testsuite/ld-i386/i386.exp: Run PR ld/27998 tests.
337 * testsuite/ld-i386/pr27998a.d: New file.
338 * testsuite/ld-i386/pr27998a.s: Likewise.
339 * testsuite/ld-i386/pr27998b.d: Likewise.
340 * testsuite/ld-i386/pr27998b.s: Likewise.
342 2021-06-19 H.J. Lu <hongjiu.lu@intel.com>
344 * testsuite/ld-x86-64/textrel-1.err: New file.
345 * testsuite/ld-x86-64/textrel-1a.s: Likewise.
346 * testsuite/ld-x86-64/textrel-1b.s: Likewise.
347 * testsuite/ld-x86-64/x86-64.exp: Run textrel-1 tests.
349 2021-06-18 H.J. Lu <hongjiu.lu@intel.com>
351 * testsuite/ld-elf/property-and-1.d: Skip am33_2.0, hppa-hpux
353 Pass --generate-missing-build-notes=no to assembler. Allow
354 other note sections for xtensa.
355 * testsuite/ld-elf/property-and-2.d: Likewise.
356 * testsuite/ld-elf/property-and-3.d: Likewise.
357 * testsuite/ld-elf/property-and-4.d: Likewise.
358 * testsuite/ld-elf/property-or-1.d: Likewise.
359 * testsuite/ld-elf/property-or-2.d: Likewise.
360 * testsuite/ld-elf/property-or-3.d: Likewise.
361 * testsuite/ld-elf/property-or-4.d: Likewise.
363 2021-06-18 H.J. Lu <hongjiu.lu@intel.com>
365 * ld.texi: Move -z unique-symbol after -z undefs.
367 2021-06-18 H.J. Lu <hongjiu.lu@intel.com>
369 * testsuite/ld-elf/property-and-1.d: New file.
370 * testsuite/ld-elf/property-and-1.s: Likewise.
371 * testsuite/ld-elf/property-and-2.d: Likewise.
372 * testsuite/ld-elf/property-and-2.s: Likewise.
373 * testsuite/ld-elf/property-and-3.d: Likewise.
374 * testsuite/ld-elf/property-and-3.s: Likewise.
375 * testsuite/ld-elf/property-and-4.d: Likewise.
376 * testsuite/ld-elf/property-and-empty.s: Likewise.
377 * testsuite/ld-elf/property-or-1.d: Likewise.
378 * testsuite/ld-elf/property-or-1.s: Likewise.
379 * testsuite/ld-elf/property-or-2.d: Likewise.
380 * testsuite/ld-elf/property-or-2.s: Likewise.
381 * testsuite/ld-elf/property-or-3.d: Likewise.
382 * testsuite/ld-elf/property-or-3.s: Likewise.
383 * testsuite/ld-elf/property-or-4.d: Likewise.
384 * testsuite/ld-elf/property-or-empty.s: Likewise.
386 2021-06-17 H.J. Lu <hongjiu.lu@intel.com>
389 * testsuite/ld-x86-64/x86-64.exp: Pass $NOPIE_LDFLAGS and
390 $NOPIE_CFLAGS to protected-func-1 without PIE.
392 2021-06-17 H.J. Lu <hongjiu.lu@intel.com>
395 * testsuite/ld-x86-64/x86-64.exp: Run protected function tests.
396 * testsuite/ld-x86-64/protected-func-1.h: New file.
397 * testsuite/ld-x86-64/protected-func-1a.s: Likewise.
398 * testsuite/ld-x86-64/protected-func-1b.c: Likewise.
400 2021-06-17 Fangrui Song <maskray@google.com>
402 * ldlex.h (enum option_values): Add OPTION_NO_PIE.
403 * lexsup.c (struct ld_options): Add -no-pie.
404 (parse_args): Handle -no-pie.
405 * ld.texi: Document -no-pie.
407 2021-06-15 Alan Modra <amodra@gmail.com>
409 * testsuite/ld-pie/vaddr-0.d: Update expected output.
411 2021-06-11 Alan Modra <amodra@gmail.com>
414 * ldelf.c (ldelf_after_open): Error on input PIEs too.
416 2021-06-09 Nick Clifton <nickc@redhat.com>
419 * testsuite/ld-sparc/sparc.exp: Do not run the sparctests or
420 sparc64tests for Solaris2 targets.
422 2021-06-03 Alan Modra <amodra@gmail.com>
425 * ld.texi (link-time runtime library search path): Mention
426 plugin library path. Correct order of search.
428 2021-05-31 Nelson Chu <nelson.chu@sifive.com>
429 Lifang Xia <lifang_xia@c-sky.com>
432 * emultempl/riscvelf.em (after_allocation): Call
433 riscv_set_data_segment_info to set data segment phase before relaxing.
434 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
435 * testsuite/ld-riscv-elf/relro-relax-lui.d: New testcase.
436 * testsuite/ld-riscv-elf/relro-relax-lui.s: Likewise.
437 * testsuite/ld-riscv-elf/relro-relax-pcrel.d: Likewise.
438 * testsuite/ld-riscv-elf/relro-relax-pcrel.s: Likewise.
440 2021-05-28 H.J. Lu <hongjiu.lu@intel.com>
443 * testsuite/ld-i386/pcrel16-2.d: xfail.
444 * testsuite/ld-x86-64/pcrel16-2.d: Likewise.
446 2021-05-26 H.J. Lu <hongjiu.lu@intel.com>
449 * testsuite/ld-i386/code16.d: New file.
450 * testsuite/ld-i386/code16.t: Likewise.
451 * testsuite/ld-x86-64/code16.d: Likewise.
452 * testsuite/ld-x86-64/code16.t: Likewise.
453 * testsuite/ld-i386/i386.exp: Run code16.
454 * testsuite/ld-x86-64/x86-64.exp: Likewise.
456 2021-05-26 H.J. Lu <hongjiu.lu@intel.com>
458 * testsuite/ld-x86-64/ilp32-12.d: New file.
459 * testsuite/ld-x86-64/ilp32-12.s: Likewise.
460 * testsuite/ld-x86-64/x86-64.exp: Run ilp32-12.
462 2021-05-14 Nelson Chu <nelson.chu@sifive.com>
464 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
465 * testsuite/ld-riscv-elf/pcrel-lo-addend-2a.d: Renamed from
467 * testsuite/ld-riscv-elf/pcrel-lo-addend-2a.s: Likewise.
468 * testsuite/ld-riscv-elf/pcrel-lo-addend-2b.d: New testcase.
469 * testsuite/ld-riscv-elf/pcrel-lo-addend-2b.s: Likewise.
471 2021-05-13 Fangrui Song <maskray@google.com>
474 * ldlex.h (enum option_values): Add OPTION_NO_SYMBOLIC.
475 * lexsup.c (ld_options): Add -Bno-symbolic.
476 (parse_args): Handle -Bno-symbolic.
477 * ld.texi: Document -Bno-symbolic.
478 * NEWS: Mention -Bno-symbolic.
479 * testsuite/ld-elf/shared.exp: Add a test.
481 2021-05-12 Richard Earnshaw <rearnsha@arm.com>
483 * testsuite/ld-arm/arm-elf.exp (farcall test for v8-m.mainline):
484 Correct expected output.
486 2021-05-11 Roland McGrath <mcgrathr@google.com>
488 * testsuite/ld-x86-64/rela.d: Fix regexp not to presume a specific
489 address layout, so it works for e.g. --target=x86-64-elf.
491 2021-05-11 Nick Clifton <nickc@redhat.com>
494 * Makefile.am (install-data-local): Also delete libdep.dll.a if it
496 * Makefile.in: Regenerate.
498 2021-05-10 Dimitar Dimitrov <dimitar@dinux.eu>
500 * testsuite/ld-elf/group8a.d: Remove pru from XFAIL list.
501 * testsuite/ld-elf/group8b.d: Ditto.
502 * testsuite/ld-elf/group9a.d: Ditto.
503 * testsuite/ld-elf/group9b.d: Ditto.
504 * testsuite/ld-elf/pr12851.d: Ditto.
505 * testsuite/ld-elf/pr22677.d: Ditto.
506 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Remove
509 2021-05-10 Dimitar Dimitrov <dimitar@dinux.eu>
511 * scripttempl/pru.sc (.resource_table): Add ALIGN directive.
512 Use symbols for memory sizes.
514 2021-05-08 Mike Frysinger <vapier@gentoo.org>
516 * Makefile.am (html-local, doc/ld/index.html): New targets.
517 * Makefile.in: Regenerate.
519 2021-05-08 Mike Frysinger <vapier@gentoo.org>
521 * Makefile.am (AM_MAKEINFOFLAGS): Add --no-split.
522 * Makefile.in: Regenerate.
524 2021-05-07 Jan Beulich <jbeulich@suse.com>
526 * testsuite/ld-x86-64/rela.d: New.
527 * testsuite/ld-x86-64/x86-64.exp: Run new test.
529 2021-05-07 Nick Clifton <nickc@redhat.com>
531 * ldelfgen.c (compare_link_order): Ignore section size when
532 performing a relocateable link.
534 2021-05-07 Alan Modra <amodra@gmail.com>
536 * ldexp.c (update_definedness): Don't return false for absolute
538 * ldmain.c (multiple_definition): Print "warning: " in message
539 when not a hard error.
541 2021-05-07 Alan Modra <amodra@gmail.com>
543 * testsuite/ld-elf/pr27825-1.d: Correct xfail.
544 * testsuite/ld-elf/pr27825-2.d: Likewise.
546 2021-05-06 Stafford Horne <shorne@gmail.com>
549 testsuite/ld-or1k/or1k.exp (or1kplttests): Add tests for linking
550 along with gotha() relocations.
551 testsuite/ld-or1k/gotha1.dd: New file.
552 testsuite/ld-or1k/gotha1.s: New file.
553 testsuite/ld-or1k/gotha2.dd: New file.
554 testsuite/ld-or1k/gotha2.s: New file
555 testsuite/ld-or1k/pltlib.s (x): Define size to avoid link
558 2021-05-06 Nick Alcock <nick.alcock@oracle.com>
560 * testsuite/ld-ctf/ctf.exp: Use -gctf, not -gt.
561 * testsuite/lib/ld-lib.exp: Likewise.
562 * testsuite/ld-ctf/nonrepresentable-1.c: New test for nonrepresentable types.
563 * testsuite/ld-ctf/nonrepresentable-2.c: Likewise.
564 * testsuite/ld-ctf/nonrepresentable.d: Likewise.
565 * testsuite/ld-ctf/array.d: Larger type section.
566 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
567 * testsuite/ld-ctf/enums.d: Likewise.
568 * testsuite/ld-ctf/conflicting-enums.d: Don't compare types.
569 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Changed type order.
570 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
571 * testsuite/ld-ctf/slice.d: Adjust for improved slice emission.
573 2021-05-05 H.J. Lu <hongjiu.lu@intel.com>
576 * testsuite/ld-elf/pr27825-1.d: New file.
577 * testsuite/ld-elf/pr27825-1a.s: Likewise.
578 * testsuite/ld-elf/pr27825-1b.s: Likewise.
579 * testsuite/ld-elf/pr27825-2.d: Likewise.
580 * testsuite/ld-elf/pr27825-2a.s: Likewise.
581 * testsuite/ld-elf/pr27825-2b.s: Likewise.
583 2021-05-05 Alan Modra <amodra@gmail.com>
585 * testsuite/ld-powerpc/empty.s: New file.
586 * testsuite/ld-powerpc/undefweak.d,
587 * testsuite/ld-powerpc/undefweak.s: New testcase.
588 * testsuite/ld-powerpc/powerpc.exp: Run it.
590 2021-05-03 Alan Modra <amodra@gmail.com>
592 * testsuite/ld-s390/tlspic_64.rd: Adjust expected output for
593 named section symbols.
595 2021-04-28 Nick Clifton <nickc@redhat.com>
597 * testsuite/ld-elf/anno-sym.s: New test source file.
598 * testsuite/ld-elf/anno-sym.d: New test driver.
599 * testsuite/ld-elf/anno-sym.l: New test error output.
601 2021-04-26 Jan Beulich <jbeulich@suse.com>
603 * testsuite/ld-i386/pcrel16-2.s, testsuite/ld-i386/pcrel16-2.d,
604 testsuite/ld-x86-64/pcrel16-2.d: New.
605 * testsuite/ld-i386/i386.exp: Run new test.
606 * testsuite/ld-x86-64/x86-64.exp: Likewise.
608 2021-04-23 H.J. Lu <hongjiu.lu@intel.com>
611 * testsuite/ld-bootstrap/bootstrap.exp: Create a symbolic link
612 to tmpdir/ldscripts only if it doesn't exist.
614 2021-04-22 Jan Beulich <jbeulich@suse.com>
617 * testsuite/ld-pe/pr26659-weak-undef-sym.d: Relax for Cygwin.
619 2021-04-21 Nick Clifton <nickc@redhat.com>
621 * testsuite/ld-aarch64/variant_pcs-now.d: Adjust expected output
622 to allow for named section symbols.
623 * testsuite/ld-aarch64/variant_pcs-r.d: Likewise.
624 * testsuite/ld-aarch64/variant_pcs-shared.d: Likewise.
625 * testsuite/ld-alpha/tlsbin.rd: Likewise.
626 * testsuite/ld-alpha/tlsbinr.rd: Likewise.
627 * testsuite/ld-alpha/tlspic.rd: Likewise.
628 * testsuite/ld-arm/rodata-merge-map.sym: Likewise.
629 * testsuite/ld-arm/script-type.sym: Likewise.
630 * testsuite/ld-cris/libdso-2.d: Likewise.
631 * testsuite/ld-cris/pr16044.d: Likewise.
632 * testsuite/ld-elf/sec64k.exp: Likewise.
633 * testsuite/ld-ia64/tlsbin.rd: Likewise.
634 * testsuite/ld-ia64/tlspic.rd: Likewise.
635 * testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d: Likewise.
636 * testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d: Likewise.
637 * testsuite/ld-mmix/bspec1.d: Likewise.
638 * testsuite/ld-mmix/bspec2.d: Likewise.
639 * testsuite/ld-mmix/local1.d: Likewise.
640 * testsuite/ld-mmix/local3.d: Likewise.
641 * testsuite/ld-mmix/local5.d: Likewise.
642 * testsuite/ld-mmix/local7.d: Likewise.
643 * testsuite/ld-mmix/undef-3.d: Likewise.
644 * testsuite/ld-powerpc/tlsso.r: Likewise.
645 * testsuite/ld-powerpc/tlsso32.r: Likewise.
646 * testsuite/ld-powerpc/tlstocso.r: Likewise.
647 * testsuite/ld-s390/tlsbin.rd: Likewise.
648 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
649 * testsuite/ld-s390/tlspic.rd: Likewise.
650 * testsuite/ld-s390/tlspic_64.rd: Likewise.
651 * testsuite/ld-sparc/gotop32.rd: Likewise.
652 * testsuite/ld-sparc/gotop64.rd: Likewise.
653 * testsuite/ld-sparc/tlssunbin32.rd: Likewise.
654 * testsuite/ld-sparc/tlssunbin64.rd: Likewise.
655 * testsuite/ld-sparc/tlssunnopic32.rd: Likewise.
656 * testsuite/ld-sparc/tlssunnopic64.rd: Likewise.
657 * testsuite/ld-sparc/tlssunpic32.rd: Likewise.
658 * testsuite/ld-sparc/tlssunpic64.rd: Likewise.
659 * testsuite/ld-tic6x/common.d: Likewise.
660 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
661 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
662 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
663 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
664 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
665 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
666 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
667 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
668 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
669 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
670 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
671 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
672 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
674 2021-04-20 Clément Chigot <clement.chigot@atos.net>
677 * testsuite/ld-powerpc/aix52.exp: Add new test.
678 * testsuite/ld-powerpc/aix-neg-reloc-32.d: New test.
679 * testsuite/ld-powerpc/aix-neg-reloc-64.d: New test.
680 * testsuite/ld-powerpc/aix-neg-reloc.ex: New test.
681 * testsuite/ld-powerpc/aix-neg-reloc.s: New test.
683 2021-04-13 Nick Clifton <nickc@redhat.com>
685 * ld.texi (Options): Add note about the effect of --as-needed on
686 the --rpath and --rpath-link options on Linux based systems.
688 2021-04-13 Alan Modra <amodra@gmail.com>
691 * libdep_plugin.c (str2vec): Don't pass a potentially signed char
694 2021-04-12 Alan Modra <amodra@gmail.com>
696 * configure.ac (--enable-checking): Add support.
697 * config.in: Regenerate.
698 * configure: Regenerate.
700 2021-04-12 Alan Modra <amodra@gmail.com>
702 * emultempl/mipself.em (mips_create_output_section_statements):
703 Pass base type of hash table to is_elf_hash_table.
704 * ldelf.c (ldelf_after_open): Likewise.
706 2021-04-12 Alan Modra <amodra@gmail.com>
709 * ldlang.c (lang_mark_undefineds, undef_start_stop): Test that
710 the symbol hash table is the correct type before accessing
711 elf_link_hash_entry symbols.
712 * plugin.c (is_visible_from_outside): Likewise.
713 * emultempl/armelf.em (ld${EMULATION_NAME}_finish): Likewise.
714 * emultempl/solaris2.em (elf_solaris2_before_allocation): Likewise.
716 2021-04-09 Alan Modra <amodra@gmail.com>
718 * testsuite/ld-powerpc/inlinepcrel-1.d: Update expected output.
719 * testsuite/ld-powerpc/inlinepcrel-2.d: Likewise.
720 * testsuite/ld-powerpc/notoc2.d: Likewise.
721 * testsuite/ld-powerpc/notoc3.d: Likewise.
722 * testsuite/ld-powerpc/pcrelopt.d: Likewise.
723 * testsuite/ld-powerpc/startstop.d: Likewise.
724 * testsuite/ld-powerpc/tlsget.d: Likewise.
725 * testsuite/ld-powerpc/tlsget2.d: Likewise.
726 * testsuite/ld-powerpc/tlsld.d: Likewise.
727 * testsuite/ld-powerpc/weak1.d: Likewise.
728 * testsuite/ld-powerpc/weak1so.d: Likewise.
730 2021-04-06 Jan Beulich <jbeulich@suse.com>
732 * pe-dll.c (generate_reloc): Bail immediately when .reloc is
733 being discarded. Warn when relocated entry is above .reloc.
735 2021-04-05 Alan Modra <amodra@gmail.com>
737 * configure.ac: Move initfini-array arg handling earlier. Don't
738 check for string.h, strings.h, stdlib.h, or locale.h. Do check
739 for inttypes.h, stdint.h, sys/types.h. Don't check for
740 setlocale, free, getev or strstr.
741 (AC_ISC_POSIX): Don't invoke.
742 * sysdep.h: Include string.h and stdlib.h unconditionally. Test
743 HAVE_SYS_TYPE_H and HAVE_SYS_STAT_H. Remove strstr, free and
744 getenv fallback declarations.
745 * ld.h: Don't test HAVE_LOCALE_H.
746 * ldmain.c: Don't test HAVE_SETLOCALE.
747 * config.in: Regenerate.
748 * configure: Regenerate.
750 2021-04-01 Tamar Christina <tamar.christina@arm.com>
753 * testsuite/ld-pe/pe.exp: Add test.
754 * testsuite/ld-pe/pr26659-weak-undef-sym.d: New test.
755 * testsuite/ld-pe/pr26659-weak-undef-sym.s: New test.
757 2021-04-01 Martin Liska <mliska@suse.cz>
759 * ldbuildid.c (strneq): Remove strneq and use startswith.
760 (validate_build_id_style): Likewise.
761 (compute_build_id_size): Likewise.
763 2021-03-31 Alan Modra <amodra@gmail.com>
765 * sysdep.h (POISON_BFD_BOOLEAN): Define.
766 * configure.ac (elf_list_options, elf_shlib_list_options=false),
767 (elf_plt_unwind_list_options=false): Replace FALSE with false,
769 * emulparams/call_nop.sh, * emulparams/cet.sh,
770 * emulparams/dynamic_undefined_weak.sh,
771 * emulparams/elf32b4300.sh, * emulparams/elf32lm32.sh,
772 * emulparams/elf32lr5900.sh, * emulparams/elf32lr5900n32.sh,
773 * emulparams/elf32visium.sh, * emulparams/elf_x86_64.sh,
774 * emulparams/extern_protected_data.sh, * emulparams/plt_unwind.sh,
775 * emulparams/reloc_overflow.sh, * emulparams/static.sh,
776 * emulparams/x86-64-lam.sh, * emultempl/aarch64elf.em,
777 * emultempl/aix.em, * emultempl/alphaelf.em,
778 * emultempl/armcoff.em, * emultempl/armelf.em,
779 * emultempl/avrelf.em, * emultempl/beos.em, * emultempl/bfin.em,
780 * emultempl/cr16elf.em, * emultempl/crxelf.em,
781 * emultempl/cskyelf.em, * emultempl/elf.em, * emultempl/genelf.em,
782 * emultempl/hppaelf.em, * emultempl/linux.em,
783 * emultempl/m68hc1xelf.em, * emultempl/metagelf.em,
784 * emultempl/mipself.em, * emultempl/mmix-elfnmmo.em,
785 * emultempl/mmixelf.em, * emultempl/mmo.em, * emultempl/msp430.em,
786 * emultempl/nios2elf.em, * emultempl/pdp11.em, * emultempl/pe.em,
787 * emultempl/pep.em, * emultempl/ppc32elf.em,
788 * emultempl/ppc64elf.em, * emultempl/rxelf.em,
789 * emultempl/rxlinux.em, * emultempl/scoreelf.em,
790 * emultempl/solaris2.em, * emultempl/spuelf.em,
791 * emultempl/ticoff.em, * emultempl/v850elf.em, * emultempl/vms.em,
792 * emultempl/xtensaelf.em, * emultempl/z80.em, * ld.h,
793 * ldbuildid.c, * ldbuildid.h, * ldcref.c, * ldctor.c, * ldctor.h,
794 * ldelf.c, * ldelf.h, * ldelfgen.c, * ldelfgen.h, * ldemul.c,
795 * ldemul.h, * ldexp.c, * ldexp.h, * ldfile.c, * ldfile.h,
796 * ldgram.y, * ldlang.c, * ldlang.h, * ldmain.c, * ldmain.h,
797 * ldmisc.c, * ldmisc.h, * ldwrite.c, * lexsup.c, * mri.c,
798 * pe-dll.c, * pe-dll.h, * pep-dll.h, * plugin.c, * plugin.h,
799 * testplug.c, * testplug2.c, * testplug3.c, * testplug4.c: Replace
800 bfd_boolean with bool, FALSE with false, and TRUE with true.
801 * configure: Regenerate.
803 2021-03-31 Alan Modra <amodra@gmail.com>
805 * elf-hints-local.h: Include stdint.h in place of bfd_stdint.h.
806 * emultempl/nds32elf.em: Likewise.
807 * testsuite/ld-elf/mbind2b.c: Likewise.
808 * testsuite/ld-elf/pr18718.c: Likewise.
809 * testsuite/ld-elf/pr18720a.c: Likewise.
810 * testsuite/ld-elf/pr25749-1.c: Likewise.
811 * testsuite/ld-elf/pr25749-1a.c: Likewise.
812 * testsuite/ld-elf/pr25749-1b.c: Likewise.
813 * testsuite/ld-elf/pr25749-1c.c: Likewise.
814 * testsuite/ld-elf/pr25749-1d.c: Likewise.
815 * testsuite/ld-elf/pr25749-2.c: Likewise.
816 * testsuite/ld-elf/pr25754-1a.c: Likewise.
817 * testsuite/ld-elf/pr25754-2a.c: Likewise.
818 * testsuite/ld-elf/pr25754-3a.c: Likewise.
819 * testsuite/ld-elf/pr25754-4a.c: Likewise.
820 * testsuite/ld-elf/pr25754-5a.c: Likewise.
821 * testsuite/ld-elf/pr25754-6a.c: Likewise.
823 2021-03-29 Alan Modra <amodra@gmail.com>
825 * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Simplify
827 * lexsup.c (parse_args): Likewise.
828 * pe-dll.c (pe_dll_id_target): Likewise.
830 2021-03-25 Nick Alcock <nick.alcock@oracle.com>
832 * testsuite/ld-ctf/array.d: Only check that the data object
833 section is nonempty: do not check its exact size.
834 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
835 * testsuite/ld-ctf/slice.d: Likewise.
836 * testsuite/ld-ctf/data-func-conflicted.d: Likewise, and for the
837 func info section too.
838 * testsuite/ld-ctf/function.d: Likewise, for the func info section.
840 2021-03-22 Martin Liska <mliska@suse.cz>
842 * emultempl/aix.em: Replace usage of CONST_STRNEQ with startswith.
843 * emultempl/beos.em: Likewise.
844 * emultempl/elf.em: Likewise.
845 * emultempl/pe.em: Likewise.
846 * emultempl/pep.em: Likewise.
847 * emultempl/xtensaelf.em: Likewise.
848 * ldctor.c (ctor_prio): Likewise.
849 * ldelf.c (ldelf_try_needed): Likewise.
850 (ldelf_parse_ld_so_conf): Likewise.
851 (ldelf_after_open): Likewise.
852 (output_rel_find): Likewise.
853 (ldelf_place_orphan): Likewise.
854 * ldfile.c (ldfile_add_library_path): Likewise.
855 * ldlang.c (lang_add_input_file): Likewise.
856 * ldmain.c (get_sysroot): Likewise.
857 (get_emulation): Likewise.
858 (add_archive_element): Likewise.
859 * ldwrite.c (unsplittable_name): Likewise.
860 (clone_section): Likewise.
861 * lexsup.c (parse_args): Likewise.
862 * pe-dll.c (is_import): Likewise.
863 (pe_implied_import_dll): Likewise.
865 2021-03-19 H.J. Lu <hongjiu.lu@intel.com>
868 * testsuite/ld-x86-64/pr27590.rd: New file.
869 * testsuite/ld-x86-64/pr27590a.obj.bz2: Likewise.
870 * testsuite/ld-x86-64/pr27590b.obj.bz2: Likewise.
871 * testsuite/ld-x86-64/x86-64.exp: Run ld/27590 test.
873 2021-03-20 Alan Modra <amodra@gmail.com>
876 * ldlang.c (lang_gc_sections): Clear SEC_EXCLUDE when relocatable
877 for all sections except .stabstr.
879 2021-03-19 Alan Modra <amodra@gmail.com>
882 * testsuite/ld-elf/pr27590a.d: Match relocs using label, and
884 * testsuite/ld-elf/pr27590b.d: Likewise.
886 2021-03-18 H.J. Lu <hongjiu.lu@intel.com>
889 * testsuite/ld-elf/pr27590.s: New file.
890 * testsuite/ld-elf/pr27590a.d: Likewise.
891 * testsuite/ld-elf/pr27590b.d: Likewise.
892 * testsuite/ld-i386/i386.exp: Also run ld/27193 test with
893 --reduce-memory-overheads.
895 2021-03-18 H.J. Lu <hongjiu.lu@intel.com>
898 * testsuite/ld-x86-64/pr27587.err: New file.
899 * testsuite/ld-x86-64/pr27587a.obj.bz2: Likewise.
900 * testsuite/ld-x86-64/pr27587b.obj.bz2: Likewise.
901 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/27587 test.
903 2021-03-18 Nick Alcock <nick.alcock@oracle.com>
905 * testsuite/ld-ctf/slice.c: Check slices of enums too.
906 * testsuite/ld-ctf/slice.d: Results adjusted.
908 2021-03-16 Nick Clifton <nickc@redhat.com>
910 * pe-dll.c (pe_find_cdecl_alias_match): Use memmove to overwrite
913 2021-03-15 Jan Beulich <jbeulich@suse.com>
915 * pe-dll.c (generate_reloc): Drop padding to reloc_s->size.
917 2021-03-12 Alan Modra <amodra@gmail.com>
919 * Makefile.am (ALL_EMULATION_SOURCES): Move riscv files to..
920 (ALL_64_EMULATION_SOURCES): ..here.
921 * Makefile.in: Regenerate.
923 2021-03-12 Clément Chigot <clement.chigot@atos.net>
925 * emultempl/aix.em: Ensure .tdata section is removed
926 if empty, even with -r flag.
927 * scripttempl/aix.sc: Handle TLS sections.
928 * testsuite/ld-powerpc/aix52.exp: Add new tests.
929 * testsuite/ld-powerpc/aix-tls-reloc-32.d: New test.
930 * testsuite/ld-powerpc/aix-tls-reloc-64.d: New test.
931 * testsuite/ld-powerpc/aix-tls-reloc.ex: New test.
932 * testsuite/ld-powerpc/aix-tls-reloc.s: New test.
933 * testsuite/ld-powerpc/aix-tls-section-32.d: New test.
934 * testsuite/ld-powerpc/aix-tls-section-64.d: New test.
935 * testsuite/ld-powerpc/aix-tls-section.ex: New test.
936 * testsuite/ld-powerpc/aix-tls-section.s: New test.
938 2021-03-12 Clément Chigot <clement.chigot@atos.net>
940 * scripttempl/aix.sc: Add .te to .data section.
941 * testsuite/ld-powerpc/aix52.exp: Add test structure for AIX7+.
942 Add aix-largetoc-1 test.
943 * testsuite/ld-powerpc/aix-largetoc-1-32.d: New test.
944 * testsuite/ld-powerpc/aix-largetoc-1-64.d: New test.
945 * testsuite/ld-powerpc/aix-largetoc-1.ex: New test.
946 * testsuite/ld-powerpc/aix-largetoc-1.s: New test.
948 2021-03-12 Alan Modra <amodra@gmail.com>
950 * testsuite/ld-gc/gc.exp: Pass "-image-base 0" to ld for PE, and
951 arrange to define __main for some run_dump_test tests.
952 * testsuite/ld-gc/pr13683.d: Accept more symbols.
953 * testsuite/ld-gc/pr14265.d: Likewise, and ordering.
954 * testsuite/ld-scripts/crossref.exp: Pass "-image-base 0" to ld for PE.
955 * testsuite/ld-srec/srec.exp: Likewise.
956 * testsuite/lib/ld-lib.exp (ld_link_defsyms): Use is_pecoff_format.
958 2021-03-11 Nelson Chu <nelson.chu@sifive.com>
960 * emultempl/riscvelf.em (after_allocation): Run ldelf_map_segments
961 many times if riscv_restart_relax_sections returns TRUE.
962 * testsuite/ld-riscv-elf/restart-relax.d: New testcase. Before
963 applying this patch, the call won't be relaxed to jal; But now we
964 have more chances to do relaxations.
965 * testsuite/ld-riscv-elf/restart-relax.s: Likewise.
966 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
968 2021-03-10 Jan Beulich <jbeulich@suse.com>
970 * testsuite/ld-scripts/pr22267.t: Avoid symbol value with more
972 * testsuite/ld-scripts/pr22267.d: Adjust expectation and drop
974 * scripttempl/mcorepe.sc: Use PROVIDE() for _stack.
976 2021-03-09 Jan Beulich <jbeulich@suse.com>
978 * testsuite/ld-pe/reloc.s: Add entry point symbols. Increase
980 * testsuite/ld-pe/reloc.d: xfail for mcore.
982 2021-03-09 Jan Beulich <jbeulich@suse.com>
984 * testsuite/ld-scripts/alignof.exp,
985 testsuite/ld-scripts/data.exp,
986 testsuite/ld-scripts/default-script.exp,
987 testsuite/ld-scripts/log2.exp,
988 testsuite/ld-scripts/print-memory-usage.exp,
989 testsuite/ld-scripts/sizeof.exp,
990 testsuite/ld-undefined/weak-undef.exp: Set image base to zero
992 * testsuite/ld-scripts/default-script1.d,
993 testsuite/ld-scripts/default-script2.d,
994 testsuite/ld-scripts/default-script3.d,
995 testsuite/ld-scripts/default-script4.d: Drop xfail and comment.
997 2021-03-05 H.J. Lu <hongjiu.lu@intel.com>
1001 * ldelf.c (ldelf_set_output_arch): New function.
1002 * ldelf.h (ldelf_set_output_arch): New prototype.
1003 * emultempl/elf.em (LDEMUL_SET_OUTPUT_ARCH): Default to
1004 ldelf_set_output_arch.
1005 * ld-x86-64/pe-x86-64-1.od: Expect __executable_start.
1006 * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise.
1007 * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise.
1008 * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise.
1009 * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise.
1010 * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise.
1011 * testsuite/ld-x86-64/pe-x86-64-6.obj.bz2: New file.
1012 * testsuite/ld-x86-64/pe-x86-64-6.od: Likewise.
1013 * testsuite/ld-x86-64/pe-x86-64.exp: Run ld/27425 test.
1015 2021-03-04 Jan Beulich <jbeulich@suse.com>
1017 * testsuite/ld-scripts/map-address.exp: Set image base to zero
1019 * testsuite/ld-scripts/map-address.t: Place .text.
1021 2021-03-04 Jan Beulich <jbeulich@suse.com>
1023 * ldexp.c (ldexp_is_final_sym_absolute): New.
1024 * ldexp.h (ldexp_is_final_sym_absolute): Declare.
1025 * pe-dll.c (generate_reloc): Skip absolute symbols.
1026 * testsuite/ld-pe/reloc.s, testsuite/ld-pe/reloc.d: New.
1027 * testsuite/ld-pe/pe.exp: Run new test.
1029 2021-03-03 Alan Modra <amodra@gmail.com>
1032 * ldlang.c (insert_undefined): Don't mark symbols here.
1033 (lang_mark_undefineds): Do so here instead, new function.
1034 (lang_process): Call lang_mark_undefineds.
1035 * testsuite/ld-gc/start3.d,
1036 * testsuite/ld-gc/start3.s: New test.
1037 * testsuite/ld-gc/start4.d,
1038 * testsuite/ld-gc/start4.s: New test.
1039 * testsuite/ld-gc/gc.exp: Run them.
1041 2021-03-03 Alan Modra <amodra@gmail.com>
1043 * testsuite/ld-gc/gc.exp: Define UNDERSCORE in ASFLAGS.
1044 Move tests with ELF section directives to is_elf_format block.
1045 * testsuite/ld-gc/abi-note.d: Run on more targets.
1046 * testsuite/ld-gc/pr19167.d: Likewise and adjust xfails.
1047 * testsuite/ld-gc/start.d: Likewise.
1048 * testsuite/ld-gc/start2.d: Likewise.
1049 * testsuite/ld-gc/stop.d: Likewise.
1050 * testsuite/ld-gc/pr19167a.s: Add support for underscore targets.
1051 * testsuite/ld-gc/start.s: Likewise.
1052 * testsuite/ld-gc/start2.s: Likewise.
1054 2021-03-02 Nick Alcock <nick.alcock@oracle.com>
1056 * ldelfgen.c (ldelf_ctf_strtab_iter_cb): Skip zero-refcount strings.
1058 2021-03-02 Alan Modra <amodra@gmail.com>
1060 * testsuite/ld-powerpc/startstop.d,
1061 * testsuite/ld-powerpc/startstop.r,
1062 * testsuite/ld-powerpc/startstop.s: New test.
1063 * testsuite/ld-powerpc/powerpc.exp: Run it.
1065 2021-03-02 Alan Modra <amodra@gmail.com>
1067 * testsuite/ld-powerpc/weak1.d,
1068 * testsuite/ld-powerpc/weak1.r,
1069 * testsuite/ld-powerpc/weak1.s,
1070 * testsuite/ld-powerpc/weak1so.d,
1071 * testsuite/ld-powerpc/weak1so.r: New tests.
1072 * testsuite/ld-powerpc/powerpc.exp: Run them.
1074 2021-03-01 Hannes Domani <ssbssa@sourceware.org>
1075 Nick Clifton <nickc@redhat.com>
1078 * scripttempl/pe.sc: Add DWARF-5 section names.
1079 * scripttempl/pep.sc: Likewise.
1081 2021-03-01 Alan Modra <amodra@gmail.com>
1082 Fangrui Song <maskray@google.com>
1084 * emultempl/elf.em: Handle -z start-stop-gc and -z nostart-stop-gc.
1085 * lexsup.c (elf_static_list_options): Display help for them. Move
1086 help for -z stack-size to here from elf_shlib_list_options. Add
1087 help for -z start-stop-visibility and -z undefs.
1088 * ld.texi: Document -z start-stop-gc and -z nostart-stop-gc.
1089 * NEWS: Mention -z start-stop-gc.
1090 * testsuite/ld-gc/start2.s,
1091 * testsuite/ld-gc/start2.d: New test.
1092 * testsuite/ld-gc/gc.exp: Run it.
1094 2021-03-01 Alan Modra <amodra@gmail.com>
1096 * ldlang.c (undef_start_stop): For ELF make undefined start/stop
1097 symbols undefweak if that was how they were referenced. Undo
1100 2021-03-01 Alan Modra <amodra@gmail.com>
1102 * testsuite/ld-elf/pr25708.d: Add --with-symbol-versions to nm.
1103 * testsuite/ld-elf/pr27128a.d: Likewise.
1104 * testsuite/ld-elf/pr27128b.d: Likewise.
1105 * testsuite/ld-elf/pr27128c.d: Likewise.
1106 * testsuite/ld-elf/pr27128d.d: Likewise.
1107 * testsuite/ld-elf/pr27128e.d: Likewise.
1109 2021-02-26 Alan Modra <amodra@gmail.com>
1112 * testsuite/ld-plugin/pr27441a.c,
1113 * testsuite/ld-plugin/pr27441b.c,
1114 * testsuite/ld-plugin/pr27441c.c,
1115 * testsuite/ld-plugin/pr27441c.d: New test.
1116 * testsuite/ld-plugin/lto.exp: Run it.
1118 2021-02-25 Jan Beulich <jbeulich@suse.com>
1120 * ld.texi (PROVIDE): Downgrade "error" to "diagnostic".
1122 2021-02-21 Alan Modra <amodra@gmail.com>
1124 * ldexp.c (exp_fold_tree_1): Warn on script defining a symbol
1125 defined in an object file.
1126 * ldmain.c (multiple_definition): Heed info->warn_multiple_definition.
1127 * testsuite/ld-scripts/defined5.d: Expect a warning.
1129 2021-02-19 Alan Modra <amodra@gmail.com>
1131 * testsuite/lib/ld-lib.exp: Whitespace.
1132 (load_common_lib): Expand single use and delete this proc.
1133 (run_host_cmd): Use -fno-lto when getting gcc's ld version.
1134 Use -B for clang too.
1136 2021-02-18 Andrew Burgess <andrew.burgess@embecosm.com>
1138 * testplugin.c (record_read_length): Remove debug fprintf.
1140 2021-02-14 Alan Modra <amodra@gmail.com>
1142 * testsuite/ld-cdtest/cdtest.exp,
1143 * testsuite/ld-checks/checks.exp,
1144 * testsuite/ld-elf/binutils.exp,
1145 * testsuite/ld-elf/compress.exp,
1146 * testsuite/ld-elf/dwarf.exp,
1147 * testsuite/ld-elf/exclude.exp,
1148 * testsuite/ld-elf/frame.exp,
1149 * testsuite/ld-elf/indirect.exp,
1150 * testsuite/ld-elf/linux-x86.exp,
1151 * testsuite/ld-elf/sec-to-seg.exp,
1152 * testsuite/ld-elf/tls_common.exp,
1153 * testsuite/ld-elfcomm/elfcomm.exp,
1154 * testsuite/ld-elfvers/vers.exp,
1155 * testsuite/ld-elfvsb/elfvsb.exp,
1156 * testsuite/ld-elfweak/elfweak.exp,
1157 * testsuite/ld-ifunc/binutils.exp,
1158 * testsuite/ld-mips-elf/mips-elf-flags.exp,
1159 * testsuite/ld-misc/defsym.exp,
1160 * testsuite/ld-mn10300/mn10300.exp,
1161 * testsuite/ld-plugin/lto.exp,
1162 * testsuite/ld-plugin/plugin.exp,
1163 * testsuite/ld-scripts/align.exp,
1164 * testsuite/ld-scripts/assert.exp,
1165 * testsuite/ld-scripts/crossref.exp,
1166 * testsuite/ld-scripts/defined.exp,
1167 * testsuite/ld-scripts/extern.exp,
1168 * testsuite/ld-scripts/log2.exp,
1169 * testsuite/ld-scripts/map-address.exp,
1170 * testsuite/ld-scripts/phdrs.exp,
1171 * testsuite/ld-scripts/phdrs2.exp,
1172 * testsuite/ld-scripts/script.exp,
1173 * testsuite/ld-scripts/section-flags.exp,
1174 * testsuite/ld-scripts/sizeof.exp,
1175 * testsuite/ld-scripts/weak.exp,
1176 * testsuite/ld-selective/selective.exp,
1177 * testsuite/ld-sh/sh.exp,
1178 * testsuite/ld-shared/shared.exp,
1179 * testsuite/ld-srec/srec.exp,
1180 * testsuite/ld-tic6x/tic6x.exp,
1181 * testsuite/ld-undefined/undefined.exp,
1182 * testsuite/ld-undefined/weak-undef.exp,
1183 * testsuite/lib/ld-lib.exp: Don't use unresolved except after
1184 perror. Instead report "unsupported" or "fail".
1186 2021-02-12 Nick Clifton <nickc@redhat.com>
1188 * testsuite/ld-elf/sec64k.exp: Stop readelf from automatically
1189 following debug links.
1191 2021-02-11 Alan Modra <amodra@gmail.com>
1193 * NEWS: Mention arm-symbianelf removal.
1195 2021-02-09 Alan Modra <amodra@gmail.com>
1197 * Makefile.am (ALL_EMULATION_SOURCES): Remove earmsymbian.c.
1198 Don't include symbian dep file.
1199 * configure.tgt: Remove arm*-*-symbianelf* entry.
1200 * emulparams/armsymbian.sh: Delete.
1201 * ld.texi: Don't mention symbian.
1202 * scripttempl/armbpabi.sc: Delete.
1203 * testsuite/ld-arm/symbian-seg1.d: Delete.
1204 * testsuite/ld-arm/symbian-seg1.s: Delete.
1205 * testsuite/ld-arm/arm-elf.exp: Don't run symbian-seg1.
1206 * Makefile.in: Regenerate.
1207 * po/BLD-POTFILES.in: Regenerate.
1209 2021-02-07 H.J. Lu <hongjiu.lu@intel.com>
1212 * testsuite/ld-i386/i386.exp: Remove property 3/4/5 run-time
1214 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1216 2021-01-26 Nick Alcock <nick.alcock@oracle.com>
1218 * ldlang.c (lang_merge_ctf): Set CTF_LINK_NO_FILTER_REPORTED_SYMS
1221 2021-02-04 H.J. Lu <hongjiu.lu@intel.com>
1224 * testsuite/ld-x86-64/pr19609-2a.d: Updated.
1225 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
1226 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
1227 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
1228 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
1229 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
1230 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
1232 2021-02-04 H.J. Lu <hongjiu.lu@intel.com>
1235 * testsuite/ld-plugin/lto.exp: Run PR ld/15146 tests.
1236 * testsuite/ld-plugin/pr15146.d: Restored.
1237 * testsuite/ld-plugin/pr15146a.c: Likewise.
1238 * testsuite/ld-plugin/pr15146b.c: Likewise.
1239 * testsuite/ld-plugin/pr15146c.c: Likewise.
1240 * testsuite/ld-plugin/pr15146d.c: Likewise.
1242 2021-02-04 Alan Modra <amodra@gmail.com>
1244 * testsuite/ld-plugin/pr27311d.c: New test.
1245 * testsuite/ld-plugin/lto.exp: Rename pr27311 to pr27311-1, compile
1246 and link new test as pr27311-2.
1248 2021-02-03 Alan Modra <amodra@gmail.com>
1250 * testsuite/ld-ifunc/ifunc.exp (libpr16467b.so, libpr16467bn.so):
1251 Link with --as-needed.
1253 2021-02-02 Alan Modra <amodra@gmail.com>
1255 * testsuite/ld-plugin/pr27311.d,
1256 * testsuite/ld-plugin/pr27311.ver,
1257 * testsuite/ld-plugin/pr27311a.c,
1258 * testsuite/ld-plugin/pr27311b.c,
1259 * testsuite/ld-plugin/pr27311c.c: New testcase.
1260 * testsuite/ld-plugin/lto.exp: Run it. Correct PR14918 and
1263 2021-02-01 Emery Hemingway <ehmry@posteo.net>
1265 * configure.tgt: Add *-*-genode* as a target for AArch64 and x86.
1267 2021-02-01 Alan Modra <amodra@gmail.com>
1269 * ldgram.y (defsym_expr): Use assignment rule.
1270 * ldlex.h (ldlex_defsym): Delete.
1271 * ldlex.l (DEFSYMEXP, ldlex_defsym): Delete.
1273 2021-02-01 Alan Modra <amodra@gmail.com>
1275 * ldgram.y (section): Call ldlex_backup. Remove empty action.
1276 * ldlex.h (ldlex_backup): Declare.
1277 * ldlex.l (<EXPRESSION>NAME): Don't use NOCFILENAMECHAR set of
1278 chars, use SYMBOLNAMECHAR.
1279 (ldlex_backup): New function.
1281 2021-02-01 Alan Modra <amodra@gmail.com>
1283 * ldgram.y: Whitespace fixes.
1285 2021-02-01 Alan Modra <amodra@gmail.com>
1287 * testsuite/ld-elf/pr27259.d: Correct sh_link match.
1289 2021-01-29 Alan Modra <amodra@gmail.com>
1291 * testsuite/ld-tic6x/tic6x.exp: Add pr27271 test.
1293 2021-01-28 H.J. Lu <hongjiu.lu@intel.com>
1296 * testsuite/ld-elf/pr27259.d: New file.
1297 * testsuite/ld-elf/pr27259.s: Likewise.
1299 2021-01-28 Alan Modra <amodra@gmail.com>
1302 * ldelf.c (ldelf_before_place_orphans): Use linker_mark to
1303 prevent endless looping of linked-to sections.
1305 2021-01-26 H.J. Lu <hongjiu.lu@intel.com>
1307 * testsuite/ld-x86-64/bnd-plt-1.d: Fix a typo.
1309 2021-01-26 Alan Modra <amodra@gmail.com>
1312 * emulparams/alphavms.sh: Don't set COMPILE_IN.
1313 * emulparams/elf64_ia64_vms.sh: Likewise.
1314 * emulparams/elf64mmix.sh: Likewise.
1315 * emulparams/elf_iamcu.sh: Likewise.
1316 * emulparams/elf_k1om.sh: Likewise.
1317 * emulparams/elf_l1om.sh: Likewise.
1318 * emulparams/mmo.sh: Likewise.
1319 * emulparams/pdp11.sh: Set DATA_SEG_ADDR.
1320 * scripttempl/pdp11.sc: Use it.
1321 * emultempl/pdp11.em: Don't edit .xn script for separate_code,
1322 instead use .xe script. Support scripts from file system.
1323 * emultempl/beos.em: Support scripts from file system.
1324 * emultempl/pe.em: Likewise.
1325 * emultempl/pep.em: Likewise.
1326 * testsuite/ld-bootstrap/bootstrap.exp: Make tmpdir/ldscripts link.
1328 2021-01-25 Fangrui Song <maskray@google.com>
1331 * scripttempl/DWARF.sc: Add .debug_* sections.
1333 2021-01-25 Nick Clifton <nickc@redhat.com>
1335 * scripttempl/DWARF.sc: Add .debug_loclists, .debug_rnglists,
1336 .debug_line_str and .debug_str_offsets. Move .debug_macro and
1337 .debug_addr into DWARF-5 section.
1339 2021-01-21 Alan Modra <amodra@gmail.com>
1341 * testsuite/ld-elf/pr26936.d: No longer xfail mips.
1343 2021-01-20 Alan Modra <amodra@gmail.com>
1345 * testsuite/ld-powerpc/relbrlt.s: Make symbols global.
1346 * testsuite/ld-powerpc/relbrlt.d: Adjust to suit.
1347 * testsuite/ld-powerpc/tlsget.d: Adjust for reordered stubs.
1348 * testsuite/ld-powerpc/tlsget.wf: Likewise.
1349 * testsuite/ld-powerpc/tlsget2.d: Likewise.
1350 * testsuite/ld-powerpc/tlsget2.wf: Likewise.
1351 * testsuite/ld-powerpc/tlsexe.r: Adjust for removed section syms.
1352 * testsuite/ld-powerpc/tlsexe32.r: Likewise.
1353 * testsuite/ld-powerpc/tlsexe32no.r: Likewise.
1354 * testsuite/ld-powerpc/tlsexeno.r: Likewise.
1355 * testsuite/ld-powerpc/tlsexenors.r: Likewise.
1356 * testsuite/ld-powerpc/tlsexers.r: Likewise.
1357 * testsuite/ld-powerpc/tlsexetoc.r: Likewise.
1358 * testsuite/ld-powerpc/tlsexetocrs.r: Likewise.
1359 * testsuite/ld-powerpc/tlsso.r: Likewise.
1360 * testsuite/ld-powerpc/tlsso32.r: Likewise.
1361 * testsuite/ld-powerpc/tlstocso.r: Likewise.
1363 2021-01-19 Nick Alcock <nick.alcock@oracle.com>
1365 * testsuite/ld-ctf/data-func-2.c: Stop removal of the extern foo_t
1366 symbols by the optimizer.
1367 * testsuite/ld-ctf/data-func-conflicted.d: Adjust accordingly.
1369 2021-01-19 Nelson Chu <nelson.chu@sifive.com>
1371 * testsuite/ld-elf/elf.exp (riscv_little_endian): Added. Return true
1372 if target is riscv little endian. Otherwise, return false.
1373 * testsuite/ld-elf/compressed1d.d: Only xfail the riscv little endian
1374 targets by [riscv_little_endian].
1376 2021-01-18 Alan Modra <amodra@gmail.com>
1379 * ldlang.c (map_input_to_output_sections): Start with a read-only
1380 section for data statements.
1381 * testsuite/ld-elf/size-2.d: Adjust to suit.
1383 2021-01-17 H.J. Lu <hongjiu.lu@intel.com>
1386 * testsuite/ld-i386/i386.exp: Run PR ld/27193 test.
1387 * testsuite/ld-i386/pr27193.dd: New file.
1388 * testsuite/ld-i386/pr27193a.o.bz2: Likewise.
1389 * testsuite/ld-i386/pr27193b.s: Likewise.
1391 2021-01-16 H.J. Lu <hongjiu.lu@intel.com>
1394 * testsuite/ld-plugin/lto.exp: Increase the max number of open
1395 files to 20 for PR binutils/23460 test.
1397 2021-01-16 H.J. Lu <hongjiu.lu@intel.com>
1400 * testsuite/ld-ifunc/ifunc.exp: Replace pr23169c.rd with
1401 pr23169a.rd for pr23169c and pr23169f. Remove pr23169e tests.
1402 * testsuite/ld-ifunc/pr23169a.c (foo): Don't compare function
1405 2021-01-15 H.J. Lu <hongjiu.lu@intel.com>
1407 * NEWS: Mention -z report-relative-reloc.
1408 * ld.texi: Document -z report-relative-reloc.
1409 * emulparams/elf32_x86_64.sh: Source x86-report-relative.sh.
1410 * emulparams/elf_i386.sh: Likewse.
1411 * emulparams/elf_x86_64.sh: Likewse.
1412 * emulparams/x86-report-relative.sh: New file.
1413 * testsuite/ld-i386/report-reloc-1.d: Likewse.
1414 * testsuite/ld-i386/report-reloc-1.l: Likewse.
1415 * testsuite/ld-i386/report-reloc-1.s: Likewse.
1416 * testsuite/ld-x86-64/report-reloc-1-x32.d: Likewse.
1417 * testsuite/ld-x86-64/report-reloc-1.d: Likewse.
1418 * testsuite/ld-x86-64/report-reloc-1.l: Likewse.
1419 * testsuite/ld-x86-64/report-reloc-1.s: Likewse.
1420 * testsuite/ld-i386/i386.exp: Run report-reloc-1.
1421 * testsuite/ld-x86-64/x86-64.exp: Run report-reloc-1 and
1424 2021-01-16 Alan Modra <amodra@gmail.com>
1427 * testsuite/ld-elfvers/vers6.dsym: Expect "Base" for undefined
1428 unversioned symbols.
1429 * testsuite/ld-elfvers/vers16.dsym: Likewise.
1431 2021-01-15 Nelson Chu <nelson.chu@sifive.com>
1433 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-01.d: Updated.
1434 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-02.d: Likewise.
1435 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-03.d: Likewise.
1436 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-04.d: Likewise.
1437 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-05.d: Likewise.
1438 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-06.d: Likewise.
1440 2021-01-14 Nick Clifton <nickc@redhat.com>
1442 * po/fr.po: Updated French translation.
1444 2021-01-14 Mike Frysinger <vapier@gentoo.org>
1446 * testsuite/config/default.exp [bfin*-elf*] (gcc_B_opt): Add -msim.
1448 2021-01-14 Alan Modra <amodra@gmail.com>
1451 * ldelfgen.c (compare_link_order): Protect access of ELF section
1453 (add_link_order_input_section): Remove redundant NULL check.
1454 Use bfd_get_flavour.
1455 (ldelf_map_segments): Use bfd_get_flavour.
1457 2021-01-13 H.J. Lu <hongjiu.lu@intel.com>
1459 * ldelfgen.c (add_link_order_input_section): Check for ELF input
1460 before accessing ELF section data.
1462 2021-01-13 Alan Modra <amodra@gmail.com>
1464 * Makefile.in: Regenerate.
1466 2021-01-13 Alan Modra <amodra@gmail.com>
1469 * ldlang.h (lang_output_section_statement_type): Add data field.
1470 (lang_input_section_type, lang_section_bst_type): Add pattern field.
1471 (statement_list): Declare.
1472 (lang_add_section): Adjust prototype.
1473 * emultempl/aarch64elf.em: Adjust lang_add_section calls.
1474 * emultempl/armelf.em: Likewise.
1475 * emultempl/beos.em: Likewise.
1476 * emultempl/cskyelf.em: Likewise.
1477 * emultempl/hppaelf.em: Likewise.
1478 * emultempl/m68hc1xelf.em: Likewise.
1479 * emultempl/metagelf.em: Likewise.
1480 * emultempl/mipself.em: Likewise.
1481 * emultempl/mmo.em: Likewise.
1482 * emultempl/msp430.em: Likewise.
1483 * emultempl/nios2elf.em: Likewise.
1484 * emultempl/pe.em: Likewise.
1485 * emultempl/pep.em: Likewise.
1486 * emultempl/ppc64elf.em: Likewise.
1487 * emultempl/spuelf.em: Likewise.
1488 * emultempl/vms.em: Likewise.
1489 * ldelf.c: Likewise.
1490 * ldelfgen.c: Include ldctor.h.
1491 (struct os_sections): New.
1492 (add_link_order_input_section, link_order_scan): New functions.
1493 (compare_link_order, fixup_link_order): New functions.
1494 (ldelf_map_segments): Call link_order_scan and fixup_link_order.
1495 * ldlang.c (statement_list): Make global.
1496 (output_section_callback_fast): Save pattern in tree node.
1497 (lang_add_section): Add pattern parameter, save in lang_input_section.
1498 (output_section_callback_tree_to_list): Adjust lang_add_section calls.
1499 (lang_insert_orphan, output_section_callback): Likewise.
1500 (ldlang_place_orphan): Likewise.
1501 (gc_section_callback): Don't set section->pattern.
1502 * testsuite/ld-elf/pr26256-2a.d: Don't xfail generic.
1503 * testsuite/ld-elf/pr26256-3b.d: Likewise.
1504 * testsuite/ld-elf/pr26256-2b.d: Likewise. notarget xgate.
1506 2021-01-13 Alan Modra <amodra@gmail.com>
1508 * ldlang.h (callback_t): Remove flag_info function parameter.
1509 * ldlang.c (walk_wild_consider_section): Adjust to suit.
1510 (walk_wild_section_general): Likewise.
1511 (output_section_callback_fast, output_section_callback): Likewise.
1512 (check_section_callback, gc_section_callback): Likewise.
1513 (find_relro_section_callback): Likewise.
1515 2021-01-12 H.J. Lu <hongjiu.lu@intel.com>
1518 * configure.ac: Use GNU_MAKE_JOBSERVER.
1519 * aclocal.m4: Regenerated.
1520 * configure: Likewise.
1522 2021-01-12 H.J. Lu <hongjiu.lu@intel.com>
1525 * testsuite/ld-x86-64/pe-x86-64-5.obj.bz2: New file.
1526 * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise.
1527 * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise.
1528 * testsuite/ld-x86-64/pe-x86-64.exp: Run PR ld/27171 test.
1530 2021-01-11 H.J. Lu <hongjiu.lu@intel.com>
1533 * configure: Regenerated.
1535 2021-01-11 Matt Jenkins <matt@majenko.co.uk>
1538 * ldmain.c (get_emulation): Add mipsmips32r3, mips32r5, mips64r3
1539 and mips64r5 to list of known mips targets.
1541 2021-01-11 Nick Clifton <nickc@redhat.com>matt@majenko.co.uk
1543 * po/pt_BR.po: Updated Brazilian Portuguese translation.
1544 ` * po/uk.po: Updated Ukranian translation.
1546 2021-01-09 H.J. Lu <hongjiu.lu@intel.com>
1548 * configure: Regenerated.
1550 2021-01-09 H.J. Lu <hongjiu.lu@intel.com>
1553 * testsuite/ld-x86-64/lam-u48.rd: New file.
1554 * testsuite/ld-x86-64/lam-u57.rd: Likewise.
1555 * testsuite/ld-x86-64/x86-64.exp: Add PR ld/27166 tests.
1557 2021-01-09 Nick Clifton <nickc@redhat.com>
1559 * configure: Regenerate.
1560 * po/ld.pot: Regenerate.
1562 2021-01-09 Nick Clifton <nickc@redhat.com>
1564 * 2.36 release branch crated.
1566 2021-01-08 H.J. Lu <hongjiu.lu@intel.com>
1568 * ld-x86-64/property-x86-lam-u48-4.d: Updated.
1569 * ld-x86-64/property-x86-lam-u48-5.d: Likewise.
1571 2021-01-09 Alan Modra <amodra@gmail.com>
1573 * configure: Regenerate.
1574 * Makefile.in: Regenerate.
1576 2021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
1578 * configure: Regenerate.
1580 2021-01-07 H.J. Lu <hongjiu.lu@intel.com>
1583 * testsuite/ld-elf/export-class.sd: Adjust the expected output.
1584 * testsuite/ld-elf/loadaddr3b.d: Likewise.
1585 * testsuite/ld-i386/ibt-plt-1.d: Likewise.
1586 * testsuite/ld-i386/ibt-plt-2a.d: Likewise.
1587 * testsuite/ld-i386/ibt-plt-2c.d: Likewise.
1588 * testsuite/ld-i386/ibt-plt-3a.d: Likewise.
1589 * testsuite/ld-i386/ibt-plt-3c.d: Likewise.
1590 * testsuite/ld-i386/pr19636-1d.d: Likewise.
1591 * testsuite/ld-i386/pr19636-1l.d: Likewise.
1592 * testsuite/ld-i386/pr19636-2c.d: Likewise.
1593 * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise.
1594 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise.
1595 * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Likewise.
1596 * testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise.
1597 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1598 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1599 * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise.
1600 * testsuite/ld-ifunc/pr17154-i386.d: Likewise.
1601 * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
1602 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
1603 * testsuite/ld-x86-64/bnd-branch-1-now.d: Likewise.
1604 * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise.
1605 * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise.
1606 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
1607 * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise.
1608 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
1609 * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise.
1610 * testsuite/ld-x86-64/ibt-plt-1.d: Likewise.
1611 * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise.
1612 * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise.
1613 * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise.
1614 * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise.
1615 * testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise.
1616 * testsuite/ld-x86-64/ibt-plt-3a.d: Likewise.
1617 * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise.
1618 * testsuite/ld-x86-64/ibt-plt-3c.d: Likewise.
1619 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
1620 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
1621 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
1622 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
1623 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
1624 * testsuite/ld-x86-64/pr19636-2l.d: Likewise.
1625 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
1626 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
1627 * testsuite/ld-x86-64/pr21038b-now.d: Likewise.
1628 * testsuite/ld-x86-64/pr21038b.d: Likewise.
1629 * testsuite/ld-x86-64/pr21038c-now.d: Likewise.
1630 * testsuite/ld-x86-64/pr21038c.d: Likewise.
1631 * testsuite/ld-x86-64/pr23854.d: Likewise.
1632 * testsuite/ld-x86-64/pr25416-3.d: Likewise.
1633 * testsuite/ld-x86-64/pr25416-4.d: Likewise.
1634 * testsuite/ld-i386/plt-pic.pd: Likewise.
1635 * testsuite/ld-i386/plt-pic2.dd: Likewise.
1636 * testsuite/ld-i386/plt.pd: Likewise.
1637 * testsuite/ld-i386/plt2.dd: Likewise.
1638 * testsuite/ld-i386/tlsbin.rd: Likewise.
1639 * testsuite/ld-i386/tlsbin2.rd: Likewise.
1640 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
1641 * testsuite/ld-i386/tlsdesc.rd: Likewise.
1642 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
1643 * testsuite/ld-i386/tlsnopic.rd: Likewise.
1644 * testsuite/ld-i386/tlspic.rd: Likewise.
1645 * testsuite/ld-i386/tlspic2.rd: Likewise.
1646 * testsuite/ld-x86-64/mpx3.dd: Likewise.
1647 * testsuite/ld-x86-64/mpx3n.dd: Likewise.
1648 * testsuite/ld-x86-64/mpx4.dd: Likewise.
1649 * testsuite/ld-x86-64/mpx4n.dd: Likewise.
1650 * testsuite/ld-x86-64/pe-x86-64-1.od: Likewise.
1651 * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise.
1652 * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise.
1653 * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise.
1654 * testsuite/ld-x86-64/plt.pd: Likewise.
1655 * testsuite/ld-x86-64/plt2.dd: Likewise.
1656 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
1657 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
1658 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
1659 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1660 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
1661 * testsuite/ld-x86-64/tlspic.rd: Likewise.
1662 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
1663 * testsuite/ld-elf/sec64k.exp: Check
1664 is_elf_unused_section_symbols.
1666 2021-01-07 Alan Modra <amodra@gmail.com>
1668 * testsuite/ld-scripts/fill.d: Skip sh-*-pe rather than xfail.
1669 * testsuite/ld-scripts/fill16.d: Don't xfail sh-*-pe.
1670 * testsuite/ld-scripts/segment-start.d: Likewise.
1672 2021-01-07 Alan Modra <amodra@gmail.com>
1674 * testsuite/ld-elf/comm-data5.d: xfail targets that complain
1675 about dynamic relocations in read-only sections.
1676 * testsuite/ld-elf/ehdr_start-shared.d: Likewise.
1677 * testsuite/ld-elf/ehdr_start.d: Likewise.
1678 * testsuite/ld-scripts/pr22267.d: Likewise.
1679 * testsuite/ld-elf/shared.exp: Likewise for DT_TEXTREL tests and
1681 * testsuite/ld-elf/sec64k.exp: Don't run 64ksec on lm32-linux.
1683 2021-01-07 Marcus Comstedt <marcus@mc.pp.se>
1685 * testsuite/ld-scripts/empty-address-2a.d: xfail riscv64*-*-*.
1686 * testsuite/ld-scripts/empty-address-2b.d: Likewise.
1688 2021-01-07 Alan Modra <amodra@gmail.com>
1690 * po/BLD-POTFILES.in: Regenerate.
1692 2021-01-07 Alan Modra <amodra@gmail.com>
1694 * testsuite/ld-elf/shared.exp: xfail pr22471 for targets that
1695 complain about relocs in read-only sections. Tidy ASFLAGS append.
1697 2021-01-06 Alan Modra <amodra@gmail.com>
1699 * testsuite/ld-sparc/sparc.exp (sparc64tests): Set text-segment
1700 base for some tests.
1701 * testsuite/ld-sparc/gotop32.dd: Match solaris output.
1702 * testsuite/ld-sparc/gotop32.sd: Likewise.
1703 * testsuite/ld-sparc/gotop32.td: Likewise.
1704 * testsuite/ld-sparc/gotop64.dd: Likewise.
1705 * testsuite/ld-sparc/gotop64.sd: Likewise.
1706 * testsuite/ld-sparc/gotop64.td: Likewise.
1707 * testsuite/ld-sparc/tlsg32.sd: Likewise.
1708 * testsuite/ld-sparc/tlsg64.sd: Likewise.
1709 * testsuite/ld-sparc/tlspie32.dd: Likewise.
1710 * testsuite/ld-sparc/tlspie64.dd: Likewise.
1711 * testsuite/ld-sparc/tlssunbin32.dd: Likewise.
1712 * testsuite/ld-sparc/tlssunbin32.sd: Likewise.
1713 * testsuite/ld-sparc/tlssunbin32.td: Likewise.
1714 * testsuite/ld-sparc/tlssunbin64.dd: Likewise.
1715 * testsuite/ld-sparc/tlssunbin64.sd: Likewise.
1716 * testsuite/ld-sparc/tlssunbin64.td: Likewise.
1717 * testsuite/ld-sparc/tlssunnopic32.dd: Likewise.
1718 * testsuite/ld-sparc/tlssunnopic32.sd: Likewise.
1719 * testsuite/ld-sparc/tlssunnopic64.dd: Likewise.
1720 * testsuite/ld-sparc/tlssunnopic64.sd: Likewise.
1721 * testsuite/ld-sparc/tlssunpic32.dd: Likewise.
1722 * testsuite/ld-sparc/tlssunpic32.sd: Likewise.
1723 * testsuite/ld-sparc/tlssunpic32.td: Likewise.
1724 * testsuite/ld-sparc/tlssunpic64.dd: Likewise.
1725 * testsuite/ld-sparc/tlssunpic64.sd: Likewise.
1726 * testsuite/ld-sparc/tlssunpic64.td: Likewise.
1727 * testsuite/ld-sparc/wdispcall.dd: Likewise.
1729 2021-01-06 Alan Modra <amodra@gmail.com>
1731 * testsuite/ld-scripts/rgn-at10.d: xfail v850.
1732 * testsuite/ld-scripts/rgn-at11.d: Likewise.
1734 2021-01-06 Marcus Comstedt <marcus@mc.pp.se>
1736 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Added
1737 riscv_choose_[ilp32|lp64]_emul to choose the correct linker script.
1738 * testsuite/ld-riscv-elf/attr-merge-arch-01.d: Call
1739 riscv_choose_[ilp32|lp64]_emul instead of hardcoding elf[32|64]lriscv.
1740 * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
1741 * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
1742 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Likewise.
1743 * testsuite/ld-riscv-elf/attr-merge-arch-failed-02.d: Likewise.
1744 * testsuite/ld-riscv-elf/c-lui-2.d: Likewise.
1745 * testsuite/ld-riscv-elf/c-lui.d: Likewise.
1746 * testsuite/ld-riscv-elf/call-relax.d: Likewise.
1747 * testsuite/ld-riscv-elf/pcrel-lo-addend-2.d: Likewise.
1748 * testsuite/ld-riscv-elf/pcrel-lo-addend.d: Likewise.
1749 * testsuite/ld-riscv-elf/weakref32.d: Accept bigriscv in addition
1751 * testsuite/ld-riscv-elf/weakref64.d: Likewise.
1753 2021-01-06 Marcus Comstedt <marcus@mc.pp.se>
1755 * configure.tgt: Added riscvbe-*-*, riscv32be*-*-*, riscv64be*-*-*,
1756 riscv32be*-*-linux*, and riscv64be*-*-linux*.
1757 * Makefile.am: Added eelf32briscv.c, eelf32briscv_ilp32f.c and
1758 eelf32briscv_ilp32.c.
1759 * Makefile.in: Regenerate.
1760 * emulparams/elf32briscv.sh: Added.
1761 * emulparams/elf32briscv_ilp32.sh: Likewise.
1762 * emulparams/elf32briscv_ilp32f.sh: Likewise.
1763 * emulparams/elf64briscv.sh: Likewise.
1764 * emulparams/elf64briscv_lp64.sh: Likewise.
1765 * emulparams/elf64briscv_lp64f.sh: Likewise.
1767 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
1769 * testsuite/ld-ctf/enum-forward.c: New test.
1770 * testsuite/ld-ctf/enum-forward.c: New results.
1772 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
1774 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
1775 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
1776 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
1777 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
1778 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
1779 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
1780 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
1781 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
1782 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
1783 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
1784 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
1785 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
1786 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
1787 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
1788 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
1789 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
1790 * testsuite/ld-ctf/cycle-1.d: Likewise.
1791 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
1792 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
1793 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
1794 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
1795 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
1796 * testsuite/ld-ctf/diag-cuname.d: Likewise.
1797 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
1798 * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise.
1799 * testsuite/ld-ctf/forward.d: Likewise.
1800 * testsuite/ld-ctf/function.d: Likewise.
1801 * testsuite/ld-ctf/slice.d: Likewise.
1802 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
1803 * testsuite/ld-ctf/enums.c: New test.
1804 * testsuite/ld-ctf/enums.d: New test.
1806 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
1808 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Adjust for dumper
1810 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
1811 * testsuite/ld-ctf/forward.c: New test...
1812 * testsuite/ld-ctf/forward.d: ... and results.
1814 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
1816 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
1817 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
1818 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
1819 * testsuite/ld-ctf/diag-cuname.d: Likewise.
1820 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
1821 * testsuite/ld-ctf/function.d: Likewise.
1822 * testsuite/ld-ctf/slice.d: Likewise.
1824 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
1826 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
1827 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
1828 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
1829 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
1830 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
1831 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
1832 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
1833 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
1834 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
1835 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
1836 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
1837 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
1838 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
1839 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
1840 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
1841 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
1842 * testsuite/ld-ctf/cycle-1.d: Likewise.
1843 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
1844 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
1845 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
1846 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
1847 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
1848 * testsuite/ld-ctf/diag-cuname.d: Likewise.
1849 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
1850 * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise.
1851 * testsuite/ld-ctf/function.d: Likewise.
1852 * testsuite/ld-ctf/slice.d: Likewise.
1853 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
1855 2021-01-05 Alan Modra <amodra@gmail.com>
1857 * testsuite/ld-scripts/sysroot-prefix.exp: Exclude some targets.
1859 2021-01-05 Alan Modra <amodra@gmail.com>
1862 * testsuite/ld-elf/pr26256-1b.d: xfail s12z.
1863 * testsuite/ld-scripts/crossref.exp (cross1): Don't xfail ia64.
1865 2021-01-04 H.J. Lu <hongjiu.lu@intel.com>
1868 * ldlang.c (gc_section_callback): Set pattern.
1869 * testsuite/ld-elf/pr26256-1.s: New file.
1870 * testsuite/ld-elf/pr26256-1.t: Likewise.
1871 * testsuite/ld-elf/pr26256-1a.d: Likewise.
1872 * testsuite/ld-elf/pr26256-1b.d: Likewise.
1873 * testsuite/ld-elf/pr26256-2.s: Likewise.
1874 * testsuite/ld-elf/pr26256-2.t: Likewise.
1875 * testsuite/ld-elf/pr26256-2a.d: Likewise.
1876 * testsuite/ld-elf/pr26256-2b-alt.d: Likewise.
1877 * testsuite/ld-elf/pr26256-2b.d: Likewise.
1878 * testsuite/ld-elf/pr26256-3.s: Likewise.
1879 * testsuite/ld-elf/pr26256-3a.d: Likewise.
1880 * testsuite/ld-elf/pr26256-3a.t: Likewise.
1881 * testsuite/ld-elf/pr26256-3b.d: Likewise.
1882 * testsuite/ld-elf/pr26256-3b.t: Likewise.
1884 2021-01-04 Alan Modra <amodra@gmail.com>
1887 * testsuite/ld-arm/non-contiguous-arm2.d: Adjust STT_FILE symbol match.
1888 * testsuite/ld-arm/non-contiguous-arm3.d: Likewise.
1889 * testsuite/ld-arm/non-contiguous-arm5.d: Likewise.
1890 * testsuite/ld-arm/non-contiguous-arm6.d: Likewise.
1891 * testsuite/ld-i386/tlsbin.rd: Likewise.
1892 * testsuite/ld-i386/tlsbin2.rd: Likewise.
1893 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
1894 * testsuite/ld-i386/tlsdesc.rd: Likewise.
1895 * testsuite/ld-i386/tlsnopic.rd: Likewise.
1896 * testsuite/ld-i386/tlspic.rd: Likewise.
1897 * testsuite/ld-i386/tlspic2.rd: Likewise.
1898 * testsuite/ld-mips-elf/global-local-symtab-sort-n64.d: Likewise.
1899 * testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d: Likewise.
1900 * testsuite/ld-mips-elf/global-local-symtab-sort-o32.d: Likewise.
1901 * testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d: Likewise.
1902 * testsuite/ld-plugin/pr17973.d: Likewise.
1903 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
1904 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
1905 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
1906 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
1907 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
1908 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
1909 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
1910 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
1911 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
1912 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
1913 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
1914 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
1915 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
1916 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
1917 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
1918 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
1919 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1920 * testsuite/ld-x86-64/tlspic.rd: Likewise.
1921 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
1922 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
1923 * testsuite/ld-xtensa/tlspic.rd: Likewise.
1925 2021-01-01 Nicolas Boulenguez <nicolas@debian.org>
1927 * configure.tgt: Correct comment grammar.
1928 * emultempl/m68hc1xelf.em: Likewise.
1929 * ld.texi: Correct grammar.
1931 2021-01-01 Alan Modra <amodra@gmail.com>
1933 Update year range in copyright notice of all files.
1935 For older changes see ChangeLog-2020
1937 Copyright (C) 2021-2022 Free Software Foundation, Inc.
1939 Copying and distribution of this file, with or without modification,
1940 are permitted in any medium without royalty provided the copyright
1941 notice and this notice are preserved.
1947 version-control: never