1 2021-03-01 Alan Modra <amodra@gmail.com>
2 Fangrui Song <maskray@google.com>
4 * emultempl/elf.em: Handle -z start-stop-gc and -z nostart-stop-gc.
5 * lexsup.c (elf_static_list_options): Display help for them. Move
6 help for -z stack-size to here from elf_shlib_list_options. Add
7 help for -z start-stop-visibility and -z undefs.
8 * ld.texi: Document -z start-stop-gc and -z nostart-stop-gc.
9 * NEWS: Mention -z start-stop-gc.
10 * testsuite/ld-gc/start2.s,
11 * testsuite/ld-gc/start2.d: New test.
12 * testsuite/ld-gc/gc.exp: Run it.
14 2021-03-01 Alan Modra <amodra@gmail.com>
16 * ldlang.c (undef_start_stop): For ELF make undefined start/stop
17 symbols undefweak if that was how they were referenced. Undo
20 2021-03-01 Alan Modra <amodra@gmail.com>
22 * testsuite/ld-elf/pr25708.d: Add --with-symbol-versions to nm.
23 * testsuite/ld-elf/pr27128a.d: Likewise.
24 * testsuite/ld-elf/pr27128b.d: Likewise.
25 * testsuite/ld-elf/pr27128c.d: Likewise.
26 * testsuite/ld-elf/pr27128d.d: Likewise.
27 * testsuite/ld-elf/pr27128e.d: Likewise.
29 2021-02-26 Alan Modra <amodra@gmail.com>
32 * testsuite/ld-plugin/pr27441a.c,
33 * testsuite/ld-plugin/pr27441b.c,
34 * testsuite/ld-plugin/pr27441c.c,
35 * testsuite/ld-plugin/pr27441c.d: New test.
36 * testsuite/ld-plugin/lto.exp: Run it.
38 2021-02-25 Jan Beulich <jbeulich@suse.com>
40 * ld.texi (PROVIDE): Downgrade "error" to "diagnostic".
42 2021-02-21 Alan Modra <amodra@gmail.com>
44 * ldexp.c (exp_fold_tree_1): Warn on script defining a symbol
45 defined in an object file.
46 * ldmain.c (multiple_definition): Heed info->warn_multiple_definition.
47 * testsuite/ld-scripts/defined5.d: Expect a warning.
49 2021-02-19 Alan Modra <amodra@gmail.com>
51 * testsuite/lib/ld-lib.exp: Whitespace.
52 (load_common_lib): Expand single use and delete this proc.
53 (run_host_cmd): Use -fno-lto when getting gcc's ld version.
56 2021-02-18 Andrew Burgess <andrew.burgess@embecosm.com>
58 * testplugin.c (record_read_length): Remove debug fprintf.
60 2021-02-14 Alan Modra <amodra@gmail.com>
62 * testsuite/ld-cdtest/cdtest.exp,
63 * testsuite/ld-checks/checks.exp,
64 * testsuite/ld-elf/binutils.exp,
65 * testsuite/ld-elf/compress.exp,
66 * testsuite/ld-elf/dwarf.exp,
67 * testsuite/ld-elf/exclude.exp,
68 * testsuite/ld-elf/frame.exp,
69 * testsuite/ld-elf/indirect.exp,
70 * testsuite/ld-elf/linux-x86.exp,
71 * testsuite/ld-elf/sec-to-seg.exp,
72 * testsuite/ld-elf/tls_common.exp,
73 * testsuite/ld-elfcomm/elfcomm.exp,
74 * testsuite/ld-elfvers/vers.exp,
75 * testsuite/ld-elfvsb/elfvsb.exp,
76 * testsuite/ld-elfweak/elfweak.exp,
77 * testsuite/ld-ifunc/binutils.exp,
78 * testsuite/ld-mips-elf/mips-elf-flags.exp,
79 * testsuite/ld-misc/defsym.exp,
80 * testsuite/ld-mn10300/mn10300.exp,
81 * testsuite/ld-plugin/lto.exp,
82 * testsuite/ld-plugin/plugin.exp,
83 * testsuite/ld-scripts/align.exp,
84 * testsuite/ld-scripts/assert.exp,
85 * testsuite/ld-scripts/crossref.exp,
86 * testsuite/ld-scripts/defined.exp,
87 * testsuite/ld-scripts/extern.exp,
88 * testsuite/ld-scripts/log2.exp,
89 * testsuite/ld-scripts/map-address.exp,
90 * testsuite/ld-scripts/phdrs.exp,
91 * testsuite/ld-scripts/phdrs2.exp,
92 * testsuite/ld-scripts/script.exp,
93 * testsuite/ld-scripts/section-flags.exp,
94 * testsuite/ld-scripts/sizeof.exp,
95 * testsuite/ld-scripts/weak.exp,
96 * testsuite/ld-selective/selective.exp,
97 * testsuite/ld-sh/sh.exp,
98 * testsuite/ld-shared/shared.exp,
99 * testsuite/ld-srec/srec.exp,
100 * testsuite/ld-tic6x/tic6x.exp,
101 * testsuite/ld-undefined/undefined.exp,
102 * testsuite/ld-undefined/weak-undef.exp,
103 * testsuite/lib/ld-lib.exp: Don't use unresolved except after
104 perror. Instead report "unsupported" or "fail".
106 2021-02-12 Nick Clifton <nickc@redhat.com>
108 * testsuite/ld-elf/sec64k.exp: Stop readelf from automatically
109 following debug links.
111 2021-02-11 Alan Modra <amodra@gmail.com>
113 * NEWS: Mention arm-symbianelf removal.
115 2021-02-09 Alan Modra <amodra@gmail.com>
117 * Makefile.am (ALL_EMULATION_SOURCES): Remove earmsymbian.c.
118 Don't include symbian dep file.
119 * configure.tgt: Remove arm*-*-symbianelf* entry.
120 * emulparams/armsymbian.sh: Delete.
121 * ld.texi: Don't mention symbian.
122 * scripttempl/armbpabi.sc: Delete.
123 * testsuite/ld-arm/symbian-seg1.d: Delete.
124 * testsuite/ld-arm/symbian-seg1.s: Delete.
125 * testsuite/ld-arm/arm-elf.exp: Don't run symbian-seg1.
126 * Makefile.in: Regenerate.
127 * po/BLD-POTFILES.in: Regenerate.
129 2021-02-07 H.J. Lu <hongjiu.lu@intel.com>
132 * testsuite/ld-i386/i386.exp: Remove property 3/4/5 run-time
134 * testsuite/ld-x86-64/x86-64.exp: Likewise.
136 2021-01-26 Nick Alcock <nick.alcock@oracle.com>
138 * ldlang.c (lang_merge_ctf): Set CTF_LINK_NO_FILTER_REPORTED_SYMS
141 2021-02-04 H.J. Lu <hongjiu.lu@intel.com>
144 * testsuite/ld-x86-64/pr19609-2a.d: Updated.
145 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
146 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
147 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
148 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
149 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
150 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
152 2021-02-04 H.J. Lu <hongjiu.lu@intel.com>
155 * testsuite/ld-plugin/lto.exp: Run PR ld/15146 tests.
156 * testsuite/ld-plugin/pr15146.d: Restored.
157 * testsuite/ld-plugin/pr15146a.c: Likewise.
158 * testsuite/ld-plugin/pr15146b.c: Likewise.
159 * testsuite/ld-plugin/pr15146c.c: Likewise.
160 * testsuite/ld-plugin/pr15146d.c: Likewise.
162 2021-02-04 Alan Modra <amodra@gmail.com>
164 * testsuite/ld-plugin/pr27311d.c: New test.
165 * testsuite/ld-plugin/lto.exp: Rename pr27311 to pr27311-1, compile
166 and link new test as pr27311-2.
168 2021-02-03 Alan Modra <amodra@gmail.com>
170 * testsuite/ld-ifunc/ifunc.exp (libpr16467b.so, libpr16467bn.so):
171 Link with --as-needed.
173 2021-02-02 Alan Modra <amodra@gmail.com>
175 * testsuite/ld-plugin/pr27311.d,
176 * testsuite/ld-plugin/pr27311.ver,
177 * testsuite/ld-plugin/pr27311a.c,
178 * testsuite/ld-plugin/pr27311b.c,
179 * testsuite/ld-plugin/pr27311c.c: New testcase.
180 * testsuite/ld-plugin/lto.exp: Run it. Correct PR14918 and
183 2021-02-01 Emery Hemingway <ehmry@posteo.net>
185 * configure.tgt: Add *-*-genode* as a target for AArch64 and x86.
187 2021-02-01 Alan Modra <amodra@gmail.com>
189 * ldgram.y (defsym_expr): Use assignment rule.
190 * ldlex.h (ldlex_defsym): Delete.
191 * ldlex.l (DEFSYMEXP, ldlex_defsym): Delete.
193 2021-02-01 Alan Modra <amodra@gmail.com>
195 * ldgram.y (section): Call ldlex_backup. Remove empty action.
196 * ldlex.h (ldlex_backup): Declare.
197 * ldlex.l (<EXPRESSION>NAME): Don't use NOCFILENAMECHAR set of
198 chars, use SYMBOLNAMECHAR.
199 (ldlex_backup): New function.
201 2021-02-01 Alan Modra <amodra@gmail.com>
203 * ldgram.y: Whitespace fixes.
205 2021-02-01 Alan Modra <amodra@gmail.com>
207 * testsuite/ld-elf/pr27259.d: Correct sh_link match.
209 2021-01-29 Alan Modra <amodra@gmail.com>
211 * testsuite/ld-tic6x/tic6x.exp: Add pr27271 test.
213 2021-01-28 H.J. Lu <hongjiu.lu@intel.com>
216 * testsuite/ld-elf/pr27259.d: New file.
217 * testsuite/ld-elf/pr27259.s: Likewise.
219 2021-01-28 Alan Modra <amodra@gmail.com>
222 * ldelf.c (ldelf_before_place_orphans): Use linker_mark to
223 prevent endless looping of linked-to sections.
225 2021-01-26 H.J. Lu <hongjiu.lu@intel.com>
227 * testsuite/ld-x86-64/bnd-plt-1.d: Fix a typo.
229 2021-01-26 Alan Modra <amodra@gmail.com>
232 * emulparams/alphavms.sh: Don't set COMPILE_IN.
233 * emulparams/elf64_ia64_vms.sh: Likewise.
234 * emulparams/elf64mmix.sh: Likewise.
235 * emulparams/elf_iamcu.sh: Likewise.
236 * emulparams/elf_k1om.sh: Likewise.
237 * emulparams/elf_l1om.sh: Likewise.
238 * emulparams/mmo.sh: Likewise.
239 * emulparams/pdp11.sh: Set DATA_SEG_ADDR.
240 * scripttempl/pdp11.sc: Use it.
241 * emultempl/pdp11.em: Don't edit .xn script for separate_code,
242 instead use .xe script. Support scripts from file system.
243 * emultempl/beos.em: Support scripts from file system.
244 * emultempl/pe.em: Likewise.
245 * emultempl/pep.em: Likewise.
246 * testsuite/ld-bootstrap/bootstrap.exp: Make tmpdir/ldscripts link.
248 2021-01-25 Fangrui Song <maskray@google.com>
251 * scripttempl/DWARF.sc: Add .debug_* sections.
253 2021-01-25 Nick Clifton <nickc@redhat.com>
255 * scripttempl/DWARF.sc: Add .debug_loclists, .debug_rnglists,
256 .debug_line_str and .debug_str_offsets. Move .debug_macro and
257 .debug_addr into DWARF-5 section.
259 2021-01-21 Alan Modra <amodra@gmail.com>
261 * testsuite/ld-elf/pr26936.d: No longer xfail mips.
263 2021-01-20 Alan Modra <amodra@gmail.com>
265 * testsuite/ld-powerpc/relbrlt.s: Make symbols global.
266 * testsuite/ld-powerpc/relbrlt.d: Adjust to suit.
267 * testsuite/ld-powerpc/tlsget.d: Adjust for reordered stubs.
268 * testsuite/ld-powerpc/tlsget.wf: Likewise.
269 * testsuite/ld-powerpc/tlsget2.d: Likewise.
270 * testsuite/ld-powerpc/tlsget2.wf: Likewise.
271 * testsuite/ld-powerpc/tlsexe.r: Adjust for removed section syms.
272 * testsuite/ld-powerpc/tlsexe32.r: Likewise.
273 * testsuite/ld-powerpc/tlsexe32no.r: Likewise.
274 * testsuite/ld-powerpc/tlsexeno.r: Likewise.
275 * testsuite/ld-powerpc/tlsexenors.r: Likewise.
276 * testsuite/ld-powerpc/tlsexers.r: Likewise.
277 * testsuite/ld-powerpc/tlsexetoc.r: Likewise.
278 * testsuite/ld-powerpc/tlsexetocrs.r: Likewise.
279 * testsuite/ld-powerpc/tlsso.r: Likewise.
280 * testsuite/ld-powerpc/tlsso32.r: Likewise.
281 * testsuite/ld-powerpc/tlstocso.r: Likewise.
283 2021-01-19 Nick Alcock <nick.alcock@oracle.com>
285 * testsuite/ld-ctf/data-func-2.c: Stop removal of the extern foo_t
286 symbols by the optimizer.
287 * testsuite/ld-ctf/data-func-conflicted.d: Adjust accordingly.
289 2021-01-19 Nelson Chu <nelson.chu@sifive.com>
291 * testsuite/ld-elf/elf.exp (riscv_little_endian): Added. Return true
292 if target is riscv little endian. Otherwise, return false.
293 * testsuite/ld-elf/compressed1d.d: Only xfail the riscv little endian
294 targets by [riscv_little_endian].
296 2021-01-18 Alan Modra <amodra@gmail.com>
299 * ldlang.c (map_input_to_output_sections): Start with a read-only
300 section for data statements.
301 * testsuite/ld-elf/size-2.d: Adjust to suit.
303 2021-01-17 H.J. Lu <hongjiu.lu@intel.com>
306 * testsuite/ld-i386/i386.exp: Run PR ld/27193 test.
307 * testsuite/ld-i386/pr27193.dd: New file.
308 * testsuite/ld-i386/pr27193a.o.bz2: Likewise.
309 * testsuite/ld-i386/pr27193b.s: Likewise.
311 2021-01-16 H.J. Lu <hongjiu.lu@intel.com>
314 * testsuite/ld-plugin/lto.exp: Increase the max number of open
315 files to 20 for PR binutils/23460 test.
317 2021-01-16 H.J. Lu <hongjiu.lu@intel.com>
320 * testsuite/ld-ifunc/ifunc.exp: Replace pr23169c.rd with
321 pr23169a.rd for pr23169c and pr23169f. Remove pr23169e tests.
322 * testsuite/ld-ifunc/pr23169a.c (foo): Don't compare function
325 2021-01-15 H.J. Lu <hongjiu.lu@intel.com>
327 * NEWS: Mention -z report-relative-reloc.
328 * ld.texi: Document -z report-relative-reloc.
329 * emulparams/elf32_x86_64.sh: Source x86-report-relative.sh.
330 * emulparams/elf_i386.sh: Likewse.
331 * emulparams/elf_x86_64.sh: Likewse.
332 * emulparams/x86-report-relative.sh: New file.
333 * testsuite/ld-i386/report-reloc-1.d: Likewse.
334 * testsuite/ld-i386/report-reloc-1.l: Likewse.
335 * testsuite/ld-i386/report-reloc-1.s: Likewse.
336 * testsuite/ld-x86-64/report-reloc-1-x32.d: Likewse.
337 * testsuite/ld-x86-64/report-reloc-1.d: Likewse.
338 * testsuite/ld-x86-64/report-reloc-1.l: Likewse.
339 * testsuite/ld-x86-64/report-reloc-1.s: Likewse.
340 * testsuite/ld-i386/i386.exp: Run report-reloc-1.
341 * testsuite/ld-x86-64/x86-64.exp: Run report-reloc-1 and
344 2021-01-16 Alan Modra <amodra@gmail.com>
347 * testsuite/ld-elfvers/vers6.dsym: Expect "Base" for undefined
349 * testsuite/ld-elfvers/vers16.dsym: Likewise.
351 2021-01-15 Nelson Chu <nelson.chu@sifive.com>
353 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-01.d: Updated.
354 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-02.d: Likewise.
355 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-03.d: Likewise.
356 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-04.d: Likewise.
357 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-05.d: Likewise.
358 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-06.d: Likewise.
360 2021-01-14 Nick Clifton <nickc@redhat.com>
362 * po/fr.po: Updated French translation.
364 2021-01-14 Mike Frysinger <vapier@gentoo.org>
366 * testsuite/config/default.exp [bfin*-elf*] (gcc_B_opt): Add -msim.
368 2021-01-14 Alan Modra <amodra@gmail.com>
371 * ldelfgen.c (compare_link_order): Protect access of ELF section
373 (add_link_order_input_section): Remove redundant NULL check.
375 (ldelf_map_segments): Use bfd_get_flavour.
377 2021-01-13 H.J. Lu <hongjiu.lu@intel.com>
379 * ldelfgen.c (add_link_order_input_section): Check for ELF input
380 before accessing ELF section data.
382 2021-01-13 Alan Modra <amodra@gmail.com>
384 * Makefile.in: Regenerate.
386 2021-01-13 Alan Modra <amodra@gmail.com>
389 * ldlang.h (lang_output_section_statement_type): Add data field.
390 (lang_input_section_type, lang_section_bst_type): Add pattern field.
391 (statement_list): Declare.
392 (lang_add_section): Adjust prototype.
393 * emultempl/aarch64elf.em: Adjust lang_add_section calls.
394 * emultempl/armelf.em: Likewise.
395 * emultempl/beos.em: Likewise.
396 * emultempl/cskyelf.em: Likewise.
397 * emultempl/hppaelf.em: Likewise.
398 * emultempl/m68hc1xelf.em: Likewise.
399 * emultempl/metagelf.em: Likewise.
400 * emultempl/mipself.em: Likewise.
401 * emultempl/mmo.em: Likewise.
402 * emultempl/msp430.em: Likewise.
403 * emultempl/nios2elf.em: Likewise.
404 * emultempl/pe.em: Likewise.
405 * emultempl/pep.em: Likewise.
406 * emultempl/ppc64elf.em: Likewise.
407 * emultempl/spuelf.em: Likewise.
408 * emultempl/vms.em: Likewise.
410 * ldelfgen.c: Include ldctor.h.
411 (struct os_sections): New.
412 (add_link_order_input_section, link_order_scan): New functions.
413 (compare_link_order, fixup_link_order): New functions.
414 (ldelf_map_segments): Call link_order_scan and fixup_link_order.
415 * ldlang.c (statement_list): Make global.
416 (output_section_callback_fast): Save pattern in tree node.
417 (lang_add_section): Add pattern parameter, save in lang_input_section.
418 (output_section_callback_tree_to_list): Adjust lang_add_section calls.
419 (lang_insert_orphan, output_section_callback): Likewise.
420 (ldlang_place_orphan): Likewise.
421 (gc_section_callback): Don't set section->pattern.
422 * testsuite/ld-elf/pr26256-2a.d: Don't xfail generic.
423 * testsuite/ld-elf/pr26256-3b.d: Likewise.
424 * testsuite/ld-elf/pr26256-2b.d: Likewise. notarget xgate.
426 2021-01-13 Alan Modra <amodra@gmail.com>
428 * ldlang.h (callback_t): Remove flag_info function parameter.
429 * ldlang.c (walk_wild_consider_section): Adjust to suit.
430 (walk_wild_section_general): Likewise.
431 (output_section_callback_fast, output_section_callback): Likewise.
432 (check_section_callback, gc_section_callback): Likewise.
433 (find_relro_section_callback): Likewise.
435 2021-01-12 H.J. Lu <hongjiu.lu@intel.com>
438 * configure.ac: Use GNU_MAKE_JOBSERVER.
439 * aclocal.m4: Regenerated.
440 * configure: Likewise.
442 2021-01-12 H.J. Lu <hongjiu.lu@intel.com>
445 * testsuite/ld-x86-64/pe-x86-64-5.obj.bz2: New file.
446 * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise.
447 * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise.
448 * testsuite/ld-x86-64/pe-x86-64.exp: Run PR ld/27171 test.
450 2021-01-11 H.J. Lu <hongjiu.lu@intel.com>
453 * configure: Regenerated.
455 2021-01-11 Matt Jenkins <matt@majenko.co.uk>
458 * ldmain.c (get_emulation): Add mipsmips32r3, mips32r5, mips64r3
459 and mips64r5 to list of known mips targets.
461 2021-01-11 Nick Clifton <nickc@redhat.com>matt@majenko.co.uk
463 * po/pt_BR.po: Updated Brazilian Portuguese translation.
464 ` * po/uk.po: Updated Ukranian translation.
466 2021-01-09 H.J. Lu <hongjiu.lu@intel.com>
468 * configure: Regenerated.
470 2021-01-09 H.J. Lu <hongjiu.lu@intel.com>
473 * testsuite/ld-x86-64/lam-u48.rd: New file.
474 * testsuite/ld-x86-64/lam-u57.rd: Likewise.
475 * testsuite/ld-x86-64/x86-64.exp: Add PR ld/27166 tests.
477 2021-01-09 Nick Clifton <nickc@redhat.com>
479 * configure: Regenerate.
480 * po/ld.pot: Regenerate.
482 2021-01-09 Nick Clifton <nickc@redhat.com>
484 * 2.36 release branch crated.
486 2021-01-08 H.J. Lu <hongjiu.lu@intel.com>
488 * ld-x86-64/property-x86-lam-u48-4.d: Updated.
489 * ld-x86-64/property-x86-lam-u48-5.d: Likewise.
491 2021-01-09 Alan Modra <amodra@gmail.com>
493 * configure: Regenerate.
494 * Makefile.in: Regenerate.
496 2021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
498 * configure: Regenerate.
500 2021-01-07 H.J. Lu <hongjiu.lu@intel.com>
503 * testsuite/ld-elf/export-class.sd: Adjust the expected output.
504 * testsuite/ld-elf/loadaddr3b.d: Likewise.
505 * testsuite/ld-i386/ibt-plt-1.d: Likewise.
506 * testsuite/ld-i386/ibt-plt-2a.d: Likewise.
507 * testsuite/ld-i386/ibt-plt-2c.d: Likewise.
508 * testsuite/ld-i386/ibt-plt-3a.d: Likewise.
509 * testsuite/ld-i386/ibt-plt-3c.d: Likewise.
510 * testsuite/ld-i386/pr19636-1d.d: Likewise.
511 * testsuite/ld-i386/pr19636-1l.d: Likewise.
512 * testsuite/ld-i386/pr19636-2c.d: Likewise.
513 * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise.
514 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise.
515 * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Likewise.
516 * testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise.
517 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
518 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
519 * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise.
520 * testsuite/ld-ifunc/pr17154-i386.d: Likewise.
521 * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
522 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
523 * testsuite/ld-x86-64/bnd-branch-1-now.d: Likewise.
524 * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise.
525 * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise.
526 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
527 * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise.
528 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
529 * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise.
530 * testsuite/ld-x86-64/ibt-plt-1.d: Likewise.
531 * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise.
532 * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise.
533 * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise.
534 * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise.
535 * testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise.
536 * testsuite/ld-x86-64/ibt-plt-3a.d: Likewise.
537 * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise.
538 * testsuite/ld-x86-64/ibt-plt-3c.d: Likewise.
539 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
540 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
541 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
542 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
543 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
544 * testsuite/ld-x86-64/pr19636-2l.d: Likewise.
545 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
546 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
547 * testsuite/ld-x86-64/pr21038b-now.d: Likewise.
548 * testsuite/ld-x86-64/pr21038b.d: Likewise.
549 * testsuite/ld-x86-64/pr21038c-now.d: Likewise.
550 * testsuite/ld-x86-64/pr21038c.d: Likewise.
551 * testsuite/ld-x86-64/pr23854.d: Likewise.
552 * testsuite/ld-x86-64/pr25416-3.d: Likewise.
553 * testsuite/ld-x86-64/pr25416-4.d: Likewise.
554 * testsuite/ld-i386/plt-pic.pd: Likewise.
555 * testsuite/ld-i386/plt-pic2.dd: Likewise.
556 * testsuite/ld-i386/plt.pd: Likewise.
557 * testsuite/ld-i386/plt2.dd: Likewise.
558 * testsuite/ld-i386/tlsbin.rd: Likewise.
559 * testsuite/ld-i386/tlsbin2.rd: Likewise.
560 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
561 * testsuite/ld-i386/tlsdesc.rd: Likewise.
562 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
563 * testsuite/ld-i386/tlsnopic.rd: Likewise.
564 * testsuite/ld-i386/tlspic.rd: Likewise.
565 * testsuite/ld-i386/tlspic2.rd: Likewise.
566 * testsuite/ld-x86-64/mpx3.dd: Likewise.
567 * testsuite/ld-x86-64/mpx3n.dd: Likewise.
568 * testsuite/ld-x86-64/mpx4.dd: Likewise.
569 * testsuite/ld-x86-64/mpx4n.dd: Likewise.
570 * testsuite/ld-x86-64/pe-x86-64-1.od: Likewise.
571 * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise.
572 * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise.
573 * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise.
574 * testsuite/ld-x86-64/plt.pd: Likewise.
575 * testsuite/ld-x86-64/plt2.dd: Likewise.
576 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
577 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
578 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
579 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
580 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
581 * testsuite/ld-x86-64/tlspic.rd: Likewise.
582 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
583 * testsuite/ld-elf/sec64k.exp: Check
584 is_elf_unused_section_symbols.
586 2021-01-07 Alan Modra <amodra@gmail.com>
588 * testsuite/ld-scripts/fill.d: Skip sh-*-pe rather than xfail.
589 * testsuite/ld-scripts/fill16.d: Don't xfail sh-*-pe.
590 * testsuite/ld-scripts/segment-start.d: Likewise.
592 2021-01-07 Alan Modra <amodra@gmail.com>
594 * testsuite/ld-elf/comm-data5.d: xfail targets that complain
595 about dynamic relocations in read-only sections.
596 * testsuite/ld-elf/ehdr_start-shared.d: Likewise.
597 * testsuite/ld-elf/ehdr_start.d: Likewise.
598 * testsuite/ld-scripts/pr22267.d: Likewise.
599 * testsuite/ld-elf/shared.exp: Likewise for DT_TEXTREL tests and
601 * testsuite/ld-elf/sec64k.exp: Don't run 64ksec on lm32-linux.
603 2021-01-07 Marcus Comstedt <marcus@mc.pp.se>
605 * testsuite/ld-scripts/empty-address-2a.d: xfail riscv64*-*-*.
606 * testsuite/ld-scripts/empty-address-2b.d: Likewise.
608 2021-01-07 Alan Modra <amodra@gmail.com>
610 * po/BLD-POTFILES.in: Regenerate.
612 2021-01-07 Alan Modra <amodra@gmail.com>
614 * testsuite/ld-elf/shared.exp: xfail pr22471 for targets that
615 complain about relocs in read-only sections. Tidy ASFLAGS append.
617 2021-01-06 Alan Modra <amodra@gmail.com>
619 * testsuite/ld-sparc/sparc.exp (sparc64tests): Set text-segment
621 * testsuite/ld-sparc/gotop32.dd: Match solaris output.
622 * testsuite/ld-sparc/gotop32.sd: Likewise.
623 * testsuite/ld-sparc/gotop32.td: Likewise.
624 * testsuite/ld-sparc/gotop64.dd: Likewise.
625 * testsuite/ld-sparc/gotop64.sd: Likewise.
626 * testsuite/ld-sparc/gotop64.td: Likewise.
627 * testsuite/ld-sparc/tlsg32.sd: Likewise.
628 * testsuite/ld-sparc/tlsg64.sd: Likewise.
629 * testsuite/ld-sparc/tlspie32.dd: Likewise.
630 * testsuite/ld-sparc/tlspie64.dd: Likewise.
631 * testsuite/ld-sparc/tlssunbin32.dd: Likewise.
632 * testsuite/ld-sparc/tlssunbin32.sd: Likewise.
633 * testsuite/ld-sparc/tlssunbin32.td: Likewise.
634 * testsuite/ld-sparc/tlssunbin64.dd: Likewise.
635 * testsuite/ld-sparc/tlssunbin64.sd: Likewise.
636 * testsuite/ld-sparc/tlssunbin64.td: Likewise.
637 * testsuite/ld-sparc/tlssunnopic32.dd: Likewise.
638 * testsuite/ld-sparc/tlssunnopic32.sd: Likewise.
639 * testsuite/ld-sparc/tlssunnopic64.dd: Likewise.
640 * testsuite/ld-sparc/tlssunnopic64.sd: Likewise.
641 * testsuite/ld-sparc/tlssunpic32.dd: Likewise.
642 * testsuite/ld-sparc/tlssunpic32.sd: Likewise.
643 * testsuite/ld-sparc/tlssunpic32.td: Likewise.
644 * testsuite/ld-sparc/tlssunpic64.dd: Likewise.
645 * testsuite/ld-sparc/tlssunpic64.sd: Likewise.
646 * testsuite/ld-sparc/tlssunpic64.td: Likewise.
647 * testsuite/ld-sparc/wdispcall.dd: Likewise.
649 2021-01-06 Alan Modra <amodra@gmail.com>
651 * testsuite/ld-scripts/rgn-at10.d: xfail v850.
652 * testsuite/ld-scripts/rgn-at11.d: Likewise.
654 2021-01-06 Marcus Comstedt <marcus@mc.pp.se>
656 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Added
657 riscv_choose_[ilp32|lp64]_emul to choose the correct linker script.
658 * testsuite/ld-riscv-elf/attr-merge-arch-01.d: Call
659 riscv_choose_[ilp32|lp64]_emul instead of hardcoding elf[32|64]lriscv.
660 * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
661 * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
662 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Likewise.
663 * testsuite/ld-riscv-elf/attr-merge-arch-failed-02.d: Likewise.
664 * testsuite/ld-riscv-elf/c-lui-2.d: Likewise.
665 * testsuite/ld-riscv-elf/c-lui.d: Likewise.
666 * testsuite/ld-riscv-elf/call-relax.d: Likewise.
667 * testsuite/ld-riscv-elf/pcrel-lo-addend-2.d: Likewise.
668 * testsuite/ld-riscv-elf/pcrel-lo-addend.d: Likewise.
669 * testsuite/ld-riscv-elf/weakref32.d: Accept bigriscv in addition
671 * testsuite/ld-riscv-elf/weakref64.d: Likewise.
673 2021-01-06 Marcus Comstedt <marcus@mc.pp.se>
675 * configure.tgt: Added riscvbe-*-*, riscv32be*-*-*, riscv64be*-*-*,
676 riscv32be*-*-linux*, and riscv64be*-*-linux*.
677 * Makefile.am: Added eelf32briscv.c, eelf32briscv_ilp32f.c and
678 eelf32briscv_ilp32.c.
679 * Makefile.in: Regenerate.
680 * emulparams/elf32briscv.sh: Added.
681 * emulparams/elf32briscv_ilp32.sh: Likewise.
682 * emulparams/elf32briscv_ilp32f.sh: Likewise.
683 * emulparams/elf64briscv.sh: Likewise.
684 * emulparams/elf64briscv_lp64.sh: Likewise.
685 * emulparams/elf64briscv_lp64f.sh: Likewise.
687 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
689 * testsuite/ld-ctf/enum-forward.c: New test.
690 * testsuite/ld-ctf/enum-forward.c: New results.
692 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
694 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
695 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
696 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
697 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
698 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
699 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
700 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
701 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
702 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
703 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
704 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
705 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
706 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
707 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
708 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
709 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
710 * testsuite/ld-ctf/cycle-1.d: Likewise.
711 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
712 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
713 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
714 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
715 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
716 * testsuite/ld-ctf/diag-cuname.d: Likewise.
717 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
718 * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise.
719 * testsuite/ld-ctf/forward.d: Likewise.
720 * testsuite/ld-ctf/function.d: Likewise.
721 * testsuite/ld-ctf/slice.d: Likewise.
722 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
723 * testsuite/ld-ctf/enums.c: New test.
724 * testsuite/ld-ctf/enums.d: New test.
726 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
728 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Adjust for dumper
730 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
731 * testsuite/ld-ctf/forward.c: New test...
732 * testsuite/ld-ctf/forward.d: ... and results.
734 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
736 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
737 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
738 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
739 * testsuite/ld-ctf/diag-cuname.d: Likewise.
740 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
741 * testsuite/ld-ctf/function.d: Likewise.
742 * testsuite/ld-ctf/slice.d: Likewise.
744 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
746 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
747 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
748 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
749 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
750 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
751 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
752 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
753 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
754 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
755 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
756 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
757 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
758 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
759 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
760 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
761 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
762 * testsuite/ld-ctf/cycle-1.d: Likewise.
763 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
764 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
765 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
766 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
767 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
768 * testsuite/ld-ctf/diag-cuname.d: Likewise.
769 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
770 * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise.
771 * testsuite/ld-ctf/function.d: Likewise.
772 * testsuite/ld-ctf/slice.d: Likewise.
773 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
775 2021-01-05 Alan Modra <amodra@gmail.com>
777 * testsuite/ld-scripts/sysroot-prefix.exp: Exclude some targets.
779 2021-01-05 Alan Modra <amodra@gmail.com>
782 * testsuite/ld-elf/pr26256-1b.d: xfail s12z.
783 * testsuite/ld-scripts/crossref.exp (cross1): Don't xfail ia64.
785 2021-01-04 H.J. Lu <hongjiu.lu@intel.com>
788 * ldlang.c (gc_section_callback): Set pattern.
789 * testsuite/ld-elf/pr26256-1.s: New file.
790 * testsuite/ld-elf/pr26256-1.t: Likewise.
791 * testsuite/ld-elf/pr26256-1a.d: Likewise.
792 * testsuite/ld-elf/pr26256-1b.d: Likewise.
793 * testsuite/ld-elf/pr26256-2.s: Likewise.
794 * testsuite/ld-elf/pr26256-2.t: Likewise.
795 * testsuite/ld-elf/pr26256-2a.d: Likewise.
796 * testsuite/ld-elf/pr26256-2b-alt.d: Likewise.
797 * testsuite/ld-elf/pr26256-2b.d: Likewise.
798 * testsuite/ld-elf/pr26256-3.s: Likewise.
799 * testsuite/ld-elf/pr26256-3a.d: Likewise.
800 * testsuite/ld-elf/pr26256-3a.t: Likewise.
801 * testsuite/ld-elf/pr26256-3b.d: Likewise.
802 * testsuite/ld-elf/pr26256-3b.t: Likewise.
804 2021-01-04 Alan Modra <amodra@gmail.com>
807 * testsuite/ld-arm/non-contiguous-arm2.d: Adjust STT_FILE symbol match.
808 * testsuite/ld-arm/non-contiguous-arm3.d: Likewise.
809 * testsuite/ld-arm/non-contiguous-arm5.d: Likewise.
810 * testsuite/ld-arm/non-contiguous-arm6.d: Likewise.
811 * testsuite/ld-i386/tlsbin.rd: Likewise.
812 * testsuite/ld-i386/tlsbin2.rd: Likewise.
813 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
814 * testsuite/ld-i386/tlsdesc.rd: Likewise.
815 * testsuite/ld-i386/tlsnopic.rd: Likewise.
816 * testsuite/ld-i386/tlspic.rd: Likewise.
817 * testsuite/ld-i386/tlspic2.rd: Likewise.
818 * testsuite/ld-mips-elf/global-local-symtab-sort-n64.d: Likewise.
819 * testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d: Likewise.
820 * testsuite/ld-mips-elf/global-local-symtab-sort-o32.d: Likewise.
821 * testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d: Likewise.
822 * testsuite/ld-plugin/pr17973.d: Likewise.
823 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
824 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
825 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
826 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
827 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
828 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
829 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
830 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
831 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
832 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
833 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
834 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
835 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
836 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
837 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
838 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
839 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
840 * testsuite/ld-x86-64/tlspic.rd: Likewise.
841 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
842 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
843 * testsuite/ld-xtensa/tlspic.rd: Likewise.
845 2021-01-01 Nicolas Boulenguez <nicolas@debian.org>
847 * configure.tgt: Correct comment grammar.
848 * emultempl/m68hc1xelf.em: Likewise.
849 * ld.texi: Correct grammar.
851 2021-01-01 Alan Modra <amodra@gmail.com>
853 Update year range in copyright notice of all files.
855 For older changes see ChangeLog-2020
857 Copyright (C) 2021 Free Software Foundation, Inc.
859 Copying and distribution of this file, with or without modification,
860 are permitted in any medium without royalty provided the copyright
861 notice and this notice are preserved.
867 version-control: never