]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - ld/ChangeLog
bc74287e73e036ccfd6d79dd361a36f7f605409d
[thirdparty/binutils-gdb.git] / ld / ChangeLog
1 2023-11-06 Nick Clifton <nickc@redhat.com>
2
3 PR 30865
4 * ld.texi: Update description of the FILL command.
5 * testsuite/ld-scripts/fill2.d: New test.
6 * testsuite/ld-scripts/fill2.t: New test source.
7 * testsuite/ld-scripts/data.exp: Run the new test.
8
9 2023-11-02 Nick Clifton <nickc@redhat.com>
10
11 * testsuite/ld-x86-64/property-3.r: Update regexp to allow for
12 targets which support x86-64-v3.
13 * testsuite/ld-x86-64/property-4.r: Likewise.
14 * testsuite/ld-x86-64/property-5.r: Likewise.
15
16 2023-11-01 Nick Clifton <nickc@redhat.com>
17
18 PR 27565
19 * ldlex.l: Add REVERSE.
20 * ldgram.y: Allow REVERSE to be used wherever a sorting command
21 can be used.
22 * ld.h (struct wildcard_spec): Add 'reversed' field.
23 * ldlang.h (lang_wild_statement_struct): Add 'filenames_reversed' field.
24 * ldlang.c (compare_sections): Add reversed parameter.
25 (wild_sort): Reverse the comparison if requested.
26 (print_wild_statement): Handle the reversed field.
27 * ld.texi: Document the new feature.
28 * NEWS: Mention the new feature.
29 * testsuite/ld-scripts/sort-file-reversed-1.d: New test driver.
30 * testsuite/ld-scripts/sort-file-reversed-1.t: New test source.
31 * testsuite/ld-scripts/sort-file-reversed-2.t: New test source.
32 * testsuite/ld-scripts/sort-file-reversed-2.d: New test driver.
33 * testsuite/ld-scripts/sort-sections-reversed-1.d: New test driver.
34 * testsuite/ld-scripts/sort-sections-reversed-1.t: New test source.
35 * testsuite/ld-scripts/sort-sections-reversed-2.t: New test source.
36 * testsuite/ld-scripts/sort-sections-reversed-2.d: New test driver.
37 * testsuite/ld-scripts/sort-sections-reversed-3.d: New test driver.
38 * testsuite/ld-scripts/sort-sections-reversed-3.t: New test source.
39
40 2023-10-30 Nick Clifton <nickc@redhat.com>
41
42 * po/ka.po: New Georgian translation.
43
44 2023-10-19 Jose E. Marchesi <jose.marchesi@oracle.com>
45
46 * ld.texi (Options): Fix typo metdata->metadata.
47
48 2023-10-16 Nick Clifton <nickc@redhat.com>
49
50 PR 28910
51 * lexsup.c (ld_options): Require that the --architecture option is
52 given exactly two dashes, so that it does not become confused with
53 the -a option.
54
55 2023-10-09 Nick Clifton <nickc@redhat.com>
56
57 PR 30951
58 * ldlex.l (yy_input): Check for YY_CURRENT_BUFFER being NULL.
59
60 PR 30954
61 * ldlang.c (map_input_to_output_sections): Check that os is non
62 NULL before using it.
63
64 2023-10-05 A. Wilcox <awilfox@adelielinux.org>
65
66 PR 30905
67 * testsuite/ld-elf/pr28158.rd: Adjust regexp to allow for section
68 indicies larger than 9.
69
70 2023-10-05 A. Wilcox <awilfox@adelielinux.org>
71
72 PR 30917
73 * testsuite/ld-elf/dt-relr.exp: Skip for MUSL targets.
74
75 2023-10-05 A. Wilcox <awilfox@adelielinux.org>
76
77 PR 30918
78 * testsuite/ld-shared/shared.exp: Add XFAILs for tests that fail
79 with the MUSL library.
80
81 2023-10-05 A. Wilcox <awilfox@adelielinux.org>
82
83 PR 30923
84 * testsuite/ld-arm/thumb-plt-got.d: Skip test for configurations
85 using the MUSL library.
86 * testsuite/ld-arm/thumb-plt.d: Likewise.
87
88 2023-10-05 A. Wilcox <awilfox@adelielinux.org>
89
90 PR 30925
91 PR 22001
92 * testsuite/ld-i386/i386.exp: Skip the pr22001 test with TEXTREL
93 relocations enabled on configurations using the MUSL library.
94
95 2023-10-05 A. Wilcox <awilfox@adelielinux.org>
96
97 PR 30924
98 * testsuite/ld-elfvers/vers.exp (objdump_emptyverstuff): Handle
99 EABI version information in objdump's output.
100
101 2023-10-02 Nick Clifton <nickc@redhat.com>
102
103 * pe-dll.c (fill_edata): Use bfd_get_current_time when filling in
104 the timestamp.
105
106 2023-09-27 Hsinyuan Xavier <TheLastLin@hotmail.com>
107
108 PR 30875
109 * ldlang.c (get_os_init_flag): New function.
110 (exp_init_os, map_input_to_output_sections): Use it.
111
112 2023-07-24 Johannes Schauer Marin Rodrigues <josch@debian.org>
113
114 * pe-dll.c (fill_edata): If inserting a timestamp, use the value
115 held in the SOURCE_DATE_EPOCH environment variable, if it is
116 defined.
117 * ld.texi (--insert-timestamp): Document change in behaviour.
118
119 2023-07-03 Nick Clifton <nickc@redhat.com>
120
121 * configure: Regenerate.
122
123 2023-07-03 Nick Clifton <nickc@redhat.com>
124
125 2.41 Branch Point.
126
127 2023-06-28 Nikita Popov <npopov@redhat.com>
128 Nick Clifton <nickc@redhat.com>
129
130 PR 30568
131 * ldfile.c (ldfile_try_open_bfd): Do not track lto generated
132 temporary files.
133
134 2023-06-21 Nick Clifton <nickc@redhat.com>
135
136 PR 29072
137 * testsuite/ld-elf/elf.exp (target_defaults_to_execstack): Always
138 return false for linkers configured with the --enable-default-execstack=no
139 option.
140
141 2023-06-14 Nick Clifton <nickc@redhat.com>
142
143 PR 30374
144 * ldfile.c (struct input_remap): New structure.
145 (ldfile_add_remap): New function.
146 (ldfile_remap_input_free): New function.
147 (ldfile_add_remap_file): New function.
148 (ldfile_possibly_remap_input): New function.
149 (ldfile_print_input_remaps): New function.
150 * ldfile.h: Add prototypes for new functions.
151 * ldlang.c (new_afile): Call ldfile_possibly_remap_input.
152 (lang_finish): Call ldfile_remap_input_free.
153 (lang_map): Call ldfile_print_input_remaps.
154 * ldlex.h (OPTION_REMAP_INPUTS, OPTION_REMAP_INPUTS_FILE): Define.
155 * lexsup.c (ld_options): Add --remap-inputs-file and --remap-inputs.
156 (parse_args): Handle new options.
157 * NEWS: Mention the new feature.
158 * ld.texi: Document the new options.
159 * testsuite/ld-misc/input-remap.exp: New test driver.
160 * testsuite/ld-misc/remaps.r: New file: Expected linker output.
161 * testsuite/ld-misc/remaps.txt: New file. Input remaps file.
162
163 2023-06-07 Nick Clifton <nickc@redhat.com>
164
165 PR 30499
166 * testsuite/ld-elfcomm/elfcomm.exp: Update regexps to match new
167 output from the linker.
168
169 2023-05-17 Luca Bacci <luca.bacci@outlook.com>
170
171 PR 30421
172 * emultempl/pe.em (set_decoration): New function.
173 (pe_fixup_stdcalls): Call the new function.
174 * emultempl/pep.em (set_decoration): New function.
175 (pep_fixup_stdcalls): Call the new function.
176 * pe-dll.c (make_one): Check for decoated symbols.
177
178 2023-05-16 Nick Clifton <nickc@redhat.com>
179
180 PR 30359
181 * ld.texi (WIN32): Document how to create a resource only DLL.
182
183 2023-05-16 Nick Clifton <nickc@redhat.com>
184
185 * ld.texi (-Ur): Clarify the actions of this option.
186
187 2023-05-10 Nick Clifton <nickc@redhat.com>
188
189 PR 16566
190 * ldlang.c (ld_is_local_symbol): New function.
191 (print_input_section): Add code to display local symbols in the
192 section.
193 * ldlex.h (enum option_values): Add OPTION_PRINT_MAP_LOCALS and
194 OPTION_PRINT_MAP_LOCALS.
195 * lexsup.c (ld_options[]): Add entries for --print-map-locals
196 and --no-print-map-locals.
197 * NEWS: Mention the new feature.
198 * ld.h (struct ld_config_type): Add print_map_locals field.
199 * ld.texi: Document the new command line option.
200 * testsuite/ld-scripts/sizeof.s: Add a local symbol.
201 * testsuite/ld-scripts/map-locals.d: New test control file.
202 * testsuite/ld-scripts/map-address.exp: Run the new test.
203
204 2023-05-04 Nick Clifton <nickc@redhat.com>
205
206 PR 30300
207 * emultempl/pep.em (set_entry_point): Add an undefined reference
208 to the entry point if it has been constructed heuristically.
209 * emultempl/pe.em (set_entry_point): Likewise.
210
211 2023-05-04 Dimitar Dimitrov <dimitar@dinux.eu>
212
213 * scripttempl/pru.sc (OUTPUT_SECTION_ALIGN): New helper variable
214 to place at end of DMEM output sections.
215 (.data): Use the helper variable.
216 (.eh_frame): New output section.
217 (.gnu_extab): Ditto.
218 (.gcc_except_table): Ditto.
219 (.resource_table): Use the helper variable.
220
221 2023-04-27 Nick Clifton <nickc@redhat.com>
222
223 * ldmisc.c (vfinfo): Add support for %x and %lx.
224
225 2023-04-18 mengqinggang <mengqinggang@loongson.cn>
226
227 * testsuite/ld-loongarch-elf/macro_op.d: Regenerated.
228
229 2023-04-17 Nick Clifton <nickc@redhat.com>
230
231 PR 30354
232 * emulparams/armelf.sh (OTHER_PLT_SECTIONS): Define in order to
233 handle the .gnu.sgstubs section.
234
235 2023-04-13 Claudiu Zissulescu <claziss@synopsys.com>
236
237 * testsuite/ld-arc/arc.exp: Update execution predicate.
238 * testsuite/ld-arc/nps-1a.d: Add linker script option.
239 * testsuite/ld-arc/nps-1b.d: Likewise.
240 * testsuite/ld-arc/relax-local-pic.d: Update matching patterns.
241
242 2023-04-12 Nick Clifton <nickc@redhat.com>
243
244 * ld.texi (--enable-non-contiguous-regions): Fix typos in script
245 example.
246
247 2023-03-15 Nick Clifton <nickc@redhat.com>
248
249 PR 30187
250 * NEWS: Mention the new feature.
251 * ld.texi: Document the new feature.
252 * ldgram.y: Handle LINKER_VERSION token.
253 * ldlang.c (lang_add_version): New function.
254 (enable_linker_version): New global variable.
255 * ldlang.h (land_add_version): Prototype.
256 (enable_linker_version): Export.
257 * ldlex.h (OPTION_ENABLE_LINKER_VERSION): Define.
258 (OPTION_DISABLE_LINKER_VERSION): Define.
259 * ldlex.l (LINKER_VERSION): Add token.
260 * lexsup.c (ld_options): Add --enable-linker-version and
261 --disable-linker-version.
262 (parse_args): Handle the new options.
263 * scripttempl/arclinux.sc: Remove stabs and comment sections and
264 replace with inclusion of misc-sections.sc
265 * scripttempl/avr.sc: Likewise.
266 * scripttempl/dlx.sc: Likewise.
267 * scripttempl/elf.sc: Likewise.
268 * scripttempl/elf32cr16.sc: Likewise.
269 * scripttempl/elf32crx.sc: Likewise.
270 * scripttempl/elf32msp430.sc: Likewise.
271 * scripttempl/elf64bpf.sc: Likewise.
272 * scripttempl/elf64hppa.sc: Likewise.
273 * scripttempl/elf_chaos.sc: Likewise.
274 * scripttempl/elfarc.sc: Likewise.
275 * scripttempl/elfarcv2.sc: Likewise.
276 * scripttempl/elfd10v.sc: Likewise.
277 * scripttempl/elfd30v.sc: Likewise.
278 * scripttempl/elfm68hc11.sc: Likewise.
279 * scripttempl/elfm68hc12.sc: Likewise.
280 * scripttempl/elfm9s12z.sc: Likewise.
281 * scripttempl/elfmicroblaze.sc: Likewise.
282 * scripttempl/elfxgate.sc: Likewise.
283 * scripttempl/elfxtensa.sc: Likewise.
284 * scripttempl/epiphany_4x4.sc: Likewise.
285 * scripttempl/ft32.sc: Likewise.
286 * scripttempl/ip2k.sc: Likewise.
287 * scripttempl/iq2000.sc: Likewise.
288 * scripttempl/mep.sc: Likewise.
289 * scripttempl/nds32elf.sc: Likewise.
290 * scripttempl/pru.sc: Likewise.
291 * scripttempl/v850.sc: Likewise.
292 * scripttempl/v850_rh850.sc: Likewise.
293 * scripttempl/visium.sc: Likewise.
294 * scripttempl/xstormy16.sc: Likewise.
295 * scripttempl/z80.sc: Likewise.
296 * testsuite/ld-scripts/script.exp: Run new tests.
297 * scripttempl/misc-sections.sc: New file.
298 * testsuite/ld-scripts/ld-version-2.d: New file.
299 * testsuite/ld-scripts/ld-version.d: New file.
300 * testsuite/ld-scripts/ld-version.t: New file.
301
302 2023-02-23 Fangrui Song <i@maskray.me>
303
304 * emultempl/riscvelf.em: Add option parsing.
305 * testsuite/ld-riscv-elf/code-model-relax-medlow-01-norelaxgp.d: New.
306 * testsuite/ld-riscv-elf/pcgp-relax-01-norelaxgp.d: New.
307 * testsuite/ld-riscv-elf/pcgp-relax-02.d: Test --relax --relax-gp can be
308 used together.
309
310 2023-02-20 Nick Clifton <nickc@redhat.com>
311
312 PR 30004
313 * pe-dll.c (pe_dll_build_sections): Do not build an edata section
314 if all symbols are being excluded.
315
316 2023-02-15 Nick Clifton <nickc@redhat.com>
317
318 PR 30078
319 * testsuite/ld-elf/merge4b.s: Use .asciz instead of .string in
320 order to avoid the special behaviour of the .string directive on
321 HPPA architectures.
322
323 2023-02-14 Nick Clifton <nickc@redhat.com>
324
325 * ld.texi (Plugins): Mention that the -plugin command line option
326 is used to load plugins.
327
328 2023-01-27 Nick Clifton <nickc@redhat.com>
329
330 PR 29998
331 * pe-dll.c (build_filler_bfd): Initialise the next field of the
332 filler input statement, so that it does not break the file chain.
333
334 2023-01-24 Nick Clifton <nickc@redhat.com>
335
336 PR 29998
337 * pe-dll.c (generate_reloc): Handle sections with no assigned
338 output section. Terminate early of there are no relocs to put in
339 the .reloc section.
340 (pe_exe_fill_sections): Do not emit an empty .reloc section.
341
342 2023-01-06 Nick Clifton <nickc@redhat.com>
343
344 * po/bg.po: Updated Bulgarian translation.
345
346 2023-01-05 Nick Clifton <nickc@redhat.com>
347
348 * configure.tgt: Add arm64pe as an extra emulation for aarch64pe.
349 * Makefile.am (ALL_64_EMULATION_SOURCES): Add earm64pe.c
350 * emultempl/pep.em: Add suppport for arm64pe emulation.
351 * Makefile.in: Regenerate.
352 * po/BLD-POTFILES.in: Regenerate.
353 * po/ld.pot: Regenerate.
354
355 2023-01-05 Andreas K. Huettel <dilfridge@gentoo.org>
356
357 * testsuite/ld-elf/shared.exp: un-xfail the PR19710 test for the
358 AArch64 architecture.
359
360 2023-01-04 Andreas K. Huettel <dilfridge@gentoo.org>
361
362 PR 29843
363 * testsuite/ld-aarch64/bti-plt-5.d: Relax regxps slightly to allow
364 for differences in build environments.
365 * testsuite/ld-aarch64/tls-relax-gdesc-le-now.d: Likewise.
366
367 2023-01-03 Nick Clifton <nickc@redhat.com>
368
369 * po/uk.po: Updated Ukrainian translation.
370
371 2022-12-31 Nick Clifton <nickc@redhat.com>
372
373 * 2.40 branch created.
374
375 2022-12-21 Nick Clifton <nickc@redhat.com>
376
377 PR 29900
378 * scripttempl/pe.sc: Keep the .drectve section when performing a
379 relocateable link.
380 * scripttempl/pep.sc: Likewise.
381
382 2022-12-08 Nick Clifton <nickc@redhat.com>
383
384 PR 29861
385 * ld.texi (Output Section Type): Note that setting the output
386 section type only works if the section contains untyped data.
387
388 2022-12-05 Nick Clifton <nickc@redhat.com>
389
390 PR 29849
391 * ldlang.c (spec_match): Check that there is sufficient length in
392 the target name to match the spec's prefix.
393
394 2022-11-03 Nick Clifton <nickc@redhat.com>
395
396 PR 29748
397 * configure.tgt (ac_default_ld_warn_rwx_segments): Set to 0 for
398 the V850.
399
400 2022-11-03 Nick Clifton <nickc@redhat.com>
401
402 PR 29741
403 * scripttempl/avr.sc (__DATA_REGION_ORIGIN__): Define. If a value
404 has not been provided on the command line then use DATA_ORIGIN.
405 (MEMORY): Use __DATA_REGION_ORIGIN__ as the start of the data region.
406
407 2022-10-21 Nick Clifton <nickc@redhat.com>
408
409 PR 29654
410 * ld.h (struct ld_config_type): Add no_warnings field.
411 * ldlex.h (enum option_values): Add OPTION_NO_WARNINGS.
412 * lexsup.c (ld_options): Add --no-warnings.
413 (parse_args): Add support for -w and --no-warnings.
414 * ldmisc.c (vfinfo): Return early if the message is a warning and
415 -w has been enabled.
416 * ld.texi (options): Document new command line option.
417 * NEWS: Mention the new feature.
418
419 2022-08-30 Nick Clifton <nickc@redhat.com>
420
421 PR 29529
422 * testsuite/ld-x86-64/pr27587.err: Update expected output.
423
424 2022-08-18 Ralf Habacker <ralf.habacker@freenet.de>
425
426 PR 28362
427 * testsuite/ld-pe/pe-run2-def.exp: New file.
428
429 2022-08-03 Alan Modra <amodra@gmail.com>
430
431 PR 29389
432 * ldlang.h (lang_input_statement_struct): Add sort_key field.
433 * emultempl/pe.em (after_open): If multiple import libraries refer
434 to the same bfd, store their names in the sort_key field.
435 * emultempl/pep.em (after_open): Likewise.
436 * ldlang.c (sort_filename): New function. Returns the filename to
437 be used when sorting input files.
438 (wild_sort): Use the sort_filename function.
439
440 2022-07-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
441
442 PR ld/29411
443 * configure.tgt (ac_default_ld_warn_rwx_segments): Extend to all
444 sparc targets. Expand comment.
445
446 2022-07-26 Nick Clifton <nickc@redhat.com>
447
448 PR 29411
449 * configure.tgt (ac_default_ld_warn_rwx_segments): Disable for
450 sparc-solaris configurations.
451
452 2022-07-08 Nick Clifton <nickc@redhat.com>
453
454 * 2.39 branch created.
455
456 2022-06-27 Nick Clifton <nickc@redhat.com>
457
458 PR 29263
459 * configure.ac: Move HPPA specific code from here...
460 * configure.tgt: ... to here. Add similar code for MIPS.
461 Move code for CRIS, MIPS and HPPA to block at start of file.
462 * configure: Regenerate.
463
464 2022-06-21 Nick Clifton <nickc@redhat.com>
465
466 PR 29263
467 * configure.ac (ac_default_ld_warn_execstack): Default to 'no' for
468 HPPA targets.
469 (ac_default_ld_warn_rwx_segments): Likewise.
470 * configure: Regenerate.
471 * testsuite/ld-elf/elf.exp: Add the --warn-execstack command line
472 option to the command line when running execstack tests for the
473 HPPA target.
474
475 2022-05-12 Alan Modra <amodra@gmail.com>
476
477 PR 29006
478 * pe-dll.c (dll_name): Delete, replacing with..
479 (dll_filename): ..this, moved earlier in file.
480 (generate_edata): Delete parameters. Don't set up dll_name here..
481 (pe_process_import_defs): ..instead set up dll_filename and
482 dll_symname here before returning.
483 (dll_symname_len): Delete write-only variable.
484 (pe_dll_generate_implib): Don't set up dll_symname here.
485
486 2022-05-03 Nick Clifton <nickc@redhat.com>
487
488 PR 29101
489 * libdep_plugin.c (get_libdeps): Check for overflow when computing
490 amount of memory to allocate.
491
492 2022-04-27 Nick Clifton <nickc@redhat.com>
493
494 PR 29006
495 * pe-dll.c (make_head): Use asprintf to allocate and populate a
496 buffer containing the temporary name.
497 (make_tail, make_one, make_singleton_name_thunk): Likewise.
498 (make_import_fixup_mark, make_import_fixup_entry): Likewise.
499 (make_runtime_pseudo_reloc): Likewise.
500 (pe_create_runtime_relocator_reference): Likewise.
501
502 2022-04-25 Nick Clifton <nickc@redhat.com>
503
504 PR 29072
505 * testsuite/ld-elf/pr29072.b.warn: Update to include the note
506 about the linker's behaviour being depreccated.
507
508 2022-04-20 Clément Chigot <clement.chigot@atos.net>
509
510 * emultempl/aix.em (params): New variable.
511 (stub_file): New variable.
512 (xcoff_add_stub_section): New function.
513 (xcoff_layout_sections_again): New function
514 (hook_in_stub): New function.
515 (_after_allocation): Add stub creation.
516 (_create_output_section_statements): Allocate stub file and
517 pass params to backend.
518
519 2022-04-20 Clément Chigot <clement.chigot@atos.net>
520
521 * emultempl/aix.em (_after_allocation): New function.
522
523 2022-04-07 Mark Harmstone <mark@harmstone.com>
524
525 * testsuite/ld-pe/secidx1.s: New test source file.
526 * testsuite/ld-pe/secidx2.s: New test source file.
527 * testsuite/ld-pe/secidx.d: New test driver file.
528 * testsuite/ld-pe/secidx_64.d: New test driver file.
529 * testsuite/ld-pe/pe.exp: Add new tests.
530
531 2022-03-01 Nick Clifton <nickc@redhat.com>
532
533 PR 21964
534 * testsuite/ld-elf/pr21964-1a.c: Fix array comparisons.
535 * testsuite/ld-elf/pr21964-1b.c: Likewise.
536 * testsuite/ld-elf/pr21964-1c.c: Likewise.
537 * testsuite/ld-elf/pr21964-2a.c: Likewise.
538 * testsuite/ld-elf/pr21964-2b.c: Likewise.
539 * testsuite/ld-elf/pr21964-3a.c: Likewise.
540
541 2022-02-17 Roland McGrath <mcgrathr@google.com>
542
543 * ld.texi (Output Section Type): Fix typo in @code syntax.
544
545 2022-02-17 Nick Clifton <nickc@redhat.com>
546
547 * po/sr.po: Updated Serbian translation.
548
549 2022-02-16 Fangrui Song <maskray@google.com>
550 Nick Clifton <nickc@redhat.com>
551
552 PR ld/28841
553 * ld.texi: Document new output section type.
554 * ldlex.l: Add new token TYPE.
555 * ldgram.y: Handle TYPE=exp and READONLY (TYPE=exp).
556 * ldlang.h: Add type_section to list of section types.
557 * ldlang.c (lang_add_section): Handle type_section.
558 (map_input_to_output_sections): Handle type_section.
559 * testsuite/ld-scripts/output-section-types.t: Add tests.
560 * testsuite/ld-scripts/output-section-types.d: Update.
561
562 2022-02-02 Nick Clifton <nickc@redhat.com>
563
564 * po/fr.po: Updated French translation.
565
566 2022-01-24 Nick Clifton <nickc@redhat.com>
567
568 * po/bg.po: Updated Bulgarian translation.
569 * po/uk.po: Updated Ukranian translation.
570
571 2022-01-22 Alexander von Gluck IV <kallisti5@unixzen.com>
572
573 * configure.tgt (arm-haiku): Fix typo.
574 * emulparams/armelf_haiku.su (MAXPAGESIZE): Use the default value.
575 (COMMONPAGESIZE): Likewise.
576
577 2022-01-22 Nick Clifton <nickc@redhat.com>
578
579 * configure: Regenerate.
580 * po/ld.pot: Regenerate.
581
582 2022-01-22 Nick Clifton <nickc@redhat.com>
583
584 * 2.38 release branch created.
585
586 2022-01-21 Nick Clifton <nickc@redhat.com>
587
588 * po/sr.po: Updated Serbian translation.
589
590 2022-01-17 Nick Clifton <nickc@redhat.com>
591
592 * Makefile.in: Regenerate.
593 * po/ld.pot: Regenerate.
594
595 2022-01-11 Martin Storsjö <martin@martin.st>
596
597 * pe-dll.c (make_head): Prefix the symbol name with the dll name.
598 (make_tail, make_one, make_singleton_name_thunk): Likewise.
599 (make_import_fixup_entry, make_runtime_pseudo_reloc): Likewise.
600 (pe_create_runtime_relocator_reference): Likewise.
601 (pe_dll_generate_implib): Set dll_symname_len.
602 (pe_process_import_defs): Likewise.
603
604 2021-12-16 Nick Clifton <nickc@redhat.com>
605
606 PR 28686
607 * testsuite/ld-avr/avr-prop-7.d: Adjust expected output.
608 * testsuite/ld-avr/avr-prop-8.d: Likewise.
609 * testsuite/ld-avr/pr13402.d: Likewise.
610
611 2021-11-30 Nick Clifton <nickc@redhat.com>
612
613 * scripttempl/pru.sc (.pru_irq_map): Define output section.
614 * testsuite/ld-pru/pru_irq_map-1.d: New test.
615 * testsuite/ld-pru/pru_irq_map-2.d: New test.
616 * testsuite/ld-pru/pru_irq_map.s: New test.
617
618 2021-11-17 Jeremy Drake <cygwin@jdrake.com>
619
620 * emultempl/pep.em (DEFAULT_DLL_CHARACTERISTICS): Set to 0 for
621 Cygwin targets.
622 * emultempl/pep.em (DEFAULT_DLL_CHARACTERISTICS): Likewise.
623
624 2021-11-17 Nick Clifton <nickc@redhat.com>
625
626 PR 28452
627 * ldgram.y: Add support for PT_GNU_RELRO and PT_GNU_PROPERTY.
628 * ldgram.c: Regenerate.
629
630 2021-11-15 Roland McGrath <mcgrathr@google.com>
631
632 * testsuite/ld-aarch64/dt_textrel.d: Pass explicit -z notext in
633 case ld was configured with --enable-textrel-check=error.
634 * testsuite/ld-aarch64/pr22764.d: Likewise.
635 * testsuite/ld-aarch64/pr20402.d: Likewise.
636
637 2021-10-25 Nick Alcock <nick.alcock@oracle.com>
638
639 * testsuite/ld-ctf/nonrepresentable-member.*: New test.
640
641 2021-10-25 Nick Alcock <nick.alcock@oracle.com>
642
643 * testsuite/ld-ctf/array.d: Change --ctf=.ctf to --ctf.
644 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
645 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
646 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
647 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
648 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
649 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
650 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
651 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
652 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
653 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
654 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
655 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
656 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
657 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
658 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
659 * testsuite/ld-ctf/cycle-1.d: Likewise.
660 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
661 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
662 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
663 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
664 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
665 * testsuite/ld-ctf/diag-cuname.d: Likewise.
666 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
667 * testsuite/ld-ctf/enum-forward.d: Likewise.
668 * testsuite/ld-ctf/enums.d: Likewise.
669 * testsuite/ld-ctf/forward.d: Likewise.
670 * testsuite/ld-ctf/function.d: Likewise.
671 * testsuite/ld-ctf/nonrepresentable.d: Likewise.
672 * testsuite/ld-ctf/slice.d: Likewise.
673 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
674
675 2021-09-30 Dimitar Dimitrov <dimitar@dinux.eu>
676
677 * scripttempl/pru.sc (.resource_table): Align the output
678 section, not the first symbol.
679
680 2021-09-27 Nick Alcock <nick.alcock@oracle.com>
681
682 * configure: Regenerate.
683
684 2021-09-21 Nick Clifton <nickc@redhat.com>
685
686 * ldlang.c (lang_end): When computing the entry point, only
687 try the start address of the entry section when creating an
688 executable.
689 * ld.texi (Entry point): Update description of heuristic used to
690 choose the entry point.
691 testsuite/ld-alpha/tlspic.rd: Update expected entry point address.
692 testsuite/ld-arm/tls-gdesc-got.d: Likewise.
693 testsuite/ld-i386/tlsnopic.rd: Likewise.
694 testsuite/ld-ia64/tlspic.rd: Likewise.
695 testsuite/ld-sparc/gotop32.rd: Likewise.
696 testsuite/ld-sparc/gotop64.rd: Likewise.
697 testsuite/ld-sparc/tlssunnopic32.rd: Likewise.
698 testsuite/ld-sparc/tlssunnopic64.rd: Likewise.
699 testsuite/ld-sparc/tlssunpic32.rd: Likewise.
700 testsuite/ld-sparc/tlssunpic64.rd: Likewise.
701 testsuite/ld-tic6x/shlib-1.rd: Likewise.
702 testsuite/ld-tic6x/shlib-1b.rd: Likewise.
703 testsuite/ld-tic6x/shlib-1r.rd: Likewise.
704 testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
705 testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
706 testsuite/ld-x86-64/pr14207.d: Likewise.
707 testsuite/ld-x86-64/tlsdesc.rd: Likewise.
708 testsuite/ld-x86-64/tlspic.rd: Likewise.
709 testsuite/ld-x86-64/tlspic2.rd: Likewise.
710
711 2021-09-15 Claudiu Zissulescu <claziss@synopsys.com>
712
713 * testsuite/ld-arc/got-weak.d: Update file.
714
715 2021-09-14 Claudiu Zissulescu <claziss@synopsys.com>
716
717 * ld-arc/got-weak.d: New file.
718 * ld-arc/got-weak.s: Likewise.
719
720 2021-07-26 Roland McGrath <mcgrathr@google.com>
721
722 * testsuite/ld-x86-64/x86-64.exp (Build textrel-1): Use --warn-textrel.
723
724 2021-07-06 Michael Matz <matz@suse.de>
725
726 PR ld/28021
727 * testsuite/ld-riscv-elf/relax-twice.ver: New.
728 * testsuite/ld-riscv-elf/relax-twice-1.s: New.
729 * testsuite/ld-riscv-elf/relax-twice-2.s: New.
730 * testsuite/ld-riscv-elf/ld-riscv-elf.exp
731 (run_relax_twice_test): New, and call it.
732
733 2021-07-03 Nick Clifton <nickc@redhat.com>
734
735 * configure: Regenerate.
736 * po/ld.pot: Regenerate.
737
738 2021-07-03 Nick Clifton <nickc@redhat.com>
739
740 * 2.37 release branch created.
741
742 2021-06-22 Nelson Chu <nelson.chu@sifive.com>
743
744 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
745 * testsuite/ld-riscv-elf/pcrel-lo-addend-3a.d: New testcase.
746 * testsuite/ld-riscv-elf/pcrel-lo-addend-3a.s: Likewise.
747 * testsuite/ld-riscv-elf/pcrel-lo-addend-3b.d: New testcase.
748 Should report error since the %pcrel_lo with addend refers to
749 %got_pcrel_hi.
750 * testsuite/ld-riscv-elf/pcrel-lo-addend-3b.s: Likewise.
751 * testsuite/ld-riscv-elf/pcrel-lo-addend-3c.d: New testcase.
752 Should report error since the %got_pcrel_hi with addend.
753 * testsuite/ld-riscv-elf/pcrel-lo-addend-3c.s: Likewise.
754 * testsuite/ld-riscv-elf/pcrel-lo-addend-3.ld: Likewise.
755
756 2021-06-19 H.J. Lu <hongjiu.lu@intel.com>
757
758 PR ld/27998
759 * testsuite/ld-i386/i386.exp: Run PR ld/27998 tests.
760 * testsuite/ld-i386/pr27998a.d: New file.
761 * testsuite/ld-i386/pr27998a.s: Likewise.
762 * testsuite/ld-i386/pr27998b.d: Likewise.
763 * testsuite/ld-i386/pr27998b.s: Likewise.
764
765 2021-06-19 H.J. Lu <hongjiu.lu@intel.com>
766
767 * testsuite/ld-x86-64/textrel-1.err: New file.
768 * testsuite/ld-x86-64/textrel-1a.s: Likewise.
769 * testsuite/ld-x86-64/textrel-1b.s: Likewise.
770 * testsuite/ld-x86-64/x86-64.exp: Run textrel-1 tests.
771
772 2021-06-18 H.J. Lu <hongjiu.lu@intel.com>
773
774 * testsuite/ld-elf/property-and-1.d: Skip am33_2.0, hppa-hpux
775 and mn10300.
776 Pass --generate-missing-build-notes=no to assembler. Allow
777 other note sections for xtensa.
778 * testsuite/ld-elf/property-and-2.d: Likewise.
779 * testsuite/ld-elf/property-and-3.d: Likewise.
780 * testsuite/ld-elf/property-and-4.d: Likewise.
781 * testsuite/ld-elf/property-or-1.d: Likewise.
782 * testsuite/ld-elf/property-or-2.d: Likewise.
783 * testsuite/ld-elf/property-or-3.d: Likewise.
784 * testsuite/ld-elf/property-or-4.d: Likewise.
785
786 2021-06-18 H.J. Lu <hongjiu.lu@intel.com>
787
788 * ld.texi: Move -z unique-symbol after -z undefs.
789
790 2021-06-18 H.J. Lu <hongjiu.lu@intel.com>
791
792 * testsuite/ld-elf/property-and-1.d: New file.
793 * testsuite/ld-elf/property-and-1.s: Likewise.
794 * testsuite/ld-elf/property-and-2.d: Likewise.
795 * testsuite/ld-elf/property-and-2.s: Likewise.
796 * testsuite/ld-elf/property-and-3.d: Likewise.
797 * testsuite/ld-elf/property-and-3.s: Likewise.
798 * testsuite/ld-elf/property-and-4.d: Likewise.
799 * testsuite/ld-elf/property-and-empty.s: Likewise.
800 * testsuite/ld-elf/property-or-1.d: Likewise.
801 * testsuite/ld-elf/property-or-1.s: Likewise.
802 * testsuite/ld-elf/property-or-2.d: Likewise.
803 * testsuite/ld-elf/property-or-2.s: Likewise.
804 * testsuite/ld-elf/property-or-3.d: Likewise.
805 * testsuite/ld-elf/property-or-3.s: Likewise.
806 * testsuite/ld-elf/property-or-4.d: Likewise.
807 * testsuite/ld-elf/property-or-empty.s: Likewise.
808
809 2021-06-17 H.J. Lu <hongjiu.lu@intel.com>
810
811 PR ld/27973
812 * testsuite/ld-x86-64/x86-64.exp: Pass $NOPIE_LDFLAGS and
813 $NOPIE_CFLAGS to protected-func-1 without PIE.
814
815 2021-06-17 H.J. Lu <hongjiu.lu@intel.com>
816
817 PR ld/27973
818 * testsuite/ld-x86-64/x86-64.exp: Run protected function tests.
819 * testsuite/ld-x86-64/protected-func-1.h: New file.
820 * testsuite/ld-x86-64/protected-func-1a.s: Likewise.
821 * testsuite/ld-x86-64/protected-func-1b.c: Likewise.
822
823 2021-06-17 Fangrui Song <maskray@google.com>
824
825 * ldlex.h (enum option_values): Add OPTION_NO_PIE.
826 * lexsup.c (struct ld_options): Add -no-pie.
827 (parse_args): Handle -no-pie.
828 * ld.texi: Document -no-pie.
829
830 2021-06-15 Alan Modra <amodra@gmail.com>
831
832 * testsuite/ld-pie/vaddr-0.d: Update expected output.
833
834 2021-06-11 Alan Modra <amodra@gmail.com>
835
836 PR 27952
837 * ldelf.c (ldelf_after_open): Error on input PIEs too.
838
839 2021-06-09 Nick Clifton <nickc@redhat.com>
840
841 PR 27666
842 * testsuite/ld-sparc/sparc.exp: Do not run the sparctests or
843 sparc64tests for Solaris2 targets.
844
845 2021-06-03 Alan Modra <amodra@gmail.com>
846
847 PR 2589
848 * ld.texi (link-time runtime library search path): Mention
849 plugin library path. Correct order of search.
850
851 2021-05-31 Nelson Chu <nelson.chu@sifive.com>
852 Lifang Xia <lifang_xia@c-sky.com>
853
854 PR 27566
855 * emultempl/riscvelf.em (after_allocation): Call
856 riscv_set_data_segment_info to set data segment phase before relaxing.
857 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
858 * testsuite/ld-riscv-elf/relro-relax-lui.d: New testcase.
859 * testsuite/ld-riscv-elf/relro-relax-lui.s: Likewise.
860 * testsuite/ld-riscv-elf/relro-relax-pcrel.d: Likewise.
861 * testsuite/ld-riscv-elf/relro-relax-pcrel.s: Likewise.
862
863 2021-05-28 H.J. Lu <hongjiu.lu@intel.com>
864
865 PR ld/27905
866 * testsuite/ld-i386/pcrel16-2.d: xfail.
867 * testsuite/ld-x86-64/pcrel16-2.d: Likewise.
868
869 2021-05-26 H.J. Lu <hongjiu.lu@intel.com>
870
871 PR ld/27905
872 * testsuite/ld-i386/code16.d: New file.
873 * testsuite/ld-i386/code16.t: Likewise.
874 * testsuite/ld-x86-64/code16.d: Likewise.
875 * testsuite/ld-x86-64/code16.t: Likewise.
876 * testsuite/ld-i386/i386.exp: Run code16.
877 * testsuite/ld-x86-64/x86-64.exp: Likewise.
878
879 2021-05-26 H.J. Lu <hongjiu.lu@intel.com>
880
881 * testsuite/ld-x86-64/ilp32-12.d: New file.
882 * testsuite/ld-x86-64/ilp32-12.s: Likewise.
883 * testsuite/ld-x86-64/x86-64.exp: Run ilp32-12.
884
885 2021-05-14 Nelson Chu <nelson.chu@sifive.com>
886
887 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
888 * testsuite/ld-riscv-elf/pcrel-lo-addend-2a.d: Renamed from
889 pcrel-lo-addend-2.
890 * testsuite/ld-riscv-elf/pcrel-lo-addend-2a.s: Likewise.
891 * testsuite/ld-riscv-elf/pcrel-lo-addend-2b.d: New testcase.
892 * testsuite/ld-riscv-elf/pcrel-lo-addend-2b.s: Likewise.
893
894 2021-05-13 Fangrui Song <maskray@google.com>
895
896 PR 27834
897 * ldlex.h (enum option_values): Add OPTION_NO_SYMBOLIC.
898 * lexsup.c (ld_options): Add -Bno-symbolic.
899 (parse_args): Handle -Bno-symbolic.
900 * ld.texi: Document -Bno-symbolic.
901 * NEWS: Mention -Bno-symbolic.
902 * testsuite/ld-elf/shared.exp: Add a test.
903
904 2021-05-12 Richard Earnshaw <rearnsha@arm.com>
905
906 * testsuite/ld-arm/arm-elf.exp (farcall test for v8-m.mainline):
907 Correct expected output.
908
909 2021-05-11 Roland McGrath <mcgrathr@google.com>
910
911 * testsuite/ld-x86-64/rela.d: Fix regexp not to presume a specific
912 address layout, so it works for e.g. --target=x86-64-elf.
913
914 2021-05-11 Nick Clifton <nickc@redhat.com>
915
916 PR 27113
917 * Makefile.am (install-data-local): Also delete libdep.dll.a if it
918 is present.
919 * Makefile.in: Regenerate.
920
921 2021-05-10 Dimitar Dimitrov <dimitar@dinux.eu>
922
923 * testsuite/ld-elf/group8a.d: Remove pru from XFAIL list.
924 * testsuite/ld-elf/group8b.d: Ditto.
925 * testsuite/ld-elf/group9a.d: Ditto.
926 * testsuite/ld-elf/group9b.d: Ditto.
927 * testsuite/ld-elf/pr12851.d: Ditto.
928 * testsuite/ld-elf/pr22677.d: Ditto.
929 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Remove
930 pru from list.
931
932 2021-05-10 Dimitar Dimitrov <dimitar@dinux.eu>
933
934 * scripttempl/pru.sc (.resource_table): Add ALIGN directive.
935 Use symbols for memory sizes.
936
937 2021-05-08 Mike Frysinger <vapier@gentoo.org>
938
939 * Makefile.am (html-local, doc/ld/index.html): New targets.
940 * Makefile.in: Regenerate.
941
942 2021-05-08 Mike Frysinger <vapier@gentoo.org>
943
944 * Makefile.am (AM_MAKEINFOFLAGS): Add --no-split.
945 * Makefile.in: Regenerate.
946
947 2021-05-07 Jan Beulich <jbeulich@suse.com>
948
949 * testsuite/ld-x86-64/rela.d: New.
950 * testsuite/ld-x86-64/x86-64.exp: Run new test.
951
952 2021-05-07 Nick Clifton <nickc@redhat.com>
953
954 * ldelfgen.c (compare_link_order): Ignore section size when
955 performing a relocateable link.
956
957 2021-05-07 Alan Modra <amodra@gmail.com>
958
959 * ldexp.c (update_definedness): Don't return false for absolute
960 symbols.
961 * ldmain.c (multiple_definition): Print "warning: " in message
962 when not a hard error.
963
964 2021-05-07 Alan Modra <amodra@gmail.com>
965
966 * testsuite/ld-elf/pr27825-1.d: Correct xfail.
967 * testsuite/ld-elf/pr27825-2.d: Likewise.
968
969 2021-05-06 Stafford Horne <shorne@gmail.com>
970
971 PR 27746
972 testsuite/ld-or1k/or1k.exp (or1kplttests): Add tests for linking
973 along with gotha() relocations.
974 testsuite/ld-or1k/gotha1.dd: New file.
975 testsuite/ld-or1k/gotha1.s: New file.
976 testsuite/ld-or1k/gotha2.dd: New file.
977 testsuite/ld-or1k/gotha2.s: New file
978 testsuite/ld-or1k/pltlib.s (x): Define size to avoid link
979 failure.
980
981 2021-05-06 Nick Alcock <nick.alcock@oracle.com>
982
983 * testsuite/ld-ctf/ctf.exp: Use -gctf, not -gt.
984 * testsuite/lib/ld-lib.exp: Likewise.
985 * testsuite/ld-ctf/nonrepresentable-1.c: New test for nonrepresentable types.
986 * testsuite/ld-ctf/nonrepresentable-2.c: Likewise.
987 * testsuite/ld-ctf/nonrepresentable.d: Likewise.
988 * testsuite/ld-ctf/array.d: Larger type section.
989 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
990 * testsuite/ld-ctf/enums.d: Likewise.
991 * testsuite/ld-ctf/conflicting-enums.d: Don't compare types.
992 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Changed type order.
993 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
994 * testsuite/ld-ctf/slice.d: Adjust for improved slice emission.
995
996 2021-05-05 H.J. Lu <hongjiu.lu@intel.com>
997
998 PR ld/27825
999 * testsuite/ld-elf/pr27825-1.d: New file.
1000 * testsuite/ld-elf/pr27825-1a.s: Likewise.
1001 * testsuite/ld-elf/pr27825-1b.s: Likewise.
1002 * testsuite/ld-elf/pr27825-2.d: Likewise.
1003 * testsuite/ld-elf/pr27825-2a.s: Likewise.
1004 * testsuite/ld-elf/pr27825-2b.s: Likewise.
1005
1006 2021-05-05 Alan Modra <amodra@gmail.com>
1007
1008 * testsuite/ld-powerpc/empty.s: New file.
1009 * testsuite/ld-powerpc/undefweak.d,
1010 * testsuite/ld-powerpc/undefweak.s: New testcase.
1011 * testsuite/ld-powerpc/powerpc.exp: Run it.
1012
1013 2021-05-03 Alan Modra <amodra@gmail.com>
1014
1015 * testsuite/ld-s390/tlspic_64.rd: Adjust expected output for
1016 named section symbols.
1017
1018 2021-04-28 Nick Clifton <nickc@redhat.com>
1019
1020 * testsuite/ld-elf/anno-sym.s: New test source file.
1021 * testsuite/ld-elf/anno-sym.d: New test driver.
1022 * testsuite/ld-elf/anno-sym.l: New test error output.
1023
1024 2021-04-26 Jan Beulich <jbeulich@suse.com>
1025
1026 * testsuite/ld-i386/pcrel16-2.s, testsuite/ld-i386/pcrel16-2.d,
1027 testsuite/ld-x86-64/pcrel16-2.d: New.
1028 * testsuite/ld-i386/i386.exp: Run new test.
1029 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1030
1031 2021-04-23 H.J. Lu <hongjiu.lu@intel.com>
1032
1033 PR ld/27771
1034 * testsuite/ld-bootstrap/bootstrap.exp: Create a symbolic link
1035 to tmpdir/ldscripts only if it doesn't exist.
1036
1037 2021-04-22 Jan Beulich <jbeulich@suse.com>
1038
1039 PR ld/26659
1040 * testsuite/ld-pe/pr26659-weak-undef-sym.d: Relax for Cygwin.
1041
1042 2021-04-21 Nick Clifton <nickc@redhat.com>
1043
1044 * testsuite/ld-aarch64/variant_pcs-now.d: Adjust expected output
1045 to allow for named section symbols.
1046 * testsuite/ld-aarch64/variant_pcs-r.d: Likewise.
1047 * testsuite/ld-aarch64/variant_pcs-shared.d: Likewise.
1048 * testsuite/ld-alpha/tlsbin.rd: Likewise.
1049 * testsuite/ld-alpha/tlsbinr.rd: Likewise.
1050 * testsuite/ld-alpha/tlspic.rd: Likewise.
1051 * testsuite/ld-arm/rodata-merge-map.sym: Likewise.
1052 * testsuite/ld-arm/script-type.sym: Likewise.
1053 * testsuite/ld-cris/libdso-2.d: Likewise.
1054 * testsuite/ld-cris/pr16044.d: Likewise.
1055 * testsuite/ld-elf/sec64k.exp: Likewise.
1056 * testsuite/ld-ia64/tlsbin.rd: Likewise.
1057 * testsuite/ld-ia64/tlspic.rd: Likewise.
1058 * testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d: Likewise.
1059 * testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d: Likewise.
1060 * testsuite/ld-mmix/bspec1.d: Likewise.
1061 * testsuite/ld-mmix/bspec2.d: Likewise.
1062 * testsuite/ld-mmix/local1.d: Likewise.
1063 * testsuite/ld-mmix/local3.d: Likewise.
1064 * testsuite/ld-mmix/local5.d: Likewise.
1065 * testsuite/ld-mmix/local7.d: Likewise.
1066 * testsuite/ld-mmix/undef-3.d: Likewise.
1067 * testsuite/ld-powerpc/tlsso.r: Likewise.
1068 * testsuite/ld-powerpc/tlsso32.r: Likewise.
1069 * testsuite/ld-powerpc/tlstocso.r: Likewise.
1070 * testsuite/ld-s390/tlsbin.rd: Likewise.
1071 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
1072 * testsuite/ld-s390/tlspic.rd: Likewise.
1073 * testsuite/ld-s390/tlspic_64.rd: Likewise.
1074 * testsuite/ld-sparc/gotop32.rd: Likewise.
1075 * testsuite/ld-sparc/gotop64.rd: Likewise.
1076 * testsuite/ld-sparc/tlssunbin32.rd: Likewise.
1077 * testsuite/ld-sparc/tlssunbin64.rd: Likewise.
1078 * testsuite/ld-sparc/tlssunnopic32.rd: Likewise.
1079 * testsuite/ld-sparc/tlssunnopic64.rd: Likewise.
1080 * testsuite/ld-sparc/tlssunpic32.rd: Likewise.
1081 * testsuite/ld-sparc/tlssunpic64.rd: Likewise.
1082 * testsuite/ld-tic6x/common.d: Likewise.
1083 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
1084 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
1085 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
1086 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
1087 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
1088 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
1089 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
1090 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
1091 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
1092 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
1093 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
1094 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
1095 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
1096
1097 2021-04-20 Clément Chigot <clement.chigot@atos.net>
1098
1099 PR binutils/21700
1100 * testsuite/ld-powerpc/aix52.exp: Add new test.
1101 * testsuite/ld-powerpc/aix-neg-reloc-32.d: New test.
1102 * testsuite/ld-powerpc/aix-neg-reloc-64.d: New test.
1103 * testsuite/ld-powerpc/aix-neg-reloc.ex: New test.
1104 * testsuite/ld-powerpc/aix-neg-reloc.s: New test.
1105
1106 2021-04-13 Nick Clifton <nickc@redhat.com>
1107
1108 * ld.texi (Options): Add note about the effect of --as-needed on
1109 the --rpath and --rpath-link options on Linux based systems.
1110
1111 2021-04-13 Alan Modra <amodra@gmail.com>
1112
1113 PR 27722
1114 * libdep_plugin.c (str2vec): Don't pass a potentially signed char
1115 to isspace.
1116
1117 2021-04-12 Alan Modra <amodra@gmail.com>
1118
1119 * configure.ac (--enable-checking): Add support.
1120 * config.in: Regenerate.
1121 * configure: Regenerate.
1122
1123 2021-04-12 Alan Modra <amodra@gmail.com>
1124
1125 * emultempl/mipself.em (mips_create_output_section_statements):
1126 Pass base type of hash table to is_elf_hash_table.
1127 * ldelf.c (ldelf_after_open): Likewise.
1128
1129 2021-04-12 Alan Modra <amodra@gmail.com>
1130
1131 PR 27719
1132 * ldlang.c (lang_mark_undefineds, undef_start_stop): Test that
1133 the symbol hash table is the correct type before accessing
1134 elf_link_hash_entry symbols.
1135 * plugin.c (is_visible_from_outside): Likewise.
1136 * emultempl/armelf.em (ld${EMULATION_NAME}_finish): Likewise.
1137 * emultempl/solaris2.em (elf_solaris2_before_allocation): Likewise.
1138
1139 2021-04-09 Alan Modra <amodra@gmail.com>
1140
1141 * testsuite/ld-powerpc/inlinepcrel-1.d: Update expected output.
1142 * testsuite/ld-powerpc/inlinepcrel-2.d: Likewise.
1143 * testsuite/ld-powerpc/notoc2.d: Likewise.
1144 * testsuite/ld-powerpc/notoc3.d: Likewise.
1145 * testsuite/ld-powerpc/pcrelopt.d: Likewise.
1146 * testsuite/ld-powerpc/startstop.d: Likewise.
1147 * testsuite/ld-powerpc/tlsget.d: Likewise.
1148 * testsuite/ld-powerpc/tlsget2.d: Likewise.
1149 * testsuite/ld-powerpc/tlsld.d: Likewise.
1150 * testsuite/ld-powerpc/weak1.d: Likewise.
1151 * testsuite/ld-powerpc/weak1so.d: Likewise.
1152
1153 2021-04-06 Jan Beulich <jbeulich@suse.com>
1154
1155 * pe-dll.c (generate_reloc): Bail immediately when .reloc is
1156 being discarded. Warn when relocated entry is above .reloc.
1157
1158 2021-04-05 Alan Modra <amodra@gmail.com>
1159
1160 * configure.ac: Move initfini-array arg handling earlier. Don't
1161 check for string.h, strings.h, stdlib.h, or locale.h. Do check
1162 for inttypes.h, stdint.h, sys/types.h. Don't check for
1163 setlocale, free, getev or strstr.
1164 (AC_ISC_POSIX): Don't invoke.
1165 * sysdep.h: Include string.h and stdlib.h unconditionally. Test
1166 HAVE_SYS_TYPE_H and HAVE_SYS_STAT_H. Remove strstr, free and
1167 getenv fallback declarations.
1168 * ld.h: Don't test HAVE_LOCALE_H.
1169 * ldmain.c: Don't test HAVE_SETLOCALE.
1170 * config.in: Regenerate.
1171 * configure: Regenerate.
1172
1173 2021-04-01 Tamar Christina <tamar.christina@arm.com>
1174
1175 PR ld/26659
1176 * testsuite/ld-pe/pe.exp: Add test.
1177 * testsuite/ld-pe/pr26659-weak-undef-sym.d: New test.
1178 * testsuite/ld-pe/pr26659-weak-undef-sym.s: New test.
1179
1180 2021-04-01 Martin Liska <mliska@suse.cz>
1181
1182 * ldbuildid.c (strneq): Remove strneq and use startswith.
1183 (validate_build_id_style): Likewise.
1184 (compute_build_id_size): Likewise.
1185
1186 2021-03-31 Alan Modra <amodra@gmail.com>
1187
1188 * sysdep.h (POISON_BFD_BOOLEAN): Define.
1189 * configure.ac (elf_list_options, elf_shlib_list_options=false),
1190 (elf_plt_unwind_list_options=false): Replace FALSE with false,
1191 and TRUE with true.
1192 * emulparams/call_nop.sh, * emulparams/cet.sh,
1193 * emulparams/dynamic_undefined_weak.sh,
1194 * emulparams/elf32b4300.sh, * emulparams/elf32lm32.sh,
1195 * emulparams/elf32lr5900.sh, * emulparams/elf32lr5900n32.sh,
1196 * emulparams/elf32visium.sh, * emulparams/elf_x86_64.sh,
1197 * emulparams/extern_protected_data.sh, * emulparams/plt_unwind.sh,
1198 * emulparams/reloc_overflow.sh, * emulparams/static.sh,
1199 * emulparams/x86-64-lam.sh, * emultempl/aarch64elf.em,
1200 * emultempl/aix.em, * emultempl/alphaelf.em,
1201 * emultempl/armcoff.em, * emultempl/armelf.em,
1202 * emultempl/avrelf.em, * emultempl/beos.em, * emultempl/bfin.em,
1203 * emultempl/cr16elf.em, * emultempl/crxelf.em,
1204 * emultempl/cskyelf.em, * emultempl/elf.em, * emultempl/genelf.em,
1205 * emultempl/hppaelf.em, * emultempl/linux.em,
1206 * emultempl/m68hc1xelf.em, * emultempl/metagelf.em,
1207 * emultempl/mipself.em, * emultempl/mmix-elfnmmo.em,
1208 * emultempl/mmixelf.em, * emultempl/mmo.em, * emultempl/msp430.em,
1209 * emultempl/nios2elf.em, * emultempl/pdp11.em, * emultempl/pe.em,
1210 * emultempl/pep.em, * emultempl/ppc32elf.em,
1211 * emultempl/ppc64elf.em, * emultempl/rxelf.em,
1212 * emultempl/rxlinux.em, * emultempl/scoreelf.em,
1213 * emultempl/solaris2.em, * emultempl/spuelf.em,
1214 * emultempl/ticoff.em, * emultempl/v850elf.em, * emultempl/vms.em,
1215 * emultempl/xtensaelf.em, * emultempl/z80.em, * ld.h,
1216 * ldbuildid.c, * ldbuildid.h, * ldcref.c, * ldctor.c, * ldctor.h,
1217 * ldelf.c, * ldelf.h, * ldelfgen.c, * ldelfgen.h, * ldemul.c,
1218 * ldemul.h, * ldexp.c, * ldexp.h, * ldfile.c, * ldfile.h,
1219 * ldgram.y, * ldlang.c, * ldlang.h, * ldmain.c, * ldmain.h,
1220 * ldmisc.c, * ldmisc.h, * ldwrite.c, * lexsup.c, * mri.c,
1221 * pe-dll.c, * pe-dll.h, * pep-dll.h, * plugin.c, * plugin.h,
1222 * testplug.c, * testplug2.c, * testplug3.c, * testplug4.c: Replace
1223 bfd_boolean with bool, FALSE with false, and TRUE with true.
1224 * configure: Regenerate.
1225
1226 2021-03-31 Alan Modra <amodra@gmail.com>
1227
1228 * elf-hints-local.h: Include stdint.h in place of bfd_stdint.h.
1229 * emultempl/nds32elf.em: Likewise.
1230 * testsuite/ld-elf/mbind2b.c: Likewise.
1231 * testsuite/ld-elf/pr18718.c: Likewise.
1232 * testsuite/ld-elf/pr18720a.c: Likewise.
1233 * testsuite/ld-elf/pr25749-1.c: Likewise.
1234 * testsuite/ld-elf/pr25749-1a.c: Likewise.
1235 * testsuite/ld-elf/pr25749-1b.c: Likewise.
1236 * testsuite/ld-elf/pr25749-1c.c: Likewise.
1237 * testsuite/ld-elf/pr25749-1d.c: Likewise.
1238 * testsuite/ld-elf/pr25749-2.c: Likewise.
1239 * testsuite/ld-elf/pr25754-1a.c: Likewise.
1240 * testsuite/ld-elf/pr25754-2a.c: Likewise.
1241 * testsuite/ld-elf/pr25754-3a.c: Likewise.
1242 * testsuite/ld-elf/pr25754-4a.c: Likewise.
1243 * testsuite/ld-elf/pr25754-5a.c: Likewise.
1244 * testsuite/ld-elf/pr25754-6a.c: Likewise.
1245
1246 2021-03-29 Alan Modra <amodra@gmail.com>
1247
1248 * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Simplify
1249 boolean expression.
1250 * lexsup.c (parse_args): Likewise.
1251 * pe-dll.c (pe_dll_id_target): Likewise.
1252
1253 2021-03-25 Nick Alcock <nick.alcock@oracle.com>
1254
1255 * testsuite/ld-ctf/array.d: Only check that the data object
1256 section is nonempty: do not check its exact size.
1257 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
1258 * testsuite/ld-ctf/slice.d: Likewise.
1259 * testsuite/ld-ctf/data-func-conflicted.d: Likewise, and for the
1260 func info section too.
1261 * testsuite/ld-ctf/function.d: Likewise, for the func info section.
1262
1263 2021-03-22 Martin Liska <mliska@suse.cz>
1264
1265 * emultempl/aix.em: Replace usage of CONST_STRNEQ with startswith.
1266 * emultempl/beos.em: Likewise.
1267 * emultempl/elf.em: Likewise.
1268 * emultempl/pe.em: Likewise.
1269 * emultempl/pep.em: Likewise.
1270 * emultempl/xtensaelf.em: Likewise.
1271 * ldctor.c (ctor_prio): Likewise.
1272 * ldelf.c (ldelf_try_needed): Likewise.
1273 (ldelf_parse_ld_so_conf): Likewise.
1274 (ldelf_after_open): Likewise.
1275 (output_rel_find): Likewise.
1276 (ldelf_place_orphan): Likewise.
1277 * ldfile.c (ldfile_add_library_path): Likewise.
1278 * ldlang.c (lang_add_input_file): Likewise.
1279 * ldmain.c (get_sysroot): Likewise.
1280 (get_emulation): Likewise.
1281 (add_archive_element): Likewise.
1282 * ldwrite.c (unsplittable_name): Likewise.
1283 (clone_section): Likewise.
1284 * lexsup.c (parse_args): Likewise.
1285 * pe-dll.c (is_import): Likewise.
1286 (pe_implied_import_dll): Likewise.
1287
1288 2021-03-19 H.J. Lu <hongjiu.lu@intel.com>
1289
1290 PR ld/27590
1291 * testsuite/ld-x86-64/pr27590.rd: New file.
1292 * testsuite/ld-x86-64/pr27590a.obj.bz2: Likewise.
1293 * testsuite/ld-x86-64/pr27590b.obj.bz2: Likewise.
1294 * testsuite/ld-x86-64/x86-64.exp: Run ld/27590 test.
1295
1296 2021-03-20 Alan Modra <amodra@gmail.com>
1297
1298 PR 27590
1299 * ldlang.c (lang_gc_sections): Clear SEC_EXCLUDE when relocatable
1300 for all sections except .stabstr.
1301
1302 2021-03-19 Alan Modra <amodra@gmail.com>
1303
1304 PR 27590
1305 * testsuite/ld-elf/pr27590a.d: Match relocs using label, and
1306 R_MIPS_NONE.
1307 * testsuite/ld-elf/pr27590b.d: Likewise.
1308
1309 2021-03-18 H.J. Lu <hongjiu.lu@intel.com>
1310
1311 PR ld/27590
1312 * testsuite/ld-elf/pr27590.s: New file.
1313 * testsuite/ld-elf/pr27590a.d: Likewise.
1314 * testsuite/ld-elf/pr27590b.d: Likewise.
1315 * testsuite/ld-i386/i386.exp: Also run ld/27193 test with
1316 --reduce-memory-overheads.
1317
1318 2021-03-18 H.J. Lu <hongjiu.lu@intel.com>
1319
1320 PR ld/27587
1321 * testsuite/ld-x86-64/pr27587.err: New file.
1322 * testsuite/ld-x86-64/pr27587a.obj.bz2: Likewise.
1323 * testsuite/ld-x86-64/pr27587b.obj.bz2: Likewise.
1324 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/27587 test.
1325
1326 2021-03-18 Nick Alcock <nick.alcock@oracle.com>
1327
1328 * testsuite/ld-ctf/slice.c: Check slices of enums too.
1329 * testsuite/ld-ctf/slice.d: Results adjusted.
1330
1331 2021-03-16 Nick Clifton <nickc@redhat.com>
1332
1333 * pe-dll.c (pe_find_cdecl_alias_match): Use memmove to overwrite
1334 lname string.
1335
1336 2021-03-15 Jan Beulich <jbeulich@suse.com>
1337
1338 * pe-dll.c (generate_reloc): Drop padding to reloc_s->size.
1339
1340 2021-03-12 Alan Modra <amodra@gmail.com>
1341
1342 * Makefile.am (ALL_EMULATION_SOURCES): Move riscv files to..
1343 (ALL_64_EMULATION_SOURCES): ..here.
1344 * Makefile.in: Regenerate.
1345
1346 2021-03-12 Clément Chigot <clement.chigot@atos.net>
1347
1348 * emultempl/aix.em: Ensure .tdata section is removed
1349 if empty, even with -r flag.
1350 * scripttempl/aix.sc: Handle TLS sections.
1351 * testsuite/ld-powerpc/aix52.exp: Add new tests.
1352 * testsuite/ld-powerpc/aix-tls-reloc-32.d: New test.
1353 * testsuite/ld-powerpc/aix-tls-reloc-64.d: New test.
1354 * testsuite/ld-powerpc/aix-tls-reloc.ex: New test.
1355 * testsuite/ld-powerpc/aix-tls-reloc.s: New test.
1356 * testsuite/ld-powerpc/aix-tls-section-32.d: New test.
1357 * testsuite/ld-powerpc/aix-tls-section-64.d: New test.
1358 * testsuite/ld-powerpc/aix-tls-section.ex: New test.
1359 * testsuite/ld-powerpc/aix-tls-section.s: New test.
1360
1361 2021-03-12 Clément Chigot <clement.chigot@atos.net>
1362
1363 * scripttempl/aix.sc: Add .te to .data section.
1364 * testsuite/ld-powerpc/aix52.exp: Add test structure for AIX7+.
1365 Add aix-largetoc-1 test.
1366 * testsuite/ld-powerpc/aix-largetoc-1-32.d: New test.
1367 * testsuite/ld-powerpc/aix-largetoc-1-64.d: New test.
1368 * testsuite/ld-powerpc/aix-largetoc-1.ex: New test.
1369 * testsuite/ld-powerpc/aix-largetoc-1.s: New test.
1370
1371 2021-03-12 Alan Modra <amodra@gmail.com>
1372
1373 * testsuite/ld-gc/gc.exp: Pass "-image-base 0" to ld for PE, and
1374 arrange to define __main for some run_dump_test tests.
1375 * testsuite/ld-gc/pr13683.d: Accept more symbols.
1376 * testsuite/ld-gc/pr14265.d: Likewise, and ordering.
1377 * testsuite/ld-scripts/crossref.exp: Pass "-image-base 0" to ld for PE.
1378 * testsuite/ld-srec/srec.exp: Likewise.
1379 * testsuite/lib/ld-lib.exp (ld_link_defsyms): Use is_pecoff_format.
1380
1381 2021-03-11 Nelson Chu <nelson.chu@sifive.com>
1382
1383 * emultempl/riscvelf.em (after_allocation): Run ldelf_map_segments
1384 many times if riscv_restart_relax_sections returns TRUE.
1385 * testsuite/ld-riscv-elf/restart-relax.d: New testcase. Before
1386 applying this patch, the call won't be relaxed to jal; But now we
1387 have more chances to do relaxations.
1388 * testsuite/ld-riscv-elf/restart-relax.s: Likewise.
1389 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
1390
1391 2021-03-10 Jan Beulich <jbeulich@suse.com>
1392
1393 * testsuite/ld-scripts/pr22267.t: Avoid symbol value with more
1394 than 32 set bits.
1395 * testsuite/ld-scripts/pr22267.d: Adjust expectation and drop
1396 comment.
1397 * scripttempl/mcorepe.sc: Use PROVIDE() for _stack.
1398
1399 2021-03-09 Jan Beulich <jbeulich@suse.com>
1400
1401 * testsuite/ld-pe/reloc.s: Add entry point symbols. Increase
1402 alignment to 4k.
1403 * testsuite/ld-pe/reloc.d: xfail for mcore.
1404
1405 2021-03-09 Jan Beulich <jbeulich@suse.com>
1406
1407 * testsuite/ld-scripts/alignof.exp,
1408 testsuite/ld-scripts/data.exp,
1409 testsuite/ld-scripts/default-script.exp,
1410 testsuite/ld-scripts/log2.exp,
1411 testsuite/ld-scripts/print-memory-usage.exp,
1412 testsuite/ld-scripts/sizeof.exp,
1413 testsuite/ld-undefined/weak-undef.exp: Set image base to zero
1414 for PE/COFF.
1415 * testsuite/ld-scripts/default-script1.d,
1416 testsuite/ld-scripts/default-script2.d,
1417 testsuite/ld-scripts/default-script3.d,
1418 testsuite/ld-scripts/default-script4.d: Drop xfail and comment.
1419
1420 2021-03-05 H.J. Lu <hongjiu.lu@intel.com>
1421
1422 PR ld/27425
1423 PR ld/27432
1424 * ldelf.c (ldelf_set_output_arch): New function.
1425 * ldelf.h (ldelf_set_output_arch): New prototype.
1426 * emultempl/elf.em (LDEMUL_SET_OUTPUT_ARCH): Default to
1427 ldelf_set_output_arch.
1428 * ld-x86-64/pe-x86-64-1.od: Expect __executable_start.
1429 * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise.
1430 * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise.
1431 * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise.
1432 * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise.
1433 * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise.
1434 * testsuite/ld-x86-64/pe-x86-64-6.obj.bz2: New file.
1435 * testsuite/ld-x86-64/pe-x86-64-6.od: Likewise.
1436 * testsuite/ld-x86-64/pe-x86-64.exp: Run ld/27425 test.
1437
1438 2021-03-04 Jan Beulich <jbeulich@suse.com>
1439
1440 * testsuite/ld-scripts/map-address.exp: Set image base to zero
1441 for PE/COFF.
1442 * testsuite/ld-scripts/map-address.t: Place .text.
1443
1444 2021-03-04 Jan Beulich <jbeulich@suse.com>
1445
1446 * ldexp.c (ldexp_is_final_sym_absolute): New.
1447 * ldexp.h (ldexp_is_final_sym_absolute): Declare.
1448 * pe-dll.c (generate_reloc): Skip absolute symbols.
1449 * testsuite/ld-pe/reloc.s, testsuite/ld-pe/reloc.d: New.
1450 * testsuite/ld-pe/pe.exp: Run new test.
1451
1452 2021-03-03 Alan Modra <amodra@gmail.com>
1453
1454 PR 27500
1455 * ldlang.c (insert_undefined): Don't mark symbols here.
1456 (lang_mark_undefineds): Do so here instead, new function.
1457 (lang_process): Call lang_mark_undefineds.
1458 * testsuite/ld-gc/start3.d,
1459 * testsuite/ld-gc/start3.s: New test.
1460 * testsuite/ld-gc/start4.d,
1461 * testsuite/ld-gc/start4.s: New test.
1462 * testsuite/ld-gc/gc.exp: Run them.
1463
1464 2021-03-03 Alan Modra <amodra@gmail.com>
1465
1466 * testsuite/ld-gc/gc.exp: Define UNDERSCORE in ASFLAGS.
1467 Move tests with ELF section directives to is_elf_format block.
1468 * testsuite/ld-gc/abi-note.d: Run on more targets.
1469 * testsuite/ld-gc/pr19167.d: Likewise and adjust xfails.
1470 * testsuite/ld-gc/start.d: Likewise.
1471 * testsuite/ld-gc/start2.d: Likewise.
1472 * testsuite/ld-gc/stop.d: Likewise.
1473 * testsuite/ld-gc/pr19167a.s: Add support for underscore targets.
1474 * testsuite/ld-gc/start.s: Likewise.
1475 * testsuite/ld-gc/start2.s: Likewise.
1476
1477 2021-03-02 Nick Alcock <nick.alcock@oracle.com>
1478
1479 * ldelfgen.c (ldelf_ctf_strtab_iter_cb): Skip zero-refcount strings.
1480
1481 2021-03-02 Alan Modra <amodra@gmail.com>
1482
1483 * testsuite/ld-powerpc/startstop.d,
1484 * testsuite/ld-powerpc/startstop.r,
1485 * testsuite/ld-powerpc/startstop.s: New test.
1486 * testsuite/ld-powerpc/powerpc.exp: Run it.
1487
1488 2021-03-02 Alan Modra <amodra@gmail.com>
1489
1490 * testsuite/ld-powerpc/weak1.d,
1491 * testsuite/ld-powerpc/weak1.r,
1492 * testsuite/ld-powerpc/weak1.s,
1493 * testsuite/ld-powerpc/weak1so.d,
1494 * testsuite/ld-powerpc/weak1so.r: New tests.
1495 * testsuite/ld-powerpc/powerpc.exp: Run them.
1496
1497 2021-03-01 Hannes Domani <ssbssa@sourceware.org>
1498 Nick Clifton <nickc@redhat.com>
1499
1500 PR 27268
1501 * scripttempl/pe.sc: Add DWARF-5 section names.
1502 * scripttempl/pep.sc: Likewise.
1503
1504 2021-03-01 Alan Modra <amodra@gmail.com>
1505 Fangrui Song <maskray@google.com>
1506
1507 * emultempl/elf.em: Handle -z start-stop-gc and -z nostart-stop-gc.
1508 * lexsup.c (elf_static_list_options): Display help for them. Move
1509 help for -z stack-size to here from elf_shlib_list_options. Add
1510 help for -z start-stop-visibility and -z undefs.
1511 * ld.texi: Document -z start-stop-gc and -z nostart-stop-gc.
1512 * NEWS: Mention -z start-stop-gc.
1513 * testsuite/ld-gc/start2.s,
1514 * testsuite/ld-gc/start2.d: New test.
1515 * testsuite/ld-gc/gc.exp: Run it.
1516
1517 2021-03-01 Alan Modra <amodra@gmail.com>
1518
1519 * ldlang.c (undef_start_stop): For ELF make undefined start/stop
1520 symbols undefweak if that was how they were referenced. Undo
1521 dynamic state too.
1522
1523 2021-03-01 Alan Modra <amodra@gmail.com>
1524
1525 * testsuite/ld-elf/pr25708.d: Add --with-symbol-versions to nm.
1526 * testsuite/ld-elf/pr27128a.d: Likewise.
1527 * testsuite/ld-elf/pr27128b.d: Likewise.
1528 * testsuite/ld-elf/pr27128c.d: Likewise.
1529 * testsuite/ld-elf/pr27128d.d: Likewise.
1530 * testsuite/ld-elf/pr27128e.d: Likewise.
1531
1532 2021-02-26 Alan Modra <amodra@gmail.com>
1533
1534 PR 27441
1535 * testsuite/ld-plugin/pr27441a.c,
1536 * testsuite/ld-plugin/pr27441b.c,
1537 * testsuite/ld-plugin/pr27441c.c,
1538 * testsuite/ld-plugin/pr27441c.d: New test.
1539 * testsuite/ld-plugin/lto.exp: Run it.
1540
1541 2021-02-25 Jan Beulich <jbeulich@suse.com>
1542
1543 * ld.texi (PROVIDE): Downgrade "error" to "diagnostic".
1544
1545 2021-02-21 Alan Modra <amodra@gmail.com>
1546
1547 * ldexp.c (exp_fold_tree_1): Warn on script defining a symbol
1548 defined in an object file.
1549 * ldmain.c (multiple_definition): Heed info->warn_multiple_definition.
1550 * testsuite/ld-scripts/defined5.d: Expect a warning.
1551
1552 2021-02-19 Alan Modra <amodra@gmail.com>
1553
1554 * testsuite/lib/ld-lib.exp: Whitespace.
1555 (load_common_lib): Expand single use and delete this proc.
1556 (run_host_cmd): Use -fno-lto when getting gcc's ld version.
1557 Use -B for clang too.
1558
1559 2021-02-18 Andrew Burgess <andrew.burgess@embecosm.com>
1560
1561 * testplugin.c (record_read_length): Remove debug fprintf.
1562
1563 2021-02-14 Alan Modra <amodra@gmail.com>
1564
1565 * testsuite/ld-cdtest/cdtest.exp,
1566 * testsuite/ld-checks/checks.exp,
1567 * testsuite/ld-elf/binutils.exp,
1568 * testsuite/ld-elf/compress.exp,
1569 * testsuite/ld-elf/dwarf.exp,
1570 * testsuite/ld-elf/exclude.exp,
1571 * testsuite/ld-elf/frame.exp,
1572 * testsuite/ld-elf/indirect.exp,
1573 * testsuite/ld-elf/linux-x86.exp,
1574 * testsuite/ld-elf/sec-to-seg.exp,
1575 * testsuite/ld-elf/tls_common.exp,
1576 * testsuite/ld-elfcomm/elfcomm.exp,
1577 * testsuite/ld-elfvers/vers.exp,
1578 * testsuite/ld-elfvsb/elfvsb.exp,
1579 * testsuite/ld-elfweak/elfweak.exp,
1580 * testsuite/ld-ifunc/binutils.exp,
1581 * testsuite/ld-mips-elf/mips-elf-flags.exp,
1582 * testsuite/ld-misc/defsym.exp,
1583 * testsuite/ld-mn10300/mn10300.exp,
1584 * testsuite/ld-plugin/lto.exp,
1585 * testsuite/ld-plugin/plugin.exp,
1586 * testsuite/ld-scripts/align.exp,
1587 * testsuite/ld-scripts/assert.exp,
1588 * testsuite/ld-scripts/crossref.exp,
1589 * testsuite/ld-scripts/defined.exp,
1590 * testsuite/ld-scripts/extern.exp,
1591 * testsuite/ld-scripts/log2.exp,
1592 * testsuite/ld-scripts/map-address.exp,
1593 * testsuite/ld-scripts/phdrs.exp,
1594 * testsuite/ld-scripts/phdrs2.exp,
1595 * testsuite/ld-scripts/script.exp,
1596 * testsuite/ld-scripts/section-flags.exp,
1597 * testsuite/ld-scripts/sizeof.exp,
1598 * testsuite/ld-scripts/weak.exp,
1599 * testsuite/ld-selective/selective.exp,
1600 * testsuite/ld-sh/sh.exp,
1601 * testsuite/ld-shared/shared.exp,
1602 * testsuite/ld-srec/srec.exp,
1603 * testsuite/ld-tic6x/tic6x.exp,
1604 * testsuite/ld-undefined/undefined.exp,
1605 * testsuite/ld-undefined/weak-undef.exp,
1606 * testsuite/lib/ld-lib.exp: Don't use unresolved except after
1607 perror. Instead report "unsupported" or "fail".
1608
1609 2021-02-12 Nick Clifton <nickc@redhat.com>
1610
1611 * testsuite/ld-elf/sec64k.exp: Stop readelf from automatically
1612 following debug links.
1613
1614 2021-02-11 Alan Modra <amodra@gmail.com>
1615
1616 * NEWS: Mention arm-symbianelf removal.
1617
1618 2021-02-09 Alan Modra <amodra@gmail.com>
1619
1620 * Makefile.am (ALL_EMULATION_SOURCES): Remove earmsymbian.c.
1621 Don't include symbian dep file.
1622 * configure.tgt: Remove arm*-*-symbianelf* entry.
1623 * emulparams/armsymbian.sh: Delete.
1624 * ld.texi: Don't mention symbian.
1625 * scripttempl/armbpabi.sc: Delete.
1626 * testsuite/ld-arm/symbian-seg1.d: Delete.
1627 * testsuite/ld-arm/symbian-seg1.s: Delete.
1628 * testsuite/ld-arm/arm-elf.exp: Don't run symbian-seg1.
1629 * Makefile.in: Regenerate.
1630 * po/BLD-POTFILES.in: Regenerate.
1631
1632 2021-02-07 H.J. Lu <hongjiu.lu@intel.com>
1633
1634 PR ld/27358
1635 * testsuite/ld-i386/i386.exp: Remove property 3/4/5 run-time
1636 tests.
1637 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1638
1639 2021-01-26 Nick Alcock <nick.alcock@oracle.com>
1640
1641 * ldlang.c (lang_merge_ctf): Set CTF_LINK_NO_FILTER_REPORTED_SYMS
1642 when appropriate.
1643
1644 2021-02-04 H.J. Lu <hongjiu.lu@intel.com>
1645
1646 PR ld/19609
1647 * testsuite/ld-x86-64/pr19609-2a.d: Updated.
1648 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
1649 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
1650 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
1651 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
1652 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
1653 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
1654
1655 2021-02-04 H.J. Lu <hongjiu.lu@intel.com>
1656
1657 PR ld/15146
1658 * testsuite/ld-plugin/lto.exp: Run PR ld/15146 tests.
1659 * testsuite/ld-plugin/pr15146.d: Restored.
1660 * testsuite/ld-plugin/pr15146a.c: Likewise.
1661 * testsuite/ld-plugin/pr15146b.c: Likewise.
1662 * testsuite/ld-plugin/pr15146c.c: Likewise.
1663 * testsuite/ld-plugin/pr15146d.c: Likewise.
1664
1665 2021-02-04 Alan Modra <amodra@gmail.com>
1666
1667 * testsuite/ld-plugin/pr27311d.c: New test.
1668 * testsuite/ld-plugin/lto.exp: Rename pr27311 to pr27311-1, compile
1669 and link new test as pr27311-2.
1670
1671 2021-02-03 Alan Modra <amodra@gmail.com>
1672
1673 * testsuite/ld-ifunc/ifunc.exp (libpr16467b.so, libpr16467bn.so):
1674 Link with --as-needed.
1675
1676 2021-02-02 Alan Modra <amodra@gmail.com>
1677
1678 * testsuite/ld-plugin/pr27311.d,
1679 * testsuite/ld-plugin/pr27311.ver,
1680 * testsuite/ld-plugin/pr27311a.c,
1681 * testsuite/ld-plugin/pr27311b.c,
1682 * testsuite/ld-plugin/pr27311c.c: New testcase.
1683 * testsuite/ld-plugin/lto.exp: Run it. Correct PR14918 and
1684 PR12982 entries.
1685
1686 2021-02-01 Emery Hemingway <ehmry@posteo.net>
1687
1688 * configure.tgt: Add *-*-genode* as a target for AArch64 and x86.
1689
1690 2021-02-01 Alan Modra <amodra@gmail.com>
1691
1692 * ldgram.y (defsym_expr): Use assignment rule.
1693 * ldlex.h (ldlex_defsym): Delete.
1694 * ldlex.l (DEFSYMEXP, ldlex_defsym): Delete.
1695
1696 2021-02-01 Alan Modra <amodra@gmail.com>
1697
1698 * ldgram.y (section): Call ldlex_backup. Remove empty action.
1699 * ldlex.h (ldlex_backup): Declare.
1700 * ldlex.l (<EXPRESSION>NAME): Don't use NOCFILENAMECHAR set of
1701 chars, use SYMBOLNAMECHAR.
1702 (ldlex_backup): New function.
1703
1704 2021-02-01 Alan Modra <amodra@gmail.com>
1705
1706 * ldgram.y: Whitespace fixes.
1707
1708 2021-02-01 Alan Modra <amodra@gmail.com>
1709
1710 * testsuite/ld-elf/pr27259.d: Correct sh_link match.
1711
1712 2021-01-29 Alan Modra <amodra@gmail.com>
1713
1714 * testsuite/ld-tic6x/tic6x.exp: Add pr27271 test.
1715
1716 2021-01-28 H.J. Lu <hongjiu.lu@intel.com>
1717
1718 PR ld/27259
1719 * testsuite/ld-elf/pr27259.d: New file.
1720 * testsuite/ld-elf/pr27259.s: Likewise.
1721
1722 2021-01-28 Alan Modra <amodra@gmail.com>
1723
1724 PR 27259
1725 * ldelf.c (ldelf_before_place_orphans): Use linker_mark to
1726 prevent endless looping of linked-to sections.
1727
1728 2021-01-26 H.J. Lu <hongjiu.lu@intel.com>
1729
1730 * testsuite/ld-x86-64/bnd-plt-1.d: Fix a typo.
1731
1732 2021-01-26 Alan Modra <amodra@gmail.com>
1733
1734 PR 27226
1735 * emulparams/alphavms.sh: Don't set COMPILE_IN.
1736 * emulparams/elf64_ia64_vms.sh: Likewise.
1737 * emulparams/elf64mmix.sh: Likewise.
1738 * emulparams/elf_iamcu.sh: Likewise.
1739 * emulparams/elf_k1om.sh: Likewise.
1740 * emulparams/elf_l1om.sh: Likewise.
1741 * emulparams/mmo.sh: Likewise.
1742 * emulparams/pdp11.sh: Set DATA_SEG_ADDR.
1743 * scripttempl/pdp11.sc: Use it.
1744 * emultempl/pdp11.em: Don't edit .xn script for separate_code,
1745 instead use .xe script. Support scripts from file system.
1746 * emultempl/beos.em: Support scripts from file system.
1747 * emultempl/pe.em: Likewise.
1748 * emultempl/pep.em: Likewise.
1749 * testsuite/ld-bootstrap/bootstrap.exp: Make tmpdir/ldscripts link.
1750
1751 2021-01-25 Fangrui Song <maskray@google.com>
1752
1753 PR ld/27230
1754 * scripttempl/DWARF.sc: Add .debug_* sections.
1755
1756 2021-01-25 Nick Clifton <nickc@redhat.com>
1757
1758 * scripttempl/DWARF.sc: Add .debug_loclists, .debug_rnglists,
1759 .debug_line_str and .debug_str_offsets. Move .debug_macro and
1760 .debug_addr into DWARF-5 section.
1761
1762 2021-01-21 Alan Modra <amodra@gmail.com>
1763
1764 * testsuite/ld-elf/pr26936.d: No longer xfail mips.
1765
1766 2021-01-20 Alan Modra <amodra@gmail.com>
1767
1768 * testsuite/ld-powerpc/relbrlt.s: Make symbols global.
1769 * testsuite/ld-powerpc/relbrlt.d: Adjust to suit.
1770 * testsuite/ld-powerpc/tlsget.d: Adjust for reordered stubs.
1771 * testsuite/ld-powerpc/tlsget.wf: Likewise.
1772 * testsuite/ld-powerpc/tlsget2.d: Likewise.
1773 * testsuite/ld-powerpc/tlsget2.wf: Likewise.
1774 * testsuite/ld-powerpc/tlsexe.r: Adjust for removed section syms.
1775 * testsuite/ld-powerpc/tlsexe32.r: Likewise.
1776 * testsuite/ld-powerpc/tlsexe32no.r: Likewise.
1777 * testsuite/ld-powerpc/tlsexeno.r: Likewise.
1778 * testsuite/ld-powerpc/tlsexenors.r: Likewise.
1779 * testsuite/ld-powerpc/tlsexers.r: Likewise.
1780 * testsuite/ld-powerpc/tlsexetoc.r: Likewise.
1781 * testsuite/ld-powerpc/tlsexetocrs.r: Likewise.
1782 * testsuite/ld-powerpc/tlsso.r: Likewise.
1783 * testsuite/ld-powerpc/tlsso32.r: Likewise.
1784 * testsuite/ld-powerpc/tlstocso.r: Likewise.
1785
1786 2021-01-19 Nick Alcock <nick.alcock@oracle.com>
1787
1788 * testsuite/ld-ctf/data-func-2.c: Stop removal of the extern foo_t
1789 symbols by the optimizer.
1790 * testsuite/ld-ctf/data-func-conflicted.d: Adjust accordingly.
1791
1792 2021-01-19 Nelson Chu <nelson.chu@sifive.com>
1793
1794 * testsuite/ld-elf/elf.exp (riscv_little_endian): Added. Return true
1795 if target is riscv little endian. Otherwise, return false.
1796 * testsuite/ld-elf/compressed1d.d: Only xfail the riscv little endian
1797 targets by [riscv_little_endian].
1798
1799 2021-01-18 Alan Modra <amodra@gmail.com>
1800
1801 PR 26378
1802 * ldlang.c (map_input_to_output_sections): Start with a read-only
1803 section for data statements.
1804 * testsuite/ld-elf/size-2.d: Adjust to suit.
1805
1806 2021-01-17 H.J. Lu <hongjiu.lu@intel.com>
1807
1808 PR ld/27193
1809 * testsuite/ld-i386/i386.exp: Run PR ld/27193 test.
1810 * testsuite/ld-i386/pr27193.dd: New file.
1811 * testsuite/ld-i386/pr27193a.o.bz2: Likewise.
1812 * testsuite/ld-i386/pr27193b.s: Likewise.
1813
1814 2021-01-16 H.J. Lu <hongjiu.lu@intel.com>
1815
1816 PR binutils/23460
1817 * testsuite/ld-plugin/lto.exp: Increase the max number of open
1818 files to 20 for PR binutils/23460 test.
1819
1820 2021-01-16 H.J. Lu <hongjiu.lu@intel.com>
1821
1822 PR ld/23169
1823 * testsuite/ld-ifunc/ifunc.exp: Replace pr23169c.rd with
1824 pr23169a.rd for pr23169c and pr23169f. Remove pr23169e tests.
1825 * testsuite/ld-ifunc/pr23169a.c (foo): Don't compare function
1826 address.
1827
1828 2021-01-15 H.J. Lu <hongjiu.lu@intel.com>
1829
1830 * NEWS: Mention -z report-relative-reloc.
1831 * ld.texi: Document -z report-relative-reloc.
1832 * emulparams/elf32_x86_64.sh: Source x86-report-relative.sh.
1833 * emulparams/elf_i386.sh: Likewse.
1834 * emulparams/elf_x86_64.sh: Likewse.
1835 * emulparams/x86-report-relative.sh: New file.
1836 * testsuite/ld-i386/report-reloc-1.d: Likewse.
1837 * testsuite/ld-i386/report-reloc-1.l: Likewse.
1838 * testsuite/ld-i386/report-reloc-1.s: Likewse.
1839 * testsuite/ld-x86-64/report-reloc-1-x32.d: Likewse.
1840 * testsuite/ld-x86-64/report-reloc-1.d: Likewse.
1841 * testsuite/ld-x86-64/report-reloc-1.l: Likewse.
1842 * testsuite/ld-x86-64/report-reloc-1.s: Likewse.
1843 * testsuite/ld-i386/i386.exp: Run report-reloc-1.
1844 * testsuite/ld-x86-64/x86-64.exp: Run report-reloc-1 and
1845 report-reloc-1-x32.
1846
1847 2021-01-16 Alan Modra <amodra@gmail.com>
1848
1849 PR 26002
1850 * testsuite/ld-elfvers/vers6.dsym: Expect "Base" for undefined
1851 unversioned symbols.
1852 * testsuite/ld-elfvers/vers16.dsym: Likewise.
1853
1854 2021-01-15 Nelson Chu <nelson.chu@sifive.com>
1855
1856 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-01.d: Updated.
1857 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-02.d: Likewise.
1858 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-03.d: Likewise.
1859 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-04.d: Likewise.
1860 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-05.d: Likewise.
1861 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-06.d: Likewise.
1862
1863 2021-01-14 Nick Clifton <nickc@redhat.com>
1864
1865 * po/fr.po: Updated French translation.
1866
1867 2021-01-14 Mike Frysinger <vapier@gentoo.org>
1868
1869 * testsuite/config/default.exp [bfin*-elf*] (gcc_B_opt): Add -msim.
1870
1871 2021-01-14 Alan Modra <amodra@gmail.com>
1872
1873 PR 27160
1874 * ldelfgen.c (compare_link_order): Protect access of ELF section
1875 data.
1876 (add_link_order_input_section): Remove redundant NULL check.
1877 Use bfd_get_flavour.
1878 (ldelf_map_segments): Use bfd_get_flavour.
1879
1880 2021-01-13 H.J. Lu <hongjiu.lu@intel.com>
1881
1882 * ldelfgen.c (add_link_order_input_section): Check for ELF input
1883 before accessing ELF section data.
1884
1885 2021-01-13 Alan Modra <amodra@gmail.com>
1886
1887 * Makefile.in: Regenerate.
1888
1889 2021-01-13 Alan Modra <amodra@gmail.com>
1890
1891 PR 27160
1892 * ldlang.h (lang_output_section_statement_type): Add data field.
1893 (lang_input_section_type, lang_section_bst_type): Add pattern field.
1894 (statement_list): Declare.
1895 (lang_add_section): Adjust prototype.
1896 * emultempl/aarch64elf.em: Adjust lang_add_section calls.
1897 * emultempl/armelf.em: Likewise.
1898 * emultempl/beos.em: Likewise.
1899 * emultempl/cskyelf.em: Likewise.
1900 * emultempl/hppaelf.em: Likewise.
1901 * emultempl/m68hc1xelf.em: Likewise.
1902 * emultempl/metagelf.em: Likewise.
1903 * emultempl/mipself.em: Likewise.
1904 * emultempl/mmo.em: Likewise.
1905 * emultempl/msp430.em: Likewise.
1906 * emultempl/nios2elf.em: Likewise.
1907 * emultempl/pe.em: Likewise.
1908 * emultempl/pep.em: Likewise.
1909 * emultempl/ppc64elf.em: Likewise.
1910 * emultempl/spuelf.em: Likewise.
1911 * emultempl/vms.em: Likewise.
1912 * ldelf.c: Likewise.
1913 * ldelfgen.c: Include ldctor.h.
1914 (struct os_sections): New.
1915 (add_link_order_input_section, link_order_scan): New functions.
1916 (compare_link_order, fixup_link_order): New functions.
1917 (ldelf_map_segments): Call link_order_scan and fixup_link_order.
1918 * ldlang.c (statement_list): Make global.
1919 (output_section_callback_fast): Save pattern in tree node.
1920 (lang_add_section): Add pattern parameter, save in lang_input_section.
1921 (output_section_callback_tree_to_list): Adjust lang_add_section calls.
1922 (lang_insert_orphan, output_section_callback): Likewise.
1923 (ldlang_place_orphan): Likewise.
1924 (gc_section_callback): Don't set section->pattern.
1925 * testsuite/ld-elf/pr26256-2a.d: Don't xfail generic.
1926 * testsuite/ld-elf/pr26256-3b.d: Likewise.
1927 * testsuite/ld-elf/pr26256-2b.d: Likewise. notarget xgate.
1928
1929 2021-01-13 Alan Modra <amodra@gmail.com>
1930
1931 * ldlang.h (callback_t): Remove flag_info function parameter.
1932 * ldlang.c (walk_wild_consider_section): Adjust to suit.
1933 (walk_wild_section_general): Likewise.
1934 (output_section_callback_fast, output_section_callback): Likewise.
1935 (check_section_callback, gc_section_callback): Likewise.
1936 (find_relro_section_callback): Likewise.
1937
1938 2021-01-12 H.J. Lu <hongjiu.lu@intel.com>
1939
1940 PR binutils/26792
1941 * configure.ac: Use GNU_MAKE_JOBSERVER.
1942 * aclocal.m4: Regenerated.
1943 * configure: Likewise.
1944
1945 2021-01-12 H.J. Lu <hongjiu.lu@intel.com>
1946
1947 PR ld/27171
1948 * testsuite/ld-x86-64/pe-x86-64-5.obj.bz2: New file.
1949 * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise.
1950 * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise.
1951 * testsuite/ld-x86-64/pe-x86-64.exp: Run PR ld/27171 test.
1952
1953 2021-01-11 H.J. Lu <hongjiu.lu@intel.com>
1954
1955 PR ld/27173
1956 * configure: Regenerated.
1957
1958 2021-01-11 Matt Jenkins <matt@majenko.co.uk>
1959
1960 PR ld/27167
1961 * ldmain.c (get_emulation): Add mipsmips32r3, mips32r5, mips64r3
1962 and mips64r5 to list of known mips targets.
1963
1964 2021-01-11 Nick Clifton <nickc@redhat.com>matt@majenko.co.uk
1965
1966 * po/pt_BR.po: Updated Brazilian Portuguese translation.
1967 ` * po/uk.po: Updated Ukranian translation.
1968
1969 2021-01-09 H.J. Lu <hongjiu.lu@intel.com>
1970
1971 * configure: Regenerated.
1972
1973 2021-01-09 H.J. Lu <hongjiu.lu@intel.com>
1974
1975 PR ld/27166
1976 * testsuite/ld-x86-64/lam-u48.rd: New file.
1977 * testsuite/ld-x86-64/lam-u57.rd: Likewise.
1978 * testsuite/ld-x86-64/x86-64.exp: Add PR ld/27166 tests.
1979
1980 2021-01-09 Nick Clifton <nickc@redhat.com>
1981
1982 * configure: Regenerate.
1983 * po/ld.pot: Regenerate.
1984
1985 2021-01-09 Nick Clifton <nickc@redhat.com>
1986
1987 * 2.36 release branch crated.
1988
1989 2021-01-08 H.J. Lu <hongjiu.lu@intel.com>
1990
1991 * ld-x86-64/property-x86-lam-u48-4.d: Updated.
1992 * ld-x86-64/property-x86-lam-u48-5.d: Likewise.
1993
1994 2021-01-09 Alan Modra <amodra@gmail.com>
1995
1996 * configure: Regenerate.
1997 * Makefile.in: Regenerate.
1998
1999 2021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
2000
2001 * configure: Regenerate.
2002
2003 2021-01-07 H.J. Lu <hongjiu.lu@intel.com>
2004
2005 PR 27109
2006 * testsuite/ld-elf/export-class.sd: Adjust the expected output.
2007 * testsuite/ld-elf/loadaddr3b.d: Likewise.
2008 * testsuite/ld-i386/ibt-plt-1.d: Likewise.
2009 * testsuite/ld-i386/ibt-plt-2a.d: Likewise.
2010 * testsuite/ld-i386/ibt-plt-2c.d: Likewise.
2011 * testsuite/ld-i386/ibt-plt-3a.d: Likewise.
2012 * testsuite/ld-i386/ibt-plt-3c.d: Likewise.
2013 * testsuite/ld-i386/pr19636-1d.d: Likewise.
2014 * testsuite/ld-i386/pr19636-1l.d: Likewise.
2015 * testsuite/ld-i386/pr19636-2c.d: Likewise.
2016 * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise.
2017 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise.
2018 * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Likewise.
2019 * testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise.
2020 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
2021 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
2022 * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise.
2023 * testsuite/ld-ifunc/pr17154-i386.d: Likewise.
2024 * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
2025 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
2026 * testsuite/ld-x86-64/bnd-branch-1-now.d: Likewise.
2027 * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise.
2028 * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise.
2029 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
2030 * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise.
2031 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
2032 * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise.
2033 * testsuite/ld-x86-64/ibt-plt-1.d: Likewise.
2034 * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise.
2035 * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise.
2036 * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise.
2037 * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise.
2038 * testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise.
2039 * testsuite/ld-x86-64/ibt-plt-3a.d: Likewise.
2040 * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise.
2041 * testsuite/ld-x86-64/ibt-plt-3c.d: Likewise.
2042 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
2043 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
2044 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
2045 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
2046 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
2047 * testsuite/ld-x86-64/pr19636-2l.d: Likewise.
2048 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
2049 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
2050 * testsuite/ld-x86-64/pr21038b-now.d: Likewise.
2051 * testsuite/ld-x86-64/pr21038b.d: Likewise.
2052 * testsuite/ld-x86-64/pr21038c-now.d: Likewise.
2053 * testsuite/ld-x86-64/pr21038c.d: Likewise.
2054 * testsuite/ld-x86-64/pr23854.d: Likewise.
2055 * testsuite/ld-x86-64/pr25416-3.d: Likewise.
2056 * testsuite/ld-x86-64/pr25416-4.d: Likewise.
2057 * testsuite/ld-i386/plt-pic.pd: Likewise.
2058 * testsuite/ld-i386/plt-pic2.dd: Likewise.
2059 * testsuite/ld-i386/plt.pd: Likewise.
2060 * testsuite/ld-i386/plt2.dd: Likewise.
2061 * testsuite/ld-i386/tlsbin.rd: Likewise.
2062 * testsuite/ld-i386/tlsbin2.rd: Likewise.
2063 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
2064 * testsuite/ld-i386/tlsdesc.rd: Likewise.
2065 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
2066 * testsuite/ld-i386/tlsnopic.rd: Likewise.
2067 * testsuite/ld-i386/tlspic.rd: Likewise.
2068 * testsuite/ld-i386/tlspic2.rd: Likewise.
2069 * testsuite/ld-x86-64/mpx3.dd: Likewise.
2070 * testsuite/ld-x86-64/mpx3n.dd: Likewise.
2071 * testsuite/ld-x86-64/mpx4.dd: Likewise.
2072 * testsuite/ld-x86-64/mpx4n.dd: Likewise.
2073 * testsuite/ld-x86-64/pe-x86-64-1.od: Likewise.
2074 * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise.
2075 * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise.
2076 * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise.
2077 * testsuite/ld-x86-64/plt.pd: Likewise.
2078 * testsuite/ld-x86-64/plt2.dd: Likewise.
2079 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
2080 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
2081 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
2082 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
2083 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
2084 * testsuite/ld-x86-64/tlspic.rd: Likewise.
2085 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
2086 * testsuite/ld-elf/sec64k.exp: Check
2087 is_elf_unused_section_symbols.
2088
2089 2021-01-07 Alan Modra <amodra@gmail.com>
2090
2091 * testsuite/ld-scripts/fill.d: Skip sh-*-pe rather than xfail.
2092 * testsuite/ld-scripts/fill16.d: Don't xfail sh-*-pe.
2093 * testsuite/ld-scripts/segment-start.d: Likewise.
2094
2095 2021-01-07 Alan Modra <amodra@gmail.com>
2096
2097 * testsuite/ld-elf/comm-data5.d: xfail targets that complain
2098 about dynamic relocations in read-only sections.
2099 * testsuite/ld-elf/ehdr_start-shared.d: Likewise.
2100 * testsuite/ld-elf/ehdr_start.d: Likewise.
2101 * testsuite/ld-scripts/pr22267.d: Likewise.
2102 * testsuite/ld-elf/shared.exp: Likewise for DT_TEXTREL tests and
2103 pr20995 text.
2104 * testsuite/ld-elf/sec64k.exp: Don't run 64ksec on lm32-linux.
2105
2106 2021-01-07 Marcus Comstedt <marcus@mc.pp.se>
2107
2108 * testsuite/ld-scripts/empty-address-2a.d: xfail riscv64*-*-*.
2109 * testsuite/ld-scripts/empty-address-2b.d: Likewise.
2110
2111 2021-01-07 Alan Modra <amodra@gmail.com>
2112
2113 * po/BLD-POTFILES.in: Regenerate.
2114
2115 2021-01-07 Alan Modra <amodra@gmail.com>
2116
2117 * testsuite/ld-elf/shared.exp: xfail pr22471 for targets that
2118 complain about relocs in read-only sections. Tidy ASFLAGS append.
2119
2120 2021-01-06 Alan Modra <amodra@gmail.com>
2121
2122 * testsuite/ld-sparc/sparc.exp (sparc64tests): Set text-segment
2123 base for some tests.
2124 * testsuite/ld-sparc/gotop32.dd: Match solaris output.
2125 * testsuite/ld-sparc/gotop32.sd: Likewise.
2126 * testsuite/ld-sparc/gotop32.td: Likewise.
2127 * testsuite/ld-sparc/gotop64.dd: Likewise.
2128 * testsuite/ld-sparc/gotop64.sd: Likewise.
2129 * testsuite/ld-sparc/gotop64.td: Likewise.
2130 * testsuite/ld-sparc/tlsg32.sd: Likewise.
2131 * testsuite/ld-sparc/tlsg64.sd: Likewise.
2132 * testsuite/ld-sparc/tlspie32.dd: Likewise.
2133 * testsuite/ld-sparc/tlspie64.dd: Likewise.
2134 * testsuite/ld-sparc/tlssunbin32.dd: Likewise.
2135 * testsuite/ld-sparc/tlssunbin32.sd: Likewise.
2136 * testsuite/ld-sparc/tlssunbin32.td: Likewise.
2137 * testsuite/ld-sparc/tlssunbin64.dd: Likewise.
2138 * testsuite/ld-sparc/tlssunbin64.sd: Likewise.
2139 * testsuite/ld-sparc/tlssunbin64.td: Likewise.
2140 * testsuite/ld-sparc/tlssunnopic32.dd: Likewise.
2141 * testsuite/ld-sparc/tlssunnopic32.sd: Likewise.
2142 * testsuite/ld-sparc/tlssunnopic64.dd: Likewise.
2143 * testsuite/ld-sparc/tlssunnopic64.sd: Likewise.
2144 * testsuite/ld-sparc/tlssunpic32.dd: Likewise.
2145 * testsuite/ld-sparc/tlssunpic32.sd: Likewise.
2146 * testsuite/ld-sparc/tlssunpic32.td: Likewise.
2147 * testsuite/ld-sparc/tlssunpic64.dd: Likewise.
2148 * testsuite/ld-sparc/tlssunpic64.sd: Likewise.
2149 * testsuite/ld-sparc/tlssunpic64.td: Likewise.
2150 * testsuite/ld-sparc/wdispcall.dd: Likewise.
2151
2152 2021-01-06 Alan Modra <amodra@gmail.com>
2153
2154 * testsuite/ld-scripts/rgn-at10.d: xfail v850.
2155 * testsuite/ld-scripts/rgn-at11.d: Likewise.
2156
2157 2021-01-06 Marcus Comstedt <marcus@mc.pp.se>
2158
2159 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Added
2160 riscv_choose_[ilp32|lp64]_emul to choose the correct linker script.
2161 * testsuite/ld-riscv-elf/attr-merge-arch-01.d: Call
2162 riscv_choose_[ilp32|lp64]_emul instead of hardcoding elf[32|64]lriscv.
2163 * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
2164 * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
2165 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Likewise.
2166 * testsuite/ld-riscv-elf/attr-merge-arch-failed-02.d: Likewise.
2167 * testsuite/ld-riscv-elf/c-lui-2.d: Likewise.
2168 * testsuite/ld-riscv-elf/c-lui.d: Likewise.
2169 * testsuite/ld-riscv-elf/call-relax.d: Likewise.
2170 * testsuite/ld-riscv-elf/pcrel-lo-addend-2.d: Likewise.
2171 * testsuite/ld-riscv-elf/pcrel-lo-addend.d: Likewise.
2172 * testsuite/ld-riscv-elf/weakref32.d: Accept bigriscv in addition
2173 to littleriscv.
2174 * testsuite/ld-riscv-elf/weakref64.d: Likewise.
2175
2176 2021-01-06 Marcus Comstedt <marcus@mc.pp.se>
2177
2178 * configure.tgt: Added riscvbe-*-*, riscv32be*-*-*, riscv64be*-*-*,
2179 riscv32be*-*-linux*, and riscv64be*-*-linux*.
2180 * Makefile.am: Added eelf32briscv.c, eelf32briscv_ilp32f.c and
2181 eelf32briscv_ilp32.c.
2182 * Makefile.in: Regenerate.
2183 * emulparams/elf32briscv.sh: Added.
2184 * emulparams/elf32briscv_ilp32.sh: Likewise.
2185 * emulparams/elf32briscv_ilp32f.sh: Likewise.
2186 * emulparams/elf64briscv.sh: Likewise.
2187 * emulparams/elf64briscv_lp64.sh: Likewise.
2188 * emulparams/elf64briscv_lp64f.sh: Likewise.
2189
2190 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
2191
2192 * testsuite/ld-ctf/enum-forward.c: New test.
2193 * testsuite/ld-ctf/enum-forward.c: New results.
2194
2195 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
2196
2197 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
2198 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
2199 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
2200 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
2201 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
2202 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
2203 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
2204 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
2205 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
2206 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
2207 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
2208 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
2209 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
2210 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
2211 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
2212 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
2213 * testsuite/ld-ctf/cycle-1.d: Likewise.
2214 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
2215 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
2216 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
2217 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
2218 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
2219 * testsuite/ld-ctf/diag-cuname.d: Likewise.
2220 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
2221 * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise.
2222 * testsuite/ld-ctf/forward.d: Likewise.
2223 * testsuite/ld-ctf/function.d: Likewise.
2224 * testsuite/ld-ctf/slice.d: Likewise.
2225 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
2226 * testsuite/ld-ctf/enums.c: New test.
2227 * testsuite/ld-ctf/enums.d: New test.
2228
2229 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
2230
2231 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Adjust for dumper
2232 changes.
2233 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
2234 * testsuite/ld-ctf/forward.c: New test...
2235 * testsuite/ld-ctf/forward.d: ... and results.
2236
2237 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
2238
2239 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
2240 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
2241 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
2242 * testsuite/ld-ctf/diag-cuname.d: Likewise.
2243 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
2244 * testsuite/ld-ctf/function.d: Likewise.
2245 * testsuite/ld-ctf/slice.d: Likewise.
2246
2247 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
2248
2249 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
2250 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
2251 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
2252 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
2253 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
2254 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
2255 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
2256 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
2257 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
2258 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
2259 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
2260 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
2261 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
2262 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
2263 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
2264 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
2265 * testsuite/ld-ctf/cycle-1.d: Likewise.
2266 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
2267 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
2268 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
2269 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
2270 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
2271 * testsuite/ld-ctf/diag-cuname.d: Likewise.
2272 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
2273 * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise.
2274 * testsuite/ld-ctf/function.d: Likewise.
2275 * testsuite/ld-ctf/slice.d: Likewise.
2276 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
2277
2278 2021-01-05 Alan Modra <amodra@gmail.com>
2279
2280 * testsuite/ld-scripts/sysroot-prefix.exp: Exclude some targets.
2281
2282 2021-01-05 Alan Modra <amodra@gmail.com>
2283
2284 PR ld/26256
2285 * testsuite/ld-elf/pr26256-1b.d: xfail s12z.
2286 * testsuite/ld-scripts/crossref.exp (cross1): Don't xfail ia64.
2287
2288 2021-01-04 H.J. Lu <hongjiu.lu@intel.com>
2289
2290 PR ld/26256
2291 * ldlang.c (gc_section_callback): Set pattern.
2292 * testsuite/ld-elf/pr26256-1.s: New file.
2293 * testsuite/ld-elf/pr26256-1.t: Likewise.
2294 * testsuite/ld-elf/pr26256-1a.d: Likewise.
2295 * testsuite/ld-elf/pr26256-1b.d: Likewise.
2296 * testsuite/ld-elf/pr26256-2.s: Likewise.
2297 * testsuite/ld-elf/pr26256-2.t: Likewise.
2298 * testsuite/ld-elf/pr26256-2a.d: Likewise.
2299 * testsuite/ld-elf/pr26256-2b-alt.d: Likewise.
2300 * testsuite/ld-elf/pr26256-2b.d: Likewise.
2301 * testsuite/ld-elf/pr26256-3.s: Likewise.
2302 * testsuite/ld-elf/pr26256-3a.d: Likewise.
2303 * testsuite/ld-elf/pr26256-3a.t: Likewise.
2304 * testsuite/ld-elf/pr26256-3b.d: Likewise.
2305 * testsuite/ld-elf/pr26256-3b.t: Likewise.
2306
2307 2021-01-04 Alan Modra <amodra@gmail.com>
2308
2309 PR 26822
2310 * testsuite/ld-arm/non-contiguous-arm2.d: Adjust STT_FILE symbol match.
2311 * testsuite/ld-arm/non-contiguous-arm3.d: Likewise.
2312 * testsuite/ld-arm/non-contiguous-arm5.d: Likewise.
2313 * testsuite/ld-arm/non-contiguous-arm6.d: Likewise.
2314 * testsuite/ld-i386/tlsbin.rd: Likewise.
2315 * testsuite/ld-i386/tlsbin2.rd: Likewise.
2316 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
2317 * testsuite/ld-i386/tlsdesc.rd: Likewise.
2318 * testsuite/ld-i386/tlsnopic.rd: Likewise.
2319 * testsuite/ld-i386/tlspic.rd: Likewise.
2320 * testsuite/ld-i386/tlspic2.rd: Likewise.
2321 * testsuite/ld-mips-elf/global-local-symtab-sort-n64.d: Likewise.
2322 * testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d: Likewise.
2323 * testsuite/ld-mips-elf/global-local-symtab-sort-o32.d: Likewise.
2324 * testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d: Likewise.
2325 * testsuite/ld-plugin/pr17973.d: Likewise.
2326 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
2327 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
2328 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
2329 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
2330 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
2331 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
2332 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
2333 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
2334 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
2335 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
2336 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
2337 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
2338 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
2339 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
2340 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
2341 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
2342 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
2343 * testsuite/ld-x86-64/tlspic.rd: Likewise.
2344 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
2345 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
2346 * testsuite/ld-xtensa/tlspic.rd: Likewise.
2347
2348 2021-01-01 Nicolas Boulenguez <nicolas@debian.org>
2349
2350 * configure.tgt: Correct comment grammar.
2351 * emultempl/m68hc1xelf.em: Likewise.
2352 * ld.texi: Correct grammar.
2353
2354 2021-01-01 Alan Modra <amodra@gmail.com>
2355
2356 Update year range in copyright notice of all files.
2357
2358 For older changes see ChangeLog-2020
2359 \f
2360 Copyright (C) 2021-2023 Free Software Foundation, Inc.
2361
2362 Copying and distribution of this file, with or without modification,
2363 are permitted in any medium without royalty provided the copyright
2364 notice and this notice are preserved.
2365
2366 Local Variables:
2367 mode: change-log
2368 left-margin: 8
2369 fill-column: 74
2370 version-control: never
2371 End: