Updated transaltions for the gprof and binutils sub-directories
[binutils-gdb.git] / ld / ChangeLog
blob867041aab005ebc99518d63580f50581f73463e2
1 2023-01-06  Nick Clifton  <nickc@redhat.com>
3         * po/bg.po: Updated Bulgarian translation.
5 2023-01-04  Andreas K. Huettel  <dilfridge@gentoo.org>
7         PR 29843
8         * testsuite/ld-aarch64/bti-plt-5.d: Relax regxps slightly to allow
9         for differences in build environments.
10         * testsuite/ld-aarch64/tls-relax-gdesc-le-now.d: Likewise.
12 2023-01-03  Nick Clifton  <nickc@redhat.com>
14         * po/uk.po: Updated Ukrainian translation.
16 2022-12-31  Nick Clifton  <nickc@redhat.com>
18         * 2.40 branch created.
20 2022-12-21  Nick Clifton  <nickc@redhat.com>
22         PR 29900
23         * scripttempl/pe.sc: Keep the .drectve section when performing a
24         relocateable link.
25         * scripttempl/pep.sc: Likewise.
27 2022-12-08  Nick Clifton  <nickc@redhat.com>
29         PR 29861
30         * ld.texi (Output Section Type): Note that setting the output
31         section type only works if the section contains untyped data.
33 2022-12-05  Nick Clifton  <nickc@redhat.com>
35         PR 29849
36         * ldlang.c (spec_match): Check that there is sufficient length in
37         the target name to match the spec's prefix.
39 2022-11-03  Nick Clifton  <nickc@redhat.com>
41         PR 29748
42         * configure.tgt (ac_default_ld_warn_rwx_segments): Set to 0 for
43         the V850.
45 2022-11-03  Nick Clifton  <nickc@redhat.com>
47         PR 29741
48         * scripttempl/avr.sc (__DATA_REGION_ORIGIN__): Define.  If a value
49         has not been provided on the command line then use DATA_ORIGIN.
50         (MEMORY): Use __DATA_REGION_ORIGIN__ as the start of the data region.
52 2022-10-21  Nick Clifton  <nickc@redhat.com>
54         PR 29654
55         * ld.h (struct ld_config_type): Add no_warnings field.
56         * ldlex.h (enum option_values): Add OPTION_NO_WARNINGS.
57         * lexsup.c (ld_options): Add --no-warnings.
58         (parse_args): Add support for -w and --no-warnings.
59         * ldmisc.c (vfinfo): Return early if the message is a warning and
60         -w has been enabled.
61         * ld.texi (options): Document new command line option.
62         * NEWS: Mention the new feature.
64 2022-08-30  Nick Clifton  <nickc@redhat.com>
66         PR 29529
67         * testsuite/ld-x86-64/pr27587.err: Update expected output.
69 2022-08-18  Ralf Habacker  <ralf.habacker@freenet.de>
71         PR 28362
72         * testsuite/ld-pe/pe-run2-def.exp: New file.
74 2022-08-03  Alan Modra  <amodra@gmail.com>
76         PR 29389
77         * ldlang.h (lang_input_statement_struct): Add sort_key field.
78         * emultempl/pe.em (after_open): If multiple import libraries refer
79         to the same bfd, store their names in the sort_key field.
80         * emultempl/pep.em (after_open): Likewise.
81         * ldlang.c (sort_filename): New function.  Returns the filename to
82         be used when sorting input files.
83         (wild_sort): Use the sort_filename function.
85 2022-07-29  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
87         PR ld/29411
88         * configure.tgt (ac_default_ld_warn_rwx_segments): Extend to all
89         sparc targets.  Expand comment.
91 2022-07-26  Nick Clifton  <nickc@redhat.com>
93         PR 29411
94         * configure.tgt (ac_default_ld_warn_rwx_segments): Disable for
95         sparc-solaris configurations.
97 2022-07-08  Nick Clifton  <nickc@redhat.com>
99         * 2.39 branch created.
101 2022-06-27  Nick Clifton  <nickc@redhat.com>
103         PR 29263
104         * configure.ac: Move HPPA specific code from here...
105         * configure.tgt: ... to here.  Add similar code for MIPS.
106         Move code for CRIS, MIPS and HPPA to block at start of file.
107         * configure: Regenerate.
109 2022-06-21  Nick Clifton  <nickc@redhat.com>
111         PR 29263
112         * configure.ac (ac_default_ld_warn_execstack): Default to 'no' for
113         HPPA targets.
114         (ac_default_ld_warn_rwx_segments): Likewise.
115         * configure: Regenerate.
116         * testsuite/ld-elf/elf.exp: Add the --warn-execstack command line
117         option to the command line when running execstack tests for the
118         HPPA target.
120 2022-05-12  Alan Modra  <amodra@gmail.com>
122         PR 29006
123         * pe-dll.c (dll_name): Delete, replacing with..
124         (dll_filename): ..this, moved earlier in file.
125         (generate_edata): Delete parameters.  Don't set up dll_name here..
126         (pe_process_import_defs): ..instead set up dll_filename and
127         dll_symname here before returning.
128         (dll_symname_len): Delete write-only variable.
129         (pe_dll_generate_implib): Don't set up dll_symname here.
131 2022-05-03  Nick Clifton  <nickc@redhat.com>
133         PR 29101
134         * libdep_plugin.c (get_libdeps): Check for overflow when computing
135         amount of memory to allocate.
137 2022-04-27  Nick Clifton  <nickc@redhat.com>
139         PR 29006
140         * pe-dll.c (make_head): Use asprintf to allocate and populate a
141         buffer containing the temporary name.
142         (make_tail, make_one, make_singleton_name_thunk): Likewise.
143         (make_import_fixup_mark, make_import_fixup_entry): Likewise.
144         (make_runtime_pseudo_reloc): Likewise.
145         (pe_create_runtime_relocator_reference): Likewise.
147 2022-04-25  Nick Clifton  <nickc@redhat.com>
149         PR 29072
150         * testsuite/ld-elf/pr29072.b.warn: Update to include the note
151         about the linker's behaviour being depreccated.
153 2022-04-20  Clément Chigot  <clement.chigot@atos.net>
155         * emultempl/aix.em (params): New variable.
156         (stub_file): New variable.
157         (xcoff_add_stub_section): New function.
158         (xcoff_layout_sections_again): New function
159         (hook_in_stub): New function.
160         (_after_allocation): Add stub creation.
161         (_create_output_section_statements): Allocate stub file and
162         pass params to backend.
164 2022-04-20  Clément Chigot  <clement.chigot@atos.net>
166         * emultempl/aix.em (_after_allocation): New function.
168 2022-04-07  Mark Harmstone  <mark@harmstone.com>
170         * testsuite/ld-pe/secidx1.s: New test source file.
171         * testsuite/ld-pe/secidx2.s: New test source file.
172         * testsuite/ld-pe/secidx.d: New test driver file.
173         * testsuite/ld-pe/secidx_64.d: New test driver file.
174         * testsuite/ld-pe/pe.exp: Add new tests.
176 2022-03-01  Nick Clifton  <nickc@redhat.com>
178         PR 21964
179         * testsuite/ld-elf/pr21964-1a.c: Fix array comparisons.
180         * testsuite/ld-elf/pr21964-1b.c: Likewise.
181         * testsuite/ld-elf/pr21964-1c.c: Likewise.
182         * testsuite/ld-elf/pr21964-2a.c: Likewise.
183         * testsuite/ld-elf/pr21964-2b.c: Likewise.
184         * testsuite/ld-elf/pr21964-3a.c: Likewise.
186 2022-02-17  Roland McGrath  <mcgrathr@google.com>
188         * ld.texi (Output Section Type): Fix typo in @code syntax.
190 2022-02-17  Nick Clifton  <nickc@redhat.com>
192         * po/sr.po: Updated Serbian translation.
194 2022-02-16  Fangrui Song  <maskray@google.com>
195             Nick Clifton  <nickc@redhat.com>
197         PR ld/28841
198         * ld.texi: Document new output section type.
199         * ldlex.l: Add new token TYPE.
200         * ldgram.y: Handle TYPE=exp and READONLY (TYPE=exp).
201         * ldlang.h: Add type_section to list of section types.
202         * ldlang.c (lang_add_section): Handle type_section.
203         (map_input_to_output_sections): Handle type_section.
204         * testsuite/ld-scripts/output-section-types.t: Add tests.
205         * testsuite/ld-scripts/output-section-types.d: Update.
207 2022-02-02  Nick Clifton  <nickc@redhat.com>
209         * po/fr.po: Updated French translation.
211 2022-01-24  Nick Clifton  <nickc@redhat.com>
213         * po/bg.po: Updated Bulgarian translation.
214         * po/uk.po: Updated Ukranian translation.
216 2022-01-22  Alexander von Gluck IV  <kallisti5@unixzen.com>
218         * configure.tgt (arm-haiku): Fix typo.
219         * emulparams/armelf_haiku.su (MAXPAGESIZE): Use the default value.
220         (COMMONPAGESIZE): Likewise.
222 2022-01-22  Nick Clifton  <nickc@redhat.com>
224         * configure: Regenerate.
225         * po/ld.pot: Regenerate.
227 2022-01-22  Nick Clifton  <nickc@redhat.com>
229         * 2.38 release branch created.
231 2022-01-21  Nick Clifton  <nickc@redhat.com>
233         * po/sr.po: Updated Serbian translation.
235 2022-01-17  Nick Clifton  <nickc@redhat.com>
237         * Makefile.in: Regenerate.
238         * po/ld.pot: Regenerate.
240 2022-01-11  Martin Storsjö  <martin@martin.st>
242         * pe-dll.c (make_head): Prefix the symbol name with the dll name.
243         (make_tail, make_one, make_singleton_name_thunk): Likewise.
244         (make_import_fixup_entry, make_runtime_pseudo_reloc): Likewise.
245         (pe_create_runtime_relocator_reference): Likewise.
246         (pe_dll_generate_implib): Set dll_symname_len.
247         (pe_process_import_defs): Likewise.
249 2021-12-16  Nick Clifton  <nickc@redhat.com>
251         PR 28686
252         * testsuite/ld-avr/avr-prop-7.d: Adjust expected output.
253         * testsuite/ld-avr/avr-prop-8.d: Likewise.
254         * testsuite/ld-avr/pr13402.d: Likewise.
256 2021-11-30  Nick Clifton  <nickc@redhat.com>
258         * scripttempl/pru.sc (.pru_irq_map): Define output section.
259         * testsuite/ld-pru/pru_irq_map-1.d: New test.
260         * testsuite/ld-pru/pru_irq_map-2.d: New test.
261         * testsuite/ld-pru/pru_irq_map.s: New test.
263 2021-11-17  Jeremy Drake  <cygwin@jdrake.com>
265         * emultempl/pep.em (DEFAULT_DLL_CHARACTERISTICS): Set to 0 for
266         Cygwin targets.
267         * emultempl/pep.em (DEFAULT_DLL_CHARACTERISTICS): Likewise.
269 2021-11-17  Nick Clifton  <nickc@redhat.com>
271         PR 28452
272         * ldgram.y: Add support for PT_GNU_RELRO and PT_GNU_PROPERTY.
273         * ldgram.c: Regenerate.
275 2021-11-15  Roland McGrath  <mcgrathr@google.com>
277         * testsuite/ld-aarch64/dt_textrel.d: Pass explicit -z notext in
278         case ld was configured with --enable-textrel-check=error.
279         * testsuite/ld-aarch64/pr22764.d: Likewise.
280         * testsuite/ld-aarch64/pr20402.d: Likewise.
282 2021-10-25  Nick Alcock  <nick.alcock@oracle.com>
284         * testsuite/ld-ctf/nonrepresentable-member.*: New test.
286 2021-10-25  Nick Alcock  <nick.alcock@oracle.com>
288         * testsuite/ld-ctf/array.d: Change --ctf=.ctf to --ctf.
289         * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
290         * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
291         * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
292         * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
293         * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
294         * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
295         * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
296         * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
297         * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
298         * testsuite/ld-ctf/conflicting-enums.d: Likewise.
299         * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
300         * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
301         * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
302         * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
303         * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
304         * testsuite/ld-ctf/cycle-1.d: Likewise.
305         * testsuite/ld-ctf/cycle-2.A.d: Likewise.
306         * testsuite/ld-ctf/cycle-2.B.d: Likewise.
307         * testsuite/ld-ctf/cycle-2.C.d: Likewise.
308         * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
309         * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
310         * testsuite/ld-ctf/diag-cuname.d: Likewise.
311         * testsuite/ld-ctf/diag-parlabel.d: Likewise.
312         * testsuite/ld-ctf/enum-forward.d: Likewise.
313         * testsuite/ld-ctf/enums.d: Likewise.
314         * testsuite/ld-ctf/forward.d: Likewise.
315         * testsuite/ld-ctf/function.d: Likewise.
316         * testsuite/ld-ctf/nonrepresentable.d: Likewise.
317         * testsuite/ld-ctf/slice.d: Likewise.
318         * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
320 2021-09-30  Dimitar Dimitrov  <dimitar@dinux.eu>
322         * scripttempl/pru.sc (.resource_table): Align the output
323         section, not the first symbol.
325 2021-09-27  Nick Alcock  <nick.alcock@oracle.com>
327         * configure: Regenerate.
329 2021-09-21  Nick Clifton  <nickc@redhat.com>
331         * ldlang.c (lang_end): When computing the entry point, only
332         try the start address of the entry section when creating an
333         executable.
334         * ld.texi (Entry point): Update description of heuristic used to
335         choose the entry point.
336         testsuite/ld-alpha/tlspic.rd: Update expected entry point address.
337         testsuite/ld-arm/tls-gdesc-got.d: Likewise.
338         testsuite/ld-i386/tlsnopic.rd: Likewise.
339         testsuite/ld-ia64/tlspic.rd: Likewise.
340         testsuite/ld-sparc/gotop32.rd: Likewise.
341         testsuite/ld-sparc/gotop64.rd: Likewise.
342         testsuite/ld-sparc/tlssunnopic32.rd: Likewise.
343         testsuite/ld-sparc/tlssunnopic64.rd: Likewise.
344         testsuite/ld-sparc/tlssunpic32.rd: Likewise.
345         testsuite/ld-sparc/tlssunpic64.rd: Likewise.
346         testsuite/ld-tic6x/shlib-1.rd: Likewise.
347         testsuite/ld-tic6x/shlib-1b.rd: Likewise.
348         testsuite/ld-tic6x/shlib-1r.rd: Likewise.
349         testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
350         testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
351         testsuite/ld-x86-64/pr14207.d: Likewise.
352         testsuite/ld-x86-64/tlsdesc.rd: Likewise.
353         testsuite/ld-x86-64/tlspic.rd: Likewise.
354         testsuite/ld-x86-64/tlspic2.rd: Likewise.
356 2021-09-15  Claudiu Zissulescu  <claziss@synopsys.com>
358         * testsuite/ld-arc/got-weak.d: Update file.
360 2021-09-14  Claudiu Zissulescu  <claziss@synopsys.com>
362         * ld-arc/got-weak.d: New file.
363         * ld-arc/got-weak.s: Likewise.
365 2021-07-26  Roland McGrath  <mcgrathr@google.com>
367         * testsuite/ld-x86-64/x86-64.exp (Build textrel-1): Use --warn-textrel.
369 2021-07-06  Michael Matz  <matz@suse.de>
371         PR ld/28021
372         * testsuite/ld-riscv-elf/relax-twice.ver: New.
373         * testsuite/ld-riscv-elf/relax-twice-1.s: New.
374         * testsuite/ld-riscv-elf/relax-twice-2.s: New.
375         * testsuite/ld-riscv-elf/ld-riscv-elf.exp
376         (run_relax_twice_test): New, and call it.
378 2021-07-03  Nick Clifton  <nickc@redhat.com>
380         * configure: Regenerate.
381         * po/ld.pot: Regenerate.
383 2021-07-03  Nick Clifton  <nickc@redhat.com>
385         * 2.37 release branch created.
387 2021-06-22  Nelson Chu  <nelson.chu@sifive.com>
389         * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
390         * testsuite/ld-riscv-elf/pcrel-lo-addend-3a.d: New testcase.
391         * testsuite/ld-riscv-elf/pcrel-lo-addend-3a.s: Likewise.
392         * testsuite/ld-riscv-elf/pcrel-lo-addend-3b.d: New testcase.
393         Should report error since the %pcrel_lo with addend refers to
394         %got_pcrel_hi.
395         * testsuite/ld-riscv-elf/pcrel-lo-addend-3b.s: Likewise.
396         * testsuite/ld-riscv-elf/pcrel-lo-addend-3c.d: New testcase.
397         Should report error since the %got_pcrel_hi with addend.
398         * testsuite/ld-riscv-elf/pcrel-lo-addend-3c.s: Likewise.
399         * testsuite/ld-riscv-elf/pcrel-lo-addend-3.ld: Likewise.
401 2021-06-19  H.J. Lu  <hongjiu.lu@intel.com>
403         PR ld/27998
404         * testsuite/ld-i386/i386.exp: Run PR ld/27998 tests.
405         * testsuite/ld-i386/pr27998a.d: New file.
406         * testsuite/ld-i386/pr27998a.s: Likewise.
407         * testsuite/ld-i386/pr27998b.d: Likewise.
408         * testsuite/ld-i386/pr27998b.s: Likewise.
410 2021-06-19  H.J. Lu  <hongjiu.lu@intel.com>
412         * testsuite/ld-x86-64/textrel-1.err: New file.
413         * testsuite/ld-x86-64/textrel-1a.s: Likewise.
414         * testsuite/ld-x86-64/textrel-1b.s: Likewise.
415         * testsuite/ld-x86-64/x86-64.exp: Run textrel-1 tests.
417 2021-06-18  H.J. Lu  <hongjiu.lu@intel.com>
419         * testsuite/ld-elf/property-and-1.d: Skip am33_2.0, hppa-hpux
420         and mn10300.
421         Pass --generate-missing-build-notes=no to assembler.  Allow
422         other note sections for xtensa.
423         * testsuite/ld-elf/property-and-2.d: Likewise.
424         * testsuite/ld-elf/property-and-3.d: Likewise.
425         * testsuite/ld-elf/property-and-4.d: Likewise.
426         * testsuite/ld-elf/property-or-1.d: Likewise.
427         * testsuite/ld-elf/property-or-2.d: Likewise.
428         * testsuite/ld-elf/property-or-3.d: Likewise.
429         * testsuite/ld-elf/property-or-4.d: Likewise.
431 2021-06-18  H.J. Lu  <hongjiu.lu@intel.com>
433         * ld.texi: Move -z unique-symbol after -z undefs.
435 2021-06-18  H.J. Lu  <hongjiu.lu@intel.com>
437         * testsuite/ld-elf/property-and-1.d: New file.
438         * testsuite/ld-elf/property-and-1.s: Likewise.
439         * testsuite/ld-elf/property-and-2.d: Likewise.
440         * testsuite/ld-elf/property-and-2.s: Likewise.
441         * testsuite/ld-elf/property-and-3.d: Likewise.
442         * testsuite/ld-elf/property-and-3.s: Likewise.
443         * testsuite/ld-elf/property-and-4.d: Likewise.
444         * testsuite/ld-elf/property-and-empty.s: Likewise.
445         * testsuite/ld-elf/property-or-1.d: Likewise.
446         * testsuite/ld-elf/property-or-1.s: Likewise.
447         * testsuite/ld-elf/property-or-2.d: Likewise.
448         * testsuite/ld-elf/property-or-2.s: Likewise.
449         * testsuite/ld-elf/property-or-3.d: Likewise.
450         * testsuite/ld-elf/property-or-3.s: Likewise.
451         * testsuite/ld-elf/property-or-4.d: Likewise.
452         * testsuite/ld-elf/property-or-empty.s: Likewise.
454 2021-06-17  H.J. Lu  <hongjiu.lu@intel.com>
456         PR ld/27973
457         * testsuite/ld-x86-64/x86-64.exp: Pass $NOPIE_LDFLAGS and
458         $NOPIE_CFLAGS to protected-func-1 without PIE.
460 2021-06-17  H.J. Lu  <hongjiu.lu@intel.com>
462         PR ld/27973
463         * testsuite/ld-x86-64/x86-64.exp: Run protected function tests.
464         * testsuite/ld-x86-64/protected-func-1.h: New file.
465         * testsuite/ld-x86-64/protected-func-1a.s: Likewise.
466         * testsuite/ld-x86-64/protected-func-1b.c: Likewise.
468 2021-06-17  Fangrui Song  <maskray@google.com>
470         * ldlex.h (enum option_values): Add OPTION_NO_PIE.
471         * lexsup.c (struct ld_options): Add -no-pie.
472         (parse_args): Handle -no-pie.
473         * ld.texi: Document -no-pie.
475 2021-06-15  Alan Modra  <amodra@gmail.com>
477         * testsuite/ld-pie/vaddr-0.d: Update expected output.
479 2021-06-11  Alan Modra  <amodra@gmail.com>
481         PR 27952
482         * ldelf.c (ldelf_after_open): Error on input PIEs too.
484 2021-06-09  Nick Clifton  <nickc@redhat.com>
486         PR 27666
487         * testsuite/ld-sparc/sparc.exp: Do not run the sparctests or
488         sparc64tests for Solaris2 targets.
490 2021-06-03  Alan Modra  <amodra@gmail.com>
492         PR 2589
493         * ld.texi (link-time runtime library search path): Mention
494         plugin library path.  Correct order of search.
496 2021-05-31  Nelson Chu  <nelson.chu@sifive.com>
497             Lifang Xia  <lifang_xia@c-sky.com>
499         PR 27566
500         * emultempl/riscvelf.em (after_allocation): Call
501         riscv_set_data_segment_info to set data segment phase before relaxing.
502         * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
503         * testsuite/ld-riscv-elf/relro-relax-lui.d: New testcase.
504         * testsuite/ld-riscv-elf/relro-relax-lui.s: Likewise.
505         * testsuite/ld-riscv-elf/relro-relax-pcrel.d: Likewise.
506         * testsuite/ld-riscv-elf/relro-relax-pcrel.s: Likewise.
508 2021-05-28  H.J. Lu  <hongjiu.lu@intel.com>
510         PR ld/27905
511         * testsuite/ld-i386/pcrel16-2.d: xfail.
512         * testsuite/ld-x86-64/pcrel16-2.d: Likewise.
514 2021-05-26  H.J. Lu  <hongjiu.lu@intel.com>
516         PR ld/27905
517         * testsuite/ld-i386/code16.d: New file.
518         * testsuite/ld-i386/code16.t: Likewise.
519         * testsuite/ld-x86-64/code16.d: Likewise.
520         * testsuite/ld-x86-64/code16.t: Likewise.
521         * testsuite/ld-i386/i386.exp: Run code16.
522         * testsuite/ld-x86-64/x86-64.exp: Likewise.
524 2021-05-26  H.J. Lu  <hongjiu.lu@intel.com>
526         * testsuite/ld-x86-64/ilp32-12.d: New file.
527         * testsuite/ld-x86-64/ilp32-12.s: Likewise.
528         * testsuite/ld-x86-64/x86-64.exp: Run ilp32-12.
530 2021-05-14  Nelson Chu  <nelson.chu@sifive.com>
532         * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
533         * testsuite/ld-riscv-elf/pcrel-lo-addend-2a.d: Renamed from
534         pcrel-lo-addend-2.
535         * testsuite/ld-riscv-elf/pcrel-lo-addend-2a.s: Likewise.
536         * testsuite/ld-riscv-elf/pcrel-lo-addend-2b.d: New testcase.
537         * testsuite/ld-riscv-elf/pcrel-lo-addend-2b.s: Likewise.
539 2021-05-13  Fangrui Song  <maskray@google.com>
541         PR 27834
542         * ldlex.h (enum option_values): Add OPTION_NO_SYMBOLIC.
543         * lexsup.c (ld_options): Add -Bno-symbolic.
544         (parse_args): Handle -Bno-symbolic.
545         * ld.texi: Document -Bno-symbolic.
546         * NEWS: Mention -Bno-symbolic.
547         * testsuite/ld-elf/shared.exp: Add a test.
549 2021-05-12  Richard Earnshaw  <rearnsha@arm.com>
551         * testsuite/ld-arm/arm-elf.exp (farcall test for v8-m.mainline):
552         Correct expected output.
554 2021-05-11  Roland McGrath  <mcgrathr@google.com>
556         * testsuite/ld-x86-64/rela.d: Fix regexp not to presume a specific
557         address layout, so it works for e.g. --target=x86-64-elf.
559 2021-05-11  Nick Clifton  <nickc@redhat.com>
561         PR 27113
562         * Makefile.am (install-data-local): Also delete libdep.dll.a if it
563         is present.
564         * Makefile.in: Regenerate.
566 2021-05-10  Dimitar Dimitrov  <dimitar@dinux.eu>
568         * testsuite/ld-elf/group8a.d: Remove pru from XFAIL list.
569         * testsuite/ld-elf/group8b.d: Ditto.
570         * testsuite/ld-elf/group9a.d: Ditto.
571         * testsuite/ld-elf/group9b.d: Ditto.
572         * testsuite/ld-elf/pr12851.d: Ditto.
573         * testsuite/ld-elf/pr22677.d: Ditto.
574         * testsuite/lib/ld-lib.exp (check_gc_sections_available): Remove
575         pru from list.
577 2021-05-10  Dimitar Dimitrov  <dimitar@dinux.eu>
579         * scripttempl/pru.sc (.resource_table): Add ALIGN directive.
580         Use symbols for memory sizes.
582 2021-05-08  Mike Frysinger  <vapier@gentoo.org>
584         * Makefile.am (html-local, doc/ld/index.html): New targets.
585         * Makefile.in: Regenerate.
587 2021-05-08  Mike Frysinger  <vapier@gentoo.org>
589         * Makefile.am (AM_MAKEINFOFLAGS): Add --no-split.
590         * Makefile.in: Regenerate.
592 2021-05-07  Jan Beulich  <jbeulich@suse.com>
594         * testsuite/ld-x86-64/rela.d: New.
595         * testsuite/ld-x86-64/x86-64.exp: Run new test.
597 2021-05-07  Nick Clifton  <nickc@redhat.com>
599         * ldelfgen.c (compare_link_order): Ignore section size when
600         performing a relocateable link.
602 2021-05-07  Alan Modra  <amodra@gmail.com>
604         * ldexp.c (update_definedness): Don't return false for absolute
605         symbols.
606         * ldmain.c (multiple_definition): Print "warning: " in message
607         when not a hard error.
609 2021-05-07  Alan Modra  <amodra@gmail.com>
611         * testsuite/ld-elf/pr27825-1.d: Correct xfail.
612         * testsuite/ld-elf/pr27825-2.d: Likewise.
614 2021-05-06  Stafford Horne  <shorne@gmail.com>
616         PR 27746
617         testsuite/ld-or1k/or1k.exp (or1kplttests): Add tests for linking
618         along with gotha() relocations.
619         testsuite/ld-or1k/gotha1.dd: New file.
620         testsuite/ld-or1k/gotha1.s: New file.
621         testsuite/ld-or1k/gotha2.dd: New file.
622         testsuite/ld-or1k/gotha2.s: New file
623         testsuite/ld-or1k/pltlib.s (x): Define size to avoid link
624         failure.
626 2021-05-06  Nick Alcock  <nick.alcock@oracle.com>
628         * testsuite/ld-ctf/ctf.exp: Use -gctf, not -gt.
629         * testsuite/lib/ld-lib.exp: Likewise.
630         * testsuite/ld-ctf/nonrepresentable-1.c: New test for nonrepresentable types.
631         * testsuite/ld-ctf/nonrepresentable-2.c: Likewise.
632         * testsuite/ld-ctf/nonrepresentable.d: Likewise.
633         * testsuite/ld-ctf/array.d: Larger type section.
634         * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
635         * testsuite/ld-ctf/enums.d: Likewise.
636         * testsuite/ld-ctf/conflicting-enums.d: Don't compare types.
637         * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Changed type order.
638         * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
639         * testsuite/ld-ctf/slice.d: Adjust for improved slice emission.
641 2021-05-05  H.J. Lu  <hongjiu.lu@intel.com>
643         PR ld/27825
644         * testsuite/ld-elf/pr27825-1.d: New file.
645         * testsuite/ld-elf/pr27825-1a.s: Likewise.
646         * testsuite/ld-elf/pr27825-1b.s: Likewise.
647         * testsuite/ld-elf/pr27825-2.d: Likewise.
648         * testsuite/ld-elf/pr27825-2a.s: Likewise.
649         * testsuite/ld-elf/pr27825-2b.s: Likewise.
651 2021-05-05  Alan Modra  <amodra@gmail.com>
653         * testsuite/ld-powerpc/empty.s: New file.
654         * testsuite/ld-powerpc/undefweak.d,
655         * testsuite/ld-powerpc/undefweak.s: New testcase.
656         * testsuite/ld-powerpc/powerpc.exp: Run it.
658 2021-05-03  Alan Modra  <amodra@gmail.com>
660         * testsuite/ld-s390/tlspic_64.rd: Adjust expected output for
661         named section symbols.
663 2021-04-28  Nick Clifton  <nickc@redhat.com>
665         * testsuite/ld-elf/anno-sym.s: New test source file.
666         * testsuite/ld-elf/anno-sym.d: New test driver.
667         * testsuite/ld-elf/anno-sym.l: New test error output.
669 2021-04-26  Jan Beulich  <jbeulich@suse.com>
671         * testsuite/ld-i386/pcrel16-2.s, testsuite/ld-i386/pcrel16-2.d,
672         testsuite/ld-x86-64/pcrel16-2.d: New.
673         * testsuite/ld-i386/i386.exp: Run new test.
674         * testsuite/ld-x86-64/x86-64.exp: Likewise.
676 2021-04-23  H.J. Lu  <hongjiu.lu@intel.com>
678         PR ld/27771
679         * testsuite/ld-bootstrap/bootstrap.exp: Create a symbolic link
680         to tmpdir/ldscripts only if it doesn't exist.
682 2021-04-22  Jan Beulich  <jbeulich@suse.com>
684         PR ld/26659
685         * testsuite/ld-pe/pr26659-weak-undef-sym.d: Relax for Cygwin.
687 2021-04-21  Nick Clifton  <nickc@redhat.com>
689         * testsuite/ld-aarch64/variant_pcs-now.d: Adjust expected output
690         to allow for named section symbols.
691         * testsuite/ld-aarch64/variant_pcs-r.d: Likewise.
692         * testsuite/ld-aarch64/variant_pcs-shared.d: Likewise.
693         * testsuite/ld-alpha/tlsbin.rd: Likewise.
694         * testsuite/ld-alpha/tlsbinr.rd: Likewise.
695         * testsuite/ld-alpha/tlspic.rd: Likewise.
696         * testsuite/ld-arm/rodata-merge-map.sym: Likewise.
697         * testsuite/ld-arm/script-type.sym: Likewise.
698         * testsuite/ld-cris/libdso-2.d: Likewise.
699         * testsuite/ld-cris/pr16044.d: Likewise.
700         * testsuite/ld-elf/sec64k.exp: Likewise.
701         * testsuite/ld-ia64/tlsbin.rd: Likewise.
702         * testsuite/ld-ia64/tlspic.rd: Likewise.
703         * testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d: Likewise.
704         * testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d: Likewise.
705         * testsuite/ld-mmix/bspec1.d: Likewise.
706         * testsuite/ld-mmix/bspec2.d: Likewise.
707         * testsuite/ld-mmix/local1.d: Likewise.
708         * testsuite/ld-mmix/local3.d: Likewise.
709         * testsuite/ld-mmix/local5.d: Likewise.
710         * testsuite/ld-mmix/local7.d: Likewise.
711         * testsuite/ld-mmix/undef-3.d: Likewise.
712         * testsuite/ld-powerpc/tlsso.r: Likewise.
713         * testsuite/ld-powerpc/tlsso32.r: Likewise.
714         * testsuite/ld-powerpc/tlstocso.r: Likewise.
715         * testsuite/ld-s390/tlsbin.rd: Likewise.
716         * testsuite/ld-s390/tlsbin_64.rd: Likewise.
717         * testsuite/ld-s390/tlspic.rd: Likewise.
718         * testsuite/ld-s390/tlspic_64.rd: Likewise.
719         * testsuite/ld-sparc/gotop32.rd: Likewise.
720         * testsuite/ld-sparc/gotop64.rd: Likewise.
721         * testsuite/ld-sparc/tlssunbin32.rd: Likewise.
722         * testsuite/ld-sparc/tlssunbin64.rd: Likewise.
723         * testsuite/ld-sparc/tlssunnopic32.rd: Likewise.
724         * testsuite/ld-sparc/tlssunnopic64.rd: Likewise.
725         * testsuite/ld-sparc/tlssunpic32.rd: Likewise.
726         * testsuite/ld-sparc/tlssunpic64.rd: Likewise.
727         * testsuite/ld-tic6x/common.d: Likewise.
728         * testsuite/ld-tic6x/shlib-1.rd: Likewise.
729         * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
730         * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
731         * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
732         * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
733         * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
734         * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
735         * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
736         * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
737         * testsuite/ld-tic6x/static-app-1.rd: Likewise.
738         * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
739         * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
740         * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
742 2021-04-20  Clément Chigot  <clement.chigot@atos.net>
744         PR binutils/21700
745         * testsuite/ld-powerpc/aix52.exp: Add new test.
746         * testsuite/ld-powerpc/aix-neg-reloc-32.d: New test.
747         * testsuite/ld-powerpc/aix-neg-reloc-64.d: New test.
748         * testsuite/ld-powerpc/aix-neg-reloc.ex: New test.
749         * testsuite/ld-powerpc/aix-neg-reloc.s: New test.
751 2021-04-13  Nick Clifton  <nickc@redhat.com>
753         * ld.texi (Options): Add note about the effect of --as-needed on
754         the --rpath and --rpath-link options on Linux based systems.
756 2021-04-13  Alan Modra  <amodra@gmail.com>
758         PR 27722
759         * libdep_plugin.c (str2vec): Don't pass a potentially signed char
760         to isspace.
762 2021-04-12  Alan Modra  <amodra@gmail.com>
764         * configure.ac (--enable-checking): Add support.
765         * config.in: Regenerate.
766         * configure: Regenerate.
768 2021-04-12  Alan Modra  <amodra@gmail.com>
770         * emultempl/mipself.em (mips_create_output_section_statements):
771         Pass base type of hash table to is_elf_hash_table.
772         * ldelf.c (ldelf_after_open): Likewise.
774 2021-04-12  Alan Modra  <amodra@gmail.com>
776         PR 27719
777         * ldlang.c (lang_mark_undefineds, undef_start_stop): Test that
778         the symbol hash table is the correct type before accessing
779         elf_link_hash_entry symbols.
780         * plugin.c (is_visible_from_outside): Likewise.
781         * emultempl/armelf.em (ld${EMULATION_NAME}_finish): Likewise.
782         * emultempl/solaris2.em (elf_solaris2_before_allocation): Likewise.
784 2021-04-09  Alan Modra  <amodra@gmail.com>
786         * testsuite/ld-powerpc/inlinepcrel-1.d: Update expected output.
787         * testsuite/ld-powerpc/inlinepcrel-2.d: Likewise.
788         * testsuite/ld-powerpc/notoc2.d: Likewise.
789         * testsuite/ld-powerpc/notoc3.d: Likewise.
790         * testsuite/ld-powerpc/pcrelopt.d: Likewise.
791         * testsuite/ld-powerpc/startstop.d: Likewise.
792         * testsuite/ld-powerpc/tlsget.d: Likewise.
793         * testsuite/ld-powerpc/tlsget2.d: Likewise.
794         * testsuite/ld-powerpc/tlsld.d: Likewise.
795         * testsuite/ld-powerpc/weak1.d: Likewise.
796         * testsuite/ld-powerpc/weak1so.d: Likewise.
798 2021-04-06  Jan Beulich  <jbeulich@suse.com>
800         * pe-dll.c (generate_reloc): Bail immediately when .reloc is
801         being discarded. Warn when relocated entry is above .reloc.
803 2021-04-05  Alan Modra  <amodra@gmail.com>
805         * configure.ac: Move initfini-array arg handling earlier.  Don't
806         check for string.h, strings.h, stdlib.h, or locale.h.  Do check
807         for inttypes.h, stdint.h, sys/types.h.  Don't check for
808         setlocale, free, getev or strstr.
809         (AC_ISC_POSIX): Don't invoke.
810         * sysdep.h: Include string.h and stdlib.h unconditionally.  Test
811         HAVE_SYS_TYPE_H and HAVE_SYS_STAT_H.  Remove strstr, free and
812         getenv fallback declarations.
813         * ld.h: Don't test HAVE_LOCALE_H.
814         * ldmain.c: Don't test HAVE_SETLOCALE.
815         * config.in: Regenerate.
816         * configure: Regenerate.
818 2021-04-01  Tamar Christina  <tamar.christina@arm.com>
820         PR ld/26659
821         * testsuite/ld-pe/pe.exp: Add test.
822         * testsuite/ld-pe/pr26659-weak-undef-sym.d: New test.
823         * testsuite/ld-pe/pr26659-weak-undef-sym.s: New test.
825 2021-04-01  Martin Liska  <mliska@suse.cz>
827         * ldbuildid.c (strneq): Remove strneq and use startswith.
828         (validate_build_id_style): Likewise.
829         (compute_build_id_size): Likewise.
831 2021-03-31  Alan Modra  <amodra@gmail.com>
833         * sysdep.h (POISON_BFD_BOOLEAN): Define.
834         * configure.ac (elf_list_options, elf_shlib_list_options=false),
835         (elf_plt_unwind_list_options=false): Replace FALSE with false,
836         and TRUE with true.
837         * emulparams/call_nop.sh, * emulparams/cet.sh,
838         * emulparams/dynamic_undefined_weak.sh,
839         * emulparams/elf32b4300.sh, * emulparams/elf32lm32.sh,
840         * emulparams/elf32lr5900.sh, * emulparams/elf32lr5900n32.sh,
841         * emulparams/elf32visium.sh, * emulparams/elf_x86_64.sh,
842         * emulparams/extern_protected_data.sh, * emulparams/plt_unwind.sh,
843         * emulparams/reloc_overflow.sh, * emulparams/static.sh,
844         * emulparams/x86-64-lam.sh, * emultempl/aarch64elf.em,
845         * emultempl/aix.em, * emultempl/alphaelf.em,
846         * emultempl/armcoff.em, * emultempl/armelf.em,
847         * emultempl/avrelf.em, * emultempl/beos.em, * emultempl/bfin.em,
848         * emultempl/cr16elf.em, * emultempl/crxelf.em,
849         * emultempl/cskyelf.em, * emultempl/elf.em, * emultempl/genelf.em,
850         * emultempl/hppaelf.em, * emultempl/linux.em,
851         * emultempl/m68hc1xelf.em, * emultempl/metagelf.em,
852         * emultempl/mipself.em, * emultempl/mmix-elfnmmo.em,
853         * emultempl/mmixelf.em, * emultempl/mmo.em, * emultempl/msp430.em,
854         * emultempl/nios2elf.em, * emultempl/pdp11.em, * emultempl/pe.em,
855         * emultempl/pep.em, * emultempl/ppc32elf.em,
856         * emultempl/ppc64elf.em, * emultempl/rxelf.em,
857         * emultempl/rxlinux.em, * emultempl/scoreelf.em,
858         * emultempl/solaris2.em, * emultempl/spuelf.em,
859         * emultempl/ticoff.em, * emultempl/v850elf.em, * emultempl/vms.em,
860         * emultempl/xtensaelf.em, * emultempl/z80.em, * ld.h,
861         * ldbuildid.c, * ldbuildid.h, * ldcref.c, * ldctor.c, * ldctor.h,
862         * ldelf.c, * ldelf.h, * ldelfgen.c, * ldelfgen.h, * ldemul.c,
863         * ldemul.h, * ldexp.c, * ldexp.h, * ldfile.c, * ldfile.h,
864         * ldgram.y, * ldlang.c, * ldlang.h, * ldmain.c, * ldmain.h,
865         * ldmisc.c, * ldmisc.h, * ldwrite.c, * lexsup.c, * mri.c,
866         * pe-dll.c, * pe-dll.h, * pep-dll.h, * plugin.c, * plugin.h,
867         * testplug.c, * testplug2.c, * testplug3.c, * testplug4.c: Replace
868         bfd_boolean with bool, FALSE with false, and TRUE with true.
869         * configure: Regenerate.
871 2021-03-31  Alan Modra  <amodra@gmail.com>
873         * elf-hints-local.h: Include stdint.h in place of bfd_stdint.h.
874         * emultempl/nds32elf.em: Likewise.
875         * testsuite/ld-elf/mbind2b.c: Likewise.
876         * testsuite/ld-elf/pr18718.c: Likewise.
877         * testsuite/ld-elf/pr18720a.c: Likewise.
878         * testsuite/ld-elf/pr25749-1.c: Likewise.
879         * testsuite/ld-elf/pr25749-1a.c: Likewise.
880         * testsuite/ld-elf/pr25749-1b.c: Likewise.
881         * testsuite/ld-elf/pr25749-1c.c: Likewise.
882         * testsuite/ld-elf/pr25749-1d.c: Likewise.
883         * testsuite/ld-elf/pr25749-2.c: Likewise.
884         * testsuite/ld-elf/pr25754-1a.c: Likewise.
885         * testsuite/ld-elf/pr25754-2a.c: Likewise.
886         * testsuite/ld-elf/pr25754-3a.c: Likewise.
887         * testsuite/ld-elf/pr25754-4a.c: Likewise.
888         * testsuite/ld-elf/pr25754-5a.c: Likewise.
889         * testsuite/ld-elf/pr25754-6a.c: Likewise.
891 2021-03-29  Alan Modra  <amodra@gmail.com>
893         * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Simplify
894         boolean expression.
895         * lexsup.c (parse_args): Likewise.
896         * pe-dll.c (pe_dll_id_target): Likewise.
898 2021-03-25  Nick Alcock  <nick.alcock@oracle.com>
900         * testsuite/ld-ctf/array.d: Only check that the data object
901         section is nonempty: do not check its exact size.
902         * testsuite/ld-ctf/diag-parlabel.d: Likewise.
903         * testsuite/ld-ctf/slice.d: Likewise.
904         * testsuite/ld-ctf/data-func-conflicted.d: Likewise, and for the
905         func info section too.
906         * testsuite/ld-ctf/function.d: Likewise, for the func info section.
908 2021-03-22  Martin Liska  <mliska@suse.cz>
910         * emultempl/aix.em: Replace usage of CONST_STRNEQ with startswith.
911         * emultempl/beos.em: Likewise.
912         * emultempl/elf.em: Likewise.
913         * emultempl/pe.em: Likewise.
914         * emultempl/pep.em: Likewise.
915         * emultempl/xtensaelf.em: Likewise.
916         * ldctor.c (ctor_prio): Likewise.
917         * ldelf.c (ldelf_try_needed): Likewise.
918         (ldelf_parse_ld_so_conf): Likewise.
919         (ldelf_after_open): Likewise.
920         (output_rel_find): Likewise.
921         (ldelf_place_orphan): Likewise.
922         * ldfile.c (ldfile_add_library_path): Likewise.
923         * ldlang.c (lang_add_input_file): Likewise.
924         * ldmain.c (get_sysroot): Likewise.
925         (get_emulation): Likewise.
926         (add_archive_element): Likewise.
927         * ldwrite.c (unsplittable_name): Likewise.
928         (clone_section): Likewise.
929         * lexsup.c (parse_args): Likewise.
930         * pe-dll.c (is_import): Likewise.
931         (pe_implied_import_dll): Likewise.
933 2021-03-19  H.J. Lu  <hongjiu.lu@intel.com>
935         PR ld/27590
936         * testsuite/ld-x86-64/pr27590.rd: New file.
937         * testsuite/ld-x86-64/pr27590a.obj.bz2: Likewise.
938         * testsuite/ld-x86-64/pr27590b.obj.bz2: Likewise.
939         * testsuite/ld-x86-64/x86-64.exp: Run ld/27590 test.
941 2021-03-20  Alan Modra  <amodra@gmail.com>
943         PR 27590
944         * ldlang.c (lang_gc_sections): Clear SEC_EXCLUDE when relocatable
945         for all sections except .stabstr.
947 2021-03-19  Alan Modra  <amodra@gmail.com>
949         PR 27590
950         * testsuite/ld-elf/pr27590a.d: Match relocs using label, and
951         R_MIPS_NONE.
952         * testsuite/ld-elf/pr27590b.d: Likewise.
954 2021-03-18  H.J. Lu  <hongjiu.lu@intel.com>
956         PR ld/27590
957         * testsuite/ld-elf/pr27590.s: New file.
958         * testsuite/ld-elf/pr27590a.d: Likewise.
959         * testsuite/ld-elf/pr27590b.d: Likewise.
960         * testsuite/ld-i386/i386.exp: Also run ld/27193 test with
961         --reduce-memory-overheads.
963 2021-03-18  H.J. Lu  <hongjiu.lu@intel.com>
965         PR ld/27587
966         * testsuite/ld-x86-64/pr27587.err: New file.
967         * testsuite/ld-x86-64/pr27587a.obj.bz2: Likewise.
968         * testsuite/ld-x86-64/pr27587b.obj.bz2: Likewise.
969         * testsuite/ld-x86-64/x86-64.exp: Run PR ld/27587 test.
971 2021-03-18  Nick Alcock  <nick.alcock@oracle.com>
973         * testsuite/ld-ctf/slice.c: Check slices of enums too.
974         * testsuite/ld-ctf/slice.d: Results adjusted.
976 2021-03-16  Nick Clifton  <nickc@redhat.com>
978         * pe-dll.c (pe_find_cdecl_alias_match): Use memmove to overwrite
979         lname string.
981 2021-03-15  Jan Beulich  <jbeulich@suse.com>
983         * pe-dll.c (generate_reloc): Drop padding to reloc_s->size.
985 2021-03-12  Alan Modra  <amodra@gmail.com>
987         * Makefile.am (ALL_EMULATION_SOURCES): Move riscv files to..
988         (ALL_64_EMULATION_SOURCES): ..here.
989         * Makefile.in: Regenerate.
991 2021-03-12  Clément Chigot  <clement.chigot@atos.net>
993         * emultempl/aix.em: Ensure .tdata section is removed
994         if empty, even with -r flag.
995         * scripttempl/aix.sc: Handle TLS sections.
996         * testsuite/ld-powerpc/aix52.exp: Add new tests.
997         * testsuite/ld-powerpc/aix-tls-reloc-32.d: New test.
998         * testsuite/ld-powerpc/aix-tls-reloc-64.d: New test.
999         * testsuite/ld-powerpc/aix-tls-reloc.ex: New test.
1000         * testsuite/ld-powerpc/aix-tls-reloc.s: New test.
1001         * testsuite/ld-powerpc/aix-tls-section-32.d: New test.
1002         * testsuite/ld-powerpc/aix-tls-section-64.d: New test.
1003         * testsuite/ld-powerpc/aix-tls-section.ex: New test.
1004         * testsuite/ld-powerpc/aix-tls-section.s: New test.
1006 2021-03-12  Clément Chigot  <clement.chigot@atos.net>
1008         * scripttempl/aix.sc: Add .te to .data section.
1009         * testsuite/ld-powerpc/aix52.exp: Add test structure for AIX7+.
1010         Add aix-largetoc-1 test.
1011         * testsuite/ld-powerpc/aix-largetoc-1-32.d: New test.
1012         * testsuite/ld-powerpc/aix-largetoc-1-64.d: New test.
1013         * testsuite/ld-powerpc/aix-largetoc-1.ex: New test.
1014         * testsuite/ld-powerpc/aix-largetoc-1.s: New test.
1016 2021-03-12  Alan Modra  <amodra@gmail.com>
1018         * testsuite/ld-gc/gc.exp: Pass "-image-base 0" to ld for PE, and
1019         arrange to define __main for some run_dump_test tests.
1020         * testsuite/ld-gc/pr13683.d: Accept more symbols.
1021         * testsuite/ld-gc/pr14265.d: Likewise, and ordering.
1022         * testsuite/ld-scripts/crossref.exp: Pass "-image-base 0" to ld for PE.
1023         * testsuite/ld-srec/srec.exp: Likewise.
1024         * testsuite/lib/ld-lib.exp (ld_link_defsyms): Use is_pecoff_format.
1026 2021-03-11  Nelson Chu  <nelson.chu@sifive.com>
1028         * emultempl/riscvelf.em (after_allocation): Run ldelf_map_segments
1029         many times if riscv_restart_relax_sections returns TRUE.
1030         * testsuite/ld-riscv-elf/restart-relax.d: New testcase.  Before
1031         applying this patch, the call won't be relaxed to jal; But now we
1032         have more chances to do relaxations.
1033         * testsuite/ld-riscv-elf/restart-relax.s: Likewise.
1034         * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
1036 2021-03-10  Jan Beulich  <jbeulich@suse.com>
1038         * testsuite/ld-scripts/pr22267.t: Avoid symbol value with more
1039         than 32 set bits.
1040         * testsuite/ld-scripts/pr22267.d: Adjust expectation and drop
1041         comment.
1042         * scripttempl/mcorepe.sc: Use PROVIDE() for _stack.
1044 2021-03-09  Jan Beulich  <jbeulich@suse.com>
1046         * testsuite/ld-pe/reloc.s: Add entry point symbols. Increase
1047         alignment to 4k.
1048         * testsuite/ld-pe/reloc.d: xfail for mcore.
1050 2021-03-09  Jan Beulich  <jbeulich@suse.com>
1052         * testsuite/ld-scripts/alignof.exp,
1053         testsuite/ld-scripts/data.exp,
1054         testsuite/ld-scripts/default-script.exp,
1055         testsuite/ld-scripts/log2.exp,
1056         testsuite/ld-scripts/print-memory-usage.exp,
1057         testsuite/ld-scripts/sizeof.exp,
1058         testsuite/ld-undefined/weak-undef.exp: Set image base to zero
1059         for PE/COFF.
1060         * testsuite/ld-scripts/default-script1.d,
1061         testsuite/ld-scripts/default-script2.d,
1062         testsuite/ld-scripts/default-script3.d,
1063         testsuite/ld-scripts/default-script4.d: Drop xfail and comment.
1065 2021-03-05  H.J. Lu  <hongjiu.lu@intel.com>
1067         PR ld/27425
1068         PR ld/27432
1069         * ldelf.c (ldelf_set_output_arch): New function.
1070         * ldelf.h (ldelf_set_output_arch): New prototype.
1071         * emultempl/elf.em (LDEMUL_SET_OUTPUT_ARCH): Default to
1072         ldelf_set_output_arch.
1073         * ld-x86-64/pe-x86-64-1.od: Expect __executable_start.
1074         * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise.
1075         * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise.
1076         * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise.
1077         * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise.
1078         * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise.
1079         * testsuite/ld-x86-64/pe-x86-64-6.obj.bz2: New file.
1080         * testsuite/ld-x86-64/pe-x86-64-6.od: Likewise.
1081         * testsuite/ld-x86-64/pe-x86-64.exp: Run ld/27425 test.
1083 2021-03-04  Jan Beulich  <jbeulich@suse.com>
1085         * testsuite/ld-scripts/map-address.exp: Set image base to zero
1086         for PE/COFF.
1087         * testsuite/ld-scripts/map-address.t: Place .text.
1089 2021-03-04  Jan Beulich  <jbeulich@suse.com>
1091         * ldexp.c (ldexp_is_final_sym_absolute): New.
1092         * ldexp.h (ldexp_is_final_sym_absolute): Declare.
1093         * pe-dll.c (generate_reloc): Skip absolute symbols.
1094         * testsuite/ld-pe/reloc.s, testsuite/ld-pe/reloc.d: New.
1095         * testsuite/ld-pe/pe.exp: Run new test.
1097 2021-03-03  Alan Modra  <amodra@gmail.com>
1099         PR 27500
1100         * ldlang.c (insert_undefined): Don't mark symbols here.
1101         (lang_mark_undefineds): Do so here instead, new function.
1102         (lang_process): Call lang_mark_undefineds.
1103         * testsuite/ld-gc/start3.d,
1104         * testsuite/ld-gc/start3.s: New test.
1105         * testsuite/ld-gc/start4.d,
1106         * testsuite/ld-gc/start4.s: New test.
1107         * testsuite/ld-gc/gc.exp: Run them.
1109 2021-03-03  Alan Modra  <amodra@gmail.com>
1111         * testsuite/ld-gc/gc.exp: Define UNDERSCORE in ASFLAGS.
1112         Move tests with ELF section directives to is_elf_format block.
1113         * testsuite/ld-gc/abi-note.d: Run on more targets.
1114         * testsuite/ld-gc/pr19167.d: Likewise and adjust xfails.
1115         * testsuite/ld-gc/start.d: Likewise.
1116         * testsuite/ld-gc/start2.d: Likewise.
1117         * testsuite/ld-gc/stop.d: Likewise.
1118         * testsuite/ld-gc/pr19167a.s: Add support for underscore targets.
1119         * testsuite/ld-gc/start.s: Likewise.
1120         * testsuite/ld-gc/start2.s: Likewise.
1122 2021-03-02  Nick Alcock  <nick.alcock@oracle.com>
1124         * ldelfgen.c (ldelf_ctf_strtab_iter_cb): Skip zero-refcount strings.
1126 2021-03-02  Alan Modra  <amodra@gmail.com>
1128         * testsuite/ld-powerpc/startstop.d,
1129         * testsuite/ld-powerpc/startstop.r,
1130         * testsuite/ld-powerpc/startstop.s: New test.
1131         * testsuite/ld-powerpc/powerpc.exp: Run it.
1133 2021-03-02  Alan Modra  <amodra@gmail.com>
1135         * testsuite/ld-powerpc/weak1.d,
1136         * testsuite/ld-powerpc/weak1.r,
1137         * testsuite/ld-powerpc/weak1.s,
1138         * testsuite/ld-powerpc/weak1so.d,
1139         * testsuite/ld-powerpc/weak1so.r: New tests.
1140         * testsuite/ld-powerpc/powerpc.exp: Run them.
1142 2021-03-01  Hannes Domani  <ssbssa@sourceware.org>
1143             Nick Clifton  <nickc@redhat.com>
1145         PR 27268
1146         * scripttempl/pe.sc: Add DWARF-5 section names.
1147         * scripttempl/pep.sc: Likewise.
1149 2021-03-01  Alan Modra  <amodra@gmail.com>
1150             Fangrui Song <maskray@google.com>
1152         * emultempl/elf.em: Handle -z start-stop-gc and -z nostart-stop-gc.
1153         * lexsup.c (elf_static_list_options): Display help for them.  Move
1154         help for -z stack-size to here from elf_shlib_list_options. Add
1155         help for -z start-stop-visibility and -z undefs.
1156         * ld.texi: Document -z start-stop-gc and -z nostart-stop-gc.
1157         * NEWS: Mention -z start-stop-gc.
1158         * testsuite/ld-gc/start2.s,
1159         * testsuite/ld-gc/start2.d: New test.
1160         * testsuite/ld-gc/gc.exp: Run it.
1162 2021-03-01  Alan Modra  <amodra@gmail.com>
1164         * ldlang.c (undef_start_stop): For ELF make undefined start/stop
1165         symbols undefweak if that was how they were referenced.  Undo
1166         dynamic state too.
1168 2021-03-01  Alan Modra  <amodra@gmail.com>
1170         * testsuite/ld-elf/pr25708.d: Add --with-symbol-versions to nm.
1171         * testsuite/ld-elf/pr27128a.d: Likewise.
1172         * testsuite/ld-elf/pr27128b.d: Likewise.
1173         * testsuite/ld-elf/pr27128c.d: Likewise.
1174         * testsuite/ld-elf/pr27128d.d: Likewise.
1175         * testsuite/ld-elf/pr27128e.d: Likewise.
1177 2021-02-26  Alan Modra  <amodra@gmail.com>
1179         PR 27441
1180         * testsuite/ld-plugin/pr27441a.c,
1181         * testsuite/ld-plugin/pr27441b.c,
1182         * testsuite/ld-plugin/pr27441c.c,
1183         * testsuite/ld-plugin/pr27441c.d: New test.
1184         * testsuite/ld-plugin/lto.exp: Run it.
1186 2021-02-25  Jan Beulich  <jbeulich@suse.com>
1188         * ld.texi (PROVIDE): Downgrade "error" to "diagnostic".
1190 2021-02-21  Alan Modra  <amodra@gmail.com>
1192         * ldexp.c (exp_fold_tree_1): Warn on script defining a symbol
1193         defined in an object file.
1194         * ldmain.c (multiple_definition): Heed info->warn_multiple_definition.
1195         * testsuite/ld-scripts/defined5.d: Expect a warning.
1197 2021-02-19  Alan Modra  <amodra@gmail.com>
1199         * testsuite/lib/ld-lib.exp: Whitespace.
1200         (load_common_lib): Expand single use and delete this proc.
1201         (run_host_cmd): Use -fno-lto when getting gcc's ld version.
1202         Use -B for clang too.
1204 2021-02-18  Andrew Burgess  <andrew.burgess@embecosm.com>
1206         * testplugin.c (record_read_length): Remove debug fprintf.
1208 2021-02-14  Alan Modra  <amodra@gmail.com>
1210         * testsuite/ld-cdtest/cdtest.exp,
1211         * testsuite/ld-checks/checks.exp,
1212         * testsuite/ld-elf/binutils.exp,
1213         * testsuite/ld-elf/compress.exp,
1214         * testsuite/ld-elf/dwarf.exp,
1215         * testsuite/ld-elf/exclude.exp,
1216         * testsuite/ld-elf/frame.exp,
1217         * testsuite/ld-elf/indirect.exp,
1218         * testsuite/ld-elf/linux-x86.exp,
1219         * testsuite/ld-elf/sec-to-seg.exp,
1220         * testsuite/ld-elf/tls_common.exp,
1221         * testsuite/ld-elfcomm/elfcomm.exp,
1222         * testsuite/ld-elfvers/vers.exp,
1223         * testsuite/ld-elfvsb/elfvsb.exp,
1224         * testsuite/ld-elfweak/elfweak.exp,
1225         * testsuite/ld-ifunc/binutils.exp,
1226         * testsuite/ld-mips-elf/mips-elf-flags.exp,
1227         * testsuite/ld-misc/defsym.exp,
1228         * testsuite/ld-mn10300/mn10300.exp,
1229         * testsuite/ld-plugin/lto.exp,
1230         * testsuite/ld-plugin/plugin.exp,
1231         * testsuite/ld-scripts/align.exp,
1232         * testsuite/ld-scripts/assert.exp,
1233         * testsuite/ld-scripts/crossref.exp,
1234         * testsuite/ld-scripts/defined.exp,
1235         * testsuite/ld-scripts/extern.exp,
1236         * testsuite/ld-scripts/log2.exp,
1237         * testsuite/ld-scripts/map-address.exp,
1238         * testsuite/ld-scripts/phdrs.exp,
1239         * testsuite/ld-scripts/phdrs2.exp,
1240         * testsuite/ld-scripts/script.exp,
1241         * testsuite/ld-scripts/section-flags.exp,
1242         * testsuite/ld-scripts/sizeof.exp,
1243         * testsuite/ld-scripts/weak.exp,
1244         * testsuite/ld-selective/selective.exp,
1245         * testsuite/ld-sh/sh.exp,
1246         * testsuite/ld-shared/shared.exp,
1247         * testsuite/ld-srec/srec.exp,
1248         * testsuite/ld-tic6x/tic6x.exp,
1249         * testsuite/ld-undefined/undefined.exp,
1250         * testsuite/ld-undefined/weak-undef.exp,
1251         * testsuite/lib/ld-lib.exp: Don't use unresolved except after
1252         perror.  Instead report "unsupported" or "fail".
1254 2021-02-12  Nick Clifton  <nickc@redhat.com>
1256         * testsuite/ld-elf/sec64k.exp: Stop readelf from automatically
1257         following debug links.
1259 2021-02-11  Alan Modra  <amodra@gmail.com>
1261         * NEWS: Mention arm-symbianelf removal.
1263 2021-02-09  Alan Modra  <amodra@gmail.com>
1265         * Makefile.am (ALL_EMULATION_SOURCES): Remove earmsymbian.c.
1266         Don't include symbian dep file.
1267         * configure.tgt: Remove arm*-*-symbianelf* entry.
1268         * emulparams/armsymbian.sh: Delete.
1269         * ld.texi: Don't mention symbian.
1270         * scripttempl/armbpabi.sc: Delete.
1271         * testsuite/ld-arm/symbian-seg1.d: Delete.
1272         * testsuite/ld-arm/symbian-seg1.s: Delete.
1273         * testsuite/ld-arm/arm-elf.exp: Don't run symbian-seg1.
1274         * Makefile.in: Regenerate.
1275         * po/BLD-POTFILES.in: Regenerate.
1277 2021-02-07  H.J. Lu  <hongjiu.lu@intel.com>
1279         PR ld/27358
1280         * testsuite/ld-i386/i386.exp: Remove property 3/4/5 run-time
1281         tests.
1282         * testsuite/ld-x86-64/x86-64.exp: Likewise.
1284 2021-01-26  Nick Alcock  <nick.alcock@oracle.com>
1286         * ldlang.c (lang_merge_ctf): Set CTF_LINK_NO_FILTER_REPORTED_SYMS
1287         when appropriate.
1289 2021-02-04  H.J. Lu  <hongjiu.lu@intel.com>
1291         PR ld/19609
1292         * testsuite/ld-x86-64/pr19609-2a.d: Updated.
1293         * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
1294         * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
1295         * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
1296         * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
1297         * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
1298         * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
1300 2021-02-04  H.J. Lu  <hongjiu.lu@intel.com>
1302         PR ld/15146
1303         * testsuite/ld-plugin/lto.exp: Run PR ld/15146 tests.
1304         * testsuite/ld-plugin/pr15146.d: Restored.
1305         * testsuite/ld-plugin/pr15146a.c: Likewise.
1306         * testsuite/ld-plugin/pr15146b.c: Likewise.
1307         * testsuite/ld-plugin/pr15146c.c: Likewise.
1308         * testsuite/ld-plugin/pr15146d.c: Likewise.
1310 2021-02-04  Alan Modra  <amodra@gmail.com>
1312         * testsuite/ld-plugin/pr27311d.c: New test.
1313         * testsuite/ld-plugin/lto.exp: Rename pr27311 to pr27311-1, compile
1314         and link new test as pr27311-2.
1316 2021-02-03  Alan Modra  <amodra@gmail.com>
1318         * testsuite/ld-ifunc/ifunc.exp (libpr16467b.so, libpr16467bn.so):
1319         Link with --as-needed.
1321 2021-02-02  Alan Modra  <amodra@gmail.com>
1323         * testsuite/ld-plugin/pr27311.d,
1324         * testsuite/ld-plugin/pr27311.ver,
1325         * testsuite/ld-plugin/pr27311a.c,
1326         * testsuite/ld-plugin/pr27311b.c,
1327         * testsuite/ld-plugin/pr27311c.c: New testcase.
1328         * testsuite/ld-plugin/lto.exp: Run it.  Correct PR14918 and
1329         PR12982 entries.
1331 2021-02-01  Emery Hemingway  <ehmry@posteo.net>
1333         * configure.tgt: Add *-*-genode* as a target for AArch64 and x86.
1335 2021-02-01  Alan Modra  <amodra@gmail.com>
1337         * ldgram.y (defsym_expr): Use assignment rule.
1338         * ldlex.h (ldlex_defsym): Delete.
1339         * ldlex.l (DEFSYMEXP, ldlex_defsym): Delete.
1341 2021-02-01  Alan Modra  <amodra@gmail.com>
1343         * ldgram.y (section): Call ldlex_backup.  Remove empty action.
1344         * ldlex.h (ldlex_backup): Declare.
1345         * ldlex.l (<EXPRESSION>NAME): Don't use NOCFILENAMECHAR set of
1346         chars, use SYMBOLNAMECHAR.
1347         (ldlex_backup): New function.
1349 2021-02-01  Alan Modra  <amodra@gmail.com>
1351         * ldgram.y: Whitespace fixes.
1353 2021-02-01  Alan Modra  <amodra@gmail.com>
1355         * testsuite/ld-elf/pr27259.d: Correct sh_link match.
1357 2021-01-29  Alan Modra  <amodra@gmail.com>
1359         * testsuite/ld-tic6x/tic6x.exp: Add pr27271 test.
1361 2021-01-28  H.J. Lu  <hongjiu.lu@intel.com>
1363         PR ld/27259
1364         * testsuite/ld-elf/pr27259.d: New file.
1365         * testsuite/ld-elf/pr27259.s: Likewise.
1367 2021-01-28  Alan Modra  <amodra@gmail.com>
1369         PR 27259
1370         * ldelf.c (ldelf_before_place_orphans): Use linker_mark to
1371         prevent endless looping of linked-to sections.
1373 2021-01-26  H.J. Lu  <hongjiu.lu@intel.com>
1375         * testsuite/ld-x86-64/bnd-plt-1.d: Fix a typo.
1377 2021-01-26  Alan Modra  <amodra@gmail.com>
1379         PR 27226
1380         * emulparams/alphavms.sh: Don't set COMPILE_IN.
1381         * emulparams/elf64_ia64_vms.sh: Likewise.
1382         * emulparams/elf64mmix.sh: Likewise.
1383         * emulparams/elf_iamcu.sh: Likewise.
1384         * emulparams/elf_k1om.sh: Likewise.
1385         * emulparams/elf_l1om.sh: Likewise.
1386         * emulparams/mmo.sh: Likewise.
1387         * emulparams/pdp11.sh: Set DATA_SEG_ADDR.
1388         * scripttempl/pdp11.sc: Use it.
1389         * emultempl/pdp11.em: Don't edit .xn script for separate_code,
1390         instead use .xe script.  Support scripts from file system.
1391         * emultempl/beos.em: Support scripts from file system.
1392         * emultempl/pe.em: Likewise.
1393         * emultempl/pep.em: Likewise.
1394         * testsuite/ld-bootstrap/bootstrap.exp: Make tmpdir/ldscripts link.
1396 2021-01-25  Fangrui Song  <maskray@google.com>
1398         PR ld/27230
1399         * scripttempl/DWARF.sc: Add .debug_* sections.
1401 2021-01-25  Nick Clifton  <nickc@redhat.com>
1403         * scripttempl/DWARF.sc: Add .debug_loclists, .debug_rnglists,
1404         .debug_line_str and .debug_str_offsets.  Move .debug_macro and
1405         .debug_addr into DWARF-5 section.
1407 2021-01-21  Alan Modra  <amodra@gmail.com>
1409         * testsuite/ld-elf/pr26936.d: No longer xfail mips.
1411 2021-01-20  Alan Modra  <amodra@gmail.com>
1413         * testsuite/ld-powerpc/relbrlt.s: Make symbols global.
1414         * testsuite/ld-powerpc/relbrlt.d: Adjust to suit.
1415         * testsuite/ld-powerpc/tlsget.d: Adjust for reordered stubs.
1416         * testsuite/ld-powerpc/tlsget.wf: Likewise.
1417         * testsuite/ld-powerpc/tlsget2.d: Likewise.
1418         * testsuite/ld-powerpc/tlsget2.wf: Likewise.
1419         * testsuite/ld-powerpc/tlsexe.r: Adjust for removed section syms.
1420         * testsuite/ld-powerpc/tlsexe32.r: Likewise.
1421         * testsuite/ld-powerpc/tlsexe32no.r: Likewise.
1422         * testsuite/ld-powerpc/tlsexeno.r: Likewise.
1423         * testsuite/ld-powerpc/tlsexenors.r: Likewise.
1424         * testsuite/ld-powerpc/tlsexers.r: Likewise.
1425         * testsuite/ld-powerpc/tlsexetoc.r: Likewise.
1426         * testsuite/ld-powerpc/tlsexetocrs.r: Likewise.
1427         * testsuite/ld-powerpc/tlsso.r: Likewise.
1428         * testsuite/ld-powerpc/tlsso32.r: Likewise.
1429         * testsuite/ld-powerpc/tlstocso.r: Likewise.
1431 2021-01-19  Nick Alcock  <nick.alcock@oracle.com>
1433         * testsuite/ld-ctf/data-func-2.c: Stop removal of the extern foo_t
1434         symbols by the optimizer.
1435         * testsuite/ld-ctf/data-func-conflicted.d: Adjust accordingly.
1437 2021-01-19  Nelson Chu  <nelson.chu@sifive.com>
1439         * testsuite/ld-elf/elf.exp (riscv_little_endian): Added.  Return true
1440         if target is riscv little endian.  Otherwise, return false.
1441         * testsuite/ld-elf/compressed1d.d: Only xfail the riscv little endian
1442         targets by [riscv_little_endian].
1444 2021-01-18  Alan Modra  <amodra@gmail.com>
1446         PR 26378
1447         * ldlang.c (map_input_to_output_sections): Start with a read-only
1448         section for data statements.
1449         * testsuite/ld-elf/size-2.d: Adjust to suit.
1451 2021-01-17  H.J. Lu  <hongjiu.lu@intel.com>
1453         PR ld/27193
1454         * testsuite/ld-i386/i386.exp: Run PR ld/27193 test.
1455         * testsuite/ld-i386/pr27193.dd: New file.
1456         * testsuite/ld-i386/pr27193a.o.bz2: Likewise.
1457         * testsuite/ld-i386/pr27193b.s: Likewise.
1459 2021-01-16  H.J. Lu  <hongjiu.lu@intel.com>
1461         PR binutils/23460
1462         * testsuite/ld-plugin/lto.exp: Increase the max number of open
1463         files to 20 for PR binutils/23460 test.
1465 2021-01-16  H.J. Lu  <hongjiu.lu@intel.com>
1467         PR ld/23169
1468         * testsuite/ld-ifunc/ifunc.exp: Replace pr23169c.rd with
1469         pr23169a.rd for pr23169c and pr23169f.  Remove pr23169e tests.
1470         * testsuite/ld-ifunc/pr23169a.c (foo): Don't compare function
1471         address.
1473 2021-01-15  H.J. Lu  <hongjiu.lu@intel.com>
1475         * NEWS: Mention -z report-relative-reloc.
1476         * ld.texi: Document -z report-relative-reloc.
1477         * emulparams/elf32_x86_64.sh: Source x86-report-relative.sh.
1478         * emulparams/elf_i386.sh: Likewse.
1479         * emulparams/elf_x86_64.sh: Likewse.
1480         * emulparams/x86-report-relative.sh: New file.
1481         * testsuite/ld-i386/report-reloc-1.d: Likewse.
1482         * testsuite/ld-i386/report-reloc-1.l: Likewse.
1483         * testsuite/ld-i386/report-reloc-1.s: Likewse.
1484         * testsuite/ld-x86-64/report-reloc-1-x32.d: Likewse.
1485         * testsuite/ld-x86-64/report-reloc-1.d: Likewse.
1486         * testsuite/ld-x86-64/report-reloc-1.l: Likewse.
1487         * testsuite/ld-x86-64/report-reloc-1.s: Likewse.
1488         * testsuite/ld-i386/i386.exp: Run report-reloc-1.
1489         * testsuite/ld-x86-64/x86-64.exp: Run report-reloc-1 and
1490         report-reloc-1-x32.
1492 2021-01-16  Alan Modra  <amodra@gmail.com>
1494         PR 26002
1495         * testsuite/ld-elfvers/vers6.dsym: Expect "Base" for undefined
1496         unversioned symbols.
1497         * testsuite/ld-elfvers/vers16.dsym: Likewise.
1499 2021-01-15  Nelson Chu  <nelson.chu@sifive.com>
1501         * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-01.d: Updated.
1502         * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-02.d: Likewise.
1503         * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-03.d: Likewise.
1504         * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-04.d: Likewise.
1505         * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-05.d: Likewise.
1506         * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-06.d: Likewise.
1508 2021-01-14  Nick Clifton  <nickc@redhat.com>
1510         * po/fr.po: Updated French translation.
1512 2021-01-14  Mike Frysinger  <vapier@gentoo.org>
1514         * testsuite/config/default.exp [bfin*-elf*] (gcc_B_opt): Add -msim.
1516 2021-01-14  Alan Modra  <amodra@gmail.com>
1518         PR 27160
1519         * ldelfgen.c (compare_link_order): Protect access of ELF section
1520         data.
1521         (add_link_order_input_section): Remove redundant NULL check.
1522         Use bfd_get_flavour.
1523         (ldelf_map_segments): Use bfd_get_flavour.
1525 2021-01-13  H.J. Lu  <hongjiu.lu@intel.com>
1527         * ldelfgen.c (add_link_order_input_section): Check for ELF input
1528         before accessing ELF section data.
1530 2021-01-13  Alan Modra  <amodra@gmail.com>
1532         * Makefile.in: Regenerate.
1534 2021-01-13  Alan Modra  <amodra@gmail.com>
1536         PR 27160
1537         * ldlang.h (lang_output_section_statement_type): Add data field.
1538         (lang_input_section_type, lang_section_bst_type): Add pattern field.
1539         (statement_list): Declare.
1540         (lang_add_section): Adjust prototype.
1541         * emultempl/aarch64elf.em: Adjust lang_add_section calls.
1542         * emultempl/armelf.em: Likewise.
1543         * emultempl/beos.em: Likewise.
1544         * emultempl/cskyelf.em: Likewise.
1545         * emultempl/hppaelf.em: Likewise.
1546         * emultempl/m68hc1xelf.em: Likewise.
1547         * emultempl/metagelf.em: Likewise.
1548         * emultempl/mipself.em: Likewise.
1549         * emultempl/mmo.em: Likewise.
1550         * emultempl/msp430.em: Likewise.
1551         * emultempl/nios2elf.em: Likewise.
1552         * emultempl/pe.em: Likewise.
1553         * emultempl/pep.em: Likewise.
1554         * emultempl/ppc64elf.em: Likewise.
1555         * emultempl/spuelf.em: Likewise.
1556         * emultempl/vms.em: Likewise.
1557         * ldelf.c: Likewise.
1558         * ldelfgen.c: Include ldctor.h.
1559         (struct os_sections): New.
1560         (add_link_order_input_section, link_order_scan): New functions.
1561         (compare_link_order, fixup_link_order): New functions.
1562         (ldelf_map_segments): Call link_order_scan and fixup_link_order.
1563         * ldlang.c (statement_list): Make global.
1564         (output_section_callback_fast): Save pattern in tree node.
1565         (lang_add_section): Add pattern parameter, save in lang_input_section.
1566         (output_section_callback_tree_to_list): Adjust lang_add_section calls.
1567         (lang_insert_orphan, output_section_callback): Likewise.
1568         (ldlang_place_orphan): Likewise.
1569         (gc_section_callback): Don't set section->pattern.
1570         * testsuite/ld-elf/pr26256-2a.d: Don't xfail generic.
1571         * testsuite/ld-elf/pr26256-3b.d: Likewise.
1572         * testsuite/ld-elf/pr26256-2b.d: Likewise.  notarget xgate.
1574 2021-01-13  Alan Modra  <amodra@gmail.com>
1576         * ldlang.h (callback_t): Remove flag_info function parameter.
1577         * ldlang.c (walk_wild_consider_section): Adjust to suit.
1578         (walk_wild_section_general): Likewise.
1579         (output_section_callback_fast, output_section_callback): Likewise.
1580         (check_section_callback, gc_section_callback): Likewise.
1581         (find_relro_section_callback): Likewise.
1583 2021-01-12  H.J. Lu  <hongjiu.lu@intel.com>
1585         PR binutils/26792
1586         * configure.ac: Use GNU_MAKE_JOBSERVER.
1587         * aclocal.m4: Regenerated.
1588         * configure: Likewise.
1590 2021-01-12  H.J. Lu  <hongjiu.lu@intel.com>
1592         PR ld/27171
1593         * testsuite/ld-x86-64/pe-x86-64-5.obj.bz2: New file.
1594         * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise.
1595         * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise.
1596         * testsuite/ld-x86-64/pe-x86-64.exp: Run PR ld/27171 test.
1598 2021-01-11  H.J. Lu  <hongjiu.lu@intel.com>
1600         PR ld/27173
1601         * configure: Regenerated.
1603 2021-01-11  Matt Jenkins  <matt@majenko.co.uk>
1605         PR ld/27167
1606         * ldmain.c (get_emulation): Add mipsmips32r3, mips32r5, mips64r3
1607         and mips64r5 to list of known mips targets.
1609 2021-01-11  Nick Clifton  <nickc@redhat.com>matt@majenko.co.uk
1611         * po/pt_BR.po: Updated Brazilian Portuguese translation.
1612 `       * po/uk.po: Updated Ukranian translation.
1614 2021-01-09  H.J. Lu  <hongjiu.lu@intel.com>
1616         * configure: Regenerated.
1618 2021-01-09  H.J. Lu  <hongjiu.lu@intel.com>
1620         PR ld/27166
1621         * testsuite/ld-x86-64/lam-u48.rd: New file.
1622         * testsuite/ld-x86-64/lam-u57.rd: Likewise.
1623         * testsuite/ld-x86-64/x86-64.exp: Add PR ld/27166 tests.
1625 2021-01-09  Nick Clifton  <nickc@redhat.com>
1627         * configure: Regenerate.
1628         * po/ld.pot: Regenerate.
1630 2021-01-09  Nick Clifton  <nickc@redhat.com>
1632         * 2.36 release branch crated.
1634 2021-01-08  H.J. Lu  <hongjiu.lu@intel.com>
1636         * ld-x86-64/property-x86-lam-u48-4.d: Updated.
1637         * ld-x86-64/property-x86-lam-u48-5.d: Likewise.
1639 2021-01-09  Alan Modra  <amodra@gmail.com>
1641         * configure: Regenerate.
1642         * Makefile.in: Regenerate.
1644 2021-01-07  Samuel Thibault  <samuel.thibault@gnu.org>
1646         * configure: Regenerate.
1648 2021-01-07  H.J. Lu  <hongjiu.lu@intel.com>
1650         PR 27109
1651         * testsuite/ld-elf/export-class.sd: Adjust the expected output.
1652         * testsuite/ld-elf/loadaddr3b.d: Likewise.
1653         * testsuite/ld-i386/ibt-plt-1.d: Likewise.
1654         * testsuite/ld-i386/ibt-plt-2a.d: Likewise.
1655         * testsuite/ld-i386/ibt-plt-2c.d: Likewise.
1656         * testsuite/ld-i386/ibt-plt-3a.d: Likewise.
1657         * testsuite/ld-i386/ibt-plt-3c.d: Likewise.
1658         * testsuite/ld-i386/pr19636-1d.d: Likewise.
1659         * testsuite/ld-i386/pr19636-1l.d: Likewise.
1660         * testsuite/ld-i386/pr19636-2c.d: Likewise.
1661         * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise.
1662         * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise.
1663         * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Likewise.
1664         * testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise.
1665         * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1666         * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1667         * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise.
1668         * testsuite/ld-ifunc/pr17154-i386.d: Likewise.
1669         * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
1670         * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
1671         * testsuite/ld-x86-64/bnd-branch-1-now.d: Likewise.
1672         * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise.
1673         * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise.
1674         * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
1675         * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise.
1676         * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
1677         * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise.
1678         * testsuite/ld-x86-64/ibt-plt-1.d: Likewise.
1679         * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise.
1680         * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise.
1681         * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise.
1682         * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise.
1683         * testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise.
1684         * testsuite/ld-x86-64/ibt-plt-3a.d: Likewise.
1685         * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise.
1686         * testsuite/ld-x86-64/ibt-plt-3c.d: Likewise.
1687         * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
1688         * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
1689         * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
1690         * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
1691         * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
1692         * testsuite/ld-x86-64/pr19636-2l.d: Likewise.
1693         * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
1694         * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
1695         * testsuite/ld-x86-64/pr21038b-now.d: Likewise.
1696         * testsuite/ld-x86-64/pr21038b.d: Likewise.
1697         * testsuite/ld-x86-64/pr21038c-now.d: Likewise.
1698         * testsuite/ld-x86-64/pr21038c.d: Likewise.
1699         * testsuite/ld-x86-64/pr23854.d: Likewise.
1700         * testsuite/ld-x86-64/pr25416-3.d: Likewise.
1701         * testsuite/ld-x86-64/pr25416-4.d: Likewise.
1702         * testsuite/ld-i386/plt-pic.pd: Likewise.
1703         * testsuite/ld-i386/plt-pic2.dd: Likewise.
1704         * testsuite/ld-i386/plt.pd: Likewise.
1705         * testsuite/ld-i386/plt2.dd: Likewise.
1706         * testsuite/ld-i386/tlsbin.rd: Likewise.
1707         * testsuite/ld-i386/tlsbin2.rd: Likewise.
1708         * testsuite/ld-i386/tlsbindesc.rd: Likewise.
1709         * testsuite/ld-i386/tlsdesc.rd: Likewise.
1710         * testsuite/ld-i386/tlsgdesc.rd: Likewise.
1711         * testsuite/ld-i386/tlsnopic.rd: Likewise.
1712         * testsuite/ld-i386/tlspic.rd: Likewise.
1713         * testsuite/ld-i386/tlspic2.rd: Likewise.
1714         * testsuite/ld-x86-64/mpx3.dd: Likewise.
1715         * testsuite/ld-x86-64/mpx3n.dd: Likewise.
1716         * testsuite/ld-x86-64/mpx4.dd: Likewise.
1717         * testsuite/ld-x86-64/mpx4n.dd: Likewise.
1718         * testsuite/ld-x86-64/pe-x86-64-1.od: Likewise.
1719         * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise.
1720         * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise.
1721         * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise.
1722         * testsuite/ld-x86-64/plt.pd: Likewise.
1723         * testsuite/ld-x86-64/plt2.dd: Likewise.
1724         * testsuite/ld-x86-64/tlsbin.rd: Likewise.
1725         * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
1726         * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
1727         * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1728         * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
1729         * testsuite/ld-x86-64/tlspic.rd: Likewise.
1730         * testsuite/ld-x86-64/tlspic2.rd: Likewise.
1731         * testsuite/ld-elf/sec64k.exp: Check
1732         is_elf_unused_section_symbols.
1734 2021-01-07  Alan Modra  <amodra@gmail.com>
1736         * testsuite/ld-scripts/fill.d: Skip sh-*-pe rather than xfail.
1737         * testsuite/ld-scripts/fill16.d: Don't xfail sh-*-pe.
1738         * testsuite/ld-scripts/segment-start.d: Likewise.
1740 2021-01-07  Alan Modra  <amodra@gmail.com>
1742         * testsuite/ld-elf/comm-data5.d: xfail targets that complain
1743         about dynamic relocations in read-only sections.
1744         * testsuite/ld-elf/ehdr_start-shared.d: Likewise.
1745         * testsuite/ld-elf/ehdr_start.d: Likewise.
1746         * testsuite/ld-scripts/pr22267.d: Likewise.
1747         * testsuite/ld-elf/shared.exp: Likewise for DT_TEXTREL tests and
1748         pr20995 text.
1749         * testsuite/ld-elf/sec64k.exp: Don't run 64ksec on lm32-linux.
1751 2021-01-07  Marcus Comstedt  <marcus@mc.pp.se>
1753         * testsuite/ld-scripts/empty-address-2a.d: xfail riscv64*-*-*.
1754         * testsuite/ld-scripts/empty-address-2b.d: Likewise.
1756 2021-01-07  Alan Modra  <amodra@gmail.com>
1758         * po/BLD-POTFILES.in: Regenerate.
1760 2021-01-07  Alan Modra  <amodra@gmail.com>
1762         * testsuite/ld-elf/shared.exp: xfail pr22471 for targets that
1763         complain about relocs in read-only sections.  Tidy ASFLAGS append.
1765 2021-01-06  Alan Modra  <amodra@gmail.com>
1767         * testsuite/ld-sparc/sparc.exp (sparc64tests): Set text-segment
1768         base for some tests.
1769         * testsuite/ld-sparc/gotop32.dd: Match solaris output.
1770         * testsuite/ld-sparc/gotop32.sd: Likewise.
1771         * testsuite/ld-sparc/gotop32.td: Likewise.
1772         * testsuite/ld-sparc/gotop64.dd: Likewise.
1773         * testsuite/ld-sparc/gotop64.sd: Likewise.
1774         * testsuite/ld-sparc/gotop64.td: Likewise.
1775         * testsuite/ld-sparc/tlsg32.sd: Likewise.
1776         * testsuite/ld-sparc/tlsg64.sd: Likewise.
1777         * testsuite/ld-sparc/tlspie32.dd: Likewise.
1778         * testsuite/ld-sparc/tlspie64.dd: Likewise.
1779         * testsuite/ld-sparc/tlssunbin32.dd: Likewise.
1780         * testsuite/ld-sparc/tlssunbin32.sd: Likewise.
1781         * testsuite/ld-sparc/tlssunbin32.td: Likewise.
1782         * testsuite/ld-sparc/tlssunbin64.dd: Likewise.
1783         * testsuite/ld-sparc/tlssunbin64.sd: Likewise.
1784         * testsuite/ld-sparc/tlssunbin64.td: Likewise.
1785         * testsuite/ld-sparc/tlssunnopic32.dd: Likewise.
1786         * testsuite/ld-sparc/tlssunnopic32.sd: Likewise.
1787         * testsuite/ld-sparc/tlssunnopic64.dd: Likewise.
1788         * testsuite/ld-sparc/tlssunnopic64.sd: Likewise.
1789         * testsuite/ld-sparc/tlssunpic32.dd: Likewise.
1790         * testsuite/ld-sparc/tlssunpic32.sd: Likewise.
1791         * testsuite/ld-sparc/tlssunpic32.td: Likewise.
1792         * testsuite/ld-sparc/tlssunpic64.dd: Likewise.
1793         * testsuite/ld-sparc/tlssunpic64.sd: Likewise.
1794         * testsuite/ld-sparc/tlssunpic64.td: Likewise.
1795         * testsuite/ld-sparc/wdispcall.dd: Likewise.
1797 2021-01-06  Alan Modra  <amodra@gmail.com>
1799         * testsuite/ld-scripts/rgn-at10.d: xfail v850.
1800         * testsuite/ld-scripts/rgn-at11.d: Likewise.
1802 2021-01-06  Marcus Comstedt  <marcus@mc.pp.se>
1804         * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Added
1805         riscv_choose_[ilp32|lp64]_emul to choose the correct linker script.
1806         * testsuite/ld-riscv-elf/attr-merge-arch-01.d: Call
1807         riscv_choose_[ilp32|lp64]_emul instead of hardcoding elf[32|64]lriscv.
1808         * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
1809         * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
1810         * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Likewise.
1811         * testsuite/ld-riscv-elf/attr-merge-arch-failed-02.d: Likewise.
1812         * testsuite/ld-riscv-elf/c-lui-2.d: Likewise.
1813         * testsuite/ld-riscv-elf/c-lui.d: Likewise.
1814         * testsuite/ld-riscv-elf/call-relax.d: Likewise.
1815         * testsuite/ld-riscv-elf/pcrel-lo-addend-2.d: Likewise.
1816         * testsuite/ld-riscv-elf/pcrel-lo-addend.d: Likewise.
1817         * testsuite/ld-riscv-elf/weakref32.d: Accept bigriscv in addition
1818         to littleriscv.
1819         * testsuite/ld-riscv-elf/weakref64.d: Likewise.
1821 2021-01-06  Marcus Comstedt  <marcus@mc.pp.se>
1823         * configure.tgt: Added riscvbe-*-*, riscv32be*-*-*, riscv64be*-*-*,
1824         riscv32be*-*-linux*, and riscv64be*-*-linux*.
1825         * Makefile.am: Added eelf32briscv.c, eelf32briscv_ilp32f.c and
1826         eelf32briscv_ilp32.c.
1827         * Makefile.in: Regenerate.
1828         * emulparams/elf32briscv.sh: Added.
1829         * emulparams/elf32briscv_ilp32.sh: Likewise.
1830         * emulparams/elf32briscv_ilp32f.sh: Likewise.
1831         * emulparams/elf64briscv.sh: Likewise.
1832         * emulparams/elf64briscv_lp64.sh: Likewise.
1833         * emulparams/elf64briscv_lp64f.sh: Likewise.
1835 2021-01-05  Nick Alcock  <nick.alcock@oracle.com>
1837         * testsuite/ld-ctf/enum-forward.c: New test.
1838         * testsuite/ld-ctf/enum-forward.c: New results.
1840 2021-01-05  Nick Alcock  <nick.alcock@oracle.com>
1842         * testsuite/ld-ctf/array.d: Adjust for dumper changes.
1843         * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
1844         * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
1845         * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
1846         * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
1847         * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
1848         * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
1849         * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
1850         * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
1851         * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
1852         * testsuite/ld-ctf/conflicting-enums.d: Likewise.
1853         * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
1854         * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
1855         * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
1856         * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
1857         * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
1858         * testsuite/ld-ctf/cycle-1.d: Likewise.
1859         * testsuite/ld-ctf/cycle-2.A.d: Likewise.
1860         * testsuite/ld-ctf/cycle-2.B.d: Likewise.
1861         * testsuite/ld-ctf/cycle-2.C.d: Likewise.
1862         * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
1863         * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
1864         * testsuite/ld-ctf/diag-cuname.d: Likewise.
1865         * testsuite/ld-ctf/diag-parlabel.d: Likewise.
1866         * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise.
1867         * testsuite/ld-ctf/forward.d: Likewise.
1868         * testsuite/ld-ctf/function.d: Likewise.
1869         * testsuite/ld-ctf/slice.d: Likewise.
1870         * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
1871         * testsuite/ld-ctf/enums.c: New test.
1872         * testsuite/ld-ctf/enums.d: New test.
1874 2021-01-05  Nick Alcock  <nick.alcock@oracle.com>
1876         * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Adjust for dumper
1877         changes.
1878         * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
1879         * testsuite/ld-ctf/forward.c: New test...
1880         * testsuite/ld-ctf/forward.d: ... and results.
1882 2021-01-05  Nick Alcock  <nick.alcock@oracle.com>
1884         * testsuite/ld-ctf/array.d: Adjust for dumper changes.
1885         * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
1886         * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
1887         * testsuite/ld-ctf/diag-cuname.d: Likewise.
1888         * testsuite/ld-ctf/diag-parlabel.d: Likewise.
1889         * testsuite/ld-ctf/function.d: Likewise.
1890         * testsuite/ld-ctf/slice.d: Likewise.
1892 2021-01-05  Nick Alcock  <nick.alcock@oracle.com>
1894         * testsuite/ld-ctf/array.d: Adjust for dumper changes.
1895         * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
1896         * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
1897         * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
1898         * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
1899         * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
1900         * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
1901         * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
1902         * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
1903         * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
1904         * testsuite/ld-ctf/conflicting-enums.d: Likewise.
1905         * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
1906         * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
1907         * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
1908         * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
1909         * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
1910         * testsuite/ld-ctf/cycle-1.d: Likewise.
1911         * testsuite/ld-ctf/cycle-2.A.d: Likewise.
1912         * testsuite/ld-ctf/cycle-2.B.d: Likewise.
1913         * testsuite/ld-ctf/cycle-2.C.d: Likewise.
1914         * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
1915         * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
1916         * testsuite/ld-ctf/diag-cuname.d: Likewise.
1917         * testsuite/ld-ctf/diag-parlabel.d: Likewise.
1918         * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise.
1919         * testsuite/ld-ctf/function.d: Likewise.
1920         * testsuite/ld-ctf/slice.d: Likewise.
1921         * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
1923 2021-01-05  Alan Modra  <amodra@gmail.com>
1925         * testsuite/ld-scripts/sysroot-prefix.exp: Exclude some targets.
1927 2021-01-05  Alan Modra  <amodra@gmail.com>
1929         PR ld/26256
1930         * testsuite/ld-elf/pr26256-1b.d: xfail s12z.
1931         * testsuite/ld-scripts/crossref.exp (cross1): Don't xfail ia64.
1933 2021-01-04  H.J. Lu  <hongjiu.lu@intel.com>
1935         PR ld/26256
1936         * ldlang.c (gc_section_callback): Set pattern.
1937         * testsuite/ld-elf/pr26256-1.s: New file.
1938         * testsuite/ld-elf/pr26256-1.t: Likewise.
1939         * testsuite/ld-elf/pr26256-1a.d: Likewise.
1940         * testsuite/ld-elf/pr26256-1b.d: Likewise.
1941         * testsuite/ld-elf/pr26256-2.s: Likewise.
1942         * testsuite/ld-elf/pr26256-2.t: Likewise.
1943         * testsuite/ld-elf/pr26256-2a.d: Likewise.
1944         * testsuite/ld-elf/pr26256-2b-alt.d: Likewise.
1945         * testsuite/ld-elf/pr26256-2b.d: Likewise.
1946         * testsuite/ld-elf/pr26256-3.s: Likewise.
1947         * testsuite/ld-elf/pr26256-3a.d: Likewise.
1948         * testsuite/ld-elf/pr26256-3a.t: Likewise.
1949         * testsuite/ld-elf/pr26256-3b.d: Likewise.
1950         * testsuite/ld-elf/pr26256-3b.t: Likewise.
1952 2021-01-04  Alan Modra  <amodra@gmail.com>
1954         PR 26822
1955         * testsuite/ld-arm/non-contiguous-arm2.d: Adjust STT_FILE symbol match.
1956         * testsuite/ld-arm/non-contiguous-arm3.d: Likewise.
1957         * testsuite/ld-arm/non-contiguous-arm5.d: Likewise.
1958         * testsuite/ld-arm/non-contiguous-arm6.d: Likewise.
1959         * testsuite/ld-i386/tlsbin.rd: Likewise.
1960         * testsuite/ld-i386/tlsbin2.rd: Likewise.
1961         * testsuite/ld-i386/tlsbindesc.rd: Likewise.
1962         * testsuite/ld-i386/tlsdesc.rd: Likewise.
1963         * testsuite/ld-i386/tlsnopic.rd: Likewise.
1964         * testsuite/ld-i386/tlspic.rd: Likewise.
1965         * testsuite/ld-i386/tlspic2.rd: Likewise.
1966         * testsuite/ld-mips-elf/global-local-symtab-sort-n64.d: Likewise.
1967         * testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d: Likewise.
1968         * testsuite/ld-mips-elf/global-local-symtab-sort-o32.d: Likewise.
1969         * testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d: Likewise.
1970         * testsuite/ld-plugin/pr17973.d: Likewise.
1971         * testsuite/ld-tic6x/shlib-1.rd: Likewise.
1972         * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
1973         * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
1974         * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
1975         * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
1976         * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
1977         * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
1978         * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
1979         * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
1980         * testsuite/ld-tic6x/static-app-1.rd: Likewise.
1981         * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
1982         * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
1983         * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
1984         * testsuite/ld-x86-64/tlsbin.rd: Likewise.
1985         * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
1986         * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
1987         * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1988         * testsuite/ld-x86-64/tlspic.rd: Likewise.
1989         * testsuite/ld-x86-64/tlspic2.rd: Likewise.
1990         * testsuite/ld-xtensa/tlsbin.rd: Likewise.
1991         * testsuite/ld-xtensa/tlspic.rd: Likewise.
1993 2021-01-01  Nicolas Boulenguez  <nicolas@debian.org>
1995         * configure.tgt: Correct comment grammar.
1996         * emultempl/m68hc1xelf.em: Likewise.
1997         * ld.texi: Correct grammar.
1999 2021-01-01  Alan Modra  <amodra@gmail.com>
2001         Update year range in copyright notice of all files.
2003 For older changes see ChangeLog-2020
2005 Copyright (C) 2021-2023 Free Software Foundation, Inc.
2007 Copying and distribution of this file, with or without modification,
2008 are permitted in any medium without royalty provided the copyright
2009 notice and this notice are preserved.
2011 Local Variables:
2012 mode: change-log
2013 left-margin: 8
2014 fill-column: 74
2015 version-control: never
2016 End: