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