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