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