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