1 2021-03-31 Alan Modra <amodra@gmail.com>
3 * elf-hints-local.h: Include stdint.h in place of bfd_stdint.h.
4 * emultempl/nds32elf.em: Likewise.
5 * testsuite/ld-elf/mbind2b.c: Likewise.
6 * testsuite/ld-elf/pr18718.c: Likewise.
7 * testsuite/ld-elf/pr18720a.c: Likewise.
8 * testsuite/ld-elf/pr25749-1.c: Likewise.
9 * testsuite/ld-elf/pr25749-1a.c: Likewise.
10 * testsuite/ld-elf/pr25749-1b.c: Likewise.
11 * testsuite/ld-elf/pr25749-1c.c: Likewise.
12 * testsuite/ld-elf/pr25749-1d.c: Likewise.
13 * testsuite/ld-elf/pr25749-2.c: Likewise.
14 * testsuite/ld-elf/pr25754-1a.c: Likewise.
15 * testsuite/ld-elf/pr25754-2a.c: Likewise.
16 * testsuite/ld-elf/pr25754-3a.c: Likewise.
17 * testsuite/ld-elf/pr25754-4a.c: Likewise.
18 * testsuite/ld-elf/pr25754-5a.c: Likewise.
19 * testsuite/ld-elf/pr25754-6a.c: Likewise.
21 2021-03-29 Alan Modra <amodra@gmail.com>
23 * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Simplify
25 * lexsup.c (parse_args): Likewise.
26 * pe-dll.c (pe_dll_id_target): Likewise.
28 2021-03-25 Nick Alcock <nick.alcock@oracle.com>
30 * testsuite/ld-ctf/array.d: Only check that the data object
31 section is nonempty: do not check its exact size.
32 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
33 * testsuite/ld-ctf/slice.d: Likewise.
34 * testsuite/ld-ctf/data-func-conflicted.d: Likewise, and for the
35 func info section too.
36 * testsuite/ld-ctf/function.d: Likewise, for the func info section.
38 2021-03-22 Martin Liska <mliska@suse.cz>
40 * emultempl/aix.em: Replace usage of CONST_STRNEQ with startswith.
41 * emultempl/beos.em: Likewise.
42 * emultempl/elf.em: Likewise.
43 * emultempl/pe.em: Likewise.
44 * emultempl/pep.em: Likewise.
45 * emultempl/xtensaelf.em: Likewise.
46 * ldctor.c (ctor_prio): Likewise.
47 * ldelf.c (ldelf_try_needed): Likewise.
48 (ldelf_parse_ld_so_conf): Likewise.
49 (ldelf_after_open): Likewise.
50 (output_rel_find): Likewise.
51 (ldelf_place_orphan): Likewise.
52 * ldfile.c (ldfile_add_library_path): Likewise.
53 * ldlang.c (lang_add_input_file): Likewise.
54 * ldmain.c (get_sysroot): Likewise.
55 (get_emulation): Likewise.
56 (add_archive_element): Likewise.
57 * ldwrite.c (unsplittable_name): Likewise.
58 (clone_section): Likewise.
59 * lexsup.c (parse_args): Likewise.
60 * pe-dll.c (is_import): Likewise.
61 (pe_implied_import_dll): Likewise.
63 2021-03-19 H.J. Lu <hongjiu.lu@intel.com>
66 * testsuite/ld-x86-64/pr27590.rd: New file.
67 * testsuite/ld-x86-64/pr27590a.obj.bz2: Likewise.
68 * testsuite/ld-x86-64/pr27590b.obj.bz2: Likewise.
69 * testsuite/ld-x86-64/x86-64.exp: Run ld/27590 test.
71 2021-03-20 Alan Modra <amodra@gmail.com>
74 * ldlang.c (lang_gc_sections): Clear SEC_EXCLUDE when relocatable
75 for all sections except .stabstr.
77 2021-03-19 Alan Modra <amodra@gmail.com>
80 * testsuite/ld-elf/pr27590a.d: Match relocs using label, and
82 * testsuite/ld-elf/pr27590b.d: Likewise.
84 2021-03-18 H.J. Lu <hongjiu.lu@intel.com>
87 * testsuite/ld-elf/pr27590.s: New file.
88 * testsuite/ld-elf/pr27590a.d: Likewise.
89 * testsuite/ld-elf/pr27590b.d: Likewise.
90 * testsuite/ld-i386/i386.exp: Also run ld/27193 test with
91 --reduce-memory-overheads.
93 2021-03-18 H.J. Lu <hongjiu.lu@intel.com>
96 * testsuite/ld-x86-64/pr27587.err: New file.
97 * testsuite/ld-x86-64/pr27587a.obj.bz2: Likewise.
98 * testsuite/ld-x86-64/pr27587b.obj.bz2: Likewise.
99 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/27587 test.
101 2021-03-18 Nick Alcock <nick.alcock@oracle.com>
103 * testsuite/ld-ctf/slice.c: Check slices of enums too.
104 * testsuite/ld-ctf/slice.d: Results adjusted.
106 2021-03-16 Nick Clifton <nickc@redhat.com>
108 * pe-dll.c (pe_find_cdecl_alias_match): Use memmove to overwrite
111 2021-03-15 Jan Beulich <jbeulich@suse.com>
113 * pe-dll.c (generate_reloc): Drop padding to reloc_s->size.
115 2021-03-12 Alan Modra <amodra@gmail.com>
117 * Makefile.am (ALL_EMULATION_SOURCES): Move riscv files to..
118 (ALL_64_EMULATION_SOURCES): ..here.
119 * Makefile.in: Regenerate.
121 2021-03-12 Clément Chigot <clement.chigot@atos.net>
123 * emultempl/aix.em: Ensure .tdata section is removed
124 if empty, even with -r flag.
125 * scripttempl/aix.sc: Handle TLS sections.
126 * testsuite/ld-powerpc/aix52.exp: Add new tests.
127 * testsuite/ld-powerpc/aix-tls-reloc-32.d: New test.
128 * testsuite/ld-powerpc/aix-tls-reloc-64.d: New test.
129 * testsuite/ld-powerpc/aix-tls-reloc.ex: New test.
130 * testsuite/ld-powerpc/aix-tls-reloc.s: New test.
131 * testsuite/ld-powerpc/aix-tls-section-32.d: New test.
132 * testsuite/ld-powerpc/aix-tls-section-64.d: New test.
133 * testsuite/ld-powerpc/aix-tls-section.ex: New test.
134 * testsuite/ld-powerpc/aix-tls-section.s: New test.
136 2021-03-12 Clément Chigot <clement.chigot@atos.net>
138 * scripttempl/aix.sc: Add .te to .data section.
139 * testsuite/ld-powerpc/aix52.exp: Add test structure for AIX7+.
140 Add aix-largetoc-1 test.
141 * testsuite/ld-powerpc/aix-largetoc-1-32.d: New test.
142 * testsuite/ld-powerpc/aix-largetoc-1-64.d: New test.
143 * testsuite/ld-powerpc/aix-largetoc-1.ex: New test.
144 * testsuite/ld-powerpc/aix-largetoc-1.s: New test.
146 2021-03-12 Alan Modra <amodra@gmail.com>
148 * testsuite/ld-gc/gc.exp: Pass "-image-base 0" to ld for PE, and
149 arrange to define __main for some run_dump_test tests.
150 * testsuite/ld-gc/pr13683.d: Accept more symbols.
151 * testsuite/ld-gc/pr14265.d: Likewise, and ordering.
152 * testsuite/ld-scripts/crossref.exp: Pass "-image-base 0" to ld for PE.
153 * testsuite/ld-srec/srec.exp: Likewise.
154 * testsuite/lib/ld-lib.exp (ld_link_defsyms): Use is_pecoff_format.
156 2021-03-11 Nelson Chu <nelson.chu@sifive.com>
158 * emultempl/riscvelf.em (after_allocation): Run ldelf_map_segments
159 many times if riscv_restart_relax_sections returns TRUE.
160 * testsuite/ld-riscv-elf/restart-relax.d: New testcase. Before
161 applying this patch, the call won't be relaxed to jal; But now we
162 have more chances to do relaxations.
163 * testsuite/ld-riscv-elf/restart-relax.s: Likewise.
164 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
166 2021-03-10 Jan Beulich <jbeulich@suse.com>
168 * testsuite/ld-scripts/pr22267.t: Avoid symbol value with more
170 * testsuite/ld-scripts/pr22267.d: Adjust expectation and drop
172 * scripttempl/mcorepe.sc: Use PROVIDE() for _stack.
174 2021-03-09 Jan Beulich <jbeulich@suse.com>
176 * testsuite/ld-pe/reloc.s: Add entry point symbols. Increase
178 * testsuite/ld-pe/reloc.d: xfail for mcore.
180 2021-03-09 Jan Beulich <jbeulich@suse.com>
182 * testsuite/ld-scripts/alignof.exp,
183 testsuite/ld-scripts/data.exp,
184 testsuite/ld-scripts/default-script.exp,
185 testsuite/ld-scripts/log2.exp,
186 testsuite/ld-scripts/print-memory-usage.exp,
187 testsuite/ld-scripts/sizeof.exp,
188 testsuite/ld-undefined/weak-undef.exp: Set image base to zero
190 * testsuite/ld-scripts/default-script1.d,
191 testsuite/ld-scripts/default-script2.d,
192 testsuite/ld-scripts/default-script3.d,
193 testsuite/ld-scripts/default-script4.d: Drop xfail and comment.
195 2021-03-05 H.J. Lu <hongjiu.lu@intel.com>
199 * ldelf.c (ldelf_set_output_arch): New function.
200 * ldelf.h (ldelf_set_output_arch): New prototype.
201 * emultempl/elf.em (LDEMUL_SET_OUTPUT_ARCH): Default to
202 ldelf_set_output_arch.
203 * ld-x86-64/pe-x86-64-1.od: Expect __executable_start.
204 * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise.
205 * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise.
206 * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise.
207 * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise.
208 * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise.
209 * testsuite/ld-x86-64/pe-x86-64-6.obj.bz2: New file.
210 * testsuite/ld-x86-64/pe-x86-64-6.od: Likewise.
211 * testsuite/ld-x86-64/pe-x86-64.exp: Run ld/27425 test.
213 2021-03-04 Jan Beulich <jbeulich@suse.com>
215 * testsuite/ld-scripts/map-address.exp: Set image base to zero
217 * testsuite/ld-scripts/map-address.t: Place .text.
219 2021-03-04 Jan Beulich <jbeulich@suse.com>
221 * ldexp.c (ldexp_is_final_sym_absolute): New.
222 * ldexp.h (ldexp_is_final_sym_absolute): Declare.
223 * pe-dll.c (generate_reloc): Skip absolute symbols.
224 * testsuite/ld-pe/reloc.s, testsuite/ld-pe/reloc.d: New.
225 * testsuite/ld-pe/pe.exp: Run new test.
227 2021-03-03 Alan Modra <amodra@gmail.com>
230 * ldlang.c (insert_undefined): Don't mark symbols here.
231 (lang_mark_undefineds): Do so here instead, new function.
232 (lang_process): Call lang_mark_undefineds.
233 * testsuite/ld-gc/start3.d,
234 * testsuite/ld-gc/start3.s: New test.
235 * testsuite/ld-gc/start4.d,
236 * testsuite/ld-gc/start4.s: New test.
237 * testsuite/ld-gc/gc.exp: Run them.
239 2021-03-03 Alan Modra <amodra@gmail.com>
241 * testsuite/ld-gc/gc.exp: Define UNDERSCORE in ASFLAGS.
242 Move tests with ELF section directives to is_elf_format block.
243 * testsuite/ld-gc/abi-note.d: Run on more targets.
244 * testsuite/ld-gc/pr19167.d: Likewise and adjust xfails.
245 * testsuite/ld-gc/start.d: Likewise.
246 * testsuite/ld-gc/start2.d: Likewise.
247 * testsuite/ld-gc/stop.d: Likewise.
248 * testsuite/ld-gc/pr19167a.s: Add support for underscore targets.
249 * testsuite/ld-gc/start.s: Likewise.
250 * testsuite/ld-gc/start2.s: Likewise.
252 2021-03-02 Nick Alcock <nick.alcock@oracle.com>
254 * ldelfgen.c (ldelf_ctf_strtab_iter_cb): Skip zero-refcount strings.
256 2021-03-02 Alan Modra <amodra@gmail.com>
258 * testsuite/ld-powerpc/startstop.d,
259 * testsuite/ld-powerpc/startstop.r,
260 * testsuite/ld-powerpc/startstop.s: New test.
261 * testsuite/ld-powerpc/powerpc.exp: Run it.
263 2021-03-02 Alan Modra <amodra@gmail.com>
265 * testsuite/ld-powerpc/weak1.d,
266 * testsuite/ld-powerpc/weak1.r,
267 * testsuite/ld-powerpc/weak1.s,
268 * testsuite/ld-powerpc/weak1so.d,
269 * testsuite/ld-powerpc/weak1so.r: New tests.
270 * testsuite/ld-powerpc/powerpc.exp: Run them.
272 2021-03-01 Hannes Domani <ssbssa@sourceware.org>
273 Nick Clifton <nickc@redhat.com>
276 * scripttempl/pe.sc: Add DWARF-5 section names.
277 * scripttempl/pep.sc: Likewise.
279 2021-03-01 Alan Modra <amodra@gmail.com>
280 Fangrui Song <maskray@google.com>
282 * emultempl/elf.em: Handle -z start-stop-gc and -z nostart-stop-gc.
283 * lexsup.c (elf_static_list_options): Display help for them. Move
284 help for -z stack-size to here from elf_shlib_list_options. Add
285 help for -z start-stop-visibility and -z undefs.
286 * ld.texi: Document -z start-stop-gc and -z nostart-stop-gc.
287 * NEWS: Mention -z start-stop-gc.
288 * testsuite/ld-gc/start2.s,
289 * testsuite/ld-gc/start2.d: New test.
290 * testsuite/ld-gc/gc.exp: Run it.
292 2021-03-01 Alan Modra <amodra@gmail.com>
294 * ldlang.c (undef_start_stop): For ELF make undefined start/stop
295 symbols undefweak if that was how they were referenced. Undo
298 2021-03-01 Alan Modra <amodra@gmail.com>
300 * testsuite/ld-elf/pr25708.d: Add --with-symbol-versions to nm.
301 * testsuite/ld-elf/pr27128a.d: Likewise.
302 * testsuite/ld-elf/pr27128b.d: Likewise.
303 * testsuite/ld-elf/pr27128c.d: Likewise.
304 * testsuite/ld-elf/pr27128d.d: Likewise.
305 * testsuite/ld-elf/pr27128e.d: Likewise.
307 2021-02-26 Alan Modra <amodra@gmail.com>
310 * testsuite/ld-plugin/pr27441a.c,
311 * testsuite/ld-plugin/pr27441b.c,
312 * testsuite/ld-plugin/pr27441c.c,
313 * testsuite/ld-plugin/pr27441c.d: New test.
314 * testsuite/ld-plugin/lto.exp: Run it.
316 2021-02-25 Jan Beulich <jbeulich@suse.com>
318 * ld.texi (PROVIDE): Downgrade "error" to "diagnostic".
320 2021-02-21 Alan Modra <amodra@gmail.com>
322 * ldexp.c (exp_fold_tree_1): Warn on script defining a symbol
323 defined in an object file.
324 * ldmain.c (multiple_definition): Heed info->warn_multiple_definition.
325 * testsuite/ld-scripts/defined5.d: Expect a warning.
327 2021-02-19 Alan Modra <amodra@gmail.com>
329 * testsuite/lib/ld-lib.exp: Whitespace.
330 (load_common_lib): Expand single use and delete this proc.
331 (run_host_cmd): Use -fno-lto when getting gcc's ld version.
332 Use -B for clang too.
334 2021-02-18 Andrew Burgess <andrew.burgess@embecosm.com>
336 * testplugin.c (record_read_length): Remove debug fprintf.
338 2021-02-14 Alan Modra <amodra@gmail.com>
340 * testsuite/ld-cdtest/cdtest.exp,
341 * testsuite/ld-checks/checks.exp,
342 * testsuite/ld-elf/binutils.exp,
343 * testsuite/ld-elf/compress.exp,
344 * testsuite/ld-elf/dwarf.exp,
345 * testsuite/ld-elf/exclude.exp,
346 * testsuite/ld-elf/frame.exp,
347 * testsuite/ld-elf/indirect.exp,
348 * testsuite/ld-elf/linux-x86.exp,
349 * testsuite/ld-elf/sec-to-seg.exp,
350 * testsuite/ld-elf/tls_common.exp,
351 * testsuite/ld-elfcomm/elfcomm.exp,
352 * testsuite/ld-elfvers/vers.exp,
353 * testsuite/ld-elfvsb/elfvsb.exp,
354 * testsuite/ld-elfweak/elfweak.exp,
355 * testsuite/ld-ifunc/binutils.exp,
356 * testsuite/ld-mips-elf/mips-elf-flags.exp,
357 * testsuite/ld-misc/defsym.exp,
358 * testsuite/ld-mn10300/mn10300.exp,
359 * testsuite/ld-plugin/lto.exp,
360 * testsuite/ld-plugin/plugin.exp,
361 * testsuite/ld-scripts/align.exp,
362 * testsuite/ld-scripts/assert.exp,
363 * testsuite/ld-scripts/crossref.exp,
364 * testsuite/ld-scripts/defined.exp,
365 * testsuite/ld-scripts/extern.exp,
366 * testsuite/ld-scripts/log2.exp,
367 * testsuite/ld-scripts/map-address.exp,
368 * testsuite/ld-scripts/phdrs.exp,
369 * testsuite/ld-scripts/phdrs2.exp,
370 * testsuite/ld-scripts/script.exp,
371 * testsuite/ld-scripts/section-flags.exp,
372 * testsuite/ld-scripts/sizeof.exp,
373 * testsuite/ld-scripts/weak.exp,
374 * testsuite/ld-selective/selective.exp,
375 * testsuite/ld-sh/sh.exp,
376 * testsuite/ld-shared/shared.exp,
377 * testsuite/ld-srec/srec.exp,
378 * testsuite/ld-tic6x/tic6x.exp,
379 * testsuite/ld-undefined/undefined.exp,
380 * testsuite/ld-undefined/weak-undef.exp,
381 * testsuite/lib/ld-lib.exp: Don't use unresolved except after
382 perror. Instead report "unsupported" or "fail".
384 2021-02-12 Nick Clifton <nickc@redhat.com>
386 * testsuite/ld-elf/sec64k.exp: Stop readelf from automatically
387 following debug links.
389 2021-02-11 Alan Modra <amodra@gmail.com>
391 * NEWS: Mention arm-symbianelf removal.
393 2021-02-09 Alan Modra <amodra@gmail.com>
395 * Makefile.am (ALL_EMULATION_SOURCES): Remove earmsymbian.c.
396 Don't include symbian dep file.
397 * configure.tgt: Remove arm*-*-symbianelf* entry.
398 * emulparams/armsymbian.sh: Delete.
399 * ld.texi: Don't mention symbian.
400 * scripttempl/armbpabi.sc: Delete.
401 * testsuite/ld-arm/symbian-seg1.d: Delete.
402 * testsuite/ld-arm/symbian-seg1.s: Delete.
403 * testsuite/ld-arm/arm-elf.exp: Don't run symbian-seg1.
404 * Makefile.in: Regenerate.
405 * po/BLD-POTFILES.in: Regenerate.
407 2021-02-07 H.J. Lu <hongjiu.lu@intel.com>
410 * testsuite/ld-i386/i386.exp: Remove property 3/4/5 run-time
412 * testsuite/ld-x86-64/x86-64.exp: Likewise.
414 2021-01-26 Nick Alcock <nick.alcock@oracle.com>
416 * ldlang.c (lang_merge_ctf): Set CTF_LINK_NO_FILTER_REPORTED_SYMS
419 2021-02-04 H.J. Lu <hongjiu.lu@intel.com>
422 * testsuite/ld-x86-64/pr19609-2a.d: Updated.
423 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
424 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
425 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
426 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
427 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
428 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
430 2021-02-04 H.J. Lu <hongjiu.lu@intel.com>
433 * testsuite/ld-plugin/lto.exp: Run PR ld/15146 tests.
434 * testsuite/ld-plugin/pr15146.d: Restored.
435 * testsuite/ld-plugin/pr15146a.c: Likewise.
436 * testsuite/ld-plugin/pr15146b.c: Likewise.
437 * testsuite/ld-plugin/pr15146c.c: Likewise.
438 * testsuite/ld-plugin/pr15146d.c: Likewise.
440 2021-02-04 Alan Modra <amodra@gmail.com>
442 * testsuite/ld-plugin/pr27311d.c: New test.
443 * testsuite/ld-plugin/lto.exp: Rename pr27311 to pr27311-1, compile
444 and link new test as pr27311-2.
446 2021-02-03 Alan Modra <amodra@gmail.com>
448 * testsuite/ld-ifunc/ifunc.exp (libpr16467b.so, libpr16467bn.so):
449 Link with --as-needed.
451 2021-02-02 Alan Modra <amodra@gmail.com>
453 * testsuite/ld-plugin/pr27311.d,
454 * testsuite/ld-plugin/pr27311.ver,
455 * testsuite/ld-plugin/pr27311a.c,
456 * testsuite/ld-plugin/pr27311b.c,
457 * testsuite/ld-plugin/pr27311c.c: New testcase.
458 * testsuite/ld-plugin/lto.exp: Run it. Correct PR14918 and
461 2021-02-01 Emery Hemingway <ehmry@posteo.net>
463 * configure.tgt: Add *-*-genode* as a target for AArch64 and x86.
465 2021-02-01 Alan Modra <amodra@gmail.com>
467 * ldgram.y (defsym_expr): Use assignment rule.
468 * ldlex.h (ldlex_defsym): Delete.
469 * ldlex.l (DEFSYMEXP, ldlex_defsym): Delete.
471 2021-02-01 Alan Modra <amodra@gmail.com>
473 * ldgram.y (section): Call ldlex_backup. Remove empty action.
474 * ldlex.h (ldlex_backup): Declare.
475 * ldlex.l (<EXPRESSION>NAME): Don't use NOCFILENAMECHAR set of
476 chars, use SYMBOLNAMECHAR.
477 (ldlex_backup): New function.
479 2021-02-01 Alan Modra <amodra@gmail.com>
481 * ldgram.y: Whitespace fixes.
483 2021-02-01 Alan Modra <amodra@gmail.com>
485 * testsuite/ld-elf/pr27259.d: Correct sh_link match.
487 2021-01-29 Alan Modra <amodra@gmail.com>
489 * testsuite/ld-tic6x/tic6x.exp: Add pr27271 test.
491 2021-01-28 H.J. Lu <hongjiu.lu@intel.com>
494 * testsuite/ld-elf/pr27259.d: New file.
495 * testsuite/ld-elf/pr27259.s: Likewise.
497 2021-01-28 Alan Modra <amodra@gmail.com>
500 * ldelf.c (ldelf_before_place_orphans): Use linker_mark to
501 prevent endless looping of linked-to sections.
503 2021-01-26 H.J. Lu <hongjiu.lu@intel.com>
505 * testsuite/ld-x86-64/bnd-plt-1.d: Fix a typo.
507 2021-01-26 Alan Modra <amodra@gmail.com>
510 * emulparams/alphavms.sh: Don't set COMPILE_IN.
511 * emulparams/elf64_ia64_vms.sh: Likewise.
512 * emulparams/elf64mmix.sh: Likewise.
513 * emulparams/elf_iamcu.sh: Likewise.
514 * emulparams/elf_k1om.sh: Likewise.
515 * emulparams/elf_l1om.sh: Likewise.
516 * emulparams/mmo.sh: Likewise.
517 * emulparams/pdp11.sh: Set DATA_SEG_ADDR.
518 * scripttempl/pdp11.sc: Use it.
519 * emultempl/pdp11.em: Don't edit .xn script for separate_code,
520 instead use .xe script. Support scripts from file system.
521 * emultempl/beos.em: Support scripts from file system.
522 * emultempl/pe.em: Likewise.
523 * emultempl/pep.em: Likewise.
524 * testsuite/ld-bootstrap/bootstrap.exp: Make tmpdir/ldscripts link.
526 2021-01-25 Fangrui Song <maskray@google.com>
529 * scripttempl/DWARF.sc: Add .debug_* sections.
531 2021-01-25 Nick Clifton <nickc@redhat.com>
533 * scripttempl/DWARF.sc: Add .debug_loclists, .debug_rnglists,
534 .debug_line_str and .debug_str_offsets. Move .debug_macro and
535 .debug_addr into DWARF-5 section.
537 2021-01-21 Alan Modra <amodra@gmail.com>
539 * testsuite/ld-elf/pr26936.d: No longer xfail mips.
541 2021-01-20 Alan Modra <amodra@gmail.com>
543 * testsuite/ld-powerpc/relbrlt.s: Make symbols global.
544 * testsuite/ld-powerpc/relbrlt.d: Adjust to suit.
545 * testsuite/ld-powerpc/tlsget.d: Adjust for reordered stubs.
546 * testsuite/ld-powerpc/tlsget.wf: Likewise.
547 * testsuite/ld-powerpc/tlsget2.d: Likewise.
548 * testsuite/ld-powerpc/tlsget2.wf: Likewise.
549 * testsuite/ld-powerpc/tlsexe.r: Adjust for removed section syms.
550 * testsuite/ld-powerpc/tlsexe32.r: Likewise.
551 * testsuite/ld-powerpc/tlsexe32no.r: Likewise.
552 * testsuite/ld-powerpc/tlsexeno.r: Likewise.
553 * testsuite/ld-powerpc/tlsexenors.r: Likewise.
554 * testsuite/ld-powerpc/tlsexers.r: Likewise.
555 * testsuite/ld-powerpc/tlsexetoc.r: Likewise.
556 * testsuite/ld-powerpc/tlsexetocrs.r: Likewise.
557 * testsuite/ld-powerpc/tlsso.r: Likewise.
558 * testsuite/ld-powerpc/tlsso32.r: Likewise.
559 * testsuite/ld-powerpc/tlstocso.r: Likewise.
561 2021-01-19 Nick Alcock <nick.alcock@oracle.com>
563 * testsuite/ld-ctf/data-func-2.c: Stop removal of the extern foo_t
564 symbols by the optimizer.
565 * testsuite/ld-ctf/data-func-conflicted.d: Adjust accordingly.
567 2021-01-19 Nelson Chu <nelson.chu@sifive.com>
569 * testsuite/ld-elf/elf.exp (riscv_little_endian): Added. Return true
570 if target is riscv little endian. Otherwise, return false.
571 * testsuite/ld-elf/compressed1d.d: Only xfail the riscv little endian
572 targets by [riscv_little_endian].
574 2021-01-18 Alan Modra <amodra@gmail.com>
577 * ldlang.c (map_input_to_output_sections): Start with a read-only
578 section for data statements.
579 * testsuite/ld-elf/size-2.d: Adjust to suit.
581 2021-01-17 H.J. Lu <hongjiu.lu@intel.com>
584 * testsuite/ld-i386/i386.exp: Run PR ld/27193 test.
585 * testsuite/ld-i386/pr27193.dd: New file.
586 * testsuite/ld-i386/pr27193a.o.bz2: Likewise.
587 * testsuite/ld-i386/pr27193b.s: Likewise.
589 2021-01-16 H.J. Lu <hongjiu.lu@intel.com>
592 * testsuite/ld-plugin/lto.exp: Increase the max number of open
593 files to 20 for PR binutils/23460 test.
595 2021-01-16 H.J. Lu <hongjiu.lu@intel.com>
598 * testsuite/ld-ifunc/ifunc.exp: Replace pr23169c.rd with
599 pr23169a.rd for pr23169c and pr23169f. Remove pr23169e tests.
600 * testsuite/ld-ifunc/pr23169a.c (foo): Don't compare function
603 2021-01-15 H.J. Lu <hongjiu.lu@intel.com>
605 * NEWS: Mention -z report-relative-reloc.
606 * ld.texi: Document -z report-relative-reloc.
607 * emulparams/elf32_x86_64.sh: Source x86-report-relative.sh.
608 * emulparams/elf_i386.sh: Likewse.
609 * emulparams/elf_x86_64.sh: Likewse.
610 * emulparams/x86-report-relative.sh: New file.
611 * testsuite/ld-i386/report-reloc-1.d: Likewse.
612 * testsuite/ld-i386/report-reloc-1.l: Likewse.
613 * testsuite/ld-i386/report-reloc-1.s: Likewse.
614 * testsuite/ld-x86-64/report-reloc-1-x32.d: Likewse.
615 * testsuite/ld-x86-64/report-reloc-1.d: Likewse.
616 * testsuite/ld-x86-64/report-reloc-1.l: Likewse.
617 * testsuite/ld-x86-64/report-reloc-1.s: Likewse.
618 * testsuite/ld-i386/i386.exp: Run report-reloc-1.
619 * testsuite/ld-x86-64/x86-64.exp: Run report-reloc-1 and
622 2021-01-16 Alan Modra <amodra@gmail.com>
625 * testsuite/ld-elfvers/vers6.dsym: Expect "Base" for undefined
627 * testsuite/ld-elfvers/vers16.dsym: Likewise.
629 2021-01-15 Nelson Chu <nelson.chu@sifive.com>
631 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-01.d: Updated.
632 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-02.d: Likewise.
633 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-03.d: Likewise.
634 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-04.d: Likewise.
635 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-05.d: Likewise.
636 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-06.d: Likewise.
638 2021-01-14 Nick Clifton <nickc@redhat.com>
640 * po/fr.po: Updated French translation.
642 2021-01-14 Mike Frysinger <vapier@gentoo.org>
644 * testsuite/config/default.exp [bfin*-elf*] (gcc_B_opt): Add -msim.
646 2021-01-14 Alan Modra <amodra@gmail.com>
649 * ldelfgen.c (compare_link_order): Protect access of ELF section
651 (add_link_order_input_section): Remove redundant NULL check.
653 (ldelf_map_segments): Use bfd_get_flavour.
655 2021-01-13 H.J. Lu <hongjiu.lu@intel.com>
657 * ldelfgen.c (add_link_order_input_section): Check for ELF input
658 before accessing ELF section data.
660 2021-01-13 Alan Modra <amodra@gmail.com>
662 * Makefile.in: Regenerate.
664 2021-01-13 Alan Modra <amodra@gmail.com>
667 * ldlang.h (lang_output_section_statement_type): Add data field.
668 (lang_input_section_type, lang_section_bst_type): Add pattern field.
669 (statement_list): Declare.
670 (lang_add_section): Adjust prototype.
671 * emultempl/aarch64elf.em: Adjust lang_add_section calls.
672 * emultempl/armelf.em: Likewise.
673 * emultempl/beos.em: Likewise.
674 * emultempl/cskyelf.em: Likewise.
675 * emultempl/hppaelf.em: Likewise.
676 * emultempl/m68hc1xelf.em: Likewise.
677 * emultempl/metagelf.em: Likewise.
678 * emultempl/mipself.em: Likewise.
679 * emultempl/mmo.em: Likewise.
680 * emultempl/msp430.em: Likewise.
681 * emultempl/nios2elf.em: Likewise.
682 * emultempl/pe.em: Likewise.
683 * emultempl/pep.em: Likewise.
684 * emultempl/ppc64elf.em: Likewise.
685 * emultempl/spuelf.em: Likewise.
686 * emultempl/vms.em: Likewise.
688 * ldelfgen.c: Include ldctor.h.
689 (struct os_sections): New.
690 (add_link_order_input_section, link_order_scan): New functions.
691 (compare_link_order, fixup_link_order): New functions.
692 (ldelf_map_segments): Call link_order_scan and fixup_link_order.
693 * ldlang.c (statement_list): Make global.
694 (output_section_callback_fast): Save pattern in tree node.
695 (lang_add_section): Add pattern parameter, save in lang_input_section.
696 (output_section_callback_tree_to_list): Adjust lang_add_section calls.
697 (lang_insert_orphan, output_section_callback): Likewise.
698 (ldlang_place_orphan): Likewise.
699 (gc_section_callback): Don't set section->pattern.
700 * testsuite/ld-elf/pr26256-2a.d: Don't xfail generic.
701 * testsuite/ld-elf/pr26256-3b.d: Likewise.
702 * testsuite/ld-elf/pr26256-2b.d: Likewise. notarget xgate.
704 2021-01-13 Alan Modra <amodra@gmail.com>
706 * ldlang.h (callback_t): Remove flag_info function parameter.
707 * ldlang.c (walk_wild_consider_section): Adjust to suit.
708 (walk_wild_section_general): Likewise.
709 (output_section_callback_fast, output_section_callback): Likewise.
710 (check_section_callback, gc_section_callback): Likewise.
711 (find_relro_section_callback): Likewise.
713 2021-01-12 H.J. Lu <hongjiu.lu@intel.com>
716 * configure.ac: Use GNU_MAKE_JOBSERVER.
717 * aclocal.m4: Regenerated.
718 * configure: Likewise.
720 2021-01-12 H.J. Lu <hongjiu.lu@intel.com>
723 * testsuite/ld-x86-64/pe-x86-64-5.obj.bz2: New file.
724 * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise.
725 * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise.
726 * testsuite/ld-x86-64/pe-x86-64.exp: Run PR ld/27171 test.
728 2021-01-11 H.J. Lu <hongjiu.lu@intel.com>
731 * configure: Regenerated.
733 2021-01-11 Matt Jenkins <matt@majenko.co.uk>
736 * ldmain.c (get_emulation): Add mipsmips32r3, mips32r5, mips64r3
737 and mips64r5 to list of known mips targets.
739 2021-01-11 Nick Clifton <nickc@redhat.com>matt@majenko.co.uk
741 * po/pt_BR.po: Updated Brazilian Portuguese translation.
742 ` * po/uk.po: Updated Ukranian translation.
744 2021-01-09 H.J. Lu <hongjiu.lu@intel.com>
746 * configure: Regenerated.
748 2021-01-09 H.J. Lu <hongjiu.lu@intel.com>
751 * testsuite/ld-x86-64/lam-u48.rd: New file.
752 * testsuite/ld-x86-64/lam-u57.rd: Likewise.
753 * testsuite/ld-x86-64/x86-64.exp: Add PR ld/27166 tests.
755 2021-01-09 Nick Clifton <nickc@redhat.com>
757 * configure: Regenerate.
758 * po/ld.pot: Regenerate.
760 2021-01-09 Nick Clifton <nickc@redhat.com>
762 * 2.36 release branch crated.
764 2021-01-08 H.J. Lu <hongjiu.lu@intel.com>
766 * ld-x86-64/property-x86-lam-u48-4.d: Updated.
767 * ld-x86-64/property-x86-lam-u48-5.d: Likewise.
769 2021-01-09 Alan Modra <amodra@gmail.com>
771 * configure: Regenerate.
772 * Makefile.in: Regenerate.
774 2021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
776 * configure: Regenerate.
778 2021-01-07 H.J. Lu <hongjiu.lu@intel.com>
781 * testsuite/ld-elf/export-class.sd: Adjust the expected output.
782 * testsuite/ld-elf/loadaddr3b.d: Likewise.
783 * testsuite/ld-i386/ibt-plt-1.d: Likewise.
784 * testsuite/ld-i386/ibt-plt-2a.d: Likewise.
785 * testsuite/ld-i386/ibt-plt-2c.d: Likewise.
786 * testsuite/ld-i386/ibt-plt-3a.d: Likewise.
787 * testsuite/ld-i386/ibt-plt-3c.d: Likewise.
788 * testsuite/ld-i386/pr19636-1d.d: Likewise.
789 * testsuite/ld-i386/pr19636-1l.d: Likewise.
790 * testsuite/ld-i386/pr19636-2c.d: Likewise.
791 * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise.
792 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise.
793 * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Likewise.
794 * testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise.
795 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
796 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
797 * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise.
798 * testsuite/ld-ifunc/pr17154-i386.d: Likewise.
799 * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
800 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
801 * testsuite/ld-x86-64/bnd-branch-1-now.d: Likewise.
802 * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise.
803 * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise.
804 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
805 * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise.
806 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
807 * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise.
808 * testsuite/ld-x86-64/ibt-plt-1.d: Likewise.
809 * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise.
810 * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise.
811 * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise.
812 * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise.
813 * testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise.
814 * testsuite/ld-x86-64/ibt-plt-3a.d: Likewise.
815 * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise.
816 * testsuite/ld-x86-64/ibt-plt-3c.d: Likewise.
817 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
818 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
819 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
820 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
821 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
822 * testsuite/ld-x86-64/pr19636-2l.d: Likewise.
823 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
824 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
825 * testsuite/ld-x86-64/pr21038b-now.d: Likewise.
826 * testsuite/ld-x86-64/pr21038b.d: Likewise.
827 * testsuite/ld-x86-64/pr21038c-now.d: Likewise.
828 * testsuite/ld-x86-64/pr21038c.d: Likewise.
829 * testsuite/ld-x86-64/pr23854.d: Likewise.
830 * testsuite/ld-x86-64/pr25416-3.d: Likewise.
831 * testsuite/ld-x86-64/pr25416-4.d: Likewise.
832 * testsuite/ld-i386/plt-pic.pd: Likewise.
833 * testsuite/ld-i386/plt-pic2.dd: Likewise.
834 * testsuite/ld-i386/plt.pd: Likewise.
835 * testsuite/ld-i386/plt2.dd: Likewise.
836 * testsuite/ld-i386/tlsbin.rd: Likewise.
837 * testsuite/ld-i386/tlsbin2.rd: Likewise.
838 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
839 * testsuite/ld-i386/tlsdesc.rd: Likewise.
840 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
841 * testsuite/ld-i386/tlsnopic.rd: Likewise.
842 * testsuite/ld-i386/tlspic.rd: Likewise.
843 * testsuite/ld-i386/tlspic2.rd: Likewise.
844 * testsuite/ld-x86-64/mpx3.dd: Likewise.
845 * testsuite/ld-x86-64/mpx3n.dd: Likewise.
846 * testsuite/ld-x86-64/mpx4.dd: Likewise.
847 * testsuite/ld-x86-64/mpx4n.dd: Likewise.
848 * testsuite/ld-x86-64/pe-x86-64-1.od: Likewise.
849 * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise.
850 * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise.
851 * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise.
852 * testsuite/ld-x86-64/plt.pd: Likewise.
853 * testsuite/ld-x86-64/plt2.dd: Likewise.
854 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
855 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
856 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
857 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
858 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
859 * testsuite/ld-x86-64/tlspic.rd: Likewise.
860 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
861 * testsuite/ld-elf/sec64k.exp: Check
862 is_elf_unused_section_symbols.
864 2021-01-07 Alan Modra <amodra@gmail.com>
866 * testsuite/ld-scripts/fill.d: Skip sh-*-pe rather than xfail.
867 * testsuite/ld-scripts/fill16.d: Don't xfail sh-*-pe.
868 * testsuite/ld-scripts/segment-start.d: Likewise.
870 2021-01-07 Alan Modra <amodra@gmail.com>
872 * testsuite/ld-elf/comm-data5.d: xfail targets that complain
873 about dynamic relocations in read-only sections.
874 * testsuite/ld-elf/ehdr_start-shared.d: Likewise.
875 * testsuite/ld-elf/ehdr_start.d: Likewise.
876 * testsuite/ld-scripts/pr22267.d: Likewise.
877 * testsuite/ld-elf/shared.exp: Likewise for DT_TEXTREL tests and
879 * testsuite/ld-elf/sec64k.exp: Don't run 64ksec on lm32-linux.
881 2021-01-07 Marcus Comstedt <marcus@mc.pp.se>
883 * testsuite/ld-scripts/empty-address-2a.d: xfail riscv64*-*-*.
884 * testsuite/ld-scripts/empty-address-2b.d: Likewise.
886 2021-01-07 Alan Modra <amodra@gmail.com>
888 * po/BLD-POTFILES.in: Regenerate.
890 2021-01-07 Alan Modra <amodra@gmail.com>
892 * testsuite/ld-elf/shared.exp: xfail pr22471 for targets that
893 complain about relocs in read-only sections. Tidy ASFLAGS append.
895 2021-01-06 Alan Modra <amodra@gmail.com>
897 * testsuite/ld-sparc/sparc.exp (sparc64tests): Set text-segment
899 * testsuite/ld-sparc/gotop32.dd: Match solaris output.
900 * testsuite/ld-sparc/gotop32.sd: Likewise.
901 * testsuite/ld-sparc/gotop32.td: Likewise.
902 * testsuite/ld-sparc/gotop64.dd: Likewise.
903 * testsuite/ld-sparc/gotop64.sd: Likewise.
904 * testsuite/ld-sparc/gotop64.td: Likewise.
905 * testsuite/ld-sparc/tlsg32.sd: Likewise.
906 * testsuite/ld-sparc/tlsg64.sd: Likewise.
907 * testsuite/ld-sparc/tlspie32.dd: Likewise.
908 * testsuite/ld-sparc/tlspie64.dd: Likewise.
909 * testsuite/ld-sparc/tlssunbin32.dd: Likewise.
910 * testsuite/ld-sparc/tlssunbin32.sd: Likewise.
911 * testsuite/ld-sparc/tlssunbin32.td: Likewise.
912 * testsuite/ld-sparc/tlssunbin64.dd: Likewise.
913 * testsuite/ld-sparc/tlssunbin64.sd: Likewise.
914 * testsuite/ld-sparc/tlssunbin64.td: Likewise.
915 * testsuite/ld-sparc/tlssunnopic32.dd: Likewise.
916 * testsuite/ld-sparc/tlssunnopic32.sd: Likewise.
917 * testsuite/ld-sparc/tlssunnopic64.dd: Likewise.
918 * testsuite/ld-sparc/tlssunnopic64.sd: Likewise.
919 * testsuite/ld-sparc/tlssunpic32.dd: Likewise.
920 * testsuite/ld-sparc/tlssunpic32.sd: Likewise.
921 * testsuite/ld-sparc/tlssunpic32.td: Likewise.
922 * testsuite/ld-sparc/tlssunpic64.dd: Likewise.
923 * testsuite/ld-sparc/tlssunpic64.sd: Likewise.
924 * testsuite/ld-sparc/tlssunpic64.td: Likewise.
925 * testsuite/ld-sparc/wdispcall.dd: Likewise.
927 2021-01-06 Alan Modra <amodra@gmail.com>
929 * testsuite/ld-scripts/rgn-at10.d: xfail v850.
930 * testsuite/ld-scripts/rgn-at11.d: Likewise.
932 2021-01-06 Marcus Comstedt <marcus@mc.pp.se>
934 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Added
935 riscv_choose_[ilp32|lp64]_emul to choose the correct linker script.
936 * testsuite/ld-riscv-elf/attr-merge-arch-01.d: Call
937 riscv_choose_[ilp32|lp64]_emul instead of hardcoding elf[32|64]lriscv.
938 * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
939 * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
940 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Likewise.
941 * testsuite/ld-riscv-elf/attr-merge-arch-failed-02.d: Likewise.
942 * testsuite/ld-riscv-elf/c-lui-2.d: Likewise.
943 * testsuite/ld-riscv-elf/c-lui.d: Likewise.
944 * testsuite/ld-riscv-elf/call-relax.d: Likewise.
945 * testsuite/ld-riscv-elf/pcrel-lo-addend-2.d: Likewise.
946 * testsuite/ld-riscv-elf/pcrel-lo-addend.d: Likewise.
947 * testsuite/ld-riscv-elf/weakref32.d: Accept bigriscv in addition
949 * testsuite/ld-riscv-elf/weakref64.d: Likewise.
951 2021-01-06 Marcus Comstedt <marcus@mc.pp.se>
953 * configure.tgt: Added riscvbe-*-*, riscv32be*-*-*, riscv64be*-*-*,
954 riscv32be*-*-linux*, and riscv64be*-*-linux*.
955 * Makefile.am: Added eelf32briscv.c, eelf32briscv_ilp32f.c and
956 eelf32briscv_ilp32.c.
957 * Makefile.in: Regenerate.
958 * emulparams/elf32briscv.sh: Added.
959 * emulparams/elf32briscv_ilp32.sh: Likewise.
960 * emulparams/elf32briscv_ilp32f.sh: Likewise.
961 * emulparams/elf64briscv.sh: Likewise.
962 * emulparams/elf64briscv_lp64.sh: Likewise.
963 * emulparams/elf64briscv_lp64f.sh: Likewise.
965 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
967 * testsuite/ld-ctf/enum-forward.c: New test.
968 * testsuite/ld-ctf/enum-forward.c: New results.
970 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
972 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
973 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
974 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
975 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
976 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
977 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
978 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
979 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
980 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
981 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
982 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
983 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
984 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
985 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
986 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
987 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
988 * testsuite/ld-ctf/cycle-1.d: Likewise.
989 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
990 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
991 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
992 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
993 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
994 * testsuite/ld-ctf/diag-cuname.d: Likewise.
995 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
996 * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise.
997 * testsuite/ld-ctf/forward.d: Likewise.
998 * testsuite/ld-ctf/function.d: Likewise.
999 * testsuite/ld-ctf/slice.d: Likewise.
1000 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
1001 * testsuite/ld-ctf/enums.c: New test.
1002 * testsuite/ld-ctf/enums.d: New test.
1004 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
1006 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Adjust for dumper
1008 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
1009 * testsuite/ld-ctf/forward.c: New test...
1010 * testsuite/ld-ctf/forward.d: ... and results.
1012 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
1014 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
1015 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
1016 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
1017 * testsuite/ld-ctf/diag-cuname.d: Likewise.
1018 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
1019 * testsuite/ld-ctf/function.d: Likewise.
1020 * testsuite/ld-ctf/slice.d: Likewise.
1022 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
1024 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
1025 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
1026 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
1027 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
1028 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
1029 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
1030 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
1031 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
1032 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
1033 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
1034 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
1035 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
1036 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
1037 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
1038 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
1039 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
1040 * testsuite/ld-ctf/cycle-1.d: Likewise.
1041 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
1042 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
1043 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
1044 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
1045 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
1046 * testsuite/ld-ctf/diag-cuname.d: Likewise.
1047 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
1048 * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise.
1049 * testsuite/ld-ctf/function.d: Likewise.
1050 * testsuite/ld-ctf/slice.d: Likewise.
1051 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
1053 2021-01-05 Alan Modra <amodra@gmail.com>
1055 * testsuite/ld-scripts/sysroot-prefix.exp: Exclude some targets.
1057 2021-01-05 Alan Modra <amodra@gmail.com>
1060 * testsuite/ld-elf/pr26256-1b.d: xfail s12z.
1061 * testsuite/ld-scripts/crossref.exp (cross1): Don't xfail ia64.
1063 2021-01-04 H.J. Lu <hongjiu.lu@intel.com>
1066 * ldlang.c (gc_section_callback): Set pattern.
1067 * testsuite/ld-elf/pr26256-1.s: New file.
1068 * testsuite/ld-elf/pr26256-1.t: Likewise.
1069 * testsuite/ld-elf/pr26256-1a.d: Likewise.
1070 * testsuite/ld-elf/pr26256-1b.d: Likewise.
1071 * testsuite/ld-elf/pr26256-2.s: Likewise.
1072 * testsuite/ld-elf/pr26256-2.t: Likewise.
1073 * testsuite/ld-elf/pr26256-2a.d: Likewise.
1074 * testsuite/ld-elf/pr26256-2b-alt.d: Likewise.
1075 * testsuite/ld-elf/pr26256-2b.d: Likewise.
1076 * testsuite/ld-elf/pr26256-3.s: Likewise.
1077 * testsuite/ld-elf/pr26256-3a.d: Likewise.
1078 * testsuite/ld-elf/pr26256-3a.t: Likewise.
1079 * testsuite/ld-elf/pr26256-3b.d: Likewise.
1080 * testsuite/ld-elf/pr26256-3b.t: Likewise.
1082 2021-01-04 Alan Modra <amodra@gmail.com>
1085 * testsuite/ld-arm/non-contiguous-arm2.d: Adjust STT_FILE symbol match.
1086 * testsuite/ld-arm/non-contiguous-arm3.d: Likewise.
1087 * testsuite/ld-arm/non-contiguous-arm5.d: Likewise.
1088 * testsuite/ld-arm/non-contiguous-arm6.d: Likewise.
1089 * testsuite/ld-i386/tlsbin.rd: Likewise.
1090 * testsuite/ld-i386/tlsbin2.rd: Likewise.
1091 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
1092 * testsuite/ld-i386/tlsdesc.rd: Likewise.
1093 * testsuite/ld-i386/tlsnopic.rd: Likewise.
1094 * testsuite/ld-i386/tlspic.rd: Likewise.
1095 * testsuite/ld-i386/tlspic2.rd: Likewise.
1096 * testsuite/ld-mips-elf/global-local-symtab-sort-n64.d: Likewise.
1097 * testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d: Likewise.
1098 * testsuite/ld-mips-elf/global-local-symtab-sort-o32.d: Likewise.
1099 * testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d: Likewise.
1100 * testsuite/ld-plugin/pr17973.d: Likewise.
1101 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
1102 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
1103 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
1104 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
1105 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
1106 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
1107 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
1108 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
1109 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
1110 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
1111 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
1112 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
1113 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
1114 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
1115 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
1116 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
1117 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1118 * testsuite/ld-x86-64/tlspic.rd: Likewise.
1119 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
1120 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
1121 * testsuite/ld-xtensa/tlspic.rd: Likewise.
1123 2021-01-01 Nicolas Boulenguez <nicolas@debian.org>
1125 * configure.tgt: Correct comment grammar.
1126 * emultempl/m68hc1xelf.em: Likewise.
1127 * ld.texi: Correct grammar.
1129 2021-01-01 Alan Modra <amodra@gmail.com>
1131 Update year range in copyright notice of all files.
1133 For older changes see ChangeLog-2020
1135 Copyright (C) 2021 Free Software Foundation, Inc.
1137 Copying and distribution of this file, with or without modification,
1138 are permitted in any medium without royalty provided the copyright
1139 notice and this notice are preserved.
1145 version-control: never