1 2023-11-21 Nick Clifton <nickc@redhat.com>
4 * ld.texi (Special Sections): New entry in the linker manual.
5 Describes how the .gnu.warning and .gnu.warning.SYM sections
8 2023-11-15 Arsen Arsenović <arsen@aarsen.me>
10 * aclocal.m4: Regenerate.
11 * configure: Regenerate.
12 * po/Make-in ($(srcdir)/$(PACKAGE).pot): Output to a .pot
13 temporary file, to suppress xgettext checking charset names.
15 2023-11-14 Nick Clifton <nickc@redhat.com>
18 * lexsup.c (ld_options): Ensure that the --mri-script option is
21 2023-11-13 Nick Clifton <nickc@redhat.com>
24 * lexsup.c (ld_options): Ensure that the --format option is
27 2023-11-13 Chung-Ju Wu <jasonwucj@gmail.com>
29 * ld.texi: Fix redundant space typo.
31 2023-11-10 Nick Clifton <nickc@redhat.com>
33 * ldlex.h (enum option_values): Add OPTION_ERROR_EXECSTACK,
34 OPTION_NO_ERROR_EXECSTACK, OPTION_WARN_EXECSTACK_OBJECTS,
35 OPTION_ERROR_RWX_SEGMENTS and OPTION_NO_ERROR_RWX_SEGMENTS.
36 (struct ld_option): Add new long options.
37 (parse_args): Parse new long options.
38 (elf_static_list_options): Display the new options.
39 * ld.texi: Document the new command line options.
40 * configure.ac (error-execstack): New configuration option.
41 (error-rwx-segments): New configuration option.
42 * emultempl/elf.em (_before_parse): Initialse the new linkinfo
44 * NEWS: Mention the new features.
45 * config.in: Regenerate.
46 * configure: Regenerate.
47 * testsuite/ld-elf/commonpage2.d: Disable errors for RWX segments
48 and/or executable stacks.
49 * testsuite/ld-elf/elf.exp: Likewise.
50 * testsuite/ld-elf/header.d: Likewise.
51 * testsuite/ld-elf/loadaddr1.d: Likewise.
52 * testsuite/ld-elf/loadaddr2.d: Likewise.
53 * testsuite/ld-elf/maxpage4.d: Likewise.
54 * testsuite/ld-elf/nobits-1.d: Likewise.
55 * testsuite/ld-elf/note-1.d: Likewise.
56 * testsuite/ld-elf/orphan-10.d: Likewise.
57 * testsuite/ld-elf/orphan-11.d: Likewise.
58 * testsuite/ld-elf/orphan-12.d: Likewise.
59 * testsuite/ld-elf/orphan-5.d: Likewise.
60 * testsuite/ld-elf/orphan-7.d: Likewise.
61 * testsuite/ld-elf/orphan-8.d: Likewise.
62 * testsuite/ld-elf/orphan-9.d: Likewise.
63 * testsuite/ld-elf/orphan-region.d: Likewise.
64 * testsuite/ld-elf/orphan.d: Likewise.
65 * testsuite/ld-elf/pr19539.d: Likewise.
66 * testsuite/ld-elf/pr26256-1a.d: Likewise.
67 * testsuite/ld-elf/pr26907.d: Likewise.
68 * testsuite/ld-elf/pr28597.d: Likewise.
69 * testsuite/ld-elf/retain2.d: Likewise.
70 * testsuite/ld-elf/shared.exp: Likewise.
71 * testsuite/ld-elf/size-1.d: Likewise.
72 * testsuite/ld-elf/textaddr7.d: Likewise.
73 * testsuite/ld-elf/warn1.d: Likewise.
74 * testsuite/ld-elf/warn2.d: Likewise.
75 * testsuite/ld-i386/discarded1.d: Likewise.
76 * testsuite/ld-i386/pr19175.d: Likewise.
77 * testsuite/ld-i386/pr19539.d: Likewise.
78 * testsuite/ld-i386/pr23189.d: Likewise.
79 * testsuite/ld-plugin/lto-3r.d: Likewise.
80 * testsuite/ld-plugin/lto-5r.d: Likewise.
81 * testsuite/ld-plugin/lto.exp: Likewise.
82 * testsuite/ld-powerpc/ppc476-shared.d: Likewise.
83 * testsuite/ld-powerpc/ppc476-shared2.d: Likewise.
84 * testsuite/ld-powerpc/pr28827-2.d: Likewise.
85 * testsuite/ld-s390/s390.exp: Likewise.
86 * testsuite/ld-scripts/align2a.d: Likewise.
87 * testsuite/ld-scripts/align2b.d: Likewise.
88 * testsuite/ld-scripts/align5.d: Likewise.
89 * testsuite/ld-scripts/alignof.exp: Likewise.
90 * testsuite/ld-scripts/crossref.exp: Likewise.
91 * testsuite/ld-scripts/defined2.d: Likewise.
92 * testsuite/ld-scripts/defined3.d: Likewise.
93 * testsuite/ld-scripts/defined5.d: Likewise.
94 * testsuite/ld-scripts/pr14962.d: Likewise.
95 * testsuite/ld-scripts/pr18963.d: Likewise.
96 * testsuite/ld-scripts/pr20302.d: Likewise.
97 * testsuite/ld-scripts/print-memory-usage.exp: Likewise.
98 * testsuite/ld-scripts/rgn-at1.d: Likewise.
99 * testsuite/ld-scripts/rgn-at10.d: Likewise.
100 * testsuite/ld-scripts/rgn-at4.d: Likewise.
101 * testsuite/ld-scripts/rgn-at6.d: Likewise.
102 * testsuite/ld-scripts/rgn-at8.d: Likewise.
103 * testsuite/ld-scripts/rgn-at9.d: Likewise.
104 * testsuite/ld-scripts/rgn-over1.d: Likewise.
105 * testsuite/ld-scripts/rgn-over2.d: Likewise.
106 * testsuite/ld-scripts/rgn-over4.d: Likewise.
107 * testsuite/ld-scripts/rgn-over5.d: Likewise.
108 * testsuite/ld-scripts/rgn-over6.d: Likewise.
109 * testsuite/ld-scripts/script.exp: Likewise.
110 * testsuite/ld-scripts/sizeof.exp: Likewise.
111 * testsuite/ld-scripts/sort-file.d: Likewise.
112 * testsuite/ld-x86-64/discarded1.d: Likewise.
113 * testsuite/ld-x86-64/pr19175.d: Likewise.
114 * testsuite/ld-x86-64/pr19539a.d: Likewise.
115 * testsuite/ld-x86-64/pr19539b.d: Likewise.
116 * testsuite/ld-x86-64/pr23189.d: Likewise.
118 2023-11-06 Jan Beulich <jbeulich@suse.com>
121 * testsuite/ld-x86-64/property-3.r: Revert commit bf77f42f6708.
122 * testsuite/ld-x86-64/property-4.r: Likewise.
123 * testsuite/ld-x86-64/property-5.r: Likewise.
125 2023-11-06 Nick Clifton <nickc@redhat.com>
128 * ld.texi: Update description of the FILL command.
129 * testsuite/ld-scripts/fill2.d: New test.
130 * testsuite/ld-scripts/fill2.t: New test source.
131 * testsuite/ld-scripts/data.exp: Run the new test.
133 2023-11-02 Nick Clifton <nickc@redhat.com>
135 * testsuite/ld-x86-64/property-3.r: Update regexp to allow for
136 targets which support x86-64-v3.
137 * testsuite/ld-x86-64/property-4.r: Likewise.
138 * testsuite/ld-x86-64/property-5.r: Likewise.
140 2023-11-01 Nick Clifton <nickc@redhat.com>
143 * ldlex.l: Add REVERSE.
144 * ldgram.y: Allow REVERSE to be used wherever a sorting command
146 * ld.h (struct wildcard_spec): Add 'reversed' field.
147 * ldlang.h (lang_wild_statement_struct): Add 'filenames_reversed' field.
148 * ldlang.c (compare_sections): Add reversed parameter.
149 (wild_sort): Reverse the comparison if requested.
150 (print_wild_statement): Handle the reversed field.
151 * ld.texi: Document the new feature.
152 * NEWS: Mention the new feature.
153 * testsuite/ld-scripts/sort-file-reversed-1.d: New test driver.
154 * testsuite/ld-scripts/sort-file-reversed-1.t: New test source.
155 * testsuite/ld-scripts/sort-file-reversed-2.t: New test source.
156 * testsuite/ld-scripts/sort-file-reversed-2.d: New test driver.
157 * testsuite/ld-scripts/sort-sections-reversed-1.d: New test driver.
158 * testsuite/ld-scripts/sort-sections-reversed-1.t: New test source.
159 * testsuite/ld-scripts/sort-sections-reversed-2.t: New test source.
160 * testsuite/ld-scripts/sort-sections-reversed-2.d: New test driver.
161 * testsuite/ld-scripts/sort-sections-reversed-3.d: New test driver.
162 * testsuite/ld-scripts/sort-sections-reversed-3.t: New test source.
164 2023-10-30 Nick Clifton <nickc@redhat.com>
166 * po/ka.po: New Georgian translation.
168 2023-10-19 Jose E. Marchesi <jose.marchesi@oracle.com>
170 * ld.texi (Options): Fix typo metdata->metadata.
172 2023-10-16 Nick Clifton <nickc@redhat.com>
175 * lexsup.c (ld_options): Require that the --architecture option is
176 given exactly two dashes, so that it does not become confused with
179 2023-10-09 Nick Clifton <nickc@redhat.com>
182 * ldlex.l (yy_input): Check for YY_CURRENT_BUFFER being NULL.
185 * ldlang.c (map_input_to_output_sections): Check that os is non
186 NULL before using it.
188 2023-10-05 A. Wilcox <awilfox@adelielinux.org>
191 * testsuite/ld-elf/pr28158.rd: Adjust regexp to allow for section
192 indicies larger than 9.
194 2023-10-05 A. Wilcox <awilfox@adelielinux.org>
197 * testsuite/ld-elf/dt-relr.exp: Skip for MUSL targets.
199 2023-10-05 A. Wilcox <awilfox@adelielinux.org>
202 * testsuite/ld-shared/shared.exp: Add XFAILs for tests that fail
203 with the MUSL library.
205 2023-10-05 A. Wilcox <awilfox@adelielinux.org>
208 * testsuite/ld-arm/thumb-plt-got.d: Skip test for configurations
209 using the MUSL library.
210 * testsuite/ld-arm/thumb-plt.d: Likewise.
212 2023-10-05 A. Wilcox <awilfox@adelielinux.org>
216 * testsuite/ld-i386/i386.exp: Skip the pr22001 test with TEXTREL
217 relocations enabled on configurations using the MUSL library.
219 2023-10-05 A. Wilcox <awilfox@adelielinux.org>
222 * testsuite/ld-elfvers/vers.exp (objdump_emptyverstuff): Handle
223 EABI version information in objdump's output.
225 2023-10-02 Nick Clifton <nickc@redhat.com>
227 * pe-dll.c (fill_edata): Use bfd_get_current_time when filling in
230 2023-09-27 Hsinyuan Xavier <TheLastLin@hotmail.com>
233 * ldlang.c (get_os_init_flag): New function.
234 (exp_init_os, map_input_to_output_sections): Use it.
236 2023-07-24 Johannes Schauer Marin Rodrigues <josch@debian.org>
238 * pe-dll.c (fill_edata): If inserting a timestamp, use the value
239 held in the SOURCE_DATE_EPOCH environment variable, if it is
241 * ld.texi (--insert-timestamp): Document change in behaviour.
243 2023-07-03 Nick Clifton <nickc@redhat.com>
245 * configure: Regenerate.
247 2023-07-03 Nick Clifton <nickc@redhat.com>
251 2023-06-28 Nikita Popov <npopov@redhat.com>
252 Nick Clifton <nickc@redhat.com>
255 * ldfile.c (ldfile_try_open_bfd): Do not track lto generated
258 2023-06-21 Nick Clifton <nickc@redhat.com>
261 * testsuite/ld-elf/elf.exp (target_defaults_to_execstack): Always
262 return false for linkers configured with the --enable-default-execstack=no
265 2023-06-14 Nick Clifton <nickc@redhat.com>
268 * ldfile.c (struct input_remap): New structure.
269 (ldfile_add_remap): New function.
270 (ldfile_remap_input_free): New function.
271 (ldfile_add_remap_file): New function.
272 (ldfile_possibly_remap_input): New function.
273 (ldfile_print_input_remaps): New function.
274 * ldfile.h: Add prototypes for new functions.
275 * ldlang.c (new_afile): Call ldfile_possibly_remap_input.
276 (lang_finish): Call ldfile_remap_input_free.
277 (lang_map): Call ldfile_print_input_remaps.
278 * ldlex.h (OPTION_REMAP_INPUTS, OPTION_REMAP_INPUTS_FILE): Define.
279 * lexsup.c (ld_options): Add --remap-inputs-file and --remap-inputs.
280 (parse_args): Handle new options.
281 * NEWS: Mention the new feature.
282 * ld.texi: Document the new options.
283 * testsuite/ld-misc/input-remap.exp: New test driver.
284 * testsuite/ld-misc/remaps.r: New file: Expected linker output.
285 * testsuite/ld-misc/remaps.txt: New file. Input remaps file.
287 2023-06-07 Nick Clifton <nickc@redhat.com>
290 * testsuite/ld-elfcomm/elfcomm.exp: Update regexps to match new
291 output from the linker.
293 2023-05-17 Luca Bacci <luca.bacci@outlook.com>
296 * emultempl/pe.em (set_decoration): New function.
297 (pe_fixup_stdcalls): Call the new function.
298 * emultempl/pep.em (set_decoration): New function.
299 (pep_fixup_stdcalls): Call the new function.
300 * pe-dll.c (make_one): Check for decoated symbols.
302 2023-05-16 Nick Clifton <nickc@redhat.com>
305 * ld.texi (WIN32): Document how to create a resource only DLL.
307 2023-05-16 Nick Clifton <nickc@redhat.com>
309 * ld.texi (-Ur): Clarify the actions of this option.
311 2023-05-10 Nick Clifton <nickc@redhat.com>
314 * ldlang.c (ld_is_local_symbol): New function.
315 (print_input_section): Add code to display local symbols in the
317 * ldlex.h (enum option_values): Add OPTION_PRINT_MAP_LOCALS and
318 OPTION_PRINT_MAP_LOCALS.
319 * lexsup.c (ld_options[]): Add entries for --print-map-locals
320 and --no-print-map-locals.
321 * NEWS: Mention the new feature.
322 * ld.h (struct ld_config_type): Add print_map_locals field.
323 * ld.texi: Document the new command line option.
324 * testsuite/ld-scripts/sizeof.s: Add a local symbol.
325 * testsuite/ld-scripts/map-locals.d: New test control file.
326 * testsuite/ld-scripts/map-address.exp: Run the new test.
328 2023-05-04 Nick Clifton <nickc@redhat.com>
331 * emultempl/pep.em (set_entry_point): Add an undefined reference
332 to the entry point if it has been constructed heuristically.
333 * emultempl/pe.em (set_entry_point): Likewise.
335 2023-05-04 Dimitar Dimitrov <dimitar@dinux.eu>
337 * scripttempl/pru.sc (OUTPUT_SECTION_ALIGN): New helper variable
338 to place at end of DMEM output sections.
339 (.data): Use the helper variable.
340 (.eh_frame): New output section.
342 (.gcc_except_table): Ditto.
343 (.resource_table): Use the helper variable.
345 2023-04-27 Nick Clifton <nickc@redhat.com>
347 * ldmisc.c (vfinfo): Add support for %x and %lx.
349 2023-04-18 mengqinggang <mengqinggang@loongson.cn>
351 * testsuite/ld-loongarch-elf/macro_op.d: Regenerated.
353 2023-04-17 Nick Clifton <nickc@redhat.com>
356 * emulparams/armelf.sh (OTHER_PLT_SECTIONS): Define in order to
357 handle the .gnu.sgstubs section.
359 2023-04-13 Claudiu Zissulescu <claziss@synopsys.com>
361 * testsuite/ld-arc/arc.exp: Update execution predicate.
362 * testsuite/ld-arc/nps-1a.d: Add linker script option.
363 * testsuite/ld-arc/nps-1b.d: Likewise.
364 * testsuite/ld-arc/relax-local-pic.d: Update matching patterns.
366 2023-04-12 Nick Clifton <nickc@redhat.com>
368 * ld.texi (--enable-non-contiguous-regions): Fix typos in script
371 2023-03-15 Nick Clifton <nickc@redhat.com>
374 * NEWS: Mention the new feature.
375 * ld.texi: Document the new feature.
376 * ldgram.y: Handle LINKER_VERSION token.
377 * ldlang.c (lang_add_version): New function.
378 (enable_linker_version): New global variable.
379 * ldlang.h (land_add_version): Prototype.
380 (enable_linker_version): Export.
381 * ldlex.h (OPTION_ENABLE_LINKER_VERSION): Define.
382 (OPTION_DISABLE_LINKER_VERSION): Define.
383 * ldlex.l (LINKER_VERSION): Add token.
384 * lexsup.c (ld_options): Add --enable-linker-version and
385 --disable-linker-version.
386 (parse_args): Handle the new options.
387 * scripttempl/arclinux.sc: Remove stabs and comment sections and
388 replace with inclusion of misc-sections.sc
389 * scripttempl/avr.sc: Likewise.
390 * scripttempl/dlx.sc: Likewise.
391 * scripttempl/elf.sc: Likewise.
392 * scripttempl/elf32cr16.sc: Likewise.
393 * scripttempl/elf32crx.sc: Likewise.
394 * scripttempl/elf32msp430.sc: Likewise.
395 * scripttempl/elf64bpf.sc: Likewise.
396 * scripttempl/elf64hppa.sc: Likewise.
397 * scripttempl/elf_chaos.sc: Likewise.
398 * scripttempl/elfarc.sc: Likewise.
399 * scripttempl/elfarcv2.sc: Likewise.
400 * scripttempl/elfd10v.sc: Likewise.
401 * scripttempl/elfd30v.sc: Likewise.
402 * scripttempl/elfm68hc11.sc: Likewise.
403 * scripttempl/elfm68hc12.sc: Likewise.
404 * scripttempl/elfm9s12z.sc: Likewise.
405 * scripttempl/elfmicroblaze.sc: Likewise.
406 * scripttempl/elfxgate.sc: Likewise.
407 * scripttempl/elfxtensa.sc: Likewise.
408 * scripttempl/epiphany_4x4.sc: Likewise.
409 * scripttempl/ft32.sc: Likewise.
410 * scripttempl/ip2k.sc: Likewise.
411 * scripttempl/iq2000.sc: Likewise.
412 * scripttempl/mep.sc: Likewise.
413 * scripttempl/nds32elf.sc: Likewise.
414 * scripttempl/pru.sc: Likewise.
415 * scripttempl/v850.sc: Likewise.
416 * scripttempl/v850_rh850.sc: Likewise.
417 * scripttempl/visium.sc: Likewise.
418 * scripttempl/xstormy16.sc: Likewise.
419 * scripttempl/z80.sc: Likewise.
420 * testsuite/ld-scripts/script.exp: Run new tests.
421 * scripttempl/misc-sections.sc: New file.
422 * testsuite/ld-scripts/ld-version-2.d: New file.
423 * testsuite/ld-scripts/ld-version.d: New file.
424 * testsuite/ld-scripts/ld-version.t: New file.
426 2023-02-23 Fangrui Song <i@maskray.me>
428 * emultempl/riscvelf.em: Add option parsing.
429 * testsuite/ld-riscv-elf/code-model-relax-medlow-01-norelaxgp.d: New.
430 * testsuite/ld-riscv-elf/pcgp-relax-01-norelaxgp.d: New.
431 * testsuite/ld-riscv-elf/pcgp-relax-02.d: Test --relax --relax-gp can be
434 2023-02-20 Nick Clifton <nickc@redhat.com>
437 * pe-dll.c (pe_dll_build_sections): Do not build an edata section
438 if all symbols are being excluded.
440 2023-02-15 Nick Clifton <nickc@redhat.com>
443 * testsuite/ld-elf/merge4b.s: Use .asciz instead of .string in
444 order to avoid the special behaviour of the .string directive on
447 2023-02-14 Nick Clifton <nickc@redhat.com>
449 * ld.texi (Plugins): Mention that the -plugin command line option
450 is used to load plugins.
452 2023-01-27 Nick Clifton <nickc@redhat.com>
455 * pe-dll.c (build_filler_bfd): Initialise the next field of the
456 filler input statement, so that it does not break the file chain.
458 2023-01-24 Nick Clifton <nickc@redhat.com>
461 * pe-dll.c (generate_reloc): Handle sections with no assigned
462 output section. Terminate early of there are no relocs to put in
464 (pe_exe_fill_sections): Do not emit an empty .reloc section.
466 2023-01-06 Nick Clifton <nickc@redhat.com>
468 * po/bg.po: Updated Bulgarian translation.
470 2023-01-05 Nick Clifton <nickc@redhat.com>
472 * configure.tgt: Add arm64pe as an extra emulation for aarch64pe.
473 * Makefile.am (ALL_64_EMULATION_SOURCES): Add earm64pe.c
474 * emultempl/pep.em: Add suppport for arm64pe emulation.
475 * Makefile.in: Regenerate.
476 * po/BLD-POTFILES.in: Regenerate.
477 * po/ld.pot: Regenerate.
479 2023-01-05 Andreas K. Huettel <dilfridge@gentoo.org>
481 * testsuite/ld-elf/shared.exp: un-xfail the PR19710 test for the
482 AArch64 architecture.
484 2023-01-04 Andreas K. Huettel <dilfridge@gentoo.org>
487 * testsuite/ld-aarch64/bti-plt-5.d: Relax regxps slightly to allow
488 for differences in build environments.
489 * testsuite/ld-aarch64/tls-relax-gdesc-le-now.d: Likewise.
491 2023-01-03 Nick Clifton <nickc@redhat.com>
493 * po/uk.po: Updated Ukrainian translation.
495 2022-12-31 Nick Clifton <nickc@redhat.com>
497 * 2.40 branch created.
499 2022-12-21 Nick Clifton <nickc@redhat.com>
502 * scripttempl/pe.sc: Keep the .drectve section when performing a
504 * scripttempl/pep.sc: Likewise.
506 2022-12-08 Nick Clifton <nickc@redhat.com>
509 * ld.texi (Output Section Type): Note that setting the output
510 section type only works if the section contains untyped data.
512 2022-12-05 Nick Clifton <nickc@redhat.com>
515 * ldlang.c (spec_match): Check that there is sufficient length in
516 the target name to match the spec's prefix.
518 2022-11-03 Nick Clifton <nickc@redhat.com>
521 * configure.tgt (ac_default_ld_warn_rwx_segments): Set to 0 for
524 2022-11-03 Nick Clifton <nickc@redhat.com>
527 * scripttempl/avr.sc (__DATA_REGION_ORIGIN__): Define. If a value
528 has not been provided on the command line then use DATA_ORIGIN.
529 (MEMORY): Use __DATA_REGION_ORIGIN__ as the start of the data region.
531 2022-10-21 Nick Clifton <nickc@redhat.com>
534 * ld.h (struct ld_config_type): Add no_warnings field.
535 * ldlex.h (enum option_values): Add OPTION_NO_WARNINGS.
536 * lexsup.c (ld_options): Add --no-warnings.
537 (parse_args): Add support for -w and --no-warnings.
538 * ldmisc.c (vfinfo): Return early if the message is a warning and
540 * ld.texi (options): Document new command line option.
541 * NEWS: Mention the new feature.
543 2022-08-30 Nick Clifton <nickc@redhat.com>
546 * testsuite/ld-x86-64/pr27587.err: Update expected output.
548 2022-08-18 Ralf Habacker <ralf.habacker@freenet.de>
551 * testsuite/ld-pe/pe-run2-def.exp: New file.
553 2022-08-03 Alan Modra <amodra@gmail.com>
556 * ldlang.h (lang_input_statement_struct): Add sort_key field.
557 * emultempl/pe.em (after_open): If multiple import libraries refer
558 to the same bfd, store their names in the sort_key field.
559 * emultempl/pep.em (after_open): Likewise.
560 * ldlang.c (sort_filename): New function. Returns the filename to
561 be used when sorting input files.
562 (wild_sort): Use the sort_filename function.
564 2022-07-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
567 * configure.tgt (ac_default_ld_warn_rwx_segments): Extend to all
568 sparc targets. Expand comment.
570 2022-07-26 Nick Clifton <nickc@redhat.com>
573 * configure.tgt (ac_default_ld_warn_rwx_segments): Disable for
574 sparc-solaris configurations.
576 2022-07-08 Nick Clifton <nickc@redhat.com>
578 * 2.39 branch created.
580 2022-06-27 Nick Clifton <nickc@redhat.com>
583 * configure.ac: Move HPPA specific code from here...
584 * configure.tgt: ... to here. Add similar code for MIPS.
585 Move code for CRIS, MIPS and HPPA to block at start of file.
586 * configure: Regenerate.
588 2022-06-21 Nick Clifton <nickc@redhat.com>
591 * configure.ac (ac_default_ld_warn_execstack): Default to 'no' for
593 (ac_default_ld_warn_rwx_segments): Likewise.
594 * configure: Regenerate.
595 * testsuite/ld-elf/elf.exp: Add the --warn-execstack command line
596 option to the command line when running execstack tests for the
599 2022-05-12 Alan Modra <amodra@gmail.com>
602 * pe-dll.c (dll_name): Delete, replacing with..
603 (dll_filename): ..this, moved earlier in file.
604 (generate_edata): Delete parameters. Don't set up dll_name here..
605 (pe_process_import_defs): ..instead set up dll_filename and
606 dll_symname here before returning.
607 (dll_symname_len): Delete write-only variable.
608 (pe_dll_generate_implib): Don't set up dll_symname here.
610 2022-05-03 Nick Clifton <nickc@redhat.com>
613 * libdep_plugin.c (get_libdeps): Check for overflow when computing
614 amount of memory to allocate.
616 2022-04-27 Nick Clifton <nickc@redhat.com>
619 * pe-dll.c (make_head): Use asprintf to allocate and populate a
620 buffer containing the temporary name.
621 (make_tail, make_one, make_singleton_name_thunk): Likewise.
622 (make_import_fixup_mark, make_import_fixup_entry): Likewise.
623 (make_runtime_pseudo_reloc): Likewise.
624 (pe_create_runtime_relocator_reference): Likewise.
626 2022-04-25 Nick Clifton <nickc@redhat.com>
629 * testsuite/ld-elf/pr29072.b.warn: Update to include the note
630 about the linker's behaviour being depreccated.
632 2022-04-20 Clément Chigot <clement.chigot@atos.net>
634 * emultempl/aix.em (params): New variable.
635 (stub_file): New variable.
636 (xcoff_add_stub_section): New function.
637 (xcoff_layout_sections_again): New function
638 (hook_in_stub): New function.
639 (_after_allocation): Add stub creation.
640 (_create_output_section_statements): Allocate stub file and
641 pass params to backend.
643 2022-04-20 Clément Chigot <clement.chigot@atos.net>
645 * emultempl/aix.em (_after_allocation): New function.
647 2022-04-07 Mark Harmstone <mark@harmstone.com>
649 * testsuite/ld-pe/secidx1.s: New test source file.
650 * testsuite/ld-pe/secidx2.s: New test source file.
651 * testsuite/ld-pe/secidx.d: New test driver file.
652 * testsuite/ld-pe/secidx_64.d: New test driver file.
653 * testsuite/ld-pe/pe.exp: Add new tests.
655 2022-03-01 Nick Clifton <nickc@redhat.com>
658 * testsuite/ld-elf/pr21964-1a.c: Fix array comparisons.
659 * testsuite/ld-elf/pr21964-1b.c: Likewise.
660 * testsuite/ld-elf/pr21964-1c.c: Likewise.
661 * testsuite/ld-elf/pr21964-2a.c: Likewise.
662 * testsuite/ld-elf/pr21964-2b.c: Likewise.
663 * testsuite/ld-elf/pr21964-3a.c: Likewise.
665 2022-02-17 Roland McGrath <mcgrathr@google.com>
667 * ld.texi (Output Section Type): Fix typo in @code syntax.
669 2022-02-17 Nick Clifton <nickc@redhat.com>
671 * po/sr.po: Updated Serbian translation.
673 2022-02-16 Fangrui Song <maskray@google.com>
674 Nick Clifton <nickc@redhat.com>
677 * ld.texi: Document new output section type.
678 * ldlex.l: Add new token TYPE.
679 * ldgram.y: Handle TYPE=exp and READONLY (TYPE=exp).
680 * ldlang.h: Add type_section to list of section types.
681 * ldlang.c (lang_add_section): Handle type_section.
682 (map_input_to_output_sections): Handle type_section.
683 * testsuite/ld-scripts/output-section-types.t: Add tests.
684 * testsuite/ld-scripts/output-section-types.d: Update.
686 2022-02-02 Nick Clifton <nickc@redhat.com>
688 * po/fr.po: Updated French translation.
690 2022-01-24 Nick Clifton <nickc@redhat.com>
692 * po/bg.po: Updated Bulgarian translation.
693 * po/uk.po: Updated Ukranian translation.
695 2022-01-22 Alexander von Gluck IV <kallisti5@unixzen.com>
697 * configure.tgt (arm-haiku): Fix typo.
698 * emulparams/armelf_haiku.su (MAXPAGESIZE): Use the default value.
699 (COMMONPAGESIZE): Likewise.
701 2022-01-22 Nick Clifton <nickc@redhat.com>
703 * configure: Regenerate.
704 * po/ld.pot: Regenerate.
706 2022-01-22 Nick Clifton <nickc@redhat.com>
708 * 2.38 release branch created.
710 2022-01-21 Nick Clifton <nickc@redhat.com>
712 * po/sr.po: Updated Serbian translation.
714 2022-01-17 Nick Clifton <nickc@redhat.com>
716 * Makefile.in: Regenerate.
717 * po/ld.pot: Regenerate.
719 2022-01-11 Martin Storsjö <martin@martin.st>
721 * pe-dll.c (make_head): Prefix the symbol name with the dll name.
722 (make_tail, make_one, make_singleton_name_thunk): Likewise.
723 (make_import_fixup_entry, make_runtime_pseudo_reloc): Likewise.
724 (pe_create_runtime_relocator_reference): Likewise.
725 (pe_dll_generate_implib): Set dll_symname_len.
726 (pe_process_import_defs): Likewise.
728 2021-12-16 Nick Clifton <nickc@redhat.com>
731 * testsuite/ld-avr/avr-prop-7.d: Adjust expected output.
732 * testsuite/ld-avr/avr-prop-8.d: Likewise.
733 * testsuite/ld-avr/pr13402.d: Likewise.
735 2021-11-30 Nick Clifton <nickc@redhat.com>
737 * scripttempl/pru.sc (.pru_irq_map): Define output section.
738 * testsuite/ld-pru/pru_irq_map-1.d: New test.
739 * testsuite/ld-pru/pru_irq_map-2.d: New test.
740 * testsuite/ld-pru/pru_irq_map.s: New test.
742 2021-11-17 Jeremy Drake <cygwin@jdrake.com>
744 * emultempl/pep.em (DEFAULT_DLL_CHARACTERISTICS): Set to 0 for
746 * emultempl/pep.em (DEFAULT_DLL_CHARACTERISTICS): Likewise.
748 2021-11-17 Nick Clifton <nickc@redhat.com>
751 * ldgram.y: Add support for PT_GNU_RELRO and PT_GNU_PROPERTY.
752 * ldgram.c: Regenerate.
754 2021-11-15 Roland McGrath <mcgrathr@google.com>
756 * testsuite/ld-aarch64/dt_textrel.d: Pass explicit -z notext in
757 case ld was configured with --enable-textrel-check=error.
758 * testsuite/ld-aarch64/pr22764.d: Likewise.
759 * testsuite/ld-aarch64/pr20402.d: Likewise.
761 2021-10-25 Nick Alcock <nick.alcock@oracle.com>
763 * testsuite/ld-ctf/nonrepresentable-member.*: New test.
765 2021-10-25 Nick Alcock <nick.alcock@oracle.com>
767 * testsuite/ld-ctf/array.d: Change --ctf=.ctf to --ctf.
768 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
769 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
770 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
771 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
772 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
773 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
774 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
775 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
776 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
777 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
778 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
779 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
780 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
781 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
782 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
783 * testsuite/ld-ctf/cycle-1.d: Likewise.
784 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
785 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
786 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
787 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
788 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
789 * testsuite/ld-ctf/diag-cuname.d: Likewise.
790 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
791 * testsuite/ld-ctf/enum-forward.d: Likewise.
792 * testsuite/ld-ctf/enums.d: Likewise.
793 * testsuite/ld-ctf/forward.d: Likewise.
794 * testsuite/ld-ctf/function.d: Likewise.
795 * testsuite/ld-ctf/nonrepresentable.d: Likewise.
796 * testsuite/ld-ctf/slice.d: Likewise.
797 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
799 2021-09-30 Dimitar Dimitrov <dimitar@dinux.eu>
801 * scripttempl/pru.sc (.resource_table): Align the output
802 section, not the first symbol.
804 2021-09-27 Nick Alcock <nick.alcock@oracle.com>
806 * configure: Regenerate.
808 2021-09-21 Nick Clifton <nickc@redhat.com>
810 * ldlang.c (lang_end): When computing the entry point, only
811 try the start address of the entry section when creating an
813 * ld.texi (Entry point): Update description of heuristic used to
814 choose the entry point.
815 testsuite/ld-alpha/tlspic.rd: Update expected entry point address.
816 testsuite/ld-arm/tls-gdesc-got.d: Likewise.
817 testsuite/ld-i386/tlsnopic.rd: Likewise.
818 testsuite/ld-ia64/tlspic.rd: Likewise.
819 testsuite/ld-sparc/gotop32.rd: Likewise.
820 testsuite/ld-sparc/gotop64.rd: Likewise.
821 testsuite/ld-sparc/tlssunnopic32.rd: Likewise.
822 testsuite/ld-sparc/tlssunnopic64.rd: Likewise.
823 testsuite/ld-sparc/tlssunpic32.rd: Likewise.
824 testsuite/ld-sparc/tlssunpic64.rd: Likewise.
825 testsuite/ld-tic6x/shlib-1.rd: Likewise.
826 testsuite/ld-tic6x/shlib-1b.rd: Likewise.
827 testsuite/ld-tic6x/shlib-1r.rd: Likewise.
828 testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
829 testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
830 testsuite/ld-x86-64/pr14207.d: Likewise.
831 testsuite/ld-x86-64/tlsdesc.rd: Likewise.
832 testsuite/ld-x86-64/tlspic.rd: Likewise.
833 testsuite/ld-x86-64/tlspic2.rd: Likewise.
835 2021-09-15 Claudiu Zissulescu <claziss@synopsys.com>
837 * testsuite/ld-arc/got-weak.d: Update file.
839 2021-09-14 Claudiu Zissulescu <claziss@synopsys.com>
841 * ld-arc/got-weak.d: New file.
842 * ld-arc/got-weak.s: Likewise.
844 2021-07-26 Roland McGrath <mcgrathr@google.com>
846 * testsuite/ld-x86-64/x86-64.exp (Build textrel-1): Use --warn-textrel.
848 2021-07-06 Michael Matz <matz@suse.de>
851 * testsuite/ld-riscv-elf/relax-twice.ver: New.
852 * testsuite/ld-riscv-elf/relax-twice-1.s: New.
853 * testsuite/ld-riscv-elf/relax-twice-2.s: New.
854 * testsuite/ld-riscv-elf/ld-riscv-elf.exp
855 (run_relax_twice_test): New, and call it.
857 2021-07-03 Nick Clifton <nickc@redhat.com>
859 * configure: Regenerate.
860 * po/ld.pot: Regenerate.
862 2021-07-03 Nick Clifton <nickc@redhat.com>
864 * 2.37 release branch created.
866 2021-06-22 Nelson Chu <nelson.chu@sifive.com>
868 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
869 * testsuite/ld-riscv-elf/pcrel-lo-addend-3a.d: New testcase.
870 * testsuite/ld-riscv-elf/pcrel-lo-addend-3a.s: Likewise.
871 * testsuite/ld-riscv-elf/pcrel-lo-addend-3b.d: New testcase.
872 Should report error since the %pcrel_lo with addend refers to
874 * testsuite/ld-riscv-elf/pcrel-lo-addend-3b.s: Likewise.
875 * testsuite/ld-riscv-elf/pcrel-lo-addend-3c.d: New testcase.
876 Should report error since the %got_pcrel_hi with addend.
877 * testsuite/ld-riscv-elf/pcrel-lo-addend-3c.s: Likewise.
878 * testsuite/ld-riscv-elf/pcrel-lo-addend-3.ld: Likewise.
880 2021-06-19 H.J. Lu <hongjiu.lu@intel.com>
883 * testsuite/ld-i386/i386.exp: Run PR ld/27998 tests.
884 * testsuite/ld-i386/pr27998a.d: New file.
885 * testsuite/ld-i386/pr27998a.s: Likewise.
886 * testsuite/ld-i386/pr27998b.d: Likewise.
887 * testsuite/ld-i386/pr27998b.s: Likewise.
889 2021-06-19 H.J. Lu <hongjiu.lu@intel.com>
891 * testsuite/ld-x86-64/textrel-1.err: New file.
892 * testsuite/ld-x86-64/textrel-1a.s: Likewise.
893 * testsuite/ld-x86-64/textrel-1b.s: Likewise.
894 * testsuite/ld-x86-64/x86-64.exp: Run textrel-1 tests.
896 2021-06-18 H.J. Lu <hongjiu.lu@intel.com>
898 * testsuite/ld-elf/property-and-1.d: Skip am33_2.0, hppa-hpux
900 Pass --generate-missing-build-notes=no to assembler. Allow
901 other note sections for xtensa.
902 * testsuite/ld-elf/property-and-2.d: Likewise.
903 * testsuite/ld-elf/property-and-3.d: Likewise.
904 * testsuite/ld-elf/property-and-4.d: Likewise.
905 * testsuite/ld-elf/property-or-1.d: Likewise.
906 * testsuite/ld-elf/property-or-2.d: Likewise.
907 * testsuite/ld-elf/property-or-3.d: Likewise.
908 * testsuite/ld-elf/property-or-4.d: Likewise.
910 2021-06-18 H.J. Lu <hongjiu.lu@intel.com>
912 * ld.texi: Move -z unique-symbol after -z undefs.
914 2021-06-18 H.J. Lu <hongjiu.lu@intel.com>
916 * testsuite/ld-elf/property-and-1.d: New file.
917 * testsuite/ld-elf/property-and-1.s: Likewise.
918 * testsuite/ld-elf/property-and-2.d: Likewise.
919 * testsuite/ld-elf/property-and-2.s: Likewise.
920 * testsuite/ld-elf/property-and-3.d: Likewise.
921 * testsuite/ld-elf/property-and-3.s: Likewise.
922 * testsuite/ld-elf/property-and-4.d: Likewise.
923 * testsuite/ld-elf/property-and-empty.s: Likewise.
924 * testsuite/ld-elf/property-or-1.d: Likewise.
925 * testsuite/ld-elf/property-or-1.s: Likewise.
926 * testsuite/ld-elf/property-or-2.d: Likewise.
927 * testsuite/ld-elf/property-or-2.s: Likewise.
928 * testsuite/ld-elf/property-or-3.d: Likewise.
929 * testsuite/ld-elf/property-or-3.s: Likewise.
930 * testsuite/ld-elf/property-or-4.d: Likewise.
931 * testsuite/ld-elf/property-or-empty.s: Likewise.
933 2021-06-17 H.J. Lu <hongjiu.lu@intel.com>
936 * testsuite/ld-x86-64/x86-64.exp: Pass $NOPIE_LDFLAGS and
937 $NOPIE_CFLAGS to protected-func-1 without PIE.
939 2021-06-17 H.J. Lu <hongjiu.lu@intel.com>
942 * testsuite/ld-x86-64/x86-64.exp: Run protected function tests.
943 * testsuite/ld-x86-64/protected-func-1.h: New file.
944 * testsuite/ld-x86-64/protected-func-1a.s: Likewise.
945 * testsuite/ld-x86-64/protected-func-1b.c: Likewise.
947 2021-06-17 Fangrui Song <maskray@google.com>
949 * ldlex.h (enum option_values): Add OPTION_NO_PIE.
950 * lexsup.c (struct ld_options): Add -no-pie.
951 (parse_args): Handle -no-pie.
952 * ld.texi: Document -no-pie.
954 2021-06-15 Alan Modra <amodra@gmail.com>
956 * testsuite/ld-pie/vaddr-0.d: Update expected output.
958 2021-06-11 Alan Modra <amodra@gmail.com>
961 * ldelf.c (ldelf_after_open): Error on input PIEs too.
963 2021-06-09 Nick Clifton <nickc@redhat.com>
966 * testsuite/ld-sparc/sparc.exp: Do not run the sparctests or
967 sparc64tests for Solaris2 targets.
969 2021-06-03 Alan Modra <amodra@gmail.com>
972 * ld.texi (link-time runtime library search path): Mention
973 plugin library path. Correct order of search.
975 2021-05-31 Nelson Chu <nelson.chu@sifive.com>
976 Lifang Xia <lifang_xia@c-sky.com>
979 * emultempl/riscvelf.em (after_allocation): Call
980 riscv_set_data_segment_info to set data segment phase before relaxing.
981 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
982 * testsuite/ld-riscv-elf/relro-relax-lui.d: New testcase.
983 * testsuite/ld-riscv-elf/relro-relax-lui.s: Likewise.
984 * testsuite/ld-riscv-elf/relro-relax-pcrel.d: Likewise.
985 * testsuite/ld-riscv-elf/relro-relax-pcrel.s: Likewise.
987 2021-05-28 H.J. Lu <hongjiu.lu@intel.com>
990 * testsuite/ld-i386/pcrel16-2.d: xfail.
991 * testsuite/ld-x86-64/pcrel16-2.d: Likewise.
993 2021-05-26 H.J. Lu <hongjiu.lu@intel.com>
996 * testsuite/ld-i386/code16.d: New file.
997 * testsuite/ld-i386/code16.t: Likewise.
998 * testsuite/ld-x86-64/code16.d: Likewise.
999 * testsuite/ld-x86-64/code16.t: Likewise.
1000 * testsuite/ld-i386/i386.exp: Run code16.
1001 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1003 2021-05-26 H.J. Lu <hongjiu.lu@intel.com>
1005 * testsuite/ld-x86-64/ilp32-12.d: New file.
1006 * testsuite/ld-x86-64/ilp32-12.s: Likewise.
1007 * testsuite/ld-x86-64/x86-64.exp: Run ilp32-12.
1009 2021-05-14 Nelson Chu <nelson.chu@sifive.com>
1011 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
1012 * testsuite/ld-riscv-elf/pcrel-lo-addend-2a.d: Renamed from
1014 * testsuite/ld-riscv-elf/pcrel-lo-addend-2a.s: Likewise.
1015 * testsuite/ld-riscv-elf/pcrel-lo-addend-2b.d: New testcase.
1016 * testsuite/ld-riscv-elf/pcrel-lo-addend-2b.s: Likewise.
1018 2021-05-13 Fangrui Song <maskray@google.com>
1021 * ldlex.h (enum option_values): Add OPTION_NO_SYMBOLIC.
1022 * lexsup.c (ld_options): Add -Bno-symbolic.
1023 (parse_args): Handle -Bno-symbolic.
1024 * ld.texi: Document -Bno-symbolic.
1025 * NEWS: Mention -Bno-symbolic.
1026 * testsuite/ld-elf/shared.exp: Add a test.
1028 2021-05-12 Richard Earnshaw <rearnsha@arm.com>
1030 * testsuite/ld-arm/arm-elf.exp (farcall test for v8-m.mainline):
1031 Correct expected output.
1033 2021-05-11 Roland McGrath <mcgrathr@google.com>
1035 * testsuite/ld-x86-64/rela.d: Fix regexp not to presume a specific
1036 address layout, so it works for e.g. --target=x86-64-elf.
1038 2021-05-11 Nick Clifton <nickc@redhat.com>
1041 * Makefile.am (install-data-local): Also delete libdep.dll.a if it
1043 * Makefile.in: Regenerate.
1045 2021-05-10 Dimitar Dimitrov <dimitar@dinux.eu>
1047 * testsuite/ld-elf/group8a.d: Remove pru from XFAIL list.
1048 * testsuite/ld-elf/group8b.d: Ditto.
1049 * testsuite/ld-elf/group9a.d: Ditto.
1050 * testsuite/ld-elf/group9b.d: Ditto.
1051 * testsuite/ld-elf/pr12851.d: Ditto.
1052 * testsuite/ld-elf/pr22677.d: Ditto.
1053 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Remove
1056 2021-05-10 Dimitar Dimitrov <dimitar@dinux.eu>
1058 * scripttempl/pru.sc (.resource_table): Add ALIGN directive.
1059 Use symbols for memory sizes.
1061 2021-05-08 Mike Frysinger <vapier@gentoo.org>
1063 * Makefile.am (html-local, doc/ld/index.html): New targets.
1064 * Makefile.in: Regenerate.
1066 2021-05-08 Mike Frysinger <vapier@gentoo.org>
1068 * Makefile.am (AM_MAKEINFOFLAGS): Add --no-split.
1069 * Makefile.in: Regenerate.
1071 2021-05-07 Jan Beulich <jbeulich@suse.com>
1073 * testsuite/ld-x86-64/rela.d: New.
1074 * testsuite/ld-x86-64/x86-64.exp: Run new test.
1076 2021-05-07 Nick Clifton <nickc@redhat.com>
1078 * ldelfgen.c (compare_link_order): Ignore section size when
1079 performing a relocateable link.
1081 2021-05-07 Alan Modra <amodra@gmail.com>
1083 * ldexp.c (update_definedness): Don't return false for absolute
1085 * ldmain.c (multiple_definition): Print "warning: " in message
1086 when not a hard error.
1088 2021-05-07 Alan Modra <amodra@gmail.com>
1090 * testsuite/ld-elf/pr27825-1.d: Correct xfail.
1091 * testsuite/ld-elf/pr27825-2.d: Likewise.
1093 2021-05-06 Stafford Horne <shorne@gmail.com>
1096 testsuite/ld-or1k/or1k.exp (or1kplttests): Add tests for linking
1097 along with gotha() relocations.
1098 testsuite/ld-or1k/gotha1.dd: New file.
1099 testsuite/ld-or1k/gotha1.s: New file.
1100 testsuite/ld-or1k/gotha2.dd: New file.
1101 testsuite/ld-or1k/gotha2.s: New file
1102 testsuite/ld-or1k/pltlib.s (x): Define size to avoid link
1105 2021-05-06 Nick Alcock <nick.alcock@oracle.com>
1107 * testsuite/ld-ctf/ctf.exp: Use -gctf, not -gt.
1108 * testsuite/lib/ld-lib.exp: Likewise.
1109 * testsuite/ld-ctf/nonrepresentable-1.c: New test for nonrepresentable types.
1110 * testsuite/ld-ctf/nonrepresentable-2.c: Likewise.
1111 * testsuite/ld-ctf/nonrepresentable.d: Likewise.
1112 * testsuite/ld-ctf/array.d: Larger type section.
1113 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
1114 * testsuite/ld-ctf/enums.d: Likewise.
1115 * testsuite/ld-ctf/conflicting-enums.d: Don't compare types.
1116 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Changed type order.
1117 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
1118 * testsuite/ld-ctf/slice.d: Adjust for improved slice emission.
1120 2021-05-05 H.J. Lu <hongjiu.lu@intel.com>
1123 * testsuite/ld-elf/pr27825-1.d: New file.
1124 * testsuite/ld-elf/pr27825-1a.s: Likewise.
1125 * testsuite/ld-elf/pr27825-1b.s: Likewise.
1126 * testsuite/ld-elf/pr27825-2.d: Likewise.
1127 * testsuite/ld-elf/pr27825-2a.s: Likewise.
1128 * testsuite/ld-elf/pr27825-2b.s: Likewise.
1130 2021-05-05 Alan Modra <amodra@gmail.com>
1132 * testsuite/ld-powerpc/empty.s: New file.
1133 * testsuite/ld-powerpc/undefweak.d,
1134 * testsuite/ld-powerpc/undefweak.s: New testcase.
1135 * testsuite/ld-powerpc/powerpc.exp: Run it.
1137 2021-05-03 Alan Modra <amodra@gmail.com>
1139 * testsuite/ld-s390/tlspic_64.rd: Adjust expected output for
1140 named section symbols.
1142 2021-04-28 Nick Clifton <nickc@redhat.com>
1144 * testsuite/ld-elf/anno-sym.s: New test source file.
1145 * testsuite/ld-elf/anno-sym.d: New test driver.
1146 * testsuite/ld-elf/anno-sym.l: New test error output.
1148 2021-04-26 Jan Beulich <jbeulich@suse.com>
1150 * testsuite/ld-i386/pcrel16-2.s, testsuite/ld-i386/pcrel16-2.d,
1151 testsuite/ld-x86-64/pcrel16-2.d: New.
1152 * testsuite/ld-i386/i386.exp: Run new test.
1153 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1155 2021-04-23 H.J. Lu <hongjiu.lu@intel.com>
1158 * testsuite/ld-bootstrap/bootstrap.exp: Create a symbolic link
1159 to tmpdir/ldscripts only if it doesn't exist.
1161 2021-04-22 Jan Beulich <jbeulich@suse.com>
1164 * testsuite/ld-pe/pr26659-weak-undef-sym.d: Relax for Cygwin.
1166 2021-04-21 Nick Clifton <nickc@redhat.com>
1168 * testsuite/ld-aarch64/variant_pcs-now.d: Adjust expected output
1169 to allow for named section symbols.
1170 * testsuite/ld-aarch64/variant_pcs-r.d: Likewise.
1171 * testsuite/ld-aarch64/variant_pcs-shared.d: Likewise.
1172 * testsuite/ld-alpha/tlsbin.rd: Likewise.
1173 * testsuite/ld-alpha/tlsbinr.rd: Likewise.
1174 * testsuite/ld-alpha/tlspic.rd: Likewise.
1175 * testsuite/ld-arm/rodata-merge-map.sym: Likewise.
1176 * testsuite/ld-arm/script-type.sym: Likewise.
1177 * testsuite/ld-cris/libdso-2.d: Likewise.
1178 * testsuite/ld-cris/pr16044.d: Likewise.
1179 * testsuite/ld-elf/sec64k.exp: Likewise.
1180 * testsuite/ld-ia64/tlsbin.rd: Likewise.
1181 * testsuite/ld-ia64/tlspic.rd: Likewise.
1182 * testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d: Likewise.
1183 * testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d: Likewise.
1184 * testsuite/ld-mmix/bspec1.d: Likewise.
1185 * testsuite/ld-mmix/bspec2.d: Likewise.
1186 * testsuite/ld-mmix/local1.d: Likewise.
1187 * testsuite/ld-mmix/local3.d: Likewise.
1188 * testsuite/ld-mmix/local5.d: Likewise.
1189 * testsuite/ld-mmix/local7.d: Likewise.
1190 * testsuite/ld-mmix/undef-3.d: Likewise.
1191 * testsuite/ld-powerpc/tlsso.r: Likewise.
1192 * testsuite/ld-powerpc/tlsso32.r: Likewise.
1193 * testsuite/ld-powerpc/tlstocso.r: Likewise.
1194 * testsuite/ld-s390/tlsbin.rd: Likewise.
1195 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
1196 * testsuite/ld-s390/tlspic.rd: Likewise.
1197 * testsuite/ld-s390/tlspic_64.rd: Likewise.
1198 * testsuite/ld-sparc/gotop32.rd: Likewise.
1199 * testsuite/ld-sparc/gotop64.rd: Likewise.
1200 * testsuite/ld-sparc/tlssunbin32.rd: Likewise.
1201 * testsuite/ld-sparc/tlssunbin64.rd: Likewise.
1202 * testsuite/ld-sparc/tlssunnopic32.rd: Likewise.
1203 * testsuite/ld-sparc/tlssunnopic64.rd: Likewise.
1204 * testsuite/ld-sparc/tlssunpic32.rd: Likewise.
1205 * testsuite/ld-sparc/tlssunpic64.rd: Likewise.
1206 * testsuite/ld-tic6x/common.d: Likewise.
1207 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
1208 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
1209 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
1210 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
1211 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
1212 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
1213 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
1214 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
1215 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
1216 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
1217 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
1218 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
1219 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
1221 2021-04-20 Clément Chigot <clement.chigot@atos.net>
1224 * testsuite/ld-powerpc/aix52.exp: Add new test.
1225 * testsuite/ld-powerpc/aix-neg-reloc-32.d: New test.
1226 * testsuite/ld-powerpc/aix-neg-reloc-64.d: New test.
1227 * testsuite/ld-powerpc/aix-neg-reloc.ex: New test.
1228 * testsuite/ld-powerpc/aix-neg-reloc.s: New test.
1230 2021-04-13 Nick Clifton <nickc@redhat.com>
1232 * ld.texi (Options): Add note about the effect of --as-needed on
1233 the --rpath and --rpath-link options on Linux based systems.
1235 2021-04-13 Alan Modra <amodra@gmail.com>
1238 * libdep_plugin.c (str2vec): Don't pass a potentially signed char
1241 2021-04-12 Alan Modra <amodra@gmail.com>
1243 * configure.ac (--enable-checking): Add support.
1244 * config.in: Regenerate.
1245 * configure: Regenerate.
1247 2021-04-12 Alan Modra <amodra@gmail.com>
1249 * emultempl/mipself.em (mips_create_output_section_statements):
1250 Pass base type of hash table to is_elf_hash_table.
1251 * ldelf.c (ldelf_after_open): Likewise.
1253 2021-04-12 Alan Modra <amodra@gmail.com>
1256 * ldlang.c (lang_mark_undefineds, undef_start_stop): Test that
1257 the symbol hash table is the correct type before accessing
1258 elf_link_hash_entry symbols.
1259 * plugin.c (is_visible_from_outside): Likewise.
1260 * emultempl/armelf.em (ld${EMULATION_NAME}_finish): Likewise.
1261 * emultempl/solaris2.em (elf_solaris2_before_allocation): Likewise.
1263 2021-04-09 Alan Modra <amodra@gmail.com>
1265 * testsuite/ld-powerpc/inlinepcrel-1.d: Update expected output.
1266 * testsuite/ld-powerpc/inlinepcrel-2.d: Likewise.
1267 * testsuite/ld-powerpc/notoc2.d: Likewise.
1268 * testsuite/ld-powerpc/notoc3.d: Likewise.
1269 * testsuite/ld-powerpc/pcrelopt.d: Likewise.
1270 * testsuite/ld-powerpc/startstop.d: Likewise.
1271 * testsuite/ld-powerpc/tlsget.d: Likewise.
1272 * testsuite/ld-powerpc/tlsget2.d: Likewise.
1273 * testsuite/ld-powerpc/tlsld.d: Likewise.
1274 * testsuite/ld-powerpc/weak1.d: Likewise.
1275 * testsuite/ld-powerpc/weak1so.d: Likewise.
1277 2021-04-06 Jan Beulich <jbeulich@suse.com>
1279 * pe-dll.c (generate_reloc): Bail immediately when .reloc is
1280 being discarded. Warn when relocated entry is above .reloc.
1282 2021-04-05 Alan Modra <amodra@gmail.com>
1284 * configure.ac: Move initfini-array arg handling earlier. Don't
1285 check for string.h, strings.h, stdlib.h, or locale.h. Do check
1286 for inttypes.h, stdint.h, sys/types.h. Don't check for
1287 setlocale, free, getev or strstr.
1288 (AC_ISC_POSIX): Don't invoke.
1289 * sysdep.h: Include string.h and stdlib.h unconditionally. Test
1290 HAVE_SYS_TYPE_H and HAVE_SYS_STAT_H. Remove strstr, free and
1291 getenv fallback declarations.
1292 * ld.h: Don't test HAVE_LOCALE_H.
1293 * ldmain.c: Don't test HAVE_SETLOCALE.
1294 * config.in: Regenerate.
1295 * configure: Regenerate.
1297 2021-04-01 Tamar Christina <tamar.christina@arm.com>
1300 * testsuite/ld-pe/pe.exp: Add test.
1301 * testsuite/ld-pe/pr26659-weak-undef-sym.d: New test.
1302 * testsuite/ld-pe/pr26659-weak-undef-sym.s: New test.
1304 2021-04-01 Martin Liska <mliska@suse.cz>
1306 * ldbuildid.c (strneq): Remove strneq and use startswith.
1307 (validate_build_id_style): Likewise.
1308 (compute_build_id_size): Likewise.
1310 2021-03-31 Alan Modra <amodra@gmail.com>
1312 * sysdep.h (POISON_BFD_BOOLEAN): Define.
1313 * configure.ac (elf_list_options, elf_shlib_list_options=false),
1314 (elf_plt_unwind_list_options=false): Replace FALSE with false,
1316 * emulparams/call_nop.sh, * emulparams/cet.sh,
1317 * emulparams/dynamic_undefined_weak.sh,
1318 * emulparams/elf32b4300.sh, * emulparams/elf32lm32.sh,
1319 * emulparams/elf32lr5900.sh, * emulparams/elf32lr5900n32.sh,
1320 * emulparams/elf32visium.sh, * emulparams/elf_x86_64.sh,
1321 * emulparams/extern_protected_data.sh, * emulparams/plt_unwind.sh,
1322 * emulparams/reloc_overflow.sh, * emulparams/static.sh,
1323 * emulparams/x86-64-lam.sh, * emultempl/aarch64elf.em,
1324 * emultempl/aix.em, * emultempl/alphaelf.em,
1325 * emultempl/armcoff.em, * emultempl/armelf.em,
1326 * emultempl/avrelf.em, * emultempl/beos.em, * emultempl/bfin.em,
1327 * emultempl/cr16elf.em, * emultempl/crxelf.em,
1328 * emultempl/cskyelf.em, * emultempl/elf.em, * emultempl/genelf.em,
1329 * emultempl/hppaelf.em, * emultempl/linux.em,
1330 * emultempl/m68hc1xelf.em, * emultempl/metagelf.em,
1331 * emultempl/mipself.em, * emultempl/mmix-elfnmmo.em,
1332 * emultempl/mmixelf.em, * emultempl/mmo.em, * emultempl/msp430.em,
1333 * emultempl/nios2elf.em, * emultempl/pdp11.em, * emultempl/pe.em,
1334 * emultempl/pep.em, * emultempl/ppc32elf.em,
1335 * emultempl/ppc64elf.em, * emultempl/rxelf.em,
1336 * emultempl/rxlinux.em, * emultempl/scoreelf.em,
1337 * emultempl/solaris2.em, * emultempl/spuelf.em,
1338 * emultempl/ticoff.em, * emultempl/v850elf.em, * emultempl/vms.em,
1339 * emultempl/xtensaelf.em, * emultempl/z80.em, * ld.h,
1340 * ldbuildid.c, * ldbuildid.h, * ldcref.c, * ldctor.c, * ldctor.h,
1341 * ldelf.c, * ldelf.h, * ldelfgen.c, * ldelfgen.h, * ldemul.c,
1342 * ldemul.h, * ldexp.c, * ldexp.h, * ldfile.c, * ldfile.h,
1343 * ldgram.y, * ldlang.c, * ldlang.h, * ldmain.c, * ldmain.h,
1344 * ldmisc.c, * ldmisc.h, * ldwrite.c, * lexsup.c, * mri.c,
1345 * pe-dll.c, * pe-dll.h, * pep-dll.h, * plugin.c, * plugin.h,
1346 * testplug.c, * testplug2.c, * testplug3.c, * testplug4.c: Replace
1347 bfd_boolean with bool, FALSE with false, and TRUE with true.
1348 * configure: Regenerate.
1350 2021-03-31 Alan Modra <amodra@gmail.com>
1352 * elf-hints-local.h: Include stdint.h in place of bfd_stdint.h.
1353 * emultempl/nds32elf.em: Likewise.
1354 * testsuite/ld-elf/mbind2b.c: Likewise.
1355 * testsuite/ld-elf/pr18718.c: Likewise.
1356 * testsuite/ld-elf/pr18720a.c: Likewise.
1357 * testsuite/ld-elf/pr25749-1.c: Likewise.
1358 * testsuite/ld-elf/pr25749-1a.c: Likewise.
1359 * testsuite/ld-elf/pr25749-1b.c: Likewise.
1360 * testsuite/ld-elf/pr25749-1c.c: Likewise.
1361 * testsuite/ld-elf/pr25749-1d.c: Likewise.
1362 * testsuite/ld-elf/pr25749-2.c: Likewise.
1363 * testsuite/ld-elf/pr25754-1a.c: Likewise.
1364 * testsuite/ld-elf/pr25754-2a.c: Likewise.
1365 * testsuite/ld-elf/pr25754-3a.c: Likewise.
1366 * testsuite/ld-elf/pr25754-4a.c: Likewise.
1367 * testsuite/ld-elf/pr25754-5a.c: Likewise.
1368 * testsuite/ld-elf/pr25754-6a.c: Likewise.
1370 2021-03-29 Alan Modra <amodra@gmail.com>
1372 * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Simplify
1374 * lexsup.c (parse_args): Likewise.
1375 * pe-dll.c (pe_dll_id_target): Likewise.
1377 2021-03-25 Nick Alcock <nick.alcock@oracle.com>
1379 * testsuite/ld-ctf/array.d: Only check that the data object
1380 section is nonempty: do not check its exact size.
1381 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
1382 * testsuite/ld-ctf/slice.d: Likewise.
1383 * testsuite/ld-ctf/data-func-conflicted.d: Likewise, and for the
1384 func info section too.
1385 * testsuite/ld-ctf/function.d: Likewise, for the func info section.
1387 2021-03-22 Martin Liska <mliska@suse.cz>
1389 * emultempl/aix.em: Replace usage of CONST_STRNEQ with startswith.
1390 * emultempl/beos.em: Likewise.
1391 * emultempl/elf.em: Likewise.
1392 * emultempl/pe.em: Likewise.
1393 * emultempl/pep.em: Likewise.
1394 * emultempl/xtensaelf.em: Likewise.
1395 * ldctor.c (ctor_prio): Likewise.
1396 * ldelf.c (ldelf_try_needed): Likewise.
1397 (ldelf_parse_ld_so_conf): Likewise.
1398 (ldelf_after_open): Likewise.
1399 (output_rel_find): Likewise.
1400 (ldelf_place_orphan): Likewise.
1401 * ldfile.c (ldfile_add_library_path): Likewise.
1402 * ldlang.c (lang_add_input_file): Likewise.
1403 * ldmain.c (get_sysroot): Likewise.
1404 (get_emulation): Likewise.
1405 (add_archive_element): Likewise.
1406 * ldwrite.c (unsplittable_name): Likewise.
1407 (clone_section): Likewise.
1408 * lexsup.c (parse_args): Likewise.
1409 * pe-dll.c (is_import): Likewise.
1410 (pe_implied_import_dll): Likewise.
1412 2021-03-19 H.J. Lu <hongjiu.lu@intel.com>
1415 * testsuite/ld-x86-64/pr27590.rd: New file.
1416 * testsuite/ld-x86-64/pr27590a.obj.bz2: Likewise.
1417 * testsuite/ld-x86-64/pr27590b.obj.bz2: Likewise.
1418 * testsuite/ld-x86-64/x86-64.exp: Run ld/27590 test.
1420 2021-03-20 Alan Modra <amodra@gmail.com>
1423 * ldlang.c (lang_gc_sections): Clear SEC_EXCLUDE when relocatable
1424 for all sections except .stabstr.
1426 2021-03-19 Alan Modra <amodra@gmail.com>
1429 * testsuite/ld-elf/pr27590a.d: Match relocs using label, and
1431 * testsuite/ld-elf/pr27590b.d: Likewise.
1433 2021-03-18 H.J. Lu <hongjiu.lu@intel.com>
1436 * testsuite/ld-elf/pr27590.s: New file.
1437 * testsuite/ld-elf/pr27590a.d: Likewise.
1438 * testsuite/ld-elf/pr27590b.d: Likewise.
1439 * testsuite/ld-i386/i386.exp: Also run ld/27193 test with
1440 --reduce-memory-overheads.
1442 2021-03-18 H.J. Lu <hongjiu.lu@intel.com>
1445 * testsuite/ld-x86-64/pr27587.err: New file.
1446 * testsuite/ld-x86-64/pr27587a.obj.bz2: Likewise.
1447 * testsuite/ld-x86-64/pr27587b.obj.bz2: Likewise.
1448 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/27587 test.
1450 2021-03-18 Nick Alcock <nick.alcock@oracle.com>
1452 * testsuite/ld-ctf/slice.c: Check slices of enums too.
1453 * testsuite/ld-ctf/slice.d: Results adjusted.
1455 2021-03-16 Nick Clifton <nickc@redhat.com>
1457 * pe-dll.c (pe_find_cdecl_alias_match): Use memmove to overwrite
1460 2021-03-15 Jan Beulich <jbeulich@suse.com>
1462 * pe-dll.c (generate_reloc): Drop padding to reloc_s->size.
1464 2021-03-12 Alan Modra <amodra@gmail.com>
1466 * Makefile.am (ALL_EMULATION_SOURCES): Move riscv files to..
1467 (ALL_64_EMULATION_SOURCES): ..here.
1468 * Makefile.in: Regenerate.
1470 2021-03-12 Clément Chigot <clement.chigot@atos.net>
1472 * emultempl/aix.em: Ensure .tdata section is removed
1473 if empty, even with -r flag.
1474 * scripttempl/aix.sc: Handle TLS sections.
1475 * testsuite/ld-powerpc/aix52.exp: Add new tests.
1476 * testsuite/ld-powerpc/aix-tls-reloc-32.d: New test.
1477 * testsuite/ld-powerpc/aix-tls-reloc-64.d: New test.
1478 * testsuite/ld-powerpc/aix-tls-reloc.ex: New test.
1479 * testsuite/ld-powerpc/aix-tls-reloc.s: New test.
1480 * testsuite/ld-powerpc/aix-tls-section-32.d: New test.
1481 * testsuite/ld-powerpc/aix-tls-section-64.d: New test.
1482 * testsuite/ld-powerpc/aix-tls-section.ex: New test.
1483 * testsuite/ld-powerpc/aix-tls-section.s: New test.
1485 2021-03-12 Clément Chigot <clement.chigot@atos.net>
1487 * scripttempl/aix.sc: Add .te to .data section.
1488 * testsuite/ld-powerpc/aix52.exp: Add test structure for AIX7+.
1489 Add aix-largetoc-1 test.
1490 * testsuite/ld-powerpc/aix-largetoc-1-32.d: New test.
1491 * testsuite/ld-powerpc/aix-largetoc-1-64.d: New test.
1492 * testsuite/ld-powerpc/aix-largetoc-1.ex: New test.
1493 * testsuite/ld-powerpc/aix-largetoc-1.s: New test.
1495 2021-03-12 Alan Modra <amodra@gmail.com>
1497 * testsuite/ld-gc/gc.exp: Pass "-image-base 0" to ld for PE, and
1498 arrange to define __main for some run_dump_test tests.
1499 * testsuite/ld-gc/pr13683.d: Accept more symbols.
1500 * testsuite/ld-gc/pr14265.d: Likewise, and ordering.
1501 * testsuite/ld-scripts/crossref.exp: Pass "-image-base 0" to ld for PE.
1502 * testsuite/ld-srec/srec.exp: Likewise.
1503 * testsuite/lib/ld-lib.exp (ld_link_defsyms): Use is_pecoff_format.
1505 2021-03-11 Nelson Chu <nelson.chu@sifive.com>
1507 * emultempl/riscvelf.em (after_allocation): Run ldelf_map_segments
1508 many times if riscv_restart_relax_sections returns TRUE.
1509 * testsuite/ld-riscv-elf/restart-relax.d: New testcase. Before
1510 applying this patch, the call won't be relaxed to jal; But now we
1511 have more chances to do relaxations.
1512 * testsuite/ld-riscv-elf/restart-relax.s: Likewise.
1513 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
1515 2021-03-10 Jan Beulich <jbeulich@suse.com>
1517 * testsuite/ld-scripts/pr22267.t: Avoid symbol value with more
1519 * testsuite/ld-scripts/pr22267.d: Adjust expectation and drop
1521 * scripttempl/mcorepe.sc: Use PROVIDE() for _stack.
1523 2021-03-09 Jan Beulich <jbeulich@suse.com>
1525 * testsuite/ld-pe/reloc.s: Add entry point symbols. Increase
1527 * testsuite/ld-pe/reloc.d: xfail for mcore.
1529 2021-03-09 Jan Beulich <jbeulich@suse.com>
1531 * testsuite/ld-scripts/alignof.exp,
1532 testsuite/ld-scripts/data.exp,
1533 testsuite/ld-scripts/default-script.exp,
1534 testsuite/ld-scripts/log2.exp,
1535 testsuite/ld-scripts/print-memory-usage.exp,
1536 testsuite/ld-scripts/sizeof.exp,
1537 testsuite/ld-undefined/weak-undef.exp: Set image base to zero
1539 * testsuite/ld-scripts/default-script1.d,
1540 testsuite/ld-scripts/default-script2.d,
1541 testsuite/ld-scripts/default-script3.d,
1542 testsuite/ld-scripts/default-script4.d: Drop xfail and comment.
1544 2021-03-05 H.J. Lu <hongjiu.lu@intel.com>
1548 * ldelf.c (ldelf_set_output_arch): New function.
1549 * ldelf.h (ldelf_set_output_arch): New prototype.
1550 * emultempl/elf.em (LDEMUL_SET_OUTPUT_ARCH): Default to
1551 ldelf_set_output_arch.
1552 * ld-x86-64/pe-x86-64-1.od: Expect __executable_start.
1553 * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise.
1554 * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise.
1555 * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise.
1556 * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise.
1557 * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise.
1558 * testsuite/ld-x86-64/pe-x86-64-6.obj.bz2: New file.
1559 * testsuite/ld-x86-64/pe-x86-64-6.od: Likewise.
1560 * testsuite/ld-x86-64/pe-x86-64.exp: Run ld/27425 test.
1562 2021-03-04 Jan Beulich <jbeulich@suse.com>
1564 * testsuite/ld-scripts/map-address.exp: Set image base to zero
1566 * testsuite/ld-scripts/map-address.t: Place .text.
1568 2021-03-04 Jan Beulich <jbeulich@suse.com>
1570 * ldexp.c (ldexp_is_final_sym_absolute): New.
1571 * ldexp.h (ldexp_is_final_sym_absolute): Declare.
1572 * pe-dll.c (generate_reloc): Skip absolute symbols.
1573 * testsuite/ld-pe/reloc.s, testsuite/ld-pe/reloc.d: New.
1574 * testsuite/ld-pe/pe.exp: Run new test.
1576 2021-03-03 Alan Modra <amodra@gmail.com>
1579 * ldlang.c (insert_undefined): Don't mark symbols here.
1580 (lang_mark_undefineds): Do so here instead, new function.
1581 (lang_process): Call lang_mark_undefineds.
1582 * testsuite/ld-gc/start3.d,
1583 * testsuite/ld-gc/start3.s: New test.
1584 * testsuite/ld-gc/start4.d,
1585 * testsuite/ld-gc/start4.s: New test.
1586 * testsuite/ld-gc/gc.exp: Run them.
1588 2021-03-03 Alan Modra <amodra@gmail.com>
1590 * testsuite/ld-gc/gc.exp: Define UNDERSCORE in ASFLAGS.
1591 Move tests with ELF section directives to is_elf_format block.
1592 * testsuite/ld-gc/abi-note.d: Run on more targets.
1593 * testsuite/ld-gc/pr19167.d: Likewise and adjust xfails.
1594 * testsuite/ld-gc/start.d: Likewise.
1595 * testsuite/ld-gc/start2.d: Likewise.
1596 * testsuite/ld-gc/stop.d: Likewise.
1597 * testsuite/ld-gc/pr19167a.s: Add support for underscore targets.
1598 * testsuite/ld-gc/start.s: Likewise.
1599 * testsuite/ld-gc/start2.s: Likewise.
1601 2021-03-02 Nick Alcock <nick.alcock@oracle.com>
1603 * ldelfgen.c (ldelf_ctf_strtab_iter_cb): Skip zero-refcount strings.
1605 2021-03-02 Alan Modra <amodra@gmail.com>
1607 * testsuite/ld-powerpc/startstop.d,
1608 * testsuite/ld-powerpc/startstop.r,
1609 * testsuite/ld-powerpc/startstop.s: New test.
1610 * testsuite/ld-powerpc/powerpc.exp: Run it.
1612 2021-03-02 Alan Modra <amodra@gmail.com>
1614 * testsuite/ld-powerpc/weak1.d,
1615 * testsuite/ld-powerpc/weak1.r,
1616 * testsuite/ld-powerpc/weak1.s,
1617 * testsuite/ld-powerpc/weak1so.d,
1618 * testsuite/ld-powerpc/weak1so.r: New tests.
1619 * testsuite/ld-powerpc/powerpc.exp: Run them.
1621 2021-03-01 Hannes Domani <ssbssa@sourceware.org>
1622 Nick Clifton <nickc@redhat.com>
1625 * scripttempl/pe.sc: Add DWARF-5 section names.
1626 * scripttempl/pep.sc: Likewise.
1628 2021-03-01 Alan Modra <amodra@gmail.com>
1629 Fangrui Song <maskray@google.com>
1631 * emultempl/elf.em: Handle -z start-stop-gc and -z nostart-stop-gc.
1632 * lexsup.c (elf_static_list_options): Display help for them. Move
1633 help for -z stack-size to here from elf_shlib_list_options. Add
1634 help for -z start-stop-visibility and -z undefs.
1635 * ld.texi: Document -z start-stop-gc and -z nostart-stop-gc.
1636 * NEWS: Mention -z start-stop-gc.
1637 * testsuite/ld-gc/start2.s,
1638 * testsuite/ld-gc/start2.d: New test.
1639 * testsuite/ld-gc/gc.exp: Run it.
1641 2021-03-01 Alan Modra <amodra@gmail.com>
1643 * ldlang.c (undef_start_stop): For ELF make undefined start/stop
1644 symbols undefweak if that was how they were referenced. Undo
1647 2021-03-01 Alan Modra <amodra@gmail.com>
1649 * testsuite/ld-elf/pr25708.d: Add --with-symbol-versions to nm.
1650 * testsuite/ld-elf/pr27128a.d: Likewise.
1651 * testsuite/ld-elf/pr27128b.d: Likewise.
1652 * testsuite/ld-elf/pr27128c.d: Likewise.
1653 * testsuite/ld-elf/pr27128d.d: Likewise.
1654 * testsuite/ld-elf/pr27128e.d: Likewise.
1656 2021-02-26 Alan Modra <amodra@gmail.com>
1659 * testsuite/ld-plugin/pr27441a.c,
1660 * testsuite/ld-plugin/pr27441b.c,
1661 * testsuite/ld-plugin/pr27441c.c,
1662 * testsuite/ld-plugin/pr27441c.d: New test.
1663 * testsuite/ld-plugin/lto.exp: Run it.
1665 2021-02-25 Jan Beulich <jbeulich@suse.com>
1667 * ld.texi (PROVIDE): Downgrade "error" to "diagnostic".
1669 2021-02-21 Alan Modra <amodra@gmail.com>
1671 * ldexp.c (exp_fold_tree_1): Warn on script defining a symbol
1672 defined in an object file.
1673 * ldmain.c (multiple_definition): Heed info->warn_multiple_definition.
1674 * testsuite/ld-scripts/defined5.d: Expect a warning.
1676 2021-02-19 Alan Modra <amodra@gmail.com>
1678 * testsuite/lib/ld-lib.exp: Whitespace.
1679 (load_common_lib): Expand single use and delete this proc.
1680 (run_host_cmd): Use -fno-lto when getting gcc's ld version.
1681 Use -B for clang too.
1683 2021-02-18 Andrew Burgess <andrew.burgess@embecosm.com>
1685 * testplugin.c (record_read_length): Remove debug fprintf.
1687 2021-02-14 Alan Modra <amodra@gmail.com>
1689 * testsuite/ld-cdtest/cdtest.exp,
1690 * testsuite/ld-checks/checks.exp,
1691 * testsuite/ld-elf/binutils.exp,
1692 * testsuite/ld-elf/compress.exp,
1693 * testsuite/ld-elf/dwarf.exp,
1694 * testsuite/ld-elf/exclude.exp,
1695 * testsuite/ld-elf/frame.exp,
1696 * testsuite/ld-elf/indirect.exp,
1697 * testsuite/ld-elf/linux-x86.exp,
1698 * testsuite/ld-elf/sec-to-seg.exp,
1699 * testsuite/ld-elf/tls_common.exp,
1700 * testsuite/ld-elfcomm/elfcomm.exp,
1701 * testsuite/ld-elfvers/vers.exp,
1702 * testsuite/ld-elfvsb/elfvsb.exp,
1703 * testsuite/ld-elfweak/elfweak.exp,
1704 * testsuite/ld-ifunc/binutils.exp,
1705 * testsuite/ld-mips-elf/mips-elf-flags.exp,
1706 * testsuite/ld-misc/defsym.exp,
1707 * testsuite/ld-mn10300/mn10300.exp,
1708 * testsuite/ld-plugin/lto.exp,
1709 * testsuite/ld-plugin/plugin.exp,
1710 * testsuite/ld-scripts/align.exp,
1711 * testsuite/ld-scripts/assert.exp,
1712 * testsuite/ld-scripts/crossref.exp,
1713 * testsuite/ld-scripts/defined.exp,
1714 * testsuite/ld-scripts/extern.exp,
1715 * testsuite/ld-scripts/log2.exp,
1716 * testsuite/ld-scripts/map-address.exp,
1717 * testsuite/ld-scripts/phdrs.exp,
1718 * testsuite/ld-scripts/phdrs2.exp,
1719 * testsuite/ld-scripts/script.exp,
1720 * testsuite/ld-scripts/section-flags.exp,
1721 * testsuite/ld-scripts/sizeof.exp,
1722 * testsuite/ld-scripts/weak.exp,
1723 * testsuite/ld-selective/selective.exp,
1724 * testsuite/ld-sh/sh.exp,
1725 * testsuite/ld-shared/shared.exp,
1726 * testsuite/ld-srec/srec.exp,
1727 * testsuite/ld-tic6x/tic6x.exp,
1728 * testsuite/ld-undefined/undefined.exp,
1729 * testsuite/ld-undefined/weak-undef.exp,
1730 * testsuite/lib/ld-lib.exp: Don't use unresolved except after
1731 perror. Instead report "unsupported" or "fail".
1733 2021-02-12 Nick Clifton <nickc@redhat.com>
1735 * testsuite/ld-elf/sec64k.exp: Stop readelf from automatically
1736 following debug links.
1738 2021-02-11 Alan Modra <amodra@gmail.com>
1740 * NEWS: Mention arm-symbianelf removal.
1742 2021-02-09 Alan Modra <amodra@gmail.com>
1744 * Makefile.am (ALL_EMULATION_SOURCES): Remove earmsymbian.c.
1745 Don't include symbian dep file.
1746 * configure.tgt: Remove arm*-*-symbianelf* entry.
1747 * emulparams/armsymbian.sh: Delete.
1748 * ld.texi: Don't mention symbian.
1749 * scripttempl/armbpabi.sc: Delete.
1750 * testsuite/ld-arm/symbian-seg1.d: Delete.
1751 * testsuite/ld-arm/symbian-seg1.s: Delete.
1752 * testsuite/ld-arm/arm-elf.exp: Don't run symbian-seg1.
1753 * Makefile.in: Regenerate.
1754 * po/BLD-POTFILES.in: Regenerate.
1756 2021-02-07 H.J. Lu <hongjiu.lu@intel.com>
1759 * testsuite/ld-i386/i386.exp: Remove property 3/4/5 run-time
1761 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1763 2021-01-26 Nick Alcock <nick.alcock@oracle.com>
1765 * ldlang.c (lang_merge_ctf): Set CTF_LINK_NO_FILTER_REPORTED_SYMS
1768 2021-02-04 H.J. Lu <hongjiu.lu@intel.com>
1771 * testsuite/ld-x86-64/pr19609-2a.d: Updated.
1772 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
1773 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
1774 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
1775 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
1776 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
1777 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
1779 2021-02-04 H.J. Lu <hongjiu.lu@intel.com>
1782 * testsuite/ld-plugin/lto.exp: Run PR ld/15146 tests.
1783 * testsuite/ld-plugin/pr15146.d: Restored.
1784 * testsuite/ld-plugin/pr15146a.c: Likewise.
1785 * testsuite/ld-plugin/pr15146b.c: Likewise.
1786 * testsuite/ld-plugin/pr15146c.c: Likewise.
1787 * testsuite/ld-plugin/pr15146d.c: Likewise.
1789 2021-02-04 Alan Modra <amodra@gmail.com>
1791 * testsuite/ld-plugin/pr27311d.c: New test.
1792 * testsuite/ld-plugin/lto.exp: Rename pr27311 to pr27311-1, compile
1793 and link new test as pr27311-2.
1795 2021-02-03 Alan Modra <amodra@gmail.com>
1797 * testsuite/ld-ifunc/ifunc.exp (libpr16467b.so, libpr16467bn.so):
1798 Link with --as-needed.
1800 2021-02-02 Alan Modra <amodra@gmail.com>
1802 * testsuite/ld-plugin/pr27311.d,
1803 * testsuite/ld-plugin/pr27311.ver,
1804 * testsuite/ld-plugin/pr27311a.c,
1805 * testsuite/ld-plugin/pr27311b.c,
1806 * testsuite/ld-plugin/pr27311c.c: New testcase.
1807 * testsuite/ld-plugin/lto.exp: Run it. Correct PR14918 and
1810 2021-02-01 Emery Hemingway <ehmry@posteo.net>
1812 * configure.tgt: Add *-*-genode* as a target for AArch64 and x86.
1814 2021-02-01 Alan Modra <amodra@gmail.com>
1816 * ldgram.y (defsym_expr): Use assignment rule.
1817 * ldlex.h (ldlex_defsym): Delete.
1818 * ldlex.l (DEFSYMEXP, ldlex_defsym): Delete.
1820 2021-02-01 Alan Modra <amodra@gmail.com>
1822 * ldgram.y (section): Call ldlex_backup. Remove empty action.
1823 * ldlex.h (ldlex_backup): Declare.
1824 * ldlex.l (<EXPRESSION>NAME): Don't use NOCFILENAMECHAR set of
1825 chars, use SYMBOLNAMECHAR.
1826 (ldlex_backup): New function.
1828 2021-02-01 Alan Modra <amodra@gmail.com>
1830 * ldgram.y: Whitespace fixes.
1832 2021-02-01 Alan Modra <amodra@gmail.com>
1834 * testsuite/ld-elf/pr27259.d: Correct sh_link match.
1836 2021-01-29 Alan Modra <amodra@gmail.com>
1838 * testsuite/ld-tic6x/tic6x.exp: Add pr27271 test.
1840 2021-01-28 H.J. Lu <hongjiu.lu@intel.com>
1843 * testsuite/ld-elf/pr27259.d: New file.
1844 * testsuite/ld-elf/pr27259.s: Likewise.
1846 2021-01-28 Alan Modra <amodra@gmail.com>
1849 * ldelf.c (ldelf_before_place_orphans): Use linker_mark to
1850 prevent endless looping of linked-to sections.
1852 2021-01-26 H.J. Lu <hongjiu.lu@intel.com>
1854 * testsuite/ld-x86-64/bnd-plt-1.d: Fix a typo.
1856 2021-01-26 Alan Modra <amodra@gmail.com>
1859 * emulparams/alphavms.sh: Don't set COMPILE_IN.
1860 * emulparams/elf64_ia64_vms.sh: Likewise.
1861 * emulparams/elf64mmix.sh: Likewise.
1862 * emulparams/elf_iamcu.sh: Likewise.
1863 * emulparams/elf_k1om.sh: Likewise.
1864 * emulparams/elf_l1om.sh: Likewise.
1865 * emulparams/mmo.sh: Likewise.
1866 * emulparams/pdp11.sh: Set DATA_SEG_ADDR.
1867 * scripttempl/pdp11.sc: Use it.
1868 * emultempl/pdp11.em: Don't edit .xn script for separate_code,
1869 instead use .xe script. Support scripts from file system.
1870 * emultempl/beos.em: Support scripts from file system.
1871 * emultempl/pe.em: Likewise.
1872 * emultempl/pep.em: Likewise.
1873 * testsuite/ld-bootstrap/bootstrap.exp: Make tmpdir/ldscripts link.
1875 2021-01-25 Fangrui Song <maskray@google.com>
1878 * scripttempl/DWARF.sc: Add .debug_* sections.
1880 2021-01-25 Nick Clifton <nickc@redhat.com>
1882 * scripttempl/DWARF.sc: Add .debug_loclists, .debug_rnglists,
1883 .debug_line_str and .debug_str_offsets. Move .debug_macro and
1884 .debug_addr into DWARF-5 section.
1886 2021-01-21 Alan Modra <amodra@gmail.com>
1888 * testsuite/ld-elf/pr26936.d: No longer xfail mips.
1890 2021-01-20 Alan Modra <amodra@gmail.com>
1892 * testsuite/ld-powerpc/relbrlt.s: Make symbols global.
1893 * testsuite/ld-powerpc/relbrlt.d: Adjust to suit.
1894 * testsuite/ld-powerpc/tlsget.d: Adjust for reordered stubs.
1895 * testsuite/ld-powerpc/tlsget.wf: Likewise.
1896 * testsuite/ld-powerpc/tlsget2.d: Likewise.
1897 * testsuite/ld-powerpc/tlsget2.wf: Likewise.
1898 * testsuite/ld-powerpc/tlsexe.r: Adjust for removed section syms.
1899 * testsuite/ld-powerpc/tlsexe32.r: Likewise.
1900 * testsuite/ld-powerpc/tlsexe32no.r: Likewise.
1901 * testsuite/ld-powerpc/tlsexeno.r: Likewise.
1902 * testsuite/ld-powerpc/tlsexenors.r: Likewise.
1903 * testsuite/ld-powerpc/tlsexers.r: Likewise.
1904 * testsuite/ld-powerpc/tlsexetoc.r: Likewise.
1905 * testsuite/ld-powerpc/tlsexetocrs.r: Likewise.
1906 * testsuite/ld-powerpc/tlsso.r: Likewise.
1907 * testsuite/ld-powerpc/tlsso32.r: Likewise.
1908 * testsuite/ld-powerpc/tlstocso.r: Likewise.
1910 2021-01-19 Nick Alcock <nick.alcock@oracle.com>
1912 * testsuite/ld-ctf/data-func-2.c: Stop removal of the extern foo_t
1913 symbols by the optimizer.
1914 * testsuite/ld-ctf/data-func-conflicted.d: Adjust accordingly.
1916 2021-01-19 Nelson Chu <nelson.chu@sifive.com>
1918 * testsuite/ld-elf/elf.exp (riscv_little_endian): Added. Return true
1919 if target is riscv little endian. Otherwise, return false.
1920 * testsuite/ld-elf/compressed1d.d: Only xfail the riscv little endian
1921 targets by [riscv_little_endian].
1923 2021-01-18 Alan Modra <amodra@gmail.com>
1926 * ldlang.c (map_input_to_output_sections): Start with a read-only
1927 section for data statements.
1928 * testsuite/ld-elf/size-2.d: Adjust to suit.
1930 2021-01-17 H.J. Lu <hongjiu.lu@intel.com>
1933 * testsuite/ld-i386/i386.exp: Run PR ld/27193 test.
1934 * testsuite/ld-i386/pr27193.dd: New file.
1935 * testsuite/ld-i386/pr27193a.o.bz2: Likewise.
1936 * testsuite/ld-i386/pr27193b.s: Likewise.
1938 2021-01-16 H.J. Lu <hongjiu.lu@intel.com>
1941 * testsuite/ld-plugin/lto.exp: Increase the max number of open
1942 files to 20 for PR binutils/23460 test.
1944 2021-01-16 H.J. Lu <hongjiu.lu@intel.com>
1947 * testsuite/ld-ifunc/ifunc.exp: Replace pr23169c.rd with
1948 pr23169a.rd for pr23169c and pr23169f. Remove pr23169e tests.
1949 * testsuite/ld-ifunc/pr23169a.c (foo): Don't compare function
1952 2021-01-15 H.J. Lu <hongjiu.lu@intel.com>
1954 * NEWS: Mention -z report-relative-reloc.
1955 * ld.texi: Document -z report-relative-reloc.
1956 * emulparams/elf32_x86_64.sh: Source x86-report-relative.sh.
1957 * emulparams/elf_i386.sh: Likewse.
1958 * emulparams/elf_x86_64.sh: Likewse.
1959 * emulparams/x86-report-relative.sh: New file.
1960 * testsuite/ld-i386/report-reloc-1.d: Likewse.
1961 * testsuite/ld-i386/report-reloc-1.l: Likewse.
1962 * testsuite/ld-i386/report-reloc-1.s: Likewse.
1963 * testsuite/ld-x86-64/report-reloc-1-x32.d: Likewse.
1964 * testsuite/ld-x86-64/report-reloc-1.d: Likewse.
1965 * testsuite/ld-x86-64/report-reloc-1.l: Likewse.
1966 * testsuite/ld-x86-64/report-reloc-1.s: Likewse.
1967 * testsuite/ld-i386/i386.exp: Run report-reloc-1.
1968 * testsuite/ld-x86-64/x86-64.exp: Run report-reloc-1 and
1971 2021-01-16 Alan Modra <amodra@gmail.com>
1974 * testsuite/ld-elfvers/vers6.dsym: Expect "Base" for undefined
1975 unversioned symbols.
1976 * testsuite/ld-elfvers/vers16.dsym: Likewise.
1978 2021-01-15 Nelson Chu <nelson.chu@sifive.com>
1980 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-01.d: Updated.
1981 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-02.d: Likewise.
1982 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-03.d: Likewise.
1983 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-04.d: Likewise.
1984 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-05.d: Likewise.
1985 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-06.d: Likewise.
1987 2021-01-14 Nick Clifton <nickc@redhat.com>
1989 * po/fr.po: Updated French translation.
1991 2021-01-14 Mike Frysinger <vapier@gentoo.org>
1993 * testsuite/config/default.exp [bfin*-elf*] (gcc_B_opt): Add -msim.
1995 2021-01-14 Alan Modra <amodra@gmail.com>
1998 * ldelfgen.c (compare_link_order): Protect access of ELF section
2000 (add_link_order_input_section): Remove redundant NULL check.
2001 Use bfd_get_flavour.
2002 (ldelf_map_segments): Use bfd_get_flavour.
2004 2021-01-13 H.J. Lu <hongjiu.lu@intel.com>
2006 * ldelfgen.c (add_link_order_input_section): Check for ELF input
2007 before accessing ELF section data.
2009 2021-01-13 Alan Modra <amodra@gmail.com>
2011 * Makefile.in: Regenerate.
2013 2021-01-13 Alan Modra <amodra@gmail.com>
2016 * ldlang.h (lang_output_section_statement_type): Add data field.
2017 (lang_input_section_type, lang_section_bst_type): Add pattern field.
2018 (statement_list): Declare.
2019 (lang_add_section): Adjust prototype.
2020 * emultempl/aarch64elf.em: Adjust lang_add_section calls.
2021 * emultempl/armelf.em: Likewise.
2022 * emultempl/beos.em: Likewise.
2023 * emultempl/cskyelf.em: Likewise.
2024 * emultempl/hppaelf.em: Likewise.
2025 * emultempl/m68hc1xelf.em: Likewise.
2026 * emultempl/metagelf.em: Likewise.
2027 * emultempl/mipself.em: Likewise.
2028 * emultempl/mmo.em: Likewise.
2029 * emultempl/msp430.em: Likewise.
2030 * emultempl/nios2elf.em: Likewise.
2031 * emultempl/pe.em: Likewise.
2032 * emultempl/pep.em: Likewise.
2033 * emultempl/ppc64elf.em: Likewise.
2034 * emultempl/spuelf.em: Likewise.
2035 * emultempl/vms.em: Likewise.
2036 * ldelf.c: Likewise.
2037 * ldelfgen.c: Include ldctor.h.
2038 (struct os_sections): New.
2039 (add_link_order_input_section, link_order_scan): New functions.
2040 (compare_link_order, fixup_link_order): New functions.
2041 (ldelf_map_segments): Call link_order_scan and fixup_link_order.
2042 * ldlang.c (statement_list): Make global.
2043 (output_section_callback_fast): Save pattern in tree node.
2044 (lang_add_section): Add pattern parameter, save in lang_input_section.
2045 (output_section_callback_tree_to_list): Adjust lang_add_section calls.
2046 (lang_insert_orphan, output_section_callback): Likewise.
2047 (ldlang_place_orphan): Likewise.
2048 (gc_section_callback): Don't set section->pattern.
2049 * testsuite/ld-elf/pr26256-2a.d: Don't xfail generic.
2050 * testsuite/ld-elf/pr26256-3b.d: Likewise.
2051 * testsuite/ld-elf/pr26256-2b.d: Likewise. notarget xgate.
2053 2021-01-13 Alan Modra <amodra@gmail.com>
2055 * ldlang.h (callback_t): Remove flag_info function parameter.
2056 * ldlang.c (walk_wild_consider_section): Adjust to suit.
2057 (walk_wild_section_general): Likewise.
2058 (output_section_callback_fast, output_section_callback): Likewise.
2059 (check_section_callback, gc_section_callback): Likewise.
2060 (find_relro_section_callback): Likewise.
2062 2021-01-12 H.J. Lu <hongjiu.lu@intel.com>
2065 * configure.ac: Use GNU_MAKE_JOBSERVER.
2066 * aclocal.m4: Regenerated.
2067 * configure: Likewise.
2069 2021-01-12 H.J. Lu <hongjiu.lu@intel.com>
2072 * testsuite/ld-x86-64/pe-x86-64-5.obj.bz2: New file.
2073 * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise.
2074 * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise.
2075 * testsuite/ld-x86-64/pe-x86-64.exp: Run PR ld/27171 test.
2077 2021-01-11 H.J. Lu <hongjiu.lu@intel.com>
2080 * configure: Regenerated.
2082 2021-01-11 Matt Jenkins <matt@majenko.co.uk>
2085 * ldmain.c (get_emulation): Add mipsmips32r3, mips32r5, mips64r3
2086 and mips64r5 to list of known mips targets.
2088 2021-01-11 Nick Clifton <nickc@redhat.com>matt@majenko.co.uk
2090 * po/pt_BR.po: Updated Brazilian Portuguese translation.
2091 ` * po/uk.po: Updated Ukranian translation.
2093 2021-01-09 H.J. Lu <hongjiu.lu@intel.com>
2095 * configure: Regenerated.
2097 2021-01-09 H.J. Lu <hongjiu.lu@intel.com>
2100 * testsuite/ld-x86-64/lam-u48.rd: New file.
2101 * testsuite/ld-x86-64/lam-u57.rd: Likewise.
2102 * testsuite/ld-x86-64/x86-64.exp: Add PR ld/27166 tests.
2104 2021-01-09 Nick Clifton <nickc@redhat.com>
2106 * configure: Regenerate.
2107 * po/ld.pot: Regenerate.
2109 2021-01-09 Nick Clifton <nickc@redhat.com>
2111 * 2.36 release branch crated.
2113 2021-01-08 H.J. Lu <hongjiu.lu@intel.com>
2115 * ld-x86-64/property-x86-lam-u48-4.d: Updated.
2116 * ld-x86-64/property-x86-lam-u48-5.d: Likewise.
2118 2021-01-09 Alan Modra <amodra@gmail.com>
2120 * configure: Regenerate.
2121 * Makefile.in: Regenerate.
2123 2021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
2125 * configure: Regenerate.
2127 2021-01-07 H.J. Lu <hongjiu.lu@intel.com>
2130 * testsuite/ld-elf/export-class.sd: Adjust the expected output.
2131 * testsuite/ld-elf/loadaddr3b.d: Likewise.
2132 * testsuite/ld-i386/ibt-plt-1.d: Likewise.
2133 * testsuite/ld-i386/ibt-plt-2a.d: Likewise.
2134 * testsuite/ld-i386/ibt-plt-2c.d: Likewise.
2135 * testsuite/ld-i386/ibt-plt-3a.d: Likewise.
2136 * testsuite/ld-i386/ibt-plt-3c.d: Likewise.
2137 * testsuite/ld-i386/pr19636-1d.d: Likewise.
2138 * testsuite/ld-i386/pr19636-1l.d: Likewise.
2139 * testsuite/ld-i386/pr19636-2c.d: Likewise.
2140 * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise.
2141 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise.
2142 * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Likewise.
2143 * testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise.
2144 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
2145 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
2146 * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise.
2147 * testsuite/ld-ifunc/pr17154-i386.d: Likewise.
2148 * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
2149 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
2150 * testsuite/ld-x86-64/bnd-branch-1-now.d: Likewise.
2151 * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise.
2152 * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise.
2153 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
2154 * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise.
2155 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
2156 * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise.
2157 * testsuite/ld-x86-64/ibt-plt-1.d: Likewise.
2158 * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise.
2159 * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise.
2160 * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise.
2161 * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise.
2162 * testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise.
2163 * testsuite/ld-x86-64/ibt-plt-3a.d: Likewise.
2164 * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise.
2165 * testsuite/ld-x86-64/ibt-plt-3c.d: Likewise.
2166 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
2167 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
2168 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
2169 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
2170 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
2171 * testsuite/ld-x86-64/pr19636-2l.d: Likewise.
2172 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
2173 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
2174 * testsuite/ld-x86-64/pr21038b-now.d: Likewise.
2175 * testsuite/ld-x86-64/pr21038b.d: Likewise.
2176 * testsuite/ld-x86-64/pr21038c-now.d: Likewise.
2177 * testsuite/ld-x86-64/pr21038c.d: Likewise.
2178 * testsuite/ld-x86-64/pr23854.d: Likewise.
2179 * testsuite/ld-x86-64/pr25416-3.d: Likewise.
2180 * testsuite/ld-x86-64/pr25416-4.d: Likewise.
2181 * testsuite/ld-i386/plt-pic.pd: Likewise.
2182 * testsuite/ld-i386/plt-pic2.dd: Likewise.
2183 * testsuite/ld-i386/plt.pd: Likewise.
2184 * testsuite/ld-i386/plt2.dd: Likewise.
2185 * testsuite/ld-i386/tlsbin.rd: Likewise.
2186 * testsuite/ld-i386/tlsbin2.rd: Likewise.
2187 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
2188 * testsuite/ld-i386/tlsdesc.rd: Likewise.
2189 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
2190 * testsuite/ld-i386/tlsnopic.rd: Likewise.
2191 * testsuite/ld-i386/tlspic.rd: Likewise.
2192 * testsuite/ld-i386/tlspic2.rd: Likewise.
2193 * testsuite/ld-x86-64/mpx3.dd: Likewise.
2194 * testsuite/ld-x86-64/mpx3n.dd: Likewise.
2195 * testsuite/ld-x86-64/mpx4.dd: Likewise.
2196 * testsuite/ld-x86-64/mpx4n.dd: Likewise.
2197 * testsuite/ld-x86-64/pe-x86-64-1.od: Likewise.
2198 * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise.
2199 * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise.
2200 * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise.
2201 * testsuite/ld-x86-64/plt.pd: Likewise.
2202 * testsuite/ld-x86-64/plt2.dd: Likewise.
2203 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
2204 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
2205 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
2206 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
2207 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
2208 * testsuite/ld-x86-64/tlspic.rd: Likewise.
2209 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
2210 * testsuite/ld-elf/sec64k.exp: Check
2211 is_elf_unused_section_symbols.
2213 2021-01-07 Alan Modra <amodra@gmail.com>
2215 * testsuite/ld-scripts/fill.d: Skip sh-*-pe rather than xfail.
2216 * testsuite/ld-scripts/fill16.d: Don't xfail sh-*-pe.
2217 * testsuite/ld-scripts/segment-start.d: Likewise.
2219 2021-01-07 Alan Modra <amodra@gmail.com>
2221 * testsuite/ld-elf/comm-data5.d: xfail targets that complain
2222 about dynamic relocations in read-only sections.
2223 * testsuite/ld-elf/ehdr_start-shared.d: Likewise.
2224 * testsuite/ld-elf/ehdr_start.d: Likewise.
2225 * testsuite/ld-scripts/pr22267.d: Likewise.
2226 * testsuite/ld-elf/shared.exp: Likewise for DT_TEXTREL tests and
2228 * testsuite/ld-elf/sec64k.exp: Don't run 64ksec on lm32-linux.
2230 2021-01-07 Marcus Comstedt <marcus@mc.pp.se>
2232 * testsuite/ld-scripts/empty-address-2a.d: xfail riscv64*-*-*.
2233 * testsuite/ld-scripts/empty-address-2b.d: Likewise.
2235 2021-01-07 Alan Modra <amodra@gmail.com>
2237 * po/BLD-POTFILES.in: Regenerate.
2239 2021-01-07 Alan Modra <amodra@gmail.com>
2241 * testsuite/ld-elf/shared.exp: xfail pr22471 for targets that
2242 complain about relocs in read-only sections. Tidy ASFLAGS append.
2244 2021-01-06 Alan Modra <amodra@gmail.com>
2246 * testsuite/ld-sparc/sparc.exp (sparc64tests): Set text-segment
2247 base for some tests.
2248 * testsuite/ld-sparc/gotop32.dd: Match solaris output.
2249 * testsuite/ld-sparc/gotop32.sd: Likewise.
2250 * testsuite/ld-sparc/gotop32.td: Likewise.
2251 * testsuite/ld-sparc/gotop64.dd: Likewise.
2252 * testsuite/ld-sparc/gotop64.sd: Likewise.
2253 * testsuite/ld-sparc/gotop64.td: Likewise.
2254 * testsuite/ld-sparc/tlsg32.sd: Likewise.
2255 * testsuite/ld-sparc/tlsg64.sd: Likewise.
2256 * testsuite/ld-sparc/tlspie32.dd: Likewise.
2257 * testsuite/ld-sparc/tlspie64.dd: Likewise.
2258 * testsuite/ld-sparc/tlssunbin32.dd: Likewise.
2259 * testsuite/ld-sparc/tlssunbin32.sd: Likewise.
2260 * testsuite/ld-sparc/tlssunbin32.td: Likewise.
2261 * testsuite/ld-sparc/tlssunbin64.dd: Likewise.
2262 * testsuite/ld-sparc/tlssunbin64.sd: Likewise.
2263 * testsuite/ld-sparc/tlssunbin64.td: Likewise.
2264 * testsuite/ld-sparc/tlssunnopic32.dd: Likewise.
2265 * testsuite/ld-sparc/tlssunnopic32.sd: Likewise.
2266 * testsuite/ld-sparc/tlssunnopic64.dd: Likewise.
2267 * testsuite/ld-sparc/tlssunnopic64.sd: Likewise.
2268 * testsuite/ld-sparc/tlssunpic32.dd: Likewise.
2269 * testsuite/ld-sparc/tlssunpic32.sd: Likewise.
2270 * testsuite/ld-sparc/tlssunpic32.td: Likewise.
2271 * testsuite/ld-sparc/tlssunpic64.dd: Likewise.
2272 * testsuite/ld-sparc/tlssunpic64.sd: Likewise.
2273 * testsuite/ld-sparc/tlssunpic64.td: Likewise.
2274 * testsuite/ld-sparc/wdispcall.dd: Likewise.
2276 2021-01-06 Alan Modra <amodra@gmail.com>
2278 * testsuite/ld-scripts/rgn-at10.d: xfail v850.
2279 * testsuite/ld-scripts/rgn-at11.d: Likewise.
2281 2021-01-06 Marcus Comstedt <marcus@mc.pp.se>
2283 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Added
2284 riscv_choose_[ilp32|lp64]_emul to choose the correct linker script.
2285 * testsuite/ld-riscv-elf/attr-merge-arch-01.d: Call
2286 riscv_choose_[ilp32|lp64]_emul instead of hardcoding elf[32|64]lriscv.
2287 * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
2288 * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
2289 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Likewise.
2290 * testsuite/ld-riscv-elf/attr-merge-arch-failed-02.d: Likewise.
2291 * testsuite/ld-riscv-elf/c-lui-2.d: Likewise.
2292 * testsuite/ld-riscv-elf/c-lui.d: Likewise.
2293 * testsuite/ld-riscv-elf/call-relax.d: Likewise.
2294 * testsuite/ld-riscv-elf/pcrel-lo-addend-2.d: Likewise.
2295 * testsuite/ld-riscv-elf/pcrel-lo-addend.d: Likewise.
2296 * testsuite/ld-riscv-elf/weakref32.d: Accept bigriscv in addition
2298 * testsuite/ld-riscv-elf/weakref64.d: Likewise.
2300 2021-01-06 Marcus Comstedt <marcus@mc.pp.se>
2302 * configure.tgt: Added riscvbe-*-*, riscv32be*-*-*, riscv64be*-*-*,
2303 riscv32be*-*-linux*, and riscv64be*-*-linux*.
2304 * Makefile.am: Added eelf32briscv.c, eelf32briscv_ilp32f.c and
2305 eelf32briscv_ilp32.c.
2306 * Makefile.in: Regenerate.
2307 * emulparams/elf32briscv.sh: Added.
2308 * emulparams/elf32briscv_ilp32.sh: Likewise.
2309 * emulparams/elf32briscv_ilp32f.sh: Likewise.
2310 * emulparams/elf64briscv.sh: Likewise.
2311 * emulparams/elf64briscv_lp64.sh: Likewise.
2312 * emulparams/elf64briscv_lp64f.sh: Likewise.
2314 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
2316 * testsuite/ld-ctf/enum-forward.c: New test.
2317 * testsuite/ld-ctf/enum-forward.c: New results.
2319 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
2321 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
2322 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
2323 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
2324 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
2325 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
2326 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
2327 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
2328 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
2329 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
2330 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
2331 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
2332 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
2333 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
2334 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
2335 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
2336 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
2337 * testsuite/ld-ctf/cycle-1.d: Likewise.
2338 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
2339 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
2340 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
2341 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
2342 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
2343 * testsuite/ld-ctf/diag-cuname.d: Likewise.
2344 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
2345 * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise.
2346 * testsuite/ld-ctf/forward.d: Likewise.
2347 * testsuite/ld-ctf/function.d: Likewise.
2348 * testsuite/ld-ctf/slice.d: Likewise.
2349 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
2350 * testsuite/ld-ctf/enums.c: New test.
2351 * testsuite/ld-ctf/enums.d: New test.
2353 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
2355 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Adjust for dumper
2357 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
2358 * testsuite/ld-ctf/forward.c: New test...
2359 * testsuite/ld-ctf/forward.d: ... and results.
2361 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
2363 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
2364 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
2365 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
2366 * testsuite/ld-ctf/diag-cuname.d: Likewise.
2367 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
2368 * testsuite/ld-ctf/function.d: Likewise.
2369 * testsuite/ld-ctf/slice.d: Likewise.
2371 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
2373 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
2374 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
2375 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
2376 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
2377 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
2378 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
2379 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
2380 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
2381 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
2382 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
2383 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
2384 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
2385 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
2386 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
2387 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
2388 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
2389 * testsuite/ld-ctf/cycle-1.d: Likewise.
2390 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
2391 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
2392 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
2393 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
2394 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
2395 * testsuite/ld-ctf/diag-cuname.d: Likewise.
2396 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
2397 * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise.
2398 * testsuite/ld-ctf/function.d: Likewise.
2399 * testsuite/ld-ctf/slice.d: Likewise.
2400 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
2402 2021-01-05 Alan Modra <amodra@gmail.com>
2404 * testsuite/ld-scripts/sysroot-prefix.exp: Exclude some targets.
2406 2021-01-05 Alan Modra <amodra@gmail.com>
2409 * testsuite/ld-elf/pr26256-1b.d: xfail s12z.
2410 * testsuite/ld-scripts/crossref.exp (cross1): Don't xfail ia64.
2412 2021-01-04 H.J. Lu <hongjiu.lu@intel.com>
2415 * ldlang.c (gc_section_callback): Set pattern.
2416 * testsuite/ld-elf/pr26256-1.s: New file.
2417 * testsuite/ld-elf/pr26256-1.t: Likewise.
2418 * testsuite/ld-elf/pr26256-1a.d: Likewise.
2419 * testsuite/ld-elf/pr26256-1b.d: Likewise.
2420 * testsuite/ld-elf/pr26256-2.s: Likewise.
2421 * testsuite/ld-elf/pr26256-2.t: Likewise.
2422 * testsuite/ld-elf/pr26256-2a.d: Likewise.
2423 * testsuite/ld-elf/pr26256-2b-alt.d: Likewise.
2424 * testsuite/ld-elf/pr26256-2b.d: Likewise.
2425 * testsuite/ld-elf/pr26256-3.s: Likewise.
2426 * testsuite/ld-elf/pr26256-3a.d: Likewise.
2427 * testsuite/ld-elf/pr26256-3a.t: Likewise.
2428 * testsuite/ld-elf/pr26256-3b.d: Likewise.
2429 * testsuite/ld-elf/pr26256-3b.t: Likewise.
2431 2021-01-04 Alan Modra <amodra@gmail.com>
2434 * testsuite/ld-arm/non-contiguous-arm2.d: Adjust STT_FILE symbol match.
2435 * testsuite/ld-arm/non-contiguous-arm3.d: Likewise.
2436 * testsuite/ld-arm/non-contiguous-arm5.d: Likewise.
2437 * testsuite/ld-arm/non-contiguous-arm6.d: Likewise.
2438 * testsuite/ld-i386/tlsbin.rd: Likewise.
2439 * testsuite/ld-i386/tlsbin2.rd: Likewise.
2440 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
2441 * testsuite/ld-i386/tlsdesc.rd: Likewise.
2442 * testsuite/ld-i386/tlsnopic.rd: Likewise.
2443 * testsuite/ld-i386/tlspic.rd: Likewise.
2444 * testsuite/ld-i386/tlspic2.rd: Likewise.
2445 * testsuite/ld-mips-elf/global-local-symtab-sort-n64.d: Likewise.
2446 * testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d: Likewise.
2447 * testsuite/ld-mips-elf/global-local-symtab-sort-o32.d: Likewise.
2448 * testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d: Likewise.
2449 * testsuite/ld-plugin/pr17973.d: Likewise.
2450 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
2451 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
2452 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
2453 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
2454 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
2455 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
2456 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
2457 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
2458 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
2459 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
2460 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
2461 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
2462 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
2463 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
2464 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
2465 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
2466 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
2467 * testsuite/ld-x86-64/tlspic.rd: Likewise.
2468 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
2469 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
2470 * testsuite/ld-xtensa/tlspic.rd: Likewise.
2472 2021-01-01 Nicolas Boulenguez <nicolas@debian.org>
2474 * configure.tgt: Correct comment grammar.
2475 * emultempl/m68hc1xelf.em: Likewise.
2476 * ld.texi: Correct grammar.
2478 2021-01-01 Alan Modra <amodra@gmail.com>
2480 Update year range in copyright notice of all files.
2482 For older changes see ChangeLog-2020
2484 Copyright (C) 2021-2023 Free Software Foundation, Inc.
2486 Copying and distribution of this file, with or without modification,
2487 are permitted in any medium without royalty provided the copyright
2488 notice and this notice are preserved.
2494 version-control: never