]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/ChangeLog
PR27128, nm -P portable output format regression
[thirdparty/binutils-gdb.git] / ld / ChangeLog
CommitLineData
6a1224ec
AM
12021-03-01 Alan Modra <amodra@gmail.com>
2
3 * testsuite/ld-elf/pr25708.d: Add --with-symbol-versions to nm.
4 * testsuite/ld-elf/pr27128a.d: Likewise.
5 * testsuite/ld-elf/pr27128b.d: Likewise.
6 * testsuite/ld-elf/pr27128c.d: Likewise.
7 * testsuite/ld-elf/pr27128d.d: Likewise.
8 * testsuite/ld-elf/pr27128e.d: Likewise.
9
bfece756
AM
102021-02-26 Alan Modra <amodra@gmail.com>
11
12 PR 27441
13 * testsuite/ld-plugin/pr27441a.c,
14 * testsuite/ld-plugin/pr27441b.c,
15 * testsuite/ld-plugin/pr27441c.c,
16 * testsuite/ld-plugin/pr27441c.d: New test.
17 * testsuite/ld-plugin/lto.exp: Run it.
18
3c27360b
JB
192021-02-25 Jan Beulich <jbeulich@suse.com>
20
21 * ld.texi (PROVIDE): Downgrade "error" to "diagnostic".
22
89753bbf
AM
232021-02-21 Alan Modra <amodra@gmail.com>
24
25 * ldexp.c (exp_fold_tree_1): Warn on script defining a symbol
26 defined in an object file.
27 * ldmain.c (multiple_definition): Heed info->warn_multiple_definition.
28 * testsuite/ld-scripts/defined5.d: Expect a warning.
29
2f973f13
AM
302021-02-19 Alan Modra <amodra@gmail.com>
31
32 * testsuite/lib/ld-lib.exp: Whitespace.
33 (load_common_lib): Expand single use and delete this proc.
34 (run_host_cmd): Use -fno-lto when getting gcc's ld version.
35 Use -B for clang too.
36
a364a116
AB
372021-02-18 Andrew Burgess <andrew.burgess@embecosm.com>
38
39 * testplugin.c (record_read_length): Remove debug fprintf.
40
5b1f6c95
AM
412021-02-14 Alan Modra <amodra@gmail.com>
42
43 * testsuite/ld-cdtest/cdtest.exp,
44 * testsuite/ld-checks/checks.exp,
45 * testsuite/ld-elf/binutils.exp,
46 * testsuite/ld-elf/compress.exp,
47 * testsuite/ld-elf/dwarf.exp,
48 * testsuite/ld-elf/exclude.exp,
49 * testsuite/ld-elf/frame.exp,
50 * testsuite/ld-elf/indirect.exp,
51 * testsuite/ld-elf/linux-x86.exp,
52 * testsuite/ld-elf/sec-to-seg.exp,
53 * testsuite/ld-elf/tls_common.exp,
54 * testsuite/ld-elfcomm/elfcomm.exp,
55 * testsuite/ld-elfvers/vers.exp,
56 * testsuite/ld-elfvsb/elfvsb.exp,
57 * testsuite/ld-elfweak/elfweak.exp,
58 * testsuite/ld-ifunc/binutils.exp,
59 * testsuite/ld-mips-elf/mips-elf-flags.exp,
60 * testsuite/ld-misc/defsym.exp,
61 * testsuite/ld-mn10300/mn10300.exp,
62 * testsuite/ld-plugin/lto.exp,
63 * testsuite/ld-plugin/plugin.exp,
64 * testsuite/ld-scripts/align.exp,
65 * testsuite/ld-scripts/assert.exp,
66 * testsuite/ld-scripts/crossref.exp,
67 * testsuite/ld-scripts/defined.exp,
68 * testsuite/ld-scripts/extern.exp,
69 * testsuite/ld-scripts/log2.exp,
70 * testsuite/ld-scripts/map-address.exp,
71 * testsuite/ld-scripts/phdrs.exp,
72 * testsuite/ld-scripts/phdrs2.exp,
73 * testsuite/ld-scripts/script.exp,
74 * testsuite/ld-scripts/section-flags.exp,
75 * testsuite/ld-scripts/sizeof.exp,
76 * testsuite/ld-scripts/weak.exp,
77 * testsuite/ld-selective/selective.exp,
78 * testsuite/ld-sh/sh.exp,
79 * testsuite/ld-shared/shared.exp,
80 * testsuite/ld-srec/srec.exp,
81 * testsuite/ld-tic6x/tic6x.exp,
82 * testsuite/ld-undefined/undefined.exp,
83 * testsuite/ld-undefined/weak-undef.exp,
84 * testsuite/lib/ld-lib.exp: Don't use unresolved except after
85 perror. Instead report "unsupported" or "fail".
86
c46b7066
NC
872021-02-12 Nick Clifton <nickc@redhat.com>
88
89 * testsuite/ld-elf/sec64k.exp: Stop readelf from automatically
90 following debug links.
91
933feaf3
AM
922021-02-11 Alan Modra <amodra@gmail.com>
93
94 * NEWS: Mention arm-symbianelf removal.
95
a57d1773
AM
962021-02-09 Alan Modra <amodra@gmail.com>
97
98 * Makefile.am (ALL_EMULATION_SOURCES): Remove earmsymbian.c.
99 Don't include symbian dep file.
100 * configure.tgt: Remove arm*-*-symbianelf* entry.
101 * emulparams/armsymbian.sh: Delete.
102 * ld.texi: Don't mention symbian.
103 * scripttempl/armbpabi.sc: Delete.
104 * testsuite/ld-arm/symbian-seg1.d: Delete.
105 * testsuite/ld-arm/symbian-seg1.s: Delete.
106 * testsuite/ld-arm/arm-elf.exp: Don't run symbian-seg1.
107 * Makefile.in: Regenerate.
108 * po/BLD-POTFILES.in: Regenerate.
109
38a143aa
L
1102021-02-07 H.J. Lu <hongjiu.lu@intel.com>
111
112 PR ld/27358
113 * testsuite/ld-i386/i386.exp: Remove property 3/4/5 run-time
114 tests.
115 * testsuite/ld-x86-64/x86-64.exp: Likewise.
116
35a01a04
NA
1172021-01-26 Nick Alcock <nick.alcock@oracle.com>
118
119 * ldlang.c (lang_merge_ctf): Set CTF_LINK_NO_FILTER_REPORTED_SYMS
120 when appropriate.
121
1a2f1b54
L
1222021-02-04 H.J. Lu <hongjiu.lu@intel.com>
123
124 PR ld/19609
125 * testsuite/ld-x86-64/pr19609-2a.d: Updated.
126 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
127 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
128 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
129 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
130 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
131 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
132
37707bd8
L
1332021-02-04 H.J. Lu <hongjiu.lu@intel.com>
134
135 PR ld/15146
136 * testsuite/ld-plugin/lto.exp: Run PR ld/15146 tests.
137 * testsuite/ld-plugin/pr15146.d: Restored.
138 * testsuite/ld-plugin/pr15146a.c: Likewise.
139 * testsuite/ld-plugin/pr15146b.c: Likewise.
140 * testsuite/ld-plugin/pr15146c.c: Likewise.
141 * testsuite/ld-plugin/pr15146d.c: Likewise.
142
7d409ac0
AM
1432021-02-04 Alan Modra <amodra@gmail.com>
144
145 * testsuite/ld-plugin/pr27311d.c: New test.
146 * testsuite/ld-plugin/lto.exp: Rename pr27311 to pr27311-1, compile
147 and link new test as pr27311-2.
148
69551367
AM
1492021-02-03 Alan Modra <amodra@gmail.com>
150
151 * testsuite/ld-ifunc/ifunc.exp (libpr16467b.so, libpr16467bn.so):
152 Link with --as-needed.
153
9918bff7
AM
1542021-02-02 Alan Modra <amodra@gmail.com>
155
156 * testsuite/ld-plugin/pr27311.d,
157 * testsuite/ld-plugin/pr27311.ver,
158 * testsuite/ld-plugin/pr27311a.c,
159 * testsuite/ld-plugin/pr27311b.c,
160 * testsuite/ld-plugin/pr27311c.c: New testcase.
161 * testsuite/ld-plugin/lto.exp: Run it. Correct PR14918 and
162 PR12982 entries.
163
1f568f9a
EH
1642021-02-01 Emery Hemingway <ehmry@posteo.net>
165
166 * configure.tgt: Add *-*-genode* as a target for AArch64 and x86.
167
fb6c220e
AM
1682021-02-01 Alan Modra <amodra@gmail.com>
169
170 * ldgram.y (defsym_expr): Use assignment rule.
171 * ldlex.h (ldlex_defsym): Delete.
172 * ldlex.l (DEFSYMEXP, ldlex_defsym): Delete.
173
40726f16
AM
1742021-02-01 Alan Modra <amodra@gmail.com>
175
176 * ldgram.y (section): Call ldlex_backup. Remove empty action.
177 * ldlex.h (ldlex_backup): Declare.
178 * ldlex.l (<EXPRESSION>NAME): Don't use NOCFILENAMECHAR set of
179 chars, use SYMBOLNAMECHAR.
180 (ldlex_backup): New function.
181
a5f92c67
AM
1822021-02-01 Alan Modra <amodra@gmail.com>
183
184 * ldgram.y: Whitespace fixes.
185
49daa38f
AM
1862021-02-01 Alan Modra <amodra@gmail.com>
187
188 * testsuite/ld-elf/pr27259.d: Correct sh_link match.
189
c4566785
AM
1902021-01-29 Alan Modra <amodra@gmail.com>
191
192 * testsuite/ld-tic6x/tic6x.exp: Add pr27271 test.
193
53e556e5
L
1942021-01-28 H.J. Lu <hongjiu.lu@intel.com>
195
196 PR ld/27259
197 * testsuite/ld-elf/pr27259.d: New file.
198 * testsuite/ld-elf/pr27259.s: Likewise.
199
def97fb9
AM
2002021-01-28 Alan Modra <amodra@gmail.com>
201
202 PR 27259
203 * ldelf.c (ldelf_before_place_orphans): Use linker_mark to
204 prevent endless looping of linked-to sections.
205
2eda57ef
L
2062021-01-26 H.J. Lu <hongjiu.lu@intel.com>
207
208 * testsuite/ld-x86-64/bnd-plt-1.d: Fix a typo.
209
1c9c9b9b
AM
2102021-01-26 Alan Modra <amodra@gmail.com>
211
212 PR 27226
213 * emulparams/alphavms.sh: Don't set COMPILE_IN.
214 * emulparams/elf64_ia64_vms.sh: Likewise.
215 * emulparams/elf64mmix.sh: Likewise.
216 * emulparams/elf_iamcu.sh: Likewise.
217 * emulparams/elf_k1om.sh: Likewise.
218 * emulparams/elf_l1om.sh: Likewise.
219 * emulparams/mmo.sh: Likewise.
220 * emulparams/pdp11.sh: Set DATA_SEG_ADDR.
221 * scripttempl/pdp11.sc: Use it.
222 * emultempl/pdp11.em: Don't edit .xn script for separate_code,
223 instead use .xe script. Support scripts from file system.
224 * emultempl/beos.em: Support scripts from file system.
225 * emultempl/pe.em: Likewise.
226 * emultempl/pep.em: Likewise.
227 * testsuite/ld-bootstrap/bootstrap.exp: Make tmpdir/ldscripts link.
228
9e42b976
FS
2292021-01-25 Fangrui Song <maskray@google.com>
230
231 PR ld/27230
232 * scripttempl/DWARF.sc: Add .debug_* sections.
233
b8df6900
NC
2342021-01-25 Nick Clifton <nickc@redhat.com>
235
236 * scripttempl/DWARF.sc: Add .debug_loclists, .debug_rnglists,
237 .debug_line_str and .debug_str_offsets. Move .debug_macro and
238 .debug_addr into DWARF-5 section.
239
c78eec44
AM
2402021-01-21 Alan Modra <amodra@gmail.com>
241
242 * testsuite/ld-elf/pr26936.d: No longer xfail mips.
243
4bd7c902
AM
2442021-01-20 Alan Modra <amodra@gmail.com>
245
246 * testsuite/ld-powerpc/relbrlt.s: Make symbols global.
247 * testsuite/ld-powerpc/relbrlt.d: Adjust to suit.
248 * testsuite/ld-powerpc/tlsget.d: Adjust for reordered stubs.
249 * testsuite/ld-powerpc/tlsget.wf: Likewise.
250 * testsuite/ld-powerpc/tlsget2.d: Likewise.
251 * testsuite/ld-powerpc/tlsget2.wf: Likewise.
252 * testsuite/ld-powerpc/tlsexe.r: Adjust for removed section syms.
253 * testsuite/ld-powerpc/tlsexe32.r: Likewise.
254 * testsuite/ld-powerpc/tlsexe32no.r: Likewise.
255 * testsuite/ld-powerpc/tlsexeno.r: Likewise.
256 * testsuite/ld-powerpc/tlsexenors.r: Likewise.
257 * testsuite/ld-powerpc/tlsexers.r: Likewise.
258 * testsuite/ld-powerpc/tlsexetoc.r: Likewise.
259 * testsuite/ld-powerpc/tlsexetocrs.r: Likewise.
260 * testsuite/ld-powerpc/tlsso.r: Likewise.
261 * testsuite/ld-powerpc/tlsso32.r: Likewise.
262 * testsuite/ld-powerpc/tlstocso.r: Likewise.
263
c98de297
NA
2642021-01-19 Nick Alcock <nick.alcock@oracle.com>
265
266 * testsuite/ld-ctf/data-func-2.c: Stop removal of the extern foo_t
267 symbols by the optimizer.
268 * testsuite/ld-ctf/data-func-conflicted.d: Adjust accordingly.
269
85e963f1
NC
2702021-01-19 Nelson Chu <nelson.chu@sifive.com>
271
272 * testsuite/ld-elf/elf.exp (riscv_little_endian): Added. Return true
273 if target is riscv little endian. Otherwise, return false.
274 * testsuite/ld-elf/compressed1d.d: Only xfail the riscv little endian
275 targets by [riscv_little_endian].
276
326adec3
AM
2772021-01-18 Alan Modra <amodra@gmail.com>
278
279 PR 26378
280 * ldlang.c (map_input_to_output_sections): Start with a read-only
281 section for data statements.
282 * testsuite/ld-elf/size-2.d: Adjust to suit.
283
994b2513
L
2842021-01-17 H.J. Lu <hongjiu.lu@intel.com>
285
286 PR ld/27193
287 * testsuite/ld-i386/i386.exp: Run PR ld/27193 test.
288 * testsuite/ld-i386/pr27193.dd: New file.
289 * testsuite/ld-i386/pr27193a.o.bz2: Likewise.
290 * testsuite/ld-i386/pr27193b.s: Likewise.
291
edf0f284
L
2922021-01-16 H.J. Lu <hongjiu.lu@intel.com>
293
294 PR binutils/23460
295 * testsuite/ld-plugin/lto.exp: Increase the max number of open
296 files to 20 for PR binutils/23460 test.
297
75a933f3
L
2982021-01-16 H.J. Lu <hongjiu.lu@intel.com>
299
300 PR ld/23169
301 * testsuite/ld-ifunc/ifunc.exp: Replace pr23169c.rd with
302 pr23169a.rd for pr23169c and pr23169f. Remove pr23169e tests.
303 * testsuite/ld-ifunc/pr23169a.c (foo): Don't compare function
304 address.
305
68b00778
L
3062021-01-15 H.J. Lu <hongjiu.lu@intel.com>
307
308 * NEWS: Mention -z report-relative-reloc.
309 * ld.texi: Document -z report-relative-reloc.
310 * emulparams/elf32_x86_64.sh: Source x86-report-relative.sh.
311 * emulparams/elf_i386.sh: Likewse.
312 * emulparams/elf_x86_64.sh: Likewse.
313 * emulparams/x86-report-relative.sh: New file.
314 * testsuite/ld-i386/report-reloc-1.d: Likewse.
315 * testsuite/ld-i386/report-reloc-1.l: Likewse.
316 * testsuite/ld-i386/report-reloc-1.s: Likewse.
317 * testsuite/ld-x86-64/report-reloc-1-x32.d: Likewse.
318 * testsuite/ld-x86-64/report-reloc-1.d: Likewse.
319 * testsuite/ld-x86-64/report-reloc-1.l: Likewse.
320 * testsuite/ld-x86-64/report-reloc-1.s: Likewse.
321 * testsuite/ld-i386/i386.exp: Run report-reloc-1.
322 * testsuite/ld-x86-64/x86-64.exp: Run report-reloc-1 and
323 report-reloc-1-x32.
324
eb6e6af8
AM
3252021-01-16 Alan Modra <amodra@gmail.com>
326
327 PR 26002
328 * testsuite/ld-elfvers/vers6.dsym: Expect "Base" for undefined
329 unversioned symbols.
330 * testsuite/ld-elfvers/vers16.dsym: Likewise.
331
b800637e
NC
3322021-01-15 Nelson Chu <nelson.chu@sifive.com>
333
334 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-01.d: Updated.
335 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-02.d: Likewise.
336 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-03.d: Likewise.
337 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-04.d: Likewise.
338 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-05.d: Likewise.
339 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-06.d: Likewise.
340
5a10699f
NC
3412021-01-14 Nick Clifton <nickc@redhat.com>
342
343 * po/fr.po: Updated French translation.
344
271bea6a
MF
3452021-01-14 Mike Frysinger <vapier@gentoo.org>
346
347 * testsuite/config/default.exp [bfin*-elf*] (gcc_B_opt): Add -msim.
348
4120e488
AM
3492021-01-14 Alan Modra <amodra@gmail.com>
350
351 PR 27160
352 * ldelfgen.c (compare_link_order): Protect access of ELF section
353 data.
354 (add_link_order_input_section): Remove redundant NULL check.
355 Use bfd_get_flavour.
356 (ldelf_map_segments): Use bfd_get_flavour.
357
b634d11d
L
3582021-01-13 H.J. Lu <hongjiu.lu@intel.com>
359
360 * ldelfgen.c (add_link_order_input_section): Check for ELF input
361 before accessing ELF section data.
362
5347ed60
AM
3632021-01-13 Alan Modra <amodra@gmail.com>
364
365 * Makefile.in: Regenerate.
366
b209b5a6
AM
3672021-01-13 Alan Modra <amodra@gmail.com>
368
369 PR 27160
370 * ldlang.h (lang_output_section_statement_type): Add data field.
371 (lang_input_section_type, lang_section_bst_type): Add pattern field.
372 (statement_list): Declare.
373 (lang_add_section): Adjust prototype.
374 * emultempl/aarch64elf.em: Adjust lang_add_section calls.
375 * emultempl/armelf.em: Likewise.
376 * emultempl/beos.em: Likewise.
377 * emultempl/cskyelf.em: Likewise.
378 * emultempl/hppaelf.em: Likewise.
379 * emultempl/m68hc1xelf.em: Likewise.
380 * emultempl/metagelf.em: Likewise.
381 * emultempl/mipself.em: Likewise.
382 * emultempl/mmo.em: Likewise.
383 * emultempl/msp430.em: Likewise.
384 * emultempl/nios2elf.em: Likewise.
385 * emultempl/pe.em: Likewise.
386 * emultempl/pep.em: Likewise.
387 * emultempl/ppc64elf.em: Likewise.
388 * emultempl/spuelf.em: Likewise.
389 * emultempl/vms.em: Likewise.
390 * ldelf.c: Likewise.
391 * ldelfgen.c: Include ldctor.h.
392 (struct os_sections): New.
393 (add_link_order_input_section, link_order_scan): New functions.
394 (compare_link_order, fixup_link_order): New functions.
395 (ldelf_map_segments): Call link_order_scan and fixup_link_order.
396 * ldlang.c (statement_list): Make global.
397 (output_section_callback_fast): Save pattern in tree node.
398 (lang_add_section): Add pattern parameter, save in lang_input_section.
399 (output_section_callback_tree_to_list): Adjust lang_add_section calls.
400 (lang_insert_orphan, output_section_callback): Likewise.
401 (ldlang_place_orphan): Likewise.
402 (gc_section_callback): Don't set section->pattern.
403 * testsuite/ld-elf/pr26256-2a.d: Don't xfail generic.
404 * testsuite/ld-elf/pr26256-3b.d: Likewise.
405 * testsuite/ld-elf/pr26256-2b.d: Likewise. notarget xgate.
406
8c4645b4
AM
4072021-01-13 Alan Modra <amodra@gmail.com>
408
409 * ldlang.h (callback_t): Remove flag_info function parameter.
410 * ldlang.c (walk_wild_consider_section): Adjust to suit.
411 (walk_wild_section_general): Likewise.
412 (output_section_callback_fast, output_section_callback): Likewise.
413 (check_section_callback, gc_section_callback): Likewise.
414 (find_relro_section_callback): Likewise.
415
d546b610
L
4162021-01-12 H.J. Lu <hongjiu.lu@intel.com>
417
418 PR binutils/26792
419 * configure.ac: Use GNU_MAKE_JOBSERVER.
420 * aclocal.m4: Regenerated.
421 * configure: Likewise.
422
c2e9a4a3
L
4232021-01-12 H.J. Lu <hongjiu.lu@intel.com>
424
425 PR ld/27171
426 * testsuite/ld-x86-64/pe-x86-64-5.obj.bz2: New file.
427 * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise.
428 * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise.
429 * testsuite/ld-x86-64/pe-x86-64.exp: Run PR ld/27171 test.
430
83b33c6c
L
4312021-01-11 H.J. Lu <hongjiu.lu@intel.com>
432
433 PR ld/27173
434 * configure: Regenerated.
435
c0f6e439
MJ
4362021-01-11 Matt Jenkins <matt@majenko.co.uk>
437
438 PR ld/27167
439 * ldmain.c (get_emulation): Add mipsmips32r3, mips32r5, mips64r3
440 and mips64r5 to list of known mips targets.
441
4422021-01-11 Nick Clifton <nickc@redhat.com>matt@majenko.co.uk
a8aa72b9
NC
443
444 * po/pt_BR.po: Updated Brazilian Portuguese translation.
445` * po/uk.po: Updated Ukranian translation.
446
a4966cd9
L
4472021-01-09 H.J. Lu <hongjiu.lu@intel.com>
448
449 * configure: Regenerated.
450
0a94990b
L
4512021-01-09 H.J. Lu <hongjiu.lu@intel.com>
452
453 PR ld/27166
454 * testsuite/ld-x86-64/lam-u48.rd: New file.
455 * testsuite/ld-x86-64/lam-u57.rd: Likewise.
456 * testsuite/ld-x86-64/x86-64.exp: Add PR ld/27166 tests.
457
573fe3fb
NC
4582021-01-09 Nick Clifton <nickc@redhat.com>
459
460 * configure: Regenerate.
461 * po/ld.pot: Regenerate.
462
055bc77a
NC
4632021-01-09 Nick Clifton <nickc@redhat.com>
464
465 * 2.36 release branch crated.
466
ba9e922f
L
4672021-01-08 H.J. Lu <hongjiu.lu@intel.com>
468
469 * ld-x86-64/property-x86-lam-u48-4.d: Updated.
470 * ld-x86-64/property-x86-lam-u48-5.d: Likewise.
471
64307045
AM
4722021-01-09 Alan Modra <amodra@gmail.com>
473
474 * configure: Regenerate.
475 * Makefile.in: Regenerate.
476
f4782128
ST
4772021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
478
479 * configure: Regenerate.
480
d1bcae83
L
4812021-01-07 H.J. Lu <hongjiu.lu@intel.com>
482
483 PR 27109
484 * testsuite/ld-elf/export-class.sd: Adjust the expected output.
485 * testsuite/ld-elf/loadaddr3b.d: Likewise.
486 * testsuite/ld-i386/ibt-plt-1.d: Likewise.
487 * testsuite/ld-i386/ibt-plt-2a.d: Likewise.
488 * testsuite/ld-i386/ibt-plt-2c.d: Likewise.
489 * testsuite/ld-i386/ibt-plt-3a.d: Likewise.
490 * testsuite/ld-i386/ibt-plt-3c.d: Likewise.
491 * testsuite/ld-i386/pr19636-1d.d: Likewise.
492 * testsuite/ld-i386/pr19636-1l.d: Likewise.
493 * testsuite/ld-i386/pr19636-2c.d: Likewise.
494 * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise.
495 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise.
496 * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Likewise.
497 * testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise.
498 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
499 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
500 * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise.
501 * testsuite/ld-ifunc/pr17154-i386.d: Likewise.
502 * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
503 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
504 * testsuite/ld-x86-64/bnd-branch-1-now.d: Likewise.
505 * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise.
506 * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise.
507 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
508 * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise.
509 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
510 * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise.
511 * testsuite/ld-x86-64/ibt-plt-1.d: Likewise.
512 * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise.
513 * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise.
514 * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise.
515 * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise.
516 * testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise.
517 * testsuite/ld-x86-64/ibt-plt-3a.d: Likewise.
518 * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise.
519 * testsuite/ld-x86-64/ibt-plt-3c.d: Likewise.
520 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
521 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
522 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
523 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
524 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
525 * testsuite/ld-x86-64/pr19636-2l.d: Likewise.
526 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
527 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
528 * testsuite/ld-x86-64/pr21038b-now.d: Likewise.
529 * testsuite/ld-x86-64/pr21038b.d: Likewise.
530 * testsuite/ld-x86-64/pr21038c-now.d: Likewise.
531 * testsuite/ld-x86-64/pr21038c.d: Likewise.
532 * testsuite/ld-x86-64/pr23854.d: Likewise.
533 * testsuite/ld-x86-64/pr25416-3.d: Likewise.
534 * testsuite/ld-x86-64/pr25416-4.d: Likewise.
535 * testsuite/ld-i386/plt-pic.pd: Likewise.
536 * testsuite/ld-i386/plt-pic2.dd: Likewise.
537 * testsuite/ld-i386/plt.pd: Likewise.
538 * testsuite/ld-i386/plt2.dd: Likewise.
539 * testsuite/ld-i386/tlsbin.rd: Likewise.
540 * testsuite/ld-i386/tlsbin2.rd: Likewise.
541 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
542 * testsuite/ld-i386/tlsdesc.rd: Likewise.
543 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
544 * testsuite/ld-i386/tlsnopic.rd: Likewise.
545 * testsuite/ld-i386/tlspic.rd: Likewise.
546 * testsuite/ld-i386/tlspic2.rd: Likewise.
547 * testsuite/ld-x86-64/mpx3.dd: Likewise.
548 * testsuite/ld-x86-64/mpx3n.dd: Likewise.
549 * testsuite/ld-x86-64/mpx4.dd: Likewise.
550 * testsuite/ld-x86-64/mpx4n.dd: Likewise.
551 * testsuite/ld-x86-64/pe-x86-64-1.od: Likewise.
552 * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise.
553 * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise.
554 * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise.
555 * testsuite/ld-x86-64/plt.pd: Likewise.
556 * testsuite/ld-x86-64/plt2.dd: Likewise.
557 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
558 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
559 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
560 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
561 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
562 * testsuite/ld-x86-64/tlspic.rd: Likewise.
563 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
564 * testsuite/ld-elf/sec64k.exp: Check
565 is_elf_unused_section_symbols.
566
dc200613
AM
5672021-01-07 Alan Modra <amodra@gmail.com>
568
569 * testsuite/ld-scripts/fill.d: Skip sh-*-pe rather than xfail.
570 * testsuite/ld-scripts/fill16.d: Don't xfail sh-*-pe.
571 * testsuite/ld-scripts/segment-start.d: Likewise.
572
8e604ff0
AM
5732021-01-07 Alan Modra <amodra@gmail.com>
574
575 * testsuite/ld-elf/comm-data5.d: xfail targets that complain
576 about dynamic relocations in read-only sections.
577 * testsuite/ld-elf/ehdr_start-shared.d: Likewise.
578 * testsuite/ld-elf/ehdr_start.d: Likewise.
579 * testsuite/ld-scripts/pr22267.d: Likewise.
580 * testsuite/ld-elf/shared.exp: Likewise for DT_TEXTREL tests and
581 pr20995 text.
582 * testsuite/ld-elf/sec64k.exp: Don't run 64ksec on lm32-linux.
583
4d4490b8
MC
5842021-01-07 Marcus Comstedt <marcus@mc.pp.se>
585
586 * testsuite/ld-scripts/empty-address-2a.d: xfail riscv64*-*-*.
587 * testsuite/ld-scripts/empty-address-2b.d: Likewise.
588
f526791a
AM
5892021-01-07 Alan Modra <amodra@gmail.com>
590
591 * po/BLD-POTFILES.in: Regenerate.
592
4018f4e0
AM
5932021-01-07 Alan Modra <amodra@gmail.com>
594
595 * testsuite/ld-elf/shared.exp: xfail pr22471 for targets that
596 complain about relocs in read-only sections. Tidy ASFLAGS append.
597
3677b729
AM
5982021-01-06 Alan Modra <amodra@gmail.com>
599
600 * testsuite/ld-sparc/sparc.exp (sparc64tests): Set text-segment
601 base for some tests.
602 * testsuite/ld-sparc/gotop32.dd: Match solaris output.
603 * testsuite/ld-sparc/gotop32.sd: Likewise.
604 * testsuite/ld-sparc/gotop32.td: Likewise.
605 * testsuite/ld-sparc/gotop64.dd: Likewise.
606 * testsuite/ld-sparc/gotop64.sd: Likewise.
607 * testsuite/ld-sparc/gotop64.td: Likewise.
608 * testsuite/ld-sparc/tlsg32.sd: Likewise.
609 * testsuite/ld-sparc/tlsg64.sd: Likewise.
610 * testsuite/ld-sparc/tlspie32.dd: Likewise.
611 * testsuite/ld-sparc/tlspie64.dd: Likewise.
612 * testsuite/ld-sparc/tlssunbin32.dd: Likewise.
613 * testsuite/ld-sparc/tlssunbin32.sd: Likewise.
614 * testsuite/ld-sparc/tlssunbin32.td: Likewise.
615 * testsuite/ld-sparc/tlssunbin64.dd: Likewise.
616 * testsuite/ld-sparc/tlssunbin64.sd: Likewise.
617 * testsuite/ld-sparc/tlssunbin64.td: Likewise.
618 * testsuite/ld-sparc/tlssunnopic32.dd: Likewise.
619 * testsuite/ld-sparc/tlssunnopic32.sd: Likewise.
620 * testsuite/ld-sparc/tlssunnopic64.dd: Likewise.
621 * testsuite/ld-sparc/tlssunnopic64.sd: Likewise.
622 * testsuite/ld-sparc/tlssunpic32.dd: Likewise.
623 * testsuite/ld-sparc/tlssunpic32.sd: Likewise.
624 * testsuite/ld-sparc/tlssunpic32.td: Likewise.
625 * testsuite/ld-sparc/tlssunpic64.dd: Likewise.
626 * testsuite/ld-sparc/tlssunpic64.sd: Likewise.
627 * testsuite/ld-sparc/tlssunpic64.td: Likewise.
628 * testsuite/ld-sparc/wdispcall.dd: Likewise.
629
73624512
AM
6302021-01-06 Alan Modra <amodra@gmail.com>
631
632 * testsuite/ld-scripts/rgn-at10.d: xfail v850.
633 * testsuite/ld-scripts/rgn-at11.d: Likewise.
634
f36ce378
MC
6352021-01-06 Marcus Comstedt <marcus@mc.pp.se>
636
637 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Added
638 riscv_choose_[ilp32|lp64]_emul to choose the correct linker script.
639 * testsuite/ld-riscv-elf/attr-merge-arch-01.d: Call
640 riscv_choose_[ilp32|lp64]_emul instead of hardcoding elf[32|64]lriscv.
641 * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
642 * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
643 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Likewise.
644 * testsuite/ld-riscv-elf/attr-merge-arch-failed-02.d: Likewise.
645 * testsuite/ld-riscv-elf/c-lui-2.d: Likewise.
646 * testsuite/ld-riscv-elf/c-lui.d: Likewise.
647 * testsuite/ld-riscv-elf/call-relax.d: Likewise.
648 * testsuite/ld-riscv-elf/pcrel-lo-addend-2.d: Likewise.
649 * testsuite/ld-riscv-elf/pcrel-lo-addend.d: Likewise.
650 * testsuite/ld-riscv-elf/weakref32.d: Accept bigriscv in addition
651 to littleriscv.
652 * testsuite/ld-riscv-elf/weakref64.d: Likewise.
653
fbc09e7a
MC
6542021-01-06 Marcus Comstedt <marcus@mc.pp.se>
655
656 * configure.tgt: Added riscvbe-*-*, riscv32be*-*-*, riscv64be*-*-*,
657 riscv32be*-*-linux*, and riscv64be*-*-linux*.
658 * Makefile.am: Added eelf32briscv.c, eelf32briscv_ilp32f.c and
659 eelf32briscv_ilp32.c.
660 * Makefile.in: Regenerate.
661 * emulparams/elf32briscv.sh: Added.
662 * emulparams/elf32briscv_ilp32.sh: Likewise.
663 * emulparams/elf32briscv_ilp32f.sh: Likewise.
664 * emulparams/elf64briscv.sh: Likewise.
665 * emulparams/elf64briscv_lp64.sh: Likewise.
666 * emulparams/elf64briscv_lp64f.sh: Likewise.
667
b4b6ea46
NA
6682021-01-05 Nick Alcock <nick.alcock@oracle.com>
669
670 * testsuite/ld-ctf/enum-forward.c: New test.
671 * testsuite/ld-ctf/enum-forward.c: New results.
672
37002871
NA
6732021-01-05 Nick Alcock <nick.alcock@oracle.com>
674
675 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
676 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
677 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
678 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
679 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
680 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
681 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
682 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
683 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
684 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
685 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
686 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
687 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
688 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
689 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
690 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
691 * testsuite/ld-ctf/cycle-1.d: Likewise.
692 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
693 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
694 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
695 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
696 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
697 * testsuite/ld-ctf/diag-cuname.d: Likewise.
698 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
699 * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise.
700 * testsuite/ld-ctf/forward.d: Likewise.
701 * testsuite/ld-ctf/function.d: Likewise.
702 * testsuite/ld-ctf/slice.d: Likewise.
703 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
704 * testsuite/ld-ctf/enums.c: New test.
705 * testsuite/ld-ctf/enums.d: New test.
706
ffeece6a
NA
7072021-01-05 Nick Alcock <nick.alcock@oracle.com>
708
709 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Adjust for dumper
710 changes.
711 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
712 * testsuite/ld-ctf/forward.c: New test...
713 * testsuite/ld-ctf/forward.d: ... and results.
714
91e7ce2f
NA
7152021-01-05 Nick Alcock <nick.alcock@oracle.com>
716
717 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
718 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
719 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
720 * testsuite/ld-ctf/diag-cuname.d: Likewise.
721 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
722 * testsuite/ld-ctf/function.d: Likewise.
723 * testsuite/ld-ctf/slice.d: Likewise.
724
57f97d0e
NA
7252021-01-05 Nick Alcock <nick.alcock@oracle.com>
726
727 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
728 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
729 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
730 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
731 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
732 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
733 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
734 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
735 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
736 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
737 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
738 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
739 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
740 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
741 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
742 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
743 * testsuite/ld-ctf/cycle-1.d: Likewise.
744 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
745 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
746 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
747 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
748 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
749 * testsuite/ld-ctf/diag-cuname.d: Likewise.
750 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
751 * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise.
752 * testsuite/ld-ctf/function.d: Likewise.
753 * testsuite/ld-ctf/slice.d: Likewise.
754 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
755
b281a04f
AM
7562021-01-05 Alan Modra <amodra@gmail.com>
757
758 * testsuite/ld-scripts/sysroot-prefix.exp: Exclude some targets.
759
40b11930
AM
7602021-01-05 Alan Modra <amodra@gmail.com>
761
762 PR ld/26256
763 * testsuite/ld-elf/pr26256-1b.d: xfail s12z.
764 * testsuite/ld-scripts/crossref.exp (cross1): Don't xfail ia64.
765
cd6d537c
L
7662021-01-04 H.J. Lu <hongjiu.lu@intel.com>
767
768 PR ld/26256
769 * ldlang.c (gc_section_callback): Set pattern.
770 * testsuite/ld-elf/pr26256-1.s: New file.
771 * testsuite/ld-elf/pr26256-1.t: Likewise.
772 * testsuite/ld-elf/pr26256-1a.d: Likewise.
773 * testsuite/ld-elf/pr26256-1b.d: Likewise.
774 * testsuite/ld-elf/pr26256-2.s: Likewise.
775 * testsuite/ld-elf/pr26256-2.t: Likewise.
776 * testsuite/ld-elf/pr26256-2a.d: Likewise.
777 * testsuite/ld-elf/pr26256-2b-alt.d: Likewise.
778 * testsuite/ld-elf/pr26256-2b.d: Likewise.
779 * testsuite/ld-elf/pr26256-3.s: Likewise.
780 * testsuite/ld-elf/pr26256-3a.d: Likewise.
781 * testsuite/ld-elf/pr26256-3a.t: Likewise.
782 * testsuite/ld-elf/pr26256-3b.d: Likewise.
783 * testsuite/ld-elf/pr26256-3b.t: Likewise.
784
5b4293ba
AM
7852021-01-04 Alan Modra <amodra@gmail.com>
786
787 PR 26822
788 * testsuite/ld-arm/non-contiguous-arm2.d: Adjust STT_FILE symbol match.
789 * testsuite/ld-arm/non-contiguous-arm3.d: Likewise.
790 * testsuite/ld-arm/non-contiguous-arm5.d: Likewise.
791 * testsuite/ld-arm/non-contiguous-arm6.d: Likewise.
792 * testsuite/ld-i386/tlsbin.rd: Likewise.
793 * testsuite/ld-i386/tlsbin2.rd: Likewise.
794 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
795 * testsuite/ld-i386/tlsdesc.rd: Likewise.
796 * testsuite/ld-i386/tlsnopic.rd: Likewise.
797 * testsuite/ld-i386/tlspic.rd: Likewise.
798 * testsuite/ld-i386/tlspic2.rd: Likewise.
799 * testsuite/ld-mips-elf/global-local-symtab-sort-n64.d: Likewise.
800 * testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d: Likewise.
801 * testsuite/ld-mips-elf/global-local-symtab-sort-o32.d: Likewise.
802 * testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d: Likewise.
803 * testsuite/ld-plugin/pr17973.d: Likewise.
804 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
805 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
806 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
807 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
808 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
809 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
810 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
811 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
812 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
813 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
814 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
815 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
816 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
817 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
818 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
819 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
820 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
821 * testsuite/ld-x86-64/tlspic.rd: Likewise.
822 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
823 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
824 * testsuite/ld-xtensa/tlspic.rd: Likewise.
825
f9a6a8f0
AM
8262021-01-01 Nicolas Boulenguez <nicolas@debian.org>
827
828 * configure.tgt: Correct comment grammar.
829 * emultempl/m68hc1xelf.em: Likewise.
830 * ld.texi: Correct grammar.
831
250d07de
AM
8322021-01-01 Alan Modra <amodra@gmail.com>
833
834 Update year range in copyright notice of all files.
835
c2795844 836For older changes see ChangeLog-2020
3499769a 837\f
c2795844 838Copyright (C) 2021 Free Software Foundation, Inc.
3499769a
AM
839
840Copying and distribution of this file, with or without modification,
841are permitted in any medium without royalty provided the copyright
842notice and this notice are preserved.
843
844Local Variables:
845mode: change-log
846left-margin: 8
847fill-column: 74
848version-control: never
849End: