]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/ChangeLog
Updated Bulgarian and Russian translations for LD and BFD respectively
[thirdparty/binutils-gdb.git] / ld / ChangeLog
CommitLineData
59e1f50f
NC
12023-01-06 Nick Clifton <nickc@redhat.com>
2
3 * po/bg.po: Updated Bulgarian translation.
4
beb6b61d
NC
52023-01-05 Nick Clifton <nickc@redhat.com>
6
7 * configure.tgt: Add arm64pe as an extra emulation for aarch64pe.
8 * Makefile.am (ALL_64_EMULATION_SOURCES): Add earm64pe.c
9 * emultempl/pep.em: Add suppport for arm64pe emulation.
10 * Makefile.in: Regenerate.
11 * po/BLD-POTFILES.in: Regenerate.
12 * po/ld.pot: Regenerate.
13
b26c8438
AH
142023-01-05 Andreas K. Huettel <dilfridge@gentoo.org>
15
16 * testsuite/ld-elf/shared.exp: un-xfail the PR19710 test for the
17 AArch64 architecture.
18
502c7218
AH
192023-01-04 Andreas K. Huettel <dilfridge@gentoo.org>
20
21 PR 29843
22 * testsuite/ld-aarch64/bti-plt-5.d: Relax regxps slightly to allow
23 for differences in build environments.
24 * testsuite/ld-aarch64/tls-relax-gdesc-le-now.d: Likewise.
25
11982f9f
NC
262023-01-03 Nick Clifton <nickc@redhat.com>
27
28 * po/uk.po: Updated Ukrainian translation.
29
a72b0718
NC
302022-12-31 Nick Clifton <nickc@redhat.com>
31
32 * 2.40 branch created.
33
a7a32d58
NC
342022-12-21 Nick Clifton <nickc@redhat.com>
35
36 PR 29900
37 * scripttempl/pe.sc: Keep the .drectve section when performing a
38 relocateable link.
39 * scripttempl/pep.sc: Likewise.
40
dcb53d93
NC
412022-12-08 Nick Clifton <nickc@redhat.com>
42
43 PR 29861
44 * ld.texi (Output Section Type): Note that setting the output
45 section type only works if the section contains untyped data.
46
3bf5bf54
NC
472022-12-05 Nick Clifton <nickc@redhat.com>
48
49 PR 29849
50 * ldlang.c (spec_match): Check that there is sufficient length in
51 the target name to match the spec's prefix.
52
e26943f9
NC
532022-11-03 Nick Clifton <nickc@redhat.com>
54
55 PR 29748
56 * configure.tgt (ac_default_ld_warn_rwx_segments): Set to 0 for
57 the V850.
58
fa6895ad
NC
592022-11-03 Nick Clifton <nickc@redhat.com>
60
78cd9188 61 PR 29741
fa6895ad
NC
62 * scripttempl/avr.sc (__DATA_REGION_ORIGIN__): Define. If a value
63 has not been provided on the command line then use DATA_ORIGIN.
64 (MEMORY): Use __DATA_REGION_ORIGIN__ as the start of the data region.
65
4b2e7a57
NC
662022-10-21 Nick Clifton <nickc@redhat.com>
67
68 PR 29654
69 * ld.h (struct ld_config_type): Add no_warnings field.
70 * ldlex.h (enum option_values): Add OPTION_NO_WARNINGS.
71 * lexsup.c (ld_options): Add --no-warnings.
72 (parse_args): Add support for -w and --no-warnings.
73 * ldmisc.c (vfinfo): Return early if the message is a warning and
74 -w has been enabled.
75 * ld.texi (options): Document new command line option.
76 * NEWS: Mention the new feature.
77
37833b96
NC
782022-08-30 Nick Clifton <nickc@redhat.com>
79
80 PR 29529
81 * testsuite/ld-x86-64/pr27587.err: Update expected output.
82
f0821653
RH
832022-08-18 Ralf Habacker <ralf.habacker@freenet.de>
84
85 PR 28362
86 * testsuite/ld-pe/pe-run2-def.exp: New file.
87
a6ad7914
AM
882022-08-03 Alan Modra <amodra@gmail.com>
89
90 PR 29389
91 * ldlang.h (lang_input_statement_struct): Add sort_key field.
92 * emultempl/pe.em (after_open): If multiple import libraries refer
93 to the same bfd, store their names in the sort_key field.
94 * emultempl/pep.em (after_open): Likewise.
95 * ldlang.c (sort_filename): New function. Returns the filename to
96 be used when sorting input files.
97 (wild_sort): Use the sort_filename function.
98
b80b72c0
RO
992022-07-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
100
101 PR ld/29411
102 * configure.tgt (ac_default_ld_warn_rwx_segments): Extend to all
103 sparc targets. Expand comment.
104
91896b4d
NC
1052022-07-26 Nick Clifton <nickc@redhat.com>
106
107 PR 29411
108 * configure.tgt (ac_default_ld_warn_rwx_segments): Disable for
109 sparc-solaris configurations.
110
0bd09323
NC
1112022-07-08 Nick Clifton <nickc@redhat.com>
112
113 * 2.39 branch created.
114
ed1c7ad8
NC
1152022-06-27 Nick Clifton <nickc@redhat.com>
116
117 PR 29263
118 * configure.ac: Move HPPA specific code from here...
119 * configure.tgt: ... to here. Add similar code for MIPS.
120 Move code for CRIS, MIPS and HPPA to block at start of file.
121 * configure: Regenerate.
122
acd65fa6
NC
1232022-06-21 Nick Clifton <nickc@redhat.com>
124
125 PR 29263
126 * configure.ac (ac_default_ld_warn_execstack): Default to 'no' for
127 HPPA targets.
128 (ac_default_ld_warn_rwx_segments): Likewise.
129 * configure: Regenerate.
130 * testsuite/ld-elf/elf.exp: Add the --warn-execstack command line
131 option to the command line when running execstack tests for the
132 HPPA target.
133
678dc756
AM
1342022-05-12 Alan Modra <amodra@gmail.com>
135
136 PR 29006
137 * pe-dll.c (dll_name): Delete, replacing with..
138 (dll_filename): ..this, moved earlier in file.
139 (generate_edata): Delete parameters. Don't set up dll_name here..
140 (pe_process_import_defs): ..instead set up dll_filename and
141 dll_symname here before returning.
142 (dll_symname_len): Delete write-only variable.
143 (pe_dll_generate_implib): Don't set up dll_symname here.
144
46465574
NC
1452022-05-03 Nick Clifton <nickc@redhat.com>
146
147 PR 29101
148 * libdep_plugin.c (get_libdeps): Check for overflow when computing
149 amount of memory to allocate.
150
639d467b
NC
1512022-04-27 Nick Clifton <nickc@redhat.com>
152
153 PR 29006
154 * pe-dll.c (make_head): Use asprintf to allocate and populate a
155 buffer containing the temporary name.
156 (make_tail, make_one, make_singleton_name_thunk): Likewise.
157 (make_import_fixup_mark, make_import_fixup_entry): Likewise.
158 (make_runtime_pseudo_reloc): Likewise.
159 (pe_create_runtime_relocator_reference): Likewise.
160
0d38576a
NC
1612022-04-25 Nick Clifton <nickc@redhat.com>
162
163 PR 29072
164 * testsuite/ld-elf/pr29072.b.warn: Update to include the note
165 about the linker's behaviour being depreccated.
166
2d23f965
CC
1672022-04-20 Clément Chigot <clement.chigot@atos.net>
168
169 * emultempl/aix.em (params): New variable.
170 (stub_file): New variable.
171 (xcoff_add_stub_section): New function.
172 (xcoff_layout_sections_again): New function
173 (hook_in_stub): New function.
174 (_after_allocation): Add stub creation.
175 (_create_output_section_statements): Allocate stub file and
176 pass params to backend.
177
1876a542
CC
1782022-04-20 Clément Chigot <clement.chigot@atos.net>
179
180 * emultempl/aix.em (_after_allocation): New function.
181
145667f8
MH
1822022-04-07 Mark Harmstone <mark@harmstone.com>
183
184 * testsuite/ld-pe/secidx1.s: New test source file.
185 * testsuite/ld-pe/secidx2.s: New test source file.
186 * testsuite/ld-pe/secidx.d: New test driver file.
187 * testsuite/ld-pe/secidx_64.d: New test driver file.
188 * testsuite/ld-pe/pe.exp: Add new tests.
189
95e96e05
NC
1902022-03-01 Nick Clifton <nickc@redhat.com>
191
192 PR 21964
193 * testsuite/ld-elf/pr21964-1a.c: Fix array comparisons.
194 * testsuite/ld-elf/pr21964-1b.c: Likewise.
195 * testsuite/ld-elf/pr21964-1c.c: Likewise.
196 * testsuite/ld-elf/pr21964-2a.c: Likewise.
197 * testsuite/ld-elf/pr21964-2b.c: Likewise.
198 * testsuite/ld-elf/pr21964-3a.c: Likewise.
199
5c14cc55
RM
2002022-02-17 Roland McGrath <mcgrathr@google.com>
201
202 * ld.texi (Output Section Type): Fix typo in @code syntax.
203
36d285b9
NC
2042022-02-17 Nick Clifton <nickc@redhat.com>
205
206 * po/sr.po: Updated Serbian translation.
207
c212f39d 2082022-02-16 Fangrui Song <maskray@google.com>
5c14cc55 209 Nick Clifton <nickc@redhat.com>
c212f39d
FS
210
211 PR ld/28841
212 * ld.texi: Document new output section type.
213 * ldlex.l: Add new token TYPE.
214 * ldgram.y: Handle TYPE=exp and READONLY (TYPE=exp).
215 * ldlang.h: Add type_section to list of section types.
216 * ldlang.c (lang_add_section): Handle type_section.
217 (map_input_to_output_sections): Handle type_section.
218 * testsuite/ld-scripts/output-section-types.t: Add tests.
219 * testsuite/ld-scripts/output-section-types.d: Update.
220
a6983974
NC
2212022-02-02 Nick Clifton <nickc@redhat.com>
222
223 * po/fr.po: Updated French translation.
224
5fe73d46
NC
2252022-01-24 Nick Clifton <nickc@redhat.com>
226
227 * po/bg.po: Updated Bulgarian translation.
228 * po/uk.po: Updated Ukranian translation.
229
cc5e4073
AGI
2302022-01-22 Alexander von Gluck IV <kallisti5@unixzen.com>
231
232 * configure.tgt (arm-haiku): Fix typo.
233 * emulparams/armelf_haiku.su (MAXPAGESIZE): Use the default value.
234 (COMMONPAGESIZE): Likewise.
235
f908e960
NC
2362022-01-22 Nick Clifton <nickc@redhat.com>
237
238 * configure: Regenerate.
239 * po/ld.pot: Regenerate.
240
a74e1cb3
NC
2412022-01-22 Nick Clifton <nickc@redhat.com>
242
243 * 2.38 release branch created.
244
e901223d
NC
2452022-01-21 Nick Clifton <nickc@redhat.com>
246
247 * po/sr.po: Updated Serbian translation.
248
6c037fdb
NC
2492022-01-17 Nick Clifton <nickc@redhat.com>
250
251 * Makefile.in: Regenerate.
252 * po/ld.pot: Regenerate.
253
c4a8df19
MS
2542022-01-11 Martin Storsjö <martin@martin.st>
255
256 * pe-dll.c (make_head): Prefix the symbol name with the dll name.
257 (make_tail, make_one, make_singleton_name_thunk): Likewise.
258 (make_import_fixup_entry, make_runtime_pseudo_reloc): Likewise.
259 (pe_create_runtime_relocator_reference): Likewise.
260 (pe_dll_generate_implib): Set dll_symname_len.
261 (pe_process_import_defs): Likewise.
262
f3be70df
NC
2632021-12-16 Nick Clifton <nickc@redhat.com>
264
265 PR 28686
266 * testsuite/ld-avr/avr-prop-7.d: Adjust expected output.
267 * testsuite/ld-avr/avr-prop-8.d: Likewise.
268 * testsuite/ld-avr/pr13402.d: Likewise.
269
44b357eb
NC
2702021-11-30 Nick Clifton <nickc@redhat.com>
271
272 * scripttempl/pru.sc (.pru_irq_map): Define output section.
273 * testsuite/ld-pru/pru_irq_map-1.d: New test.
274 * testsuite/ld-pru/pru_irq_map-2.d: New test.
275 * testsuite/ld-pru/pru_irq_map.s: New test.
276
ef6379e1
JD
2772021-11-17 Jeremy Drake <cygwin@jdrake.com>
278
279 * emultempl/pep.em (DEFAULT_DLL_CHARACTERISTICS): Set to 0 for
280 Cygwin targets.
281 * emultempl/pep.em (DEFAULT_DLL_CHARACTERISTICS): Likewise.
282
ee9e412f
NC
2832021-11-17 Nick Clifton <nickc@redhat.com>
284
285 PR 28452
286 * ldgram.y: Add support for PT_GNU_RELRO and PT_GNU_PROPERTY.
287 * ldgram.c: Regenerate.
288
d029b54d
RM
2892021-11-15 Roland McGrath <mcgrathr@google.com>
290
291 * testsuite/ld-aarch64/dt_textrel.d: Pass explicit -z notext in
292 case ld was configured with --enable-textrel-check=error.
293 * testsuite/ld-aarch64/pr22764.d: Likewise.
294 * testsuite/ld-aarch64/pr20402.d: Likewise.
295
eb5323fd
NA
2962021-10-25 Nick Alcock <nick.alcock@oracle.com>
297
298 * testsuite/ld-ctf/nonrepresentable-member.*: New test.
299
10909ea8
NA
3002021-10-25 Nick Alcock <nick.alcock@oracle.com>
301
302 * testsuite/ld-ctf/array.d: Change --ctf=.ctf to --ctf.
303 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
304 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
305 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
306 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
307 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
308 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
309 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
310 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
311 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
312 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
313 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
314 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
315 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
316 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
317 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
318 * testsuite/ld-ctf/cycle-1.d: Likewise.
319 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
320 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
321 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
322 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
323 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
324 * testsuite/ld-ctf/diag-cuname.d: Likewise.
325 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
326 * testsuite/ld-ctf/enum-forward.d: Likewise.
327 * testsuite/ld-ctf/enums.d: Likewise.
328 * testsuite/ld-ctf/forward.d: Likewise.
329 * testsuite/ld-ctf/function.d: Likewise.
330 * testsuite/ld-ctf/nonrepresentable.d: Likewise.
331 * testsuite/ld-ctf/slice.d: Likewise.
332 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
333
5109a7bd
DD
3342021-09-30 Dimitar Dimitrov <dimitar@dinux.eu>
335
336 * scripttempl/pru.sc (.resource_table): Align the output
337 section, not the first symbol.
338
b9004024
NA
3392021-09-27 Nick Alcock <nick.alcock@oracle.com>
340
341 * configure: Regenerate.
342
5226a6a8
NC
3432021-09-21 Nick Clifton <nickc@redhat.com>
344
345 * ldlang.c (lang_end): When computing the entry point, only
346 try the start address of the entry section when creating an
347 executable.
348 * ld.texi (Entry point): Update description of heuristic used to
349 choose the entry point.
350 testsuite/ld-alpha/tlspic.rd: Update expected entry point address.
351 testsuite/ld-arm/tls-gdesc-got.d: Likewise.
352 testsuite/ld-i386/tlsnopic.rd: Likewise.
353 testsuite/ld-ia64/tlspic.rd: Likewise.
354 testsuite/ld-sparc/gotop32.rd: Likewise.
355 testsuite/ld-sparc/gotop64.rd: Likewise.
356 testsuite/ld-sparc/tlssunnopic32.rd: Likewise.
357 testsuite/ld-sparc/tlssunnopic64.rd: Likewise.
358 testsuite/ld-sparc/tlssunpic32.rd: Likewise.
359 testsuite/ld-sparc/tlssunpic64.rd: Likewise.
360 testsuite/ld-tic6x/shlib-1.rd: Likewise.
361 testsuite/ld-tic6x/shlib-1b.rd: Likewise.
362 testsuite/ld-tic6x/shlib-1r.rd: Likewise.
363 testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
364 testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
365 testsuite/ld-x86-64/pr14207.d: Likewise.
366 testsuite/ld-x86-64/tlsdesc.rd: Likewise.
367 testsuite/ld-x86-64/tlspic.rd: Likewise.
368 testsuite/ld-x86-64/tlspic2.rd: Likewise.
369
720f6ee0
CZ
3702021-09-15 Claudiu Zissulescu <claziss@synopsys.com>
371
372 * testsuite/ld-arc/got-weak.d: Update file.
373
09a7e912
CZ
3742021-09-14 Claudiu Zissulescu <claziss@synopsys.com>
375
376 * ld-arc/got-weak.d: New file.
377 * ld-arc/got-weak.s: Likewise.
378
dfe3b805
RM
3792021-07-26 Roland McGrath <mcgrathr@google.com>
380
381 * testsuite/ld-x86-64/x86-64.exp (Build textrel-1): Use --warn-textrel.
382
235f5ef4
MM
3832021-07-06 Michael Matz <matz@suse.de>
384
385 PR ld/28021
386 * testsuite/ld-riscv-elf/relax-twice.ver: New.
387 * testsuite/ld-riscv-elf/relax-twice-1.s: New.
388 * testsuite/ld-riscv-elf/relax-twice-2.s: New.
389 * testsuite/ld-riscv-elf/ld-riscv-elf.exp
390 (run_relax_twice_test): New, and call it.
391
346d80ef
NC
3922021-07-03 Nick Clifton <nickc@redhat.com>
393
394 * configure: Regenerate.
395 * po/ld.pot: Regenerate.
396
51419248
NC
3972021-07-03 Nick Clifton <nickc@redhat.com>
398
399 * 2.37 release branch created.
400
50331d64
NC
4012021-06-22 Nelson Chu <nelson.chu@sifive.com>
402
403 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
404 * testsuite/ld-riscv-elf/pcrel-lo-addend-3a.d: New testcase.
405 * testsuite/ld-riscv-elf/pcrel-lo-addend-3a.s: Likewise.
406 * testsuite/ld-riscv-elf/pcrel-lo-addend-3b.d: New testcase.
407 Should report error since the %pcrel_lo with addend refers to
408 %got_pcrel_hi.
409 * testsuite/ld-riscv-elf/pcrel-lo-addend-3b.s: Likewise.
410 * testsuite/ld-riscv-elf/pcrel-lo-addend-3c.d: New testcase.
411 Should report error since the %got_pcrel_hi with addend.
412 * testsuite/ld-riscv-elf/pcrel-lo-addend-3c.s: Likewise.
413 * testsuite/ld-riscv-elf/pcrel-lo-addend-3.ld: Likewise.
414
406b4ada
L
4152021-06-19 H.J. Lu <hongjiu.lu@intel.com>
416
417 PR ld/27998
418 * testsuite/ld-i386/i386.exp: Run PR ld/27998 tests.
419 * testsuite/ld-i386/pr27998a.d: New file.
420 * testsuite/ld-i386/pr27998a.s: Likewise.
421 * testsuite/ld-i386/pr27998b.d: Likewise.
422 * testsuite/ld-i386/pr27998b.s: Likewise.
423
83b1d8f4
L
4242021-06-19 H.J. Lu <hongjiu.lu@intel.com>
425
426 * testsuite/ld-x86-64/textrel-1.err: New file.
427 * testsuite/ld-x86-64/textrel-1a.s: Likewise.
428 * testsuite/ld-x86-64/textrel-1b.s: Likewise.
429 * testsuite/ld-x86-64/x86-64.exp: Run textrel-1 tests.
430
c30420d8
L
4312021-06-18 H.J. Lu <hongjiu.lu@intel.com>
432
433 * testsuite/ld-elf/property-and-1.d: Skip am33_2.0, hppa-hpux
434 and mn10300.
435 Pass --generate-missing-build-notes=no to assembler. Allow
436 other note sections for xtensa.
437 * testsuite/ld-elf/property-and-2.d: Likewise.
438 * testsuite/ld-elf/property-and-3.d: Likewise.
439 * testsuite/ld-elf/property-and-4.d: Likewise.
440 * testsuite/ld-elf/property-or-1.d: Likewise.
441 * testsuite/ld-elf/property-or-2.d: Likewise.
442 * testsuite/ld-elf/property-or-3.d: Likewise.
443 * testsuite/ld-elf/property-or-4.d: Likewise.
444
2d95647b
L
4452021-06-18 H.J. Lu <hongjiu.lu@intel.com>
446
447 * ld.texi: Move -z unique-symbol after -z undefs.
448
5a767724
L
4492021-06-18 H.J. Lu <hongjiu.lu@intel.com>
450
451 * testsuite/ld-elf/property-and-1.d: New file.
452 * testsuite/ld-elf/property-and-1.s: Likewise.
453 * testsuite/ld-elf/property-and-2.d: Likewise.
454 * testsuite/ld-elf/property-and-2.s: Likewise.
455 * testsuite/ld-elf/property-and-3.d: Likewise.
456 * testsuite/ld-elf/property-and-3.s: Likewise.
457 * testsuite/ld-elf/property-and-4.d: Likewise.
458 * testsuite/ld-elf/property-and-empty.s: Likewise.
459 * testsuite/ld-elf/property-or-1.d: Likewise.
460 * testsuite/ld-elf/property-or-1.s: Likewise.
461 * testsuite/ld-elf/property-or-2.d: Likewise.
462 * testsuite/ld-elf/property-or-2.s: Likewise.
463 * testsuite/ld-elf/property-or-3.d: Likewise.
464 * testsuite/ld-elf/property-or-3.s: Likewise.
465 * testsuite/ld-elf/property-or-4.d: Likewise.
466 * testsuite/ld-elf/property-or-empty.s: Likewise.
467
e013d20d
L
4682021-06-17 H.J. Lu <hongjiu.lu@intel.com>
469
470 PR ld/27973
471 * testsuite/ld-x86-64/x86-64.exp: Pass $NOPIE_LDFLAGS and
472 $NOPIE_CFLAGS to protected-func-1 without PIE.
473
b6b42983
L
4742021-06-17 H.J. Lu <hongjiu.lu@intel.com>
475
476 PR ld/27973
477 * testsuite/ld-x86-64/x86-64.exp: Run protected function tests.
478 * testsuite/ld-x86-64/protected-func-1.h: New file.
479 * testsuite/ld-x86-64/protected-func-1a.s: Likewise.
480 * testsuite/ld-x86-64/protected-func-1b.c: Likewise.
481
d208bc76
FS
4822021-06-17 Fangrui Song <maskray@google.com>
483
484 * ldlex.h (enum option_values): Add OPTION_NO_PIE.
485 * lexsup.c (struct ld_options): Add -no-pie.
486 (parse_args): Handle -no-pie.
487 * ld.texi: Document -no-pie.
488
93df3340
AM
4892021-06-15 Alan Modra <amodra@gmail.com>
490
491 * testsuite/ld-pie/vaddr-0.d: Update expected output.
492
f64b9b13
AM
4932021-06-11 Alan Modra <amodra@gmail.com>
494
495 PR 27952
496 * ldelf.c (ldelf_after_open): Error on input PIEs too.
497
f75bcf7e
NC
4982021-06-09 Nick Clifton <nickc@redhat.com>
499
500 PR 27666
501 * testsuite/ld-sparc/sparc.exp: Do not run the sparctests or
502 sparc64tests for Solaris2 targets.
503
364d7729
AM
5042021-06-03 Alan Modra <amodra@gmail.com>
505
506 PR 2589
507 * ld.texi (link-time runtime library search path): Mention
508 plugin library path. Correct order of search.
509
ef9d2565
NC
5102021-05-31 Nelson Chu <nelson.chu@sifive.com>
511 Lifang Xia <lifang_xia@c-sky.com>
512
513 PR 27566
514 * emultempl/riscvelf.em (after_allocation): Call
515 riscv_set_data_segment_info to set data segment phase before relaxing.
516 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
517 * testsuite/ld-riscv-elf/relro-relax-lui.d: New testcase.
518 * testsuite/ld-riscv-elf/relro-relax-lui.s: Likewise.
519 * testsuite/ld-riscv-elf/relro-relax-pcrel.d: Likewise.
520 * testsuite/ld-riscv-elf/relro-relax-pcrel.s: Likewise.
521
1273b2f8
L
5222021-05-28 H.J. Lu <hongjiu.lu@intel.com>
523
524 PR ld/27905
525 * testsuite/ld-i386/pcrel16-2.d: xfail.
526 * testsuite/ld-x86-64/pcrel16-2.d: Likewise.
527
50c95a73
L
5282021-05-26 H.J. Lu <hongjiu.lu@intel.com>
529
530 PR ld/27905
531 * testsuite/ld-i386/code16.d: New file.
532 * testsuite/ld-i386/code16.t: Likewise.
533 * testsuite/ld-x86-64/code16.d: Likewise.
534 * testsuite/ld-x86-64/code16.t: Likewise.
535 * testsuite/ld-i386/i386.exp: Run code16.
536 * testsuite/ld-x86-64/x86-64.exp: Likewise.
537
983d5689
L
5382021-05-26 H.J. Lu <hongjiu.lu@intel.com>
539
540 * testsuite/ld-x86-64/ilp32-12.d: New file.
541 * testsuite/ld-x86-64/ilp32-12.s: Likewise.
542 * testsuite/ld-x86-64/x86-64.exp: Run ilp32-12.
543
75f03fa7
NC
5442021-05-14 Nelson Chu <nelson.chu@sifive.com>
545
546 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
547 * testsuite/ld-riscv-elf/pcrel-lo-addend-2a.d: Renamed from
548 pcrel-lo-addend-2.
549 * testsuite/ld-riscv-elf/pcrel-lo-addend-2a.s: Likewise.
550 * testsuite/ld-riscv-elf/pcrel-lo-addend-2b.d: New testcase.
551 * testsuite/ld-riscv-elf/pcrel-lo-addend-2b.s: Likewise.
552
cf893b0e
FS
5532021-05-13 Fangrui Song <maskray@google.com>
554
555 PR 27834
556 * ldlex.h (enum option_values): Add OPTION_NO_SYMBOLIC.
557 * lexsup.c (ld_options): Add -Bno-symbolic.
558 (parse_args): Handle -Bno-symbolic.
559 * ld.texi: Document -Bno-symbolic.
560 * NEWS: Mention -Bno-symbolic.
561 * testsuite/ld-elf/shared.exp: Add a test.
562
84139c58
RE
5632021-05-12 Richard Earnshaw <rearnsha@arm.com>
564
565 * testsuite/ld-arm/arm-elf.exp (farcall test for v8-m.mainline):
566 Correct expected output.
567
4a1ad5c9
RM
5682021-05-11 Roland McGrath <mcgrathr@google.com>
569
570 * testsuite/ld-x86-64/rela.d: Fix regexp not to presume a specific
571 address layout, so it works for e.g. --target=x86-64-elf.
572
22604fe6
NC
5732021-05-11 Nick Clifton <nickc@redhat.com>
574
575 PR 27113
576 * Makefile.am (install-data-local): Also delete libdep.dll.a if it
577 is present.
578 * Makefile.in: Regenerate.
579
5b45e89f
DD
5802021-05-10 Dimitar Dimitrov <dimitar@dinux.eu>
581
582 * testsuite/ld-elf/group8a.d: Remove pru from XFAIL list.
583 * testsuite/ld-elf/group8b.d: Ditto.
584 * testsuite/ld-elf/group9a.d: Ditto.
585 * testsuite/ld-elf/group9b.d: Ditto.
586 * testsuite/ld-elf/pr12851.d: Ditto.
587 * testsuite/ld-elf/pr22677.d: Ditto.
588 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Remove
589 pru from list.
590
261980de
DD
5912021-05-10 Dimitar Dimitrov <dimitar@dinux.eu>
592
593 * scripttempl/pru.sc (.resource_table): Add ALIGN directive.
594 Use symbols for memory sizes.
595
cf758b39
MF
5962021-05-08 Mike Frysinger <vapier@gentoo.org>
597
598 * Makefile.am (html-local, doc/ld/index.html): New targets.
599 * Makefile.in: Regenerate.
600
2faf902d
MF
6012021-05-08 Mike Frysinger <vapier@gentoo.org>
602
603 * Makefile.am (AM_MAKEINFOFLAGS): Add --no-split.
604 * Makefile.in: Regenerate.
605
17c6c3b9
JB
6062021-05-07 Jan Beulich <jbeulich@suse.com>
607
608 * testsuite/ld-x86-64/rela.d: New.
609 * testsuite/ld-x86-64/x86-64.exp: Run new test.
610
d820a652
NC
6112021-05-07 Nick Clifton <nickc@redhat.com>
612
613 * ldelfgen.c (compare_link_order): Ignore section size when
614 performing a relocateable link.
615
70993db3
AM
6162021-05-07 Alan Modra <amodra@gmail.com>
617
618 * ldexp.c (update_definedness): Don't return false for absolute
619 symbols.
620 * ldmain.c (multiple_definition): Print "warning: " in message
621 when not a hard error.
622
973bba91
AM
6232021-05-07 Alan Modra <amodra@gmail.com>
624
625 * testsuite/ld-elf/pr27825-1.d: Correct xfail.
626 * testsuite/ld-elf/pr27825-2.d: Likewise.
627
284a1309
SH
6282021-05-06 Stafford Horne <shorne@gmail.com>
629
630 PR 27746
631 testsuite/ld-or1k/or1k.exp (or1kplttests): Add tests for linking
632 along with gotha() relocations.
633 testsuite/ld-or1k/gotha1.dd: New file.
634 testsuite/ld-or1k/gotha1.s: New file.
635 testsuite/ld-or1k/gotha2.dd: New file.
636 testsuite/ld-or1k/gotha2.s: New file
637 testsuite/ld-or1k/pltlib.s (x): Define size to avoid link
638 failure.
639
ae064303
NA
6402021-05-06 Nick Alcock <nick.alcock@oracle.com>
641
642 * testsuite/ld-ctf/ctf.exp: Use -gctf, not -gt.
643 * testsuite/lib/ld-lib.exp: Likewise.
644 * testsuite/ld-ctf/nonrepresentable-1.c: New test for nonrepresentable types.
645 * testsuite/ld-ctf/nonrepresentable-2.c: Likewise.
646 * testsuite/ld-ctf/nonrepresentable.d: Likewise.
647 * testsuite/ld-ctf/array.d: Larger type section.
648 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
649 * testsuite/ld-ctf/enums.d: Likewise.
650 * testsuite/ld-ctf/conflicting-enums.d: Don't compare types.
651 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Changed type order.
652 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
653 * testsuite/ld-ctf/slice.d: Adjust for improved slice emission.
654
4467df35
L
6552021-05-05 H.J. Lu <hongjiu.lu@intel.com>
656
657 PR ld/27825
658 * testsuite/ld-elf/pr27825-1.d: New file.
659 * testsuite/ld-elf/pr27825-1a.s: Likewise.
660 * testsuite/ld-elf/pr27825-1b.s: Likewise.
661 * testsuite/ld-elf/pr27825-2.d: Likewise.
662 * testsuite/ld-elf/pr27825-2a.s: Likewise.
663 * testsuite/ld-elf/pr27825-2b.s: Likewise.
664
13ffdac3
AM
6652021-05-05 Alan Modra <amodra@gmail.com>
666
667 * testsuite/ld-powerpc/empty.s: New file.
668 * testsuite/ld-powerpc/undefweak.d,
669 * testsuite/ld-powerpc/undefweak.s: New testcase.
670 * testsuite/ld-powerpc/powerpc.exp: Run it.
671
df6fbc21
AM
6722021-05-03 Alan Modra <amodra@gmail.com>
673
674 * testsuite/ld-s390/tlspic_64.rd: Adjust expected output for
675 named section symbols.
676
24aebc79
NC
6772021-04-28 Nick Clifton <nickc@redhat.com>
678
679 * testsuite/ld-elf/anno-sym.s: New test source file.
680 * testsuite/ld-elf/anno-sym.d: New test driver.
681 * testsuite/ld-elf/anno-sym.l: New test error output.
682
a7664973
JB
6832021-04-26 Jan Beulich <jbeulich@suse.com>
684
685 * testsuite/ld-i386/pcrel16-2.s, testsuite/ld-i386/pcrel16-2.d,
686 testsuite/ld-x86-64/pcrel16-2.d: New.
687 * testsuite/ld-i386/i386.exp: Run new test.
688 * testsuite/ld-x86-64/x86-64.exp: Likewise.
689
69cc1945
L
6902021-04-23 H.J. Lu <hongjiu.lu@intel.com>
691
692 PR ld/27771
693 * testsuite/ld-bootstrap/bootstrap.exp: Create a symbolic link
694 to tmpdir/ldscripts only if it doesn't exist.
695
d018cd83
JB
6962021-04-22 Jan Beulich <jbeulich@suse.com>
697
698 PR ld/26659
699 * testsuite/ld-pe/pr26659-weak-undef-sym.d: Relax for Cygwin.
700
23356397
NC
7012021-04-21 Nick Clifton <nickc@redhat.com>
702
703 * testsuite/ld-aarch64/variant_pcs-now.d: Adjust expected output
704 to allow for named section symbols.
705 * testsuite/ld-aarch64/variant_pcs-r.d: Likewise.
706 * testsuite/ld-aarch64/variant_pcs-shared.d: Likewise.
707 * testsuite/ld-alpha/tlsbin.rd: Likewise.
708 * testsuite/ld-alpha/tlsbinr.rd: Likewise.
709 * testsuite/ld-alpha/tlspic.rd: Likewise.
710 * testsuite/ld-arm/rodata-merge-map.sym: Likewise.
711 * testsuite/ld-arm/script-type.sym: Likewise.
712 * testsuite/ld-cris/libdso-2.d: Likewise.
713 * testsuite/ld-cris/pr16044.d: Likewise.
714 * testsuite/ld-elf/sec64k.exp: Likewise.
715 * testsuite/ld-ia64/tlsbin.rd: Likewise.
716 * testsuite/ld-ia64/tlspic.rd: Likewise.
717 * testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d: Likewise.
718 * testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d: Likewise.
719 * testsuite/ld-mmix/bspec1.d: Likewise.
720 * testsuite/ld-mmix/bspec2.d: Likewise.
721 * testsuite/ld-mmix/local1.d: Likewise.
722 * testsuite/ld-mmix/local3.d: Likewise.
723 * testsuite/ld-mmix/local5.d: Likewise.
724 * testsuite/ld-mmix/local7.d: Likewise.
725 * testsuite/ld-mmix/undef-3.d: Likewise.
726 * testsuite/ld-powerpc/tlsso.r: Likewise.
727 * testsuite/ld-powerpc/tlsso32.r: Likewise.
728 * testsuite/ld-powerpc/tlstocso.r: Likewise.
729 * testsuite/ld-s390/tlsbin.rd: Likewise.
730 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
731 * testsuite/ld-s390/tlspic.rd: Likewise.
732 * testsuite/ld-s390/tlspic_64.rd: Likewise.
733 * testsuite/ld-sparc/gotop32.rd: Likewise.
734 * testsuite/ld-sparc/gotop64.rd: Likewise.
735 * testsuite/ld-sparc/tlssunbin32.rd: Likewise.
736 * testsuite/ld-sparc/tlssunbin64.rd: Likewise.
737 * testsuite/ld-sparc/tlssunnopic32.rd: Likewise.
738 * testsuite/ld-sparc/tlssunnopic64.rd: Likewise.
739 * testsuite/ld-sparc/tlssunpic32.rd: Likewise.
740 * testsuite/ld-sparc/tlssunpic64.rd: Likewise.
741 * testsuite/ld-tic6x/common.d: Likewise.
742 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
743 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
744 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
745 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
746 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
747 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
748 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
749 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
750 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
751 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
752 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
753 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
754 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
755
c5df7e44
CC
7562021-04-20 Clément Chigot <clement.chigot@atos.net>
757
758 PR binutils/21700
759 * testsuite/ld-powerpc/aix52.exp: Add new test.
760 * testsuite/ld-powerpc/aix-neg-reloc-32.d: New test.
761 * testsuite/ld-powerpc/aix-neg-reloc-64.d: New test.
762 * testsuite/ld-powerpc/aix-neg-reloc.ex: New test.
763 * testsuite/ld-powerpc/aix-neg-reloc.s: New test.
764
6418520e
NC
7652021-04-13 Nick Clifton <nickc@redhat.com>
766
767 * ld.texi (Options): Add note about the effect of --as-needed on
768 the --rpath and --rpath-link options on Linux based systems.
769
1cfc6f00
AM
7702021-04-13 Alan Modra <amodra@gmail.com>
771
772 PR 27722
773 * libdep_plugin.c (str2vec): Don't pass a potentially signed char
774 to isspace.
775
43e05cd4
AM
7762021-04-12 Alan Modra <amodra@gmail.com>
777
778 * configure.ac (--enable-checking): Add support.
779 * config.in: Regenerate.
780 * configure: Regenerate.
781
2cc15b10
AM
7822021-04-12 Alan Modra <amodra@gmail.com>
783
784 * emultempl/mipself.em (mips_create_output_section_statements):
785 Pass base type of hash table to is_elf_hash_table.
786 * ldelf.c (ldelf_after_open): Likewise.
787
fc304b88
AM
7882021-04-12 Alan Modra <amodra@gmail.com>
789
790 PR 27719
791 * ldlang.c (lang_mark_undefineds, undef_start_stop): Test that
792 the symbol hash table is the correct type before accessing
793 elf_link_hash_entry symbols.
794 * plugin.c (is_visible_from_outside): Likewise.
795 * emultempl/armelf.em (ld${EMULATION_NAME}_finish): Likewise.
796 * emultempl/solaris2.em (elf_solaris2_before_allocation): Likewise.
797
c3f72de4
AM
7982021-04-09 Alan Modra <amodra@gmail.com>
799
800 * testsuite/ld-powerpc/inlinepcrel-1.d: Update expected output.
801 * testsuite/ld-powerpc/inlinepcrel-2.d: Likewise.
802 * testsuite/ld-powerpc/notoc2.d: Likewise.
803 * testsuite/ld-powerpc/notoc3.d: Likewise.
804 * testsuite/ld-powerpc/pcrelopt.d: Likewise.
805 * testsuite/ld-powerpc/startstop.d: Likewise.
806 * testsuite/ld-powerpc/tlsget.d: Likewise.
807 * testsuite/ld-powerpc/tlsget2.d: Likewise.
808 * testsuite/ld-powerpc/tlsld.d: Likewise.
809 * testsuite/ld-powerpc/weak1.d: Likewise.
810 * testsuite/ld-powerpc/weak1so.d: Likewise.
811
bd3d1480
JB
8122021-04-06 Jan Beulich <jbeulich@suse.com>
813
814 * pe-dll.c (generate_reloc): Bail immediately when .reloc is
815 being discarded. Warn when relocated entry is above .reloc.
816
c774eab1
AM
8172021-04-05 Alan Modra <amodra@gmail.com>
818
819 * configure.ac: Move initfini-array arg handling earlier. Don't
820 check for string.h, strings.h, stdlib.h, or locale.h. Do check
821 for inttypes.h, stdint.h, sys/types.h. Don't check for
822 setlocale, free, getev or strstr.
823 (AC_ISC_POSIX): Don't invoke.
824 * sysdep.h: Include string.h and stdlib.h unconditionally. Test
825 HAVE_SYS_TYPE_H and HAVE_SYS_STAT_H. Remove strstr, free and
826 getenv fallback declarations.
827 * ld.h: Don't test HAVE_LOCALE_H.
828 * ldmain.c: Don't test HAVE_SETLOCALE.
829 * config.in: Regenerate.
830 * configure: Regenerate.
831
74edb473
TC
8322021-04-01 Tamar Christina <tamar.christina@arm.com>
833
834 PR ld/26659
835 * testsuite/ld-pe/pe.exp: Add test.
836 * testsuite/ld-pe/pr26659-weak-undef-sym.d: New test.
837 * testsuite/ld-pe/pr26659-weak-undef-sym.s: New test.
838
e9b095a5
ML
8392021-04-01 Martin Liska <mliska@suse.cz>
840
841 * ldbuildid.c (strneq): Remove strneq and use startswith.
842 (validate_build_id_style): Likewise.
843 (compute_build_id_size): Likewise.
844
f38a2680
AM
8452021-03-31 Alan Modra <amodra@gmail.com>
846
847 * sysdep.h (POISON_BFD_BOOLEAN): Define.
848 * configure.ac (elf_list_options, elf_shlib_list_options=false),
849 (elf_plt_unwind_list_options=false): Replace FALSE with false,
850 and TRUE with true.
851 * emulparams/call_nop.sh, * emulparams/cet.sh,
852 * emulparams/dynamic_undefined_weak.sh,
853 * emulparams/elf32b4300.sh, * emulparams/elf32lm32.sh,
854 * emulparams/elf32lr5900.sh, * emulparams/elf32lr5900n32.sh,
855 * emulparams/elf32visium.sh, * emulparams/elf_x86_64.sh,
856 * emulparams/extern_protected_data.sh, * emulparams/plt_unwind.sh,
857 * emulparams/reloc_overflow.sh, * emulparams/static.sh,
858 * emulparams/x86-64-lam.sh, * emultempl/aarch64elf.em,
859 * emultempl/aix.em, * emultempl/alphaelf.em,
860 * emultempl/armcoff.em, * emultempl/armelf.em,
861 * emultempl/avrelf.em, * emultempl/beos.em, * emultempl/bfin.em,
862 * emultempl/cr16elf.em, * emultempl/crxelf.em,
863 * emultempl/cskyelf.em, * emultempl/elf.em, * emultempl/genelf.em,
864 * emultempl/hppaelf.em, * emultempl/linux.em,
865 * emultempl/m68hc1xelf.em, * emultempl/metagelf.em,
866 * emultempl/mipself.em, * emultempl/mmix-elfnmmo.em,
867 * emultempl/mmixelf.em, * emultempl/mmo.em, * emultempl/msp430.em,
868 * emultempl/nios2elf.em, * emultempl/pdp11.em, * emultempl/pe.em,
869 * emultempl/pep.em, * emultempl/ppc32elf.em,
870 * emultempl/ppc64elf.em, * emultempl/rxelf.em,
871 * emultempl/rxlinux.em, * emultempl/scoreelf.em,
872 * emultempl/solaris2.em, * emultempl/spuelf.em,
873 * emultempl/ticoff.em, * emultempl/v850elf.em, * emultempl/vms.em,
874 * emultempl/xtensaelf.em, * emultempl/z80.em, * ld.h,
875 * ldbuildid.c, * ldbuildid.h, * ldcref.c, * ldctor.c, * ldctor.h,
876 * ldelf.c, * ldelf.h, * ldelfgen.c, * ldelfgen.h, * ldemul.c,
877 * ldemul.h, * ldexp.c, * ldexp.h, * ldfile.c, * ldfile.h,
878 * ldgram.y, * ldlang.c, * ldlang.h, * ldmain.c, * ldmain.h,
879 * ldmisc.c, * ldmisc.h, * ldwrite.c, * lexsup.c, * mri.c,
880 * pe-dll.c, * pe-dll.h, * pep-dll.h, * plugin.c, * plugin.h,
881 * testplug.c, * testplug2.c, * testplug3.c, * testplug4.c: Replace
882 bfd_boolean with bool, FALSE with false, and TRUE with true.
883 * configure: Regenerate.
884
3dfb1b6d
AM
8852021-03-31 Alan Modra <amodra@gmail.com>
886
887 * elf-hints-local.h: Include stdint.h in place of bfd_stdint.h.
888 * emultempl/nds32elf.em: Likewise.
889 * testsuite/ld-elf/mbind2b.c: Likewise.
890 * testsuite/ld-elf/pr18718.c: Likewise.
891 * testsuite/ld-elf/pr18720a.c: Likewise.
892 * testsuite/ld-elf/pr25749-1.c: Likewise.
893 * testsuite/ld-elf/pr25749-1a.c: Likewise.
894 * testsuite/ld-elf/pr25749-1b.c: Likewise.
895 * testsuite/ld-elf/pr25749-1c.c: Likewise.
896 * testsuite/ld-elf/pr25749-1d.c: Likewise.
897 * testsuite/ld-elf/pr25749-2.c: Likewise.
898 * testsuite/ld-elf/pr25754-1a.c: Likewise.
899 * testsuite/ld-elf/pr25754-2a.c: Likewise.
900 * testsuite/ld-elf/pr25754-3a.c: Likewise.
901 * testsuite/ld-elf/pr25754-4a.c: Likewise.
902 * testsuite/ld-elf/pr25754-5a.c: Likewise.
903 * testsuite/ld-elf/pr25754-6a.c: Likewise.
904
63b4cc53
AM
9052021-03-29 Alan Modra <amodra@gmail.com>
906
907 * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Simplify
908 boolean expression.
909 * lexsup.c (parse_args): Likewise.
910 * pe-dll.c (pe_dll_id_target): Likewise.
911
8592be8c
NA
9122021-03-25 Nick Alcock <nick.alcock@oracle.com>
913
914 * testsuite/ld-ctf/array.d: Only check that the data object
915 section is nonempty: do not check its exact size.
916 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
917 * testsuite/ld-ctf/slice.d: Likewise.
918 * testsuite/ld-ctf/data-func-conflicted.d: Likewise, and for the
919 func info section too.
920 * testsuite/ld-ctf/function.d: Likewise, for the func info section.
921
08dedd66
ML
9222021-03-22 Martin Liska <mliska@suse.cz>
923
924 * emultempl/aix.em: Replace usage of CONST_STRNEQ with startswith.
925 * emultempl/beos.em: Likewise.
926 * emultempl/elf.em: Likewise.
927 * emultempl/pe.em: Likewise.
928 * emultempl/pep.em: Likewise.
929 * emultempl/xtensaelf.em: Likewise.
930 * ldctor.c (ctor_prio): Likewise.
931 * ldelf.c (ldelf_try_needed): Likewise.
932 (ldelf_parse_ld_so_conf): Likewise.
933 (ldelf_after_open): Likewise.
934 (output_rel_find): Likewise.
935 (ldelf_place_orphan): Likewise.
936 * ldfile.c (ldfile_add_library_path): Likewise.
937 * ldlang.c (lang_add_input_file): Likewise.
938 * ldmain.c (get_sysroot): Likewise.
939 (get_emulation): Likewise.
940 (add_archive_element): Likewise.
941 * ldwrite.c (unsplittable_name): Likewise.
942 (clone_section): Likewise.
943 * lexsup.c (parse_args): Likewise.
944 * pe-dll.c (is_import): Likewise.
945 (pe_implied_import_dll): Likewise.
946
1de96e5d
L
9472021-03-19 H.J. Lu <hongjiu.lu@intel.com>
948
949 PR ld/27590
950 * testsuite/ld-x86-64/pr27590.rd: New file.
951 * testsuite/ld-x86-64/pr27590a.obj.bz2: Likewise.
952 * testsuite/ld-x86-64/pr27590b.obj.bz2: Likewise.
953 * testsuite/ld-x86-64/x86-64.exp: Run ld/27590 test.
954
15407e7e
AM
9552021-03-20 Alan Modra <amodra@gmail.com>
956
957 PR 27590
958 * ldlang.c (lang_gc_sections): Clear SEC_EXCLUDE when relocatable
959 for all sections except .stabstr.
960
fba7f753
AM
9612021-03-19 Alan Modra <amodra@gmail.com>
962
963 PR 27590
964 * testsuite/ld-elf/pr27590a.d: Match relocs using label, and
965 R_MIPS_NONE.
966 * testsuite/ld-elf/pr27590b.d: Likewise.
967
3818d4ab
L
9682021-03-18 H.J. Lu <hongjiu.lu@intel.com>
969
970 PR ld/27590
971 * testsuite/ld-elf/pr27590.s: New file.
972 * testsuite/ld-elf/pr27590a.d: Likewise.
973 * testsuite/ld-elf/pr27590b.d: Likewise.
974 * testsuite/ld-i386/i386.exp: Also run ld/27193 test with
975 --reduce-memory-overheads.
976
51f6e7a9
L
9772021-03-18 H.J. Lu <hongjiu.lu@intel.com>
978
979 PR ld/27587
980 * testsuite/ld-x86-64/pr27587.err: New file.
981 * testsuite/ld-x86-64/pr27587a.obj.bz2: Likewise.
982 * testsuite/ld-x86-64/pr27587b.obj.bz2: Likewise.
983 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/27587 test.
984
69a28486
NA
9852021-03-18 Nick Alcock <nick.alcock@oracle.com>
986
987 * testsuite/ld-ctf/slice.c: Check slices of enums too.
988 * testsuite/ld-ctf/slice.d: Results adjusted.
989
ee42883c
NC
9902021-03-16 Nick Clifton <nickc@redhat.com>
991
992 * pe-dll.c (pe_find_cdecl_alias_match): Use memmove to overwrite
993 lname string.
994
c68b1842
JB
9952021-03-15 Jan Beulich <jbeulich@suse.com>
996
997 * pe-dll.c (generate_reloc): Drop padding to reloc_s->size.
998
203a206d
AM
9992021-03-12 Alan Modra <amodra@gmail.com>
1000
1001 * Makefile.am (ALL_EMULATION_SOURCES): Move riscv files to..
1002 (ALL_64_EMULATION_SOURCES): ..here.
1003 * Makefile.in: Regenerate.
1004
1b2cb8e2
CC
10052021-03-12 Clément Chigot <clement.chigot@atos.net>
1006
1007 * emultempl/aix.em: Ensure .tdata section is removed
1008 if empty, even with -r flag.
1009 * scripttempl/aix.sc: Handle TLS sections.
1010 * testsuite/ld-powerpc/aix52.exp: Add new tests.
1011 * testsuite/ld-powerpc/aix-tls-reloc-32.d: New test.
1012 * testsuite/ld-powerpc/aix-tls-reloc-64.d: New test.
1013 * testsuite/ld-powerpc/aix-tls-reloc.ex: New test.
1014 * testsuite/ld-powerpc/aix-tls-reloc.s: New test.
1015 * testsuite/ld-powerpc/aix-tls-section-32.d: New test.
1016 * testsuite/ld-powerpc/aix-tls-section-64.d: New test.
1017 * testsuite/ld-powerpc/aix-tls-section.ex: New test.
1018 * testsuite/ld-powerpc/aix-tls-section.s: New test.
1019
4a403be0
CC
10202021-03-12 Clément Chigot <clement.chigot@atos.net>
1021
1022 * scripttempl/aix.sc: Add .te to .data section.
1023 * testsuite/ld-powerpc/aix52.exp: Add test structure for AIX7+.
1024 Add aix-largetoc-1 test.
1025 * testsuite/ld-powerpc/aix-largetoc-1-32.d: New test.
1026 * testsuite/ld-powerpc/aix-largetoc-1-64.d: New test.
1027 * testsuite/ld-powerpc/aix-largetoc-1.ex: New test.
1028 * testsuite/ld-powerpc/aix-largetoc-1.s: New test.
1029
68cb2183
AM
10302021-03-12 Alan Modra <amodra@gmail.com>
1031
1032 * testsuite/ld-gc/gc.exp: Pass "-image-base 0" to ld for PE, and
1033 arrange to define __main for some run_dump_test tests.
1034 * testsuite/ld-gc/pr13683.d: Accept more symbols.
1035 * testsuite/ld-gc/pr14265.d: Likewise, and ordering.
1036 * testsuite/ld-scripts/crossref.exp: Pass "-image-base 0" to ld for PE.
1037 * testsuite/ld-srec/srec.exp: Likewise.
1038 * testsuite/lib/ld-lib.exp (ld_link_defsyms): Use is_pecoff_format.
1039
ebdcad3f
NC
10402021-03-11 Nelson Chu <nelson.chu@sifive.com>
1041
1042 * emultempl/riscvelf.em (after_allocation): Run ldelf_map_segments
1043 many times if riscv_restart_relax_sections returns TRUE.
1044 * testsuite/ld-riscv-elf/restart-relax.d: New testcase. Before
1045 applying this patch, the call won't be relaxed to jal; But now we
1046 have more chances to do relaxations.
1047 * testsuite/ld-riscv-elf/restart-relax.s: Likewise.
1048 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
1049
67b0f684
JB
10502021-03-10 Jan Beulich <jbeulich@suse.com>
1051
1052 * testsuite/ld-scripts/pr22267.t: Avoid symbol value with more
1053 than 32 set bits.
1054 * testsuite/ld-scripts/pr22267.d: Adjust expectation and drop
1055 comment.
1056 * scripttempl/mcorepe.sc: Use PROVIDE() for _stack.
1057
5dc75cf3
JB
10582021-03-09 Jan Beulich <jbeulich@suse.com>
1059
1060 * testsuite/ld-pe/reloc.s: Add entry point symbols. Increase
1061 alignment to 4k.
1062 * testsuite/ld-pe/reloc.d: xfail for mcore.
1063
87fa7d56
JB
10642021-03-09 Jan Beulich <jbeulich@suse.com>
1065
1066 * testsuite/ld-scripts/alignof.exp,
1067 testsuite/ld-scripts/data.exp,
1068 testsuite/ld-scripts/default-script.exp,
1069 testsuite/ld-scripts/log2.exp,
1070 testsuite/ld-scripts/print-memory-usage.exp,
1071 testsuite/ld-scripts/sizeof.exp,
1072 testsuite/ld-undefined/weak-undef.exp: Set image base to zero
1073 for PE/COFF.
1074 * testsuite/ld-scripts/default-script1.d,
1075 testsuite/ld-scripts/default-script2.d,
1076 testsuite/ld-scripts/default-script3.d,
1077 testsuite/ld-scripts/default-script4.d: Drop xfail and comment.
1078
8c0546e9
L
10792021-03-05 H.J. Lu <hongjiu.lu@intel.com>
1080
1081 PR ld/27425
1082 PR ld/27432
1083 * ldelf.c (ldelf_set_output_arch): New function.
1084 * ldelf.h (ldelf_set_output_arch): New prototype.
1085 * emultempl/elf.em (LDEMUL_SET_OUTPUT_ARCH): Default to
1086 ldelf_set_output_arch.
1087 * ld-x86-64/pe-x86-64-1.od: Expect __executable_start.
1088 * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise.
1089 * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise.
1090 * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise.
1091 * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise.
1092 * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise.
1093 * testsuite/ld-x86-64/pe-x86-64-6.obj.bz2: New file.
1094 * testsuite/ld-x86-64/pe-x86-64-6.od: Likewise.
1095 * testsuite/ld-x86-64/pe-x86-64.exp: Run ld/27425 test.
1096
d4e5db4e
JB
10972021-03-04 Jan Beulich <jbeulich@suse.com>
1098
1099 * testsuite/ld-scripts/map-address.exp: Set image base to zero
1100 for PE/COFF.
1101 * testsuite/ld-scripts/map-address.t: Place .text.
1102
6fa7408d
JB
11032021-03-04 Jan Beulich <jbeulich@suse.com>
1104
1105 * ldexp.c (ldexp_is_final_sym_absolute): New.
1106 * ldexp.h (ldexp_is_final_sym_absolute): Declare.
1107 * pe-dll.c (generate_reloc): Skip absolute symbols.
1108 * testsuite/ld-pe/reloc.s, testsuite/ld-pe/reloc.d: New.
1109 * testsuite/ld-pe/pe.exp: Run new test.
1110
5789f845
AM
11112021-03-03 Alan Modra <amodra@gmail.com>
1112
1113 PR 27500
1114 * ldlang.c (insert_undefined): Don't mark symbols here.
1115 (lang_mark_undefineds): Do so here instead, new function.
1116 (lang_process): Call lang_mark_undefineds.
1117 * testsuite/ld-gc/start3.d,
1118 * testsuite/ld-gc/start3.s: New test.
1119 * testsuite/ld-gc/start4.d,
1120 * testsuite/ld-gc/start4.s: New test.
1121 * testsuite/ld-gc/gc.exp: Run them.
1122
270f32fc
AM
11232021-03-03 Alan Modra <amodra@gmail.com>
1124
1125 * testsuite/ld-gc/gc.exp: Define UNDERSCORE in ASFLAGS.
1126 Move tests with ELF section directives to is_elf_format block.
1127 * testsuite/ld-gc/abi-note.d: Run on more targets.
1128 * testsuite/ld-gc/pr19167.d: Likewise and adjust xfails.
1129 * testsuite/ld-gc/start.d: Likewise.
1130 * testsuite/ld-gc/start2.d: Likewise.
1131 * testsuite/ld-gc/stop.d: Likewise.
1132 * testsuite/ld-gc/pr19167a.s: Add support for underscore targets.
1133 * testsuite/ld-gc/start.s: Likewise.
1134 * testsuite/ld-gc/start2.s: Likewise.
1135
211bcd01
NA
11362021-03-02 Nick Alcock <nick.alcock@oracle.com>
1137
1138 * ldelfgen.c (ldelf_ctf_strtab_iter_cb): Skip zero-refcount strings.
1139
b80e421f
AM
11402021-03-02 Alan Modra <amodra@gmail.com>
1141
1142 * testsuite/ld-powerpc/startstop.d,
1143 * testsuite/ld-powerpc/startstop.r,
1144 * testsuite/ld-powerpc/startstop.s: New test.
1145 * testsuite/ld-powerpc/powerpc.exp: Run it.
1146
f5b9c288
AM
11472021-03-02 Alan Modra <amodra@gmail.com>
1148
1149 * testsuite/ld-powerpc/weak1.d,
1150 * testsuite/ld-powerpc/weak1.r,
1151 * testsuite/ld-powerpc/weak1.s,
1152 * testsuite/ld-powerpc/weak1so.d,
1153 * testsuite/ld-powerpc/weak1so.r: New tests.
1154 * testsuite/ld-powerpc/powerpc.exp: Run them.
1155
ba6eb62f
NC
11562021-03-01 Hannes Domani <ssbssa@sourceware.org>
1157 Nick Clifton <nickc@redhat.com>
1158
1159 PR 27268
1160 * scripttempl/pe.sc: Add DWARF-5 section names.
1161 * scripttempl/pep.sc: Likewise.
1162
8ee10e86
AM
11632021-03-01 Alan Modra <amodra@gmail.com>
1164 Fangrui Song <maskray@google.com>
1165
1166 * emultempl/elf.em: Handle -z start-stop-gc and -z nostart-stop-gc.
1167 * lexsup.c (elf_static_list_options): Display help for them. Move
1168 help for -z stack-size to here from elf_shlib_list_options. Add
1169 help for -z start-stop-visibility and -z undefs.
1170 * ld.texi: Document -z start-stop-gc and -z nostart-stop-gc.
1171 * NEWS: Mention -z start-stop-gc.
1172 * testsuite/ld-gc/start2.s,
1173 * testsuite/ld-gc/start2.d: New test.
1174 * testsuite/ld-gc/gc.exp: Run it.
1175
7824c1d2
AM
11762021-03-01 Alan Modra <amodra@gmail.com>
1177
1178 * ldlang.c (undef_start_stop): For ELF make undefined start/stop
1179 symbols undefweak if that was how they were referenced. Undo
1180 dynamic state too.
1181
6a1224ec
AM
11822021-03-01 Alan Modra <amodra@gmail.com>
1183
1184 * testsuite/ld-elf/pr25708.d: Add --with-symbol-versions to nm.
1185 * testsuite/ld-elf/pr27128a.d: Likewise.
1186 * testsuite/ld-elf/pr27128b.d: Likewise.
1187 * testsuite/ld-elf/pr27128c.d: Likewise.
1188 * testsuite/ld-elf/pr27128d.d: Likewise.
1189 * testsuite/ld-elf/pr27128e.d: Likewise.
1190
bfece756
AM
11912021-02-26 Alan Modra <amodra@gmail.com>
1192
1193 PR 27441
1194 * testsuite/ld-plugin/pr27441a.c,
1195 * testsuite/ld-plugin/pr27441b.c,
1196 * testsuite/ld-plugin/pr27441c.c,
1197 * testsuite/ld-plugin/pr27441c.d: New test.
1198 * testsuite/ld-plugin/lto.exp: Run it.
1199
3c27360b
JB
12002021-02-25 Jan Beulich <jbeulich@suse.com>
1201
1202 * ld.texi (PROVIDE): Downgrade "error" to "diagnostic".
1203
89753bbf
AM
12042021-02-21 Alan Modra <amodra@gmail.com>
1205
1206 * ldexp.c (exp_fold_tree_1): Warn on script defining a symbol
1207 defined in an object file.
1208 * ldmain.c (multiple_definition): Heed info->warn_multiple_definition.
1209 * testsuite/ld-scripts/defined5.d: Expect a warning.
1210
2f973f13
AM
12112021-02-19 Alan Modra <amodra@gmail.com>
1212
1213 * testsuite/lib/ld-lib.exp: Whitespace.
1214 (load_common_lib): Expand single use and delete this proc.
1215 (run_host_cmd): Use -fno-lto when getting gcc's ld version.
1216 Use -B for clang too.
1217
a364a116
AB
12182021-02-18 Andrew Burgess <andrew.burgess@embecosm.com>
1219
1220 * testplugin.c (record_read_length): Remove debug fprintf.
1221
5b1f6c95
AM
12222021-02-14 Alan Modra <amodra@gmail.com>
1223
1224 * testsuite/ld-cdtest/cdtest.exp,
1225 * testsuite/ld-checks/checks.exp,
1226 * testsuite/ld-elf/binutils.exp,
1227 * testsuite/ld-elf/compress.exp,
1228 * testsuite/ld-elf/dwarf.exp,
1229 * testsuite/ld-elf/exclude.exp,
1230 * testsuite/ld-elf/frame.exp,
1231 * testsuite/ld-elf/indirect.exp,
1232 * testsuite/ld-elf/linux-x86.exp,
1233 * testsuite/ld-elf/sec-to-seg.exp,
1234 * testsuite/ld-elf/tls_common.exp,
1235 * testsuite/ld-elfcomm/elfcomm.exp,
1236 * testsuite/ld-elfvers/vers.exp,
1237 * testsuite/ld-elfvsb/elfvsb.exp,
1238 * testsuite/ld-elfweak/elfweak.exp,
1239 * testsuite/ld-ifunc/binutils.exp,
1240 * testsuite/ld-mips-elf/mips-elf-flags.exp,
1241 * testsuite/ld-misc/defsym.exp,
1242 * testsuite/ld-mn10300/mn10300.exp,
1243 * testsuite/ld-plugin/lto.exp,
1244 * testsuite/ld-plugin/plugin.exp,
1245 * testsuite/ld-scripts/align.exp,
1246 * testsuite/ld-scripts/assert.exp,
1247 * testsuite/ld-scripts/crossref.exp,
1248 * testsuite/ld-scripts/defined.exp,
1249 * testsuite/ld-scripts/extern.exp,
1250 * testsuite/ld-scripts/log2.exp,
1251 * testsuite/ld-scripts/map-address.exp,
1252 * testsuite/ld-scripts/phdrs.exp,
1253 * testsuite/ld-scripts/phdrs2.exp,
1254 * testsuite/ld-scripts/script.exp,
1255 * testsuite/ld-scripts/section-flags.exp,
1256 * testsuite/ld-scripts/sizeof.exp,
1257 * testsuite/ld-scripts/weak.exp,
1258 * testsuite/ld-selective/selective.exp,
1259 * testsuite/ld-sh/sh.exp,
1260 * testsuite/ld-shared/shared.exp,
1261 * testsuite/ld-srec/srec.exp,
1262 * testsuite/ld-tic6x/tic6x.exp,
1263 * testsuite/ld-undefined/undefined.exp,
1264 * testsuite/ld-undefined/weak-undef.exp,
1265 * testsuite/lib/ld-lib.exp: Don't use unresolved except after
1266 perror. Instead report "unsupported" or "fail".
1267
c46b7066
NC
12682021-02-12 Nick Clifton <nickc@redhat.com>
1269
1270 * testsuite/ld-elf/sec64k.exp: Stop readelf from automatically
1271 following debug links.
1272
933feaf3
AM
12732021-02-11 Alan Modra <amodra@gmail.com>
1274
1275 * NEWS: Mention arm-symbianelf removal.
1276
a57d1773
AM
12772021-02-09 Alan Modra <amodra@gmail.com>
1278
1279 * Makefile.am (ALL_EMULATION_SOURCES): Remove earmsymbian.c.
1280 Don't include symbian dep file.
1281 * configure.tgt: Remove arm*-*-symbianelf* entry.
1282 * emulparams/armsymbian.sh: Delete.
1283 * ld.texi: Don't mention symbian.
1284 * scripttempl/armbpabi.sc: Delete.
1285 * testsuite/ld-arm/symbian-seg1.d: Delete.
1286 * testsuite/ld-arm/symbian-seg1.s: Delete.
1287 * testsuite/ld-arm/arm-elf.exp: Don't run symbian-seg1.
1288 * Makefile.in: Regenerate.
1289 * po/BLD-POTFILES.in: Regenerate.
1290
38a143aa
L
12912021-02-07 H.J. Lu <hongjiu.lu@intel.com>
1292
1293 PR ld/27358
1294 * testsuite/ld-i386/i386.exp: Remove property 3/4/5 run-time
1295 tests.
1296 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1297
35a01a04
NA
12982021-01-26 Nick Alcock <nick.alcock@oracle.com>
1299
1300 * ldlang.c (lang_merge_ctf): Set CTF_LINK_NO_FILTER_REPORTED_SYMS
1301 when appropriate.
1302
1a2f1b54
L
13032021-02-04 H.J. Lu <hongjiu.lu@intel.com>
1304
1305 PR ld/19609
1306 * testsuite/ld-x86-64/pr19609-2a.d: Updated.
1307 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
1308 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
1309 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
1310 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
1311 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
1312 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
1313
37707bd8
L
13142021-02-04 H.J. Lu <hongjiu.lu@intel.com>
1315
1316 PR ld/15146
1317 * testsuite/ld-plugin/lto.exp: Run PR ld/15146 tests.
1318 * testsuite/ld-plugin/pr15146.d: Restored.
1319 * testsuite/ld-plugin/pr15146a.c: Likewise.
1320 * testsuite/ld-plugin/pr15146b.c: Likewise.
1321 * testsuite/ld-plugin/pr15146c.c: Likewise.
1322 * testsuite/ld-plugin/pr15146d.c: Likewise.
1323
7d409ac0
AM
13242021-02-04 Alan Modra <amodra@gmail.com>
1325
1326 * testsuite/ld-plugin/pr27311d.c: New test.
1327 * testsuite/ld-plugin/lto.exp: Rename pr27311 to pr27311-1, compile
1328 and link new test as pr27311-2.
1329
69551367
AM
13302021-02-03 Alan Modra <amodra@gmail.com>
1331
1332 * testsuite/ld-ifunc/ifunc.exp (libpr16467b.so, libpr16467bn.so):
1333 Link with --as-needed.
1334
9918bff7
AM
13352021-02-02 Alan Modra <amodra@gmail.com>
1336
1337 * testsuite/ld-plugin/pr27311.d,
1338 * testsuite/ld-plugin/pr27311.ver,
1339 * testsuite/ld-plugin/pr27311a.c,
1340 * testsuite/ld-plugin/pr27311b.c,
1341 * testsuite/ld-plugin/pr27311c.c: New testcase.
1342 * testsuite/ld-plugin/lto.exp: Run it. Correct PR14918 and
1343 PR12982 entries.
1344
1f568f9a
EH
13452021-02-01 Emery Hemingway <ehmry@posteo.net>
1346
1347 * configure.tgt: Add *-*-genode* as a target for AArch64 and x86.
1348
fb6c220e
AM
13492021-02-01 Alan Modra <amodra@gmail.com>
1350
1351 * ldgram.y (defsym_expr): Use assignment rule.
1352 * ldlex.h (ldlex_defsym): Delete.
1353 * ldlex.l (DEFSYMEXP, ldlex_defsym): Delete.
1354
40726f16
AM
13552021-02-01 Alan Modra <amodra@gmail.com>
1356
1357 * ldgram.y (section): Call ldlex_backup. Remove empty action.
1358 * ldlex.h (ldlex_backup): Declare.
1359 * ldlex.l (<EXPRESSION>NAME): Don't use NOCFILENAMECHAR set of
1360 chars, use SYMBOLNAMECHAR.
1361 (ldlex_backup): New function.
1362
a5f92c67
AM
13632021-02-01 Alan Modra <amodra@gmail.com>
1364
1365 * ldgram.y: Whitespace fixes.
1366
49daa38f
AM
13672021-02-01 Alan Modra <amodra@gmail.com>
1368
1369 * testsuite/ld-elf/pr27259.d: Correct sh_link match.
1370
c4566785
AM
13712021-01-29 Alan Modra <amodra@gmail.com>
1372
1373 * testsuite/ld-tic6x/tic6x.exp: Add pr27271 test.
1374
53e556e5
L
13752021-01-28 H.J. Lu <hongjiu.lu@intel.com>
1376
1377 PR ld/27259
1378 * testsuite/ld-elf/pr27259.d: New file.
1379 * testsuite/ld-elf/pr27259.s: Likewise.
1380
def97fb9
AM
13812021-01-28 Alan Modra <amodra@gmail.com>
1382
1383 PR 27259
1384 * ldelf.c (ldelf_before_place_orphans): Use linker_mark to
1385 prevent endless looping of linked-to sections.
1386
2eda57ef
L
13872021-01-26 H.J. Lu <hongjiu.lu@intel.com>
1388
1389 * testsuite/ld-x86-64/bnd-plt-1.d: Fix a typo.
1390
1c9c9b9b
AM
13912021-01-26 Alan Modra <amodra@gmail.com>
1392
1393 PR 27226
1394 * emulparams/alphavms.sh: Don't set COMPILE_IN.
1395 * emulparams/elf64_ia64_vms.sh: Likewise.
1396 * emulparams/elf64mmix.sh: Likewise.
1397 * emulparams/elf_iamcu.sh: Likewise.
1398 * emulparams/elf_k1om.sh: Likewise.
1399 * emulparams/elf_l1om.sh: Likewise.
1400 * emulparams/mmo.sh: Likewise.
1401 * emulparams/pdp11.sh: Set DATA_SEG_ADDR.
1402 * scripttempl/pdp11.sc: Use it.
1403 * emultempl/pdp11.em: Don't edit .xn script for separate_code,
1404 instead use .xe script. Support scripts from file system.
1405 * emultempl/beos.em: Support scripts from file system.
1406 * emultempl/pe.em: Likewise.
1407 * emultempl/pep.em: Likewise.
1408 * testsuite/ld-bootstrap/bootstrap.exp: Make tmpdir/ldscripts link.
1409
9e42b976
FS
14102021-01-25 Fangrui Song <maskray@google.com>
1411
1412 PR ld/27230
1413 * scripttempl/DWARF.sc: Add .debug_* sections.
1414
b8df6900
NC
14152021-01-25 Nick Clifton <nickc@redhat.com>
1416
1417 * scripttempl/DWARF.sc: Add .debug_loclists, .debug_rnglists,
1418 .debug_line_str and .debug_str_offsets. Move .debug_macro and
1419 .debug_addr into DWARF-5 section.
1420
c78eec44
AM
14212021-01-21 Alan Modra <amodra@gmail.com>
1422
1423 * testsuite/ld-elf/pr26936.d: No longer xfail mips.
1424
4bd7c902
AM
14252021-01-20 Alan Modra <amodra@gmail.com>
1426
1427 * testsuite/ld-powerpc/relbrlt.s: Make symbols global.
1428 * testsuite/ld-powerpc/relbrlt.d: Adjust to suit.
1429 * testsuite/ld-powerpc/tlsget.d: Adjust for reordered stubs.
1430 * testsuite/ld-powerpc/tlsget.wf: Likewise.
1431 * testsuite/ld-powerpc/tlsget2.d: Likewise.
1432 * testsuite/ld-powerpc/tlsget2.wf: Likewise.
1433 * testsuite/ld-powerpc/tlsexe.r: Adjust for removed section syms.
1434 * testsuite/ld-powerpc/tlsexe32.r: Likewise.
1435 * testsuite/ld-powerpc/tlsexe32no.r: Likewise.
1436 * testsuite/ld-powerpc/tlsexeno.r: Likewise.
1437 * testsuite/ld-powerpc/tlsexenors.r: Likewise.
1438 * testsuite/ld-powerpc/tlsexers.r: Likewise.
1439 * testsuite/ld-powerpc/tlsexetoc.r: Likewise.
1440 * testsuite/ld-powerpc/tlsexetocrs.r: Likewise.
1441 * testsuite/ld-powerpc/tlsso.r: Likewise.
1442 * testsuite/ld-powerpc/tlsso32.r: Likewise.
1443 * testsuite/ld-powerpc/tlstocso.r: Likewise.
1444
c98de297
NA
14452021-01-19 Nick Alcock <nick.alcock@oracle.com>
1446
1447 * testsuite/ld-ctf/data-func-2.c: Stop removal of the extern foo_t
1448 symbols by the optimizer.
1449 * testsuite/ld-ctf/data-func-conflicted.d: Adjust accordingly.
1450
85e963f1
NC
14512021-01-19 Nelson Chu <nelson.chu@sifive.com>
1452
1453 * testsuite/ld-elf/elf.exp (riscv_little_endian): Added. Return true
1454 if target is riscv little endian. Otherwise, return false.
1455 * testsuite/ld-elf/compressed1d.d: Only xfail the riscv little endian
1456 targets by [riscv_little_endian].
1457
326adec3
AM
14582021-01-18 Alan Modra <amodra@gmail.com>
1459
1460 PR 26378
1461 * ldlang.c (map_input_to_output_sections): Start with a read-only
1462 section for data statements.
1463 * testsuite/ld-elf/size-2.d: Adjust to suit.
1464
994b2513
L
14652021-01-17 H.J. Lu <hongjiu.lu@intel.com>
1466
1467 PR ld/27193
1468 * testsuite/ld-i386/i386.exp: Run PR ld/27193 test.
1469 * testsuite/ld-i386/pr27193.dd: New file.
1470 * testsuite/ld-i386/pr27193a.o.bz2: Likewise.
1471 * testsuite/ld-i386/pr27193b.s: Likewise.
1472
edf0f284
L
14732021-01-16 H.J. Lu <hongjiu.lu@intel.com>
1474
1475 PR binutils/23460
1476 * testsuite/ld-plugin/lto.exp: Increase the max number of open
1477 files to 20 for PR binutils/23460 test.
1478
75a933f3
L
14792021-01-16 H.J. Lu <hongjiu.lu@intel.com>
1480
1481 PR ld/23169
1482 * testsuite/ld-ifunc/ifunc.exp: Replace pr23169c.rd with
1483 pr23169a.rd for pr23169c and pr23169f. Remove pr23169e tests.
1484 * testsuite/ld-ifunc/pr23169a.c (foo): Don't compare function
1485 address.
1486
68b00778
L
14872021-01-15 H.J. Lu <hongjiu.lu@intel.com>
1488
1489 * NEWS: Mention -z report-relative-reloc.
1490 * ld.texi: Document -z report-relative-reloc.
1491 * emulparams/elf32_x86_64.sh: Source x86-report-relative.sh.
1492 * emulparams/elf_i386.sh: Likewse.
1493 * emulparams/elf_x86_64.sh: Likewse.
1494 * emulparams/x86-report-relative.sh: New file.
1495 * testsuite/ld-i386/report-reloc-1.d: Likewse.
1496 * testsuite/ld-i386/report-reloc-1.l: Likewse.
1497 * testsuite/ld-i386/report-reloc-1.s: Likewse.
1498 * testsuite/ld-x86-64/report-reloc-1-x32.d: Likewse.
1499 * testsuite/ld-x86-64/report-reloc-1.d: Likewse.
1500 * testsuite/ld-x86-64/report-reloc-1.l: Likewse.
1501 * testsuite/ld-x86-64/report-reloc-1.s: Likewse.
1502 * testsuite/ld-i386/i386.exp: Run report-reloc-1.
1503 * testsuite/ld-x86-64/x86-64.exp: Run report-reloc-1 and
1504 report-reloc-1-x32.
1505
eb6e6af8
AM
15062021-01-16 Alan Modra <amodra@gmail.com>
1507
1508 PR 26002
1509 * testsuite/ld-elfvers/vers6.dsym: Expect "Base" for undefined
1510 unversioned symbols.
1511 * testsuite/ld-elfvers/vers16.dsym: Likewise.
1512
b800637e
NC
15132021-01-15 Nelson Chu <nelson.chu@sifive.com>
1514
1515 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-01.d: Updated.
1516 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-02.d: Likewise.
1517 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-03.d: Likewise.
1518 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-04.d: Likewise.
1519 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-05.d: Likewise.
1520 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-06.d: Likewise.
1521
5a10699f
NC
15222021-01-14 Nick Clifton <nickc@redhat.com>
1523
1524 * po/fr.po: Updated French translation.
1525
271bea6a
MF
15262021-01-14 Mike Frysinger <vapier@gentoo.org>
1527
1528 * testsuite/config/default.exp [bfin*-elf*] (gcc_B_opt): Add -msim.
1529
4120e488
AM
15302021-01-14 Alan Modra <amodra@gmail.com>
1531
1532 PR 27160
1533 * ldelfgen.c (compare_link_order): Protect access of ELF section
1534 data.
1535 (add_link_order_input_section): Remove redundant NULL check.
1536 Use bfd_get_flavour.
1537 (ldelf_map_segments): Use bfd_get_flavour.
1538
b634d11d
L
15392021-01-13 H.J. Lu <hongjiu.lu@intel.com>
1540
1541 * ldelfgen.c (add_link_order_input_section): Check for ELF input
1542 before accessing ELF section data.
1543
5347ed60
AM
15442021-01-13 Alan Modra <amodra@gmail.com>
1545
1546 * Makefile.in: Regenerate.
1547
b209b5a6
AM
15482021-01-13 Alan Modra <amodra@gmail.com>
1549
1550 PR 27160
1551 * ldlang.h (lang_output_section_statement_type): Add data field.
1552 (lang_input_section_type, lang_section_bst_type): Add pattern field.
1553 (statement_list): Declare.
1554 (lang_add_section): Adjust prototype.
1555 * emultempl/aarch64elf.em: Adjust lang_add_section calls.
1556 * emultempl/armelf.em: Likewise.
1557 * emultempl/beos.em: Likewise.
1558 * emultempl/cskyelf.em: Likewise.
1559 * emultempl/hppaelf.em: Likewise.
1560 * emultempl/m68hc1xelf.em: Likewise.
1561 * emultempl/metagelf.em: Likewise.
1562 * emultempl/mipself.em: Likewise.
1563 * emultempl/mmo.em: Likewise.
1564 * emultempl/msp430.em: Likewise.
1565 * emultempl/nios2elf.em: Likewise.
1566 * emultempl/pe.em: Likewise.
1567 * emultempl/pep.em: Likewise.
1568 * emultempl/ppc64elf.em: Likewise.
1569 * emultempl/spuelf.em: Likewise.
1570 * emultempl/vms.em: Likewise.
1571 * ldelf.c: Likewise.
1572 * ldelfgen.c: Include ldctor.h.
1573 (struct os_sections): New.
1574 (add_link_order_input_section, link_order_scan): New functions.
1575 (compare_link_order, fixup_link_order): New functions.
1576 (ldelf_map_segments): Call link_order_scan and fixup_link_order.
1577 * ldlang.c (statement_list): Make global.
1578 (output_section_callback_fast): Save pattern in tree node.
1579 (lang_add_section): Add pattern parameter, save in lang_input_section.
1580 (output_section_callback_tree_to_list): Adjust lang_add_section calls.
1581 (lang_insert_orphan, output_section_callback): Likewise.
1582 (ldlang_place_orphan): Likewise.
1583 (gc_section_callback): Don't set section->pattern.
1584 * testsuite/ld-elf/pr26256-2a.d: Don't xfail generic.
1585 * testsuite/ld-elf/pr26256-3b.d: Likewise.
1586 * testsuite/ld-elf/pr26256-2b.d: Likewise. notarget xgate.
1587
8c4645b4
AM
15882021-01-13 Alan Modra <amodra@gmail.com>
1589
1590 * ldlang.h (callback_t): Remove flag_info function parameter.
1591 * ldlang.c (walk_wild_consider_section): Adjust to suit.
1592 (walk_wild_section_general): Likewise.
1593 (output_section_callback_fast, output_section_callback): Likewise.
1594 (check_section_callback, gc_section_callback): Likewise.
1595 (find_relro_section_callback): Likewise.
1596
d546b610
L
15972021-01-12 H.J. Lu <hongjiu.lu@intel.com>
1598
1599 PR binutils/26792
1600 * configure.ac: Use GNU_MAKE_JOBSERVER.
1601 * aclocal.m4: Regenerated.
1602 * configure: Likewise.
1603
c2e9a4a3
L
16042021-01-12 H.J. Lu <hongjiu.lu@intel.com>
1605
1606 PR ld/27171
1607 * testsuite/ld-x86-64/pe-x86-64-5.obj.bz2: New file.
1608 * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise.
1609 * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise.
1610 * testsuite/ld-x86-64/pe-x86-64.exp: Run PR ld/27171 test.
1611
83b33c6c
L
16122021-01-11 H.J. Lu <hongjiu.lu@intel.com>
1613
1614 PR ld/27173
1615 * configure: Regenerated.
1616
c0f6e439
MJ
16172021-01-11 Matt Jenkins <matt@majenko.co.uk>
1618
1619 PR ld/27167
1620 * ldmain.c (get_emulation): Add mipsmips32r3, mips32r5, mips64r3
1621 and mips64r5 to list of known mips targets.
1622
16232021-01-11 Nick Clifton <nickc@redhat.com>matt@majenko.co.uk
a8aa72b9
NC
1624
1625 * po/pt_BR.po: Updated Brazilian Portuguese translation.
1626` * po/uk.po: Updated Ukranian translation.
1627
a4966cd9
L
16282021-01-09 H.J. Lu <hongjiu.lu@intel.com>
1629
1630 * configure: Regenerated.
1631
0a94990b
L
16322021-01-09 H.J. Lu <hongjiu.lu@intel.com>
1633
1634 PR ld/27166
1635 * testsuite/ld-x86-64/lam-u48.rd: New file.
1636 * testsuite/ld-x86-64/lam-u57.rd: Likewise.
1637 * testsuite/ld-x86-64/x86-64.exp: Add PR ld/27166 tests.
1638
573fe3fb
NC
16392021-01-09 Nick Clifton <nickc@redhat.com>
1640
1641 * configure: Regenerate.
1642 * po/ld.pot: Regenerate.
1643
055bc77a
NC
16442021-01-09 Nick Clifton <nickc@redhat.com>
1645
1646 * 2.36 release branch crated.
1647
ba9e922f
L
16482021-01-08 H.J. Lu <hongjiu.lu@intel.com>
1649
1650 * ld-x86-64/property-x86-lam-u48-4.d: Updated.
1651 * ld-x86-64/property-x86-lam-u48-5.d: Likewise.
1652
64307045
AM
16532021-01-09 Alan Modra <amodra@gmail.com>
1654
1655 * configure: Regenerate.
1656 * Makefile.in: Regenerate.
1657
f4782128
ST
16582021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
1659
1660 * configure: Regenerate.
1661
d1bcae83
L
16622021-01-07 H.J. Lu <hongjiu.lu@intel.com>
1663
1664 PR 27109
1665 * testsuite/ld-elf/export-class.sd: Adjust the expected output.
1666 * testsuite/ld-elf/loadaddr3b.d: Likewise.
1667 * testsuite/ld-i386/ibt-plt-1.d: Likewise.
1668 * testsuite/ld-i386/ibt-plt-2a.d: Likewise.
1669 * testsuite/ld-i386/ibt-plt-2c.d: Likewise.
1670 * testsuite/ld-i386/ibt-plt-3a.d: Likewise.
1671 * testsuite/ld-i386/ibt-plt-3c.d: Likewise.
1672 * testsuite/ld-i386/pr19636-1d.d: Likewise.
1673 * testsuite/ld-i386/pr19636-1l.d: Likewise.
1674 * testsuite/ld-i386/pr19636-2c.d: Likewise.
1675 * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise.
1676 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise.
1677 * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Likewise.
1678 * testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise.
1679 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1680 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1681 * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise.
1682 * testsuite/ld-ifunc/pr17154-i386.d: Likewise.
1683 * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
1684 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
1685 * testsuite/ld-x86-64/bnd-branch-1-now.d: Likewise.
1686 * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise.
1687 * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise.
1688 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
1689 * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise.
1690 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
1691 * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise.
1692 * testsuite/ld-x86-64/ibt-plt-1.d: Likewise.
1693 * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise.
1694 * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise.
1695 * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise.
1696 * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise.
1697 * testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise.
1698 * testsuite/ld-x86-64/ibt-plt-3a.d: Likewise.
1699 * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise.
1700 * testsuite/ld-x86-64/ibt-plt-3c.d: Likewise.
1701 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
1702 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
1703 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
1704 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
1705 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
1706 * testsuite/ld-x86-64/pr19636-2l.d: Likewise.
1707 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
1708 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
1709 * testsuite/ld-x86-64/pr21038b-now.d: Likewise.
1710 * testsuite/ld-x86-64/pr21038b.d: Likewise.
1711 * testsuite/ld-x86-64/pr21038c-now.d: Likewise.
1712 * testsuite/ld-x86-64/pr21038c.d: Likewise.
1713 * testsuite/ld-x86-64/pr23854.d: Likewise.
1714 * testsuite/ld-x86-64/pr25416-3.d: Likewise.
1715 * testsuite/ld-x86-64/pr25416-4.d: Likewise.
1716 * testsuite/ld-i386/plt-pic.pd: Likewise.
1717 * testsuite/ld-i386/plt-pic2.dd: Likewise.
1718 * testsuite/ld-i386/plt.pd: Likewise.
1719 * testsuite/ld-i386/plt2.dd: Likewise.
1720 * testsuite/ld-i386/tlsbin.rd: Likewise.
1721 * testsuite/ld-i386/tlsbin2.rd: Likewise.
1722 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
1723 * testsuite/ld-i386/tlsdesc.rd: Likewise.
1724 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
1725 * testsuite/ld-i386/tlsnopic.rd: Likewise.
1726 * testsuite/ld-i386/tlspic.rd: Likewise.
1727 * testsuite/ld-i386/tlspic2.rd: Likewise.
1728 * testsuite/ld-x86-64/mpx3.dd: Likewise.
1729 * testsuite/ld-x86-64/mpx3n.dd: Likewise.
1730 * testsuite/ld-x86-64/mpx4.dd: Likewise.
1731 * testsuite/ld-x86-64/mpx4n.dd: Likewise.
1732 * testsuite/ld-x86-64/pe-x86-64-1.od: Likewise.
1733 * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise.
1734 * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise.
1735 * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise.
1736 * testsuite/ld-x86-64/plt.pd: Likewise.
1737 * testsuite/ld-x86-64/plt2.dd: Likewise.
1738 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
1739 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
1740 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
1741 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1742 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
1743 * testsuite/ld-x86-64/tlspic.rd: Likewise.
1744 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
1745 * testsuite/ld-elf/sec64k.exp: Check
1746 is_elf_unused_section_symbols.
1747
dc200613
AM
17482021-01-07 Alan Modra <amodra@gmail.com>
1749
1750 * testsuite/ld-scripts/fill.d: Skip sh-*-pe rather than xfail.
1751 * testsuite/ld-scripts/fill16.d: Don't xfail sh-*-pe.
1752 * testsuite/ld-scripts/segment-start.d: Likewise.
1753
8e604ff0
AM
17542021-01-07 Alan Modra <amodra@gmail.com>
1755
1756 * testsuite/ld-elf/comm-data5.d: xfail targets that complain
1757 about dynamic relocations in read-only sections.
1758 * testsuite/ld-elf/ehdr_start-shared.d: Likewise.
1759 * testsuite/ld-elf/ehdr_start.d: Likewise.
1760 * testsuite/ld-scripts/pr22267.d: Likewise.
1761 * testsuite/ld-elf/shared.exp: Likewise for DT_TEXTREL tests and
1762 pr20995 text.
1763 * testsuite/ld-elf/sec64k.exp: Don't run 64ksec on lm32-linux.
1764
4d4490b8
MC
17652021-01-07 Marcus Comstedt <marcus@mc.pp.se>
1766
1767 * testsuite/ld-scripts/empty-address-2a.d: xfail riscv64*-*-*.
1768 * testsuite/ld-scripts/empty-address-2b.d: Likewise.
1769
f526791a
AM
17702021-01-07 Alan Modra <amodra@gmail.com>
1771
1772 * po/BLD-POTFILES.in: Regenerate.
1773
4018f4e0
AM
17742021-01-07 Alan Modra <amodra@gmail.com>
1775
1776 * testsuite/ld-elf/shared.exp: xfail pr22471 for targets that
1777 complain about relocs in read-only sections. Tidy ASFLAGS append.
1778
3677b729
AM
17792021-01-06 Alan Modra <amodra@gmail.com>
1780
1781 * testsuite/ld-sparc/sparc.exp (sparc64tests): Set text-segment
1782 base for some tests.
1783 * testsuite/ld-sparc/gotop32.dd: Match solaris output.
1784 * testsuite/ld-sparc/gotop32.sd: Likewise.
1785 * testsuite/ld-sparc/gotop32.td: Likewise.
1786 * testsuite/ld-sparc/gotop64.dd: Likewise.
1787 * testsuite/ld-sparc/gotop64.sd: Likewise.
1788 * testsuite/ld-sparc/gotop64.td: Likewise.
1789 * testsuite/ld-sparc/tlsg32.sd: Likewise.
1790 * testsuite/ld-sparc/tlsg64.sd: Likewise.
1791 * testsuite/ld-sparc/tlspie32.dd: Likewise.
1792 * testsuite/ld-sparc/tlspie64.dd: Likewise.
1793 * testsuite/ld-sparc/tlssunbin32.dd: Likewise.
1794 * testsuite/ld-sparc/tlssunbin32.sd: Likewise.
1795 * testsuite/ld-sparc/tlssunbin32.td: Likewise.
1796 * testsuite/ld-sparc/tlssunbin64.dd: Likewise.
1797 * testsuite/ld-sparc/tlssunbin64.sd: Likewise.
1798 * testsuite/ld-sparc/tlssunbin64.td: Likewise.
1799 * testsuite/ld-sparc/tlssunnopic32.dd: Likewise.
1800 * testsuite/ld-sparc/tlssunnopic32.sd: Likewise.
1801 * testsuite/ld-sparc/tlssunnopic64.dd: Likewise.
1802 * testsuite/ld-sparc/tlssunnopic64.sd: Likewise.
1803 * testsuite/ld-sparc/tlssunpic32.dd: Likewise.
1804 * testsuite/ld-sparc/tlssunpic32.sd: Likewise.
1805 * testsuite/ld-sparc/tlssunpic32.td: Likewise.
1806 * testsuite/ld-sparc/tlssunpic64.dd: Likewise.
1807 * testsuite/ld-sparc/tlssunpic64.sd: Likewise.
1808 * testsuite/ld-sparc/tlssunpic64.td: Likewise.
1809 * testsuite/ld-sparc/wdispcall.dd: Likewise.
1810
73624512
AM
18112021-01-06 Alan Modra <amodra@gmail.com>
1812
1813 * testsuite/ld-scripts/rgn-at10.d: xfail v850.
1814 * testsuite/ld-scripts/rgn-at11.d: Likewise.
1815
f36ce378
MC
18162021-01-06 Marcus Comstedt <marcus@mc.pp.se>
1817
1818 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Added
1819 riscv_choose_[ilp32|lp64]_emul to choose the correct linker script.
1820 * testsuite/ld-riscv-elf/attr-merge-arch-01.d: Call
1821 riscv_choose_[ilp32|lp64]_emul instead of hardcoding elf[32|64]lriscv.
1822 * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
1823 * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
1824 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Likewise.
1825 * testsuite/ld-riscv-elf/attr-merge-arch-failed-02.d: Likewise.
1826 * testsuite/ld-riscv-elf/c-lui-2.d: Likewise.
1827 * testsuite/ld-riscv-elf/c-lui.d: Likewise.
1828 * testsuite/ld-riscv-elf/call-relax.d: Likewise.
1829 * testsuite/ld-riscv-elf/pcrel-lo-addend-2.d: Likewise.
1830 * testsuite/ld-riscv-elf/pcrel-lo-addend.d: Likewise.
1831 * testsuite/ld-riscv-elf/weakref32.d: Accept bigriscv in addition
1832 to littleriscv.
1833 * testsuite/ld-riscv-elf/weakref64.d: Likewise.
1834
fbc09e7a
MC
18352021-01-06 Marcus Comstedt <marcus@mc.pp.se>
1836
1837 * configure.tgt: Added riscvbe-*-*, riscv32be*-*-*, riscv64be*-*-*,
1838 riscv32be*-*-linux*, and riscv64be*-*-linux*.
1839 * Makefile.am: Added eelf32briscv.c, eelf32briscv_ilp32f.c and
1840 eelf32briscv_ilp32.c.
1841 * Makefile.in: Regenerate.
1842 * emulparams/elf32briscv.sh: Added.
1843 * emulparams/elf32briscv_ilp32.sh: Likewise.
1844 * emulparams/elf32briscv_ilp32f.sh: Likewise.
1845 * emulparams/elf64briscv.sh: Likewise.
1846 * emulparams/elf64briscv_lp64.sh: Likewise.
1847 * emulparams/elf64briscv_lp64f.sh: Likewise.
1848
b4b6ea46
NA
18492021-01-05 Nick Alcock <nick.alcock@oracle.com>
1850
1851 * testsuite/ld-ctf/enum-forward.c: New test.
1852 * testsuite/ld-ctf/enum-forward.c: New results.
1853
37002871
NA
18542021-01-05 Nick Alcock <nick.alcock@oracle.com>
1855
1856 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
1857 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
1858 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
1859 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
1860 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
1861 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
1862 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
1863 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
1864 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
1865 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
1866 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
1867 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
1868 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
1869 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
1870 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
1871 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
1872 * testsuite/ld-ctf/cycle-1.d: Likewise.
1873 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
1874 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
1875 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
1876 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
1877 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
1878 * testsuite/ld-ctf/diag-cuname.d: Likewise.
1879 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
1880 * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise.
1881 * testsuite/ld-ctf/forward.d: Likewise.
1882 * testsuite/ld-ctf/function.d: Likewise.
1883 * testsuite/ld-ctf/slice.d: Likewise.
1884 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
1885 * testsuite/ld-ctf/enums.c: New test.
1886 * testsuite/ld-ctf/enums.d: New test.
1887
ffeece6a
NA
18882021-01-05 Nick Alcock <nick.alcock@oracle.com>
1889
1890 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Adjust for dumper
1891 changes.
1892 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
1893 * testsuite/ld-ctf/forward.c: New test...
1894 * testsuite/ld-ctf/forward.d: ... and results.
1895
91e7ce2f
NA
18962021-01-05 Nick Alcock <nick.alcock@oracle.com>
1897
1898 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
1899 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
1900 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
1901 * testsuite/ld-ctf/diag-cuname.d: Likewise.
1902 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
1903 * testsuite/ld-ctf/function.d: Likewise.
1904 * testsuite/ld-ctf/slice.d: Likewise.
1905
57f97d0e
NA
19062021-01-05 Nick Alcock <nick.alcock@oracle.com>
1907
1908 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
1909 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
1910 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
1911 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
1912 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
1913 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
1914 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
1915 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
1916 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
1917 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
1918 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
1919 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
1920 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
1921 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
1922 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
1923 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
1924 * testsuite/ld-ctf/cycle-1.d: Likewise.
1925 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
1926 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
1927 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
1928 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
1929 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
1930 * testsuite/ld-ctf/diag-cuname.d: Likewise.
1931 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
1932 * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise.
1933 * testsuite/ld-ctf/function.d: Likewise.
1934 * testsuite/ld-ctf/slice.d: Likewise.
1935 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
1936
b281a04f
AM
19372021-01-05 Alan Modra <amodra@gmail.com>
1938
1939 * testsuite/ld-scripts/sysroot-prefix.exp: Exclude some targets.
1940
40b11930
AM
19412021-01-05 Alan Modra <amodra@gmail.com>
1942
1943 PR ld/26256
1944 * testsuite/ld-elf/pr26256-1b.d: xfail s12z.
1945 * testsuite/ld-scripts/crossref.exp (cross1): Don't xfail ia64.
1946
cd6d537c
L
19472021-01-04 H.J. Lu <hongjiu.lu@intel.com>
1948
1949 PR ld/26256
1950 * ldlang.c (gc_section_callback): Set pattern.
1951 * testsuite/ld-elf/pr26256-1.s: New file.
1952 * testsuite/ld-elf/pr26256-1.t: Likewise.
1953 * testsuite/ld-elf/pr26256-1a.d: Likewise.
1954 * testsuite/ld-elf/pr26256-1b.d: Likewise.
1955 * testsuite/ld-elf/pr26256-2.s: Likewise.
1956 * testsuite/ld-elf/pr26256-2.t: Likewise.
1957 * testsuite/ld-elf/pr26256-2a.d: Likewise.
1958 * testsuite/ld-elf/pr26256-2b-alt.d: Likewise.
1959 * testsuite/ld-elf/pr26256-2b.d: Likewise.
1960 * testsuite/ld-elf/pr26256-3.s: Likewise.
1961 * testsuite/ld-elf/pr26256-3a.d: Likewise.
1962 * testsuite/ld-elf/pr26256-3a.t: Likewise.
1963 * testsuite/ld-elf/pr26256-3b.d: Likewise.
1964 * testsuite/ld-elf/pr26256-3b.t: Likewise.
1965
5b4293ba
AM
19662021-01-04 Alan Modra <amodra@gmail.com>
1967
1968 PR 26822
1969 * testsuite/ld-arm/non-contiguous-arm2.d: Adjust STT_FILE symbol match.
1970 * testsuite/ld-arm/non-contiguous-arm3.d: Likewise.
1971 * testsuite/ld-arm/non-contiguous-arm5.d: Likewise.
1972 * testsuite/ld-arm/non-contiguous-arm6.d: Likewise.
1973 * testsuite/ld-i386/tlsbin.rd: Likewise.
1974 * testsuite/ld-i386/tlsbin2.rd: Likewise.
1975 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
1976 * testsuite/ld-i386/tlsdesc.rd: Likewise.
1977 * testsuite/ld-i386/tlsnopic.rd: Likewise.
1978 * testsuite/ld-i386/tlspic.rd: Likewise.
1979 * testsuite/ld-i386/tlspic2.rd: Likewise.
1980 * testsuite/ld-mips-elf/global-local-symtab-sort-n64.d: Likewise.
1981 * testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d: Likewise.
1982 * testsuite/ld-mips-elf/global-local-symtab-sort-o32.d: Likewise.
1983 * testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d: Likewise.
1984 * testsuite/ld-plugin/pr17973.d: Likewise.
1985 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
1986 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
1987 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
1988 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
1989 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
1990 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
1991 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
1992 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
1993 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
1994 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
1995 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
1996 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
1997 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
1998 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
1999 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
2000 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
2001 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
2002 * testsuite/ld-x86-64/tlspic.rd: Likewise.
2003 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
2004 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
2005 * testsuite/ld-xtensa/tlspic.rd: Likewise.
2006
f9a6a8f0
AM
20072021-01-01 Nicolas Boulenguez <nicolas@debian.org>
2008
2009 * configure.tgt: Correct comment grammar.
2010 * emultempl/m68hc1xelf.em: Likewise.
2011 * ld.texi: Correct grammar.
2012
250d07de
AM
20132021-01-01 Alan Modra <amodra@gmail.com>
2014
2015 Update year range in copyright notice of all files.
2016
c2795844 2017For older changes see ChangeLog-2020
3499769a 2018\f
d87bef3a 2019Copyright (C) 2021-2023 Free Software Foundation, Inc.
3499769a
AM
2020
2021Copying and distribution of this file, with or without modification,
2022are permitted in any medium without royalty provided the copyright
2023notice and this notice are preserved.
2024
2025Local Variables:
2026mode: change-log
2027left-margin: 8
2028fill-column: 74
2029version-control: never
2030End: