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