1 2023-01-05 Nick Clifton <nickc@redhat.com>
3 * configure.tgt: Add arm64pe as an extra emulation for aarch64pe.
4 * Makefile.am (ALL_64_EMULATION_SOURCES): Add earm64pe.c
5 * emultempl/pep.em: Add suppport for arm64pe emulation.
6 * Makefile.in: Regenerate.
7 * po/BLD-POTFILES.in: Regenerate.
8 * po/ld.pot: Regenerate.
10 2023-01-05 Andreas K. Huettel <dilfridge@gentoo.org>
12 * testsuite/ld-elf/shared.exp: un-xfail the PR19710 test for the
15 2023-01-04 Andreas K. Huettel <dilfridge@gentoo.org>
18 * testsuite/ld-aarch64/bti-plt-5.d: Relax regxps slightly to allow
19 for differences in build environments.
20 * testsuite/ld-aarch64/tls-relax-gdesc-le-now.d: Likewise.
22 2023-01-03 Nick Clifton <nickc@redhat.com>
24 * po/uk.po: Updated Ukrainian translation.
26 2022-12-31 Nick Clifton <nickc@redhat.com>
28 * 2.40 branch created.
30 2022-12-21 Nick Clifton <nickc@redhat.com>
33 * scripttempl/pe.sc: Keep the .drectve section when performing a
35 * scripttempl/pep.sc: Likewise.
37 2022-12-08 Nick Clifton <nickc@redhat.com>
40 * ld.texi (Output Section Type): Note that setting the output
41 section type only works if the section contains untyped data.
43 2022-12-05 Nick Clifton <nickc@redhat.com>
46 * ldlang.c (spec_match): Check that there is sufficient length in
47 the target name to match the spec's prefix.
49 2022-11-03 Nick Clifton <nickc@redhat.com>
52 * configure.tgt (ac_default_ld_warn_rwx_segments): Set to 0 for
55 2022-11-03 Nick Clifton <nickc@redhat.com>
58 * scripttempl/avr.sc (__DATA_REGION_ORIGIN__): Define. If a value
59 has not been provided on the command line then use DATA_ORIGIN.
60 (MEMORY): Use __DATA_REGION_ORIGIN__ as the start of the data region.
62 2022-10-21 Nick Clifton <nickc@redhat.com>
65 * ld.h (struct ld_config_type): Add no_warnings field.
66 * ldlex.h (enum option_values): Add OPTION_NO_WARNINGS.
67 * lexsup.c (ld_options): Add --no-warnings.
68 (parse_args): Add support for -w and --no-warnings.
69 * ldmisc.c (vfinfo): Return early if the message is a warning and
71 * ld.texi (options): Document new command line option.
72 * NEWS: Mention the new feature.
74 2022-08-30 Nick Clifton <nickc@redhat.com>
77 * testsuite/ld-x86-64/pr27587.err: Update expected output.
79 2022-08-18 Ralf Habacker <ralf.habacker@freenet.de>
82 * testsuite/ld-pe/pe-run2-def.exp: New file.
84 2022-08-03 Alan Modra <amodra@gmail.com>
87 * ldlang.h (lang_input_statement_struct): Add sort_key field.
88 * emultempl/pe.em (after_open): If multiple import libraries refer
89 to the same bfd, store their names in the sort_key field.
90 * emultempl/pep.em (after_open): Likewise.
91 * ldlang.c (sort_filename): New function. Returns the filename to
92 be used when sorting input files.
93 (wild_sort): Use the sort_filename function.
95 2022-07-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
98 * configure.tgt (ac_default_ld_warn_rwx_segments): Extend to all
99 sparc targets. Expand comment.
101 2022-07-26 Nick Clifton <nickc@redhat.com>
104 * configure.tgt (ac_default_ld_warn_rwx_segments): Disable for
105 sparc-solaris configurations.
107 2022-07-08 Nick Clifton <nickc@redhat.com>
109 * 2.39 branch created.
111 2022-06-27 Nick Clifton <nickc@redhat.com>
114 * configure.ac: Move HPPA specific code from here...
115 * configure.tgt: ... to here. Add similar code for MIPS.
116 Move code for CRIS, MIPS and HPPA to block at start of file.
117 * configure: Regenerate.
119 2022-06-21 Nick Clifton <nickc@redhat.com>
122 * configure.ac (ac_default_ld_warn_execstack): Default to 'no' for
124 (ac_default_ld_warn_rwx_segments): Likewise.
125 * configure: Regenerate.
126 * testsuite/ld-elf/elf.exp: Add the --warn-execstack command line
127 option to the command line when running execstack tests for the
130 2022-05-12 Alan Modra <amodra@gmail.com>
133 * pe-dll.c (dll_name): Delete, replacing with..
134 (dll_filename): ..this, moved earlier in file.
135 (generate_edata): Delete parameters. Don't set up dll_name here..
136 (pe_process_import_defs): ..instead set up dll_filename and
137 dll_symname here before returning.
138 (dll_symname_len): Delete write-only variable.
139 (pe_dll_generate_implib): Don't set up dll_symname here.
141 2022-05-03 Nick Clifton <nickc@redhat.com>
144 * libdep_plugin.c (get_libdeps): Check for overflow when computing
145 amount of memory to allocate.
147 2022-04-27 Nick Clifton <nickc@redhat.com>
150 * pe-dll.c (make_head): Use asprintf to allocate and populate a
151 buffer containing the temporary name.
152 (make_tail, make_one, make_singleton_name_thunk): Likewise.
153 (make_import_fixup_mark, make_import_fixup_entry): Likewise.
154 (make_runtime_pseudo_reloc): Likewise.
155 (pe_create_runtime_relocator_reference): Likewise.
157 2022-04-25 Nick Clifton <nickc@redhat.com>
160 * testsuite/ld-elf/pr29072.b.warn: Update to include the note
161 about the linker's behaviour being depreccated.
163 2022-04-20 Clément Chigot <clement.chigot@atos.net>
165 * emultempl/aix.em (params): New variable.
166 (stub_file): New variable.
167 (xcoff_add_stub_section): New function.
168 (xcoff_layout_sections_again): New function
169 (hook_in_stub): New function.
170 (_after_allocation): Add stub creation.
171 (_create_output_section_statements): Allocate stub file and
172 pass params to backend.
174 2022-04-20 Clément Chigot <clement.chigot@atos.net>
176 * emultempl/aix.em (_after_allocation): New function.
178 2022-04-07 Mark Harmstone <mark@harmstone.com>
180 * testsuite/ld-pe/secidx1.s: New test source file.
181 * testsuite/ld-pe/secidx2.s: New test source file.
182 * testsuite/ld-pe/secidx.d: New test driver file.
183 * testsuite/ld-pe/secidx_64.d: New test driver file.
184 * testsuite/ld-pe/pe.exp: Add new tests.
186 2022-03-01 Nick Clifton <nickc@redhat.com>
189 * testsuite/ld-elf/pr21964-1a.c: Fix array comparisons.
190 * testsuite/ld-elf/pr21964-1b.c: Likewise.
191 * testsuite/ld-elf/pr21964-1c.c: Likewise.
192 * testsuite/ld-elf/pr21964-2a.c: Likewise.
193 * testsuite/ld-elf/pr21964-2b.c: Likewise.
194 * testsuite/ld-elf/pr21964-3a.c: Likewise.
196 2022-02-17 Roland McGrath <mcgrathr@google.com>
198 * ld.texi (Output Section Type): Fix typo in @code syntax.
200 2022-02-17 Nick Clifton <nickc@redhat.com>
202 * po/sr.po: Updated Serbian translation.
204 2022-02-16 Fangrui Song <maskray@google.com>
205 Nick Clifton <nickc@redhat.com>
208 * ld.texi: Document new output section type.
209 * ldlex.l: Add new token TYPE.
210 * ldgram.y: Handle TYPE=exp and READONLY (TYPE=exp).
211 * ldlang.h: Add type_section to list of section types.
212 * ldlang.c (lang_add_section): Handle type_section.
213 (map_input_to_output_sections): Handle type_section.
214 * testsuite/ld-scripts/output-section-types.t: Add tests.
215 * testsuite/ld-scripts/output-section-types.d: Update.
217 2022-02-02 Nick Clifton <nickc@redhat.com>
219 * po/fr.po: Updated French translation.
221 2022-01-24 Nick Clifton <nickc@redhat.com>
223 * po/bg.po: Updated Bulgarian translation.
224 * po/uk.po: Updated Ukranian translation.
226 2022-01-22 Alexander von Gluck IV <kallisti5@unixzen.com>
228 * configure.tgt (arm-haiku): Fix typo.
229 * emulparams/armelf_haiku.su (MAXPAGESIZE): Use the default value.
230 (COMMONPAGESIZE): Likewise.
232 2022-01-22 Nick Clifton <nickc@redhat.com>
234 * configure: Regenerate.
235 * po/ld.pot: Regenerate.
237 2022-01-22 Nick Clifton <nickc@redhat.com>
239 * 2.38 release branch created.
241 2022-01-21 Nick Clifton <nickc@redhat.com>
243 * po/sr.po: Updated Serbian translation.
245 2022-01-17 Nick Clifton <nickc@redhat.com>
247 * Makefile.in: Regenerate.
248 * po/ld.pot: Regenerate.
250 2022-01-11 Martin Storsjö <martin@martin.st>
252 * pe-dll.c (make_head): Prefix the symbol name with the dll name.
253 (make_tail, make_one, make_singleton_name_thunk): Likewise.
254 (make_import_fixup_entry, make_runtime_pseudo_reloc): Likewise.
255 (pe_create_runtime_relocator_reference): Likewise.
256 (pe_dll_generate_implib): Set dll_symname_len.
257 (pe_process_import_defs): Likewise.
259 2021-12-16 Nick Clifton <nickc@redhat.com>
262 * testsuite/ld-avr/avr-prop-7.d: Adjust expected output.
263 * testsuite/ld-avr/avr-prop-8.d: Likewise.
264 * testsuite/ld-avr/pr13402.d: Likewise.
266 2021-11-30 Nick Clifton <nickc@redhat.com>
268 * scripttempl/pru.sc (.pru_irq_map): Define output section.
269 * testsuite/ld-pru/pru_irq_map-1.d: New test.
270 * testsuite/ld-pru/pru_irq_map-2.d: New test.
271 * testsuite/ld-pru/pru_irq_map.s: New test.
273 2021-11-17 Jeremy Drake <cygwin@jdrake.com>
275 * emultempl/pep.em (DEFAULT_DLL_CHARACTERISTICS): Set to 0 for
277 * emultempl/pep.em (DEFAULT_DLL_CHARACTERISTICS): Likewise.
279 2021-11-17 Nick Clifton <nickc@redhat.com>
282 * ldgram.y: Add support for PT_GNU_RELRO and PT_GNU_PROPERTY.
283 * ldgram.c: Regenerate.
285 2021-11-15 Roland McGrath <mcgrathr@google.com>
287 * testsuite/ld-aarch64/dt_textrel.d: Pass explicit -z notext in
288 case ld was configured with --enable-textrel-check=error.
289 * testsuite/ld-aarch64/pr22764.d: Likewise.
290 * testsuite/ld-aarch64/pr20402.d: Likewise.
292 2021-10-25 Nick Alcock <nick.alcock@oracle.com>
294 * testsuite/ld-ctf/nonrepresentable-member.*: New test.
296 2021-10-25 Nick Alcock <nick.alcock@oracle.com>
298 * testsuite/ld-ctf/array.d: Change --ctf=.ctf to --ctf.
299 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
300 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
301 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
302 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
303 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
304 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
305 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
306 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
307 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
308 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
309 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
310 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
311 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
312 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
313 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
314 * testsuite/ld-ctf/cycle-1.d: Likewise.
315 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
316 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
317 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
318 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
319 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
320 * testsuite/ld-ctf/diag-cuname.d: Likewise.
321 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
322 * testsuite/ld-ctf/enum-forward.d: Likewise.
323 * testsuite/ld-ctf/enums.d: Likewise.
324 * testsuite/ld-ctf/forward.d: Likewise.
325 * testsuite/ld-ctf/function.d: Likewise.
326 * testsuite/ld-ctf/nonrepresentable.d: Likewise.
327 * testsuite/ld-ctf/slice.d: Likewise.
328 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
330 2021-09-30 Dimitar Dimitrov <dimitar@dinux.eu>
332 * scripttempl/pru.sc (.resource_table): Align the output
333 section, not the first symbol.
335 2021-09-27 Nick Alcock <nick.alcock@oracle.com>
337 * configure: Regenerate.
339 2021-09-21 Nick Clifton <nickc@redhat.com>
341 * ldlang.c (lang_end): When computing the entry point, only
342 try the start address of the entry section when creating an
344 * ld.texi (Entry point): Update description of heuristic used to
345 choose the entry point.
346 testsuite/ld-alpha/tlspic.rd: Update expected entry point address.
347 testsuite/ld-arm/tls-gdesc-got.d: Likewise.
348 testsuite/ld-i386/tlsnopic.rd: Likewise.
349 testsuite/ld-ia64/tlspic.rd: Likewise.
350 testsuite/ld-sparc/gotop32.rd: Likewise.
351 testsuite/ld-sparc/gotop64.rd: Likewise.
352 testsuite/ld-sparc/tlssunnopic32.rd: Likewise.
353 testsuite/ld-sparc/tlssunnopic64.rd: Likewise.
354 testsuite/ld-sparc/tlssunpic32.rd: Likewise.
355 testsuite/ld-sparc/tlssunpic64.rd: Likewise.
356 testsuite/ld-tic6x/shlib-1.rd: Likewise.
357 testsuite/ld-tic6x/shlib-1b.rd: Likewise.
358 testsuite/ld-tic6x/shlib-1r.rd: Likewise.
359 testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
360 testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
361 testsuite/ld-x86-64/pr14207.d: Likewise.
362 testsuite/ld-x86-64/tlsdesc.rd: Likewise.
363 testsuite/ld-x86-64/tlspic.rd: Likewise.
364 testsuite/ld-x86-64/tlspic2.rd: Likewise.
366 2021-09-15 Claudiu Zissulescu <claziss@synopsys.com>
368 * testsuite/ld-arc/got-weak.d: Update file.
370 2021-09-14 Claudiu Zissulescu <claziss@synopsys.com>
372 * ld-arc/got-weak.d: New file.
373 * ld-arc/got-weak.s: Likewise.
375 2021-07-26 Roland McGrath <mcgrathr@google.com>
377 * testsuite/ld-x86-64/x86-64.exp (Build textrel-1): Use --warn-textrel.
379 2021-07-06 Michael Matz <matz@suse.de>
382 * testsuite/ld-riscv-elf/relax-twice.ver: New.
383 * testsuite/ld-riscv-elf/relax-twice-1.s: New.
384 * testsuite/ld-riscv-elf/relax-twice-2.s: New.
385 * testsuite/ld-riscv-elf/ld-riscv-elf.exp
386 (run_relax_twice_test): New, and call it.
388 2021-07-03 Nick Clifton <nickc@redhat.com>
390 * configure: Regenerate.
391 * po/ld.pot: Regenerate.
393 2021-07-03 Nick Clifton <nickc@redhat.com>
395 * 2.37 release branch created.
397 2021-06-22 Nelson Chu <nelson.chu@sifive.com>
399 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
400 * testsuite/ld-riscv-elf/pcrel-lo-addend-3a.d: New testcase.
401 * testsuite/ld-riscv-elf/pcrel-lo-addend-3a.s: Likewise.
402 * testsuite/ld-riscv-elf/pcrel-lo-addend-3b.d: New testcase.
403 Should report error since the %pcrel_lo with addend refers to
405 * testsuite/ld-riscv-elf/pcrel-lo-addend-3b.s: Likewise.
406 * testsuite/ld-riscv-elf/pcrel-lo-addend-3c.d: New testcase.
407 Should report error since the %got_pcrel_hi with addend.
408 * testsuite/ld-riscv-elf/pcrel-lo-addend-3c.s: Likewise.
409 * testsuite/ld-riscv-elf/pcrel-lo-addend-3.ld: Likewise.
411 2021-06-19 H.J. Lu <hongjiu.lu@intel.com>
414 * testsuite/ld-i386/i386.exp: Run PR ld/27998 tests.
415 * testsuite/ld-i386/pr27998a.d: New file.
416 * testsuite/ld-i386/pr27998a.s: Likewise.
417 * testsuite/ld-i386/pr27998b.d: Likewise.
418 * testsuite/ld-i386/pr27998b.s: Likewise.
420 2021-06-19 H.J. Lu <hongjiu.lu@intel.com>
422 * testsuite/ld-x86-64/textrel-1.err: New file.
423 * testsuite/ld-x86-64/textrel-1a.s: Likewise.
424 * testsuite/ld-x86-64/textrel-1b.s: Likewise.
425 * testsuite/ld-x86-64/x86-64.exp: Run textrel-1 tests.
427 2021-06-18 H.J. Lu <hongjiu.lu@intel.com>
429 * testsuite/ld-elf/property-and-1.d: Skip am33_2.0, hppa-hpux
431 Pass --generate-missing-build-notes=no to assembler. Allow
432 other note sections for xtensa.
433 * testsuite/ld-elf/property-and-2.d: Likewise.
434 * testsuite/ld-elf/property-and-3.d: Likewise.
435 * testsuite/ld-elf/property-and-4.d: Likewise.
436 * testsuite/ld-elf/property-or-1.d: Likewise.
437 * testsuite/ld-elf/property-or-2.d: Likewise.
438 * testsuite/ld-elf/property-or-3.d: Likewise.
439 * testsuite/ld-elf/property-or-4.d: Likewise.
441 2021-06-18 H.J. Lu <hongjiu.lu@intel.com>
443 * ld.texi: Move -z unique-symbol after -z undefs.
445 2021-06-18 H.J. Lu <hongjiu.lu@intel.com>
447 * testsuite/ld-elf/property-and-1.d: New file.
448 * testsuite/ld-elf/property-and-1.s: Likewise.
449 * testsuite/ld-elf/property-and-2.d: Likewise.
450 * testsuite/ld-elf/property-and-2.s: Likewise.
451 * testsuite/ld-elf/property-and-3.d: Likewise.
452 * testsuite/ld-elf/property-and-3.s: Likewise.
453 * testsuite/ld-elf/property-and-4.d: Likewise.
454 * testsuite/ld-elf/property-and-empty.s: Likewise.
455 * testsuite/ld-elf/property-or-1.d: Likewise.
456 * testsuite/ld-elf/property-or-1.s: Likewise.
457 * testsuite/ld-elf/property-or-2.d: Likewise.
458 * testsuite/ld-elf/property-or-2.s: Likewise.
459 * testsuite/ld-elf/property-or-3.d: Likewise.
460 * testsuite/ld-elf/property-or-3.s: Likewise.
461 * testsuite/ld-elf/property-or-4.d: Likewise.
462 * testsuite/ld-elf/property-or-empty.s: Likewise.
464 2021-06-17 H.J. Lu <hongjiu.lu@intel.com>
467 * testsuite/ld-x86-64/x86-64.exp: Pass $NOPIE_LDFLAGS and
468 $NOPIE_CFLAGS to protected-func-1 without PIE.
470 2021-06-17 H.J. Lu <hongjiu.lu@intel.com>
473 * testsuite/ld-x86-64/x86-64.exp: Run protected function tests.
474 * testsuite/ld-x86-64/protected-func-1.h: New file.
475 * testsuite/ld-x86-64/protected-func-1a.s: Likewise.
476 * testsuite/ld-x86-64/protected-func-1b.c: Likewise.
478 2021-06-17 Fangrui Song <maskray@google.com>
480 * ldlex.h (enum option_values): Add OPTION_NO_PIE.
481 * lexsup.c (struct ld_options): Add -no-pie.
482 (parse_args): Handle -no-pie.
483 * ld.texi: Document -no-pie.
485 2021-06-15 Alan Modra <amodra@gmail.com>
487 * testsuite/ld-pie/vaddr-0.d: Update expected output.
489 2021-06-11 Alan Modra <amodra@gmail.com>
492 * ldelf.c (ldelf_after_open): Error on input PIEs too.
494 2021-06-09 Nick Clifton <nickc@redhat.com>
497 * testsuite/ld-sparc/sparc.exp: Do not run the sparctests or
498 sparc64tests for Solaris2 targets.
500 2021-06-03 Alan Modra <amodra@gmail.com>
503 * ld.texi (link-time runtime library search path): Mention
504 plugin library path. Correct order of search.
506 2021-05-31 Nelson Chu <nelson.chu@sifive.com>
507 Lifang Xia <lifang_xia@c-sky.com>
510 * emultempl/riscvelf.em (after_allocation): Call
511 riscv_set_data_segment_info to set data segment phase before relaxing.
512 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
513 * testsuite/ld-riscv-elf/relro-relax-lui.d: New testcase.
514 * testsuite/ld-riscv-elf/relro-relax-lui.s: Likewise.
515 * testsuite/ld-riscv-elf/relro-relax-pcrel.d: Likewise.
516 * testsuite/ld-riscv-elf/relro-relax-pcrel.s: Likewise.
518 2021-05-28 H.J. Lu <hongjiu.lu@intel.com>
521 * testsuite/ld-i386/pcrel16-2.d: xfail.
522 * testsuite/ld-x86-64/pcrel16-2.d: Likewise.
524 2021-05-26 H.J. Lu <hongjiu.lu@intel.com>
527 * testsuite/ld-i386/code16.d: New file.
528 * testsuite/ld-i386/code16.t: Likewise.
529 * testsuite/ld-x86-64/code16.d: Likewise.
530 * testsuite/ld-x86-64/code16.t: Likewise.
531 * testsuite/ld-i386/i386.exp: Run code16.
532 * testsuite/ld-x86-64/x86-64.exp: Likewise.
534 2021-05-26 H.J. Lu <hongjiu.lu@intel.com>
536 * testsuite/ld-x86-64/ilp32-12.d: New file.
537 * testsuite/ld-x86-64/ilp32-12.s: Likewise.
538 * testsuite/ld-x86-64/x86-64.exp: Run ilp32-12.
540 2021-05-14 Nelson Chu <nelson.chu@sifive.com>
542 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
543 * testsuite/ld-riscv-elf/pcrel-lo-addend-2a.d: Renamed from
545 * testsuite/ld-riscv-elf/pcrel-lo-addend-2a.s: Likewise.
546 * testsuite/ld-riscv-elf/pcrel-lo-addend-2b.d: New testcase.
547 * testsuite/ld-riscv-elf/pcrel-lo-addend-2b.s: Likewise.
549 2021-05-13 Fangrui Song <maskray@google.com>
552 * ldlex.h (enum option_values): Add OPTION_NO_SYMBOLIC.
553 * lexsup.c (ld_options): Add -Bno-symbolic.
554 (parse_args): Handle -Bno-symbolic.
555 * ld.texi: Document -Bno-symbolic.
556 * NEWS: Mention -Bno-symbolic.
557 * testsuite/ld-elf/shared.exp: Add a test.
559 2021-05-12 Richard Earnshaw <rearnsha@arm.com>
561 * testsuite/ld-arm/arm-elf.exp (farcall test for v8-m.mainline):
562 Correct expected output.
564 2021-05-11 Roland McGrath <mcgrathr@google.com>
566 * testsuite/ld-x86-64/rela.d: Fix regexp not to presume a specific
567 address layout, so it works for e.g. --target=x86-64-elf.
569 2021-05-11 Nick Clifton <nickc@redhat.com>
572 * Makefile.am (install-data-local): Also delete libdep.dll.a if it
574 * Makefile.in: Regenerate.
576 2021-05-10 Dimitar Dimitrov <dimitar@dinux.eu>
578 * testsuite/ld-elf/group8a.d: Remove pru from XFAIL list.
579 * testsuite/ld-elf/group8b.d: Ditto.
580 * testsuite/ld-elf/group9a.d: Ditto.
581 * testsuite/ld-elf/group9b.d: Ditto.
582 * testsuite/ld-elf/pr12851.d: Ditto.
583 * testsuite/ld-elf/pr22677.d: Ditto.
584 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Remove
587 2021-05-10 Dimitar Dimitrov <dimitar@dinux.eu>
589 * scripttempl/pru.sc (.resource_table): Add ALIGN directive.
590 Use symbols for memory sizes.
592 2021-05-08 Mike Frysinger <vapier@gentoo.org>
594 * Makefile.am (html-local, doc/ld/index.html): New targets.
595 * Makefile.in: Regenerate.
597 2021-05-08 Mike Frysinger <vapier@gentoo.org>
599 * Makefile.am (AM_MAKEINFOFLAGS): Add --no-split.
600 * Makefile.in: Regenerate.
602 2021-05-07 Jan Beulich <jbeulich@suse.com>
604 * testsuite/ld-x86-64/rela.d: New.
605 * testsuite/ld-x86-64/x86-64.exp: Run new test.
607 2021-05-07 Nick Clifton <nickc@redhat.com>
609 * ldelfgen.c (compare_link_order): Ignore section size when
610 performing a relocateable link.
612 2021-05-07 Alan Modra <amodra@gmail.com>
614 * ldexp.c (update_definedness): Don't return false for absolute
616 * ldmain.c (multiple_definition): Print "warning: " in message
617 when not a hard error.
619 2021-05-07 Alan Modra <amodra@gmail.com>
621 * testsuite/ld-elf/pr27825-1.d: Correct xfail.
622 * testsuite/ld-elf/pr27825-2.d: Likewise.
624 2021-05-06 Stafford Horne <shorne@gmail.com>
627 testsuite/ld-or1k/or1k.exp (or1kplttests): Add tests for linking
628 along with gotha() relocations.
629 testsuite/ld-or1k/gotha1.dd: New file.
630 testsuite/ld-or1k/gotha1.s: New file.
631 testsuite/ld-or1k/gotha2.dd: New file.
632 testsuite/ld-or1k/gotha2.s: New file
633 testsuite/ld-or1k/pltlib.s (x): Define size to avoid link
636 2021-05-06 Nick Alcock <nick.alcock@oracle.com>
638 * testsuite/ld-ctf/ctf.exp: Use -gctf, not -gt.
639 * testsuite/lib/ld-lib.exp: Likewise.
640 * testsuite/ld-ctf/nonrepresentable-1.c: New test for nonrepresentable types.
641 * testsuite/ld-ctf/nonrepresentable-2.c: Likewise.
642 * testsuite/ld-ctf/nonrepresentable.d: Likewise.
643 * testsuite/ld-ctf/array.d: Larger type section.
644 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
645 * testsuite/ld-ctf/enums.d: Likewise.
646 * testsuite/ld-ctf/conflicting-enums.d: Don't compare types.
647 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Changed type order.
648 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
649 * testsuite/ld-ctf/slice.d: Adjust for improved slice emission.
651 2021-05-05 H.J. Lu <hongjiu.lu@intel.com>
654 * testsuite/ld-elf/pr27825-1.d: New file.
655 * testsuite/ld-elf/pr27825-1a.s: Likewise.
656 * testsuite/ld-elf/pr27825-1b.s: Likewise.
657 * testsuite/ld-elf/pr27825-2.d: Likewise.
658 * testsuite/ld-elf/pr27825-2a.s: Likewise.
659 * testsuite/ld-elf/pr27825-2b.s: Likewise.
661 2021-05-05 Alan Modra <amodra@gmail.com>
663 * testsuite/ld-powerpc/empty.s: New file.
664 * testsuite/ld-powerpc/undefweak.d,
665 * testsuite/ld-powerpc/undefweak.s: New testcase.
666 * testsuite/ld-powerpc/powerpc.exp: Run it.
668 2021-05-03 Alan Modra <amodra@gmail.com>
670 * testsuite/ld-s390/tlspic_64.rd: Adjust expected output for
671 named section symbols.
673 2021-04-28 Nick Clifton <nickc@redhat.com>
675 * testsuite/ld-elf/anno-sym.s: New test source file.
676 * testsuite/ld-elf/anno-sym.d: New test driver.
677 * testsuite/ld-elf/anno-sym.l: New test error output.
679 2021-04-26 Jan Beulich <jbeulich@suse.com>
681 * testsuite/ld-i386/pcrel16-2.s, testsuite/ld-i386/pcrel16-2.d,
682 testsuite/ld-x86-64/pcrel16-2.d: New.
683 * testsuite/ld-i386/i386.exp: Run new test.
684 * testsuite/ld-x86-64/x86-64.exp: Likewise.
686 2021-04-23 H.J. Lu <hongjiu.lu@intel.com>
689 * testsuite/ld-bootstrap/bootstrap.exp: Create a symbolic link
690 to tmpdir/ldscripts only if it doesn't exist.
692 2021-04-22 Jan Beulich <jbeulich@suse.com>
695 * testsuite/ld-pe/pr26659-weak-undef-sym.d: Relax for Cygwin.
697 2021-04-21 Nick Clifton <nickc@redhat.com>
699 * testsuite/ld-aarch64/variant_pcs-now.d: Adjust expected output
700 to allow for named section symbols.
701 * testsuite/ld-aarch64/variant_pcs-r.d: Likewise.
702 * testsuite/ld-aarch64/variant_pcs-shared.d: Likewise.
703 * testsuite/ld-alpha/tlsbin.rd: Likewise.
704 * testsuite/ld-alpha/tlsbinr.rd: Likewise.
705 * testsuite/ld-alpha/tlspic.rd: Likewise.
706 * testsuite/ld-arm/rodata-merge-map.sym: Likewise.
707 * testsuite/ld-arm/script-type.sym: Likewise.
708 * testsuite/ld-cris/libdso-2.d: Likewise.
709 * testsuite/ld-cris/pr16044.d: Likewise.
710 * testsuite/ld-elf/sec64k.exp: Likewise.
711 * testsuite/ld-ia64/tlsbin.rd: Likewise.
712 * testsuite/ld-ia64/tlspic.rd: Likewise.
713 * testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d: Likewise.
714 * testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d: Likewise.
715 * testsuite/ld-mmix/bspec1.d: Likewise.
716 * testsuite/ld-mmix/bspec2.d: Likewise.
717 * testsuite/ld-mmix/local1.d: Likewise.
718 * testsuite/ld-mmix/local3.d: Likewise.
719 * testsuite/ld-mmix/local5.d: Likewise.
720 * testsuite/ld-mmix/local7.d: Likewise.
721 * testsuite/ld-mmix/undef-3.d: Likewise.
722 * testsuite/ld-powerpc/tlsso.r: Likewise.
723 * testsuite/ld-powerpc/tlsso32.r: Likewise.
724 * testsuite/ld-powerpc/tlstocso.r: Likewise.
725 * testsuite/ld-s390/tlsbin.rd: Likewise.
726 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
727 * testsuite/ld-s390/tlspic.rd: Likewise.
728 * testsuite/ld-s390/tlspic_64.rd: Likewise.
729 * testsuite/ld-sparc/gotop32.rd: Likewise.
730 * testsuite/ld-sparc/gotop64.rd: Likewise.
731 * testsuite/ld-sparc/tlssunbin32.rd: Likewise.
732 * testsuite/ld-sparc/tlssunbin64.rd: Likewise.
733 * testsuite/ld-sparc/tlssunnopic32.rd: Likewise.
734 * testsuite/ld-sparc/tlssunnopic64.rd: Likewise.
735 * testsuite/ld-sparc/tlssunpic32.rd: Likewise.
736 * testsuite/ld-sparc/tlssunpic64.rd: Likewise.
737 * testsuite/ld-tic6x/common.d: Likewise.
738 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
739 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
740 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
741 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
742 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
743 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
744 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
745 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
746 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
747 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
748 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
749 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
750 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
752 2021-04-20 Clément Chigot <clement.chigot@atos.net>
755 * testsuite/ld-powerpc/aix52.exp: Add new test.
756 * testsuite/ld-powerpc/aix-neg-reloc-32.d: New test.
757 * testsuite/ld-powerpc/aix-neg-reloc-64.d: New test.
758 * testsuite/ld-powerpc/aix-neg-reloc.ex: New test.
759 * testsuite/ld-powerpc/aix-neg-reloc.s: New test.
761 2021-04-13 Nick Clifton <nickc@redhat.com>
763 * ld.texi (Options): Add note about the effect of --as-needed on
764 the --rpath and --rpath-link options on Linux based systems.
766 2021-04-13 Alan Modra <amodra@gmail.com>
769 * libdep_plugin.c (str2vec): Don't pass a potentially signed char
772 2021-04-12 Alan Modra <amodra@gmail.com>
774 * configure.ac (--enable-checking): Add support.
775 * config.in: Regenerate.
776 * configure: Regenerate.
778 2021-04-12 Alan Modra <amodra@gmail.com>
780 * emultempl/mipself.em (mips_create_output_section_statements):
781 Pass base type of hash table to is_elf_hash_table.
782 * ldelf.c (ldelf_after_open): Likewise.
784 2021-04-12 Alan Modra <amodra@gmail.com>
787 * ldlang.c (lang_mark_undefineds, undef_start_stop): Test that
788 the symbol hash table is the correct type before accessing
789 elf_link_hash_entry symbols.
790 * plugin.c (is_visible_from_outside): Likewise.
791 * emultempl/armelf.em (ld${EMULATION_NAME}_finish): Likewise.
792 * emultempl/solaris2.em (elf_solaris2_before_allocation): Likewise.
794 2021-04-09 Alan Modra <amodra@gmail.com>
796 * testsuite/ld-powerpc/inlinepcrel-1.d: Update expected output.
797 * testsuite/ld-powerpc/inlinepcrel-2.d: Likewise.
798 * testsuite/ld-powerpc/notoc2.d: Likewise.
799 * testsuite/ld-powerpc/notoc3.d: Likewise.
800 * testsuite/ld-powerpc/pcrelopt.d: Likewise.
801 * testsuite/ld-powerpc/startstop.d: Likewise.
802 * testsuite/ld-powerpc/tlsget.d: Likewise.
803 * testsuite/ld-powerpc/tlsget2.d: Likewise.
804 * testsuite/ld-powerpc/tlsld.d: Likewise.
805 * testsuite/ld-powerpc/weak1.d: Likewise.
806 * testsuite/ld-powerpc/weak1so.d: Likewise.
808 2021-04-06 Jan Beulich <jbeulich@suse.com>
810 * pe-dll.c (generate_reloc): Bail immediately when .reloc is
811 being discarded. Warn when relocated entry is above .reloc.
813 2021-04-05 Alan Modra <amodra@gmail.com>
815 * configure.ac: Move initfini-array arg handling earlier. Don't
816 check for string.h, strings.h, stdlib.h, or locale.h. Do check
817 for inttypes.h, stdint.h, sys/types.h. Don't check for
818 setlocale, free, getev or strstr.
819 (AC_ISC_POSIX): Don't invoke.
820 * sysdep.h: Include string.h and stdlib.h unconditionally. Test
821 HAVE_SYS_TYPE_H and HAVE_SYS_STAT_H. Remove strstr, free and
822 getenv fallback declarations.
823 * ld.h: Don't test HAVE_LOCALE_H.
824 * ldmain.c: Don't test HAVE_SETLOCALE.
825 * config.in: Regenerate.
826 * configure: Regenerate.
828 2021-04-01 Tamar Christina <tamar.christina@arm.com>
831 * testsuite/ld-pe/pe.exp: Add test.
832 * testsuite/ld-pe/pr26659-weak-undef-sym.d: New test.
833 * testsuite/ld-pe/pr26659-weak-undef-sym.s: New test.
835 2021-04-01 Martin Liska <mliska@suse.cz>
837 * ldbuildid.c (strneq): Remove strneq and use startswith.
838 (validate_build_id_style): Likewise.
839 (compute_build_id_size): Likewise.
841 2021-03-31 Alan Modra <amodra@gmail.com>
843 * sysdep.h (POISON_BFD_BOOLEAN): Define.
844 * configure.ac (elf_list_options, elf_shlib_list_options=false),
845 (elf_plt_unwind_list_options=false): Replace FALSE with false,
847 * emulparams/call_nop.sh, * emulparams/cet.sh,
848 * emulparams/dynamic_undefined_weak.sh,
849 * emulparams/elf32b4300.sh, * emulparams/elf32lm32.sh,
850 * emulparams/elf32lr5900.sh, * emulparams/elf32lr5900n32.sh,
851 * emulparams/elf32visium.sh, * emulparams/elf_x86_64.sh,
852 * emulparams/extern_protected_data.sh, * emulparams/plt_unwind.sh,
853 * emulparams/reloc_overflow.sh, * emulparams/static.sh,
854 * emulparams/x86-64-lam.sh, * emultempl/aarch64elf.em,
855 * emultempl/aix.em, * emultempl/alphaelf.em,
856 * emultempl/armcoff.em, * emultempl/armelf.em,
857 * emultempl/avrelf.em, * emultempl/beos.em, * emultempl/bfin.em,
858 * emultempl/cr16elf.em, * emultempl/crxelf.em,
859 * emultempl/cskyelf.em, * emultempl/elf.em, * emultempl/genelf.em,
860 * emultempl/hppaelf.em, * emultempl/linux.em,
861 * emultempl/m68hc1xelf.em, * emultempl/metagelf.em,
862 * emultempl/mipself.em, * emultempl/mmix-elfnmmo.em,
863 * emultempl/mmixelf.em, * emultempl/mmo.em, * emultempl/msp430.em,
864 * emultempl/nios2elf.em, * emultempl/pdp11.em, * emultempl/pe.em,
865 * emultempl/pep.em, * emultempl/ppc32elf.em,
866 * emultempl/ppc64elf.em, * emultempl/rxelf.em,
867 * emultempl/rxlinux.em, * emultempl/scoreelf.em,
868 * emultempl/solaris2.em, * emultempl/spuelf.em,
869 * emultempl/ticoff.em, * emultempl/v850elf.em, * emultempl/vms.em,
870 * emultempl/xtensaelf.em, * emultempl/z80.em, * ld.h,
871 * ldbuildid.c, * ldbuildid.h, * ldcref.c, * ldctor.c, * ldctor.h,
872 * ldelf.c, * ldelf.h, * ldelfgen.c, * ldelfgen.h, * ldemul.c,
873 * ldemul.h, * ldexp.c, * ldexp.h, * ldfile.c, * ldfile.h,
874 * ldgram.y, * ldlang.c, * ldlang.h, * ldmain.c, * ldmain.h,
875 * ldmisc.c, * ldmisc.h, * ldwrite.c, * lexsup.c, * mri.c,
876 * pe-dll.c, * pe-dll.h, * pep-dll.h, * plugin.c, * plugin.h,
877 * testplug.c, * testplug2.c, * testplug3.c, * testplug4.c: Replace
878 bfd_boolean with bool, FALSE with false, and TRUE with true.
879 * configure: Regenerate.
881 2021-03-31 Alan Modra <amodra@gmail.com>
883 * elf-hints-local.h: Include stdint.h in place of bfd_stdint.h.
884 * emultempl/nds32elf.em: Likewise.
885 * testsuite/ld-elf/mbind2b.c: Likewise.
886 * testsuite/ld-elf/pr18718.c: Likewise.
887 * testsuite/ld-elf/pr18720a.c: Likewise.
888 * testsuite/ld-elf/pr25749-1.c: Likewise.
889 * testsuite/ld-elf/pr25749-1a.c: Likewise.
890 * testsuite/ld-elf/pr25749-1b.c: Likewise.
891 * testsuite/ld-elf/pr25749-1c.c: Likewise.
892 * testsuite/ld-elf/pr25749-1d.c: Likewise.
893 * testsuite/ld-elf/pr25749-2.c: Likewise.
894 * testsuite/ld-elf/pr25754-1a.c: Likewise.
895 * testsuite/ld-elf/pr25754-2a.c: Likewise.
896 * testsuite/ld-elf/pr25754-3a.c: Likewise.
897 * testsuite/ld-elf/pr25754-4a.c: Likewise.
898 * testsuite/ld-elf/pr25754-5a.c: Likewise.
899 * testsuite/ld-elf/pr25754-6a.c: Likewise.
901 2021-03-29 Alan Modra <amodra@gmail.com>
903 * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Simplify
905 * lexsup.c (parse_args): Likewise.
906 * pe-dll.c (pe_dll_id_target): Likewise.
908 2021-03-25 Nick Alcock <nick.alcock@oracle.com>
910 * testsuite/ld-ctf/array.d: Only check that the data object
911 section is nonempty: do not check its exact size.
912 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
913 * testsuite/ld-ctf/slice.d: Likewise.
914 * testsuite/ld-ctf/data-func-conflicted.d: Likewise, and for the
915 func info section too.
916 * testsuite/ld-ctf/function.d: Likewise, for the func info section.
918 2021-03-22 Martin Liska <mliska@suse.cz>
920 * emultempl/aix.em: Replace usage of CONST_STRNEQ with startswith.
921 * emultempl/beos.em: Likewise.
922 * emultempl/elf.em: Likewise.
923 * emultempl/pe.em: Likewise.
924 * emultempl/pep.em: Likewise.
925 * emultempl/xtensaelf.em: Likewise.
926 * ldctor.c (ctor_prio): Likewise.
927 * ldelf.c (ldelf_try_needed): Likewise.
928 (ldelf_parse_ld_so_conf): Likewise.
929 (ldelf_after_open): Likewise.
930 (output_rel_find): Likewise.
931 (ldelf_place_orphan): Likewise.
932 * ldfile.c (ldfile_add_library_path): Likewise.
933 * ldlang.c (lang_add_input_file): Likewise.
934 * ldmain.c (get_sysroot): Likewise.
935 (get_emulation): Likewise.
936 (add_archive_element): Likewise.
937 * ldwrite.c (unsplittable_name): Likewise.
938 (clone_section): Likewise.
939 * lexsup.c (parse_args): Likewise.
940 * pe-dll.c (is_import): Likewise.
941 (pe_implied_import_dll): Likewise.
943 2021-03-19 H.J. Lu <hongjiu.lu@intel.com>
946 * testsuite/ld-x86-64/pr27590.rd: New file.
947 * testsuite/ld-x86-64/pr27590a.obj.bz2: Likewise.
948 * testsuite/ld-x86-64/pr27590b.obj.bz2: Likewise.
949 * testsuite/ld-x86-64/x86-64.exp: Run ld/27590 test.
951 2021-03-20 Alan Modra <amodra@gmail.com>
954 * ldlang.c (lang_gc_sections): Clear SEC_EXCLUDE when relocatable
955 for all sections except .stabstr.
957 2021-03-19 Alan Modra <amodra@gmail.com>
960 * testsuite/ld-elf/pr27590a.d: Match relocs using label, and
962 * testsuite/ld-elf/pr27590b.d: Likewise.
964 2021-03-18 H.J. Lu <hongjiu.lu@intel.com>
967 * testsuite/ld-elf/pr27590.s: New file.
968 * testsuite/ld-elf/pr27590a.d: Likewise.
969 * testsuite/ld-elf/pr27590b.d: Likewise.
970 * testsuite/ld-i386/i386.exp: Also run ld/27193 test with
971 --reduce-memory-overheads.
973 2021-03-18 H.J. Lu <hongjiu.lu@intel.com>
976 * testsuite/ld-x86-64/pr27587.err: New file.
977 * testsuite/ld-x86-64/pr27587a.obj.bz2: Likewise.
978 * testsuite/ld-x86-64/pr27587b.obj.bz2: Likewise.
979 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/27587 test.
981 2021-03-18 Nick Alcock <nick.alcock@oracle.com>
983 * testsuite/ld-ctf/slice.c: Check slices of enums too.
984 * testsuite/ld-ctf/slice.d: Results adjusted.
986 2021-03-16 Nick Clifton <nickc@redhat.com>
988 * pe-dll.c (pe_find_cdecl_alias_match): Use memmove to overwrite
991 2021-03-15 Jan Beulich <jbeulich@suse.com>
993 * pe-dll.c (generate_reloc): Drop padding to reloc_s->size.
995 2021-03-12 Alan Modra <amodra@gmail.com>
997 * Makefile.am (ALL_EMULATION_SOURCES): Move riscv files to..
998 (ALL_64_EMULATION_SOURCES): ..here.
999 * Makefile.in: Regenerate.
1001 2021-03-12 Clément Chigot <clement.chigot@atos.net>
1003 * emultempl/aix.em: Ensure .tdata section is removed
1004 if empty, even with -r flag.
1005 * scripttempl/aix.sc: Handle TLS sections.
1006 * testsuite/ld-powerpc/aix52.exp: Add new tests.
1007 * testsuite/ld-powerpc/aix-tls-reloc-32.d: New test.
1008 * testsuite/ld-powerpc/aix-tls-reloc-64.d: New test.
1009 * testsuite/ld-powerpc/aix-tls-reloc.ex: New test.
1010 * testsuite/ld-powerpc/aix-tls-reloc.s: New test.
1011 * testsuite/ld-powerpc/aix-tls-section-32.d: New test.
1012 * testsuite/ld-powerpc/aix-tls-section-64.d: New test.
1013 * testsuite/ld-powerpc/aix-tls-section.ex: New test.
1014 * testsuite/ld-powerpc/aix-tls-section.s: New test.
1016 2021-03-12 Clément Chigot <clement.chigot@atos.net>
1018 * scripttempl/aix.sc: Add .te to .data section.
1019 * testsuite/ld-powerpc/aix52.exp: Add test structure for AIX7+.
1020 Add aix-largetoc-1 test.
1021 * testsuite/ld-powerpc/aix-largetoc-1-32.d: New test.
1022 * testsuite/ld-powerpc/aix-largetoc-1-64.d: New test.
1023 * testsuite/ld-powerpc/aix-largetoc-1.ex: New test.
1024 * testsuite/ld-powerpc/aix-largetoc-1.s: New test.
1026 2021-03-12 Alan Modra <amodra@gmail.com>
1028 * testsuite/ld-gc/gc.exp: Pass "-image-base 0" to ld for PE, and
1029 arrange to define __main for some run_dump_test tests.
1030 * testsuite/ld-gc/pr13683.d: Accept more symbols.
1031 * testsuite/ld-gc/pr14265.d: Likewise, and ordering.
1032 * testsuite/ld-scripts/crossref.exp: Pass "-image-base 0" to ld for PE.
1033 * testsuite/ld-srec/srec.exp: Likewise.
1034 * testsuite/lib/ld-lib.exp (ld_link_defsyms): Use is_pecoff_format.
1036 2021-03-11 Nelson Chu <nelson.chu@sifive.com>
1038 * emultempl/riscvelf.em (after_allocation): Run ldelf_map_segments
1039 many times if riscv_restart_relax_sections returns TRUE.
1040 * testsuite/ld-riscv-elf/restart-relax.d: New testcase. Before
1041 applying this patch, the call won't be relaxed to jal; But now we
1042 have more chances to do relaxations.
1043 * testsuite/ld-riscv-elf/restart-relax.s: Likewise.
1044 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
1046 2021-03-10 Jan Beulich <jbeulich@suse.com>
1048 * testsuite/ld-scripts/pr22267.t: Avoid symbol value with more
1050 * testsuite/ld-scripts/pr22267.d: Adjust expectation and drop
1052 * scripttempl/mcorepe.sc: Use PROVIDE() for _stack.
1054 2021-03-09 Jan Beulich <jbeulich@suse.com>
1056 * testsuite/ld-pe/reloc.s: Add entry point symbols. Increase
1058 * testsuite/ld-pe/reloc.d: xfail for mcore.
1060 2021-03-09 Jan Beulich <jbeulich@suse.com>
1062 * testsuite/ld-scripts/alignof.exp,
1063 testsuite/ld-scripts/data.exp,
1064 testsuite/ld-scripts/default-script.exp,
1065 testsuite/ld-scripts/log2.exp,
1066 testsuite/ld-scripts/print-memory-usage.exp,
1067 testsuite/ld-scripts/sizeof.exp,
1068 testsuite/ld-undefined/weak-undef.exp: Set image base to zero
1070 * testsuite/ld-scripts/default-script1.d,
1071 testsuite/ld-scripts/default-script2.d,
1072 testsuite/ld-scripts/default-script3.d,
1073 testsuite/ld-scripts/default-script4.d: Drop xfail and comment.
1075 2021-03-05 H.J. Lu <hongjiu.lu@intel.com>
1079 * ldelf.c (ldelf_set_output_arch): New function.
1080 * ldelf.h (ldelf_set_output_arch): New prototype.
1081 * emultempl/elf.em (LDEMUL_SET_OUTPUT_ARCH): Default to
1082 ldelf_set_output_arch.
1083 * ld-x86-64/pe-x86-64-1.od: Expect __executable_start.
1084 * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise.
1085 * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise.
1086 * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise.
1087 * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise.
1088 * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise.
1089 * testsuite/ld-x86-64/pe-x86-64-6.obj.bz2: New file.
1090 * testsuite/ld-x86-64/pe-x86-64-6.od: Likewise.
1091 * testsuite/ld-x86-64/pe-x86-64.exp: Run ld/27425 test.
1093 2021-03-04 Jan Beulich <jbeulich@suse.com>
1095 * testsuite/ld-scripts/map-address.exp: Set image base to zero
1097 * testsuite/ld-scripts/map-address.t: Place .text.
1099 2021-03-04 Jan Beulich <jbeulich@suse.com>
1101 * ldexp.c (ldexp_is_final_sym_absolute): New.
1102 * ldexp.h (ldexp_is_final_sym_absolute): Declare.
1103 * pe-dll.c (generate_reloc): Skip absolute symbols.
1104 * testsuite/ld-pe/reloc.s, testsuite/ld-pe/reloc.d: New.
1105 * testsuite/ld-pe/pe.exp: Run new test.
1107 2021-03-03 Alan Modra <amodra@gmail.com>
1110 * ldlang.c (insert_undefined): Don't mark symbols here.
1111 (lang_mark_undefineds): Do so here instead, new function.
1112 (lang_process): Call lang_mark_undefineds.
1113 * testsuite/ld-gc/start3.d,
1114 * testsuite/ld-gc/start3.s: New test.
1115 * testsuite/ld-gc/start4.d,
1116 * testsuite/ld-gc/start4.s: New test.
1117 * testsuite/ld-gc/gc.exp: Run them.
1119 2021-03-03 Alan Modra <amodra@gmail.com>
1121 * testsuite/ld-gc/gc.exp: Define UNDERSCORE in ASFLAGS.
1122 Move tests with ELF section directives to is_elf_format block.
1123 * testsuite/ld-gc/abi-note.d: Run on more targets.
1124 * testsuite/ld-gc/pr19167.d: Likewise and adjust xfails.
1125 * testsuite/ld-gc/start.d: Likewise.
1126 * testsuite/ld-gc/start2.d: Likewise.
1127 * testsuite/ld-gc/stop.d: Likewise.
1128 * testsuite/ld-gc/pr19167a.s: Add support for underscore targets.
1129 * testsuite/ld-gc/start.s: Likewise.
1130 * testsuite/ld-gc/start2.s: Likewise.
1132 2021-03-02 Nick Alcock <nick.alcock@oracle.com>
1134 * ldelfgen.c (ldelf_ctf_strtab_iter_cb): Skip zero-refcount strings.
1136 2021-03-02 Alan Modra <amodra@gmail.com>
1138 * testsuite/ld-powerpc/startstop.d,
1139 * testsuite/ld-powerpc/startstop.r,
1140 * testsuite/ld-powerpc/startstop.s: New test.
1141 * testsuite/ld-powerpc/powerpc.exp: Run it.
1143 2021-03-02 Alan Modra <amodra@gmail.com>
1145 * testsuite/ld-powerpc/weak1.d,
1146 * testsuite/ld-powerpc/weak1.r,
1147 * testsuite/ld-powerpc/weak1.s,
1148 * testsuite/ld-powerpc/weak1so.d,
1149 * testsuite/ld-powerpc/weak1so.r: New tests.
1150 * testsuite/ld-powerpc/powerpc.exp: Run them.
1152 2021-03-01 Hannes Domani <ssbssa@sourceware.org>
1153 Nick Clifton <nickc@redhat.com>
1156 * scripttempl/pe.sc: Add DWARF-5 section names.
1157 * scripttempl/pep.sc: Likewise.
1159 2021-03-01 Alan Modra <amodra@gmail.com>
1160 Fangrui Song <maskray@google.com>
1162 * emultempl/elf.em: Handle -z start-stop-gc and -z nostart-stop-gc.
1163 * lexsup.c (elf_static_list_options): Display help for them. Move
1164 help for -z stack-size to here from elf_shlib_list_options. Add
1165 help for -z start-stop-visibility and -z undefs.
1166 * ld.texi: Document -z start-stop-gc and -z nostart-stop-gc.
1167 * NEWS: Mention -z start-stop-gc.
1168 * testsuite/ld-gc/start2.s,
1169 * testsuite/ld-gc/start2.d: New test.
1170 * testsuite/ld-gc/gc.exp: Run it.
1172 2021-03-01 Alan Modra <amodra@gmail.com>
1174 * ldlang.c (undef_start_stop): For ELF make undefined start/stop
1175 symbols undefweak if that was how they were referenced. Undo
1178 2021-03-01 Alan Modra <amodra@gmail.com>
1180 * testsuite/ld-elf/pr25708.d: Add --with-symbol-versions to nm.
1181 * testsuite/ld-elf/pr27128a.d: Likewise.
1182 * testsuite/ld-elf/pr27128b.d: Likewise.
1183 * testsuite/ld-elf/pr27128c.d: Likewise.
1184 * testsuite/ld-elf/pr27128d.d: Likewise.
1185 * testsuite/ld-elf/pr27128e.d: Likewise.
1187 2021-02-26 Alan Modra <amodra@gmail.com>
1190 * testsuite/ld-plugin/pr27441a.c,
1191 * testsuite/ld-plugin/pr27441b.c,
1192 * testsuite/ld-plugin/pr27441c.c,
1193 * testsuite/ld-plugin/pr27441c.d: New test.
1194 * testsuite/ld-plugin/lto.exp: Run it.
1196 2021-02-25 Jan Beulich <jbeulich@suse.com>
1198 * ld.texi (PROVIDE): Downgrade "error" to "diagnostic".
1200 2021-02-21 Alan Modra <amodra@gmail.com>
1202 * ldexp.c (exp_fold_tree_1): Warn on script defining a symbol
1203 defined in an object file.
1204 * ldmain.c (multiple_definition): Heed info->warn_multiple_definition.
1205 * testsuite/ld-scripts/defined5.d: Expect a warning.
1207 2021-02-19 Alan Modra <amodra@gmail.com>
1209 * testsuite/lib/ld-lib.exp: Whitespace.
1210 (load_common_lib): Expand single use and delete this proc.
1211 (run_host_cmd): Use -fno-lto when getting gcc's ld version.
1212 Use -B for clang too.
1214 2021-02-18 Andrew Burgess <andrew.burgess@embecosm.com>
1216 * testplugin.c (record_read_length): Remove debug fprintf.
1218 2021-02-14 Alan Modra <amodra@gmail.com>
1220 * testsuite/ld-cdtest/cdtest.exp,
1221 * testsuite/ld-checks/checks.exp,
1222 * testsuite/ld-elf/binutils.exp,
1223 * testsuite/ld-elf/compress.exp,
1224 * testsuite/ld-elf/dwarf.exp,
1225 * testsuite/ld-elf/exclude.exp,
1226 * testsuite/ld-elf/frame.exp,
1227 * testsuite/ld-elf/indirect.exp,
1228 * testsuite/ld-elf/linux-x86.exp,
1229 * testsuite/ld-elf/sec-to-seg.exp,
1230 * testsuite/ld-elf/tls_common.exp,
1231 * testsuite/ld-elfcomm/elfcomm.exp,
1232 * testsuite/ld-elfvers/vers.exp,
1233 * testsuite/ld-elfvsb/elfvsb.exp,
1234 * testsuite/ld-elfweak/elfweak.exp,
1235 * testsuite/ld-ifunc/binutils.exp,
1236 * testsuite/ld-mips-elf/mips-elf-flags.exp,
1237 * testsuite/ld-misc/defsym.exp,
1238 * testsuite/ld-mn10300/mn10300.exp,
1239 * testsuite/ld-plugin/lto.exp,
1240 * testsuite/ld-plugin/plugin.exp,
1241 * testsuite/ld-scripts/align.exp,
1242 * testsuite/ld-scripts/assert.exp,
1243 * testsuite/ld-scripts/crossref.exp,
1244 * testsuite/ld-scripts/defined.exp,
1245 * testsuite/ld-scripts/extern.exp,
1246 * testsuite/ld-scripts/log2.exp,
1247 * testsuite/ld-scripts/map-address.exp,
1248 * testsuite/ld-scripts/phdrs.exp,
1249 * testsuite/ld-scripts/phdrs2.exp,
1250 * testsuite/ld-scripts/script.exp,
1251 * testsuite/ld-scripts/section-flags.exp,
1252 * testsuite/ld-scripts/sizeof.exp,
1253 * testsuite/ld-scripts/weak.exp,
1254 * testsuite/ld-selective/selective.exp,
1255 * testsuite/ld-sh/sh.exp,
1256 * testsuite/ld-shared/shared.exp,
1257 * testsuite/ld-srec/srec.exp,
1258 * testsuite/ld-tic6x/tic6x.exp,
1259 * testsuite/ld-undefined/undefined.exp,
1260 * testsuite/ld-undefined/weak-undef.exp,
1261 * testsuite/lib/ld-lib.exp: Don't use unresolved except after
1262 perror. Instead report "unsupported" or "fail".
1264 2021-02-12 Nick Clifton <nickc@redhat.com>
1266 * testsuite/ld-elf/sec64k.exp: Stop readelf from automatically
1267 following debug links.
1269 2021-02-11 Alan Modra <amodra@gmail.com>
1271 * NEWS: Mention arm-symbianelf removal.
1273 2021-02-09 Alan Modra <amodra@gmail.com>
1275 * Makefile.am (ALL_EMULATION_SOURCES): Remove earmsymbian.c.
1276 Don't include symbian dep file.
1277 * configure.tgt: Remove arm*-*-symbianelf* entry.
1278 * emulparams/armsymbian.sh: Delete.
1279 * ld.texi: Don't mention symbian.
1280 * scripttempl/armbpabi.sc: Delete.
1281 * testsuite/ld-arm/symbian-seg1.d: Delete.
1282 * testsuite/ld-arm/symbian-seg1.s: Delete.
1283 * testsuite/ld-arm/arm-elf.exp: Don't run symbian-seg1.
1284 * Makefile.in: Regenerate.
1285 * po/BLD-POTFILES.in: Regenerate.
1287 2021-02-07 H.J. Lu <hongjiu.lu@intel.com>
1290 * testsuite/ld-i386/i386.exp: Remove property 3/4/5 run-time
1292 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1294 2021-01-26 Nick Alcock <nick.alcock@oracle.com>
1296 * ldlang.c (lang_merge_ctf): Set CTF_LINK_NO_FILTER_REPORTED_SYMS
1299 2021-02-04 H.J. Lu <hongjiu.lu@intel.com>
1302 * testsuite/ld-x86-64/pr19609-2a.d: Updated.
1303 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
1304 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
1305 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
1306 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
1307 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
1308 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
1310 2021-02-04 H.J. Lu <hongjiu.lu@intel.com>
1313 * testsuite/ld-plugin/lto.exp: Run PR ld/15146 tests.
1314 * testsuite/ld-plugin/pr15146.d: Restored.
1315 * testsuite/ld-plugin/pr15146a.c: Likewise.
1316 * testsuite/ld-plugin/pr15146b.c: Likewise.
1317 * testsuite/ld-plugin/pr15146c.c: Likewise.
1318 * testsuite/ld-plugin/pr15146d.c: Likewise.
1320 2021-02-04 Alan Modra <amodra@gmail.com>
1322 * testsuite/ld-plugin/pr27311d.c: New test.
1323 * testsuite/ld-plugin/lto.exp: Rename pr27311 to pr27311-1, compile
1324 and link new test as pr27311-2.
1326 2021-02-03 Alan Modra <amodra@gmail.com>
1328 * testsuite/ld-ifunc/ifunc.exp (libpr16467b.so, libpr16467bn.so):
1329 Link with --as-needed.
1331 2021-02-02 Alan Modra <amodra@gmail.com>
1333 * testsuite/ld-plugin/pr27311.d,
1334 * testsuite/ld-plugin/pr27311.ver,
1335 * testsuite/ld-plugin/pr27311a.c,
1336 * testsuite/ld-plugin/pr27311b.c,
1337 * testsuite/ld-plugin/pr27311c.c: New testcase.
1338 * testsuite/ld-plugin/lto.exp: Run it. Correct PR14918 and
1341 2021-02-01 Emery Hemingway <ehmry@posteo.net>
1343 * configure.tgt: Add *-*-genode* as a target for AArch64 and x86.
1345 2021-02-01 Alan Modra <amodra@gmail.com>
1347 * ldgram.y (defsym_expr): Use assignment rule.
1348 * ldlex.h (ldlex_defsym): Delete.
1349 * ldlex.l (DEFSYMEXP, ldlex_defsym): Delete.
1351 2021-02-01 Alan Modra <amodra@gmail.com>
1353 * ldgram.y (section): Call ldlex_backup. Remove empty action.
1354 * ldlex.h (ldlex_backup): Declare.
1355 * ldlex.l (<EXPRESSION>NAME): Don't use NOCFILENAMECHAR set of
1356 chars, use SYMBOLNAMECHAR.
1357 (ldlex_backup): New function.
1359 2021-02-01 Alan Modra <amodra@gmail.com>
1361 * ldgram.y: Whitespace fixes.
1363 2021-02-01 Alan Modra <amodra@gmail.com>
1365 * testsuite/ld-elf/pr27259.d: Correct sh_link match.
1367 2021-01-29 Alan Modra <amodra@gmail.com>
1369 * testsuite/ld-tic6x/tic6x.exp: Add pr27271 test.
1371 2021-01-28 H.J. Lu <hongjiu.lu@intel.com>
1374 * testsuite/ld-elf/pr27259.d: New file.
1375 * testsuite/ld-elf/pr27259.s: Likewise.
1377 2021-01-28 Alan Modra <amodra@gmail.com>
1380 * ldelf.c (ldelf_before_place_orphans): Use linker_mark to
1381 prevent endless looping of linked-to sections.
1383 2021-01-26 H.J. Lu <hongjiu.lu@intel.com>
1385 * testsuite/ld-x86-64/bnd-plt-1.d: Fix a typo.
1387 2021-01-26 Alan Modra <amodra@gmail.com>
1390 * emulparams/alphavms.sh: Don't set COMPILE_IN.
1391 * emulparams/elf64_ia64_vms.sh: Likewise.
1392 * emulparams/elf64mmix.sh: Likewise.
1393 * emulparams/elf_iamcu.sh: Likewise.
1394 * emulparams/elf_k1om.sh: Likewise.
1395 * emulparams/elf_l1om.sh: Likewise.
1396 * emulparams/mmo.sh: Likewise.
1397 * emulparams/pdp11.sh: Set DATA_SEG_ADDR.
1398 * scripttempl/pdp11.sc: Use it.
1399 * emultempl/pdp11.em: Don't edit .xn script for separate_code,
1400 instead use .xe script. Support scripts from file system.
1401 * emultempl/beos.em: Support scripts from file system.
1402 * emultempl/pe.em: Likewise.
1403 * emultempl/pep.em: Likewise.
1404 * testsuite/ld-bootstrap/bootstrap.exp: Make tmpdir/ldscripts link.
1406 2021-01-25 Fangrui Song <maskray@google.com>
1409 * scripttempl/DWARF.sc: Add .debug_* sections.
1411 2021-01-25 Nick Clifton <nickc@redhat.com>
1413 * scripttempl/DWARF.sc: Add .debug_loclists, .debug_rnglists,
1414 .debug_line_str and .debug_str_offsets. Move .debug_macro and
1415 .debug_addr into DWARF-5 section.
1417 2021-01-21 Alan Modra <amodra@gmail.com>
1419 * testsuite/ld-elf/pr26936.d: No longer xfail mips.
1421 2021-01-20 Alan Modra <amodra@gmail.com>
1423 * testsuite/ld-powerpc/relbrlt.s: Make symbols global.
1424 * testsuite/ld-powerpc/relbrlt.d: Adjust to suit.
1425 * testsuite/ld-powerpc/tlsget.d: Adjust for reordered stubs.
1426 * testsuite/ld-powerpc/tlsget.wf: Likewise.
1427 * testsuite/ld-powerpc/tlsget2.d: Likewise.
1428 * testsuite/ld-powerpc/tlsget2.wf: Likewise.
1429 * testsuite/ld-powerpc/tlsexe.r: Adjust for removed section syms.
1430 * testsuite/ld-powerpc/tlsexe32.r: Likewise.
1431 * testsuite/ld-powerpc/tlsexe32no.r: Likewise.
1432 * testsuite/ld-powerpc/tlsexeno.r: Likewise.
1433 * testsuite/ld-powerpc/tlsexenors.r: Likewise.
1434 * testsuite/ld-powerpc/tlsexers.r: Likewise.
1435 * testsuite/ld-powerpc/tlsexetoc.r: Likewise.
1436 * testsuite/ld-powerpc/tlsexetocrs.r: Likewise.
1437 * testsuite/ld-powerpc/tlsso.r: Likewise.
1438 * testsuite/ld-powerpc/tlsso32.r: Likewise.
1439 * testsuite/ld-powerpc/tlstocso.r: Likewise.
1441 2021-01-19 Nick Alcock <nick.alcock@oracle.com>
1443 * testsuite/ld-ctf/data-func-2.c: Stop removal of the extern foo_t
1444 symbols by the optimizer.
1445 * testsuite/ld-ctf/data-func-conflicted.d: Adjust accordingly.
1447 2021-01-19 Nelson Chu <nelson.chu@sifive.com>
1449 * testsuite/ld-elf/elf.exp (riscv_little_endian): Added. Return true
1450 if target is riscv little endian. Otherwise, return false.
1451 * testsuite/ld-elf/compressed1d.d: Only xfail the riscv little endian
1452 targets by [riscv_little_endian].
1454 2021-01-18 Alan Modra <amodra@gmail.com>
1457 * ldlang.c (map_input_to_output_sections): Start with a read-only
1458 section for data statements.
1459 * testsuite/ld-elf/size-2.d: Adjust to suit.
1461 2021-01-17 H.J. Lu <hongjiu.lu@intel.com>
1464 * testsuite/ld-i386/i386.exp: Run PR ld/27193 test.
1465 * testsuite/ld-i386/pr27193.dd: New file.
1466 * testsuite/ld-i386/pr27193a.o.bz2: Likewise.
1467 * testsuite/ld-i386/pr27193b.s: Likewise.
1469 2021-01-16 H.J. Lu <hongjiu.lu@intel.com>
1472 * testsuite/ld-plugin/lto.exp: Increase the max number of open
1473 files to 20 for PR binutils/23460 test.
1475 2021-01-16 H.J. Lu <hongjiu.lu@intel.com>
1478 * testsuite/ld-ifunc/ifunc.exp: Replace pr23169c.rd with
1479 pr23169a.rd for pr23169c and pr23169f. Remove pr23169e tests.
1480 * testsuite/ld-ifunc/pr23169a.c (foo): Don't compare function
1483 2021-01-15 H.J. Lu <hongjiu.lu@intel.com>
1485 * NEWS: Mention -z report-relative-reloc.
1486 * ld.texi: Document -z report-relative-reloc.
1487 * emulparams/elf32_x86_64.sh: Source x86-report-relative.sh.
1488 * emulparams/elf_i386.sh: Likewse.
1489 * emulparams/elf_x86_64.sh: Likewse.
1490 * emulparams/x86-report-relative.sh: New file.
1491 * testsuite/ld-i386/report-reloc-1.d: Likewse.
1492 * testsuite/ld-i386/report-reloc-1.l: Likewse.
1493 * testsuite/ld-i386/report-reloc-1.s: Likewse.
1494 * testsuite/ld-x86-64/report-reloc-1-x32.d: Likewse.
1495 * testsuite/ld-x86-64/report-reloc-1.d: Likewse.
1496 * testsuite/ld-x86-64/report-reloc-1.l: Likewse.
1497 * testsuite/ld-x86-64/report-reloc-1.s: Likewse.
1498 * testsuite/ld-i386/i386.exp: Run report-reloc-1.
1499 * testsuite/ld-x86-64/x86-64.exp: Run report-reloc-1 and
1502 2021-01-16 Alan Modra <amodra@gmail.com>
1505 * testsuite/ld-elfvers/vers6.dsym: Expect "Base" for undefined
1506 unversioned symbols.
1507 * testsuite/ld-elfvers/vers16.dsym: Likewise.
1509 2021-01-15 Nelson Chu <nelson.chu@sifive.com>
1511 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-01.d: Updated.
1512 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-02.d: Likewise.
1513 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-03.d: Likewise.
1514 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-04.d: Likewise.
1515 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-05.d: Likewise.
1516 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-06.d: Likewise.
1518 2021-01-14 Nick Clifton <nickc@redhat.com>
1520 * po/fr.po: Updated French translation.
1522 2021-01-14 Mike Frysinger <vapier@gentoo.org>
1524 * testsuite/config/default.exp [bfin*-elf*] (gcc_B_opt): Add -msim.
1526 2021-01-14 Alan Modra <amodra@gmail.com>
1529 * ldelfgen.c (compare_link_order): Protect access of ELF section
1531 (add_link_order_input_section): Remove redundant NULL check.
1532 Use bfd_get_flavour.
1533 (ldelf_map_segments): Use bfd_get_flavour.
1535 2021-01-13 H.J. Lu <hongjiu.lu@intel.com>
1537 * ldelfgen.c (add_link_order_input_section): Check for ELF input
1538 before accessing ELF section data.
1540 2021-01-13 Alan Modra <amodra@gmail.com>
1542 * Makefile.in: Regenerate.
1544 2021-01-13 Alan Modra <amodra@gmail.com>
1547 * ldlang.h (lang_output_section_statement_type): Add data field.
1548 (lang_input_section_type, lang_section_bst_type): Add pattern field.
1549 (statement_list): Declare.
1550 (lang_add_section): Adjust prototype.
1551 * emultempl/aarch64elf.em: Adjust lang_add_section calls.
1552 * emultempl/armelf.em: Likewise.
1553 * emultempl/beos.em: Likewise.
1554 * emultempl/cskyelf.em: Likewise.
1555 * emultempl/hppaelf.em: Likewise.
1556 * emultempl/m68hc1xelf.em: Likewise.
1557 * emultempl/metagelf.em: Likewise.
1558 * emultempl/mipself.em: Likewise.
1559 * emultempl/mmo.em: Likewise.
1560 * emultempl/msp430.em: Likewise.
1561 * emultempl/nios2elf.em: Likewise.
1562 * emultempl/pe.em: Likewise.
1563 * emultempl/pep.em: Likewise.
1564 * emultempl/ppc64elf.em: Likewise.
1565 * emultempl/spuelf.em: Likewise.
1566 * emultempl/vms.em: Likewise.
1567 * ldelf.c: Likewise.
1568 * ldelfgen.c: Include ldctor.h.
1569 (struct os_sections): New.
1570 (add_link_order_input_section, link_order_scan): New functions.
1571 (compare_link_order, fixup_link_order): New functions.
1572 (ldelf_map_segments): Call link_order_scan and fixup_link_order.
1573 * ldlang.c (statement_list): Make global.
1574 (output_section_callback_fast): Save pattern in tree node.
1575 (lang_add_section): Add pattern parameter, save in lang_input_section.
1576 (output_section_callback_tree_to_list): Adjust lang_add_section calls.
1577 (lang_insert_orphan, output_section_callback): Likewise.
1578 (ldlang_place_orphan): Likewise.
1579 (gc_section_callback): Don't set section->pattern.
1580 * testsuite/ld-elf/pr26256-2a.d: Don't xfail generic.
1581 * testsuite/ld-elf/pr26256-3b.d: Likewise.
1582 * testsuite/ld-elf/pr26256-2b.d: Likewise. notarget xgate.
1584 2021-01-13 Alan Modra <amodra@gmail.com>
1586 * ldlang.h (callback_t): Remove flag_info function parameter.
1587 * ldlang.c (walk_wild_consider_section): Adjust to suit.
1588 (walk_wild_section_general): Likewise.
1589 (output_section_callback_fast, output_section_callback): Likewise.
1590 (check_section_callback, gc_section_callback): Likewise.
1591 (find_relro_section_callback): Likewise.
1593 2021-01-12 H.J. Lu <hongjiu.lu@intel.com>
1596 * configure.ac: Use GNU_MAKE_JOBSERVER.
1597 * aclocal.m4: Regenerated.
1598 * configure: Likewise.
1600 2021-01-12 H.J. Lu <hongjiu.lu@intel.com>
1603 * testsuite/ld-x86-64/pe-x86-64-5.obj.bz2: New file.
1604 * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise.
1605 * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise.
1606 * testsuite/ld-x86-64/pe-x86-64.exp: Run PR ld/27171 test.
1608 2021-01-11 H.J. Lu <hongjiu.lu@intel.com>
1611 * configure: Regenerated.
1613 2021-01-11 Matt Jenkins <matt@majenko.co.uk>
1616 * ldmain.c (get_emulation): Add mipsmips32r3, mips32r5, mips64r3
1617 and mips64r5 to list of known mips targets.
1619 2021-01-11 Nick Clifton <nickc@redhat.com>matt@majenko.co.uk
1621 * po/pt_BR.po: Updated Brazilian Portuguese translation.
1622 ` * po/uk.po: Updated Ukranian translation.
1624 2021-01-09 H.J. Lu <hongjiu.lu@intel.com>
1626 * configure: Regenerated.
1628 2021-01-09 H.J. Lu <hongjiu.lu@intel.com>
1631 * testsuite/ld-x86-64/lam-u48.rd: New file.
1632 * testsuite/ld-x86-64/lam-u57.rd: Likewise.
1633 * testsuite/ld-x86-64/x86-64.exp: Add PR ld/27166 tests.
1635 2021-01-09 Nick Clifton <nickc@redhat.com>
1637 * configure: Regenerate.
1638 * po/ld.pot: Regenerate.
1640 2021-01-09 Nick Clifton <nickc@redhat.com>
1642 * 2.36 release branch crated.
1644 2021-01-08 H.J. Lu <hongjiu.lu@intel.com>
1646 * ld-x86-64/property-x86-lam-u48-4.d: Updated.
1647 * ld-x86-64/property-x86-lam-u48-5.d: Likewise.
1649 2021-01-09 Alan Modra <amodra@gmail.com>
1651 * configure: Regenerate.
1652 * Makefile.in: Regenerate.
1654 2021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
1656 * configure: Regenerate.
1658 2021-01-07 H.J. Lu <hongjiu.lu@intel.com>
1661 * testsuite/ld-elf/export-class.sd: Adjust the expected output.
1662 * testsuite/ld-elf/loadaddr3b.d: Likewise.
1663 * testsuite/ld-i386/ibt-plt-1.d: Likewise.
1664 * testsuite/ld-i386/ibt-plt-2a.d: Likewise.
1665 * testsuite/ld-i386/ibt-plt-2c.d: Likewise.
1666 * testsuite/ld-i386/ibt-plt-3a.d: Likewise.
1667 * testsuite/ld-i386/ibt-plt-3c.d: Likewise.
1668 * testsuite/ld-i386/pr19636-1d.d: Likewise.
1669 * testsuite/ld-i386/pr19636-1l.d: Likewise.
1670 * testsuite/ld-i386/pr19636-2c.d: Likewise.
1671 * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise.
1672 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise.
1673 * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Likewise.
1674 * testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise.
1675 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1676 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1677 * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise.
1678 * testsuite/ld-ifunc/pr17154-i386.d: Likewise.
1679 * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
1680 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
1681 * testsuite/ld-x86-64/bnd-branch-1-now.d: Likewise.
1682 * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise.
1683 * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise.
1684 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
1685 * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise.
1686 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
1687 * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise.
1688 * testsuite/ld-x86-64/ibt-plt-1.d: Likewise.
1689 * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise.
1690 * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise.
1691 * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise.
1692 * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise.
1693 * testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise.
1694 * testsuite/ld-x86-64/ibt-plt-3a.d: Likewise.
1695 * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise.
1696 * testsuite/ld-x86-64/ibt-plt-3c.d: Likewise.
1697 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
1698 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
1699 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
1700 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
1701 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
1702 * testsuite/ld-x86-64/pr19636-2l.d: Likewise.
1703 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
1704 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
1705 * testsuite/ld-x86-64/pr21038b-now.d: Likewise.
1706 * testsuite/ld-x86-64/pr21038b.d: Likewise.
1707 * testsuite/ld-x86-64/pr21038c-now.d: Likewise.
1708 * testsuite/ld-x86-64/pr21038c.d: Likewise.
1709 * testsuite/ld-x86-64/pr23854.d: Likewise.
1710 * testsuite/ld-x86-64/pr25416-3.d: Likewise.
1711 * testsuite/ld-x86-64/pr25416-4.d: Likewise.
1712 * testsuite/ld-i386/plt-pic.pd: Likewise.
1713 * testsuite/ld-i386/plt-pic2.dd: Likewise.
1714 * testsuite/ld-i386/plt.pd: Likewise.
1715 * testsuite/ld-i386/plt2.dd: Likewise.
1716 * testsuite/ld-i386/tlsbin.rd: Likewise.
1717 * testsuite/ld-i386/tlsbin2.rd: Likewise.
1718 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
1719 * testsuite/ld-i386/tlsdesc.rd: Likewise.
1720 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
1721 * testsuite/ld-i386/tlsnopic.rd: Likewise.
1722 * testsuite/ld-i386/tlspic.rd: Likewise.
1723 * testsuite/ld-i386/tlspic2.rd: Likewise.
1724 * testsuite/ld-x86-64/mpx3.dd: Likewise.
1725 * testsuite/ld-x86-64/mpx3n.dd: Likewise.
1726 * testsuite/ld-x86-64/mpx4.dd: Likewise.
1727 * testsuite/ld-x86-64/mpx4n.dd: Likewise.
1728 * testsuite/ld-x86-64/pe-x86-64-1.od: Likewise.
1729 * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise.
1730 * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise.
1731 * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise.
1732 * testsuite/ld-x86-64/plt.pd: Likewise.
1733 * testsuite/ld-x86-64/plt2.dd: Likewise.
1734 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
1735 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
1736 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
1737 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1738 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
1739 * testsuite/ld-x86-64/tlspic.rd: Likewise.
1740 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
1741 * testsuite/ld-elf/sec64k.exp: Check
1742 is_elf_unused_section_symbols.
1744 2021-01-07 Alan Modra <amodra@gmail.com>
1746 * testsuite/ld-scripts/fill.d: Skip sh-*-pe rather than xfail.
1747 * testsuite/ld-scripts/fill16.d: Don't xfail sh-*-pe.
1748 * testsuite/ld-scripts/segment-start.d: Likewise.
1750 2021-01-07 Alan Modra <amodra@gmail.com>
1752 * testsuite/ld-elf/comm-data5.d: xfail targets that complain
1753 about dynamic relocations in read-only sections.
1754 * testsuite/ld-elf/ehdr_start-shared.d: Likewise.
1755 * testsuite/ld-elf/ehdr_start.d: Likewise.
1756 * testsuite/ld-scripts/pr22267.d: Likewise.
1757 * testsuite/ld-elf/shared.exp: Likewise for DT_TEXTREL tests and
1759 * testsuite/ld-elf/sec64k.exp: Don't run 64ksec on lm32-linux.
1761 2021-01-07 Marcus Comstedt <marcus@mc.pp.se>
1763 * testsuite/ld-scripts/empty-address-2a.d: xfail riscv64*-*-*.
1764 * testsuite/ld-scripts/empty-address-2b.d: Likewise.
1766 2021-01-07 Alan Modra <amodra@gmail.com>
1768 * po/BLD-POTFILES.in: Regenerate.
1770 2021-01-07 Alan Modra <amodra@gmail.com>
1772 * testsuite/ld-elf/shared.exp: xfail pr22471 for targets that
1773 complain about relocs in read-only sections. Tidy ASFLAGS append.
1775 2021-01-06 Alan Modra <amodra@gmail.com>
1777 * testsuite/ld-sparc/sparc.exp (sparc64tests): Set text-segment
1778 base for some tests.
1779 * testsuite/ld-sparc/gotop32.dd: Match solaris output.
1780 * testsuite/ld-sparc/gotop32.sd: Likewise.
1781 * testsuite/ld-sparc/gotop32.td: Likewise.
1782 * testsuite/ld-sparc/gotop64.dd: Likewise.
1783 * testsuite/ld-sparc/gotop64.sd: Likewise.
1784 * testsuite/ld-sparc/gotop64.td: Likewise.
1785 * testsuite/ld-sparc/tlsg32.sd: Likewise.
1786 * testsuite/ld-sparc/tlsg64.sd: Likewise.
1787 * testsuite/ld-sparc/tlspie32.dd: Likewise.
1788 * testsuite/ld-sparc/tlspie64.dd: Likewise.
1789 * testsuite/ld-sparc/tlssunbin32.dd: Likewise.
1790 * testsuite/ld-sparc/tlssunbin32.sd: Likewise.
1791 * testsuite/ld-sparc/tlssunbin32.td: Likewise.
1792 * testsuite/ld-sparc/tlssunbin64.dd: Likewise.
1793 * testsuite/ld-sparc/tlssunbin64.sd: Likewise.
1794 * testsuite/ld-sparc/tlssunbin64.td: Likewise.
1795 * testsuite/ld-sparc/tlssunnopic32.dd: Likewise.
1796 * testsuite/ld-sparc/tlssunnopic32.sd: Likewise.
1797 * testsuite/ld-sparc/tlssunnopic64.dd: Likewise.
1798 * testsuite/ld-sparc/tlssunnopic64.sd: Likewise.
1799 * testsuite/ld-sparc/tlssunpic32.dd: Likewise.
1800 * testsuite/ld-sparc/tlssunpic32.sd: Likewise.
1801 * testsuite/ld-sparc/tlssunpic32.td: Likewise.
1802 * testsuite/ld-sparc/tlssunpic64.dd: Likewise.
1803 * testsuite/ld-sparc/tlssunpic64.sd: Likewise.
1804 * testsuite/ld-sparc/tlssunpic64.td: Likewise.
1805 * testsuite/ld-sparc/wdispcall.dd: Likewise.
1807 2021-01-06 Alan Modra <amodra@gmail.com>
1809 * testsuite/ld-scripts/rgn-at10.d: xfail v850.
1810 * testsuite/ld-scripts/rgn-at11.d: Likewise.
1812 2021-01-06 Marcus Comstedt <marcus@mc.pp.se>
1814 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Added
1815 riscv_choose_[ilp32|lp64]_emul to choose the correct linker script.
1816 * testsuite/ld-riscv-elf/attr-merge-arch-01.d: Call
1817 riscv_choose_[ilp32|lp64]_emul instead of hardcoding elf[32|64]lriscv.
1818 * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
1819 * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
1820 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Likewise.
1821 * testsuite/ld-riscv-elf/attr-merge-arch-failed-02.d: Likewise.
1822 * testsuite/ld-riscv-elf/c-lui-2.d: Likewise.
1823 * testsuite/ld-riscv-elf/c-lui.d: Likewise.
1824 * testsuite/ld-riscv-elf/call-relax.d: Likewise.
1825 * testsuite/ld-riscv-elf/pcrel-lo-addend-2.d: Likewise.
1826 * testsuite/ld-riscv-elf/pcrel-lo-addend.d: Likewise.
1827 * testsuite/ld-riscv-elf/weakref32.d: Accept bigriscv in addition
1829 * testsuite/ld-riscv-elf/weakref64.d: Likewise.
1831 2021-01-06 Marcus Comstedt <marcus@mc.pp.se>
1833 * configure.tgt: Added riscvbe-*-*, riscv32be*-*-*, riscv64be*-*-*,
1834 riscv32be*-*-linux*, and riscv64be*-*-linux*.
1835 * Makefile.am: Added eelf32briscv.c, eelf32briscv_ilp32f.c and
1836 eelf32briscv_ilp32.c.
1837 * Makefile.in: Regenerate.
1838 * emulparams/elf32briscv.sh: Added.
1839 * emulparams/elf32briscv_ilp32.sh: Likewise.
1840 * emulparams/elf32briscv_ilp32f.sh: Likewise.
1841 * emulparams/elf64briscv.sh: Likewise.
1842 * emulparams/elf64briscv_lp64.sh: Likewise.
1843 * emulparams/elf64briscv_lp64f.sh: Likewise.
1845 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
1847 * testsuite/ld-ctf/enum-forward.c: New test.
1848 * testsuite/ld-ctf/enum-forward.c: New results.
1850 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
1852 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
1853 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
1854 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
1855 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
1856 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
1857 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
1858 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
1859 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
1860 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
1861 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
1862 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
1863 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
1864 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
1865 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
1866 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
1867 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
1868 * testsuite/ld-ctf/cycle-1.d: Likewise.
1869 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
1870 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
1871 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
1872 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
1873 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
1874 * testsuite/ld-ctf/diag-cuname.d: Likewise.
1875 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
1876 * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise.
1877 * testsuite/ld-ctf/forward.d: Likewise.
1878 * testsuite/ld-ctf/function.d: Likewise.
1879 * testsuite/ld-ctf/slice.d: Likewise.
1880 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
1881 * testsuite/ld-ctf/enums.c: New test.
1882 * testsuite/ld-ctf/enums.d: New test.
1884 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
1886 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Adjust for dumper
1888 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
1889 * testsuite/ld-ctf/forward.c: New test...
1890 * testsuite/ld-ctf/forward.d: ... and results.
1892 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
1894 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
1895 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
1896 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
1897 * testsuite/ld-ctf/diag-cuname.d: Likewise.
1898 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
1899 * testsuite/ld-ctf/function.d: Likewise.
1900 * testsuite/ld-ctf/slice.d: Likewise.
1902 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
1904 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
1905 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
1906 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
1907 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
1908 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
1909 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
1910 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
1911 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
1912 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
1913 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
1914 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
1915 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
1916 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
1917 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
1918 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
1919 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
1920 * testsuite/ld-ctf/cycle-1.d: Likewise.
1921 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
1922 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
1923 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
1924 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
1925 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
1926 * testsuite/ld-ctf/diag-cuname.d: Likewise.
1927 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
1928 * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise.
1929 * testsuite/ld-ctf/function.d: Likewise.
1930 * testsuite/ld-ctf/slice.d: Likewise.
1931 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
1933 2021-01-05 Alan Modra <amodra@gmail.com>
1935 * testsuite/ld-scripts/sysroot-prefix.exp: Exclude some targets.
1937 2021-01-05 Alan Modra <amodra@gmail.com>
1940 * testsuite/ld-elf/pr26256-1b.d: xfail s12z.
1941 * testsuite/ld-scripts/crossref.exp (cross1): Don't xfail ia64.
1943 2021-01-04 H.J. Lu <hongjiu.lu@intel.com>
1946 * ldlang.c (gc_section_callback): Set pattern.
1947 * testsuite/ld-elf/pr26256-1.s: New file.
1948 * testsuite/ld-elf/pr26256-1.t: Likewise.
1949 * testsuite/ld-elf/pr26256-1a.d: Likewise.
1950 * testsuite/ld-elf/pr26256-1b.d: Likewise.
1951 * testsuite/ld-elf/pr26256-2.s: Likewise.
1952 * testsuite/ld-elf/pr26256-2.t: Likewise.
1953 * testsuite/ld-elf/pr26256-2a.d: Likewise.
1954 * testsuite/ld-elf/pr26256-2b-alt.d: Likewise.
1955 * testsuite/ld-elf/pr26256-2b.d: Likewise.
1956 * testsuite/ld-elf/pr26256-3.s: Likewise.
1957 * testsuite/ld-elf/pr26256-3a.d: Likewise.
1958 * testsuite/ld-elf/pr26256-3a.t: Likewise.
1959 * testsuite/ld-elf/pr26256-3b.d: Likewise.
1960 * testsuite/ld-elf/pr26256-3b.t: Likewise.
1962 2021-01-04 Alan Modra <amodra@gmail.com>
1965 * testsuite/ld-arm/non-contiguous-arm2.d: Adjust STT_FILE symbol match.
1966 * testsuite/ld-arm/non-contiguous-arm3.d: Likewise.
1967 * testsuite/ld-arm/non-contiguous-arm5.d: Likewise.
1968 * testsuite/ld-arm/non-contiguous-arm6.d: Likewise.
1969 * testsuite/ld-i386/tlsbin.rd: Likewise.
1970 * testsuite/ld-i386/tlsbin2.rd: Likewise.
1971 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
1972 * testsuite/ld-i386/tlsdesc.rd: Likewise.
1973 * testsuite/ld-i386/tlsnopic.rd: Likewise.
1974 * testsuite/ld-i386/tlspic.rd: Likewise.
1975 * testsuite/ld-i386/tlspic2.rd: Likewise.
1976 * testsuite/ld-mips-elf/global-local-symtab-sort-n64.d: Likewise.
1977 * testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d: Likewise.
1978 * testsuite/ld-mips-elf/global-local-symtab-sort-o32.d: Likewise.
1979 * testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d: Likewise.
1980 * testsuite/ld-plugin/pr17973.d: Likewise.
1981 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
1982 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
1983 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
1984 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
1985 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
1986 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
1987 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
1988 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
1989 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
1990 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
1991 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
1992 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
1993 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
1994 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
1995 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
1996 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
1997 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1998 * testsuite/ld-x86-64/tlspic.rd: Likewise.
1999 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
2000 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
2001 * testsuite/ld-xtensa/tlspic.rd: Likewise.
2003 2021-01-01 Nicolas Boulenguez <nicolas@debian.org>
2005 * configure.tgt: Correct comment grammar.
2006 * emultempl/m68hc1xelf.em: Likewise.
2007 * ld.texi: Correct grammar.
2009 2021-01-01 Alan Modra <amodra@gmail.com>
2011 Update year range in copyright notice of all files.
2013 For older changes see ChangeLog-2020
2015 Copyright (C) 2021-2023 Free Software Foundation, Inc.
2017 Copying and distribution of this file, with or without modification,
2018 are permitted in any medium without royalty provided the copyright
2019 notice and this notice are preserved.
2025 version-control: never