1 2021-05-13 Fangrui Song <maskray@google.com>
4 * ldlex.h (enum option_values): Add OPTION_NO_SYMBOLIC.
5 * lexsup.c (ld_options): Add -Bno-symbolic.
6 (parse_args): Handle -Bno-symbolic.
7 * ld.texi: Document -Bno-symbolic.
8 * NEWS: Mention -Bno-symbolic.
9 * testsuite/ld-elf/shared.exp: Add a test.
11 2021-05-12 Richard Earnshaw <rearnsha@arm.com>
13 * testsuite/ld-arm/arm-elf.exp (farcall test for v8-m.mainline):
14 Correct expected output.
16 2021-05-11 Roland McGrath <mcgrathr@google.com>
18 * testsuite/ld-x86-64/rela.d: Fix regexp not to presume a specific
19 address layout, so it works for e.g. --target=x86-64-elf.
21 2021-05-11 Nick Clifton <nickc@redhat.com>
24 * Makefile.am (install-data-local): Also delete libdep.dll.a if it
26 * Makefile.in: Regenerate.
28 2021-05-10 Dimitar Dimitrov <dimitar@dinux.eu>
30 * testsuite/ld-elf/group8a.d: Remove pru from XFAIL list.
31 * testsuite/ld-elf/group8b.d: Ditto.
32 * testsuite/ld-elf/group9a.d: Ditto.
33 * testsuite/ld-elf/group9b.d: Ditto.
34 * testsuite/ld-elf/pr12851.d: Ditto.
35 * testsuite/ld-elf/pr22677.d: Ditto.
36 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Remove
39 2021-05-10 Dimitar Dimitrov <dimitar@dinux.eu>
41 * scripttempl/pru.sc (.resource_table): Add ALIGN directive.
42 Use symbols for memory sizes.
44 2021-05-08 Mike Frysinger <vapier@gentoo.org>
46 * Makefile.am (html-local, doc/ld/index.html): New targets.
47 * Makefile.in: Regenerate.
49 2021-05-08 Mike Frysinger <vapier@gentoo.org>
51 * Makefile.am (AM_MAKEINFOFLAGS): Add --no-split.
52 * Makefile.in: Regenerate.
54 2021-05-07 Jan Beulich <jbeulich@suse.com>
56 * testsuite/ld-x86-64/rela.d: New.
57 * testsuite/ld-x86-64/x86-64.exp: Run new test.
59 2021-05-07 Nick Clifton <nickc@redhat.com>
61 * ldelfgen.c (compare_link_order): Ignore section size when
62 performing a relocateable link.
64 2021-05-07 Alan Modra <amodra@gmail.com>
66 * ldexp.c (update_definedness): Don't return false for absolute
68 * ldmain.c (multiple_definition): Print "warning: " in message
69 when not a hard error.
71 2021-05-07 Alan Modra <amodra@gmail.com>
73 * testsuite/ld-elf/pr27825-1.d: Correct xfail.
74 * testsuite/ld-elf/pr27825-2.d: Likewise.
76 2021-05-06 Stafford Horne <shorne@gmail.com>
79 testsuite/ld-or1k/or1k.exp (or1kplttests): Add tests for linking
80 along with gotha() relocations.
81 testsuite/ld-or1k/gotha1.dd: New file.
82 testsuite/ld-or1k/gotha1.s: New file.
83 testsuite/ld-or1k/gotha2.dd: New file.
84 testsuite/ld-or1k/gotha2.s: New file
85 testsuite/ld-or1k/pltlib.s (x): Define size to avoid link
88 2021-05-06 Nick Alcock <nick.alcock@oracle.com>
90 * testsuite/ld-ctf/ctf.exp: Use -gctf, not -gt.
91 * testsuite/lib/ld-lib.exp: Likewise.
92 * testsuite/ld-ctf/nonrepresentable-1.c: New test for nonrepresentable types.
93 * testsuite/ld-ctf/nonrepresentable-2.c: Likewise.
94 * testsuite/ld-ctf/nonrepresentable.d: Likewise.
95 * testsuite/ld-ctf/array.d: Larger type section.
96 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
97 * testsuite/ld-ctf/enums.d: Likewise.
98 * testsuite/ld-ctf/conflicting-enums.d: Don't compare types.
99 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Changed type order.
100 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
101 * testsuite/ld-ctf/slice.d: Adjust for improved slice emission.
103 2021-05-05 H.J. Lu <hongjiu.lu@intel.com>
106 * testsuite/ld-elf/pr27825-1.d: New file.
107 * testsuite/ld-elf/pr27825-1a.s: Likewise.
108 * testsuite/ld-elf/pr27825-1b.s: Likewise.
109 * testsuite/ld-elf/pr27825-2.d: Likewise.
110 * testsuite/ld-elf/pr27825-2a.s: Likewise.
111 * testsuite/ld-elf/pr27825-2b.s: Likewise.
113 2021-05-05 Alan Modra <amodra@gmail.com>
115 * testsuite/ld-powerpc/empty.s: New file.
116 * testsuite/ld-powerpc/undefweak.d,
117 * testsuite/ld-powerpc/undefweak.s: New testcase.
118 * testsuite/ld-powerpc/powerpc.exp: Run it.
120 2021-05-03 Alan Modra <amodra@gmail.com>
122 * testsuite/ld-s390/tlspic_64.rd: Adjust expected output for
123 named section symbols.
125 2021-04-28 Nick Clifton <nickc@redhat.com>
127 * testsuite/ld-elf/anno-sym.s: New test source file.
128 * testsuite/ld-elf/anno-sym.d: New test driver.
129 * testsuite/ld-elf/anno-sym.l: New test error output.
131 2021-04-26 Jan Beulich <jbeulich@suse.com>
133 * testsuite/ld-i386/pcrel16-2.s, testsuite/ld-i386/pcrel16-2.d,
134 testsuite/ld-x86-64/pcrel16-2.d: New.
135 * testsuite/ld-i386/i386.exp: Run new test.
136 * testsuite/ld-x86-64/x86-64.exp: Likewise.
138 2021-04-23 H.J. Lu <hongjiu.lu@intel.com>
141 * testsuite/ld-bootstrap/bootstrap.exp: Create a symbolic link
142 to tmpdir/ldscripts only if it doesn't exist.
144 2021-04-22 Jan Beulich <jbeulich@suse.com>
147 * testsuite/ld-pe/pr26659-weak-undef-sym.d: Relax for Cygwin.
149 2021-04-21 Nick Clifton <nickc@redhat.com>
151 * testsuite/ld-aarch64/variant_pcs-now.d: Adjust expected output
152 to allow for named section symbols.
153 * testsuite/ld-aarch64/variant_pcs-r.d: Likewise.
154 * testsuite/ld-aarch64/variant_pcs-shared.d: Likewise.
155 * testsuite/ld-alpha/tlsbin.rd: Likewise.
156 * testsuite/ld-alpha/tlsbinr.rd: Likewise.
157 * testsuite/ld-alpha/tlspic.rd: Likewise.
158 * testsuite/ld-arm/rodata-merge-map.sym: Likewise.
159 * testsuite/ld-arm/script-type.sym: Likewise.
160 * testsuite/ld-cris/libdso-2.d: Likewise.
161 * testsuite/ld-cris/pr16044.d: Likewise.
162 * testsuite/ld-elf/sec64k.exp: Likewise.
163 * testsuite/ld-ia64/tlsbin.rd: Likewise.
164 * testsuite/ld-ia64/tlspic.rd: Likewise.
165 * testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d: Likewise.
166 * testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d: Likewise.
167 * testsuite/ld-mmix/bspec1.d: Likewise.
168 * testsuite/ld-mmix/bspec2.d: Likewise.
169 * testsuite/ld-mmix/local1.d: Likewise.
170 * testsuite/ld-mmix/local3.d: Likewise.
171 * testsuite/ld-mmix/local5.d: Likewise.
172 * testsuite/ld-mmix/local7.d: Likewise.
173 * testsuite/ld-mmix/undef-3.d: Likewise.
174 * testsuite/ld-powerpc/tlsso.r: Likewise.
175 * testsuite/ld-powerpc/tlsso32.r: Likewise.
176 * testsuite/ld-powerpc/tlstocso.r: Likewise.
177 * testsuite/ld-s390/tlsbin.rd: Likewise.
178 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
179 * testsuite/ld-s390/tlspic.rd: Likewise.
180 * testsuite/ld-s390/tlspic_64.rd: Likewise.
181 * testsuite/ld-sparc/gotop32.rd: Likewise.
182 * testsuite/ld-sparc/gotop64.rd: Likewise.
183 * testsuite/ld-sparc/tlssunbin32.rd: Likewise.
184 * testsuite/ld-sparc/tlssunbin64.rd: Likewise.
185 * testsuite/ld-sparc/tlssunnopic32.rd: Likewise.
186 * testsuite/ld-sparc/tlssunnopic64.rd: Likewise.
187 * testsuite/ld-sparc/tlssunpic32.rd: Likewise.
188 * testsuite/ld-sparc/tlssunpic64.rd: Likewise.
189 * testsuite/ld-tic6x/common.d: Likewise.
190 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
191 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
192 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
193 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
194 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
195 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
196 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
197 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
198 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
199 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
200 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
201 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
202 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
204 2021-04-20 Clément Chigot <clement.chigot@atos.net>
207 * testsuite/ld-powerpc/aix52.exp: Add new test.
208 * testsuite/ld-powerpc/aix-neg-reloc-32.d: New test.
209 * testsuite/ld-powerpc/aix-neg-reloc-64.d: New test.
210 * testsuite/ld-powerpc/aix-neg-reloc.ex: New test.
211 * testsuite/ld-powerpc/aix-neg-reloc.s: New test.
213 2021-04-13 Nick Clifton <nickc@redhat.com>
215 * ld.texi (Options): Add note about the effect of --as-needed on
216 the --rpath and --rpath-link options on Linux based systems.
218 2021-04-13 Alan Modra <amodra@gmail.com>
221 * libdep_plugin.c (str2vec): Don't pass a potentially signed char
224 2021-04-12 Alan Modra <amodra@gmail.com>
226 * configure.ac (--enable-checking): Add support.
227 * config.in: Regenerate.
228 * configure: Regenerate.
230 2021-04-12 Alan Modra <amodra@gmail.com>
232 * emultempl/mipself.em (mips_create_output_section_statements):
233 Pass base type of hash table to is_elf_hash_table.
234 * ldelf.c (ldelf_after_open): Likewise.
236 2021-04-12 Alan Modra <amodra@gmail.com>
239 * ldlang.c (lang_mark_undefineds, undef_start_stop): Test that
240 the symbol hash table is the correct type before accessing
241 elf_link_hash_entry symbols.
242 * plugin.c (is_visible_from_outside): Likewise.
243 * emultempl/armelf.em (ld${EMULATION_NAME}_finish): Likewise.
244 * emultempl/solaris2.em (elf_solaris2_before_allocation): Likewise.
246 2021-04-09 Alan Modra <amodra@gmail.com>
248 * testsuite/ld-powerpc/inlinepcrel-1.d: Update expected output.
249 * testsuite/ld-powerpc/inlinepcrel-2.d: Likewise.
250 * testsuite/ld-powerpc/notoc2.d: Likewise.
251 * testsuite/ld-powerpc/notoc3.d: Likewise.
252 * testsuite/ld-powerpc/pcrelopt.d: Likewise.
253 * testsuite/ld-powerpc/startstop.d: Likewise.
254 * testsuite/ld-powerpc/tlsget.d: Likewise.
255 * testsuite/ld-powerpc/tlsget2.d: Likewise.
256 * testsuite/ld-powerpc/tlsld.d: Likewise.
257 * testsuite/ld-powerpc/weak1.d: Likewise.
258 * testsuite/ld-powerpc/weak1so.d: Likewise.
260 2021-04-06 Jan Beulich <jbeulich@suse.com>
262 * pe-dll.c (generate_reloc): Bail immediately when .reloc is
263 being discarded. Warn when relocated entry is above .reloc.
265 2021-04-05 Alan Modra <amodra@gmail.com>
267 * configure.ac: Move initfini-array arg handling earlier. Don't
268 check for string.h, strings.h, stdlib.h, or locale.h. Do check
269 for inttypes.h, stdint.h, sys/types.h. Don't check for
270 setlocale, free, getev or strstr.
271 (AC_ISC_POSIX): Don't invoke.
272 * sysdep.h: Include string.h and stdlib.h unconditionally. Test
273 HAVE_SYS_TYPE_H and HAVE_SYS_STAT_H. Remove strstr, free and
274 getenv fallback declarations.
275 * ld.h: Don't test HAVE_LOCALE_H.
276 * ldmain.c: Don't test HAVE_SETLOCALE.
277 * config.in: Regenerate.
278 * configure: Regenerate.
280 2021-04-01 Tamar Christina <tamar.christina@arm.com>
283 * testsuite/ld-pe/pe.exp: Add test.
284 * testsuite/ld-pe/pr26659-weak-undef-sym.d: New test.
285 * testsuite/ld-pe/pr26659-weak-undef-sym.s: New test.
287 2021-04-01 Martin Liska <mliska@suse.cz>
289 * ldbuildid.c (strneq): Remove strneq and use startswith.
290 (validate_build_id_style): Likewise.
291 (compute_build_id_size): Likewise.
293 2021-03-31 Alan Modra <amodra@gmail.com>
295 * sysdep.h (POISON_BFD_BOOLEAN): Define.
296 * configure.ac (elf_list_options, elf_shlib_list_options=false),
297 (elf_plt_unwind_list_options=false): Replace FALSE with false,
299 * emulparams/call_nop.sh, * emulparams/cet.sh,
300 * emulparams/dynamic_undefined_weak.sh,
301 * emulparams/elf32b4300.sh, * emulparams/elf32lm32.sh,
302 * emulparams/elf32lr5900.sh, * emulparams/elf32lr5900n32.sh,
303 * emulparams/elf32visium.sh, * emulparams/elf_x86_64.sh,
304 * emulparams/extern_protected_data.sh, * emulparams/plt_unwind.sh,
305 * emulparams/reloc_overflow.sh, * emulparams/static.sh,
306 * emulparams/x86-64-lam.sh, * emultempl/aarch64elf.em,
307 * emultempl/aix.em, * emultempl/alphaelf.em,
308 * emultempl/armcoff.em, * emultempl/armelf.em,
309 * emultempl/avrelf.em, * emultempl/beos.em, * emultempl/bfin.em,
310 * emultempl/cr16elf.em, * emultempl/crxelf.em,
311 * emultempl/cskyelf.em, * emultempl/elf.em, * emultempl/genelf.em,
312 * emultempl/hppaelf.em, * emultempl/linux.em,
313 * emultempl/m68hc1xelf.em, * emultempl/metagelf.em,
314 * emultempl/mipself.em, * emultempl/mmix-elfnmmo.em,
315 * emultempl/mmixelf.em, * emultempl/mmo.em, * emultempl/msp430.em,
316 * emultempl/nios2elf.em, * emultempl/pdp11.em, * emultempl/pe.em,
317 * emultempl/pep.em, * emultempl/ppc32elf.em,
318 * emultempl/ppc64elf.em, * emultempl/rxelf.em,
319 * emultempl/rxlinux.em, * emultempl/scoreelf.em,
320 * emultempl/solaris2.em, * emultempl/spuelf.em,
321 * emultempl/ticoff.em, * emultempl/v850elf.em, * emultempl/vms.em,
322 * emultempl/xtensaelf.em, * emultempl/z80.em, * ld.h,
323 * ldbuildid.c, * ldbuildid.h, * ldcref.c, * ldctor.c, * ldctor.h,
324 * ldelf.c, * ldelf.h, * ldelfgen.c, * ldelfgen.h, * ldemul.c,
325 * ldemul.h, * ldexp.c, * ldexp.h, * ldfile.c, * ldfile.h,
326 * ldgram.y, * ldlang.c, * ldlang.h, * ldmain.c, * ldmain.h,
327 * ldmisc.c, * ldmisc.h, * ldwrite.c, * lexsup.c, * mri.c,
328 * pe-dll.c, * pe-dll.h, * pep-dll.h, * plugin.c, * plugin.h,
329 * testplug.c, * testplug2.c, * testplug3.c, * testplug4.c: Replace
330 bfd_boolean with bool, FALSE with false, and TRUE with true.
331 * configure: Regenerate.
333 2021-03-31 Alan Modra <amodra@gmail.com>
335 * elf-hints-local.h: Include stdint.h in place of bfd_stdint.h.
336 * emultempl/nds32elf.em: Likewise.
337 * testsuite/ld-elf/mbind2b.c: Likewise.
338 * testsuite/ld-elf/pr18718.c: Likewise.
339 * testsuite/ld-elf/pr18720a.c: Likewise.
340 * testsuite/ld-elf/pr25749-1.c: Likewise.
341 * testsuite/ld-elf/pr25749-1a.c: Likewise.
342 * testsuite/ld-elf/pr25749-1b.c: Likewise.
343 * testsuite/ld-elf/pr25749-1c.c: Likewise.
344 * testsuite/ld-elf/pr25749-1d.c: Likewise.
345 * testsuite/ld-elf/pr25749-2.c: Likewise.
346 * testsuite/ld-elf/pr25754-1a.c: Likewise.
347 * testsuite/ld-elf/pr25754-2a.c: Likewise.
348 * testsuite/ld-elf/pr25754-3a.c: Likewise.
349 * testsuite/ld-elf/pr25754-4a.c: Likewise.
350 * testsuite/ld-elf/pr25754-5a.c: Likewise.
351 * testsuite/ld-elf/pr25754-6a.c: Likewise.
353 2021-03-29 Alan Modra <amodra@gmail.com>
355 * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Simplify
357 * lexsup.c (parse_args): Likewise.
358 * pe-dll.c (pe_dll_id_target): Likewise.
360 2021-03-25 Nick Alcock <nick.alcock@oracle.com>
362 * testsuite/ld-ctf/array.d: Only check that the data object
363 section is nonempty: do not check its exact size.
364 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
365 * testsuite/ld-ctf/slice.d: Likewise.
366 * testsuite/ld-ctf/data-func-conflicted.d: Likewise, and for the
367 func info section too.
368 * testsuite/ld-ctf/function.d: Likewise, for the func info section.
370 2021-03-22 Martin Liska <mliska@suse.cz>
372 * emultempl/aix.em: Replace usage of CONST_STRNEQ with startswith.
373 * emultempl/beos.em: Likewise.
374 * emultempl/elf.em: Likewise.
375 * emultempl/pe.em: Likewise.
376 * emultempl/pep.em: Likewise.
377 * emultempl/xtensaelf.em: Likewise.
378 * ldctor.c (ctor_prio): Likewise.
379 * ldelf.c (ldelf_try_needed): Likewise.
380 (ldelf_parse_ld_so_conf): Likewise.
381 (ldelf_after_open): Likewise.
382 (output_rel_find): Likewise.
383 (ldelf_place_orphan): Likewise.
384 * ldfile.c (ldfile_add_library_path): Likewise.
385 * ldlang.c (lang_add_input_file): Likewise.
386 * ldmain.c (get_sysroot): Likewise.
387 (get_emulation): Likewise.
388 (add_archive_element): Likewise.
389 * ldwrite.c (unsplittable_name): Likewise.
390 (clone_section): Likewise.
391 * lexsup.c (parse_args): Likewise.
392 * pe-dll.c (is_import): Likewise.
393 (pe_implied_import_dll): Likewise.
395 2021-03-19 H.J. Lu <hongjiu.lu@intel.com>
398 * testsuite/ld-x86-64/pr27590.rd: New file.
399 * testsuite/ld-x86-64/pr27590a.obj.bz2: Likewise.
400 * testsuite/ld-x86-64/pr27590b.obj.bz2: Likewise.
401 * testsuite/ld-x86-64/x86-64.exp: Run ld/27590 test.
403 2021-03-20 Alan Modra <amodra@gmail.com>
406 * ldlang.c (lang_gc_sections): Clear SEC_EXCLUDE when relocatable
407 for all sections except .stabstr.
409 2021-03-19 Alan Modra <amodra@gmail.com>
412 * testsuite/ld-elf/pr27590a.d: Match relocs using label, and
414 * testsuite/ld-elf/pr27590b.d: Likewise.
416 2021-03-18 H.J. Lu <hongjiu.lu@intel.com>
419 * testsuite/ld-elf/pr27590.s: New file.
420 * testsuite/ld-elf/pr27590a.d: Likewise.
421 * testsuite/ld-elf/pr27590b.d: Likewise.
422 * testsuite/ld-i386/i386.exp: Also run ld/27193 test with
423 --reduce-memory-overheads.
425 2021-03-18 H.J. Lu <hongjiu.lu@intel.com>
428 * testsuite/ld-x86-64/pr27587.err: New file.
429 * testsuite/ld-x86-64/pr27587a.obj.bz2: Likewise.
430 * testsuite/ld-x86-64/pr27587b.obj.bz2: Likewise.
431 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/27587 test.
433 2021-03-18 Nick Alcock <nick.alcock@oracle.com>
435 * testsuite/ld-ctf/slice.c: Check slices of enums too.
436 * testsuite/ld-ctf/slice.d: Results adjusted.
438 2021-03-16 Nick Clifton <nickc@redhat.com>
440 * pe-dll.c (pe_find_cdecl_alias_match): Use memmove to overwrite
443 2021-03-15 Jan Beulich <jbeulich@suse.com>
445 * pe-dll.c (generate_reloc): Drop padding to reloc_s->size.
447 2021-03-12 Alan Modra <amodra@gmail.com>
449 * Makefile.am (ALL_EMULATION_SOURCES): Move riscv files to..
450 (ALL_64_EMULATION_SOURCES): ..here.
451 * Makefile.in: Regenerate.
453 2021-03-12 Clément Chigot <clement.chigot@atos.net>
455 * emultempl/aix.em: Ensure .tdata section is removed
456 if empty, even with -r flag.
457 * scripttempl/aix.sc: Handle TLS sections.
458 * testsuite/ld-powerpc/aix52.exp: Add new tests.
459 * testsuite/ld-powerpc/aix-tls-reloc-32.d: New test.
460 * testsuite/ld-powerpc/aix-tls-reloc-64.d: New test.
461 * testsuite/ld-powerpc/aix-tls-reloc.ex: New test.
462 * testsuite/ld-powerpc/aix-tls-reloc.s: New test.
463 * testsuite/ld-powerpc/aix-tls-section-32.d: New test.
464 * testsuite/ld-powerpc/aix-tls-section-64.d: New test.
465 * testsuite/ld-powerpc/aix-tls-section.ex: New test.
466 * testsuite/ld-powerpc/aix-tls-section.s: New test.
468 2021-03-12 Clément Chigot <clement.chigot@atos.net>
470 * scripttempl/aix.sc: Add .te to .data section.
471 * testsuite/ld-powerpc/aix52.exp: Add test structure for AIX7+.
472 Add aix-largetoc-1 test.
473 * testsuite/ld-powerpc/aix-largetoc-1-32.d: New test.
474 * testsuite/ld-powerpc/aix-largetoc-1-64.d: New test.
475 * testsuite/ld-powerpc/aix-largetoc-1.ex: New test.
476 * testsuite/ld-powerpc/aix-largetoc-1.s: New test.
478 2021-03-12 Alan Modra <amodra@gmail.com>
480 * testsuite/ld-gc/gc.exp: Pass "-image-base 0" to ld for PE, and
481 arrange to define __main for some run_dump_test tests.
482 * testsuite/ld-gc/pr13683.d: Accept more symbols.
483 * testsuite/ld-gc/pr14265.d: Likewise, and ordering.
484 * testsuite/ld-scripts/crossref.exp: Pass "-image-base 0" to ld for PE.
485 * testsuite/ld-srec/srec.exp: Likewise.
486 * testsuite/lib/ld-lib.exp (ld_link_defsyms): Use is_pecoff_format.
488 2021-03-11 Nelson Chu <nelson.chu@sifive.com>
490 * emultempl/riscvelf.em (after_allocation): Run ldelf_map_segments
491 many times if riscv_restart_relax_sections returns TRUE.
492 * testsuite/ld-riscv-elf/restart-relax.d: New testcase. Before
493 applying this patch, the call won't be relaxed to jal; But now we
494 have more chances to do relaxations.
495 * testsuite/ld-riscv-elf/restart-relax.s: Likewise.
496 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
498 2021-03-10 Jan Beulich <jbeulich@suse.com>
500 * testsuite/ld-scripts/pr22267.t: Avoid symbol value with more
502 * testsuite/ld-scripts/pr22267.d: Adjust expectation and drop
504 * scripttempl/mcorepe.sc: Use PROVIDE() for _stack.
506 2021-03-09 Jan Beulich <jbeulich@suse.com>
508 * testsuite/ld-pe/reloc.s: Add entry point symbols. Increase
510 * testsuite/ld-pe/reloc.d: xfail for mcore.
512 2021-03-09 Jan Beulich <jbeulich@suse.com>
514 * testsuite/ld-scripts/alignof.exp,
515 testsuite/ld-scripts/data.exp,
516 testsuite/ld-scripts/default-script.exp,
517 testsuite/ld-scripts/log2.exp,
518 testsuite/ld-scripts/print-memory-usage.exp,
519 testsuite/ld-scripts/sizeof.exp,
520 testsuite/ld-undefined/weak-undef.exp: Set image base to zero
522 * testsuite/ld-scripts/default-script1.d,
523 testsuite/ld-scripts/default-script2.d,
524 testsuite/ld-scripts/default-script3.d,
525 testsuite/ld-scripts/default-script4.d: Drop xfail and comment.
527 2021-03-05 H.J. Lu <hongjiu.lu@intel.com>
531 * ldelf.c (ldelf_set_output_arch): New function.
532 * ldelf.h (ldelf_set_output_arch): New prototype.
533 * emultempl/elf.em (LDEMUL_SET_OUTPUT_ARCH): Default to
534 ldelf_set_output_arch.
535 * ld-x86-64/pe-x86-64-1.od: Expect __executable_start.
536 * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise.
537 * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise.
538 * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise.
539 * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise.
540 * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise.
541 * testsuite/ld-x86-64/pe-x86-64-6.obj.bz2: New file.
542 * testsuite/ld-x86-64/pe-x86-64-6.od: Likewise.
543 * testsuite/ld-x86-64/pe-x86-64.exp: Run ld/27425 test.
545 2021-03-04 Jan Beulich <jbeulich@suse.com>
547 * testsuite/ld-scripts/map-address.exp: Set image base to zero
549 * testsuite/ld-scripts/map-address.t: Place .text.
551 2021-03-04 Jan Beulich <jbeulich@suse.com>
553 * ldexp.c (ldexp_is_final_sym_absolute): New.
554 * ldexp.h (ldexp_is_final_sym_absolute): Declare.
555 * pe-dll.c (generate_reloc): Skip absolute symbols.
556 * testsuite/ld-pe/reloc.s, testsuite/ld-pe/reloc.d: New.
557 * testsuite/ld-pe/pe.exp: Run new test.
559 2021-03-03 Alan Modra <amodra@gmail.com>
562 * ldlang.c (insert_undefined): Don't mark symbols here.
563 (lang_mark_undefineds): Do so here instead, new function.
564 (lang_process): Call lang_mark_undefineds.
565 * testsuite/ld-gc/start3.d,
566 * testsuite/ld-gc/start3.s: New test.
567 * testsuite/ld-gc/start4.d,
568 * testsuite/ld-gc/start4.s: New test.
569 * testsuite/ld-gc/gc.exp: Run them.
571 2021-03-03 Alan Modra <amodra@gmail.com>
573 * testsuite/ld-gc/gc.exp: Define UNDERSCORE in ASFLAGS.
574 Move tests with ELF section directives to is_elf_format block.
575 * testsuite/ld-gc/abi-note.d: Run on more targets.
576 * testsuite/ld-gc/pr19167.d: Likewise and adjust xfails.
577 * testsuite/ld-gc/start.d: Likewise.
578 * testsuite/ld-gc/start2.d: Likewise.
579 * testsuite/ld-gc/stop.d: Likewise.
580 * testsuite/ld-gc/pr19167a.s: Add support for underscore targets.
581 * testsuite/ld-gc/start.s: Likewise.
582 * testsuite/ld-gc/start2.s: Likewise.
584 2021-03-02 Nick Alcock <nick.alcock@oracle.com>
586 * ldelfgen.c (ldelf_ctf_strtab_iter_cb): Skip zero-refcount strings.
588 2021-03-02 Alan Modra <amodra@gmail.com>
590 * testsuite/ld-powerpc/startstop.d,
591 * testsuite/ld-powerpc/startstop.r,
592 * testsuite/ld-powerpc/startstop.s: New test.
593 * testsuite/ld-powerpc/powerpc.exp: Run it.
595 2021-03-02 Alan Modra <amodra@gmail.com>
597 * testsuite/ld-powerpc/weak1.d,
598 * testsuite/ld-powerpc/weak1.r,
599 * testsuite/ld-powerpc/weak1.s,
600 * testsuite/ld-powerpc/weak1so.d,
601 * testsuite/ld-powerpc/weak1so.r: New tests.
602 * testsuite/ld-powerpc/powerpc.exp: Run them.
604 2021-03-01 Hannes Domani <ssbssa@sourceware.org>
605 Nick Clifton <nickc@redhat.com>
608 * scripttempl/pe.sc: Add DWARF-5 section names.
609 * scripttempl/pep.sc: Likewise.
611 2021-03-01 Alan Modra <amodra@gmail.com>
612 Fangrui Song <maskray@google.com>
614 * emultempl/elf.em: Handle -z start-stop-gc and -z nostart-stop-gc.
615 * lexsup.c (elf_static_list_options): Display help for them. Move
616 help for -z stack-size to here from elf_shlib_list_options. Add
617 help for -z start-stop-visibility and -z undefs.
618 * ld.texi: Document -z start-stop-gc and -z nostart-stop-gc.
619 * NEWS: Mention -z start-stop-gc.
620 * testsuite/ld-gc/start2.s,
621 * testsuite/ld-gc/start2.d: New test.
622 * testsuite/ld-gc/gc.exp: Run it.
624 2021-03-01 Alan Modra <amodra@gmail.com>
626 * ldlang.c (undef_start_stop): For ELF make undefined start/stop
627 symbols undefweak if that was how they were referenced. Undo
630 2021-03-01 Alan Modra <amodra@gmail.com>
632 * testsuite/ld-elf/pr25708.d: Add --with-symbol-versions to nm.
633 * testsuite/ld-elf/pr27128a.d: Likewise.
634 * testsuite/ld-elf/pr27128b.d: Likewise.
635 * testsuite/ld-elf/pr27128c.d: Likewise.
636 * testsuite/ld-elf/pr27128d.d: Likewise.
637 * testsuite/ld-elf/pr27128e.d: Likewise.
639 2021-02-26 Alan Modra <amodra@gmail.com>
642 * testsuite/ld-plugin/pr27441a.c,
643 * testsuite/ld-plugin/pr27441b.c,
644 * testsuite/ld-plugin/pr27441c.c,
645 * testsuite/ld-plugin/pr27441c.d: New test.
646 * testsuite/ld-plugin/lto.exp: Run it.
648 2021-02-25 Jan Beulich <jbeulich@suse.com>
650 * ld.texi (PROVIDE): Downgrade "error" to "diagnostic".
652 2021-02-21 Alan Modra <amodra@gmail.com>
654 * ldexp.c (exp_fold_tree_1): Warn on script defining a symbol
655 defined in an object file.
656 * ldmain.c (multiple_definition): Heed info->warn_multiple_definition.
657 * testsuite/ld-scripts/defined5.d: Expect a warning.
659 2021-02-19 Alan Modra <amodra@gmail.com>
661 * testsuite/lib/ld-lib.exp: Whitespace.
662 (load_common_lib): Expand single use and delete this proc.
663 (run_host_cmd): Use -fno-lto when getting gcc's ld version.
664 Use -B for clang too.
666 2021-02-18 Andrew Burgess <andrew.burgess@embecosm.com>
668 * testplugin.c (record_read_length): Remove debug fprintf.
670 2021-02-14 Alan Modra <amodra@gmail.com>
672 * testsuite/ld-cdtest/cdtest.exp,
673 * testsuite/ld-checks/checks.exp,
674 * testsuite/ld-elf/binutils.exp,
675 * testsuite/ld-elf/compress.exp,
676 * testsuite/ld-elf/dwarf.exp,
677 * testsuite/ld-elf/exclude.exp,
678 * testsuite/ld-elf/frame.exp,
679 * testsuite/ld-elf/indirect.exp,
680 * testsuite/ld-elf/linux-x86.exp,
681 * testsuite/ld-elf/sec-to-seg.exp,
682 * testsuite/ld-elf/tls_common.exp,
683 * testsuite/ld-elfcomm/elfcomm.exp,
684 * testsuite/ld-elfvers/vers.exp,
685 * testsuite/ld-elfvsb/elfvsb.exp,
686 * testsuite/ld-elfweak/elfweak.exp,
687 * testsuite/ld-ifunc/binutils.exp,
688 * testsuite/ld-mips-elf/mips-elf-flags.exp,
689 * testsuite/ld-misc/defsym.exp,
690 * testsuite/ld-mn10300/mn10300.exp,
691 * testsuite/ld-plugin/lto.exp,
692 * testsuite/ld-plugin/plugin.exp,
693 * testsuite/ld-scripts/align.exp,
694 * testsuite/ld-scripts/assert.exp,
695 * testsuite/ld-scripts/crossref.exp,
696 * testsuite/ld-scripts/defined.exp,
697 * testsuite/ld-scripts/extern.exp,
698 * testsuite/ld-scripts/log2.exp,
699 * testsuite/ld-scripts/map-address.exp,
700 * testsuite/ld-scripts/phdrs.exp,
701 * testsuite/ld-scripts/phdrs2.exp,
702 * testsuite/ld-scripts/script.exp,
703 * testsuite/ld-scripts/section-flags.exp,
704 * testsuite/ld-scripts/sizeof.exp,
705 * testsuite/ld-scripts/weak.exp,
706 * testsuite/ld-selective/selective.exp,
707 * testsuite/ld-sh/sh.exp,
708 * testsuite/ld-shared/shared.exp,
709 * testsuite/ld-srec/srec.exp,
710 * testsuite/ld-tic6x/tic6x.exp,
711 * testsuite/ld-undefined/undefined.exp,
712 * testsuite/ld-undefined/weak-undef.exp,
713 * testsuite/lib/ld-lib.exp: Don't use unresolved except after
714 perror. Instead report "unsupported" or "fail".
716 2021-02-12 Nick Clifton <nickc@redhat.com>
718 * testsuite/ld-elf/sec64k.exp: Stop readelf from automatically
719 following debug links.
721 2021-02-11 Alan Modra <amodra@gmail.com>
723 * NEWS: Mention arm-symbianelf removal.
725 2021-02-09 Alan Modra <amodra@gmail.com>
727 * Makefile.am (ALL_EMULATION_SOURCES): Remove earmsymbian.c.
728 Don't include symbian dep file.
729 * configure.tgt: Remove arm*-*-symbianelf* entry.
730 * emulparams/armsymbian.sh: Delete.
731 * ld.texi: Don't mention symbian.
732 * scripttempl/armbpabi.sc: Delete.
733 * testsuite/ld-arm/symbian-seg1.d: Delete.
734 * testsuite/ld-arm/symbian-seg1.s: Delete.
735 * testsuite/ld-arm/arm-elf.exp: Don't run symbian-seg1.
736 * Makefile.in: Regenerate.
737 * po/BLD-POTFILES.in: Regenerate.
739 2021-02-07 H.J. Lu <hongjiu.lu@intel.com>
742 * testsuite/ld-i386/i386.exp: Remove property 3/4/5 run-time
744 * testsuite/ld-x86-64/x86-64.exp: Likewise.
746 2021-01-26 Nick Alcock <nick.alcock@oracle.com>
748 * ldlang.c (lang_merge_ctf): Set CTF_LINK_NO_FILTER_REPORTED_SYMS
751 2021-02-04 H.J. Lu <hongjiu.lu@intel.com>
754 * testsuite/ld-x86-64/pr19609-2a.d: Updated.
755 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
756 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
757 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
758 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
759 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
760 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
762 2021-02-04 H.J. Lu <hongjiu.lu@intel.com>
765 * testsuite/ld-plugin/lto.exp: Run PR ld/15146 tests.
766 * testsuite/ld-plugin/pr15146.d: Restored.
767 * testsuite/ld-plugin/pr15146a.c: Likewise.
768 * testsuite/ld-plugin/pr15146b.c: Likewise.
769 * testsuite/ld-plugin/pr15146c.c: Likewise.
770 * testsuite/ld-plugin/pr15146d.c: Likewise.
772 2021-02-04 Alan Modra <amodra@gmail.com>
774 * testsuite/ld-plugin/pr27311d.c: New test.
775 * testsuite/ld-plugin/lto.exp: Rename pr27311 to pr27311-1, compile
776 and link new test as pr27311-2.
778 2021-02-03 Alan Modra <amodra@gmail.com>
780 * testsuite/ld-ifunc/ifunc.exp (libpr16467b.so, libpr16467bn.so):
781 Link with --as-needed.
783 2021-02-02 Alan Modra <amodra@gmail.com>
785 * testsuite/ld-plugin/pr27311.d,
786 * testsuite/ld-plugin/pr27311.ver,
787 * testsuite/ld-plugin/pr27311a.c,
788 * testsuite/ld-plugin/pr27311b.c,
789 * testsuite/ld-plugin/pr27311c.c: New testcase.
790 * testsuite/ld-plugin/lto.exp: Run it. Correct PR14918 and
793 2021-02-01 Emery Hemingway <ehmry@posteo.net>
795 * configure.tgt: Add *-*-genode* as a target for AArch64 and x86.
797 2021-02-01 Alan Modra <amodra@gmail.com>
799 * ldgram.y (defsym_expr): Use assignment rule.
800 * ldlex.h (ldlex_defsym): Delete.
801 * ldlex.l (DEFSYMEXP, ldlex_defsym): Delete.
803 2021-02-01 Alan Modra <amodra@gmail.com>
805 * ldgram.y (section): Call ldlex_backup. Remove empty action.
806 * ldlex.h (ldlex_backup): Declare.
807 * ldlex.l (<EXPRESSION>NAME): Don't use NOCFILENAMECHAR set of
808 chars, use SYMBOLNAMECHAR.
809 (ldlex_backup): New function.
811 2021-02-01 Alan Modra <amodra@gmail.com>
813 * ldgram.y: Whitespace fixes.
815 2021-02-01 Alan Modra <amodra@gmail.com>
817 * testsuite/ld-elf/pr27259.d: Correct sh_link match.
819 2021-01-29 Alan Modra <amodra@gmail.com>
821 * testsuite/ld-tic6x/tic6x.exp: Add pr27271 test.
823 2021-01-28 H.J. Lu <hongjiu.lu@intel.com>
826 * testsuite/ld-elf/pr27259.d: New file.
827 * testsuite/ld-elf/pr27259.s: Likewise.
829 2021-01-28 Alan Modra <amodra@gmail.com>
832 * ldelf.c (ldelf_before_place_orphans): Use linker_mark to
833 prevent endless looping of linked-to sections.
835 2021-01-26 H.J. Lu <hongjiu.lu@intel.com>
837 * testsuite/ld-x86-64/bnd-plt-1.d: Fix a typo.
839 2021-01-26 Alan Modra <amodra@gmail.com>
842 * emulparams/alphavms.sh: Don't set COMPILE_IN.
843 * emulparams/elf64_ia64_vms.sh: Likewise.
844 * emulparams/elf64mmix.sh: Likewise.
845 * emulparams/elf_iamcu.sh: Likewise.
846 * emulparams/elf_k1om.sh: Likewise.
847 * emulparams/elf_l1om.sh: Likewise.
848 * emulparams/mmo.sh: Likewise.
849 * emulparams/pdp11.sh: Set DATA_SEG_ADDR.
850 * scripttempl/pdp11.sc: Use it.
851 * emultempl/pdp11.em: Don't edit .xn script for separate_code,
852 instead use .xe script. Support scripts from file system.
853 * emultempl/beos.em: Support scripts from file system.
854 * emultempl/pe.em: Likewise.
855 * emultempl/pep.em: Likewise.
856 * testsuite/ld-bootstrap/bootstrap.exp: Make tmpdir/ldscripts link.
858 2021-01-25 Fangrui Song <maskray@google.com>
861 * scripttempl/DWARF.sc: Add .debug_* sections.
863 2021-01-25 Nick Clifton <nickc@redhat.com>
865 * scripttempl/DWARF.sc: Add .debug_loclists, .debug_rnglists,
866 .debug_line_str and .debug_str_offsets. Move .debug_macro and
867 .debug_addr into DWARF-5 section.
869 2021-01-21 Alan Modra <amodra@gmail.com>
871 * testsuite/ld-elf/pr26936.d: No longer xfail mips.
873 2021-01-20 Alan Modra <amodra@gmail.com>
875 * testsuite/ld-powerpc/relbrlt.s: Make symbols global.
876 * testsuite/ld-powerpc/relbrlt.d: Adjust to suit.
877 * testsuite/ld-powerpc/tlsget.d: Adjust for reordered stubs.
878 * testsuite/ld-powerpc/tlsget.wf: Likewise.
879 * testsuite/ld-powerpc/tlsget2.d: Likewise.
880 * testsuite/ld-powerpc/tlsget2.wf: Likewise.
881 * testsuite/ld-powerpc/tlsexe.r: Adjust for removed section syms.
882 * testsuite/ld-powerpc/tlsexe32.r: Likewise.
883 * testsuite/ld-powerpc/tlsexe32no.r: Likewise.
884 * testsuite/ld-powerpc/tlsexeno.r: Likewise.
885 * testsuite/ld-powerpc/tlsexenors.r: Likewise.
886 * testsuite/ld-powerpc/tlsexers.r: Likewise.
887 * testsuite/ld-powerpc/tlsexetoc.r: Likewise.
888 * testsuite/ld-powerpc/tlsexetocrs.r: Likewise.
889 * testsuite/ld-powerpc/tlsso.r: Likewise.
890 * testsuite/ld-powerpc/tlsso32.r: Likewise.
891 * testsuite/ld-powerpc/tlstocso.r: Likewise.
893 2021-01-19 Nick Alcock <nick.alcock@oracle.com>
895 * testsuite/ld-ctf/data-func-2.c: Stop removal of the extern foo_t
896 symbols by the optimizer.
897 * testsuite/ld-ctf/data-func-conflicted.d: Adjust accordingly.
899 2021-01-19 Nelson Chu <nelson.chu@sifive.com>
901 * testsuite/ld-elf/elf.exp (riscv_little_endian): Added. Return true
902 if target is riscv little endian. Otherwise, return false.
903 * testsuite/ld-elf/compressed1d.d: Only xfail the riscv little endian
904 targets by [riscv_little_endian].
906 2021-01-18 Alan Modra <amodra@gmail.com>
909 * ldlang.c (map_input_to_output_sections): Start with a read-only
910 section for data statements.
911 * testsuite/ld-elf/size-2.d: Adjust to suit.
913 2021-01-17 H.J. Lu <hongjiu.lu@intel.com>
916 * testsuite/ld-i386/i386.exp: Run PR ld/27193 test.
917 * testsuite/ld-i386/pr27193.dd: New file.
918 * testsuite/ld-i386/pr27193a.o.bz2: Likewise.
919 * testsuite/ld-i386/pr27193b.s: Likewise.
921 2021-01-16 H.J. Lu <hongjiu.lu@intel.com>
924 * testsuite/ld-plugin/lto.exp: Increase the max number of open
925 files to 20 for PR binutils/23460 test.
927 2021-01-16 H.J. Lu <hongjiu.lu@intel.com>
930 * testsuite/ld-ifunc/ifunc.exp: Replace pr23169c.rd with
931 pr23169a.rd for pr23169c and pr23169f. Remove pr23169e tests.
932 * testsuite/ld-ifunc/pr23169a.c (foo): Don't compare function
935 2021-01-15 H.J. Lu <hongjiu.lu@intel.com>
937 * NEWS: Mention -z report-relative-reloc.
938 * ld.texi: Document -z report-relative-reloc.
939 * emulparams/elf32_x86_64.sh: Source x86-report-relative.sh.
940 * emulparams/elf_i386.sh: Likewse.
941 * emulparams/elf_x86_64.sh: Likewse.
942 * emulparams/x86-report-relative.sh: New file.
943 * testsuite/ld-i386/report-reloc-1.d: Likewse.
944 * testsuite/ld-i386/report-reloc-1.l: Likewse.
945 * testsuite/ld-i386/report-reloc-1.s: Likewse.
946 * testsuite/ld-x86-64/report-reloc-1-x32.d: Likewse.
947 * testsuite/ld-x86-64/report-reloc-1.d: Likewse.
948 * testsuite/ld-x86-64/report-reloc-1.l: Likewse.
949 * testsuite/ld-x86-64/report-reloc-1.s: Likewse.
950 * testsuite/ld-i386/i386.exp: Run report-reloc-1.
951 * testsuite/ld-x86-64/x86-64.exp: Run report-reloc-1 and
954 2021-01-16 Alan Modra <amodra@gmail.com>
957 * testsuite/ld-elfvers/vers6.dsym: Expect "Base" for undefined
959 * testsuite/ld-elfvers/vers16.dsym: Likewise.
961 2021-01-15 Nelson Chu <nelson.chu@sifive.com>
963 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-01.d: Updated.
964 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-02.d: Likewise.
965 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-03.d: Likewise.
966 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-04.d: Likewise.
967 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-05.d: Likewise.
968 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-06.d: Likewise.
970 2021-01-14 Nick Clifton <nickc@redhat.com>
972 * po/fr.po: Updated French translation.
974 2021-01-14 Mike Frysinger <vapier@gentoo.org>
976 * testsuite/config/default.exp [bfin*-elf*] (gcc_B_opt): Add -msim.
978 2021-01-14 Alan Modra <amodra@gmail.com>
981 * ldelfgen.c (compare_link_order): Protect access of ELF section
983 (add_link_order_input_section): Remove redundant NULL check.
985 (ldelf_map_segments): Use bfd_get_flavour.
987 2021-01-13 H.J. Lu <hongjiu.lu@intel.com>
989 * ldelfgen.c (add_link_order_input_section): Check for ELF input
990 before accessing ELF section data.
992 2021-01-13 Alan Modra <amodra@gmail.com>
994 * Makefile.in: Regenerate.
996 2021-01-13 Alan Modra <amodra@gmail.com>
999 * ldlang.h (lang_output_section_statement_type): Add data field.
1000 (lang_input_section_type, lang_section_bst_type): Add pattern field.
1001 (statement_list): Declare.
1002 (lang_add_section): Adjust prototype.
1003 * emultempl/aarch64elf.em: Adjust lang_add_section calls.
1004 * emultempl/armelf.em: Likewise.
1005 * emultempl/beos.em: Likewise.
1006 * emultempl/cskyelf.em: Likewise.
1007 * emultempl/hppaelf.em: Likewise.
1008 * emultempl/m68hc1xelf.em: Likewise.
1009 * emultempl/metagelf.em: Likewise.
1010 * emultempl/mipself.em: Likewise.
1011 * emultempl/mmo.em: Likewise.
1012 * emultempl/msp430.em: Likewise.
1013 * emultempl/nios2elf.em: Likewise.
1014 * emultempl/pe.em: Likewise.
1015 * emultempl/pep.em: Likewise.
1016 * emultempl/ppc64elf.em: Likewise.
1017 * emultempl/spuelf.em: Likewise.
1018 * emultempl/vms.em: Likewise.
1019 * ldelf.c: Likewise.
1020 * ldelfgen.c: Include ldctor.h.
1021 (struct os_sections): New.
1022 (add_link_order_input_section, link_order_scan): New functions.
1023 (compare_link_order, fixup_link_order): New functions.
1024 (ldelf_map_segments): Call link_order_scan and fixup_link_order.
1025 * ldlang.c (statement_list): Make global.
1026 (output_section_callback_fast): Save pattern in tree node.
1027 (lang_add_section): Add pattern parameter, save in lang_input_section.
1028 (output_section_callback_tree_to_list): Adjust lang_add_section calls.
1029 (lang_insert_orphan, output_section_callback): Likewise.
1030 (ldlang_place_orphan): Likewise.
1031 (gc_section_callback): Don't set section->pattern.
1032 * testsuite/ld-elf/pr26256-2a.d: Don't xfail generic.
1033 * testsuite/ld-elf/pr26256-3b.d: Likewise.
1034 * testsuite/ld-elf/pr26256-2b.d: Likewise. notarget xgate.
1036 2021-01-13 Alan Modra <amodra@gmail.com>
1038 * ldlang.h (callback_t): Remove flag_info function parameter.
1039 * ldlang.c (walk_wild_consider_section): Adjust to suit.
1040 (walk_wild_section_general): Likewise.
1041 (output_section_callback_fast, output_section_callback): Likewise.
1042 (check_section_callback, gc_section_callback): Likewise.
1043 (find_relro_section_callback): Likewise.
1045 2021-01-12 H.J. Lu <hongjiu.lu@intel.com>
1048 * configure.ac: Use GNU_MAKE_JOBSERVER.
1049 * aclocal.m4: Regenerated.
1050 * configure: Likewise.
1052 2021-01-12 H.J. Lu <hongjiu.lu@intel.com>
1055 * testsuite/ld-x86-64/pe-x86-64-5.obj.bz2: New file.
1056 * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise.
1057 * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise.
1058 * testsuite/ld-x86-64/pe-x86-64.exp: Run PR ld/27171 test.
1060 2021-01-11 H.J. Lu <hongjiu.lu@intel.com>
1063 * configure: Regenerated.
1065 2021-01-11 Matt Jenkins <matt@majenko.co.uk>
1068 * ldmain.c (get_emulation): Add mipsmips32r3, mips32r5, mips64r3
1069 and mips64r5 to list of known mips targets.
1071 2021-01-11 Nick Clifton <nickc@redhat.com>matt@majenko.co.uk
1073 * po/pt_BR.po: Updated Brazilian Portuguese translation.
1074 ` * po/uk.po: Updated Ukranian translation.
1076 2021-01-09 H.J. Lu <hongjiu.lu@intel.com>
1078 * configure: Regenerated.
1080 2021-01-09 H.J. Lu <hongjiu.lu@intel.com>
1083 * testsuite/ld-x86-64/lam-u48.rd: New file.
1084 * testsuite/ld-x86-64/lam-u57.rd: Likewise.
1085 * testsuite/ld-x86-64/x86-64.exp: Add PR ld/27166 tests.
1087 2021-01-09 Nick Clifton <nickc@redhat.com>
1089 * configure: Regenerate.
1090 * po/ld.pot: Regenerate.
1092 2021-01-09 Nick Clifton <nickc@redhat.com>
1094 * 2.36 release branch crated.
1096 2021-01-08 H.J. Lu <hongjiu.lu@intel.com>
1098 * ld-x86-64/property-x86-lam-u48-4.d: Updated.
1099 * ld-x86-64/property-x86-lam-u48-5.d: Likewise.
1101 2021-01-09 Alan Modra <amodra@gmail.com>
1103 * configure: Regenerate.
1104 * Makefile.in: Regenerate.
1106 2021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
1108 * configure: Regenerate.
1110 2021-01-07 H.J. Lu <hongjiu.lu@intel.com>
1113 * testsuite/ld-elf/export-class.sd: Adjust the expected output.
1114 * testsuite/ld-elf/loadaddr3b.d: Likewise.
1115 * testsuite/ld-i386/ibt-plt-1.d: Likewise.
1116 * testsuite/ld-i386/ibt-plt-2a.d: Likewise.
1117 * testsuite/ld-i386/ibt-plt-2c.d: Likewise.
1118 * testsuite/ld-i386/ibt-plt-3a.d: Likewise.
1119 * testsuite/ld-i386/ibt-plt-3c.d: Likewise.
1120 * testsuite/ld-i386/pr19636-1d.d: Likewise.
1121 * testsuite/ld-i386/pr19636-1l.d: Likewise.
1122 * testsuite/ld-i386/pr19636-2c.d: Likewise.
1123 * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise.
1124 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise.
1125 * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Likewise.
1126 * testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise.
1127 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1128 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1129 * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise.
1130 * testsuite/ld-ifunc/pr17154-i386.d: Likewise.
1131 * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
1132 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
1133 * testsuite/ld-x86-64/bnd-branch-1-now.d: Likewise.
1134 * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise.
1135 * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise.
1136 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
1137 * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise.
1138 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
1139 * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise.
1140 * testsuite/ld-x86-64/ibt-plt-1.d: Likewise.
1141 * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise.
1142 * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise.
1143 * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise.
1144 * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise.
1145 * testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise.
1146 * testsuite/ld-x86-64/ibt-plt-3a.d: Likewise.
1147 * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise.
1148 * testsuite/ld-x86-64/ibt-plt-3c.d: Likewise.
1149 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
1150 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
1151 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
1152 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
1153 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
1154 * testsuite/ld-x86-64/pr19636-2l.d: Likewise.
1155 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
1156 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
1157 * testsuite/ld-x86-64/pr21038b-now.d: Likewise.
1158 * testsuite/ld-x86-64/pr21038b.d: Likewise.
1159 * testsuite/ld-x86-64/pr21038c-now.d: Likewise.
1160 * testsuite/ld-x86-64/pr21038c.d: Likewise.
1161 * testsuite/ld-x86-64/pr23854.d: Likewise.
1162 * testsuite/ld-x86-64/pr25416-3.d: Likewise.
1163 * testsuite/ld-x86-64/pr25416-4.d: Likewise.
1164 * testsuite/ld-i386/plt-pic.pd: Likewise.
1165 * testsuite/ld-i386/plt-pic2.dd: Likewise.
1166 * testsuite/ld-i386/plt.pd: Likewise.
1167 * testsuite/ld-i386/plt2.dd: Likewise.
1168 * testsuite/ld-i386/tlsbin.rd: Likewise.
1169 * testsuite/ld-i386/tlsbin2.rd: Likewise.
1170 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
1171 * testsuite/ld-i386/tlsdesc.rd: Likewise.
1172 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
1173 * testsuite/ld-i386/tlsnopic.rd: Likewise.
1174 * testsuite/ld-i386/tlspic.rd: Likewise.
1175 * testsuite/ld-i386/tlspic2.rd: Likewise.
1176 * testsuite/ld-x86-64/mpx3.dd: Likewise.
1177 * testsuite/ld-x86-64/mpx3n.dd: Likewise.
1178 * testsuite/ld-x86-64/mpx4.dd: Likewise.
1179 * testsuite/ld-x86-64/mpx4n.dd: Likewise.
1180 * testsuite/ld-x86-64/pe-x86-64-1.od: Likewise.
1181 * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise.
1182 * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise.
1183 * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise.
1184 * testsuite/ld-x86-64/plt.pd: Likewise.
1185 * testsuite/ld-x86-64/plt2.dd: Likewise.
1186 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
1187 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
1188 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
1189 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1190 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
1191 * testsuite/ld-x86-64/tlspic.rd: Likewise.
1192 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
1193 * testsuite/ld-elf/sec64k.exp: Check
1194 is_elf_unused_section_symbols.
1196 2021-01-07 Alan Modra <amodra@gmail.com>
1198 * testsuite/ld-scripts/fill.d: Skip sh-*-pe rather than xfail.
1199 * testsuite/ld-scripts/fill16.d: Don't xfail sh-*-pe.
1200 * testsuite/ld-scripts/segment-start.d: Likewise.
1202 2021-01-07 Alan Modra <amodra@gmail.com>
1204 * testsuite/ld-elf/comm-data5.d: xfail targets that complain
1205 about dynamic relocations in read-only sections.
1206 * testsuite/ld-elf/ehdr_start-shared.d: Likewise.
1207 * testsuite/ld-elf/ehdr_start.d: Likewise.
1208 * testsuite/ld-scripts/pr22267.d: Likewise.
1209 * testsuite/ld-elf/shared.exp: Likewise for DT_TEXTREL tests and
1211 * testsuite/ld-elf/sec64k.exp: Don't run 64ksec on lm32-linux.
1213 2021-01-07 Marcus Comstedt <marcus@mc.pp.se>
1215 * testsuite/ld-scripts/empty-address-2a.d: xfail riscv64*-*-*.
1216 * testsuite/ld-scripts/empty-address-2b.d: Likewise.
1218 2021-01-07 Alan Modra <amodra@gmail.com>
1220 * po/BLD-POTFILES.in: Regenerate.
1222 2021-01-07 Alan Modra <amodra@gmail.com>
1224 * testsuite/ld-elf/shared.exp: xfail pr22471 for targets that
1225 complain about relocs in read-only sections. Tidy ASFLAGS append.
1227 2021-01-06 Alan Modra <amodra@gmail.com>
1229 * testsuite/ld-sparc/sparc.exp (sparc64tests): Set text-segment
1230 base for some tests.
1231 * testsuite/ld-sparc/gotop32.dd: Match solaris output.
1232 * testsuite/ld-sparc/gotop32.sd: Likewise.
1233 * testsuite/ld-sparc/gotop32.td: Likewise.
1234 * testsuite/ld-sparc/gotop64.dd: Likewise.
1235 * testsuite/ld-sparc/gotop64.sd: Likewise.
1236 * testsuite/ld-sparc/gotop64.td: Likewise.
1237 * testsuite/ld-sparc/tlsg32.sd: Likewise.
1238 * testsuite/ld-sparc/tlsg64.sd: Likewise.
1239 * testsuite/ld-sparc/tlspie32.dd: Likewise.
1240 * testsuite/ld-sparc/tlspie64.dd: Likewise.
1241 * testsuite/ld-sparc/tlssunbin32.dd: Likewise.
1242 * testsuite/ld-sparc/tlssunbin32.sd: Likewise.
1243 * testsuite/ld-sparc/tlssunbin32.td: Likewise.
1244 * testsuite/ld-sparc/tlssunbin64.dd: Likewise.
1245 * testsuite/ld-sparc/tlssunbin64.sd: Likewise.
1246 * testsuite/ld-sparc/tlssunbin64.td: Likewise.
1247 * testsuite/ld-sparc/tlssunnopic32.dd: Likewise.
1248 * testsuite/ld-sparc/tlssunnopic32.sd: Likewise.
1249 * testsuite/ld-sparc/tlssunnopic64.dd: Likewise.
1250 * testsuite/ld-sparc/tlssunnopic64.sd: Likewise.
1251 * testsuite/ld-sparc/tlssunpic32.dd: Likewise.
1252 * testsuite/ld-sparc/tlssunpic32.sd: Likewise.
1253 * testsuite/ld-sparc/tlssunpic32.td: Likewise.
1254 * testsuite/ld-sparc/tlssunpic64.dd: Likewise.
1255 * testsuite/ld-sparc/tlssunpic64.sd: Likewise.
1256 * testsuite/ld-sparc/tlssunpic64.td: Likewise.
1257 * testsuite/ld-sparc/wdispcall.dd: Likewise.
1259 2021-01-06 Alan Modra <amodra@gmail.com>
1261 * testsuite/ld-scripts/rgn-at10.d: xfail v850.
1262 * testsuite/ld-scripts/rgn-at11.d: Likewise.
1264 2021-01-06 Marcus Comstedt <marcus@mc.pp.se>
1266 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Added
1267 riscv_choose_[ilp32|lp64]_emul to choose the correct linker script.
1268 * testsuite/ld-riscv-elf/attr-merge-arch-01.d: Call
1269 riscv_choose_[ilp32|lp64]_emul instead of hardcoding elf[32|64]lriscv.
1270 * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
1271 * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
1272 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Likewise.
1273 * testsuite/ld-riscv-elf/attr-merge-arch-failed-02.d: Likewise.
1274 * testsuite/ld-riscv-elf/c-lui-2.d: Likewise.
1275 * testsuite/ld-riscv-elf/c-lui.d: Likewise.
1276 * testsuite/ld-riscv-elf/call-relax.d: Likewise.
1277 * testsuite/ld-riscv-elf/pcrel-lo-addend-2.d: Likewise.
1278 * testsuite/ld-riscv-elf/pcrel-lo-addend.d: Likewise.
1279 * testsuite/ld-riscv-elf/weakref32.d: Accept bigriscv in addition
1281 * testsuite/ld-riscv-elf/weakref64.d: Likewise.
1283 2021-01-06 Marcus Comstedt <marcus@mc.pp.se>
1285 * configure.tgt: Added riscvbe-*-*, riscv32be*-*-*, riscv64be*-*-*,
1286 riscv32be*-*-linux*, and riscv64be*-*-linux*.
1287 * Makefile.am: Added eelf32briscv.c, eelf32briscv_ilp32f.c and
1288 eelf32briscv_ilp32.c.
1289 * Makefile.in: Regenerate.
1290 * emulparams/elf32briscv.sh: Added.
1291 * emulparams/elf32briscv_ilp32.sh: Likewise.
1292 * emulparams/elf32briscv_ilp32f.sh: Likewise.
1293 * emulparams/elf64briscv.sh: Likewise.
1294 * emulparams/elf64briscv_lp64.sh: Likewise.
1295 * emulparams/elf64briscv_lp64f.sh: Likewise.
1297 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
1299 * testsuite/ld-ctf/enum-forward.c: New test.
1300 * testsuite/ld-ctf/enum-forward.c: New results.
1302 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
1304 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
1305 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
1306 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
1307 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
1308 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
1309 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
1310 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
1311 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
1312 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
1313 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
1314 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
1315 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
1316 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
1317 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
1318 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
1319 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
1320 * testsuite/ld-ctf/cycle-1.d: Likewise.
1321 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
1322 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
1323 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
1324 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
1325 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
1326 * testsuite/ld-ctf/diag-cuname.d: Likewise.
1327 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
1328 * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise.
1329 * testsuite/ld-ctf/forward.d: Likewise.
1330 * testsuite/ld-ctf/function.d: Likewise.
1331 * testsuite/ld-ctf/slice.d: Likewise.
1332 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
1333 * testsuite/ld-ctf/enums.c: New test.
1334 * testsuite/ld-ctf/enums.d: New test.
1336 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
1338 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Adjust for dumper
1340 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
1341 * testsuite/ld-ctf/forward.c: New test...
1342 * testsuite/ld-ctf/forward.d: ... and results.
1344 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
1346 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
1347 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
1348 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
1349 * testsuite/ld-ctf/diag-cuname.d: Likewise.
1350 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
1351 * testsuite/ld-ctf/function.d: Likewise.
1352 * testsuite/ld-ctf/slice.d: Likewise.
1354 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
1356 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
1357 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
1358 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
1359 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
1360 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
1361 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
1362 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
1363 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
1364 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
1365 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
1366 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
1367 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
1368 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
1369 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
1370 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
1371 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
1372 * testsuite/ld-ctf/cycle-1.d: Likewise.
1373 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
1374 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
1375 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
1376 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
1377 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
1378 * testsuite/ld-ctf/diag-cuname.d: Likewise.
1379 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
1380 * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise.
1381 * testsuite/ld-ctf/function.d: Likewise.
1382 * testsuite/ld-ctf/slice.d: Likewise.
1383 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
1385 2021-01-05 Alan Modra <amodra@gmail.com>
1387 * testsuite/ld-scripts/sysroot-prefix.exp: Exclude some targets.
1389 2021-01-05 Alan Modra <amodra@gmail.com>
1392 * testsuite/ld-elf/pr26256-1b.d: xfail s12z.
1393 * testsuite/ld-scripts/crossref.exp (cross1): Don't xfail ia64.
1395 2021-01-04 H.J. Lu <hongjiu.lu@intel.com>
1398 * ldlang.c (gc_section_callback): Set pattern.
1399 * testsuite/ld-elf/pr26256-1.s: New file.
1400 * testsuite/ld-elf/pr26256-1.t: Likewise.
1401 * testsuite/ld-elf/pr26256-1a.d: Likewise.
1402 * testsuite/ld-elf/pr26256-1b.d: Likewise.
1403 * testsuite/ld-elf/pr26256-2.s: Likewise.
1404 * testsuite/ld-elf/pr26256-2.t: Likewise.
1405 * testsuite/ld-elf/pr26256-2a.d: Likewise.
1406 * testsuite/ld-elf/pr26256-2b-alt.d: Likewise.
1407 * testsuite/ld-elf/pr26256-2b.d: Likewise.
1408 * testsuite/ld-elf/pr26256-3.s: Likewise.
1409 * testsuite/ld-elf/pr26256-3a.d: Likewise.
1410 * testsuite/ld-elf/pr26256-3a.t: Likewise.
1411 * testsuite/ld-elf/pr26256-3b.d: Likewise.
1412 * testsuite/ld-elf/pr26256-3b.t: Likewise.
1414 2021-01-04 Alan Modra <amodra@gmail.com>
1417 * testsuite/ld-arm/non-contiguous-arm2.d: Adjust STT_FILE symbol match.
1418 * testsuite/ld-arm/non-contiguous-arm3.d: Likewise.
1419 * testsuite/ld-arm/non-contiguous-arm5.d: Likewise.
1420 * testsuite/ld-arm/non-contiguous-arm6.d: Likewise.
1421 * testsuite/ld-i386/tlsbin.rd: Likewise.
1422 * testsuite/ld-i386/tlsbin2.rd: Likewise.
1423 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
1424 * testsuite/ld-i386/tlsdesc.rd: Likewise.
1425 * testsuite/ld-i386/tlsnopic.rd: Likewise.
1426 * testsuite/ld-i386/tlspic.rd: Likewise.
1427 * testsuite/ld-i386/tlspic2.rd: Likewise.
1428 * testsuite/ld-mips-elf/global-local-symtab-sort-n64.d: Likewise.
1429 * testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d: Likewise.
1430 * testsuite/ld-mips-elf/global-local-symtab-sort-o32.d: Likewise.
1431 * testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d: Likewise.
1432 * testsuite/ld-plugin/pr17973.d: Likewise.
1433 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
1434 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
1435 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
1436 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
1437 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
1438 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
1439 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
1440 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
1441 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
1442 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
1443 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
1444 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
1445 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
1446 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
1447 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
1448 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
1449 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1450 * testsuite/ld-x86-64/tlspic.rd: Likewise.
1451 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
1452 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
1453 * testsuite/ld-xtensa/tlspic.rd: Likewise.
1455 2021-01-01 Nicolas Boulenguez <nicolas@debian.org>
1457 * configure.tgt: Correct comment grammar.
1458 * emultempl/m68hc1xelf.em: Likewise.
1459 * ld.texi: Correct grammar.
1461 2021-01-01 Alan Modra <amodra@gmail.com>
1463 Update year range in copyright notice of all files.
1465 For older changes see ChangeLog-2020
1467 Copyright (C) 2021 Free Software Foundation, Inc.
1469 Copying and distribution of this file, with or without modification,
1470 are permitted in any medium without royalty provided the copyright
1471 notice and this notice are preserved.
1477 version-control: never