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