]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/ChangeLog
For test for PR 29072 when the linker is configured with --enable-default-execstack=no.
[thirdparty/binutils-gdb.git] / ld / ChangeLog
CommitLineData
0ab70050
NC
12023-06-21 Nick Clifton <nickc@redhat.com>
2
3 PR 29072
4 * testsuite/ld-elf/elf.exp (target_defaults_to_execstack): Always
5 return false for linkers configured with the --enable-default-execstack=no
6 option.
7
fb221fba
NC
82023-06-14 Nick Clifton <nickc@redhat.com>
9
10 PR 30374
11 * ldfile.c (struct input_remap): New structure.
12 (ldfile_add_remap): New function.
13 (ldfile_remap_input_free): New function.
14 (ldfile_add_remap_file): New function.
15 (ldfile_possibly_remap_input): New function.
16 (ldfile_print_input_remaps): New function.
17 * ldfile.h: Add prototypes for new functions.
18 * ldlang.c (new_afile): Call ldfile_possibly_remap_input.
19 (lang_finish): Call ldfile_remap_input_free.
20 (lang_map): Call ldfile_print_input_remaps.
21 * ldlex.h (OPTION_REMAP_INPUTS, OPTION_REMAP_INPUTS_FILE): Define.
22 * lexsup.c (ld_options): Add --remap-inputs-file and --remap-inputs.
23 (parse_args): Handle new options.
24 * NEWS: Mention the new feature.
25 * ld.texi: Document the new options.
26 * testsuite/ld-misc/input-remap.exp: New test driver.
27 * testsuite/ld-misc/remaps.r: New file: Expected linker output.
28 * testsuite/ld-misc/remaps.txt: New file. Input remaps file.
29
064ad3ea
NC
302023-06-07 Nick Clifton <nickc@redhat.com>
31
32 PR 30499
33 * testsuite/ld-elfcomm/elfcomm.exp: Update regexps to match new
34 output from the linker.
35
80d4e113
LB
362023-05-17 Luca Bacci <luca.bacci@outlook.com>
37
38 PR 30421
39 * emultempl/pe.em (set_decoration): New function.
40 (pe_fixup_stdcalls): Call the new function.
41 * emultempl/pep.em (set_decoration): New function.
42 (pep_fixup_stdcalls): Call the new function.
43 * pe-dll.c (make_one): Check for decoated symbols.
44
d1792f72
NC
452023-05-16 Nick Clifton <nickc@redhat.com>
46
47 PR 30359
48 * ld.texi (WIN32): Document how to create a resource only DLL.
49
0a7dda4f
NC
502023-05-16 Nick Clifton <nickc@redhat.com>
51
52 * ld.texi (-Ur): Clarify the actions of this option.
53
496917ce
NC
542023-05-10 Nick Clifton <nickc@redhat.com>
55
56 PR 16566
57 * ldlang.c (ld_is_local_symbol): New function.
58 (print_input_section): Add code to display local symbols in the
59 section.
60 * ldlex.h (enum option_values): Add OPTION_PRINT_MAP_LOCALS and
61 OPTION_PRINT_MAP_LOCALS.
62 * lexsup.c (ld_options[]): Add entries for --print-map-locals
63 and --no-print-map-locals.
64 * NEWS: Mention the new feature.
65 * ld.h (struct ld_config_type): Add print_map_locals field.
66 * ld.texi: Document the new command line option.
67 * testsuite/ld-scripts/sizeof.s: Add a local symbol.
68 * testsuite/ld-scripts/map-locals.d: New test control file.
69 * testsuite/ld-scripts/map-address.exp: Run the new test.
70
35394145
NC
712023-05-04 Nick Clifton <nickc@redhat.com>
72
73 PR 30300
74 * emultempl/pep.em (set_entry_point): Add an undefined reference
75 to the entry point if it has been constructed heuristically.
76 * emultempl/pe.em (set_entry_point): Likewise.
77
35130e73
DD
782023-05-04 Dimitar Dimitrov <dimitar@dinux.eu>
79
80 * scripttempl/pru.sc (OUTPUT_SECTION_ALIGN): New helper variable
81 to place at end of DMEM output sections.
82 (.data): Use the helper variable.
83 (.eh_frame): New output section.
84 (.gnu_extab): Ditto.
85 (.gcc_except_table): Ditto.
86 (.resource_table): Use the helper variable.
87
c386bf4d
NC
882023-04-27 Nick Clifton <nickc@redhat.com>
89
90 * ldmisc.c (vfinfo): Add support for %x and %lx.
91
a02676b7 922023-04-18 mengqinggang <mengqinggang@loongson.cn>
93
94 * testsuite/ld-loongarch-elf/macro_op.d: Regenerated.
95
b29f2fda
NC
962023-04-17 Nick Clifton <nickc@redhat.com>
97
98 PR 30354
99 * emulparams/armelf.sh (OTHER_PLT_SECTIONS): Define in order to
100 handle the .gnu.sgstubs section.
101
546c7898
CZ
1022023-04-13 Claudiu Zissulescu <claziss@synopsys.com>
103
104 * testsuite/ld-arc/arc.exp: Update execution predicate.
105 * testsuite/ld-arc/nps-1a.d: Add linker script option.
106 * testsuite/ld-arc/nps-1b.d: Likewise.
107 * testsuite/ld-arc/relax-local-pic.d: Update matching patterns.
108
93cda40b
NC
1092023-04-12 Nick Clifton <nickc@redhat.com>
110
111 * ld.texi (--enable-non-contiguous-regions): Fix typos in script
112 example.
113
2d5783fa
NC
1142023-03-15 Nick Clifton <nickc@redhat.com>
115
116 PR 30187
117 * NEWS: Mention the new feature.
118 * ld.texi: Document the new feature.
119 * ldgram.y: Handle LINKER_VERSION token.
120 * ldlang.c (lang_add_version): New function.
121 (enable_linker_version): New global variable.
122 * ldlang.h (land_add_version): Prototype.
123 (enable_linker_version): Export.
124 * ldlex.h (OPTION_ENABLE_LINKER_VERSION): Define.
125 (OPTION_DISABLE_LINKER_VERSION): Define.
126 * ldlex.l (LINKER_VERSION): Add token.
127 * lexsup.c (ld_options): Add --enable-linker-version and
128 --disable-linker-version.
129 (parse_args): Handle the new options.
130 * scripttempl/arclinux.sc: Remove stabs and comment sections and
131 replace with inclusion of misc-sections.sc
132 * scripttempl/avr.sc: Likewise.
133 * scripttempl/dlx.sc: Likewise.
134 * scripttempl/elf.sc: Likewise.
135 * scripttempl/elf32cr16.sc: Likewise.
136 * scripttempl/elf32crx.sc: Likewise.
137 * scripttempl/elf32msp430.sc: Likewise.
138 * scripttempl/elf64bpf.sc: Likewise.
139 * scripttempl/elf64hppa.sc: Likewise.
140 * scripttempl/elf_chaos.sc: Likewise.
141 * scripttempl/elfarc.sc: Likewise.
142 * scripttempl/elfarcv2.sc: Likewise.
143 * scripttempl/elfd10v.sc: Likewise.
144 * scripttempl/elfd30v.sc: Likewise.
145 * scripttempl/elfm68hc11.sc: Likewise.
146 * scripttempl/elfm68hc12.sc: Likewise.
147 * scripttempl/elfm9s12z.sc: Likewise.
148 * scripttempl/elfmicroblaze.sc: Likewise.
149 * scripttempl/elfxgate.sc: Likewise.
150 * scripttempl/elfxtensa.sc: Likewise.
151 * scripttempl/epiphany_4x4.sc: Likewise.
152 * scripttempl/ft32.sc: Likewise.
153 * scripttempl/ip2k.sc: Likewise.
154 * scripttempl/iq2000.sc: Likewise.
155 * scripttempl/mep.sc: Likewise.
156 * scripttempl/nds32elf.sc: Likewise.
157 * scripttempl/pru.sc: Likewise.
158 * scripttempl/v850.sc: Likewise.
159 * scripttempl/v850_rh850.sc: Likewise.
160 * scripttempl/visium.sc: Likewise.
161 * scripttempl/xstormy16.sc: Likewise.
162 * scripttempl/z80.sc: Likewise.
163 * testsuite/ld-scripts/script.exp: Run new tests.
164 * scripttempl/misc-sections.sc: New file.
165 * testsuite/ld-scripts/ld-version-2.d: New file.
166 * testsuite/ld-scripts/ld-version.d: New file.
167 * testsuite/ld-scripts/ld-version.t: New file.
168
50980ba3
FS
1692023-02-23 Fangrui Song <i@maskray.me>
170
171 * emultempl/riscvelf.em: Add option parsing.
172 * testsuite/ld-riscv-elf/code-model-relax-medlow-01-norelaxgp.d: New.
173 * testsuite/ld-riscv-elf/pcgp-relax-01-norelaxgp.d: New.
174 * testsuite/ld-riscv-elf/pcgp-relax-02.d: Test --relax --relax-gp can be
175 used together.
176
c9802aca
NC
1772023-02-20 Nick Clifton <nickc@redhat.com>
178
179 PR 30004
180 * pe-dll.c (pe_dll_build_sections): Do not build an edata section
181 if all symbols are being excluded.
182
2b56cd91
NC
1832023-02-15 Nick Clifton <nickc@redhat.com>
184
185 PR 30078
186 * testsuite/ld-elf/merge4b.s: Use .asciz instead of .string in
187 order to avoid the special behaviour of the .string directive on
188 HPPA architectures.
189
9b38b85e
NC
1902023-02-14 Nick Clifton <nickc@redhat.com>
191
192 * ld.texi (Plugins): Mention that the -plugin command line option
193 is used to load plugins.
194
1c66b8a0
NC
1952023-01-27 Nick Clifton <nickc@redhat.com>
196
197 PR 29998
198 * pe-dll.c (build_filler_bfd): Initialise the next field of the
199 filler input statement, so that it does not break the file chain.
200
f3d8ae90
NC
2012023-01-24 Nick Clifton <nickc@redhat.com>
202
203 PR 29998
204 * pe-dll.c (generate_reloc): Handle sections with no assigned
205 output section. Terminate early of there are no relocs to put in
206 the .reloc section.
207 (pe_exe_fill_sections): Do not emit an empty .reloc section.
208
59e1f50f
NC
2092023-01-06 Nick Clifton <nickc@redhat.com>
210
211 * po/bg.po: Updated Bulgarian translation.
212
beb6b61d
NC
2132023-01-05 Nick Clifton <nickc@redhat.com>
214
215 * configure.tgt: Add arm64pe as an extra emulation for aarch64pe.
216 * Makefile.am (ALL_64_EMULATION_SOURCES): Add earm64pe.c
217 * emultempl/pep.em: Add suppport for arm64pe emulation.
218 * Makefile.in: Regenerate.
219 * po/BLD-POTFILES.in: Regenerate.
220 * po/ld.pot: Regenerate.
221
b26c8438
AH
2222023-01-05 Andreas K. Huettel <dilfridge@gentoo.org>
223
224 * testsuite/ld-elf/shared.exp: un-xfail the PR19710 test for the
225 AArch64 architecture.
226
502c7218
AH
2272023-01-04 Andreas K. Huettel <dilfridge@gentoo.org>
228
229 PR 29843
230 * testsuite/ld-aarch64/bti-plt-5.d: Relax regxps slightly to allow
231 for differences in build environments.
232 * testsuite/ld-aarch64/tls-relax-gdesc-le-now.d: Likewise.
233
11982f9f
NC
2342023-01-03 Nick Clifton <nickc@redhat.com>
235
236 * po/uk.po: Updated Ukrainian translation.
237
a72b0718
NC
2382022-12-31 Nick Clifton <nickc@redhat.com>
239
240 * 2.40 branch created.
241
a7a32d58
NC
2422022-12-21 Nick Clifton <nickc@redhat.com>
243
244 PR 29900
245 * scripttempl/pe.sc: Keep the .drectve section when performing a
246 relocateable link.
247 * scripttempl/pep.sc: Likewise.
248
dcb53d93
NC
2492022-12-08 Nick Clifton <nickc@redhat.com>
250
251 PR 29861
252 * ld.texi (Output Section Type): Note that setting the output
253 section type only works if the section contains untyped data.
254
3bf5bf54
NC
2552022-12-05 Nick Clifton <nickc@redhat.com>
256
257 PR 29849
258 * ldlang.c (spec_match): Check that there is sufficient length in
259 the target name to match the spec's prefix.
260
e26943f9
NC
2612022-11-03 Nick Clifton <nickc@redhat.com>
262
263 PR 29748
264 * configure.tgt (ac_default_ld_warn_rwx_segments): Set to 0 for
265 the V850.
266
fa6895ad
NC
2672022-11-03 Nick Clifton <nickc@redhat.com>
268
78cd9188 269 PR 29741
fa6895ad
NC
270 * scripttempl/avr.sc (__DATA_REGION_ORIGIN__): Define. If a value
271 has not been provided on the command line then use DATA_ORIGIN.
272 (MEMORY): Use __DATA_REGION_ORIGIN__ as the start of the data region.
273
4b2e7a57
NC
2742022-10-21 Nick Clifton <nickc@redhat.com>
275
276 PR 29654
277 * ld.h (struct ld_config_type): Add no_warnings field.
278 * ldlex.h (enum option_values): Add OPTION_NO_WARNINGS.
279 * lexsup.c (ld_options): Add --no-warnings.
280 (parse_args): Add support for -w and --no-warnings.
281 * ldmisc.c (vfinfo): Return early if the message is a warning and
282 -w has been enabled.
283 * ld.texi (options): Document new command line option.
284 * NEWS: Mention the new feature.
285
37833b96
NC
2862022-08-30 Nick Clifton <nickc@redhat.com>
287
288 PR 29529
289 * testsuite/ld-x86-64/pr27587.err: Update expected output.
290
f0821653
RH
2912022-08-18 Ralf Habacker <ralf.habacker@freenet.de>
292
293 PR 28362
294 * testsuite/ld-pe/pe-run2-def.exp: New file.
295
a6ad7914
AM
2962022-08-03 Alan Modra <amodra@gmail.com>
297
298 PR 29389
299 * ldlang.h (lang_input_statement_struct): Add sort_key field.
300 * emultempl/pe.em (after_open): If multiple import libraries refer
301 to the same bfd, store their names in the sort_key field.
302 * emultempl/pep.em (after_open): Likewise.
303 * ldlang.c (sort_filename): New function. Returns the filename to
304 be used when sorting input files.
305 (wild_sort): Use the sort_filename function.
306
b80b72c0
RO
3072022-07-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
308
309 PR ld/29411
310 * configure.tgt (ac_default_ld_warn_rwx_segments): Extend to all
311 sparc targets. Expand comment.
312
91896b4d
NC
3132022-07-26 Nick Clifton <nickc@redhat.com>
314
315 PR 29411
316 * configure.tgt (ac_default_ld_warn_rwx_segments): Disable for
317 sparc-solaris configurations.
318
0bd09323
NC
3192022-07-08 Nick Clifton <nickc@redhat.com>
320
321 * 2.39 branch created.
322
ed1c7ad8
NC
3232022-06-27 Nick Clifton <nickc@redhat.com>
324
325 PR 29263
326 * configure.ac: Move HPPA specific code from here...
327 * configure.tgt: ... to here. Add similar code for MIPS.
328 Move code for CRIS, MIPS and HPPA to block at start of file.
329 * configure: Regenerate.
330
acd65fa6
NC
3312022-06-21 Nick Clifton <nickc@redhat.com>
332
333 PR 29263
334 * configure.ac (ac_default_ld_warn_execstack): Default to 'no' for
335 HPPA targets.
336 (ac_default_ld_warn_rwx_segments): Likewise.
337 * configure: Regenerate.
338 * testsuite/ld-elf/elf.exp: Add the --warn-execstack command line
339 option to the command line when running execstack tests for the
340 HPPA target.
341
678dc756
AM
3422022-05-12 Alan Modra <amodra@gmail.com>
343
344 PR 29006
345 * pe-dll.c (dll_name): Delete, replacing with..
346 (dll_filename): ..this, moved earlier in file.
347 (generate_edata): Delete parameters. Don't set up dll_name here..
348 (pe_process_import_defs): ..instead set up dll_filename and
349 dll_symname here before returning.
350 (dll_symname_len): Delete write-only variable.
351 (pe_dll_generate_implib): Don't set up dll_symname here.
352
46465574
NC
3532022-05-03 Nick Clifton <nickc@redhat.com>
354
355 PR 29101
356 * libdep_plugin.c (get_libdeps): Check for overflow when computing
357 amount of memory to allocate.
358
639d467b
NC
3592022-04-27 Nick Clifton <nickc@redhat.com>
360
361 PR 29006
362 * pe-dll.c (make_head): Use asprintf to allocate and populate a
363 buffer containing the temporary name.
364 (make_tail, make_one, make_singleton_name_thunk): Likewise.
365 (make_import_fixup_mark, make_import_fixup_entry): Likewise.
366 (make_runtime_pseudo_reloc): Likewise.
367 (pe_create_runtime_relocator_reference): Likewise.
368
0d38576a
NC
3692022-04-25 Nick Clifton <nickc@redhat.com>
370
371 PR 29072
372 * testsuite/ld-elf/pr29072.b.warn: Update to include the note
373 about the linker's behaviour being depreccated.
374
2d23f965
CC
3752022-04-20 Clément Chigot <clement.chigot@atos.net>
376
377 * emultempl/aix.em (params): New variable.
378 (stub_file): New variable.
379 (xcoff_add_stub_section): New function.
380 (xcoff_layout_sections_again): New function
381 (hook_in_stub): New function.
382 (_after_allocation): Add stub creation.
383 (_create_output_section_statements): Allocate stub file and
384 pass params to backend.
385
1876a542
CC
3862022-04-20 Clément Chigot <clement.chigot@atos.net>
387
388 * emultempl/aix.em (_after_allocation): New function.
389
145667f8
MH
3902022-04-07 Mark Harmstone <mark@harmstone.com>
391
392 * testsuite/ld-pe/secidx1.s: New test source file.
393 * testsuite/ld-pe/secidx2.s: New test source file.
394 * testsuite/ld-pe/secidx.d: New test driver file.
395 * testsuite/ld-pe/secidx_64.d: New test driver file.
396 * testsuite/ld-pe/pe.exp: Add new tests.
397
95e96e05
NC
3982022-03-01 Nick Clifton <nickc@redhat.com>
399
400 PR 21964
401 * testsuite/ld-elf/pr21964-1a.c: Fix array comparisons.
402 * testsuite/ld-elf/pr21964-1b.c: Likewise.
403 * testsuite/ld-elf/pr21964-1c.c: Likewise.
404 * testsuite/ld-elf/pr21964-2a.c: Likewise.
405 * testsuite/ld-elf/pr21964-2b.c: Likewise.
406 * testsuite/ld-elf/pr21964-3a.c: Likewise.
407
5c14cc55
RM
4082022-02-17 Roland McGrath <mcgrathr@google.com>
409
410 * ld.texi (Output Section Type): Fix typo in @code syntax.
411
36d285b9
NC
4122022-02-17 Nick Clifton <nickc@redhat.com>
413
414 * po/sr.po: Updated Serbian translation.
415
c212f39d 4162022-02-16 Fangrui Song <maskray@google.com>
5c14cc55 417 Nick Clifton <nickc@redhat.com>
c212f39d
FS
418
419 PR ld/28841
420 * ld.texi: Document new output section type.
421 * ldlex.l: Add new token TYPE.
422 * ldgram.y: Handle TYPE=exp and READONLY (TYPE=exp).
423 * ldlang.h: Add type_section to list of section types.
424 * ldlang.c (lang_add_section): Handle type_section.
425 (map_input_to_output_sections): Handle type_section.
426 * testsuite/ld-scripts/output-section-types.t: Add tests.
427 * testsuite/ld-scripts/output-section-types.d: Update.
428
a6983974
NC
4292022-02-02 Nick Clifton <nickc@redhat.com>
430
431 * po/fr.po: Updated French translation.
432
5fe73d46
NC
4332022-01-24 Nick Clifton <nickc@redhat.com>
434
435 * po/bg.po: Updated Bulgarian translation.
436 * po/uk.po: Updated Ukranian translation.
437
cc5e4073
AGI
4382022-01-22 Alexander von Gluck IV <kallisti5@unixzen.com>
439
440 * configure.tgt (arm-haiku): Fix typo.
441 * emulparams/armelf_haiku.su (MAXPAGESIZE): Use the default value.
442 (COMMONPAGESIZE): Likewise.
443
f908e960
NC
4442022-01-22 Nick Clifton <nickc@redhat.com>
445
446 * configure: Regenerate.
447 * po/ld.pot: Regenerate.
448
a74e1cb3
NC
4492022-01-22 Nick Clifton <nickc@redhat.com>
450
451 * 2.38 release branch created.
452
e901223d
NC
4532022-01-21 Nick Clifton <nickc@redhat.com>
454
455 * po/sr.po: Updated Serbian translation.
456
6c037fdb
NC
4572022-01-17 Nick Clifton <nickc@redhat.com>
458
459 * Makefile.in: Regenerate.
460 * po/ld.pot: Regenerate.
461
c4a8df19
MS
4622022-01-11 Martin Storsjö <martin@martin.st>
463
464 * pe-dll.c (make_head): Prefix the symbol name with the dll name.
465 (make_tail, make_one, make_singleton_name_thunk): Likewise.
466 (make_import_fixup_entry, make_runtime_pseudo_reloc): Likewise.
467 (pe_create_runtime_relocator_reference): Likewise.
468 (pe_dll_generate_implib): Set dll_symname_len.
469 (pe_process_import_defs): Likewise.
470
f3be70df
NC
4712021-12-16 Nick Clifton <nickc@redhat.com>
472
473 PR 28686
474 * testsuite/ld-avr/avr-prop-7.d: Adjust expected output.
475 * testsuite/ld-avr/avr-prop-8.d: Likewise.
476 * testsuite/ld-avr/pr13402.d: Likewise.
477
44b357eb
NC
4782021-11-30 Nick Clifton <nickc@redhat.com>
479
480 * scripttempl/pru.sc (.pru_irq_map): Define output section.
481 * testsuite/ld-pru/pru_irq_map-1.d: New test.
482 * testsuite/ld-pru/pru_irq_map-2.d: New test.
483 * testsuite/ld-pru/pru_irq_map.s: New test.
484
ef6379e1
JD
4852021-11-17 Jeremy Drake <cygwin@jdrake.com>
486
487 * emultempl/pep.em (DEFAULT_DLL_CHARACTERISTICS): Set to 0 for
488 Cygwin targets.
489 * emultempl/pep.em (DEFAULT_DLL_CHARACTERISTICS): Likewise.
490
ee9e412f
NC
4912021-11-17 Nick Clifton <nickc@redhat.com>
492
493 PR 28452
494 * ldgram.y: Add support for PT_GNU_RELRO and PT_GNU_PROPERTY.
495 * ldgram.c: Regenerate.
496
d029b54d
RM
4972021-11-15 Roland McGrath <mcgrathr@google.com>
498
499 * testsuite/ld-aarch64/dt_textrel.d: Pass explicit -z notext in
500 case ld was configured with --enable-textrel-check=error.
501 * testsuite/ld-aarch64/pr22764.d: Likewise.
502 * testsuite/ld-aarch64/pr20402.d: Likewise.
503
eb5323fd
NA
5042021-10-25 Nick Alcock <nick.alcock@oracle.com>
505
506 * testsuite/ld-ctf/nonrepresentable-member.*: New test.
507
10909ea8
NA
5082021-10-25 Nick Alcock <nick.alcock@oracle.com>
509
510 * testsuite/ld-ctf/array.d: Change --ctf=.ctf to --ctf.
511 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
512 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
513 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
514 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
515 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
516 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
517 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
518 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
519 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
520 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
521 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
522 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
523 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
524 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
525 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
526 * testsuite/ld-ctf/cycle-1.d: Likewise.
527 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
528 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
529 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
530 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
531 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
532 * testsuite/ld-ctf/diag-cuname.d: Likewise.
533 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
534 * testsuite/ld-ctf/enum-forward.d: Likewise.
535 * testsuite/ld-ctf/enums.d: Likewise.
536 * testsuite/ld-ctf/forward.d: Likewise.
537 * testsuite/ld-ctf/function.d: Likewise.
538 * testsuite/ld-ctf/nonrepresentable.d: Likewise.
539 * testsuite/ld-ctf/slice.d: Likewise.
540 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
541
5109a7bd
DD
5422021-09-30 Dimitar Dimitrov <dimitar@dinux.eu>
543
544 * scripttempl/pru.sc (.resource_table): Align the output
545 section, not the first symbol.
546
b9004024
NA
5472021-09-27 Nick Alcock <nick.alcock@oracle.com>
548
549 * configure: Regenerate.
550
5226a6a8
NC
5512021-09-21 Nick Clifton <nickc@redhat.com>
552
553 * ldlang.c (lang_end): When computing the entry point, only
554 try the start address of the entry section when creating an
555 executable.
556 * ld.texi (Entry point): Update description of heuristic used to
557 choose the entry point.
558 testsuite/ld-alpha/tlspic.rd: Update expected entry point address.
559 testsuite/ld-arm/tls-gdesc-got.d: Likewise.
560 testsuite/ld-i386/tlsnopic.rd: Likewise.
561 testsuite/ld-ia64/tlspic.rd: Likewise.
562 testsuite/ld-sparc/gotop32.rd: Likewise.
563 testsuite/ld-sparc/gotop64.rd: Likewise.
564 testsuite/ld-sparc/tlssunnopic32.rd: Likewise.
565 testsuite/ld-sparc/tlssunnopic64.rd: Likewise.
566 testsuite/ld-sparc/tlssunpic32.rd: Likewise.
567 testsuite/ld-sparc/tlssunpic64.rd: Likewise.
568 testsuite/ld-tic6x/shlib-1.rd: Likewise.
569 testsuite/ld-tic6x/shlib-1b.rd: Likewise.
570 testsuite/ld-tic6x/shlib-1r.rd: Likewise.
571 testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
572 testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
573 testsuite/ld-x86-64/pr14207.d: Likewise.
574 testsuite/ld-x86-64/tlsdesc.rd: Likewise.
575 testsuite/ld-x86-64/tlspic.rd: Likewise.
576 testsuite/ld-x86-64/tlspic2.rd: Likewise.
577
720f6ee0
CZ
5782021-09-15 Claudiu Zissulescu <claziss@synopsys.com>
579
580 * testsuite/ld-arc/got-weak.d: Update file.
581
09a7e912
CZ
5822021-09-14 Claudiu Zissulescu <claziss@synopsys.com>
583
584 * ld-arc/got-weak.d: New file.
585 * ld-arc/got-weak.s: Likewise.
586
dfe3b805
RM
5872021-07-26 Roland McGrath <mcgrathr@google.com>
588
589 * testsuite/ld-x86-64/x86-64.exp (Build textrel-1): Use --warn-textrel.
590
235f5ef4
MM
5912021-07-06 Michael Matz <matz@suse.de>
592
593 PR ld/28021
594 * testsuite/ld-riscv-elf/relax-twice.ver: New.
595 * testsuite/ld-riscv-elf/relax-twice-1.s: New.
596 * testsuite/ld-riscv-elf/relax-twice-2.s: New.
597 * testsuite/ld-riscv-elf/ld-riscv-elf.exp
598 (run_relax_twice_test): New, and call it.
599
346d80ef
NC
6002021-07-03 Nick Clifton <nickc@redhat.com>
601
602 * configure: Regenerate.
603 * po/ld.pot: Regenerate.
604
51419248
NC
6052021-07-03 Nick Clifton <nickc@redhat.com>
606
607 * 2.37 release branch created.
608
50331d64
NC
6092021-06-22 Nelson Chu <nelson.chu@sifive.com>
610
611 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
612 * testsuite/ld-riscv-elf/pcrel-lo-addend-3a.d: New testcase.
613 * testsuite/ld-riscv-elf/pcrel-lo-addend-3a.s: Likewise.
614 * testsuite/ld-riscv-elf/pcrel-lo-addend-3b.d: New testcase.
615 Should report error since the %pcrel_lo with addend refers to
616 %got_pcrel_hi.
617 * testsuite/ld-riscv-elf/pcrel-lo-addend-3b.s: Likewise.
618 * testsuite/ld-riscv-elf/pcrel-lo-addend-3c.d: New testcase.
619 Should report error since the %got_pcrel_hi with addend.
620 * testsuite/ld-riscv-elf/pcrel-lo-addend-3c.s: Likewise.
621 * testsuite/ld-riscv-elf/pcrel-lo-addend-3.ld: Likewise.
622
406b4ada
L
6232021-06-19 H.J. Lu <hongjiu.lu@intel.com>
624
625 PR ld/27998
626 * testsuite/ld-i386/i386.exp: Run PR ld/27998 tests.
627 * testsuite/ld-i386/pr27998a.d: New file.
628 * testsuite/ld-i386/pr27998a.s: Likewise.
629 * testsuite/ld-i386/pr27998b.d: Likewise.
630 * testsuite/ld-i386/pr27998b.s: Likewise.
631
83b1d8f4
L
6322021-06-19 H.J. Lu <hongjiu.lu@intel.com>
633
634 * testsuite/ld-x86-64/textrel-1.err: New file.
635 * testsuite/ld-x86-64/textrel-1a.s: Likewise.
636 * testsuite/ld-x86-64/textrel-1b.s: Likewise.
637 * testsuite/ld-x86-64/x86-64.exp: Run textrel-1 tests.
638
c30420d8
L
6392021-06-18 H.J. Lu <hongjiu.lu@intel.com>
640
641 * testsuite/ld-elf/property-and-1.d: Skip am33_2.0, hppa-hpux
642 and mn10300.
643 Pass --generate-missing-build-notes=no to assembler. Allow
644 other note sections for xtensa.
645 * testsuite/ld-elf/property-and-2.d: Likewise.
646 * testsuite/ld-elf/property-and-3.d: Likewise.
647 * testsuite/ld-elf/property-and-4.d: Likewise.
648 * testsuite/ld-elf/property-or-1.d: Likewise.
649 * testsuite/ld-elf/property-or-2.d: Likewise.
650 * testsuite/ld-elf/property-or-3.d: Likewise.
651 * testsuite/ld-elf/property-or-4.d: Likewise.
652
2d95647b
L
6532021-06-18 H.J. Lu <hongjiu.lu@intel.com>
654
655 * ld.texi: Move -z unique-symbol after -z undefs.
656
5a767724
L
6572021-06-18 H.J. Lu <hongjiu.lu@intel.com>
658
659 * testsuite/ld-elf/property-and-1.d: New file.
660 * testsuite/ld-elf/property-and-1.s: Likewise.
661 * testsuite/ld-elf/property-and-2.d: Likewise.
662 * testsuite/ld-elf/property-and-2.s: Likewise.
663 * testsuite/ld-elf/property-and-3.d: Likewise.
664 * testsuite/ld-elf/property-and-3.s: Likewise.
665 * testsuite/ld-elf/property-and-4.d: Likewise.
666 * testsuite/ld-elf/property-and-empty.s: Likewise.
667 * testsuite/ld-elf/property-or-1.d: Likewise.
668 * testsuite/ld-elf/property-or-1.s: Likewise.
669 * testsuite/ld-elf/property-or-2.d: Likewise.
670 * testsuite/ld-elf/property-or-2.s: Likewise.
671 * testsuite/ld-elf/property-or-3.d: Likewise.
672 * testsuite/ld-elf/property-or-3.s: Likewise.
673 * testsuite/ld-elf/property-or-4.d: Likewise.
674 * testsuite/ld-elf/property-or-empty.s: Likewise.
675
e013d20d
L
6762021-06-17 H.J. Lu <hongjiu.lu@intel.com>
677
678 PR ld/27973
679 * testsuite/ld-x86-64/x86-64.exp: Pass $NOPIE_LDFLAGS and
680 $NOPIE_CFLAGS to protected-func-1 without PIE.
681
b6b42983
L
6822021-06-17 H.J. Lu <hongjiu.lu@intel.com>
683
684 PR ld/27973
685 * testsuite/ld-x86-64/x86-64.exp: Run protected function tests.
686 * testsuite/ld-x86-64/protected-func-1.h: New file.
687 * testsuite/ld-x86-64/protected-func-1a.s: Likewise.
688 * testsuite/ld-x86-64/protected-func-1b.c: Likewise.
689
d208bc76
FS
6902021-06-17 Fangrui Song <maskray@google.com>
691
692 * ldlex.h (enum option_values): Add OPTION_NO_PIE.
693 * lexsup.c (struct ld_options): Add -no-pie.
694 (parse_args): Handle -no-pie.
695 * ld.texi: Document -no-pie.
696
93df3340
AM
6972021-06-15 Alan Modra <amodra@gmail.com>
698
699 * testsuite/ld-pie/vaddr-0.d: Update expected output.
700
f64b9b13
AM
7012021-06-11 Alan Modra <amodra@gmail.com>
702
703 PR 27952
704 * ldelf.c (ldelf_after_open): Error on input PIEs too.
705
f75bcf7e
NC
7062021-06-09 Nick Clifton <nickc@redhat.com>
707
708 PR 27666
709 * testsuite/ld-sparc/sparc.exp: Do not run the sparctests or
710 sparc64tests for Solaris2 targets.
711
364d7729
AM
7122021-06-03 Alan Modra <amodra@gmail.com>
713
714 PR 2589
715 * ld.texi (link-time runtime library search path): Mention
716 plugin library path. Correct order of search.
717
ef9d2565
NC
7182021-05-31 Nelson Chu <nelson.chu@sifive.com>
719 Lifang Xia <lifang_xia@c-sky.com>
720
721 PR 27566
722 * emultempl/riscvelf.em (after_allocation): Call
723 riscv_set_data_segment_info to set data segment phase before relaxing.
724 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
725 * testsuite/ld-riscv-elf/relro-relax-lui.d: New testcase.
726 * testsuite/ld-riscv-elf/relro-relax-lui.s: Likewise.
727 * testsuite/ld-riscv-elf/relro-relax-pcrel.d: Likewise.
728 * testsuite/ld-riscv-elf/relro-relax-pcrel.s: Likewise.
729
1273b2f8
L
7302021-05-28 H.J. Lu <hongjiu.lu@intel.com>
731
732 PR ld/27905
733 * testsuite/ld-i386/pcrel16-2.d: xfail.
734 * testsuite/ld-x86-64/pcrel16-2.d: Likewise.
735
50c95a73
L
7362021-05-26 H.J. Lu <hongjiu.lu@intel.com>
737
738 PR ld/27905
739 * testsuite/ld-i386/code16.d: New file.
740 * testsuite/ld-i386/code16.t: Likewise.
741 * testsuite/ld-x86-64/code16.d: Likewise.
742 * testsuite/ld-x86-64/code16.t: Likewise.
743 * testsuite/ld-i386/i386.exp: Run code16.
744 * testsuite/ld-x86-64/x86-64.exp: Likewise.
745
983d5689
L
7462021-05-26 H.J. Lu <hongjiu.lu@intel.com>
747
748 * testsuite/ld-x86-64/ilp32-12.d: New file.
749 * testsuite/ld-x86-64/ilp32-12.s: Likewise.
750 * testsuite/ld-x86-64/x86-64.exp: Run ilp32-12.
751
75f03fa7
NC
7522021-05-14 Nelson Chu <nelson.chu@sifive.com>
753
754 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
755 * testsuite/ld-riscv-elf/pcrel-lo-addend-2a.d: Renamed from
756 pcrel-lo-addend-2.
757 * testsuite/ld-riscv-elf/pcrel-lo-addend-2a.s: Likewise.
758 * testsuite/ld-riscv-elf/pcrel-lo-addend-2b.d: New testcase.
759 * testsuite/ld-riscv-elf/pcrel-lo-addend-2b.s: Likewise.
760
cf893b0e
FS
7612021-05-13 Fangrui Song <maskray@google.com>
762
763 PR 27834
764 * ldlex.h (enum option_values): Add OPTION_NO_SYMBOLIC.
765 * lexsup.c (ld_options): Add -Bno-symbolic.
766 (parse_args): Handle -Bno-symbolic.
767 * ld.texi: Document -Bno-symbolic.
768 * NEWS: Mention -Bno-symbolic.
769 * testsuite/ld-elf/shared.exp: Add a test.
770
84139c58
RE
7712021-05-12 Richard Earnshaw <rearnsha@arm.com>
772
773 * testsuite/ld-arm/arm-elf.exp (farcall test for v8-m.mainline):
774 Correct expected output.
775
4a1ad5c9
RM
7762021-05-11 Roland McGrath <mcgrathr@google.com>
777
778 * testsuite/ld-x86-64/rela.d: Fix regexp not to presume a specific
779 address layout, so it works for e.g. --target=x86-64-elf.
780
22604fe6
NC
7812021-05-11 Nick Clifton <nickc@redhat.com>
782
783 PR 27113
784 * Makefile.am (install-data-local): Also delete libdep.dll.a if it
785 is present.
786 * Makefile.in: Regenerate.
787
5b45e89f
DD
7882021-05-10 Dimitar Dimitrov <dimitar@dinux.eu>
789
790 * testsuite/ld-elf/group8a.d: Remove pru from XFAIL list.
791 * testsuite/ld-elf/group8b.d: Ditto.
792 * testsuite/ld-elf/group9a.d: Ditto.
793 * testsuite/ld-elf/group9b.d: Ditto.
794 * testsuite/ld-elf/pr12851.d: Ditto.
795 * testsuite/ld-elf/pr22677.d: Ditto.
796 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Remove
797 pru from list.
798
261980de
DD
7992021-05-10 Dimitar Dimitrov <dimitar@dinux.eu>
800
801 * scripttempl/pru.sc (.resource_table): Add ALIGN directive.
802 Use symbols for memory sizes.
803
cf758b39
MF
8042021-05-08 Mike Frysinger <vapier@gentoo.org>
805
806 * Makefile.am (html-local, doc/ld/index.html): New targets.
807 * Makefile.in: Regenerate.
808
2faf902d
MF
8092021-05-08 Mike Frysinger <vapier@gentoo.org>
810
811 * Makefile.am (AM_MAKEINFOFLAGS): Add --no-split.
812 * Makefile.in: Regenerate.
813
17c6c3b9
JB
8142021-05-07 Jan Beulich <jbeulich@suse.com>
815
816 * testsuite/ld-x86-64/rela.d: New.
817 * testsuite/ld-x86-64/x86-64.exp: Run new test.
818
d820a652
NC
8192021-05-07 Nick Clifton <nickc@redhat.com>
820
821 * ldelfgen.c (compare_link_order): Ignore section size when
822 performing a relocateable link.
823
70993db3
AM
8242021-05-07 Alan Modra <amodra@gmail.com>
825
826 * ldexp.c (update_definedness): Don't return false for absolute
827 symbols.
828 * ldmain.c (multiple_definition): Print "warning: " in message
829 when not a hard error.
830
973bba91
AM
8312021-05-07 Alan Modra <amodra@gmail.com>
832
833 * testsuite/ld-elf/pr27825-1.d: Correct xfail.
834 * testsuite/ld-elf/pr27825-2.d: Likewise.
835
284a1309
SH
8362021-05-06 Stafford Horne <shorne@gmail.com>
837
838 PR 27746
839 testsuite/ld-or1k/or1k.exp (or1kplttests): Add tests for linking
840 along with gotha() relocations.
841 testsuite/ld-or1k/gotha1.dd: New file.
842 testsuite/ld-or1k/gotha1.s: New file.
843 testsuite/ld-or1k/gotha2.dd: New file.
844 testsuite/ld-or1k/gotha2.s: New file
845 testsuite/ld-or1k/pltlib.s (x): Define size to avoid link
846 failure.
847
ae064303
NA
8482021-05-06 Nick Alcock <nick.alcock@oracle.com>
849
850 * testsuite/ld-ctf/ctf.exp: Use -gctf, not -gt.
851 * testsuite/lib/ld-lib.exp: Likewise.
852 * testsuite/ld-ctf/nonrepresentable-1.c: New test for nonrepresentable types.
853 * testsuite/ld-ctf/nonrepresentable-2.c: Likewise.
854 * testsuite/ld-ctf/nonrepresentable.d: Likewise.
855 * testsuite/ld-ctf/array.d: Larger type section.
856 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
857 * testsuite/ld-ctf/enums.d: Likewise.
858 * testsuite/ld-ctf/conflicting-enums.d: Don't compare types.
859 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Changed type order.
860 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
861 * testsuite/ld-ctf/slice.d: Adjust for improved slice emission.
862
4467df35
L
8632021-05-05 H.J. Lu <hongjiu.lu@intel.com>
864
865 PR ld/27825
866 * testsuite/ld-elf/pr27825-1.d: New file.
867 * testsuite/ld-elf/pr27825-1a.s: Likewise.
868 * testsuite/ld-elf/pr27825-1b.s: Likewise.
869 * testsuite/ld-elf/pr27825-2.d: Likewise.
870 * testsuite/ld-elf/pr27825-2a.s: Likewise.
871 * testsuite/ld-elf/pr27825-2b.s: Likewise.
872
13ffdac3
AM
8732021-05-05 Alan Modra <amodra@gmail.com>
874
875 * testsuite/ld-powerpc/empty.s: New file.
876 * testsuite/ld-powerpc/undefweak.d,
877 * testsuite/ld-powerpc/undefweak.s: New testcase.
878 * testsuite/ld-powerpc/powerpc.exp: Run it.
879
df6fbc21
AM
8802021-05-03 Alan Modra <amodra@gmail.com>
881
882 * testsuite/ld-s390/tlspic_64.rd: Adjust expected output for
883 named section symbols.
884
24aebc79
NC
8852021-04-28 Nick Clifton <nickc@redhat.com>
886
887 * testsuite/ld-elf/anno-sym.s: New test source file.
888 * testsuite/ld-elf/anno-sym.d: New test driver.
889 * testsuite/ld-elf/anno-sym.l: New test error output.
890
a7664973
JB
8912021-04-26 Jan Beulich <jbeulich@suse.com>
892
893 * testsuite/ld-i386/pcrel16-2.s, testsuite/ld-i386/pcrel16-2.d,
894 testsuite/ld-x86-64/pcrel16-2.d: New.
895 * testsuite/ld-i386/i386.exp: Run new test.
896 * testsuite/ld-x86-64/x86-64.exp: Likewise.
897
69cc1945
L
8982021-04-23 H.J. Lu <hongjiu.lu@intel.com>
899
900 PR ld/27771
901 * testsuite/ld-bootstrap/bootstrap.exp: Create a symbolic link
902 to tmpdir/ldscripts only if it doesn't exist.
903
d018cd83
JB
9042021-04-22 Jan Beulich <jbeulich@suse.com>
905
906 PR ld/26659
907 * testsuite/ld-pe/pr26659-weak-undef-sym.d: Relax for Cygwin.
908
23356397
NC
9092021-04-21 Nick Clifton <nickc@redhat.com>
910
911 * testsuite/ld-aarch64/variant_pcs-now.d: Adjust expected output
912 to allow for named section symbols.
913 * testsuite/ld-aarch64/variant_pcs-r.d: Likewise.
914 * testsuite/ld-aarch64/variant_pcs-shared.d: Likewise.
915 * testsuite/ld-alpha/tlsbin.rd: Likewise.
916 * testsuite/ld-alpha/tlsbinr.rd: Likewise.
917 * testsuite/ld-alpha/tlspic.rd: Likewise.
918 * testsuite/ld-arm/rodata-merge-map.sym: Likewise.
919 * testsuite/ld-arm/script-type.sym: Likewise.
920 * testsuite/ld-cris/libdso-2.d: Likewise.
921 * testsuite/ld-cris/pr16044.d: Likewise.
922 * testsuite/ld-elf/sec64k.exp: Likewise.
923 * testsuite/ld-ia64/tlsbin.rd: Likewise.
924 * testsuite/ld-ia64/tlspic.rd: Likewise.
925 * testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d: Likewise.
926 * testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d: Likewise.
927 * testsuite/ld-mmix/bspec1.d: Likewise.
928 * testsuite/ld-mmix/bspec2.d: Likewise.
929 * testsuite/ld-mmix/local1.d: Likewise.
930 * testsuite/ld-mmix/local3.d: Likewise.
931 * testsuite/ld-mmix/local5.d: Likewise.
932 * testsuite/ld-mmix/local7.d: Likewise.
933 * testsuite/ld-mmix/undef-3.d: Likewise.
934 * testsuite/ld-powerpc/tlsso.r: Likewise.
935 * testsuite/ld-powerpc/tlsso32.r: Likewise.
936 * testsuite/ld-powerpc/tlstocso.r: Likewise.
937 * testsuite/ld-s390/tlsbin.rd: Likewise.
938 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
939 * testsuite/ld-s390/tlspic.rd: Likewise.
940 * testsuite/ld-s390/tlspic_64.rd: Likewise.
941 * testsuite/ld-sparc/gotop32.rd: Likewise.
942 * testsuite/ld-sparc/gotop64.rd: Likewise.
943 * testsuite/ld-sparc/tlssunbin32.rd: Likewise.
944 * testsuite/ld-sparc/tlssunbin64.rd: Likewise.
945 * testsuite/ld-sparc/tlssunnopic32.rd: Likewise.
946 * testsuite/ld-sparc/tlssunnopic64.rd: Likewise.
947 * testsuite/ld-sparc/tlssunpic32.rd: Likewise.
948 * testsuite/ld-sparc/tlssunpic64.rd: Likewise.
949 * testsuite/ld-tic6x/common.d: Likewise.
950 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
951 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
952 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
953 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
954 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
955 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
956 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
957 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
958 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
959 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
960 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
961 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
962 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
963
c5df7e44
CC
9642021-04-20 Clément Chigot <clement.chigot@atos.net>
965
966 PR binutils/21700
967 * testsuite/ld-powerpc/aix52.exp: Add new test.
968 * testsuite/ld-powerpc/aix-neg-reloc-32.d: New test.
969 * testsuite/ld-powerpc/aix-neg-reloc-64.d: New test.
970 * testsuite/ld-powerpc/aix-neg-reloc.ex: New test.
971 * testsuite/ld-powerpc/aix-neg-reloc.s: New test.
972
6418520e
NC
9732021-04-13 Nick Clifton <nickc@redhat.com>
974
975 * ld.texi (Options): Add note about the effect of --as-needed on
976 the --rpath and --rpath-link options on Linux based systems.
977
1cfc6f00
AM
9782021-04-13 Alan Modra <amodra@gmail.com>
979
980 PR 27722
981 * libdep_plugin.c (str2vec): Don't pass a potentially signed char
982 to isspace.
983
43e05cd4
AM
9842021-04-12 Alan Modra <amodra@gmail.com>
985
986 * configure.ac (--enable-checking): Add support.
987 * config.in: Regenerate.
988 * configure: Regenerate.
989
2cc15b10
AM
9902021-04-12 Alan Modra <amodra@gmail.com>
991
992 * emultempl/mipself.em (mips_create_output_section_statements):
993 Pass base type of hash table to is_elf_hash_table.
994 * ldelf.c (ldelf_after_open): Likewise.
995
fc304b88
AM
9962021-04-12 Alan Modra <amodra@gmail.com>
997
998 PR 27719
999 * ldlang.c (lang_mark_undefineds, undef_start_stop): Test that
1000 the symbol hash table is the correct type before accessing
1001 elf_link_hash_entry symbols.
1002 * plugin.c (is_visible_from_outside): Likewise.
1003 * emultempl/armelf.em (ld${EMULATION_NAME}_finish): Likewise.
1004 * emultempl/solaris2.em (elf_solaris2_before_allocation): Likewise.
1005
c3f72de4
AM
10062021-04-09 Alan Modra <amodra@gmail.com>
1007
1008 * testsuite/ld-powerpc/inlinepcrel-1.d: Update expected output.
1009 * testsuite/ld-powerpc/inlinepcrel-2.d: Likewise.
1010 * testsuite/ld-powerpc/notoc2.d: Likewise.
1011 * testsuite/ld-powerpc/notoc3.d: Likewise.
1012 * testsuite/ld-powerpc/pcrelopt.d: Likewise.
1013 * testsuite/ld-powerpc/startstop.d: Likewise.
1014 * testsuite/ld-powerpc/tlsget.d: Likewise.
1015 * testsuite/ld-powerpc/tlsget2.d: Likewise.
1016 * testsuite/ld-powerpc/tlsld.d: Likewise.
1017 * testsuite/ld-powerpc/weak1.d: Likewise.
1018 * testsuite/ld-powerpc/weak1so.d: Likewise.
1019
bd3d1480
JB
10202021-04-06 Jan Beulich <jbeulich@suse.com>
1021
1022 * pe-dll.c (generate_reloc): Bail immediately when .reloc is
1023 being discarded. Warn when relocated entry is above .reloc.
1024
c774eab1
AM
10252021-04-05 Alan Modra <amodra@gmail.com>
1026
1027 * configure.ac: Move initfini-array arg handling earlier. Don't
1028 check for string.h, strings.h, stdlib.h, or locale.h. Do check
1029 for inttypes.h, stdint.h, sys/types.h. Don't check for
1030 setlocale, free, getev or strstr.
1031 (AC_ISC_POSIX): Don't invoke.
1032 * sysdep.h: Include string.h and stdlib.h unconditionally. Test
1033 HAVE_SYS_TYPE_H and HAVE_SYS_STAT_H. Remove strstr, free and
1034 getenv fallback declarations.
1035 * ld.h: Don't test HAVE_LOCALE_H.
1036 * ldmain.c: Don't test HAVE_SETLOCALE.
1037 * config.in: Regenerate.
1038 * configure: Regenerate.
1039
74edb473
TC
10402021-04-01 Tamar Christina <tamar.christina@arm.com>
1041
1042 PR ld/26659
1043 * testsuite/ld-pe/pe.exp: Add test.
1044 * testsuite/ld-pe/pr26659-weak-undef-sym.d: New test.
1045 * testsuite/ld-pe/pr26659-weak-undef-sym.s: New test.
1046
e9b095a5
ML
10472021-04-01 Martin Liska <mliska@suse.cz>
1048
1049 * ldbuildid.c (strneq): Remove strneq and use startswith.
1050 (validate_build_id_style): Likewise.
1051 (compute_build_id_size): Likewise.
1052
f38a2680
AM
10532021-03-31 Alan Modra <amodra@gmail.com>
1054
1055 * sysdep.h (POISON_BFD_BOOLEAN): Define.
1056 * configure.ac (elf_list_options, elf_shlib_list_options=false),
1057 (elf_plt_unwind_list_options=false): Replace FALSE with false,
1058 and TRUE with true.
1059 * emulparams/call_nop.sh, * emulparams/cet.sh,
1060 * emulparams/dynamic_undefined_weak.sh,
1061 * emulparams/elf32b4300.sh, * emulparams/elf32lm32.sh,
1062 * emulparams/elf32lr5900.sh, * emulparams/elf32lr5900n32.sh,
1063 * emulparams/elf32visium.sh, * emulparams/elf_x86_64.sh,
1064 * emulparams/extern_protected_data.sh, * emulparams/plt_unwind.sh,
1065 * emulparams/reloc_overflow.sh, * emulparams/static.sh,
1066 * emulparams/x86-64-lam.sh, * emultempl/aarch64elf.em,
1067 * emultempl/aix.em, * emultempl/alphaelf.em,
1068 * emultempl/armcoff.em, * emultempl/armelf.em,
1069 * emultempl/avrelf.em, * emultempl/beos.em, * emultempl/bfin.em,
1070 * emultempl/cr16elf.em, * emultempl/crxelf.em,
1071 * emultempl/cskyelf.em, * emultempl/elf.em, * emultempl/genelf.em,
1072 * emultempl/hppaelf.em, * emultempl/linux.em,
1073 * emultempl/m68hc1xelf.em, * emultempl/metagelf.em,
1074 * emultempl/mipself.em, * emultempl/mmix-elfnmmo.em,
1075 * emultempl/mmixelf.em, * emultempl/mmo.em, * emultempl/msp430.em,
1076 * emultempl/nios2elf.em, * emultempl/pdp11.em, * emultempl/pe.em,
1077 * emultempl/pep.em, * emultempl/ppc32elf.em,
1078 * emultempl/ppc64elf.em, * emultempl/rxelf.em,
1079 * emultempl/rxlinux.em, * emultempl/scoreelf.em,
1080 * emultempl/solaris2.em, * emultempl/spuelf.em,
1081 * emultempl/ticoff.em, * emultempl/v850elf.em, * emultempl/vms.em,
1082 * emultempl/xtensaelf.em, * emultempl/z80.em, * ld.h,
1083 * ldbuildid.c, * ldbuildid.h, * ldcref.c, * ldctor.c, * ldctor.h,
1084 * ldelf.c, * ldelf.h, * ldelfgen.c, * ldelfgen.h, * ldemul.c,
1085 * ldemul.h, * ldexp.c, * ldexp.h, * ldfile.c, * ldfile.h,
1086 * ldgram.y, * ldlang.c, * ldlang.h, * ldmain.c, * ldmain.h,
1087 * ldmisc.c, * ldmisc.h, * ldwrite.c, * lexsup.c, * mri.c,
1088 * pe-dll.c, * pe-dll.h, * pep-dll.h, * plugin.c, * plugin.h,
1089 * testplug.c, * testplug2.c, * testplug3.c, * testplug4.c: Replace
1090 bfd_boolean with bool, FALSE with false, and TRUE with true.
1091 * configure: Regenerate.
1092
3dfb1b6d
AM
10932021-03-31 Alan Modra <amodra@gmail.com>
1094
1095 * elf-hints-local.h: Include stdint.h in place of bfd_stdint.h.
1096 * emultempl/nds32elf.em: Likewise.
1097 * testsuite/ld-elf/mbind2b.c: Likewise.
1098 * testsuite/ld-elf/pr18718.c: Likewise.
1099 * testsuite/ld-elf/pr18720a.c: Likewise.
1100 * testsuite/ld-elf/pr25749-1.c: Likewise.
1101 * testsuite/ld-elf/pr25749-1a.c: Likewise.
1102 * testsuite/ld-elf/pr25749-1b.c: Likewise.
1103 * testsuite/ld-elf/pr25749-1c.c: Likewise.
1104 * testsuite/ld-elf/pr25749-1d.c: Likewise.
1105 * testsuite/ld-elf/pr25749-2.c: Likewise.
1106 * testsuite/ld-elf/pr25754-1a.c: Likewise.
1107 * testsuite/ld-elf/pr25754-2a.c: Likewise.
1108 * testsuite/ld-elf/pr25754-3a.c: Likewise.
1109 * testsuite/ld-elf/pr25754-4a.c: Likewise.
1110 * testsuite/ld-elf/pr25754-5a.c: Likewise.
1111 * testsuite/ld-elf/pr25754-6a.c: Likewise.
1112
63b4cc53
AM
11132021-03-29 Alan Modra <amodra@gmail.com>
1114
1115 * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Simplify
1116 boolean expression.
1117 * lexsup.c (parse_args): Likewise.
1118 * pe-dll.c (pe_dll_id_target): Likewise.
1119
8592be8c
NA
11202021-03-25 Nick Alcock <nick.alcock@oracle.com>
1121
1122 * testsuite/ld-ctf/array.d: Only check that the data object
1123 section is nonempty: do not check its exact size.
1124 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
1125 * testsuite/ld-ctf/slice.d: Likewise.
1126 * testsuite/ld-ctf/data-func-conflicted.d: Likewise, and for the
1127 func info section too.
1128 * testsuite/ld-ctf/function.d: Likewise, for the func info section.
1129
08dedd66
ML
11302021-03-22 Martin Liska <mliska@suse.cz>
1131
1132 * emultempl/aix.em: Replace usage of CONST_STRNEQ with startswith.
1133 * emultempl/beos.em: Likewise.
1134 * emultempl/elf.em: Likewise.
1135 * emultempl/pe.em: Likewise.
1136 * emultempl/pep.em: Likewise.
1137 * emultempl/xtensaelf.em: Likewise.
1138 * ldctor.c (ctor_prio): Likewise.
1139 * ldelf.c (ldelf_try_needed): Likewise.
1140 (ldelf_parse_ld_so_conf): Likewise.
1141 (ldelf_after_open): Likewise.
1142 (output_rel_find): Likewise.
1143 (ldelf_place_orphan): Likewise.
1144 * ldfile.c (ldfile_add_library_path): Likewise.
1145 * ldlang.c (lang_add_input_file): Likewise.
1146 * ldmain.c (get_sysroot): Likewise.
1147 (get_emulation): Likewise.
1148 (add_archive_element): Likewise.
1149 * ldwrite.c (unsplittable_name): Likewise.
1150 (clone_section): Likewise.
1151 * lexsup.c (parse_args): Likewise.
1152 * pe-dll.c (is_import): Likewise.
1153 (pe_implied_import_dll): Likewise.
1154
1de96e5d
L
11552021-03-19 H.J. Lu <hongjiu.lu@intel.com>
1156
1157 PR ld/27590
1158 * testsuite/ld-x86-64/pr27590.rd: New file.
1159 * testsuite/ld-x86-64/pr27590a.obj.bz2: Likewise.
1160 * testsuite/ld-x86-64/pr27590b.obj.bz2: Likewise.
1161 * testsuite/ld-x86-64/x86-64.exp: Run ld/27590 test.
1162
15407e7e
AM
11632021-03-20 Alan Modra <amodra@gmail.com>
1164
1165 PR 27590
1166 * ldlang.c (lang_gc_sections): Clear SEC_EXCLUDE when relocatable
1167 for all sections except .stabstr.
1168
fba7f753
AM
11692021-03-19 Alan Modra <amodra@gmail.com>
1170
1171 PR 27590
1172 * testsuite/ld-elf/pr27590a.d: Match relocs using label, and
1173 R_MIPS_NONE.
1174 * testsuite/ld-elf/pr27590b.d: Likewise.
1175
3818d4ab
L
11762021-03-18 H.J. Lu <hongjiu.lu@intel.com>
1177
1178 PR ld/27590
1179 * testsuite/ld-elf/pr27590.s: New file.
1180 * testsuite/ld-elf/pr27590a.d: Likewise.
1181 * testsuite/ld-elf/pr27590b.d: Likewise.
1182 * testsuite/ld-i386/i386.exp: Also run ld/27193 test with
1183 --reduce-memory-overheads.
1184
51f6e7a9
L
11852021-03-18 H.J. Lu <hongjiu.lu@intel.com>
1186
1187 PR ld/27587
1188 * testsuite/ld-x86-64/pr27587.err: New file.
1189 * testsuite/ld-x86-64/pr27587a.obj.bz2: Likewise.
1190 * testsuite/ld-x86-64/pr27587b.obj.bz2: Likewise.
1191 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/27587 test.
1192
69a28486
NA
11932021-03-18 Nick Alcock <nick.alcock@oracle.com>
1194
1195 * testsuite/ld-ctf/slice.c: Check slices of enums too.
1196 * testsuite/ld-ctf/slice.d: Results adjusted.
1197
ee42883c
NC
11982021-03-16 Nick Clifton <nickc@redhat.com>
1199
1200 * pe-dll.c (pe_find_cdecl_alias_match): Use memmove to overwrite
1201 lname string.
1202
c68b1842
JB
12032021-03-15 Jan Beulich <jbeulich@suse.com>
1204
1205 * pe-dll.c (generate_reloc): Drop padding to reloc_s->size.
1206
203a206d
AM
12072021-03-12 Alan Modra <amodra@gmail.com>
1208
1209 * Makefile.am (ALL_EMULATION_SOURCES): Move riscv files to..
1210 (ALL_64_EMULATION_SOURCES): ..here.
1211 * Makefile.in: Regenerate.
1212
1b2cb8e2
CC
12132021-03-12 Clément Chigot <clement.chigot@atos.net>
1214
1215 * emultempl/aix.em: Ensure .tdata section is removed
1216 if empty, even with -r flag.
1217 * scripttempl/aix.sc: Handle TLS sections.
1218 * testsuite/ld-powerpc/aix52.exp: Add new tests.
1219 * testsuite/ld-powerpc/aix-tls-reloc-32.d: New test.
1220 * testsuite/ld-powerpc/aix-tls-reloc-64.d: New test.
1221 * testsuite/ld-powerpc/aix-tls-reloc.ex: New test.
1222 * testsuite/ld-powerpc/aix-tls-reloc.s: New test.
1223 * testsuite/ld-powerpc/aix-tls-section-32.d: New test.
1224 * testsuite/ld-powerpc/aix-tls-section-64.d: New test.
1225 * testsuite/ld-powerpc/aix-tls-section.ex: New test.
1226 * testsuite/ld-powerpc/aix-tls-section.s: New test.
1227
4a403be0
CC
12282021-03-12 Clément Chigot <clement.chigot@atos.net>
1229
1230 * scripttempl/aix.sc: Add .te to .data section.
1231 * testsuite/ld-powerpc/aix52.exp: Add test structure for AIX7+.
1232 Add aix-largetoc-1 test.
1233 * testsuite/ld-powerpc/aix-largetoc-1-32.d: New test.
1234 * testsuite/ld-powerpc/aix-largetoc-1-64.d: New test.
1235 * testsuite/ld-powerpc/aix-largetoc-1.ex: New test.
1236 * testsuite/ld-powerpc/aix-largetoc-1.s: New test.
1237
68cb2183
AM
12382021-03-12 Alan Modra <amodra@gmail.com>
1239
1240 * testsuite/ld-gc/gc.exp: Pass "-image-base 0" to ld for PE, and
1241 arrange to define __main for some run_dump_test tests.
1242 * testsuite/ld-gc/pr13683.d: Accept more symbols.
1243 * testsuite/ld-gc/pr14265.d: Likewise, and ordering.
1244 * testsuite/ld-scripts/crossref.exp: Pass "-image-base 0" to ld for PE.
1245 * testsuite/ld-srec/srec.exp: Likewise.
1246 * testsuite/lib/ld-lib.exp (ld_link_defsyms): Use is_pecoff_format.
1247
ebdcad3f
NC
12482021-03-11 Nelson Chu <nelson.chu@sifive.com>
1249
1250 * emultempl/riscvelf.em (after_allocation): Run ldelf_map_segments
1251 many times if riscv_restart_relax_sections returns TRUE.
1252 * testsuite/ld-riscv-elf/restart-relax.d: New testcase. Before
1253 applying this patch, the call won't be relaxed to jal; But now we
1254 have more chances to do relaxations.
1255 * testsuite/ld-riscv-elf/restart-relax.s: Likewise.
1256 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
1257
67b0f684
JB
12582021-03-10 Jan Beulich <jbeulich@suse.com>
1259
1260 * testsuite/ld-scripts/pr22267.t: Avoid symbol value with more
1261 than 32 set bits.
1262 * testsuite/ld-scripts/pr22267.d: Adjust expectation and drop
1263 comment.
1264 * scripttempl/mcorepe.sc: Use PROVIDE() for _stack.
1265
5dc75cf3
JB
12662021-03-09 Jan Beulich <jbeulich@suse.com>
1267
1268 * testsuite/ld-pe/reloc.s: Add entry point symbols. Increase
1269 alignment to 4k.
1270 * testsuite/ld-pe/reloc.d: xfail for mcore.
1271
87fa7d56
JB
12722021-03-09 Jan Beulich <jbeulich@suse.com>
1273
1274 * testsuite/ld-scripts/alignof.exp,
1275 testsuite/ld-scripts/data.exp,
1276 testsuite/ld-scripts/default-script.exp,
1277 testsuite/ld-scripts/log2.exp,
1278 testsuite/ld-scripts/print-memory-usage.exp,
1279 testsuite/ld-scripts/sizeof.exp,
1280 testsuite/ld-undefined/weak-undef.exp: Set image base to zero
1281 for PE/COFF.
1282 * testsuite/ld-scripts/default-script1.d,
1283 testsuite/ld-scripts/default-script2.d,
1284 testsuite/ld-scripts/default-script3.d,
1285 testsuite/ld-scripts/default-script4.d: Drop xfail and comment.
1286
8c0546e9
L
12872021-03-05 H.J. Lu <hongjiu.lu@intel.com>
1288
1289 PR ld/27425
1290 PR ld/27432
1291 * ldelf.c (ldelf_set_output_arch): New function.
1292 * ldelf.h (ldelf_set_output_arch): New prototype.
1293 * emultempl/elf.em (LDEMUL_SET_OUTPUT_ARCH): Default to
1294 ldelf_set_output_arch.
1295 * ld-x86-64/pe-x86-64-1.od: Expect __executable_start.
1296 * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise.
1297 * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise.
1298 * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise.
1299 * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise.
1300 * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise.
1301 * testsuite/ld-x86-64/pe-x86-64-6.obj.bz2: New file.
1302 * testsuite/ld-x86-64/pe-x86-64-6.od: Likewise.
1303 * testsuite/ld-x86-64/pe-x86-64.exp: Run ld/27425 test.
1304
d4e5db4e
JB
13052021-03-04 Jan Beulich <jbeulich@suse.com>
1306
1307 * testsuite/ld-scripts/map-address.exp: Set image base to zero
1308 for PE/COFF.
1309 * testsuite/ld-scripts/map-address.t: Place .text.
1310
6fa7408d
JB
13112021-03-04 Jan Beulich <jbeulich@suse.com>
1312
1313 * ldexp.c (ldexp_is_final_sym_absolute): New.
1314 * ldexp.h (ldexp_is_final_sym_absolute): Declare.
1315 * pe-dll.c (generate_reloc): Skip absolute symbols.
1316 * testsuite/ld-pe/reloc.s, testsuite/ld-pe/reloc.d: New.
1317 * testsuite/ld-pe/pe.exp: Run new test.
1318
5789f845
AM
13192021-03-03 Alan Modra <amodra@gmail.com>
1320
1321 PR 27500
1322 * ldlang.c (insert_undefined): Don't mark symbols here.
1323 (lang_mark_undefineds): Do so here instead, new function.
1324 (lang_process): Call lang_mark_undefineds.
1325 * testsuite/ld-gc/start3.d,
1326 * testsuite/ld-gc/start3.s: New test.
1327 * testsuite/ld-gc/start4.d,
1328 * testsuite/ld-gc/start4.s: New test.
1329 * testsuite/ld-gc/gc.exp: Run them.
1330
270f32fc
AM
13312021-03-03 Alan Modra <amodra@gmail.com>
1332
1333 * testsuite/ld-gc/gc.exp: Define UNDERSCORE in ASFLAGS.
1334 Move tests with ELF section directives to is_elf_format block.
1335 * testsuite/ld-gc/abi-note.d: Run on more targets.
1336 * testsuite/ld-gc/pr19167.d: Likewise and adjust xfails.
1337 * testsuite/ld-gc/start.d: Likewise.
1338 * testsuite/ld-gc/start2.d: Likewise.
1339 * testsuite/ld-gc/stop.d: Likewise.
1340 * testsuite/ld-gc/pr19167a.s: Add support for underscore targets.
1341 * testsuite/ld-gc/start.s: Likewise.
1342 * testsuite/ld-gc/start2.s: Likewise.
1343
211bcd01
NA
13442021-03-02 Nick Alcock <nick.alcock@oracle.com>
1345
1346 * ldelfgen.c (ldelf_ctf_strtab_iter_cb): Skip zero-refcount strings.
1347
b80e421f
AM
13482021-03-02 Alan Modra <amodra@gmail.com>
1349
1350 * testsuite/ld-powerpc/startstop.d,
1351 * testsuite/ld-powerpc/startstop.r,
1352 * testsuite/ld-powerpc/startstop.s: New test.
1353 * testsuite/ld-powerpc/powerpc.exp: Run it.
1354
f5b9c288
AM
13552021-03-02 Alan Modra <amodra@gmail.com>
1356
1357 * testsuite/ld-powerpc/weak1.d,
1358 * testsuite/ld-powerpc/weak1.r,
1359 * testsuite/ld-powerpc/weak1.s,
1360 * testsuite/ld-powerpc/weak1so.d,
1361 * testsuite/ld-powerpc/weak1so.r: New tests.
1362 * testsuite/ld-powerpc/powerpc.exp: Run them.
1363
ba6eb62f
NC
13642021-03-01 Hannes Domani <ssbssa@sourceware.org>
1365 Nick Clifton <nickc@redhat.com>
1366
1367 PR 27268
1368 * scripttempl/pe.sc: Add DWARF-5 section names.
1369 * scripttempl/pep.sc: Likewise.
1370
8ee10e86
AM
13712021-03-01 Alan Modra <amodra@gmail.com>
1372 Fangrui Song <maskray@google.com>
1373
1374 * emultempl/elf.em: Handle -z start-stop-gc and -z nostart-stop-gc.
1375 * lexsup.c (elf_static_list_options): Display help for them. Move
1376 help for -z stack-size to here from elf_shlib_list_options. Add
1377 help for -z start-stop-visibility and -z undefs.
1378 * ld.texi: Document -z start-stop-gc and -z nostart-stop-gc.
1379 * NEWS: Mention -z start-stop-gc.
1380 * testsuite/ld-gc/start2.s,
1381 * testsuite/ld-gc/start2.d: New test.
1382 * testsuite/ld-gc/gc.exp: Run it.
1383
7824c1d2
AM
13842021-03-01 Alan Modra <amodra@gmail.com>
1385
1386 * ldlang.c (undef_start_stop): For ELF make undefined start/stop
1387 symbols undefweak if that was how they were referenced. Undo
1388 dynamic state too.
1389
6a1224ec
AM
13902021-03-01 Alan Modra <amodra@gmail.com>
1391
1392 * testsuite/ld-elf/pr25708.d: Add --with-symbol-versions to nm.
1393 * testsuite/ld-elf/pr27128a.d: Likewise.
1394 * testsuite/ld-elf/pr27128b.d: Likewise.
1395 * testsuite/ld-elf/pr27128c.d: Likewise.
1396 * testsuite/ld-elf/pr27128d.d: Likewise.
1397 * testsuite/ld-elf/pr27128e.d: Likewise.
1398
bfece756
AM
13992021-02-26 Alan Modra <amodra@gmail.com>
1400
1401 PR 27441
1402 * testsuite/ld-plugin/pr27441a.c,
1403 * testsuite/ld-plugin/pr27441b.c,
1404 * testsuite/ld-plugin/pr27441c.c,
1405 * testsuite/ld-plugin/pr27441c.d: New test.
1406 * testsuite/ld-plugin/lto.exp: Run it.
1407
3c27360b
JB
14082021-02-25 Jan Beulich <jbeulich@suse.com>
1409
1410 * ld.texi (PROVIDE): Downgrade "error" to "diagnostic".
1411
89753bbf
AM
14122021-02-21 Alan Modra <amodra@gmail.com>
1413
1414 * ldexp.c (exp_fold_tree_1): Warn on script defining a symbol
1415 defined in an object file.
1416 * ldmain.c (multiple_definition): Heed info->warn_multiple_definition.
1417 * testsuite/ld-scripts/defined5.d: Expect a warning.
1418
2f973f13
AM
14192021-02-19 Alan Modra <amodra@gmail.com>
1420
1421 * testsuite/lib/ld-lib.exp: Whitespace.
1422 (load_common_lib): Expand single use and delete this proc.
1423 (run_host_cmd): Use -fno-lto when getting gcc's ld version.
1424 Use -B for clang too.
1425
a364a116
AB
14262021-02-18 Andrew Burgess <andrew.burgess@embecosm.com>
1427
1428 * testplugin.c (record_read_length): Remove debug fprintf.
1429
5b1f6c95
AM
14302021-02-14 Alan Modra <amodra@gmail.com>
1431
1432 * testsuite/ld-cdtest/cdtest.exp,
1433 * testsuite/ld-checks/checks.exp,
1434 * testsuite/ld-elf/binutils.exp,
1435 * testsuite/ld-elf/compress.exp,
1436 * testsuite/ld-elf/dwarf.exp,
1437 * testsuite/ld-elf/exclude.exp,
1438 * testsuite/ld-elf/frame.exp,
1439 * testsuite/ld-elf/indirect.exp,
1440 * testsuite/ld-elf/linux-x86.exp,
1441 * testsuite/ld-elf/sec-to-seg.exp,
1442 * testsuite/ld-elf/tls_common.exp,
1443 * testsuite/ld-elfcomm/elfcomm.exp,
1444 * testsuite/ld-elfvers/vers.exp,
1445 * testsuite/ld-elfvsb/elfvsb.exp,
1446 * testsuite/ld-elfweak/elfweak.exp,
1447 * testsuite/ld-ifunc/binutils.exp,
1448 * testsuite/ld-mips-elf/mips-elf-flags.exp,
1449 * testsuite/ld-misc/defsym.exp,
1450 * testsuite/ld-mn10300/mn10300.exp,
1451 * testsuite/ld-plugin/lto.exp,
1452 * testsuite/ld-plugin/plugin.exp,
1453 * testsuite/ld-scripts/align.exp,
1454 * testsuite/ld-scripts/assert.exp,
1455 * testsuite/ld-scripts/crossref.exp,
1456 * testsuite/ld-scripts/defined.exp,
1457 * testsuite/ld-scripts/extern.exp,
1458 * testsuite/ld-scripts/log2.exp,
1459 * testsuite/ld-scripts/map-address.exp,
1460 * testsuite/ld-scripts/phdrs.exp,
1461 * testsuite/ld-scripts/phdrs2.exp,
1462 * testsuite/ld-scripts/script.exp,
1463 * testsuite/ld-scripts/section-flags.exp,
1464 * testsuite/ld-scripts/sizeof.exp,
1465 * testsuite/ld-scripts/weak.exp,
1466 * testsuite/ld-selective/selective.exp,
1467 * testsuite/ld-sh/sh.exp,
1468 * testsuite/ld-shared/shared.exp,
1469 * testsuite/ld-srec/srec.exp,
1470 * testsuite/ld-tic6x/tic6x.exp,
1471 * testsuite/ld-undefined/undefined.exp,
1472 * testsuite/ld-undefined/weak-undef.exp,
1473 * testsuite/lib/ld-lib.exp: Don't use unresolved except after
1474 perror. Instead report "unsupported" or "fail".
1475
c46b7066
NC
14762021-02-12 Nick Clifton <nickc@redhat.com>
1477
1478 * testsuite/ld-elf/sec64k.exp: Stop readelf from automatically
1479 following debug links.
1480
933feaf3
AM
14812021-02-11 Alan Modra <amodra@gmail.com>
1482
1483 * NEWS: Mention arm-symbianelf removal.
1484
a57d1773
AM
14852021-02-09 Alan Modra <amodra@gmail.com>
1486
1487 * Makefile.am (ALL_EMULATION_SOURCES): Remove earmsymbian.c.
1488 Don't include symbian dep file.
1489 * configure.tgt: Remove arm*-*-symbianelf* entry.
1490 * emulparams/armsymbian.sh: Delete.
1491 * ld.texi: Don't mention symbian.
1492 * scripttempl/armbpabi.sc: Delete.
1493 * testsuite/ld-arm/symbian-seg1.d: Delete.
1494 * testsuite/ld-arm/symbian-seg1.s: Delete.
1495 * testsuite/ld-arm/arm-elf.exp: Don't run symbian-seg1.
1496 * Makefile.in: Regenerate.
1497 * po/BLD-POTFILES.in: Regenerate.
1498
38a143aa
L
14992021-02-07 H.J. Lu <hongjiu.lu@intel.com>
1500
1501 PR ld/27358
1502 * testsuite/ld-i386/i386.exp: Remove property 3/4/5 run-time
1503 tests.
1504 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1505
35a01a04
NA
15062021-01-26 Nick Alcock <nick.alcock@oracle.com>
1507
1508 * ldlang.c (lang_merge_ctf): Set CTF_LINK_NO_FILTER_REPORTED_SYMS
1509 when appropriate.
1510
1a2f1b54
L
15112021-02-04 H.J. Lu <hongjiu.lu@intel.com>
1512
1513 PR ld/19609
1514 * testsuite/ld-x86-64/pr19609-2a.d: Updated.
1515 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
1516 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
1517 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
1518 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
1519 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
1520 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
1521
37707bd8
L
15222021-02-04 H.J. Lu <hongjiu.lu@intel.com>
1523
1524 PR ld/15146
1525 * testsuite/ld-plugin/lto.exp: Run PR ld/15146 tests.
1526 * testsuite/ld-plugin/pr15146.d: Restored.
1527 * testsuite/ld-plugin/pr15146a.c: Likewise.
1528 * testsuite/ld-plugin/pr15146b.c: Likewise.
1529 * testsuite/ld-plugin/pr15146c.c: Likewise.
1530 * testsuite/ld-plugin/pr15146d.c: Likewise.
1531
7d409ac0
AM
15322021-02-04 Alan Modra <amodra@gmail.com>
1533
1534 * testsuite/ld-plugin/pr27311d.c: New test.
1535 * testsuite/ld-plugin/lto.exp: Rename pr27311 to pr27311-1, compile
1536 and link new test as pr27311-2.
1537
69551367
AM
15382021-02-03 Alan Modra <amodra@gmail.com>
1539
1540 * testsuite/ld-ifunc/ifunc.exp (libpr16467b.so, libpr16467bn.so):
1541 Link with --as-needed.
1542
9918bff7
AM
15432021-02-02 Alan Modra <amodra@gmail.com>
1544
1545 * testsuite/ld-plugin/pr27311.d,
1546 * testsuite/ld-plugin/pr27311.ver,
1547 * testsuite/ld-plugin/pr27311a.c,
1548 * testsuite/ld-plugin/pr27311b.c,
1549 * testsuite/ld-plugin/pr27311c.c: New testcase.
1550 * testsuite/ld-plugin/lto.exp: Run it. Correct PR14918 and
1551 PR12982 entries.
1552
1f568f9a
EH
15532021-02-01 Emery Hemingway <ehmry@posteo.net>
1554
1555 * configure.tgt: Add *-*-genode* as a target for AArch64 and x86.
1556
fb6c220e
AM
15572021-02-01 Alan Modra <amodra@gmail.com>
1558
1559 * ldgram.y (defsym_expr): Use assignment rule.
1560 * ldlex.h (ldlex_defsym): Delete.
1561 * ldlex.l (DEFSYMEXP, ldlex_defsym): Delete.
1562
40726f16
AM
15632021-02-01 Alan Modra <amodra@gmail.com>
1564
1565 * ldgram.y (section): Call ldlex_backup. Remove empty action.
1566 * ldlex.h (ldlex_backup): Declare.
1567 * ldlex.l (<EXPRESSION>NAME): Don't use NOCFILENAMECHAR set of
1568 chars, use SYMBOLNAMECHAR.
1569 (ldlex_backup): New function.
1570
a5f92c67
AM
15712021-02-01 Alan Modra <amodra@gmail.com>
1572
1573 * ldgram.y: Whitespace fixes.
1574
49daa38f
AM
15752021-02-01 Alan Modra <amodra@gmail.com>
1576
1577 * testsuite/ld-elf/pr27259.d: Correct sh_link match.
1578
c4566785
AM
15792021-01-29 Alan Modra <amodra@gmail.com>
1580
1581 * testsuite/ld-tic6x/tic6x.exp: Add pr27271 test.
1582
53e556e5
L
15832021-01-28 H.J. Lu <hongjiu.lu@intel.com>
1584
1585 PR ld/27259
1586 * testsuite/ld-elf/pr27259.d: New file.
1587 * testsuite/ld-elf/pr27259.s: Likewise.
1588
def97fb9
AM
15892021-01-28 Alan Modra <amodra@gmail.com>
1590
1591 PR 27259
1592 * ldelf.c (ldelf_before_place_orphans): Use linker_mark to
1593 prevent endless looping of linked-to sections.
1594
2eda57ef
L
15952021-01-26 H.J. Lu <hongjiu.lu@intel.com>
1596
1597 * testsuite/ld-x86-64/bnd-plt-1.d: Fix a typo.
1598
1c9c9b9b
AM
15992021-01-26 Alan Modra <amodra@gmail.com>
1600
1601 PR 27226
1602 * emulparams/alphavms.sh: Don't set COMPILE_IN.
1603 * emulparams/elf64_ia64_vms.sh: Likewise.
1604 * emulparams/elf64mmix.sh: Likewise.
1605 * emulparams/elf_iamcu.sh: Likewise.
1606 * emulparams/elf_k1om.sh: Likewise.
1607 * emulparams/elf_l1om.sh: Likewise.
1608 * emulparams/mmo.sh: Likewise.
1609 * emulparams/pdp11.sh: Set DATA_SEG_ADDR.
1610 * scripttempl/pdp11.sc: Use it.
1611 * emultempl/pdp11.em: Don't edit .xn script for separate_code,
1612 instead use .xe script. Support scripts from file system.
1613 * emultempl/beos.em: Support scripts from file system.
1614 * emultempl/pe.em: Likewise.
1615 * emultempl/pep.em: Likewise.
1616 * testsuite/ld-bootstrap/bootstrap.exp: Make tmpdir/ldscripts link.
1617
9e42b976
FS
16182021-01-25 Fangrui Song <maskray@google.com>
1619
1620 PR ld/27230
1621 * scripttempl/DWARF.sc: Add .debug_* sections.
1622
b8df6900
NC
16232021-01-25 Nick Clifton <nickc@redhat.com>
1624
1625 * scripttempl/DWARF.sc: Add .debug_loclists, .debug_rnglists,
1626 .debug_line_str and .debug_str_offsets. Move .debug_macro and
1627 .debug_addr into DWARF-5 section.
1628
c78eec44
AM
16292021-01-21 Alan Modra <amodra@gmail.com>
1630
1631 * testsuite/ld-elf/pr26936.d: No longer xfail mips.
1632
4bd7c902
AM
16332021-01-20 Alan Modra <amodra@gmail.com>
1634
1635 * testsuite/ld-powerpc/relbrlt.s: Make symbols global.
1636 * testsuite/ld-powerpc/relbrlt.d: Adjust to suit.
1637 * testsuite/ld-powerpc/tlsget.d: Adjust for reordered stubs.
1638 * testsuite/ld-powerpc/tlsget.wf: Likewise.
1639 * testsuite/ld-powerpc/tlsget2.d: Likewise.
1640 * testsuite/ld-powerpc/tlsget2.wf: Likewise.
1641 * testsuite/ld-powerpc/tlsexe.r: Adjust for removed section syms.
1642 * testsuite/ld-powerpc/tlsexe32.r: Likewise.
1643 * testsuite/ld-powerpc/tlsexe32no.r: Likewise.
1644 * testsuite/ld-powerpc/tlsexeno.r: Likewise.
1645 * testsuite/ld-powerpc/tlsexenors.r: Likewise.
1646 * testsuite/ld-powerpc/tlsexers.r: Likewise.
1647 * testsuite/ld-powerpc/tlsexetoc.r: Likewise.
1648 * testsuite/ld-powerpc/tlsexetocrs.r: Likewise.
1649 * testsuite/ld-powerpc/tlsso.r: Likewise.
1650 * testsuite/ld-powerpc/tlsso32.r: Likewise.
1651 * testsuite/ld-powerpc/tlstocso.r: Likewise.
1652
c98de297
NA
16532021-01-19 Nick Alcock <nick.alcock@oracle.com>
1654
1655 * testsuite/ld-ctf/data-func-2.c: Stop removal of the extern foo_t
1656 symbols by the optimizer.
1657 * testsuite/ld-ctf/data-func-conflicted.d: Adjust accordingly.
1658
85e963f1
NC
16592021-01-19 Nelson Chu <nelson.chu@sifive.com>
1660
1661 * testsuite/ld-elf/elf.exp (riscv_little_endian): Added. Return true
1662 if target is riscv little endian. Otherwise, return false.
1663 * testsuite/ld-elf/compressed1d.d: Only xfail the riscv little endian
1664 targets by [riscv_little_endian].
1665
326adec3
AM
16662021-01-18 Alan Modra <amodra@gmail.com>
1667
1668 PR 26378
1669 * ldlang.c (map_input_to_output_sections): Start with a read-only
1670 section for data statements.
1671 * testsuite/ld-elf/size-2.d: Adjust to suit.
1672
994b2513
L
16732021-01-17 H.J. Lu <hongjiu.lu@intel.com>
1674
1675 PR ld/27193
1676 * testsuite/ld-i386/i386.exp: Run PR ld/27193 test.
1677 * testsuite/ld-i386/pr27193.dd: New file.
1678 * testsuite/ld-i386/pr27193a.o.bz2: Likewise.
1679 * testsuite/ld-i386/pr27193b.s: Likewise.
1680
edf0f284
L
16812021-01-16 H.J. Lu <hongjiu.lu@intel.com>
1682
1683 PR binutils/23460
1684 * testsuite/ld-plugin/lto.exp: Increase the max number of open
1685 files to 20 for PR binutils/23460 test.
1686
75a933f3
L
16872021-01-16 H.J. Lu <hongjiu.lu@intel.com>
1688
1689 PR ld/23169
1690 * testsuite/ld-ifunc/ifunc.exp: Replace pr23169c.rd with
1691 pr23169a.rd for pr23169c and pr23169f. Remove pr23169e tests.
1692 * testsuite/ld-ifunc/pr23169a.c (foo): Don't compare function
1693 address.
1694
68b00778
L
16952021-01-15 H.J. Lu <hongjiu.lu@intel.com>
1696
1697 * NEWS: Mention -z report-relative-reloc.
1698 * ld.texi: Document -z report-relative-reloc.
1699 * emulparams/elf32_x86_64.sh: Source x86-report-relative.sh.
1700 * emulparams/elf_i386.sh: Likewse.
1701 * emulparams/elf_x86_64.sh: Likewse.
1702 * emulparams/x86-report-relative.sh: New file.
1703 * testsuite/ld-i386/report-reloc-1.d: Likewse.
1704 * testsuite/ld-i386/report-reloc-1.l: Likewse.
1705 * testsuite/ld-i386/report-reloc-1.s: Likewse.
1706 * testsuite/ld-x86-64/report-reloc-1-x32.d: Likewse.
1707 * testsuite/ld-x86-64/report-reloc-1.d: Likewse.
1708 * testsuite/ld-x86-64/report-reloc-1.l: Likewse.
1709 * testsuite/ld-x86-64/report-reloc-1.s: Likewse.
1710 * testsuite/ld-i386/i386.exp: Run report-reloc-1.
1711 * testsuite/ld-x86-64/x86-64.exp: Run report-reloc-1 and
1712 report-reloc-1-x32.
1713
eb6e6af8
AM
17142021-01-16 Alan Modra <amodra@gmail.com>
1715
1716 PR 26002
1717 * testsuite/ld-elfvers/vers6.dsym: Expect "Base" for undefined
1718 unversioned symbols.
1719 * testsuite/ld-elfvers/vers16.dsym: Likewise.
1720
b800637e
NC
17212021-01-15 Nelson Chu <nelson.chu@sifive.com>
1722
1723 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-01.d: Updated.
1724 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-02.d: Likewise.
1725 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-03.d: Likewise.
1726 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-04.d: Likewise.
1727 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-05.d: Likewise.
1728 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-06.d: Likewise.
1729
5a10699f
NC
17302021-01-14 Nick Clifton <nickc@redhat.com>
1731
1732 * po/fr.po: Updated French translation.
1733
271bea6a
MF
17342021-01-14 Mike Frysinger <vapier@gentoo.org>
1735
1736 * testsuite/config/default.exp [bfin*-elf*] (gcc_B_opt): Add -msim.
1737
4120e488
AM
17382021-01-14 Alan Modra <amodra@gmail.com>
1739
1740 PR 27160
1741 * ldelfgen.c (compare_link_order): Protect access of ELF section
1742 data.
1743 (add_link_order_input_section): Remove redundant NULL check.
1744 Use bfd_get_flavour.
1745 (ldelf_map_segments): Use bfd_get_flavour.
1746
b634d11d
L
17472021-01-13 H.J. Lu <hongjiu.lu@intel.com>
1748
1749 * ldelfgen.c (add_link_order_input_section): Check for ELF input
1750 before accessing ELF section data.
1751
5347ed60
AM
17522021-01-13 Alan Modra <amodra@gmail.com>
1753
1754 * Makefile.in: Regenerate.
1755
b209b5a6
AM
17562021-01-13 Alan Modra <amodra@gmail.com>
1757
1758 PR 27160
1759 * ldlang.h (lang_output_section_statement_type): Add data field.
1760 (lang_input_section_type, lang_section_bst_type): Add pattern field.
1761 (statement_list): Declare.
1762 (lang_add_section): Adjust prototype.
1763 * emultempl/aarch64elf.em: Adjust lang_add_section calls.
1764 * emultempl/armelf.em: Likewise.
1765 * emultempl/beos.em: Likewise.
1766 * emultempl/cskyelf.em: Likewise.
1767 * emultempl/hppaelf.em: Likewise.
1768 * emultempl/m68hc1xelf.em: Likewise.
1769 * emultempl/metagelf.em: Likewise.
1770 * emultempl/mipself.em: Likewise.
1771 * emultempl/mmo.em: Likewise.
1772 * emultempl/msp430.em: Likewise.
1773 * emultempl/nios2elf.em: Likewise.
1774 * emultempl/pe.em: Likewise.
1775 * emultempl/pep.em: Likewise.
1776 * emultempl/ppc64elf.em: Likewise.
1777 * emultempl/spuelf.em: Likewise.
1778 * emultempl/vms.em: Likewise.
1779 * ldelf.c: Likewise.
1780 * ldelfgen.c: Include ldctor.h.
1781 (struct os_sections): New.
1782 (add_link_order_input_section, link_order_scan): New functions.
1783 (compare_link_order, fixup_link_order): New functions.
1784 (ldelf_map_segments): Call link_order_scan and fixup_link_order.
1785 * ldlang.c (statement_list): Make global.
1786 (output_section_callback_fast): Save pattern in tree node.
1787 (lang_add_section): Add pattern parameter, save in lang_input_section.
1788 (output_section_callback_tree_to_list): Adjust lang_add_section calls.
1789 (lang_insert_orphan, output_section_callback): Likewise.
1790 (ldlang_place_orphan): Likewise.
1791 (gc_section_callback): Don't set section->pattern.
1792 * testsuite/ld-elf/pr26256-2a.d: Don't xfail generic.
1793 * testsuite/ld-elf/pr26256-3b.d: Likewise.
1794 * testsuite/ld-elf/pr26256-2b.d: Likewise. notarget xgate.
1795
8c4645b4
AM
17962021-01-13 Alan Modra <amodra@gmail.com>
1797
1798 * ldlang.h (callback_t): Remove flag_info function parameter.
1799 * ldlang.c (walk_wild_consider_section): Adjust to suit.
1800 (walk_wild_section_general): Likewise.
1801 (output_section_callback_fast, output_section_callback): Likewise.
1802 (check_section_callback, gc_section_callback): Likewise.
1803 (find_relro_section_callback): Likewise.
1804
d546b610
L
18052021-01-12 H.J. Lu <hongjiu.lu@intel.com>
1806
1807 PR binutils/26792
1808 * configure.ac: Use GNU_MAKE_JOBSERVER.
1809 * aclocal.m4: Regenerated.
1810 * configure: Likewise.
1811
c2e9a4a3
L
18122021-01-12 H.J. Lu <hongjiu.lu@intel.com>
1813
1814 PR ld/27171
1815 * testsuite/ld-x86-64/pe-x86-64-5.obj.bz2: New file.
1816 * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise.
1817 * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise.
1818 * testsuite/ld-x86-64/pe-x86-64.exp: Run PR ld/27171 test.
1819
83b33c6c
L
18202021-01-11 H.J. Lu <hongjiu.lu@intel.com>
1821
1822 PR ld/27173
1823 * configure: Regenerated.
1824
c0f6e439
MJ
18252021-01-11 Matt Jenkins <matt@majenko.co.uk>
1826
1827 PR ld/27167
1828 * ldmain.c (get_emulation): Add mipsmips32r3, mips32r5, mips64r3
1829 and mips64r5 to list of known mips targets.
1830
18312021-01-11 Nick Clifton <nickc@redhat.com>matt@majenko.co.uk
a8aa72b9
NC
1832
1833 * po/pt_BR.po: Updated Brazilian Portuguese translation.
1834` * po/uk.po: Updated Ukranian translation.
1835
a4966cd9
L
18362021-01-09 H.J. Lu <hongjiu.lu@intel.com>
1837
1838 * configure: Regenerated.
1839
0a94990b
L
18402021-01-09 H.J. Lu <hongjiu.lu@intel.com>
1841
1842 PR ld/27166
1843 * testsuite/ld-x86-64/lam-u48.rd: New file.
1844 * testsuite/ld-x86-64/lam-u57.rd: Likewise.
1845 * testsuite/ld-x86-64/x86-64.exp: Add PR ld/27166 tests.
1846
573fe3fb
NC
18472021-01-09 Nick Clifton <nickc@redhat.com>
1848
1849 * configure: Regenerate.
1850 * po/ld.pot: Regenerate.
1851
055bc77a
NC
18522021-01-09 Nick Clifton <nickc@redhat.com>
1853
1854 * 2.36 release branch crated.
1855
ba9e922f
L
18562021-01-08 H.J. Lu <hongjiu.lu@intel.com>
1857
1858 * ld-x86-64/property-x86-lam-u48-4.d: Updated.
1859 * ld-x86-64/property-x86-lam-u48-5.d: Likewise.
1860
64307045
AM
18612021-01-09 Alan Modra <amodra@gmail.com>
1862
1863 * configure: Regenerate.
1864 * Makefile.in: Regenerate.
1865
f4782128
ST
18662021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
1867
1868 * configure: Regenerate.
1869
d1bcae83
L
18702021-01-07 H.J. Lu <hongjiu.lu@intel.com>
1871
1872 PR 27109
1873 * testsuite/ld-elf/export-class.sd: Adjust the expected output.
1874 * testsuite/ld-elf/loadaddr3b.d: Likewise.
1875 * testsuite/ld-i386/ibt-plt-1.d: Likewise.
1876 * testsuite/ld-i386/ibt-plt-2a.d: Likewise.
1877 * testsuite/ld-i386/ibt-plt-2c.d: Likewise.
1878 * testsuite/ld-i386/ibt-plt-3a.d: Likewise.
1879 * testsuite/ld-i386/ibt-plt-3c.d: Likewise.
1880 * testsuite/ld-i386/pr19636-1d.d: Likewise.
1881 * testsuite/ld-i386/pr19636-1l.d: Likewise.
1882 * testsuite/ld-i386/pr19636-2c.d: Likewise.
1883 * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise.
1884 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise.
1885 * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Likewise.
1886 * testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise.
1887 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1888 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1889 * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise.
1890 * testsuite/ld-ifunc/pr17154-i386.d: Likewise.
1891 * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
1892 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
1893 * testsuite/ld-x86-64/bnd-branch-1-now.d: Likewise.
1894 * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise.
1895 * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise.
1896 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
1897 * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise.
1898 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
1899 * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise.
1900 * testsuite/ld-x86-64/ibt-plt-1.d: Likewise.
1901 * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise.
1902 * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise.
1903 * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise.
1904 * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise.
1905 * testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise.
1906 * testsuite/ld-x86-64/ibt-plt-3a.d: Likewise.
1907 * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise.
1908 * testsuite/ld-x86-64/ibt-plt-3c.d: Likewise.
1909 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
1910 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
1911 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
1912 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
1913 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
1914 * testsuite/ld-x86-64/pr19636-2l.d: Likewise.
1915 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
1916 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
1917 * testsuite/ld-x86-64/pr21038b-now.d: Likewise.
1918 * testsuite/ld-x86-64/pr21038b.d: Likewise.
1919 * testsuite/ld-x86-64/pr21038c-now.d: Likewise.
1920 * testsuite/ld-x86-64/pr21038c.d: Likewise.
1921 * testsuite/ld-x86-64/pr23854.d: Likewise.
1922 * testsuite/ld-x86-64/pr25416-3.d: Likewise.
1923 * testsuite/ld-x86-64/pr25416-4.d: Likewise.
1924 * testsuite/ld-i386/plt-pic.pd: Likewise.
1925 * testsuite/ld-i386/plt-pic2.dd: Likewise.
1926 * testsuite/ld-i386/plt.pd: Likewise.
1927 * testsuite/ld-i386/plt2.dd: Likewise.
1928 * testsuite/ld-i386/tlsbin.rd: Likewise.
1929 * testsuite/ld-i386/tlsbin2.rd: Likewise.
1930 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
1931 * testsuite/ld-i386/tlsdesc.rd: Likewise.
1932 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
1933 * testsuite/ld-i386/tlsnopic.rd: Likewise.
1934 * testsuite/ld-i386/tlspic.rd: Likewise.
1935 * testsuite/ld-i386/tlspic2.rd: Likewise.
1936 * testsuite/ld-x86-64/mpx3.dd: Likewise.
1937 * testsuite/ld-x86-64/mpx3n.dd: Likewise.
1938 * testsuite/ld-x86-64/mpx4.dd: Likewise.
1939 * testsuite/ld-x86-64/mpx4n.dd: Likewise.
1940 * testsuite/ld-x86-64/pe-x86-64-1.od: Likewise.
1941 * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise.
1942 * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise.
1943 * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise.
1944 * testsuite/ld-x86-64/plt.pd: Likewise.
1945 * testsuite/ld-x86-64/plt2.dd: Likewise.
1946 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
1947 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
1948 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
1949 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1950 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
1951 * testsuite/ld-x86-64/tlspic.rd: Likewise.
1952 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
1953 * testsuite/ld-elf/sec64k.exp: Check
1954 is_elf_unused_section_symbols.
1955
dc200613
AM
19562021-01-07 Alan Modra <amodra@gmail.com>
1957
1958 * testsuite/ld-scripts/fill.d: Skip sh-*-pe rather than xfail.
1959 * testsuite/ld-scripts/fill16.d: Don't xfail sh-*-pe.
1960 * testsuite/ld-scripts/segment-start.d: Likewise.
1961
8e604ff0
AM
19622021-01-07 Alan Modra <amodra@gmail.com>
1963
1964 * testsuite/ld-elf/comm-data5.d: xfail targets that complain
1965 about dynamic relocations in read-only sections.
1966 * testsuite/ld-elf/ehdr_start-shared.d: Likewise.
1967 * testsuite/ld-elf/ehdr_start.d: Likewise.
1968 * testsuite/ld-scripts/pr22267.d: Likewise.
1969 * testsuite/ld-elf/shared.exp: Likewise for DT_TEXTREL tests and
1970 pr20995 text.
1971 * testsuite/ld-elf/sec64k.exp: Don't run 64ksec on lm32-linux.
1972
4d4490b8
MC
19732021-01-07 Marcus Comstedt <marcus@mc.pp.se>
1974
1975 * testsuite/ld-scripts/empty-address-2a.d: xfail riscv64*-*-*.
1976 * testsuite/ld-scripts/empty-address-2b.d: Likewise.
1977
f526791a
AM
19782021-01-07 Alan Modra <amodra@gmail.com>
1979
1980 * po/BLD-POTFILES.in: Regenerate.
1981
4018f4e0
AM
19822021-01-07 Alan Modra <amodra@gmail.com>
1983
1984 * testsuite/ld-elf/shared.exp: xfail pr22471 for targets that
1985 complain about relocs in read-only sections. Tidy ASFLAGS append.
1986
3677b729
AM
19872021-01-06 Alan Modra <amodra@gmail.com>
1988
1989 * testsuite/ld-sparc/sparc.exp (sparc64tests): Set text-segment
1990 base for some tests.
1991 * testsuite/ld-sparc/gotop32.dd: Match solaris output.
1992 * testsuite/ld-sparc/gotop32.sd: Likewise.
1993 * testsuite/ld-sparc/gotop32.td: Likewise.
1994 * testsuite/ld-sparc/gotop64.dd: Likewise.
1995 * testsuite/ld-sparc/gotop64.sd: Likewise.
1996 * testsuite/ld-sparc/gotop64.td: Likewise.
1997 * testsuite/ld-sparc/tlsg32.sd: Likewise.
1998 * testsuite/ld-sparc/tlsg64.sd: Likewise.
1999 * testsuite/ld-sparc/tlspie32.dd: Likewise.
2000 * testsuite/ld-sparc/tlspie64.dd: Likewise.
2001 * testsuite/ld-sparc/tlssunbin32.dd: Likewise.
2002 * testsuite/ld-sparc/tlssunbin32.sd: Likewise.
2003 * testsuite/ld-sparc/tlssunbin32.td: Likewise.
2004 * testsuite/ld-sparc/tlssunbin64.dd: Likewise.
2005 * testsuite/ld-sparc/tlssunbin64.sd: Likewise.
2006 * testsuite/ld-sparc/tlssunbin64.td: Likewise.
2007 * testsuite/ld-sparc/tlssunnopic32.dd: Likewise.
2008 * testsuite/ld-sparc/tlssunnopic32.sd: Likewise.
2009 * testsuite/ld-sparc/tlssunnopic64.dd: Likewise.
2010 * testsuite/ld-sparc/tlssunnopic64.sd: Likewise.
2011 * testsuite/ld-sparc/tlssunpic32.dd: Likewise.
2012 * testsuite/ld-sparc/tlssunpic32.sd: Likewise.
2013 * testsuite/ld-sparc/tlssunpic32.td: Likewise.
2014 * testsuite/ld-sparc/tlssunpic64.dd: Likewise.
2015 * testsuite/ld-sparc/tlssunpic64.sd: Likewise.
2016 * testsuite/ld-sparc/tlssunpic64.td: Likewise.
2017 * testsuite/ld-sparc/wdispcall.dd: Likewise.
2018
73624512
AM
20192021-01-06 Alan Modra <amodra@gmail.com>
2020
2021 * testsuite/ld-scripts/rgn-at10.d: xfail v850.
2022 * testsuite/ld-scripts/rgn-at11.d: Likewise.
2023
f36ce378
MC
20242021-01-06 Marcus Comstedt <marcus@mc.pp.se>
2025
2026 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Added
2027 riscv_choose_[ilp32|lp64]_emul to choose the correct linker script.
2028 * testsuite/ld-riscv-elf/attr-merge-arch-01.d: Call
2029 riscv_choose_[ilp32|lp64]_emul instead of hardcoding elf[32|64]lriscv.
2030 * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
2031 * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
2032 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Likewise.
2033 * testsuite/ld-riscv-elf/attr-merge-arch-failed-02.d: Likewise.
2034 * testsuite/ld-riscv-elf/c-lui-2.d: Likewise.
2035 * testsuite/ld-riscv-elf/c-lui.d: Likewise.
2036 * testsuite/ld-riscv-elf/call-relax.d: Likewise.
2037 * testsuite/ld-riscv-elf/pcrel-lo-addend-2.d: Likewise.
2038 * testsuite/ld-riscv-elf/pcrel-lo-addend.d: Likewise.
2039 * testsuite/ld-riscv-elf/weakref32.d: Accept bigriscv in addition
2040 to littleriscv.
2041 * testsuite/ld-riscv-elf/weakref64.d: Likewise.
2042
fbc09e7a
MC
20432021-01-06 Marcus Comstedt <marcus@mc.pp.se>
2044
2045 * configure.tgt: Added riscvbe-*-*, riscv32be*-*-*, riscv64be*-*-*,
2046 riscv32be*-*-linux*, and riscv64be*-*-linux*.
2047 * Makefile.am: Added eelf32briscv.c, eelf32briscv_ilp32f.c and
2048 eelf32briscv_ilp32.c.
2049 * Makefile.in: Regenerate.
2050 * emulparams/elf32briscv.sh: Added.
2051 * emulparams/elf32briscv_ilp32.sh: Likewise.
2052 * emulparams/elf32briscv_ilp32f.sh: Likewise.
2053 * emulparams/elf64briscv.sh: Likewise.
2054 * emulparams/elf64briscv_lp64.sh: Likewise.
2055 * emulparams/elf64briscv_lp64f.sh: Likewise.
2056
b4b6ea46
NA
20572021-01-05 Nick Alcock <nick.alcock@oracle.com>
2058
2059 * testsuite/ld-ctf/enum-forward.c: New test.
2060 * testsuite/ld-ctf/enum-forward.c: New results.
2061
37002871
NA
20622021-01-05 Nick Alcock <nick.alcock@oracle.com>
2063
2064 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
2065 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
2066 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
2067 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
2068 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
2069 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
2070 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
2071 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
2072 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
2073 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
2074 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
2075 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
2076 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
2077 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
2078 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
2079 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
2080 * testsuite/ld-ctf/cycle-1.d: Likewise.
2081 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
2082 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
2083 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
2084 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
2085 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
2086 * testsuite/ld-ctf/diag-cuname.d: Likewise.
2087 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
2088 * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise.
2089 * testsuite/ld-ctf/forward.d: Likewise.
2090 * testsuite/ld-ctf/function.d: Likewise.
2091 * testsuite/ld-ctf/slice.d: Likewise.
2092 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
2093 * testsuite/ld-ctf/enums.c: New test.
2094 * testsuite/ld-ctf/enums.d: New test.
2095
ffeece6a
NA
20962021-01-05 Nick Alcock <nick.alcock@oracle.com>
2097
2098 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Adjust for dumper
2099 changes.
2100 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
2101 * testsuite/ld-ctf/forward.c: New test...
2102 * testsuite/ld-ctf/forward.d: ... and results.
2103
91e7ce2f
NA
21042021-01-05 Nick Alcock <nick.alcock@oracle.com>
2105
2106 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
2107 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
2108 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
2109 * testsuite/ld-ctf/diag-cuname.d: Likewise.
2110 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
2111 * testsuite/ld-ctf/function.d: Likewise.
2112 * testsuite/ld-ctf/slice.d: Likewise.
2113
57f97d0e
NA
21142021-01-05 Nick Alcock <nick.alcock@oracle.com>
2115
2116 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
2117 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
2118 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
2119 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
2120 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
2121 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
2122 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
2123 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
2124 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
2125 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
2126 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
2127 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
2128 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
2129 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
2130 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
2131 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
2132 * testsuite/ld-ctf/cycle-1.d: Likewise.
2133 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
2134 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
2135 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
2136 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
2137 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
2138 * testsuite/ld-ctf/diag-cuname.d: Likewise.
2139 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
2140 * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise.
2141 * testsuite/ld-ctf/function.d: Likewise.
2142 * testsuite/ld-ctf/slice.d: Likewise.
2143 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
2144
b281a04f
AM
21452021-01-05 Alan Modra <amodra@gmail.com>
2146
2147 * testsuite/ld-scripts/sysroot-prefix.exp: Exclude some targets.
2148
40b11930
AM
21492021-01-05 Alan Modra <amodra@gmail.com>
2150
2151 PR ld/26256
2152 * testsuite/ld-elf/pr26256-1b.d: xfail s12z.
2153 * testsuite/ld-scripts/crossref.exp (cross1): Don't xfail ia64.
2154
cd6d537c
L
21552021-01-04 H.J. Lu <hongjiu.lu@intel.com>
2156
2157 PR ld/26256
2158 * ldlang.c (gc_section_callback): Set pattern.
2159 * testsuite/ld-elf/pr26256-1.s: New file.
2160 * testsuite/ld-elf/pr26256-1.t: Likewise.
2161 * testsuite/ld-elf/pr26256-1a.d: Likewise.
2162 * testsuite/ld-elf/pr26256-1b.d: Likewise.
2163 * testsuite/ld-elf/pr26256-2.s: Likewise.
2164 * testsuite/ld-elf/pr26256-2.t: Likewise.
2165 * testsuite/ld-elf/pr26256-2a.d: Likewise.
2166 * testsuite/ld-elf/pr26256-2b-alt.d: Likewise.
2167 * testsuite/ld-elf/pr26256-2b.d: Likewise.
2168 * testsuite/ld-elf/pr26256-3.s: Likewise.
2169 * testsuite/ld-elf/pr26256-3a.d: Likewise.
2170 * testsuite/ld-elf/pr26256-3a.t: Likewise.
2171 * testsuite/ld-elf/pr26256-3b.d: Likewise.
2172 * testsuite/ld-elf/pr26256-3b.t: Likewise.
2173
5b4293ba
AM
21742021-01-04 Alan Modra <amodra@gmail.com>
2175
2176 PR 26822
2177 * testsuite/ld-arm/non-contiguous-arm2.d: Adjust STT_FILE symbol match.
2178 * testsuite/ld-arm/non-contiguous-arm3.d: Likewise.
2179 * testsuite/ld-arm/non-contiguous-arm5.d: Likewise.
2180 * testsuite/ld-arm/non-contiguous-arm6.d: Likewise.
2181 * testsuite/ld-i386/tlsbin.rd: Likewise.
2182 * testsuite/ld-i386/tlsbin2.rd: Likewise.
2183 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
2184 * testsuite/ld-i386/tlsdesc.rd: Likewise.
2185 * testsuite/ld-i386/tlsnopic.rd: Likewise.
2186 * testsuite/ld-i386/tlspic.rd: Likewise.
2187 * testsuite/ld-i386/tlspic2.rd: Likewise.
2188 * testsuite/ld-mips-elf/global-local-symtab-sort-n64.d: Likewise.
2189 * testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d: Likewise.
2190 * testsuite/ld-mips-elf/global-local-symtab-sort-o32.d: Likewise.
2191 * testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d: Likewise.
2192 * testsuite/ld-plugin/pr17973.d: Likewise.
2193 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
2194 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
2195 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
2196 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
2197 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
2198 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
2199 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
2200 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
2201 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
2202 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
2203 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
2204 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
2205 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
2206 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
2207 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
2208 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
2209 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
2210 * testsuite/ld-x86-64/tlspic.rd: Likewise.
2211 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
2212 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
2213 * testsuite/ld-xtensa/tlspic.rd: Likewise.
2214
f9a6a8f0
AM
22152021-01-01 Nicolas Boulenguez <nicolas@debian.org>
2216
2217 * configure.tgt: Correct comment grammar.
2218 * emultempl/m68hc1xelf.em: Likewise.
2219 * ld.texi: Correct grammar.
2220
250d07de
AM
22212021-01-01 Alan Modra <amodra@gmail.com>
2222
2223 Update year range in copyright notice of all files.
2224
c2795844 2225For older changes see ChangeLog-2020
3499769a 2226\f
d87bef3a 2227Copyright (C) 2021-2023 Free Software Foundation, Inc.
3499769a
AM
2228
2229Copying and distribution of this file, with or without modification,
2230are permitted in any medium without royalty provided the copyright
2231notice and this notice are preserved.
2232
2233Local Variables:
2234mode: change-log
2235left-margin: 8
2236fill-column: 74
2237version-control: never
2238End: