]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/ChangeLog
Fix a conflict between the linker's need to rename some PE format input libraries...
[thirdparty/binutils-gdb.git] / ld / ChangeLog
CommitLineData
a6ad7914
AM
12022-08-03 Alan Modra <amodra@gmail.com>
2
3 PR 29389
4 * ldlang.h (lang_input_statement_struct): Add sort_key field.
5 * emultempl/pe.em (after_open): If multiple import libraries refer
6 to the same bfd, store their names in the sort_key field.
7 * emultempl/pep.em (after_open): Likewise.
8 * ldlang.c (sort_filename): New function. Returns the filename to
9 be used when sorting input files.
10 (wild_sort): Use the sort_filename function.
11
b80b72c0
RO
122022-07-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
13
14 PR ld/29411
15 * configure.tgt (ac_default_ld_warn_rwx_segments): Extend to all
16 sparc targets. Expand comment.
17
91896b4d
NC
182022-07-26 Nick Clifton <nickc@redhat.com>
19
20 PR 29411
21 * configure.tgt (ac_default_ld_warn_rwx_segments): Disable for
22 sparc-solaris configurations.
23
0bd09323
NC
242022-07-08 Nick Clifton <nickc@redhat.com>
25
26 * 2.39 branch created.
27
ed1c7ad8
NC
282022-06-27 Nick Clifton <nickc@redhat.com>
29
30 PR 29263
31 * configure.ac: Move HPPA specific code from here...
32 * configure.tgt: ... to here. Add similar code for MIPS.
33 Move code for CRIS, MIPS and HPPA to block at start of file.
34 * configure: Regenerate.
35
acd65fa6
NC
362022-06-21 Nick Clifton <nickc@redhat.com>
37
38 PR 29263
39 * configure.ac (ac_default_ld_warn_execstack): Default to 'no' for
40 HPPA targets.
41 (ac_default_ld_warn_rwx_segments): Likewise.
42 * configure: Regenerate.
43 * testsuite/ld-elf/elf.exp: Add the --warn-execstack command line
44 option to the command line when running execstack tests for the
45 HPPA target.
46
678dc756
AM
472022-05-12 Alan Modra <amodra@gmail.com>
48
49 PR 29006
50 * pe-dll.c (dll_name): Delete, replacing with..
51 (dll_filename): ..this, moved earlier in file.
52 (generate_edata): Delete parameters. Don't set up dll_name here..
53 (pe_process_import_defs): ..instead set up dll_filename and
54 dll_symname here before returning.
55 (dll_symname_len): Delete write-only variable.
56 (pe_dll_generate_implib): Don't set up dll_symname here.
57
46465574
NC
582022-05-03 Nick Clifton <nickc@redhat.com>
59
60 PR 29101
61 * libdep_plugin.c (get_libdeps): Check for overflow when computing
62 amount of memory to allocate.
63
639d467b
NC
642022-04-27 Nick Clifton <nickc@redhat.com>
65
66 PR 29006
67 * pe-dll.c (make_head): Use asprintf to allocate and populate a
68 buffer containing the temporary name.
69 (make_tail, make_one, make_singleton_name_thunk): Likewise.
70 (make_import_fixup_mark, make_import_fixup_entry): Likewise.
71 (make_runtime_pseudo_reloc): Likewise.
72 (pe_create_runtime_relocator_reference): Likewise.
73
0d38576a
NC
742022-04-25 Nick Clifton <nickc@redhat.com>
75
76 PR 29072
77 * testsuite/ld-elf/pr29072.b.warn: Update to include the note
78 about the linker's behaviour being depreccated.
79
2d23f965
CC
802022-04-20 Clément Chigot <clement.chigot@atos.net>
81
82 * emultempl/aix.em (params): New variable.
83 (stub_file): New variable.
84 (xcoff_add_stub_section): New function.
85 (xcoff_layout_sections_again): New function
86 (hook_in_stub): New function.
87 (_after_allocation): Add stub creation.
88 (_create_output_section_statements): Allocate stub file and
89 pass params to backend.
90
1876a542
CC
912022-04-20 Clément Chigot <clement.chigot@atos.net>
92
93 * emultempl/aix.em (_after_allocation): New function.
94
145667f8
MH
952022-04-07 Mark Harmstone <mark@harmstone.com>
96
97 * testsuite/ld-pe/secidx1.s: New test source file.
98 * testsuite/ld-pe/secidx2.s: New test source file.
99 * testsuite/ld-pe/secidx.d: New test driver file.
100 * testsuite/ld-pe/secidx_64.d: New test driver file.
101 * testsuite/ld-pe/pe.exp: Add new tests.
102
95e96e05
NC
1032022-03-01 Nick Clifton <nickc@redhat.com>
104
105 PR 21964
106 * testsuite/ld-elf/pr21964-1a.c: Fix array comparisons.
107 * testsuite/ld-elf/pr21964-1b.c: Likewise.
108 * testsuite/ld-elf/pr21964-1c.c: Likewise.
109 * testsuite/ld-elf/pr21964-2a.c: Likewise.
110 * testsuite/ld-elf/pr21964-2b.c: Likewise.
111 * testsuite/ld-elf/pr21964-3a.c: Likewise.
112
5c14cc55
RM
1132022-02-17 Roland McGrath <mcgrathr@google.com>
114
115 * ld.texi (Output Section Type): Fix typo in @code syntax.
116
36d285b9
NC
1172022-02-17 Nick Clifton <nickc@redhat.com>
118
119 * po/sr.po: Updated Serbian translation.
120
c212f39d 1212022-02-16 Fangrui Song <maskray@google.com>
5c14cc55 122 Nick Clifton <nickc@redhat.com>
c212f39d
FS
123
124 PR ld/28841
125 * ld.texi: Document new output section type.
126 * ldlex.l: Add new token TYPE.
127 * ldgram.y: Handle TYPE=exp and READONLY (TYPE=exp).
128 * ldlang.h: Add type_section to list of section types.
129 * ldlang.c (lang_add_section): Handle type_section.
130 (map_input_to_output_sections): Handle type_section.
131 * testsuite/ld-scripts/output-section-types.t: Add tests.
132 * testsuite/ld-scripts/output-section-types.d: Update.
133
a6983974
NC
1342022-02-02 Nick Clifton <nickc@redhat.com>
135
136 * po/fr.po: Updated French translation.
137
5fe73d46
NC
1382022-01-24 Nick Clifton <nickc@redhat.com>
139
140 * po/bg.po: Updated Bulgarian translation.
141 * po/uk.po: Updated Ukranian translation.
142
cc5e4073
AGI
1432022-01-22 Alexander von Gluck IV <kallisti5@unixzen.com>
144
145 * configure.tgt (arm-haiku): Fix typo.
146 * emulparams/armelf_haiku.su (MAXPAGESIZE): Use the default value.
147 (COMMONPAGESIZE): Likewise.
148
f908e960
NC
1492022-01-22 Nick Clifton <nickc@redhat.com>
150
151 * configure: Regenerate.
152 * po/ld.pot: Regenerate.
153
a74e1cb3
NC
1542022-01-22 Nick Clifton <nickc@redhat.com>
155
156 * 2.38 release branch created.
157
e901223d
NC
1582022-01-21 Nick Clifton <nickc@redhat.com>
159
160 * po/sr.po: Updated Serbian translation.
161
6c037fdb
NC
1622022-01-17 Nick Clifton <nickc@redhat.com>
163
164 * Makefile.in: Regenerate.
165 * po/ld.pot: Regenerate.
166
c4a8df19
MS
1672022-01-11 Martin Storsjö <martin@martin.st>
168
169 * pe-dll.c (make_head): Prefix the symbol name with the dll name.
170 (make_tail, make_one, make_singleton_name_thunk): Likewise.
171 (make_import_fixup_entry, make_runtime_pseudo_reloc): Likewise.
172 (pe_create_runtime_relocator_reference): Likewise.
173 (pe_dll_generate_implib): Set dll_symname_len.
174 (pe_process_import_defs): Likewise.
175
f3be70df
NC
1762021-12-16 Nick Clifton <nickc@redhat.com>
177
178 PR 28686
179 * testsuite/ld-avr/avr-prop-7.d: Adjust expected output.
180 * testsuite/ld-avr/avr-prop-8.d: Likewise.
181 * testsuite/ld-avr/pr13402.d: Likewise.
182
44b357eb
NC
1832021-11-30 Nick Clifton <nickc@redhat.com>
184
185 * scripttempl/pru.sc (.pru_irq_map): Define output section.
186 * testsuite/ld-pru/pru_irq_map-1.d: New test.
187 * testsuite/ld-pru/pru_irq_map-2.d: New test.
188 * testsuite/ld-pru/pru_irq_map.s: New test.
189
ef6379e1
JD
1902021-11-17 Jeremy Drake <cygwin@jdrake.com>
191
192 * emultempl/pep.em (DEFAULT_DLL_CHARACTERISTICS): Set to 0 for
193 Cygwin targets.
194 * emultempl/pep.em (DEFAULT_DLL_CHARACTERISTICS): Likewise.
195
ee9e412f
NC
1962021-11-17 Nick Clifton <nickc@redhat.com>
197
198 PR 28452
199 * ldgram.y: Add support for PT_GNU_RELRO and PT_GNU_PROPERTY.
200 * ldgram.c: Regenerate.
201
d029b54d
RM
2022021-11-15 Roland McGrath <mcgrathr@google.com>
203
204 * testsuite/ld-aarch64/dt_textrel.d: Pass explicit -z notext in
205 case ld was configured with --enable-textrel-check=error.
206 * testsuite/ld-aarch64/pr22764.d: Likewise.
207 * testsuite/ld-aarch64/pr20402.d: Likewise.
208
eb5323fd
NA
2092021-10-25 Nick Alcock <nick.alcock@oracle.com>
210
211 * testsuite/ld-ctf/nonrepresentable-member.*: New test.
212
10909ea8
NA
2132021-10-25 Nick Alcock <nick.alcock@oracle.com>
214
215 * testsuite/ld-ctf/array.d: Change --ctf=.ctf to --ctf.
216 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
217 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
218 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
219 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
220 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
221 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
222 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
223 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
224 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
225 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
226 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
227 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
228 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
229 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
230 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
231 * testsuite/ld-ctf/cycle-1.d: Likewise.
232 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
233 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
234 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
235 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
236 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
237 * testsuite/ld-ctf/diag-cuname.d: Likewise.
238 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
239 * testsuite/ld-ctf/enum-forward.d: Likewise.
240 * testsuite/ld-ctf/enums.d: Likewise.
241 * testsuite/ld-ctf/forward.d: Likewise.
242 * testsuite/ld-ctf/function.d: Likewise.
243 * testsuite/ld-ctf/nonrepresentable.d: Likewise.
244 * testsuite/ld-ctf/slice.d: Likewise.
245 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
246
5109a7bd
DD
2472021-09-30 Dimitar Dimitrov <dimitar@dinux.eu>
248
249 * scripttempl/pru.sc (.resource_table): Align the output
250 section, not the first symbol.
251
b9004024
NA
2522021-09-27 Nick Alcock <nick.alcock@oracle.com>
253
254 * configure: Regenerate.
255
5226a6a8
NC
2562021-09-21 Nick Clifton <nickc@redhat.com>
257
258 * ldlang.c (lang_end): When computing the entry point, only
259 try the start address of the entry section when creating an
260 executable.
261 * ld.texi (Entry point): Update description of heuristic used to
262 choose the entry point.
263 testsuite/ld-alpha/tlspic.rd: Update expected entry point address.
264 testsuite/ld-arm/tls-gdesc-got.d: Likewise.
265 testsuite/ld-i386/tlsnopic.rd: Likewise.
266 testsuite/ld-ia64/tlspic.rd: Likewise.
267 testsuite/ld-sparc/gotop32.rd: Likewise.
268 testsuite/ld-sparc/gotop64.rd: Likewise.
269 testsuite/ld-sparc/tlssunnopic32.rd: Likewise.
270 testsuite/ld-sparc/tlssunnopic64.rd: Likewise.
271 testsuite/ld-sparc/tlssunpic32.rd: Likewise.
272 testsuite/ld-sparc/tlssunpic64.rd: Likewise.
273 testsuite/ld-tic6x/shlib-1.rd: Likewise.
274 testsuite/ld-tic6x/shlib-1b.rd: Likewise.
275 testsuite/ld-tic6x/shlib-1r.rd: Likewise.
276 testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
277 testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
278 testsuite/ld-x86-64/pr14207.d: Likewise.
279 testsuite/ld-x86-64/tlsdesc.rd: Likewise.
280 testsuite/ld-x86-64/tlspic.rd: Likewise.
281 testsuite/ld-x86-64/tlspic2.rd: Likewise.
282
720f6ee0
CZ
2832021-09-15 Claudiu Zissulescu <claziss@synopsys.com>
284
285 * testsuite/ld-arc/got-weak.d: Update file.
286
09a7e912
CZ
2872021-09-14 Claudiu Zissulescu <claziss@synopsys.com>
288
289 * ld-arc/got-weak.d: New file.
290 * ld-arc/got-weak.s: Likewise.
291
dfe3b805
RM
2922021-07-26 Roland McGrath <mcgrathr@google.com>
293
294 * testsuite/ld-x86-64/x86-64.exp (Build textrel-1): Use --warn-textrel.
295
235f5ef4
MM
2962021-07-06 Michael Matz <matz@suse.de>
297
298 PR ld/28021
299 * testsuite/ld-riscv-elf/relax-twice.ver: New.
300 * testsuite/ld-riscv-elf/relax-twice-1.s: New.
301 * testsuite/ld-riscv-elf/relax-twice-2.s: New.
302 * testsuite/ld-riscv-elf/ld-riscv-elf.exp
303 (run_relax_twice_test): New, and call it.
304
346d80ef
NC
3052021-07-03 Nick Clifton <nickc@redhat.com>
306
307 * configure: Regenerate.
308 * po/ld.pot: Regenerate.
309
51419248
NC
3102021-07-03 Nick Clifton <nickc@redhat.com>
311
312 * 2.37 release branch created.
313
50331d64
NC
3142021-06-22 Nelson Chu <nelson.chu@sifive.com>
315
316 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
317 * testsuite/ld-riscv-elf/pcrel-lo-addend-3a.d: New testcase.
318 * testsuite/ld-riscv-elf/pcrel-lo-addend-3a.s: Likewise.
319 * testsuite/ld-riscv-elf/pcrel-lo-addend-3b.d: New testcase.
320 Should report error since the %pcrel_lo with addend refers to
321 %got_pcrel_hi.
322 * testsuite/ld-riscv-elf/pcrel-lo-addend-3b.s: Likewise.
323 * testsuite/ld-riscv-elf/pcrel-lo-addend-3c.d: New testcase.
324 Should report error since the %got_pcrel_hi with addend.
325 * testsuite/ld-riscv-elf/pcrel-lo-addend-3c.s: Likewise.
326 * testsuite/ld-riscv-elf/pcrel-lo-addend-3.ld: Likewise.
327
406b4ada
L
3282021-06-19 H.J. Lu <hongjiu.lu@intel.com>
329
330 PR ld/27998
331 * testsuite/ld-i386/i386.exp: Run PR ld/27998 tests.
332 * testsuite/ld-i386/pr27998a.d: New file.
333 * testsuite/ld-i386/pr27998a.s: Likewise.
334 * testsuite/ld-i386/pr27998b.d: Likewise.
335 * testsuite/ld-i386/pr27998b.s: Likewise.
336
83b1d8f4
L
3372021-06-19 H.J. Lu <hongjiu.lu@intel.com>
338
339 * testsuite/ld-x86-64/textrel-1.err: New file.
340 * testsuite/ld-x86-64/textrel-1a.s: Likewise.
341 * testsuite/ld-x86-64/textrel-1b.s: Likewise.
342 * testsuite/ld-x86-64/x86-64.exp: Run textrel-1 tests.
343
c30420d8
L
3442021-06-18 H.J. Lu <hongjiu.lu@intel.com>
345
346 * testsuite/ld-elf/property-and-1.d: Skip am33_2.0, hppa-hpux
347 and mn10300.
348 Pass --generate-missing-build-notes=no to assembler. Allow
349 other note sections for xtensa.
350 * testsuite/ld-elf/property-and-2.d: Likewise.
351 * testsuite/ld-elf/property-and-3.d: Likewise.
352 * testsuite/ld-elf/property-and-4.d: Likewise.
353 * testsuite/ld-elf/property-or-1.d: Likewise.
354 * testsuite/ld-elf/property-or-2.d: Likewise.
355 * testsuite/ld-elf/property-or-3.d: Likewise.
356 * testsuite/ld-elf/property-or-4.d: Likewise.
357
2d95647b
L
3582021-06-18 H.J. Lu <hongjiu.lu@intel.com>
359
360 * ld.texi: Move -z unique-symbol after -z undefs.
361
5a767724
L
3622021-06-18 H.J. Lu <hongjiu.lu@intel.com>
363
364 * testsuite/ld-elf/property-and-1.d: New file.
365 * testsuite/ld-elf/property-and-1.s: Likewise.
366 * testsuite/ld-elf/property-and-2.d: Likewise.
367 * testsuite/ld-elf/property-and-2.s: Likewise.
368 * testsuite/ld-elf/property-and-3.d: Likewise.
369 * testsuite/ld-elf/property-and-3.s: Likewise.
370 * testsuite/ld-elf/property-and-4.d: Likewise.
371 * testsuite/ld-elf/property-and-empty.s: Likewise.
372 * testsuite/ld-elf/property-or-1.d: Likewise.
373 * testsuite/ld-elf/property-or-1.s: Likewise.
374 * testsuite/ld-elf/property-or-2.d: Likewise.
375 * testsuite/ld-elf/property-or-2.s: Likewise.
376 * testsuite/ld-elf/property-or-3.d: Likewise.
377 * testsuite/ld-elf/property-or-3.s: Likewise.
378 * testsuite/ld-elf/property-or-4.d: Likewise.
379 * testsuite/ld-elf/property-or-empty.s: Likewise.
380
e013d20d
L
3812021-06-17 H.J. Lu <hongjiu.lu@intel.com>
382
383 PR ld/27973
384 * testsuite/ld-x86-64/x86-64.exp: Pass $NOPIE_LDFLAGS and
385 $NOPIE_CFLAGS to protected-func-1 without PIE.
386
b6b42983
L
3872021-06-17 H.J. Lu <hongjiu.lu@intel.com>
388
389 PR ld/27973
390 * testsuite/ld-x86-64/x86-64.exp: Run protected function tests.
391 * testsuite/ld-x86-64/protected-func-1.h: New file.
392 * testsuite/ld-x86-64/protected-func-1a.s: Likewise.
393 * testsuite/ld-x86-64/protected-func-1b.c: Likewise.
394
d208bc76
FS
3952021-06-17 Fangrui Song <maskray@google.com>
396
397 * ldlex.h (enum option_values): Add OPTION_NO_PIE.
398 * lexsup.c (struct ld_options): Add -no-pie.
399 (parse_args): Handle -no-pie.
400 * ld.texi: Document -no-pie.
401
93df3340
AM
4022021-06-15 Alan Modra <amodra@gmail.com>
403
404 * testsuite/ld-pie/vaddr-0.d: Update expected output.
405
f64b9b13
AM
4062021-06-11 Alan Modra <amodra@gmail.com>
407
408 PR 27952
409 * ldelf.c (ldelf_after_open): Error on input PIEs too.
410
f75bcf7e
NC
4112021-06-09 Nick Clifton <nickc@redhat.com>
412
413 PR 27666
414 * testsuite/ld-sparc/sparc.exp: Do not run the sparctests or
415 sparc64tests for Solaris2 targets.
416
364d7729
AM
4172021-06-03 Alan Modra <amodra@gmail.com>
418
419 PR 2589
420 * ld.texi (link-time runtime library search path): Mention
421 plugin library path. Correct order of search.
422
ef9d2565
NC
4232021-05-31 Nelson Chu <nelson.chu@sifive.com>
424 Lifang Xia <lifang_xia@c-sky.com>
425
426 PR 27566
427 * emultempl/riscvelf.em (after_allocation): Call
428 riscv_set_data_segment_info to set data segment phase before relaxing.
429 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
430 * testsuite/ld-riscv-elf/relro-relax-lui.d: New testcase.
431 * testsuite/ld-riscv-elf/relro-relax-lui.s: Likewise.
432 * testsuite/ld-riscv-elf/relro-relax-pcrel.d: Likewise.
433 * testsuite/ld-riscv-elf/relro-relax-pcrel.s: Likewise.
434
1273b2f8
L
4352021-05-28 H.J. Lu <hongjiu.lu@intel.com>
436
437 PR ld/27905
438 * testsuite/ld-i386/pcrel16-2.d: xfail.
439 * testsuite/ld-x86-64/pcrel16-2.d: Likewise.
440
50c95a73
L
4412021-05-26 H.J. Lu <hongjiu.lu@intel.com>
442
443 PR ld/27905
444 * testsuite/ld-i386/code16.d: New file.
445 * testsuite/ld-i386/code16.t: Likewise.
446 * testsuite/ld-x86-64/code16.d: Likewise.
447 * testsuite/ld-x86-64/code16.t: Likewise.
448 * testsuite/ld-i386/i386.exp: Run code16.
449 * testsuite/ld-x86-64/x86-64.exp: Likewise.
450
983d5689
L
4512021-05-26 H.J. Lu <hongjiu.lu@intel.com>
452
453 * testsuite/ld-x86-64/ilp32-12.d: New file.
454 * testsuite/ld-x86-64/ilp32-12.s: Likewise.
455 * testsuite/ld-x86-64/x86-64.exp: Run ilp32-12.
456
75f03fa7
NC
4572021-05-14 Nelson Chu <nelson.chu@sifive.com>
458
459 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
460 * testsuite/ld-riscv-elf/pcrel-lo-addend-2a.d: Renamed from
461 pcrel-lo-addend-2.
462 * testsuite/ld-riscv-elf/pcrel-lo-addend-2a.s: Likewise.
463 * testsuite/ld-riscv-elf/pcrel-lo-addend-2b.d: New testcase.
464 * testsuite/ld-riscv-elf/pcrel-lo-addend-2b.s: Likewise.
465
cf893b0e
FS
4662021-05-13 Fangrui Song <maskray@google.com>
467
468 PR 27834
469 * ldlex.h (enum option_values): Add OPTION_NO_SYMBOLIC.
470 * lexsup.c (ld_options): Add -Bno-symbolic.
471 (parse_args): Handle -Bno-symbolic.
472 * ld.texi: Document -Bno-symbolic.
473 * NEWS: Mention -Bno-symbolic.
474 * testsuite/ld-elf/shared.exp: Add a test.
475
84139c58
RE
4762021-05-12 Richard Earnshaw <rearnsha@arm.com>
477
478 * testsuite/ld-arm/arm-elf.exp (farcall test for v8-m.mainline):
479 Correct expected output.
480
4a1ad5c9
RM
4812021-05-11 Roland McGrath <mcgrathr@google.com>
482
483 * testsuite/ld-x86-64/rela.d: Fix regexp not to presume a specific
484 address layout, so it works for e.g. --target=x86-64-elf.
485
22604fe6
NC
4862021-05-11 Nick Clifton <nickc@redhat.com>
487
488 PR 27113
489 * Makefile.am (install-data-local): Also delete libdep.dll.a if it
490 is present.
491 * Makefile.in: Regenerate.
492
5b45e89f
DD
4932021-05-10 Dimitar Dimitrov <dimitar@dinux.eu>
494
495 * testsuite/ld-elf/group8a.d: Remove pru from XFAIL list.
496 * testsuite/ld-elf/group8b.d: Ditto.
497 * testsuite/ld-elf/group9a.d: Ditto.
498 * testsuite/ld-elf/group9b.d: Ditto.
499 * testsuite/ld-elf/pr12851.d: Ditto.
500 * testsuite/ld-elf/pr22677.d: Ditto.
501 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Remove
502 pru from list.
503
261980de
DD
5042021-05-10 Dimitar Dimitrov <dimitar@dinux.eu>
505
506 * scripttempl/pru.sc (.resource_table): Add ALIGN directive.
507 Use symbols for memory sizes.
508
cf758b39
MF
5092021-05-08 Mike Frysinger <vapier@gentoo.org>
510
511 * Makefile.am (html-local, doc/ld/index.html): New targets.
512 * Makefile.in: Regenerate.
513
2faf902d
MF
5142021-05-08 Mike Frysinger <vapier@gentoo.org>
515
516 * Makefile.am (AM_MAKEINFOFLAGS): Add --no-split.
517 * Makefile.in: Regenerate.
518
17c6c3b9
JB
5192021-05-07 Jan Beulich <jbeulich@suse.com>
520
521 * testsuite/ld-x86-64/rela.d: New.
522 * testsuite/ld-x86-64/x86-64.exp: Run new test.
523
d820a652
NC
5242021-05-07 Nick Clifton <nickc@redhat.com>
525
526 * ldelfgen.c (compare_link_order): Ignore section size when
527 performing a relocateable link.
528
70993db3
AM
5292021-05-07 Alan Modra <amodra@gmail.com>
530
531 * ldexp.c (update_definedness): Don't return false for absolute
532 symbols.
533 * ldmain.c (multiple_definition): Print "warning: " in message
534 when not a hard error.
535
973bba91
AM
5362021-05-07 Alan Modra <amodra@gmail.com>
537
538 * testsuite/ld-elf/pr27825-1.d: Correct xfail.
539 * testsuite/ld-elf/pr27825-2.d: Likewise.
540
284a1309
SH
5412021-05-06 Stafford Horne <shorne@gmail.com>
542
543 PR 27746
544 testsuite/ld-or1k/or1k.exp (or1kplttests): Add tests for linking
545 along with gotha() relocations.
546 testsuite/ld-or1k/gotha1.dd: New file.
547 testsuite/ld-or1k/gotha1.s: New file.
548 testsuite/ld-or1k/gotha2.dd: New file.
549 testsuite/ld-or1k/gotha2.s: New file
550 testsuite/ld-or1k/pltlib.s (x): Define size to avoid link
551 failure.
552
ae064303
NA
5532021-05-06 Nick Alcock <nick.alcock@oracle.com>
554
555 * testsuite/ld-ctf/ctf.exp: Use -gctf, not -gt.
556 * testsuite/lib/ld-lib.exp: Likewise.
557 * testsuite/ld-ctf/nonrepresentable-1.c: New test for nonrepresentable types.
558 * testsuite/ld-ctf/nonrepresentable-2.c: Likewise.
559 * testsuite/ld-ctf/nonrepresentable.d: Likewise.
560 * testsuite/ld-ctf/array.d: Larger type section.
561 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
562 * testsuite/ld-ctf/enums.d: Likewise.
563 * testsuite/ld-ctf/conflicting-enums.d: Don't compare types.
564 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Changed type order.
565 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
566 * testsuite/ld-ctf/slice.d: Adjust for improved slice emission.
567
4467df35
L
5682021-05-05 H.J. Lu <hongjiu.lu@intel.com>
569
570 PR ld/27825
571 * testsuite/ld-elf/pr27825-1.d: New file.
572 * testsuite/ld-elf/pr27825-1a.s: Likewise.
573 * testsuite/ld-elf/pr27825-1b.s: Likewise.
574 * testsuite/ld-elf/pr27825-2.d: Likewise.
575 * testsuite/ld-elf/pr27825-2a.s: Likewise.
576 * testsuite/ld-elf/pr27825-2b.s: Likewise.
577
13ffdac3
AM
5782021-05-05 Alan Modra <amodra@gmail.com>
579
580 * testsuite/ld-powerpc/empty.s: New file.
581 * testsuite/ld-powerpc/undefweak.d,
582 * testsuite/ld-powerpc/undefweak.s: New testcase.
583 * testsuite/ld-powerpc/powerpc.exp: Run it.
584
df6fbc21
AM
5852021-05-03 Alan Modra <amodra@gmail.com>
586
587 * testsuite/ld-s390/tlspic_64.rd: Adjust expected output for
588 named section symbols.
589
24aebc79
NC
5902021-04-28 Nick Clifton <nickc@redhat.com>
591
592 * testsuite/ld-elf/anno-sym.s: New test source file.
593 * testsuite/ld-elf/anno-sym.d: New test driver.
594 * testsuite/ld-elf/anno-sym.l: New test error output.
595
a7664973
JB
5962021-04-26 Jan Beulich <jbeulich@suse.com>
597
598 * testsuite/ld-i386/pcrel16-2.s, testsuite/ld-i386/pcrel16-2.d,
599 testsuite/ld-x86-64/pcrel16-2.d: New.
600 * testsuite/ld-i386/i386.exp: Run new test.
601 * testsuite/ld-x86-64/x86-64.exp: Likewise.
602
69cc1945
L
6032021-04-23 H.J. Lu <hongjiu.lu@intel.com>
604
605 PR ld/27771
606 * testsuite/ld-bootstrap/bootstrap.exp: Create a symbolic link
607 to tmpdir/ldscripts only if it doesn't exist.
608
d018cd83
JB
6092021-04-22 Jan Beulich <jbeulich@suse.com>
610
611 PR ld/26659
612 * testsuite/ld-pe/pr26659-weak-undef-sym.d: Relax for Cygwin.
613
23356397
NC
6142021-04-21 Nick Clifton <nickc@redhat.com>
615
616 * testsuite/ld-aarch64/variant_pcs-now.d: Adjust expected output
617 to allow for named section symbols.
618 * testsuite/ld-aarch64/variant_pcs-r.d: Likewise.
619 * testsuite/ld-aarch64/variant_pcs-shared.d: Likewise.
620 * testsuite/ld-alpha/tlsbin.rd: Likewise.
621 * testsuite/ld-alpha/tlsbinr.rd: Likewise.
622 * testsuite/ld-alpha/tlspic.rd: Likewise.
623 * testsuite/ld-arm/rodata-merge-map.sym: Likewise.
624 * testsuite/ld-arm/script-type.sym: Likewise.
625 * testsuite/ld-cris/libdso-2.d: Likewise.
626 * testsuite/ld-cris/pr16044.d: Likewise.
627 * testsuite/ld-elf/sec64k.exp: Likewise.
628 * testsuite/ld-ia64/tlsbin.rd: Likewise.
629 * testsuite/ld-ia64/tlspic.rd: Likewise.
630 * testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d: Likewise.
631 * testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d: Likewise.
632 * testsuite/ld-mmix/bspec1.d: Likewise.
633 * testsuite/ld-mmix/bspec2.d: Likewise.
634 * testsuite/ld-mmix/local1.d: Likewise.
635 * testsuite/ld-mmix/local3.d: Likewise.
636 * testsuite/ld-mmix/local5.d: Likewise.
637 * testsuite/ld-mmix/local7.d: Likewise.
638 * testsuite/ld-mmix/undef-3.d: Likewise.
639 * testsuite/ld-powerpc/tlsso.r: Likewise.
640 * testsuite/ld-powerpc/tlsso32.r: Likewise.
641 * testsuite/ld-powerpc/tlstocso.r: Likewise.
642 * testsuite/ld-s390/tlsbin.rd: Likewise.
643 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
644 * testsuite/ld-s390/tlspic.rd: Likewise.
645 * testsuite/ld-s390/tlspic_64.rd: Likewise.
646 * testsuite/ld-sparc/gotop32.rd: Likewise.
647 * testsuite/ld-sparc/gotop64.rd: Likewise.
648 * testsuite/ld-sparc/tlssunbin32.rd: Likewise.
649 * testsuite/ld-sparc/tlssunbin64.rd: Likewise.
650 * testsuite/ld-sparc/tlssunnopic32.rd: Likewise.
651 * testsuite/ld-sparc/tlssunnopic64.rd: Likewise.
652 * testsuite/ld-sparc/tlssunpic32.rd: Likewise.
653 * testsuite/ld-sparc/tlssunpic64.rd: Likewise.
654 * testsuite/ld-tic6x/common.d: Likewise.
655 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
656 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
657 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
658 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
659 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
660 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
661 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
662 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
663 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
664 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
665 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
666 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
667 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
668
c5df7e44
CC
6692021-04-20 Clément Chigot <clement.chigot@atos.net>
670
671 PR binutils/21700
672 * testsuite/ld-powerpc/aix52.exp: Add new test.
673 * testsuite/ld-powerpc/aix-neg-reloc-32.d: New test.
674 * testsuite/ld-powerpc/aix-neg-reloc-64.d: New test.
675 * testsuite/ld-powerpc/aix-neg-reloc.ex: New test.
676 * testsuite/ld-powerpc/aix-neg-reloc.s: New test.
677
6418520e
NC
6782021-04-13 Nick Clifton <nickc@redhat.com>
679
680 * ld.texi (Options): Add note about the effect of --as-needed on
681 the --rpath and --rpath-link options on Linux based systems.
682
1cfc6f00
AM
6832021-04-13 Alan Modra <amodra@gmail.com>
684
685 PR 27722
686 * libdep_plugin.c (str2vec): Don't pass a potentially signed char
687 to isspace.
688
43e05cd4
AM
6892021-04-12 Alan Modra <amodra@gmail.com>
690
691 * configure.ac (--enable-checking): Add support.
692 * config.in: Regenerate.
693 * configure: Regenerate.
694
2cc15b10
AM
6952021-04-12 Alan Modra <amodra@gmail.com>
696
697 * emultempl/mipself.em (mips_create_output_section_statements):
698 Pass base type of hash table to is_elf_hash_table.
699 * ldelf.c (ldelf_after_open): Likewise.
700
fc304b88
AM
7012021-04-12 Alan Modra <amodra@gmail.com>
702
703 PR 27719
704 * ldlang.c (lang_mark_undefineds, undef_start_stop): Test that
705 the symbol hash table is the correct type before accessing
706 elf_link_hash_entry symbols.
707 * plugin.c (is_visible_from_outside): Likewise.
708 * emultempl/armelf.em (ld${EMULATION_NAME}_finish): Likewise.
709 * emultempl/solaris2.em (elf_solaris2_before_allocation): Likewise.
710
c3f72de4
AM
7112021-04-09 Alan Modra <amodra@gmail.com>
712
713 * testsuite/ld-powerpc/inlinepcrel-1.d: Update expected output.
714 * testsuite/ld-powerpc/inlinepcrel-2.d: Likewise.
715 * testsuite/ld-powerpc/notoc2.d: Likewise.
716 * testsuite/ld-powerpc/notoc3.d: Likewise.
717 * testsuite/ld-powerpc/pcrelopt.d: Likewise.
718 * testsuite/ld-powerpc/startstop.d: Likewise.
719 * testsuite/ld-powerpc/tlsget.d: Likewise.
720 * testsuite/ld-powerpc/tlsget2.d: Likewise.
721 * testsuite/ld-powerpc/tlsld.d: Likewise.
722 * testsuite/ld-powerpc/weak1.d: Likewise.
723 * testsuite/ld-powerpc/weak1so.d: Likewise.
724
bd3d1480
JB
7252021-04-06 Jan Beulich <jbeulich@suse.com>
726
727 * pe-dll.c (generate_reloc): Bail immediately when .reloc is
728 being discarded. Warn when relocated entry is above .reloc.
729
c774eab1
AM
7302021-04-05 Alan Modra <amodra@gmail.com>
731
732 * configure.ac: Move initfini-array arg handling earlier. Don't
733 check for string.h, strings.h, stdlib.h, or locale.h. Do check
734 for inttypes.h, stdint.h, sys/types.h. Don't check for
735 setlocale, free, getev or strstr.
736 (AC_ISC_POSIX): Don't invoke.
737 * sysdep.h: Include string.h and stdlib.h unconditionally. Test
738 HAVE_SYS_TYPE_H and HAVE_SYS_STAT_H. Remove strstr, free and
739 getenv fallback declarations.
740 * ld.h: Don't test HAVE_LOCALE_H.
741 * ldmain.c: Don't test HAVE_SETLOCALE.
742 * config.in: Regenerate.
743 * configure: Regenerate.
744
74edb473
TC
7452021-04-01 Tamar Christina <tamar.christina@arm.com>
746
747 PR ld/26659
748 * testsuite/ld-pe/pe.exp: Add test.
749 * testsuite/ld-pe/pr26659-weak-undef-sym.d: New test.
750 * testsuite/ld-pe/pr26659-weak-undef-sym.s: New test.
751
e9b095a5
ML
7522021-04-01 Martin Liska <mliska@suse.cz>
753
754 * ldbuildid.c (strneq): Remove strneq and use startswith.
755 (validate_build_id_style): Likewise.
756 (compute_build_id_size): Likewise.
757
f38a2680
AM
7582021-03-31 Alan Modra <amodra@gmail.com>
759
760 * sysdep.h (POISON_BFD_BOOLEAN): Define.
761 * configure.ac (elf_list_options, elf_shlib_list_options=false),
762 (elf_plt_unwind_list_options=false): Replace FALSE with false,
763 and TRUE with true.
764 * emulparams/call_nop.sh, * emulparams/cet.sh,
765 * emulparams/dynamic_undefined_weak.sh,
766 * emulparams/elf32b4300.sh, * emulparams/elf32lm32.sh,
767 * emulparams/elf32lr5900.sh, * emulparams/elf32lr5900n32.sh,
768 * emulparams/elf32visium.sh, * emulparams/elf_x86_64.sh,
769 * emulparams/extern_protected_data.sh, * emulparams/plt_unwind.sh,
770 * emulparams/reloc_overflow.sh, * emulparams/static.sh,
771 * emulparams/x86-64-lam.sh, * emultempl/aarch64elf.em,
772 * emultempl/aix.em, * emultempl/alphaelf.em,
773 * emultempl/armcoff.em, * emultempl/armelf.em,
774 * emultempl/avrelf.em, * emultempl/beos.em, * emultempl/bfin.em,
775 * emultempl/cr16elf.em, * emultempl/crxelf.em,
776 * emultempl/cskyelf.em, * emultempl/elf.em, * emultempl/genelf.em,
777 * emultempl/hppaelf.em, * emultempl/linux.em,
778 * emultempl/m68hc1xelf.em, * emultempl/metagelf.em,
779 * emultempl/mipself.em, * emultempl/mmix-elfnmmo.em,
780 * emultempl/mmixelf.em, * emultempl/mmo.em, * emultempl/msp430.em,
781 * emultempl/nios2elf.em, * emultempl/pdp11.em, * emultempl/pe.em,
782 * emultempl/pep.em, * emultempl/ppc32elf.em,
783 * emultempl/ppc64elf.em, * emultempl/rxelf.em,
784 * emultempl/rxlinux.em, * emultempl/scoreelf.em,
785 * emultempl/solaris2.em, * emultempl/spuelf.em,
786 * emultempl/ticoff.em, * emultempl/v850elf.em, * emultempl/vms.em,
787 * emultempl/xtensaelf.em, * emultempl/z80.em, * ld.h,
788 * ldbuildid.c, * ldbuildid.h, * ldcref.c, * ldctor.c, * ldctor.h,
789 * ldelf.c, * ldelf.h, * ldelfgen.c, * ldelfgen.h, * ldemul.c,
790 * ldemul.h, * ldexp.c, * ldexp.h, * ldfile.c, * ldfile.h,
791 * ldgram.y, * ldlang.c, * ldlang.h, * ldmain.c, * ldmain.h,
792 * ldmisc.c, * ldmisc.h, * ldwrite.c, * lexsup.c, * mri.c,
793 * pe-dll.c, * pe-dll.h, * pep-dll.h, * plugin.c, * plugin.h,
794 * testplug.c, * testplug2.c, * testplug3.c, * testplug4.c: Replace
795 bfd_boolean with bool, FALSE with false, and TRUE with true.
796 * configure: Regenerate.
797
3dfb1b6d
AM
7982021-03-31 Alan Modra <amodra@gmail.com>
799
800 * elf-hints-local.h: Include stdint.h in place of bfd_stdint.h.
801 * emultempl/nds32elf.em: Likewise.
802 * testsuite/ld-elf/mbind2b.c: Likewise.
803 * testsuite/ld-elf/pr18718.c: Likewise.
804 * testsuite/ld-elf/pr18720a.c: Likewise.
805 * testsuite/ld-elf/pr25749-1.c: Likewise.
806 * testsuite/ld-elf/pr25749-1a.c: Likewise.
807 * testsuite/ld-elf/pr25749-1b.c: Likewise.
808 * testsuite/ld-elf/pr25749-1c.c: Likewise.
809 * testsuite/ld-elf/pr25749-1d.c: Likewise.
810 * testsuite/ld-elf/pr25749-2.c: Likewise.
811 * testsuite/ld-elf/pr25754-1a.c: Likewise.
812 * testsuite/ld-elf/pr25754-2a.c: Likewise.
813 * testsuite/ld-elf/pr25754-3a.c: Likewise.
814 * testsuite/ld-elf/pr25754-4a.c: Likewise.
815 * testsuite/ld-elf/pr25754-5a.c: Likewise.
816 * testsuite/ld-elf/pr25754-6a.c: Likewise.
817
63b4cc53
AM
8182021-03-29 Alan Modra <amodra@gmail.com>
819
820 * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Simplify
821 boolean expression.
822 * lexsup.c (parse_args): Likewise.
823 * pe-dll.c (pe_dll_id_target): Likewise.
824
8592be8c
NA
8252021-03-25 Nick Alcock <nick.alcock@oracle.com>
826
827 * testsuite/ld-ctf/array.d: Only check that the data object
828 section is nonempty: do not check its exact size.
829 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
830 * testsuite/ld-ctf/slice.d: Likewise.
831 * testsuite/ld-ctf/data-func-conflicted.d: Likewise, and for the
832 func info section too.
833 * testsuite/ld-ctf/function.d: Likewise, for the func info section.
834
08dedd66
ML
8352021-03-22 Martin Liska <mliska@suse.cz>
836
837 * emultempl/aix.em: Replace usage of CONST_STRNEQ with startswith.
838 * emultempl/beos.em: Likewise.
839 * emultempl/elf.em: Likewise.
840 * emultempl/pe.em: Likewise.
841 * emultempl/pep.em: Likewise.
842 * emultempl/xtensaelf.em: Likewise.
843 * ldctor.c (ctor_prio): Likewise.
844 * ldelf.c (ldelf_try_needed): Likewise.
845 (ldelf_parse_ld_so_conf): Likewise.
846 (ldelf_after_open): Likewise.
847 (output_rel_find): Likewise.
848 (ldelf_place_orphan): Likewise.
849 * ldfile.c (ldfile_add_library_path): Likewise.
850 * ldlang.c (lang_add_input_file): Likewise.
851 * ldmain.c (get_sysroot): Likewise.
852 (get_emulation): Likewise.
853 (add_archive_element): Likewise.
854 * ldwrite.c (unsplittable_name): Likewise.
855 (clone_section): Likewise.
856 * lexsup.c (parse_args): Likewise.
857 * pe-dll.c (is_import): Likewise.
858 (pe_implied_import_dll): Likewise.
859
1de96e5d
L
8602021-03-19 H.J. Lu <hongjiu.lu@intel.com>
861
862 PR ld/27590
863 * testsuite/ld-x86-64/pr27590.rd: New file.
864 * testsuite/ld-x86-64/pr27590a.obj.bz2: Likewise.
865 * testsuite/ld-x86-64/pr27590b.obj.bz2: Likewise.
866 * testsuite/ld-x86-64/x86-64.exp: Run ld/27590 test.
867
15407e7e
AM
8682021-03-20 Alan Modra <amodra@gmail.com>
869
870 PR 27590
871 * ldlang.c (lang_gc_sections): Clear SEC_EXCLUDE when relocatable
872 for all sections except .stabstr.
873
fba7f753
AM
8742021-03-19 Alan Modra <amodra@gmail.com>
875
876 PR 27590
877 * testsuite/ld-elf/pr27590a.d: Match relocs using label, and
878 R_MIPS_NONE.
879 * testsuite/ld-elf/pr27590b.d: Likewise.
880
3818d4ab
L
8812021-03-18 H.J. Lu <hongjiu.lu@intel.com>
882
883 PR ld/27590
884 * testsuite/ld-elf/pr27590.s: New file.
885 * testsuite/ld-elf/pr27590a.d: Likewise.
886 * testsuite/ld-elf/pr27590b.d: Likewise.
887 * testsuite/ld-i386/i386.exp: Also run ld/27193 test with
888 --reduce-memory-overheads.
889
51f6e7a9
L
8902021-03-18 H.J. Lu <hongjiu.lu@intel.com>
891
892 PR ld/27587
893 * testsuite/ld-x86-64/pr27587.err: New file.
894 * testsuite/ld-x86-64/pr27587a.obj.bz2: Likewise.
895 * testsuite/ld-x86-64/pr27587b.obj.bz2: Likewise.
896 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/27587 test.
897
69a28486
NA
8982021-03-18 Nick Alcock <nick.alcock@oracle.com>
899
900 * testsuite/ld-ctf/slice.c: Check slices of enums too.
901 * testsuite/ld-ctf/slice.d: Results adjusted.
902
ee42883c
NC
9032021-03-16 Nick Clifton <nickc@redhat.com>
904
905 * pe-dll.c (pe_find_cdecl_alias_match): Use memmove to overwrite
906 lname string.
907
c68b1842
JB
9082021-03-15 Jan Beulich <jbeulich@suse.com>
909
910 * pe-dll.c (generate_reloc): Drop padding to reloc_s->size.
911
203a206d
AM
9122021-03-12 Alan Modra <amodra@gmail.com>
913
914 * Makefile.am (ALL_EMULATION_SOURCES): Move riscv files to..
915 (ALL_64_EMULATION_SOURCES): ..here.
916 * Makefile.in: Regenerate.
917
1b2cb8e2
CC
9182021-03-12 Clément Chigot <clement.chigot@atos.net>
919
920 * emultempl/aix.em: Ensure .tdata section is removed
921 if empty, even with -r flag.
922 * scripttempl/aix.sc: Handle TLS sections.
923 * testsuite/ld-powerpc/aix52.exp: Add new tests.
924 * testsuite/ld-powerpc/aix-tls-reloc-32.d: New test.
925 * testsuite/ld-powerpc/aix-tls-reloc-64.d: New test.
926 * testsuite/ld-powerpc/aix-tls-reloc.ex: New test.
927 * testsuite/ld-powerpc/aix-tls-reloc.s: New test.
928 * testsuite/ld-powerpc/aix-tls-section-32.d: New test.
929 * testsuite/ld-powerpc/aix-tls-section-64.d: New test.
930 * testsuite/ld-powerpc/aix-tls-section.ex: New test.
931 * testsuite/ld-powerpc/aix-tls-section.s: New test.
932
4a403be0
CC
9332021-03-12 Clément Chigot <clement.chigot@atos.net>
934
935 * scripttempl/aix.sc: Add .te to .data section.
936 * testsuite/ld-powerpc/aix52.exp: Add test structure for AIX7+.
937 Add aix-largetoc-1 test.
938 * testsuite/ld-powerpc/aix-largetoc-1-32.d: New test.
939 * testsuite/ld-powerpc/aix-largetoc-1-64.d: New test.
940 * testsuite/ld-powerpc/aix-largetoc-1.ex: New test.
941 * testsuite/ld-powerpc/aix-largetoc-1.s: New test.
942
68cb2183
AM
9432021-03-12 Alan Modra <amodra@gmail.com>
944
945 * testsuite/ld-gc/gc.exp: Pass "-image-base 0" to ld for PE, and
946 arrange to define __main for some run_dump_test tests.
947 * testsuite/ld-gc/pr13683.d: Accept more symbols.
948 * testsuite/ld-gc/pr14265.d: Likewise, and ordering.
949 * testsuite/ld-scripts/crossref.exp: Pass "-image-base 0" to ld for PE.
950 * testsuite/ld-srec/srec.exp: Likewise.
951 * testsuite/lib/ld-lib.exp (ld_link_defsyms): Use is_pecoff_format.
952
ebdcad3f
NC
9532021-03-11 Nelson Chu <nelson.chu@sifive.com>
954
955 * emultempl/riscvelf.em (after_allocation): Run ldelf_map_segments
956 many times if riscv_restart_relax_sections returns TRUE.
957 * testsuite/ld-riscv-elf/restart-relax.d: New testcase. Before
958 applying this patch, the call won't be relaxed to jal; But now we
959 have more chances to do relaxations.
960 * testsuite/ld-riscv-elf/restart-relax.s: Likewise.
961 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
962
67b0f684
JB
9632021-03-10 Jan Beulich <jbeulich@suse.com>
964
965 * testsuite/ld-scripts/pr22267.t: Avoid symbol value with more
966 than 32 set bits.
967 * testsuite/ld-scripts/pr22267.d: Adjust expectation and drop
968 comment.
969 * scripttempl/mcorepe.sc: Use PROVIDE() for _stack.
970
5dc75cf3
JB
9712021-03-09 Jan Beulich <jbeulich@suse.com>
972
973 * testsuite/ld-pe/reloc.s: Add entry point symbols. Increase
974 alignment to 4k.
975 * testsuite/ld-pe/reloc.d: xfail for mcore.
976
87fa7d56
JB
9772021-03-09 Jan Beulich <jbeulich@suse.com>
978
979 * testsuite/ld-scripts/alignof.exp,
980 testsuite/ld-scripts/data.exp,
981 testsuite/ld-scripts/default-script.exp,
982 testsuite/ld-scripts/log2.exp,
983 testsuite/ld-scripts/print-memory-usage.exp,
984 testsuite/ld-scripts/sizeof.exp,
985 testsuite/ld-undefined/weak-undef.exp: Set image base to zero
986 for PE/COFF.
987 * testsuite/ld-scripts/default-script1.d,
988 testsuite/ld-scripts/default-script2.d,
989 testsuite/ld-scripts/default-script3.d,
990 testsuite/ld-scripts/default-script4.d: Drop xfail and comment.
991
8c0546e9
L
9922021-03-05 H.J. Lu <hongjiu.lu@intel.com>
993
994 PR ld/27425
995 PR ld/27432
996 * ldelf.c (ldelf_set_output_arch): New function.
997 * ldelf.h (ldelf_set_output_arch): New prototype.
998 * emultempl/elf.em (LDEMUL_SET_OUTPUT_ARCH): Default to
999 ldelf_set_output_arch.
1000 * ld-x86-64/pe-x86-64-1.od: Expect __executable_start.
1001 * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise.
1002 * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise.
1003 * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise.
1004 * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise.
1005 * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise.
1006 * testsuite/ld-x86-64/pe-x86-64-6.obj.bz2: New file.
1007 * testsuite/ld-x86-64/pe-x86-64-6.od: Likewise.
1008 * testsuite/ld-x86-64/pe-x86-64.exp: Run ld/27425 test.
1009
d4e5db4e
JB
10102021-03-04 Jan Beulich <jbeulich@suse.com>
1011
1012 * testsuite/ld-scripts/map-address.exp: Set image base to zero
1013 for PE/COFF.
1014 * testsuite/ld-scripts/map-address.t: Place .text.
1015
6fa7408d
JB
10162021-03-04 Jan Beulich <jbeulich@suse.com>
1017
1018 * ldexp.c (ldexp_is_final_sym_absolute): New.
1019 * ldexp.h (ldexp_is_final_sym_absolute): Declare.
1020 * pe-dll.c (generate_reloc): Skip absolute symbols.
1021 * testsuite/ld-pe/reloc.s, testsuite/ld-pe/reloc.d: New.
1022 * testsuite/ld-pe/pe.exp: Run new test.
1023
5789f845
AM
10242021-03-03 Alan Modra <amodra@gmail.com>
1025
1026 PR 27500
1027 * ldlang.c (insert_undefined): Don't mark symbols here.
1028 (lang_mark_undefineds): Do so here instead, new function.
1029 (lang_process): Call lang_mark_undefineds.
1030 * testsuite/ld-gc/start3.d,
1031 * testsuite/ld-gc/start3.s: New test.
1032 * testsuite/ld-gc/start4.d,
1033 * testsuite/ld-gc/start4.s: New test.
1034 * testsuite/ld-gc/gc.exp: Run them.
1035
270f32fc
AM
10362021-03-03 Alan Modra <amodra@gmail.com>
1037
1038 * testsuite/ld-gc/gc.exp: Define UNDERSCORE in ASFLAGS.
1039 Move tests with ELF section directives to is_elf_format block.
1040 * testsuite/ld-gc/abi-note.d: Run on more targets.
1041 * testsuite/ld-gc/pr19167.d: Likewise and adjust xfails.
1042 * testsuite/ld-gc/start.d: Likewise.
1043 * testsuite/ld-gc/start2.d: Likewise.
1044 * testsuite/ld-gc/stop.d: Likewise.
1045 * testsuite/ld-gc/pr19167a.s: Add support for underscore targets.
1046 * testsuite/ld-gc/start.s: Likewise.
1047 * testsuite/ld-gc/start2.s: Likewise.
1048
211bcd01
NA
10492021-03-02 Nick Alcock <nick.alcock@oracle.com>
1050
1051 * ldelfgen.c (ldelf_ctf_strtab_iter_cb): Skip zero-refcount strings.
1052
b80e421f
AM
10532021-03-02 Alan Modra <amodra@gmail.com>
1054
1055 * testsuite/ld-powerpc/startstop.d,
1056 * testsuite/ld-powerpc/startstop.r,
1057 * testsuite/ld-powerpc/startstop.s: New test.
1058 * testsuite/ld-powerpc/powerpc.exp: Run it.
1059
f5b9c288
AM
10602021-03-02 Alan Modra <amodra@gmail.com>
1061
1062 * testsuite/ld-powerpc/weak1.d,
1063 * testsuite/ld-powerpc/weak1.r,
1064 * testsuite/ld-powerpc/weak1.s,
1065 * testsuite/ld-powerpc/weak1so.d,
1066 * testsuite/ld-powerpc/weak1so.r: New tests.
1067 * testsuite/ld-powerpc/powerpc.exp: Run them.
1068
ba6eb62f
NC
10692021-03-01 Hannes Domani <ssbssa@sourceware.org>
1070 Nick Clifton <nickc@redhat.com>
1071
1072 PR 27268
1073 * scripttempl/pe.sc: Add DWARF-5 section names.
1074 * scripttempl/pep.sc: Likewise.
1075
8ee10e86
AM
10762021-03-01 Alan Modra <amodra@gmail.com>
1077 Fangrui Song <maskray@google.com>
1078
1079 * emultempl/elf.em: Handle -z start-stop-gc and -z nostart-stop-gc.
1080 * lexsup.c (elf_static_list_options): Display help for them. Move
1081 help for -z stack-size to here from elf_shlib_list_options. Add
1082 help for -z start-stop-visibility and -z undefs.
1083 * ld.texi: Document -z start-stop-gc and -z nostart-stop-gc.
1084 * NEWS: Mention -z start-stop-gc.
1085 * testsuite/ld-gc/start2.s,
1086 * testsuite/ld-gc/start2.d: New test.
1087 * testsuite/ld-gc/gc.exp: Run it.
1088
7824c1d2
AM
10892021-03-01 Alan Modra <amodra@gmail.com>
1090
1091 * ldlang.c (undef_start_stop): For ELF make undefined start/stop
1092 symbols undefweak if that was how they were referenced. Undo
1093 dynamic state too.
1094
6a1224ec
AM
10952021-03-01 Alan Modra <amodra@gmail.com>
1096
1097 * testsuite/ld-elf/pr25708.d: Add --with-symbol-versions to nm.
1098 * testsuite/ld-elf/pr27128a.d: Likewise.
1099 * testsuite/ld-elf/pr27128b.d: Likewise.
1100 * testsuite/ld-elf/pr27128c.d: Likewise.
1101 * testsuite/ld-elf/pr27128d.d: Likewise.
1102 * testsuite/ld-elf/pr27128e.d: Likewise.
1103
bfece756
AM
11042021-02-26 Alan Modra <amodra@gmail.com>
1105
1106 PR 27441
1107 * testsuite/ld-plugin/pr27441a.c,
1108 * testsuite/ld-plugin/pr27441b.c,
1109 * testsuite/ld-plugin/pr27441c.c,
1110 * testsuite/ld-plugin/pr27441c.d: New test.
1111 * testsuite/ld-plugin/lto.exp: Run it.
1112
3c27360b
JB
11132021-02-25 Jan Beulich <jbeulich@suse.com>
1114
1115 * ld.texi (PROVIDE): Downgrade "error" to "diagnostic".
1116
89753bbf
AM
11172021-02-21 Alan Modra <amodra@gmail.com>
1118
1119 * ldexp.c (exp_fold_tree_1): Warn on script defining a symbol
1120 defined in an object file.
1121 * ldmain.c (multiple_definition): Heed info->warn_multiple_definition.
1122 * testsuite/ld-scripts/defined5.d: Expect a warning.
1123
2f973f13
AM
11242021-02-19 Alan Modra <amodra@gmail.com>
1125
1126 * testsuite/lib/ld-lib.exp: Whitespace.
1127 (load_common_lib): Expand single use and delete this proc.
1128 (run_host_cmd): Use -fno-lto when getting gcc's ld version.
1129 Use -B for clang too.
1130
a364a116
AB
11312021-02-18 Andrew Burgess <andrew.burgess@embecosm.com>
1132
1133 * testplugin.c (record_read_length): Remove debug fprintf.
1134
5b1f6c95
AM
11352021-02-14 Alan Modra <amodra@gmail.com>
1136
1137 * testsuite/ld-cdtest/cdtest.exp,
1138 * testsuite/ld-checks/checks.exp,
1139 * testsuite/ld-elf/binutils.exp,
1140 * testsuite/ld-elf/compress.exp,
1141 * testsuite/ld-elf/dwarf.exp,
1142 * testsuite/ld-elf/exclude.exp,
1143 * testsuite/ld-elf/frame.exp,
1144 * testsuite/ld-elf/indirect.exp,
1145 * testsuite/ld-elf/linux-x86.exp,
1146 * testsuite/ld-elf/sec-to-seg.exp,
1147 * testsuite/ld-elf/tls_common.exp,
1148 * testsuite/ld-elfcomm/elfcomm.exp,
1149 * testsuite/ld-elfvers/vers.exp,
1150 * testsuite/ld-elfvsb/elfvsb.exp,
1151 * testsuite/ld-elfweak/elfweak.exp,
1152 * testsuite/ld-ifunc/binutils.exp,
1153 * testsuite/ld-mips-elf/mips-elf-flags.exp,
1154 * testsuite/ld-misc/defsym.exp,
1155 * testsuite/ld-mn10300/mn10300.exp,
1156 * testsuite/ld-plugin/lto.exp,
1157 * testsuite/ld-plugin/plugin.exp,
1158 * testsuite/ld-scripts/align.exp,
1159 * testsuite/ld-scripts/assert.exp,
1160 * testsuite/ld-scripts/crossref.exp,
1161 * testsuite/ld-scripts/defined.exp,
1162 * testsuite/ld-scripts/extern.exp,
1163 * testsuite/ld-scripts/log2.exp,
1164 * testsuite/ld-scripts/map-address.exp,
1165 * testsuite/ld-scripts/phdrs.exp,
1166 * testsuite/ld-scripts/phdrs2.exp,
1167 * testsuite/ld-scripts/script.exp,
1168 * testsuite/ld-scripts/section-flags.exp,
1169 * testsuite/ld-scripts/sizeof.exp,
1170 * testsuite/ld-scripts/weak.exp,
1171 * testsuite/ld-selective/selective.exp,
1172 * testsuite/ld-sh/sh.exp,
1173 * testsuite/ld-shared/shared.exp,
1174 * testsuite/ld-srec/srec.exp,
1175 * testsuite/ld-tic6x/tic6x.exp,
1176 * testsuite/ld-undefined/undefined.exp,
1177 * testsuite/ld-undefined/weak-undef.exp,
1178 * testsuite/lib/ld-lib.exp: Don't use unresolved except after
1179 perror. Instead report "unsupported" or "fail".
1180
c46b7066
NC
11812021-02-12 Nick Clifton <nickc@redhat.com>
1182
1183 * testsuite/ld-elf/sec64k.exp: Stop readelf from automatically
1184 following debug links.
1185
933feaf3
AM
11862021-02-11 Alan Modra <amodra@gmail.com>
1187
1188 * NEWS: Mention arm-symbianelf removal.
1189
a57d1773
AM
11902021-02-09 Alan Modra <amodra@gmail.com>
1191
1192 * Makefile.am (ALL_EMULATION_SOURCES): Remove earmsymbian.c.
1193 Don't include symbian dep file.
1194 * configure.tgt: Remove arm*-*-symbianelf* entry.
1195 * emulparams/armsymbian.sh: Delete.
1196 * ld.texi: Don't mention symbian.
1197 * scripttempl/armbpabi.sc: Delete.
1198 * testsuite/ld-arm/symbian-seg1.d: Delete.
1199 * testsuite/ld-arm/symbian-seg1.s: Delete.
1200 * testsuite/ld-arm/arm-elf.exp: Don't run symbian-seg1.
1201 * Makefile.in: Regenerate.
1202 * po/BLD-POTFILES.in: Regenerate.
1203
38a143aa
L
12042021-02-07 H.J. Lu <hongjiu.lu@intel.com>
1205
1206 PR ld/27358
1207 * testsuite/ld-i386/i386.exp: Remove property 3/4/5 run-time
1208 tests.
1209 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1210
35a01a04
NA
12112021-01-26 Nick Alcock <nick.alcock@oracle.com>
1212
1213 * ldlang.c (lang_merge_ctf): Set CTF_LINK_NO_FILTER_REPORTED_SYMS
1214 when appropriate.
1215
1a2f1b54
L
12162021-02-04 H.J. Lu <hongjiu.lu@intel.com>
1217
1218 PR ld/19609
1219 * testsuite/ld-x86-64/pr19609-2a.d: Updated.
1220 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
1221 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
1222 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
1223 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
1224 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
1225 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
1226
37707bd8
L
12272021-02-04 H.J. Lu <hongjiu.lu@intel.com>
1228
1229 PR ld/15146
1230 * testsuite/ld-plugin/lto.exp: Run PR ld/15146 tests.
1231 * testsuite/ld-plugin/pr15146.d: Restored.
1232 * testsuite/ld-plugin/pr15146a.c: Likewise.
1233 * testsuite/ld-plugin/pr15146b.c: Likewise.
1234 * testsuite/ld-plugin/pr15146c.c: Likewise.
1235 * testsuite/ld-plugin/pr15146d.c: Likewise.
1236
7d409ac0
AM
12372021-02-04 Alan Modra <amodra@gmail.com>
1238
1239 * testsuite/ld-plugin/pr27311d.c: New test.
1240 * testsuite/ld-plugin/lto.exp: Rename pr27311 to pr27311-1, compile
1241 and link new test as pr27311-2.
1242
69551367
AM
12432021-02-03 Alan Modra <amodra@gmail.com>
1244
1245 * testsuite/ld-ifunc/ifunc.exp (libpr16467b.so, libpr16467bn.so):
1246 Link with --as-needed.
1247
9918bff7
AM
12482021-02-02 Alan Modra <amodra@gmail.com>
1249
1250 * testsuite/ld-plugin/pr27311.d,
1251 * testsuite/ld-plugin/pr27311.ver,
1252 * testsuite/ld-plugin/pr27311a.c,
1253 * testsuite/ld-plugin/pr27311b.c,
1254 * testsuite/ld-plugin/pr27311c.c: New testcase.
1255 * testsuite/ld-plugin/lto.exp: Run it. Correct PR14918 and
1256 PR12982 entries.
1257
1f568f9a
EH
12582021-02-01 Emery Hemingway <ehmry@posteo.net>
1259
1260 * configure.tgt: Add *-*-genode* as a target for AArch64 and x86.
1261
fb6c220e
AM
12622021-02-01 Alan Modra <amodra@gmail.com>
1263
1264 * ldgram.y (defsym_expr): Use assignment rule.
1265 * ldlex.h (ldlex_defsym): Delete.
1266 * ldlex.l (DEFSYMEXP, ldlex_defsym): Delete.
1267
40726f16
AM
12682021-02-01 Alan Modra <amodra@gmail.com>
1269
1270 * ldgram.y (section): Call ldlex_backup. Remove empty action.
1271 * ldlex.h (ldlex_backup): Declare.
1272 * ldlex.l (<EXPRESSION>NAME): Don't use NOCFILENAMECHAR set of
1273 chars, use SYMBOLNAMECHAR.
1274 (ldlex_backup): New function.
1275
a5f92c67
AM
12762021-02-01 Alan Modra <amodra@gmail.com>
1277
1278 * ldgram.y: Whitespace fixes.
1279
49daa38f
AM
12802021-02-01 Alan Modra <amodra@gmail.com>
1281
1282 * testsuite/ld-elf/pr27259.d: Correct sh_link match.
1283
c4566785
AM
12842021-01-29 Alan Modra <amodra@gmail.com>
1285
1286 * testsuite/ld-tic6x/tic6x.exp: Add pr27271 test.
1287
53e556e5
L
12882021-01-28 H.J. Lu <hongjiu.lu@intel.com>
1289
1290 PR ld/27259
1291 * testsuite/ld-elf/pr27259.d: New file.
1292 * testsuite/ld-elf/pr27259.s: Likewise.
1293
def97fb9
AM
12942021-01-28 Alan Modra <amodra@gmail.com>
1295
1296 PR 27259
1297 * ldelf.c (ldelf_before_place_orphans): Use linker_mark to
1298 prevent endless looping of linked-to sections.
1299
2eda57ef
L
13002021-01-26 H.J. Lu <hongjiu.lu@intel.com>
1301
1302 * testsuite/ld-x86-64/bnd-plt-1.d: Fix a typo.
1303
1c9c9b9b
AM
13042021-01-26 Alan Modra <amodra@gmail.com>
1305
1306 PR 27226
1307 * emulparams/alphavms.sh: Don't set COMPILE_IN.
1308 * emulparams/elf64_ia64_vms.sh: Likewise.
1309 * emulparams/elf64mmix.sh: Likewise.
1310 * emulparams/elf_iamcu.sh: Likewise.
1311 * emulparams/elf_k1om.sh: Likewise.
1312 * emulparams/elf_l1om.sh: Likewise.
1313 * emulparams/mmo.sh: Likewise.
1314 * emulparams/pdp11.sh: Set DATA_SEG_ADDR.
1315 * scripttempl/pdp11.sc: Use it.
1316 * emultempl/pdp11.em: Don't edit .xn script for separate_code,
1317 instead use .xe script. Support scripts from file system.
1318 * emultempl/beos.em: Support scripts from file system.
1319 * emultempl/pe.em: Likewise.
1320 * emultempl/pep.em: Likewise.
1321 * testsuite/ld-bootstrap/bootstrap.exp: Make tmpdir/ldscripts link.
1322
9e42b976
FS
13232021-01-25 Fangrui Song <maskray@google.com>
1324
1325 PR ld/27230
1326 * scripttempl/DWARF.sc: Add .debug_* sections.
1327
b8df6900
NC
13282021-01-25 Nick Clifton <nickc@redhat.com>
1329
1330 * scripttempl/DWARF.sc: Add .debug_loclists, .debug_rnglists,
1331 .debug_line_str and .debug_str_offsets. Move .debug_macro and
1332 .debug_addr into DWARF-5 section.
1333
c78eec44
AM
13342021-01-21 Alan Modra <amodra@gmail.com>
1335
1336 * testsuite/ld-elf/pr26936.d: No longer xfail mips.
1337
4bd7c902
AM
13382021-01-20 Alan Modra <amodra@gmail.com>
1339
1340 * testsuite/ld-powerpc/relbrlt.s: Make symbols global.
1341 * testsuite/ld-powerpc/relbrlt.d: Adjust to suit.
1342 * testsuite/ld-powerpc/tlsget.d: Adjust for reordered stubs.
1343 * testsuite/ld-powerpc/tlsget.wf: Likewise.
1344 * testsuite/ld-powerpc/tlsget2.d: Likewise.
1345 * testsuite/ld-powerpc/tlsget2.wf: Likewise.
1346 * testsuite/ld-powerpc/tlsexe.r: Adjust for removed section syms.
1347 * testsuite/ld-powerpc/tlsexe32.r: Likewise.
1348 * testsuite/ld-powerpc/tlsexe32no.r: Likewise.
1349 * testsuite/ld-powerpc/tlsexeno.r: Likewise.
1350 * testsuite/ld-powerpc/tlsexenors.r: Likewise.
1351 * testsuite/ld-powerpc/tlsexers.r: Likewise.
1352 * testsuite/ld-powerpc/tlsexetoc.r: Likewise.
1353 * testsuite/ld-powerpc/tlsexetocrs.r: Likewise.
1354 * testsuite/ld-powerpc/tlsso.r: Likewise.
1355 * testsuite/ld-powerpc/tlsso32.r: Likewise.
1356 * testsuite/ld-powerpc/tlstocso.r: Likewise.
1357
c98de297
NA
13582021-01-19 Nick Alcock <nick.alcock@oracle.com>
1359
1360 * testsuite/ld-ctf/data-func-2.c: Stop removal of the extern foo_t
1361 symbols by the optimizer.
1362 * testsuite/ld-ctf/data-func-conflicted.d: Adjust accordingly.
1363
85e963f1
NC
13642021-01-19 Nelson Chu <nelson.chu@sifive.com>
1365
1366 * testsuite/ld-elf/elf.exp (riscv_little_endian): Added. Return true
1367 if target is riscv little endian. Otherwise, return false.
1368 * testsuite/ld-elf/compressed1d.d: Only xfail the riscv little endian
1369 targets by [riscv_little_endian].
1370
326adec3
AM
13712021-01-18 Alan Modra <amodra@gmail.com>
1372
1373 PR 26378
1374 * ldlang.c (map_input_to_output_sections): Start with a read-only
1375 section for data statements.
1376 * testsuite/ld-elf/size-2.d: Adjust to suit.
1377
994b2513
L
13782021-01-17 H.J. Lu <hongjiu.lu@intel.com>
1379
1380 PR ld/27193
1381 * testsuite/ld-i386/i386.exp: Run PR ld/27193 test.
1382 * testsuite/ld-i386/pr27193.dd: New file.
1383 * testsuite/ld-i386/pr27193a.o.bz2: Likewise.
1384 * testsuite/ld-i386/pr27193b.s: Likewise.
1385
edf0f284
L
13862021-01-16 H.J. Lu <hongjiu.lu@intel.com>
1387
1388 PR binutils/23460
1389 * testsuite/ld-plugin/lto.exp: Increase the max number of open
1390 files to 20 for PR binutils/23460 test.
1391
75a933f3
L
13922021-01-16 H.J. Lu <hongjiu.lu@intel.com>
1393
1394 PR ld/23169
1395 * testsuite/ld-ifunc/ifunc.exp: Replace pr23169c.rd with
1396 pr23169a.rd for pr23169c and pr23169f. Remove pr23169e tests.
1397 * testsuite/ld-ifunc/pr23169a.c (foo): Don't compare function
1398 address.
1399
68b00778
L
14002021-01-15 H.J. Lu <hongjiu.lu@intel.com>
1401
1402 * NEWS: Mention -z report-relative-reloc.
1403 * ld.texi: Document -z report-relative-reloc.
1404 * emulparams/elf32_x86_64.sh: Source x86-report-relative.sh.
1405 * emulparams/elf_i386.sh: Likewse.
1406 * emulparams/elf_x86_64.sh: Likewse.
1407 * emulparams/x86-report-relative.sh: New file.
1408 * testsuite/ld-i386/report-reloc-1.d: Likewse.
1409 * testsuite/ld-i386/report-reloc-1.l: Likewse.
1410 * testsuite/ld-i386/report-reloc-1.s: Likewse.
1411 * testsuite/ld-x86-64/report-reloc-1-x32.d: Likewse.
1412 * testsuite/ld-x86-64/report-reloc-1.d: Likewse.
1413 * testsuite/ld-x86-64/report-reloc-1.l: Likewse.
1414 * testsuite/ld-x86-64/report-reloc-1.s: Likewse.
1415 * testsuite/ld-i386/i386.exp: Run report-reloc-1.
1416 * testsuite/ld-x86-64/x86-64.exp: Run report-reloc-1 and
1417 report-reloc-1-x32.
1418
eb6e6af8
AM
14192021-01-16 Alan Modra <amodra@gmail.com>
1420
1421 PR 26002
1422 * testsuite/ld-elfvers/vers6.dsym: Expect "Base" for undefined
1423 unversioned symbols.
1424 * testsuite/ld-elfvers/vers16.dsym: Likewise.
1425
b800637e
NC
14262021-01-15 Nelson Chu <nelson.chu@sifive.com>
1427
1428 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-01.d: Updated.
1429 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-02.d: Likewise.
1430 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-03.d: Likewise.
1431 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-04.d: Likewise.
1432 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-05.d: Likewise.
1433 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-06.d: Likewise.
1434
5a10699f
NC
14352021-01-14 Nick Clifton <nickc@redhat.com>
1436
1437 * po/fr.po: Updated French translation.
1438
271bea6a
MF
14392021-01-14 Mike Frysinger <vapier@gentoo.org>
1440
1441 * testsuite/config/default.exp [bfin*-elf*] (gcc_B_opt): Add -msim.
1442
4120e488
AM
14432021-01-14 Alan Modra <amodra@gmail.com>
1444
1445 PR 27160
1446 * ldelfgen.c (compare_link_order): Protect access of ELF section
1447 data.
1448 (add_link_order_input_section): Remove redundant NULL check.
1449 Use bfd_get_flavour.
1450 (ldelf_map_segments): Use bfd_get_flavour.
1451
b634d11d
L
14522021-01-13 H.J. Lu <hongjiu.lu@intel.com>
1453
1454 * ldelfgen.c (add_link_order_input_section): Check for ELF input
1455 before accessing ELF section data.
1456
5347ed60
AM
14572021-01-13 Alan Modra <amodra@gmail.com>
1458
1459 * Makefile.in: Regenerate.
1460
b209b5a6
AM
14612021-01-13 Alan Modra <amodra@gmail.com>
1462
1463 PR 27160
1464 * ldlang.h (lang_output_section_statement_type): Add data field.
1465 (lang_input_section_type, lang_section_bst_type): Add pattern field.
1466 (statement_list): Declare.
1467 (lang_add_section): Adjust prototype.
1468 * emultempl/aarch64elf.em: Adjust lang_add_section calls.
1469 * emultempl/armelf.em: Likewise.
1470 * emultempl/beos.em: Likewise.
1471 * emultempl/cskyelf.em: Likewise.
1472 * emultempl/hppaelf.em: Likewise.
1473 * emultempl/m68hc1xelf.em: Likewise.
1474 * emultempl/metagelf.em: Likewise.
1475 * emultempl/mipself.em: Likewise.
1476 * emultempl/mmo.em: Likewise.
1477 * emultempl/msp430.em: Likewise.
1478 * emultempl/nios2elf.em: Likewise.
1479 * emultempl/pe.em: Likewise.
1480 * emultempl/pep.em: Likewise.
1481 * emultempl/ppc64elf.em: Likewise.
1482 * emultempl/spuelf.em: Likewise.
1483 * emultempl/vms.em: Likewise.
1484 * ldelf.c: Likewise.
1485 * ldelfgen.c: Include ldctor.h.
1486 (struct os_sections): New.
1487 (add_link_order_input_section, link_order_scan): New functions.
1488 (compare_link_order, fixup_link_order): New functions.
1489 (ldelf_map_segments): Call link_order_scan and fixup_link_order.
1490 * ldlang.c (statement_list): Make global.
1491 (output_section_callback_fast): Save pattern in tree node.
1492 (lang_add_section): Add pattern parameter, save in lang_input_section.
1493 (output_section_callback_tree_to_list): Adjust lang_add_section calls.
1494 (lang_insert_orphan, output_section_callback): Likewise.
1495 (ldlang_place_orphan): Likewise.
1496 (gc_section_callback): Don't set section->pattern.
1497 * testsuite/ld-elf/pr26256-2a.d: Don't xfail generic.
1498 * testsuite/ld-elf/pr26256-3b.d: Likewise.
1499 * testsuite/ld-elf/pr26256-2b.d: Likewise. notarget xgate.
1500
8c4645b4
AM
15012021-01-13 Alan Modra <amodra@gmail.com>
1502
1503 * ldlang.h (callback_t): Remove flag_info function parameter.
1504 * ldlang.c (walk_wild_consider_section): Adjust to suit.
1505 (walk_wild_section_general): Likewise.
1506 (output_section_callback_fast, output_section_callback): Likewise.
1507 (check_section_callback, gc_section_callback): Likewise.
1508 (find_relro_section_callback): Likewise.
1509
d546b610
L
15102021-01-12 H.J. Lu <hongjiu.lu@intel.com>
1511
1512 PR binutils/26792
1513 * configure.ac: Use GNU_MAKE_JOBSERVER.
1514 * aclocal.m4: Regenerated.
1515 * configure: Likewise.
1516
c2e9a4a3
L
15172021-01-12 H.J. Lu <hongjiu.lu@intel.com>
1518
1519 PR ld/27171
1520 * testsuite/ld-x86-64/pe-x86-64-5.obj.bz2: New file.
1521 * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise.
1522 * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise.
1523 * testsuite/ld-x86-64/pe-x86-64.exp: Run PR ld/27171 test.
1524
83b33c6c
L
15252021-01-11 H.J. Lu <hongjiu.lu@intel.com>
1526
1527 PR ld/27173
1528 * configure: Regenerated.
1529
c0f6e439
MJ
15302021-01-11 Matt Jenkins <matt@majenko.co.uk>
1531
1532 PR ld/27167
1533 * ldmain.c (get_emulation): Add mipsmips32r3, mips32r5, mips64r3
1534 and mips64r5 to list of known mips targets.
1535
15362021-01-11 Nick Clifton <nickc@redhat.com>matt@majenko.co.uk
a8aa72b9
NC
1537
1538 * po/pt_BR.po: Updated Brazilian Portuguese translation.
1539` * po/uk.po: Updated Ukranian translation.
1540
a4966cd9
L
15412021-01-09 H.J. Lu <hongjiu.lu@intel.com>
1542
1543 * configure: Regenerated.
1544
0a94990b
L
15452021-01-09 H.J. Lu <hongjiu.lu@intel.com>
1546
1547 PR ld/27166
1548 * testsuite/ld-x86-64/lam-u48.rd: New file.
1549 * testsuite/ld-x86-64/lam-u57.rd: Likewise.
1550 * testsuite/ld-x86-64/x86-64.exp: Add PR ld/27166 tests.
1551
573fe3fb
NC
15522021-01-09 Nick Clifton <nickc@redhat.com>
1553
1554 * configure: Regenerate.
1555 * po/ld.pot: Regenerate.
1556
055bc77a
NC
15572021-01-09 Nick Clifton <nickc@redhat.com>
1558
1559 * 2.36 release branch crated.
1560
ba9e922f
L
15612021-01-08 H.J. Lu <hongjiu.lu@intel.com>
1562
1563 * ld-x86-64/property-x86-lam-u48-4.d: Updated.
1564 * ld-x86-64/property-x86-lam-u48-5.d: Likewise.
1565
64307045
AM
15662021-01-09 Alan Modra <amodra@gmail.com>
1567
1568 * configure: Regenerate.
1569 * Makefile.in: Regenerate.
1570
f4782128
ST
15712021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
1572
1573 * configure: Regenerate.
1574
d1bcae83
L
15752021-01-07 H.J. Lu <hongjiu.lu@intel.com>
1576
1577 PR 27109
1578 * testsuite/ld-elf/export-class.sd: Adjust the expected output.
1579 * testsuite/ld-elf/loadaddr3b.d: Likewise.
1580 * testsuite/ld-i386/ibt-plt-1.d: Likewise.
1581 * testsuite/ld-i386/ibt-plt-2a.d: Likewise.
1582 * testsuite/ld-i386/ibt-plt-2c.d: Likewise.
1583 * testsuite/ld-i386/ibt-plt-3a.d: Likewise.
1584 * testsuite/ld-i386/ibt-plt-3c.d: Likewise.
1585 * testsuite/ld-i386/pr19636-1d.d: Likewise.
1586 * testsuite/ld-i386/pr19636-1l.d: Likewise.
1587 * testsuite/ld-i386/pr19636-2c.d: Likewise.
1588 * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise.
1589 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise.
1590 * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Likewise.
1591 * testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise.
1592 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1593 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1594 * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise.
1595 * testsuite/ld-ifunc/pr17154-i386.d: Likewise.
1596 * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
1597 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
1598 * testsuite/ld-x86-64/bnd-branch-1-now.d: Likewise.
1599 * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise.
1600 * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise.
1601 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
1602 * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise.
1603 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
1604 * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise.
1605 * testsuite/ld-x86-64/ibt-plt-1.d: Likewise.
1606 * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise.
1607 * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise.
1608 * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise.
1609 * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise.
1610 * testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise.
1611 * testsuite/ld-x86-64/ibt-plt-3a.d: Likewise.
1612 * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise.
1613 * testsuite/ld-x86-64/ibt-plt-3c.d: Likewise.
1614 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
1615 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
1616 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
1617 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
1618 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
1619 * testsuite/ld-x86-64/pr19636-2l.d: Likewise.
1620 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
1621 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
1622 * testsuite/ld-x86-64/pr21038b-now.d: Likewise.
1623 * testsuite/ld-x86-64/pr21038b.d: Likewise.
1624 * testsuite/ld-x86-64/pr21038c-now.d: Likewise.
1625 * testsuite/ld-x86-64/pr21038c.d: Likewise.
1626 * testsuite/ld-x86-64/pr23854.d: Likewise.
1627 * testsuite/ld-x86-64/pr25416-3.d: Likewise.
1628 * testsuite/ld-x86-64/pr25416-4.d: Likewise.
1629 * testsuite/ld-i386/plt-pic.pd: Likewise.
1630 * testsuite/ld-i386/plt-pic2.dd: Likewise.
1631 * testsuite/ld-i386/plt.pd: Likewise.
1632 * testsuite/ld-i386/plt2.dd: Likewise.
1633 * testsuite/ld-i386/tlsbin.rd: Likewise.
1634 * testsuite/ld-i386/tlsbin2.rd: Likewise.
1635 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
1636 * testsuite/ld-i386/tlsdesc.rd: Likewise.
1637 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
1638 * testsuite/ld-i386/tlsnopic.rd: Likewise.
1639 * testsuite/ld-i386/tlspic.rd: Likewise.
1640 * testsuite/ld-i386/tlspic2.rd: Likewise.
1641 * testsuite/ld-x86-64/mpx3.dd: Likewise.
1642 * testsuite/ld-x86-64/mpx3n.dd: Likewise.
1643 * testsuite/ld-x86-64/mpx4.dd: Likewise.
1644 * testsuite/ld-x86-64/mpx4n.dd: Likewise.
1645 * testsuite/ld-x86-64/pe-x86-64-1.od: Likewise.
1646 * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise.
1647 * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise.
1648 * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise.
1649 * testsuite/ld-x86-64/plt.pd: Likewise.
1650 * testsuite/ld-x86-64/plt2.dd: Likewise.
1651 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
1652 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
1653 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
1654 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1655 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
1656 * testsuite/ld-x86-64/tlspic.rd: Likewise.
1657 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
1658 * testsuite/ld-elf/sec64k.exp: Check
1659 is_elf_unused_section_symbols.
1660
dc200613
AM
16612021-01-07 Alan Modra <amodra@gmail.com>
1662
1663 * testsuite/ld-scripts/fill.d: Skip sh-*-pe rather than xfail.
1664 * testsuite/ld-scripts/fill16.d: Don't xfail sh-*-pe.
1665 * testsuite/ld-scripts/segment-start.d: Likewise.
1666
8e604ff0
AM
16672021-01-07 Alan Modra <amodra@gmail.com>
1668
1669 * testsuite/ld-elf/comm-data5.d: xfail targets that complain
1670 about dynamic relocations in read-only sections.
1671 * testsuite/ld-elf/ehdr_start-shared.d: Likewise.
1672 * testsuite/ld-elf/ehdr_start.d: Likewise.
1673 * testsuite/ld-scripts/pr22267.d: Likewise.
1674 * testsuite/ld-elf/shared.exp: Likewise for DT_TEXTREL tests and
1675 pr20995 text.
1676 * testsuite/ld-elf/sec64k.exp: Don't run 64ksec on lm32-linux.
1677
4d4490b8
MC
16782021-01-07 Marcus Comstedt <marcus@mc.pp.se>
1679
1680 * testsuite/ld-scripts/empty-address-2a.d: xfail riscv64*-*-*.
1681 * testsuite/ld-scripts/empty-address-2b.d: Likewise.
1682
f526791a
AM
16832021-01-07 Alan Modra <amodra@gmail.com>
1684
1685 * po/BLD-POTFILES.in: Regenerate.
1686
4018f4e0
AM
16872021-01-07 Alan Modra <amodra@gmail.com>
1688
1689 * testsuite/ld-elf/shared.exp: xfail pr22471 for targets that
1690 complain about relocs in read-only sections. Tidy ASFLAGS append.
1691
3677b729
AM
16922021-01-06 Alan Modra <amodra@gmail.com>
1693
1694 * testsuite/ld-sparc/sparc.exp (sparc64tests): Set text-segment
1695 base for some tests.
1696 * testsuite/ld-sparc/gotop32.dd: Match solaris output.
1697 * testsuite/ld-sparc/gotop32.sd: Likewise.
1698 * testsuite/ld-sparc/gotop32.td: Likewise.
1699 * testsuite/ld-sparc/gotop64.dd: Likewise.
1700 * testsuite/ld-sparc/gotop64.sd: Likewise.
1701 * testsuite/ld-sparc/gotop64.td: Likewise.
1702 * testsuite/ld-sparc/tlsg32.sd: Likewise.
1703 * testsuite/ld-sparc/tlsg64.sd: Likewise.
1704 * testsuite/ld-sparc/tlspie32.dd: Likewise.
1705 * testsuite/ld-sparc/tlspie64.dd: Likewise.
1706 * testsuite/ld-sparc/tlssunbin32.dd: Likewise.
1707 * testsuite/ld-sparc/tlssunbin32.sd: Likewise.
1708 * testsuite/ld-sparc/tlssunbin32.td: Likewise.
1709 * testsuite/ld-sparc/tlssunbin64.dd: Likewise.
1710 * testsuite/ld-sparc/tlssunbin64.sd: Likewise.
1711 * testsuite/ld-sparc/tlssunbin64.td: Likewise.
1712 * testsuite/ld-sparc/tlssunnopic32.dd: Likewise.
1713 * testsuite/ld-sparc/tlssunnopic32.sd: Likewise.
1714 * testsuite/ld-sparc/tlssunnopic64.dd: Likewise.
1715 * testsuite/ld-sparc/tlssunnopic64.sd: Likewise.
1716 * testsuite/ld-sparc/tlssunpic32.dd: Likewise.
1717 * testsuite/ld-sparc/tlssunpic32.sd: Likewise.
1718 * testsuite/ld-sparc/tlssunpic32.td: Likewise.
1719 * testsuite/ld-sparc/tlssunpic64.dd: Likewise.
1720 * testsuite/ld-sparc/tlssunpic64.sd: Likewise.
1721 * testsuite/ld-sparc/tlssunpic64.td: Likewise.
1722 * testsuite/ld-sparc/wdispcall.dd: Likewise.
1723
73624512
AM
17242021-01-06 Alan Modra <amodra@gmail.com>
1725
1726 * testsuite/ld-scripts/rgn-at10.d: xfail v850.
1727 * testsuite/ld-scripts/rgn-at11.d: Likewise.
1728
f36ce378
MC
17292021-01-06 Marcus Comstedt <marcus@mc.pp.se>
1730
1731 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Added
1732 riscv_choose_[ilp32|lp64]_emul to choose the correct linker script.
1733 * testsuite/ld-riscv-elf/attr-merge-arch-01.d: Call
1734 riscv_choose_[ilp32|lp64]_emul instead of hardcoding elf[32|64]lriscv.
1735 * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
1736 * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
1737 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Likewise.
1738 * testsuite/ld-riscv-elf/attr-merge-arch-failed-02.d: Likewise.
1739 * testsuite/ld-riscv-elf/c-lui-2.d: Likewise.
1740 * testsuite/ld-riscv-elf/c-lui.d: Likewise.
1741 * testsuite/ld-riscv-elf/call-relax.d: Likewise.
1742 * testsuite/ld-riscv-elf/pcrel-lo-addend-2.d: Likewise.
1743 * testsuite/ld-riscv-elf/pcrel-lo-addend.d: Likewise.
1744 * testsuite/ld-riscv-elf/weakref32.d: Accept bigriscv in addition
1745 to littleriscv.
1746 * testsuite/ld-riscv-elf/weakref64.d: Likewise.
1747
fbc09e7a
MC
17482021-01-06 Marcus Comstedt <marcus@mc.pp.se>
1749
1750 * configure.tgt: Added riscvbe-*-*, riscv32be*-*-*, riscv64be*-*-*,
1751 riscv32be*-*-linux*, and riscv64be*-*-linux*.
1752 * Makefile.am: Added eelf32briscv.c, eelf32briscv_ilp32f.c and
1753 eelf32briscv_ilp32.c.
1754 * Makefile.in: Regenerate.
1755 * emulparams/elf32briscv.sh: Added.
1756 * emulparams/elf32briscv_ilp32.sh: Likewise.
1757 * emulparams/elf32briscv_ilp32f.sh: Likewise.
1758 * emulparams/elf64briscv.sh: Likewise.
1759 * emulparams/elf64briscv_lp64.sh: Likewise.
1760 * emulparams/elf64briscv_lp64f.sh: Likewise.
1761
b4b6ea46
NA
17622021-01-05 Nick Alcock <nick.alcock@oracle.com>
1763
1764 * testsuite/ld-ctf/enum-forward.c: New test.
1765 * testsuite/ld-ctf/enum-forward.c: New results.
1766
37002871
NA
17672021-01-05 Nick Alcock <nick.alcock@oracle.com>
1768
1769 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
1770 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
1771 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
1772 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
1773 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
1774 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
1775 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
1776 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
1777 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
1778 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
1779 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
1780 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
1781 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
1782 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
1783 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
1784 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
1785 * testsuite/ld-ctf/cycle-1.d: Likewise.
1786 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
1787 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
1788 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
1789 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
1790 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
1791 * testsuite/ld-ctf/diag-cuname.d: Likewise.
1792 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
1793 * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise.
1794 * testsuite/ld-ctf/forward.d: Likewise.
1795 * testsuite/ld-ctf/function.d: Likewise.
1796 * testsuite/ld-ctf/slice.d: Likewise.
1797 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
1798 * testsuite/ld-ctf/enums.c: New test.
1799 * testsuite/ld-ctf/enums.d: New test.
1800
ffeece6a
NA
18012021-01-05 Nick Alcock <nick.alcock@oracle.com>
1802
1803 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Adjust for dumper
1804 changes.
1805 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
1806 * testsuite/ld-ctf/forward.c: New test...
1807 * testsuite/ld-ctf/forward.d: ... and results.
1808
91e7ce2f
NA
18092021-01-05 Nick Alcock <nick.alcock@oracle.com>
1810
1811 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
1812 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
1813 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
1814 * testsuite/ld-ctf/diag-cuname.d: Likewise.
1815 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
1816 * testsuite/ld-ctf/function.d: Likewise.
1817 * testsuite/ld-ctf/slice.d: Likewise.
1818
57f97d0e
NA
18192021-01-05 Nick Alcock <nick.alcock@oracle.com>
1820
1821 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
1822 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
1823 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
1824 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
1825 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
1826 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
1827 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
1828 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
1829 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
1830 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
1831 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
1832 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
1833 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
1834 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
1835 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
1836 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
1837 * testsuite/ld-ctf/cycle-1.d: Likewise.
1838 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
1839 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
1840 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
1841 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
1842 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
1843 * testsuite/ld-ctf/diag-cuname.d: Likewise.
1844 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
1845 * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise.
1846 * testsuite/ld-ctf/function.d: Likewise.
1847 * testsuite/ld-ctf/slice.d: Likewise.
1848 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
1849
b281a04f
AM
18502021-01-05 Alan Modra <amodra@gmail.com>
1851
1852 * testsuite/ld-scripts/sysroot-prefix.exp: Exclude some targets.
1853
40b11930
AM
18542021-01-05 Alan Modra <amodra@gmail.com>
1855
1856 PR ld/26256
1857 * testsuite/ld-elf/pr26256-1b.d: xfail s12z.
1858 * testsuite/ld-scripts/crossref.exp (cross1): Don't xfail ia64.
1859
cd6d537c
L
18602021-01-04 H.J. Lu <hongjiu.lu@intel.com>
1861
1862 PR ld/26256
1863 * ldlang.c (gc_section_callback): Set pattern.
1864 * testsuite/ld-elf/pr26256-1.s: New file.
1865 * testsuite/ld-elf/pr26256-1.t: Likewise.
1866 * testsuite/ld-elf/pr26256-1a.d: Likewise.
1867 * testsuite/ld-elf/pr26256-1b.d: Likewise.
1868 * testsuite/ld-elf/pr26256-2.s: Likewise.
1869 * testsuite/ld-elf/pr26256-2.t: Likewise.
1870 * testsuite/ld-elf/pr26256-2a.d: Likewise.
1871 * testsuite/ld-elf/pr26256-2b-alt.d: Likewise.
1872 * testsuite/ld-elf/pr26256-2b.d: Likewise.
1873 * testsuite/ld-elf/pr26256-3.s: Likewise.
1874 * testsuite/ld-elf/pr26256-3a.d: Likewise.
1875 * testsuite/ld-elf/pr26256-3a.t: Likewise.
1876 * testsuite/ld-elf/pr26256-3b.d: Likewise.
1877 * testsuite/ld-elf/pr26256-3b.t: Likewise.
1878
5b4293ba
AM
18792021-01-04 Alan Modra <amodra@gmail.com>
1880
1881 PR 26822
1882 * testsuite/ld-arm/non-contiguous-arm2.d: Adjust STT_FILE symbol match.
1883 * testsuite/ld-arm/non-contiguous-arm3.d: Likewise.
1884 * testsuite/ld-arm/non-contiguous-arm5.d: Likewise.
1885 * testsuite/ld-arm/non-contiguous-arm6.d: Likewise.
1886 * testsuite/ld-i386/tlsbin.rd: Likewise.
1887 * testsuite/ld-i386/tlsbin2.rd: Likewise.
1888 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
1889 * testsuite/ld-i386/tlsdesc.rd: Likewise.
1890 * testsuite/ld-i386/tlsnopic.rd: Likewise.
1891 * testsuite/ld-i386/tlspic.rd: Likewise.
1892 * testsuite/ld-i386/tlspic2.rd: Likewise.
1893 * testsuite/ld-mips-elf/global-local-symtab-sort-n64.d: Likewise.
1894 * testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d: Likewise.
1895 * testsuite/ld-mips-elf/global-local-symtab-sort-o32.d: Likewise.
1896 * testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d: Likewise.
1897 * testsuite/ld-plugin/pr17973.d: Likewise.
1898 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
1899 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
1900 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
1901 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
1902 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
1903 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
1904 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
1905 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
1906 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
1907 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
1908 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
1909 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
1910 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
1911 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
1912 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
1913 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
1914 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1915 * testsuite/ld-x86-64/tlspic.rd: Likewise.
1916 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
1917 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
1918 * testsuite/ld-xtensa/tlspic.rd: Likewise.
1919
f9a6a8f0
AM
19202021-01-01 Nicolas Boulenguez <nicolas@debian.org>
1921
1922 * configure.tgt: Correct comment grammar.
1923 * emultempl/m68hc1xelf.em: Likewise.
1924 * ld.texi: Correct grammar.
1925
250d07de
AM
19262021-01-01 Alan Modra <amodra@gmail.com>
1927
1928 Update year range in copyright notice of all files.
1929
c2795844 1930For older changes see ChangeLog-2020
3499769a 1931\f
a2c58332 1932Copyright (C) 2021-2022 Free Software Foundation, Inc.
3499769a
AM
1933
1934Copying and distribution of this file, with or without modification,
1935are permitted in any medium without royalty provided the copyright
1936notice and this notice are preserved.
1937
1938Local Variables:
1939mode: change-log
1940left-margin: 8
1941fill-column: 74
1942version-control: never
1943End: