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