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