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