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