1 2021-05-31 Nelson Chu <nelson.chu@sifive.com>
2 Lifang Xia <lifang_xia@c-sky.com>
5 * emultempl/riscvelf.em (after_allocation): Call
6 riscv_set_data_segment_info to set data segment phase before relaxing.
7 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
8 * testsuite/ld-riscv-elf/relro-relax-lui.d: New testcase.
9 * testsuite/ld-riscv-elf/relro-relax-lui.s: Likewise.
10 * testsuite/ld-riscv-elf/relro-relax-pcrel.d: Likewise.
11 * testsuite/ld-riscv-elf/relro-relax-pcrel.s: Likewise.
13 2021-05-28 H.J. Lu <hongjiu.lu@intel.com>
16 * testsuite/ld-i386/pcrel16-2.d: xfail.
17 * testsuite/ld-x86-64/pcrel16-2.d: Likewise.
19 2021-05-26 H.J. Lu <hongjiu.lu@intel.com>
22 * testsuite/ld-i386/code16.d: New file.
23 * testsuite/ld-i386/code16.t: Likewise.
24 * testsuite/ld-x86-64/code16.d: Likewise.
25 * testsuite/ld-x86-64/code16.t: Likewise.
26 * testsuite/ld-i386/i386.exp: Run code16.
27 * testsuite/ld-x86-64/x86-64.exp: Likewise.
29 2021-05-26 H.J. Lu <hongjiu.lu@intel.com>
31 * testsuite/ld-x86-64/ilp32-12.d: New file.
32 * testsuite/ld-x86-64/ilp32-12.s: Likewise.
33 * testsuite/ld-x86-64/x86-64.exp: Run ilp32-12.
35 2021-05-14 Nelson Chu <nelson.chu@sifive.com>
37 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
38 * testsuite/ld-riscv-elf/pcrel-lo-addend-2a.d: Renamed from
40 * testsuite/ld-riscv-elf/pcrel-lo-addend-2a.s: Likewise.
41 * testsuite/ld-riscv-elf/pcrel-lo-addend-2b.d: New testcase.
42 * testsuite/ld-riscv-elf/pcrel-lo-addend-2b.s: Likewise.
44 2021-05-13 Fangrui Song <maskray@google.com>
47 * ldlex.h (enum option_values): Add OPTION_NO_SYMBOLIC.
48 * lexsup.c (ld_options): Add -Bno-symbolic.
49 (parse_args): Handle -Bno-symbolic.
50 * ld.texi: Document -Bno-symbolic.
51 * NEWS: Mention -Bno-symbolic.
52 * testsuite/ld-elf/shared.exp: Add a test.
54 2021-05-12 Richard Earnshaw <rearnsha@arm.com>
56 * testsuite/ld-arm/arm-elf.exp (farcall test for v8-m.mainline):
57 Correct expected output.
59 2021-05-11 Roland McGrath <mcgrathr@google.com>
61 * testsuite/ld-x86-64/rela.d: Fix regexp not to presume a specific
62 address layout, so it works for e.g. --target=x86-64-elf.
64 2021-05-11 Nick Clifton <nickc@redhat.com>
67 * Makefile.am (install-data-local): Also delete libdep.dll.a if it
69 * Makefile.in: Regenerate.
71 2021-05-10 Dimitar Dimitrov <dimitar@dinux.eu>
73 * testsuite/ld-elf/group8a.d: Remove pru from XFAIL list.
74 * testsuite/ld-elf/group8b.d: Ditto.
75 * testsuite/ld-elf/group9a.d: Ditto.
76 * testsuite/ld-elf/group9b.d: Ditto.
77 * testsuite/ld-elf/pr12851.d: Ditto.
78 * testsuite/ld-elf/pr22677.d: Ditto.
79 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Remove
82 2021-05-10 Dimitar Dimitrov <dimitar@dinux.eu>
84 * scripttempl/pru.sc (.resource_table): Add ALIGN directive.
85 Use symbols for memory sizes.
87 2021-05-08 Mike Frysinger <vapier@gentoo.org>
89 * Makefile.am (html-local, doc/ld/index.html): New targets.
90 * Makefile.in: Regenerate.
92 2021-05-08 Mike Frysinger <vapier@gentoo.org>
94 * Makefile.am (AM_MAKEINFOFLAGS): Add --no-split.
95 * Makefile.in: Regenerate.
97 2021-05-07 Jan Beulich <jbeulich@suse.com>
99 * testsuite/ld-x86-64/rela.d: New.
100 * testsuite/ld-x86-64/x86-64.exp: Run new test.
102 2021-05-07 Nick Clifton <nickc@redhat.com>
104 * ldelfgen.c (compare_link_order): Ignore section size when
105 performing a relocateable link.
107 2021-05-07 Alan Modra <amodra@gmail.com>
109 * ldexp.c (update_definedness): Don't return false for absolute
111 * ldmain.c (multiple_definition): Print "warning: " in message
112 when not a hard error.
114 2021-05-07 Alan Modra <amodra@gmail.com>
116 * testsuite/ld-elf/pr27825-1.d: Correct xfail.
117 * testsuite/ld-elf/pr27825-2.d: Likewise.
119 2021-05-06 Stafford Horne <shorne@gmail.com>
122 testsuite/ld-or1k/or1k.exp (or1kplttests): Add tests for linking
123 along with gotha() relocations.
124 testsuite/ld-or1k/gotha1.dd: New file.
125 testsuite/ld-or1k/gotha1.s: New file.
126 testsuite/ld-or1k/gotha2.dd: New file.
127 testsuite/ld-or1k/gotha2.s: New file
128 testsuite/ld-or1k/pltlib.s (x): Define size to avoid link
131 2021-05-06 Nick Alcock <nick.alcock@oracle.com>
133 * testsuite/ld-ctf/ctf.exp: Use -gctf, not -gt.
134 * testsuite/lib/ld-lib.exp: Likewise.
135 * testsuite/ld-ctf/nonrepresentable-1.c: New test for nonrepresentable types.
136 * testsuite/ld-ctf/nonrepresentable-2.c: Likewise.
137 * testsuite/ld-ctf/nonrepresentable.d: Likewise.
138 * testsuite/ld-ctf/array.d: Larger type section.
139 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
140 * testsuite/ld-ctf/enums.d: Likewise.
141 * testsuite/ld-ctf/conflicting-enums.d: Don't compare types.
142 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Changed type order.
143 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
144 * testsuite/ld-ctf/slice.d: Adjust for improved slice emission.
146 2021-05-05 H.J. Lu <hongjiu.lu@intel.com>
149 * testsuite/ld-elf/pr27825-1.d: New file.
150 * testsuite/ld-elf/pr27825-1a.s: Likewise.
151 * testsuite/ld-elf/pr27825-1b.s: Likewise.
152 * testsuite/ld-elf/pr27825-2.d: Likewise.
153 * testsuite/ld-elf/pr27825-2a.s: Likewise.
154 * testsuite/ld-elf/pr27825-2b.s: Likewise.
156 2021-05-05 Alan Modra <amodra@gmail.com>
158 * testsuite/ld-powerpc/empty.s: New file.
159 * testsuite/ld-powerpc/undefweak.d,
160 * testsuite/ld-powerpc/undefweak.s: New testcase.
161 * testsuite/ld-powerpc/powerpc.exp: Run it.
163 2021-05-03 Alan Modra <amodra@gmail.com>
165 * testsuite/ld-s390/tlspic_64.rd: Adjust expected output for
166 named section symbols.
168 2021-04-28 Nick Clifton <nickc@redhat.com>
170 * testsuite/ld-elf/anno-sym.s: New test source file.
171 * testsuite/ld-elf/anno-sym.d: New test driver.
172 * testsuite/ld-elf/anno-sym.l: New test error output.
174 2021-04-26 Jan Beulich <jbeulich@suse.com>
176 * testsuite/ld-i386/pcrel16-2.s, testsuite/ld-i386/pcrel16-2.d,
177 testsuite/ld-x86-64/pcrel16-2.d: New.
178 * testsuite/ld-i386/i386.exp: Run new test.
179 * testsuite/ld-x86-64/x86-64.exp: Likewise.
181 2021-04-23 H.J. Lu <hongjiu.lu@intel.com>
184 * testsuite/ld-bootstrap/bootstrap.exp: Create a symbolic link
185 to tmpdir/ldscripts only if it doesn't exist.
187 2021-04-22 Jan Beulich <jbeulich@suse.com>
190 * testsuite/ld-pe/pr26659-weak-undef-sym.d: Relax for Cygwin.
192 2021-04-21 Nick Clifton <nickc@redhat.com>
194 * testsuite/ld-aarch64/variant_pcs-now.d: Adjust expected output
195 to allow for named section symbols.
196 * testsuite/ld-aarch64/variant_pcs-r.d: Likewise.
197 * testsuite/ld-aarch64/variant_pcs-shared.d: Likewise.
198 * testsuite/ld-alpha/tlsbin.rd: Likewise.
199 * testsuite/ld-alpha/tlsbinr.rd: Likewise.
200 * testsuite/ld-alpha/tlspic.rd: Likewise.
201 * testsuite/ld-arm/rodata-merge-map.sym: Likewise.
202 * testsuite/ld-arm/script-type.sym: Likewise.
203 * testsuite/ld-cris/libdso-2.d: Likewise.
204 * testsuite/ld-cris/pr16044.d: Likewise.
205 * testsuite/ld-elf/sec64k.exp: Likewise.
206 * testsuite/ld-ia64/tlsbin.rd: Likewise.
207 * testsuite/ld-ia64/tlspic.rd: Likewise.
208 * testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d: Likewise.
209 * testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d: Likewise.
210 * testsuite/ld-mmix/bspec1.d: Likewise.
211 * testsuite/ld-mmix/bspec2.d: Likewise.
212 * testsuite/ld-mmix/local1.d: Likewise.
213 * testsuite/ld-mmix/local3.d: Likewise.
214 * testsuite/ld-mmix/local5.d: Likewise.
215 * testsuite/ld-mmix/local7.d: Likewise.
216 * testsuite/ld-mmix/undef-3.d: Likewise.
217 * testsuite/ld-powerpc/tlsso.r: Likewise.
218 * testsuite/ld-powerpc/tlsso32.r: Likewise.
219 * testsuite/ld-powerpc/tlstocso.r: Likewise.
220 * testsuite/ld-s390/tlsbin.rd: Likewise.
221 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
222 * testsuite/ld-s390/tlspic.rd: Likewise.
223 * testsuite/ld-s390/tlspic_64.rd: Likewise.
224 * testsuite/ld-sparc/gotop32.rd: Likewise.
225 * testsuite/ld-sparc/gotop64.rd: Likewise.
226 * testsuite/ld-sparc/tlssunbin32.rd: Likewise.
227 * testsuite/ld-sparc/tlssunbin64.rd: Likewise.
228 * testsuite/ld-sparc/tlssunnopic32.rd: Likewise.
229 * testsuite/ld-sparc/tlssunnopic64.rd: Likewise.
230 * testsuite/ld-sparc/tlssunpic32.rd: Likewise.
231 * testsuite/ld-sparc/tlssunpic64.rd: Likewise.
232 * testsuite/ld-tic6x/common.d: Likewise.
233 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
234 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
235 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
236 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
237 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
238 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
239 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
240 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
241 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
242 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
243 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
244 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
245 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
247 2021-04-20 Clément Chigot <clement.chigot@atos.net>
250 * testsuite/ld-powerpc/aix52.exp: Add new test.
251 * testsuite/ld-powerpc/aix-neg-reloc-32.d: New test.
252 * testsuite/ld-powerpc/aix-neg-reloc-64.d: New test.
253 * testsuite/ld-powerpc/aix-neg-reloc.ex: New test.
254 * testsuite/ld-powerpc/aix-neg-reloc.s: New test.
256 2021-04-13 Nick Clifton <nickc@redhat.com>
258 * ld.texi (Options): Add note about the effect of --as-needed on
259 the --rpath and --rpath-link options on Linux based systems.
261 2021-04-13 Alan Modra <amodra@gmail.com>
264 * libdep_plugin.c (str2vec): Don't pass a potentially signed char
267 2021-04-12 Alan Modra <amodra@gmail.com>
269 * configure.ac (--enable-checking): Add support.
270 * config.in: Regenerate.
271 * configure: Regenerate.
273 2021-04-12 Alan Modra <amodra@gmail.com>
275 * emultempl/mipself.em (mips_create_output_section_statements):
276 Pass base type of hash table to is_elf_hash_table.
277 * ldelf.c (ldelf_after_open): Likewise.
279 2021-04-12 Alan Modra <amodra@gmail.com>
282 * ldlang.c (lang_mark_undefineds, undef_start_stop): Test that
283 the symbol hash table is the correct type before accessing
284 elf_link_hash_entry symbols.
285 * plugin.c (is_visible_from_outside): Likewise.
286 * emultempl/armelf.em (ld${EMULATION_NAME}_finish): Likewise.
287 * emultempl/solaris2.em (elf_solaris2_before_allocation): Likewise.
289 2021-04-09 Alan Modra <amodra@gmail.com>
291 * testsuite/ld-powerpc/inlinepcrel-1.d: Update expected output.
292 * testsuite/ld-powerpc/inlinepcrel-2.d: Likewise.
293 * testsuite/ld-powerpc/notoc2.d: Likewise.
294 * testsuite/ld-powerpc/notoc3.d: Likewise.
295 * testsuite/ld-powerpc/pcrelopt.d: Likewise.
296 * testsuite/ld-powerpc/startstop.d: Likewise.
297 * testsuite/ld-powerpc/tlsget.d: Likewise.
298 * testsuite/ld-powerpc/tlsget2.d: Likewise.
299 * testsuite/ld-powerpc/tlsld.d: Likewise.
300 * testsuite/ld-powerpc/weak1.d: Likewise.
301 * testsuite/ld-powerpc/weak1so.d: Likewise.
303 2021-04-06 Jan Beulich <jbeulich@suse.com>
305 * pe-dll.c (generate_reloc): Bail immediately when .reloc is
306 being discarded. Warn when relocated entry is above .reloc.
308 2021-04-05 Alan Modra <amodra@gmail.com>
310 * configure.ac: Move initfini-array arg handling earlier. Don't
311 check for string.h, strings.h, stdlib.h, or locale.h. Do check
312 for inttypes.h, stdint.h, sys/types.h. Don't check for
313 setlocale, free, getev or strstr.
314 (AC_ISC_POSIX): Don't invoke.
315 * sysdep.h: Include string.h and stdlib.h unconditionally. Test
316 HAVE_SYS_TYPE_H and HAVE_SYS_STAT_H. Remove strstr, free and
317 getenv fallback declarations.
318 * ld.h: Don't test HAVE_LOCALE_H.
319 * ldmain.c: Don't test HAVE_SETLOCALE.
320 * config.in: Regenerate.
321 * configure: Regenerate.
323 2021-04-01 Tamar Christina <tamar.christina@arm.com>
326 * testsuite/ld-pe/pe.exp: Add test.
327 * testsuite/ld-pe/pr26659-weak-undef-sym.d: New test.
328 * testsuite/ld-pe/pr26659-weak-undef-sym.s: New test.
330 2021-04-01 Martin Liska <mliska@suse.cz>
332 * ldbuildid.c (strneq): Remove strneq and use startswith.
333 (validate_build_id_style): Likewise.
334 (compute_build_id_size): Likewise.
336 2021-03-31 Alan Modra <amodra@gmail.com>
338 * sysdep.h (POISON_BFD_BOOLEAN): Define.
339 * configure.ac (elf_list_options, elf_shlib_list_options=false),
340 (elf_plt_unwind_list_options=false): Replace FALSE with false,
342 * emulparams/call_nop.sh, * emulparams/cet.sh,
343 * emulparams/dynamic_undefined_weak.sh,
344 * emulparams/elf32b4300.sh, * emulparams/elf32lm32.sh,
345 * emulparams/elf32lr5900.sh, * emulparams/elf32lr5900n32.sh,
346 * emulparams/elf32visium.sh, * emulparams/elf_x86_64.sh,
347 * emulparams/extern_protected_data.sh, * emulparams/plt_unwind.sh,
348 * emulparams/reloc_overflow.sh, * emulparams/static.sh,
349 * emulparams/x86-64-lam.sh, * emultempl/aarch64elf.em,
350 * emultempl/aix.em, * emultempl/alphaelf.em,
351 * emultempl/armcoff.em, * emultempl/armelf.em,
352 * emultempl/avrelf.em, * emultempl/beos.em, * emultempl/bfin.em,
353 * emultempl/cr16elf.em, * emultempl/crxelf.em,
354 * emultempl/cskyelf.em, * emultempl/elf.em, * emultempl/genelf.em,
355 * emultempl/hppaelf.em, * emultempl/linux.em,
356 * emultempl/m68hc1xelf.em, * emultempl/metagelf.em,
357 * emultempl/mipself.em, * emultempl/mmix-elfnmmo.em,
358 * emultempl/mmixelf.em, * emultempl/mmo.em, * emultempl/msp430.em,
359 * emultempl/nios2elf.em, * emultempl/pdp11.em, * emultempl/pe.em,
360 * emultempl/pep.em, * emultempl/ppc32elf.em,
361 * emultempl/ppc64elf.em, * emultempl/rxelf.em,
362 * emultempl/rxlinux.em, * emultempl/scoreelf.em,
363 * emultempl/solaris2.em, * emultempl/spuelf.em,
364 * emultempl/ticoff.em, * emultempl/v850elf.em, * emultempl/vms.em,
365 * emultempl/xtensaelf.em, * emultempl/z80.em, * ld.h,
366 * ldbuildid.c, * ldbuildid.h, * ldcref.c, * ldctor.c, * ldctor.h,
367 * ldelf.c, * ldelf.h, * ldelfgen.c, * ldelfgen.h, * ldemul.c,
368 * ldemul.h, * ldexp.c, * ldexp.h, * ldfile.c, * ldfile.h,
369 * ldgram.y, * ldlang.c, * ldlang.h, * ldmain.c, * ldmain.h,
370 * ldmisc.c, * ldmisc.h, * ldwrite.c, * lexsup.c, * mri.c,
371 * pe-dll.c, * pe-dll.h, * pep-dll.h, * plugin.c, * plugin.h,
372 * testplug.c, * testplug2.c, * testplug3.c, * testplug4.c: Replace
373 bfd_boolean with bool, FALSE with false, and TRUE with true.
374 * configure: Regenerate.
376 2021-03-31 Alan Modra <amodra@gmail.com>
378 * elf-hints-local.h: Include stdint.h in place of bfd_stdint.h.
379 * emultempl/nds32elf.em: Likewise.
380 * testsuite/ld-elf/mbind2b.c: Likewise.
381 * testsuite/ld-elf/pr18718.c: Likewise.
382 * testsuite/ld-elf/pr18720a.c: Likewise.
383 * testsuite/ld-elf/pr25749-1.c: Likewise.
384 * testsuite/ld-elf/pr25749-1a.c: Likewise.
385 * testsuite/ld-elf/pr25749-1b.c: Likewise.
386 * testsuite/ld-elf/pr25749-1c.c: Likewise.
387 * testsuite/ld-elf/pr25749-1d.c: Likewise.
388 * testsuite/ld-elf/pr25749-2.c: Likewise.
389 * testsuite/ld-elf/pr25754-1a.c: Likewise.
390 * testsuite/ld-elf/pr25754-2a.c: Likewise.
391 * testsuite/ld-elf/pr25754-3a.c: Likewise.
392 * testsuite/ld-elf/pr25754-4a.c: Likewise.
393 * testsuite/ld-elf/pr25754-5a.c: Likewise.
394 * testsuite/ld-elf/pr25754-6a.c: Likewise.
396 2021-03-29 Alan Modra <amodra@gmail.com>
398 * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Simplify
400 * lexsup.c (parse_args): Likewise.
401 * pe-dll.c (pe_dll_id_target): Likewise.
403 2021-03-25 Nick Alcock <nick.alcock@oracle.com>
405 * testsuite/ld-ctf/array.d: Only check that the data object
406 section is nonempty: do not check its exact size.
407 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
408 * testsuite/ld-ctf/slice.d: Likewise.
409 * testsuite/ld-ctf/data-func-conflicted.d: Likewise, and for the
410 func info section too.
411 * testsuite/ld-ctf/function.d: Likewise, for the func info section.
413 2021-03-22 Martin Liska <mliska@suse.cz>
415 * emultempl/aix.em: Replace usage of CONST_STRNEQ with startswith.
416 * emultempl/beos.em: Likewise.
417 * emultempl/elf.em: Likewise.
418 * emultempl/pe.em: Likewise.
419 * emultempl/pep.em: Likewise.
420 * emultempl/xtensaelf.em: Likewise.
421 * ldctor.c (ctor_prio): Likewise.
422 * ldelf.c (ldelf_try_needed): Likewise.
423 (ldelf_parse_ld_so_conf): Likewise.
424 (ldelf_after_open): Likewise.
425 (output_rel_find): Likewise.
426 (ldelf_place_orphan): Likewise.
427 * ldfile.c (ldfile_add_library_path): Likewise.
428 * ldlang.c (lang_add_input_file): Likewise.
429 * ldmain.c (get_sysroot): Likewise.
430 (get_emulation): Likewise.
431 (add_archive_element): Likewise.
432 * ldwrite.c (unsplittable_name): Likewise.
433 (clone_section): Likewise.
434 * lexsup.c (parse_args): Likewise.
435 * pe-dll.c (is_import): Likewise.
436 (pe_implied_import_dll): Likewise.
438 2021-03-19 H.J. Lu <hongjiu.lu@intel.com>
441 * testsuite/ld-x86-64/pr27590.rd: New file.
442 * testsuite/ld-x86-64/pr27590a.obj.bz2: Likewise.
443 * testsuite/ld-x86-64/pr27590b.obj.bz2: Likewise.
444 * testsuite/ld-x86-64/x86-64.exp: Run ld/27590 test.
446 2021-03-20 Alan Modra <amodra@gmail.com>
449 * ldlang.c (lang_gc_sections): Clear SEC_EXCLUDE when relocatable
450 for all sections except .stabstr.
452 2021-03-19 Alan Modra <amodra@gmail.com>
455 * testsuite/ld-elf/pr27590a.d: Match relocs using label, and
457 * testsuite/ld-elf/pr27590b.d: Likewise.
459 2021-03-18 H.J. Lu <hongjiu.lu@intel.com>
462 * testsuite/ld-elf/pr27590.s: New file.
463 * testsuite/ld-elf/pr27590a.d: Likewise.
464 * testsuite/ld-elf/pr27590b.d: Likewise.
465 * testsuite/ld-i386/i386.exp: Also run ld/27193 test with
466 --reduce-memory-overheads.
468 2021-03-18 H.J. Lu <hongjiu.lu@intel.com>
471 * testsuite/ld-x86-64/pr27587.err: New file.
472 * testsuite/ld-x86-64/pr27587a.obj.bz2: Likewise.
473 * testsuite/ld-x86-64/pr27587b.obj.bz2: Likewise.
474 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/27587 test.
476 2021-03-18 Nick Alcock <nick.alcock@oracle.com>
478 * testsuite/ld-ctf/slice.c: Check slices of enums too.
479 * testsuite/ld-ctf/slice.d: Results adjusted.
481 2021-03-16 Nick Clifton <nickc@redhat.com>
483 * pe-dll.c (pe_find_cdecl_alias_match): Use memmove to overwrite
486 2021-03-15 Jan Beulich <jbeulich@suse.com>
488 * pe-dll.c (generate_reloc): Drop padding to reloc_s->size.
490 2021-03-12 Alan Modra <amodra@gmail.com>
492 * Makefile.am (ALL_EMULATION_SOURCES): Move riscv files to..
493 (ALL_64_EMULATION_SOURCES): ..here.
494 * Makefile.in: Regenerate.
496 2021-03-12 Clément Chigot <clement.chigot@atos.net>
498 * emultempl/aix.em: Ensure .tdata section is removed
499 if empty, even with -r flag.
500 * scripttempl/aix.sc: Handle TLS sections.
501 * testsuite/ld-powerpc/aix52.exp: Add new tests.
502 * testsuite/ld-powerpc/aix-tls-reloc-32.d: New test.
503 * testsuite/ld-powerpc/aix-tls-reloc-64.d: New test.
504 * testsuite/ld-powerpc/aix-tls-reloc.ex: New test.
505 * testsuite/ld-powerpc/aix-tls-reloc.s: New test.
506 * testsuite/ld-powerpc/aix-tls-section-32.d: New test.
507 * testsuite/ld-powerpc/aix-tls-section-64.d: New test.
508 * testsuite/ld-powerpc/aix-tls-section.ex: New test.
509 * testsuite/ld-powerpc/aix-tls-section.s: New test.
511 2021-03-12 Clément Chigot <clement.chigot@atos.net>
513 * scripttempl/aix.sc: Add .te to .data section.
514 * testsuite/ld-powerpc/aix52.exp: Add test structure for AIX7+.
515 Add aix-largetoc-1 test.
516 * testsuite/ld-powerpc/aix-largetoc-1-32.d: New test.
517 * testsuite/ld-powerpc/aix-largetoc-1-64.d: New test.
518 * testsuite/ld-powerpc/aix-largetoc-1.ex: New test.
519 * testsuite/ld-powerpc/aix-largetoc-1.s: New test.
521 2021-03-12 Alan Modra <amodra@gmail.com>
523 * testsuite/ld-gc/gc.exp: Pass "-image-base 0" to ld for PE, and
524 arrange to define __main for some run_dump_test tests.
525 * testsuite/ld-gc/pr13683.d: Accept more symbols.
526 * testsuite/ld-gc/pr14265.d: Likewise, and ordering.
527 * testsuite/ld-scripts/crossref.exp: Pass "-image-base 0" to ld for PE.
528 * testsuite/ld-srec/srec.exp: Likewise.
529 * testsuite/lib/ld-lib.exp (ld_link_defsyms): Use is_pecoff_format.
531 2021-03-11 Nelson Chu <nelson.chu@sifive.com>
533 * emultempl/riscvelf.em (after_allocation): Run ldelf_map_segments
534 many times if riscv_restart_relax_sections returns TRUE.
535 * testsuite/ld-riscv-elf/restart-relax.d: New testcase. Before
536 applying this patch, the call won't be relaxed to jal; But now we
537 have more chances to do relaxations.
538 * testsuite/ld-riscv-elf/restart-relax.s: Likewise.
539 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
541 2021-03-10 Jan Beulich <jbeulich@suse.com>
543 * testsuite/ld-scripts/pr22267.t: Avoid symbol value with more
545 * testsuite/ld-scripts/pr22267.d: Adjust expectation and drop
547 * scripttempl/mcorepe.sc: Use PROVIDE() for _stack.
549 2021-03-09 Jan Beulich <jbeulich@suse.com>
551 * testsuite/ld-pe/reloc.s: Add entry point symbols. Increase
553 * testsuite/ld-pe/reloc.d: xfail for mcore.
555 2021-03-09 Jan Beulich <jbeulich@suse.com>
557 * testsuite/ld-scripts/alignof.exp,
558 testsuite/ld-scripts/data.exp,
559 testsuite/ld-scripts/default-script.exp,
560 testsuite/ld-scripts/log2.exp,
561 testsuite/ld-scripts/print-memory-usage.exp,
562 testsuite/ld-scripts/sizeof.exp,
563 testsuite/ld-undefined/weak-undef.exp: Set image base to zero
565 * testsuite/ld-scripts/default-script1.d,
566 testsuite/ld-scripts/default-script2.d,
567 testsuite/ld-scripts/default-script3.d,
568 testsuite/ld-scripts/default-script4.d: Drop xfail and comment.
570 2021-03-05 H.J. Lu <hongjiu.lu@intel.com>
574 * ldelf.c (ldelf_set_output_arch): New function.
575 * ldelf.h (ldelf_set_output_arch): New prototype.
576 * emultempl/elf.em (LDEMUL_SET_OUTPUT_ARCH): Default to
577 ldelf_set_output_arch.
578 * ld-x86-64/pe-x86-64-1.od: Expect __executable_start.
579 * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise.
580 * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise.
581 * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise.
582 * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise.
583 * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise.
584 * testsuite/ld-x86-64/pe-x86-64-6.obj.bz2: New file.
585 * testsuite/ld-x86-64/pe-x86-64-6.od: Likewise.
586 * testsuite/ld-x86-64/pe-x86-64.exp: Run ld/27425 test.
588 2021-03-04 Jan Beulich <jbeulich@suse.com>
590 * testsuite/ld-scripts/map-address.exp: Set image base to zero
592 * testsuite/ld-scripts/map-address.t: Place .text.
594 2021-03-04 Jan Beulich <jbeulich@suse.com>
596 * ldexp.c (ldexp_is_final_sym_absolute): New.
597 * ldexp.h (ldexp_is_final_sym_absolute): Declare.
598 * pe-dll.c (generate_reloc): Skip absolute symbols.
599 * testsuite/ld-pe/reloc.s, testsuite/ld-pe/reloc.d: New.
600 * testsuite/ld-pe/pe.exp: Run new test.
602 2021-03-03 Alan Modra <amodra@gmail.com>
605 * ldlang.c (insert_undefined): Don't mark symbols here.
606 (lang_mark_undefineds): Do so here instead, new function.
607 (lang_process): Call lang_mark_undefineds.
608 * testsuite/ld-gc/start3.d,
609 * testsuite/ld-gc/start3.s: New test.
610 * testsuite/ld-gc/start4.d,
611 * testsuite/ld-gc/start4.s: New test.
612 * testsuite/ld-gc/gc.exp: Run them.
614 2021-03-03 Alan Modra <amodra@gmail.com>
616 * testsuite/ld-gc/gc.exp: Define UNDERSCORE in ASFLAGS.
617 Move tests with ELF section directives to is_elf_format block.
618 * testsuite/ld-gc/abi-note.d: Run on more targets.
619 * testsuite/ld-gc/pr19167.d: Likewise and adjust xfails.
620 * testsuite/ld-gc/start.d: Likewise.
621 * testsuite/ld-gc/start2.d: Likewise.
622 * testsuite/ld-gc/stop.d: Likewise.
623 * testsuite/ld-gc/pr19167a.s: Add support for underscore targets.
624 * testsuite/ld-gc/start.s: Likewise.
625 * testsuite/ld-gc/start2.s: Likewise.
627 2021-03-02 Nick Alcock <nick.alcock@oracle.com>
629 * ldelfgen.c (ldelf_ctf_strtab_iter_cb): Skip zero-refcount strings.
631 2021-03-02 Alan Modra <amodra@gmail.com>
633 * testsuite/ld-powerpc/startstop.d,
634 * testsuite/ld-powerpc/startstop.r,
635 * testsuite/ld-powerpc/startstop.s: New test.
636 * testsuite/ld-powerpc/powerpc.exp: Run it.
638 2021-03-02 Alan Modra <amodra@gmail.com>
640 * testsuite/ld-powerpc/weak1.d,
641 * testsuite/ld-powerpc/weak1.r,
642 * testsuite/ld-powerpc/weak1.s,
643 * testsuite/ld-powerpc/weak1so.d,
644 * testsuite/ld-powerpc/weak1so.r: New tests.
645 * testsuite/ld-powerpc/powerpc.exp: Run them.
647 2021-03-01 Hannes Domani <ssbssa@sourceware.org>
648 Nick Clifton <nickc@redhat.com>
651 * scripttempl/pe.sc: Add DWARF-5 section names.
652 * scripttempl/pep.sc: Likewise.
654 2021-03-01 Alan Modra <amodra@gmail.com>
655 Fangrui Song <maskray@google.com>
657 * emultempl/elf.em: Handle -z start-stop-gc and -z nostart-stop-gc.
658 * lexsup.c (elf_static_list_options): Display help for them. Move
659 help for -z stack-size to here from elf_shlib_list_options. Add
660 help for -z start-stop-visibility and -z undefs.
661 * ld.texi: Document -z start-stop-gc and -z nostart-stop-gc.
662 * NEWS: Mention -z start-stop-gc.
663 * testsuite/ld-gc/start2.s,
664 * testsuite/ld-gc/start2.d: New test.
665 * testsuite/ld-gc/gc.exp: Run it.
667 2021-03-01 Alan Modra <amodra@gmail.com>
669 * ldlang.c (undef_start_stop): For ELF make undefined start/stop
670 symbols undefweak if that was how they were referenced. Undo
673 2021-03-01 Alan Modra <amodra@gmail.com>
675 * testsuite/ld-elf/pr25708.d: Add --with-symbol-versions to nm.
676 * testsuite/ld-elf/pr27128a.d: Likewise.
677 * testsuite/ld-elf/pr27128b.d: Likewise.
678 * testsuite/ld-elf/pr27128c.d: Likewise.
679 * testsuite/ld-elf/pr27128d.d: Likewise.
680 * testsuite/ld-elf/pr27128e.d: Likewise.
682 2021-02-26 Alan Modra <amodra@gmail.com>
685 * testsuite/ld-plugin/pr27441a.c,
686 * testsuite/ld-plugin/pr27441b.c,
687 * testsuite/ld-plugin/pr27441c.c,
688 * testsuite/ld-plugin/pr27441c.d: New test.
689 * testsuite/ld-plugin/lto.exp: Run it.
691 2021-02-25 Jan Beulich <jbeulich@suse.com>
693 * ld.texi (PROVIDE): Downgrade "error" to "diagnostic".
695 2021-02-21 Alan Modra <amodra@gmail.com>
697 * ldexp.c (exp_fold_tree_1): Warn on script defining a symbol
698 defined in an object file.
699 * ldmain.c (multiple_definition): Heed info->warn_multiple_definition.
700 * testsuite/ld-scripts/defined5.d: Expect a warning.
702 2021-02-19 Alan Modra <amodra@gmail.com>
704 * testsuite/lib/ld-lib.exp: Whitespace.
705 (load_common_lib): Expand single use and delete this proc.
706 (run_host_cmd): Use -fno-lto when getting gcc's ld version.
707 Use -B for clang too.
709 2021-02-18 Andrew Burgess <andrew.burgess@embecosm.com>
711 * testplugin.c (record_read_length): Remove debug fprintf.
713 2021-02-14 Alan Modra <amodra@gmail.com>
715 * testsuite/ld-cdtest/cdtest.exp,
716 * testsuite/ld-checks/checks.exp,
717 * testsuite/ld-elf/binutils.exp,
718 * testsuite/ld-elf/compress.exp,
719 * testsuite/ld-elf/dwarf.exp,
720 * testsuite/ld-elf/exclude.exp,
721 * testsuite/ld-elf/frame.exp,
722 * testsuite/ld-elf/indirect.exp,
723 * testsuite/ld-elf/linux-x86.exp,
724 * testsuite/ld-elf/sec-to-seg.exp,
725 * testsuite/ld-elf/tls_common.exp,
726 * testsuite/ld-elfcomm/elfcomm.exp,
727 * testsuite/ld-elfvers/vers.exp,
728 * testsuite/ld-elfvsb/elfvsb.exp,
729 * testsuite/ld-elfweak/elfweak.exp,
730 * testsuite/ld-ifunc/binutils.exp,
731 * testsuite/ld-mips-elf/mips-elf-flags.exp,
732 * testsuite/ld-misc/defsym.exp,
733 * testsuite/ld-mn10300/mn10300.exp,
734 * testsuite/ld-plugin/lto.exp,
735 * testsuite/ld-plugin/plugin.exp,
736 * testsuite/ld-scripts/align.exp,
737 * testsuite/ld-scripts/assert.exp,
738 * testsuite/ld-scripts/crossref.exp,
739 * testsuite/ld-scripts/defined.exp,
740 * testsuite/ld-scripts/extern.exp,
741 * testsuite/ld-scripts/log2.exp,
742 * testsuite/ld-scripts/map-address.exp,
743 * testsuite/ld-scripts/phdrs.exp,
744 * testsuite/ld-scripts/phdrs2.exp,
745 * testsuite/ld-scripts/script.exp,
746 * testsuite/ld-scripts/section-flags.exp,
747 * testsuite/ld-scripts/sizeof.exp,
748 * testsuite/ld-scripts/weak.exp,
749 * testsuite/ld-selective/selective.exp,
750 * testsuite/ld-sh/sh.exp,
751 * testsuite/ld-shared/shared.exp,
752 * testsuite/ld-srec/srec.exp,
753 * testsuite/ld-tic6x/tic6x.exp,
754 * testsuite/ld-undefined/undefined.exp,
755 * testsuite/ld-undefined/weak-undef.exp,
756 * testsuite/lib/ld-lib.exp: Don't use unresolved except after
757 perror. Instead report "unsupported" or "fail".
759 2021-02-12 Nick Clifton <nickc@redhat.com>
761 * testsuite/ld-elf/sec64k.exp: Stop readelf from automatically
762 following debug links.
764 2021-02-11 Alan Modra <amodra@gmail.com>
766 * NEWS: Mention arm-symbianelf removal.
768 2021-02-09 Alan Modra <amodra@gmail.com>
770 * Makefile.am (ALL_EMULATION_SOURCES): Remove earmsymbian.c.
771 Don't include symbian dep file.
772 * configure.tgt: Remove arm*-*-symbianelf* entry.
773 * emulparams/armsymbian.sh: Delete.
774 * ld.texi: Don't mention symbian.
775 * scripttempl/armbpabi.sc: Delete.
776 * testsuite/ld-arm/symbian-seg1.d: Delete.
777 * testsuite/ld-arm/symbian-seg1.s: Delete.
778 * testsuite/ld-arm/arm-elf.exp: Don't run symbian-seg1.
779 * Makefile.in: Regenerate.
780 * po/BLD-POTFILES.in: Regenerate.
782 2021-02-07 H.J. Lu <hongjiu.lu@intel.com>
785 * testsuite/ld-i386/i386.exp: Remove property 3/4/5 run-time
787 * testsuite/ld-x86-64/x86-64.exp: Likewise.
789 2021-01-26 Nick Alcock <nick.alcock@oracle.com>
791 * ldlang.c (lang_merge_ctf): Set CTF_LINK_NO_FILTER_REPORTED_SYMS
794 2021-02-04 H.J. Lu <hongjiu.lu@intel.com>
797 * testsuite/ld-x86-64/pr19609-2a.d: Updated.
798 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
799 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
800 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
801 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
802 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
803 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
805 2021-02-04 H.J. Lu <hongjiu.lu@intel.com>
808 * testsuite/ld-plugin/lto.exp: Run PR ld/15146 tests.
809 * testsuite/ld-plugin/pr15146.d: Restored.
810 * testsuite/ld-plugin/pr15146a.c: Likewise.
811 * testsuite/ld-plugin/pr15146b.c: Likewise.
812 * testsuite/ld-plugin/pr15146c.c: Likewise.
813 * testsuite/ld-plugin/pr15146d.c: Likewise.
815 2021-02-04 Alan Modra <amodra@gmail.com>
817 * testsuite/ld-plugin/pr27311d.c: New test.
818 * testsuite/ld-plugin/lto.exp: Rename pr27311 to pr27311-1, compile
819 and link new test as pr27311-2.
821 2021-02-03 Alan Modra <amodra@gmail.com>
823 * testsuite/ld-ifunc/ifunc.exp (libpr16467b.so, libpr16467bn.so):
824 Link with --as-needed.
826 2021-02-02 Alan Modra <amodra@gmail.com>
828 * testsuite/ld-plugin/pr27311.d,
829 * testsuite/ld-plugin/pr27311.ver,
830 * testsuite/ld-plugin/pr27311a.c,
831 * testsuite/ld-plugin/pr27311b.c,
832 * testsuite/ld-plugin/pr27311c.c: New testcase.
833 * testsuite/ld-plugin/lto.exp: Run it. Correct PR14918 and
836 2021-02-01 Emery Hemingway <ehmry@posteo.net>
838 * configure.tgt: Add *-*-genode* as a target for AArch64 and x86.
840 2021-02-01 Alan Modra <amodra@gmail.com>
842 * ldgram.y (defsym_expr): Use assignment rule.
843 * ldlex.h (ldlex_defsym): Delete.
844 * ldlex.l (DEFSYMEXP, ldlex_defsym): Delete.
846 2021-02-01 Alan Modra <amodra@gmail.com>
848 * ldgram.y (section): Call ldlex_backup. Remove empty action.
849 * ldlex.h (ldlex_backup): Declare.
850 * ldlex.l (<EXPRESSION>NAME): Don't use NOCFILENAMECHAR set of
851 chars, use SYMBOLNAMECHAR.
852 (ldlex_backup): New function.
854 2021-02-01 Alan Modra <amodra@gmail.com>
856 * ldgram.y: Whitespace fixes.
858 2021-02-01 Alan Modra <amodra@gmail.com>
860 * testsuite/ld-elf/pr27259.d: Correct sh_link match.
862 2021-01-29 Alan Modra <amodra@gmail.com>
864 * testsuite/ld-tic6x/tic6x.exp: Add pr27271 test.
866 2021-01-28 H.J. Lu <hongjiu.lu@intel.com>
869 * testsuite/ld-elf/pr27259.d: New file.
870 * testsuite/ld-elf/pr27259.s: Likewise.
872 2021-01-28 Alan Modra <amodra@gmail.com>
875 * ldelf.c (ldelf_before_place_orphans): Use linker_mark to
876 prevent endless looping of linked-to sections.
878 2021-01-26 H.J. Lu <hongjiu.lu@intel.com>
880 * testsuite/ld-x86-64/bnd-plt-1.d: Fix a typo.
882 2021-01-26 Alan Modra <amodra@gmail.com>
885 * emulparams/alphavms.sh: Don't set COMPILE_IN.
886 * emulparams/elf64_ia64_vms.sh: Likewise.
887 * emulparams/elf64mmix.sh: Likewise.
888 * emulparams/elf_iamcu.sh: Likewise.
889 * emulparams/elf_k1om.sh: Likewise.
890 * emulparams/elf_l1om.sh: Likewise.
891 * emulparams/mmo.sh: Likewise.
892 * emulparams/pdp11.sh: Set DATA_SEG_ADDR.
893 * scripttempl/pdp11.sc: Use it.
894 * emultempl/pdp11.em: Don't edit .xn script for separate_code,
895 instead use .xe script. Support scripts from file system.
896 * emultempl/beos.em: Support scripts from file system.
897 * emultempl/pe.em: Likewise.
898 * emultempl/pep.em: Likewise.
899 * testsuite/ld-bootstrap/bootstrap.exp: Make tmpdir/ldscripts link.
901 2021-01-25 Fangrui Song <maskray@google.com>
904 * scripttempl/DWARF.sc: Add .debug_* sections.
906 2021-01-25 Nick Clifton <nickc@redhat.com>
908 * scripttempl/DWARF.sc: Add .debug_loclists, .debug_rnglists,
909 .debug_line_str and .debug_str_offsets. Move .debug_macro and
910 .debug_addr into DWARF-5 section.
912 2021-01-21 Alan Modra <amodra@gmail.com>
914 * testsuite/ld-elf/pr26936.d: No longer xfail mips.
916 2021-01-20 Alan Modra <amodra@gmail.com>
918 * testsuite/ld-powerpc/relbrlt.s: Make symbols global.
919 * testsuite/ld-powerpc/relbrlt.d: Adjust to suit.
920 * testsuite/ld-powerpc/tlsget.d: Adjust for reordered stubs.
921 * testsuite/ld-powerpc/tlsget.wf: Likewise.
922 * testsuite/ld-powerpc/tlsget2.d: Likewise.
923 * testsuite/ld-powerpc/tlsget2.wf: Likewise.
924 * testsuite/ld-powerpc/tlsexe.r: Adjust for removed section syms.
925 * testsuite/ld-powerpc/tlsexe32.r: Likewise.
926 * testsuite/ld-powerpc/tlsexe32no.r: Likewise.
927 * testsuite/ld-powerpc/tlsexeno.r: Likewise.
928 * testsuite/ld-powerpc/tlsexenors.r: Likewise.
929 * testsuite/ld-powerpc/tlsexers.r: Likewise.
930 * testsuite/ld-powerpc/tlsexetoc.r: Likewise.
931 * testsuite/ld-powerpc/tlsexetocrs.r: Likewise.
932 * testsuite/ld-powerpc/tlsso.r: Likewise.
933 * testsuite/ld-powerpc/tlsso32.r: Likewise.
934 * testsuite/ld-powerpc/tlstocso.r: Likewise.
936 2021-01-19 Nick Alcock <nick.alcock@oracle.com>
938 * testsuite/ld-ctf/data-func-2.c: Stop removal of the extern foo_t
939 symbols by the optimizer.
940 * testsuite/ld-ctf/data-func-conflicted.d: Adjust accordingly.
942 2021-01-19 Nelson Chu <nelson.chu@sifive.com>
944 * testsuite/ld-elf/elf.exp (riscv_little_endian): Added. Return true
945 if target is riscv little endian. Otherwise, return false.
946 * testsuite/ld-elf/compressed1d.d: Only xfail the riscv little endian
947 targets by [riscv_little_endian].
949 2021-01-18 Alan Modra <amodra@gmail.com>
952 * ldlang.c (map_input_to_output_sections): Start with a read-only
953 section for data statements.
954 * testsuite/ld-elf/size-2.d: Adjust to suit.
956 2021-01-17 H.J. Lu <hongjiu.lu@intel.com>
959 * testsuite/ld-i386/i386.exp: Run PR ld/27193 test.
960 * testsuite/ld-i386/pr27193.dd: New file.
961 * testsuite/ld-i386/pr27193a.o.bz2: Likewise.
962 * testsuite/ld-i386/pr27193b.s: Likewise.
964 2021-01-16 H.J. Lu <hongjiu.lu@intel.com>
967 * testsuite/ld-plugin/lto.exp: Increase the max number of open
968 files to 20 for PR binutils/23460 test.
970 2021-01-16 H.J. Lu <hongjiu.lu@intel.com>
973 * testsuite/ld-ifunc/ifunc.exp: Replace pr23169c.rd with
974 pr23169a.rd for pr23169c and pr23169f. Remove pr23169e tests.
975 * testsuite/ld-ifunc/pr23169a.c (foo): Don't compare function
978 2021-01-15 H.J. Lu <hongjiu.lu@intel.com>
980 * NEWS: Mention -z report-relative-reloc.
981 * ld.texi: Document -z report-relative-reloc.
982 * emulparams/elf32_x86_64.sh: Source x86-report-relative.sh.
983 * emulparams/elf_i386.sh: Likewse.
984 * emulparams/elf_x86_64.sh: Likewse.
985 * emulparams/x86-report-relative.sh: New file.
986 * testsuite/ld-i386/report-reloc-1.d: Likewse.
987 * testsuite/ld-i386/report-reloc-1.l: Likewse.
988 * testsuite/ld-i386/report-reloc-1.s: Likewse.
989 * testsuite/ld-x86-64/report-reloc-1-x32.d: Likewse.
990 * testsuite/ld-x86-64/report-reloc-1.d: Likewse.
991 * testsuite/ld-x86-64/report-reloc-1.l: Likewse.
992 * testsuite/ld-x86-64/report-reloc-1.s: Likewse.
993 * testsuite/ld-i386/i386.exp: Run report-reloc-1.
994 * testsuite/ld-x86-64/x86-64.exp: Run report-reloc-1 and
997 2021-01-16 Alan Modra <amodra@gmail.com>
1000 * testsuite/ld-elfvers/vers6.dsym: Expect "Base" for undefined
1001 unversioned symbols.
1002 * testsuite/ld-elfvers/vers16.dsym: Likewise.
1004 2021-01-15 Nelson Chu <nelson.chu@sifive.com>
1006 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-01.d: Updated.
1007 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-02.d: Likewise.
1008 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-03.d: Likewise.
1009 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-04.d: Likewise.
1010 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-05.d: Likewise.
1011 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-06.d: Likewise.
1013 2021-01-14 Nick Clifton <nickc@redhat.com>
1015 * po/fr.po: Updated French translation.
1017 2021-01-14 Mike Frysinger <vapier@gentoo.org>
1019 * testsuite/config/default.exp [bfin*-elf*] (gcc_B_opt): Add -msim.
1021 2021-01-14 Alan Modra <amodra@gmail.com>
1024 * ldelfgen.c (compare_link_order): Protect access of ELF section
1026 (add_link_order_input_section): Remove redundant NULL check.
1027 Use bfd_get_flavour.
1028 (ldelf_map_segments): Use bfd_get_flavour.
1030 2021-01-13 H.J. Lu <hongjiu.lu@intel.com>
1032 * ldelfgen.c (add_link_order_input_section): Check for ELF input
1033 before accessing ELF section data.
1035 2021-01-13 Alan Modra <amodra@gmail.com>
1037 * Makefile.in: Regenerate.
1039 2021-01-13 Alan Modra <amodra@gmail.com>
1042 * ldlang.h (lang_output_section_statement_type): Add data field.
1043 (lang_input_section_type, lang_section_bst_type): Add pattern field.
1044 (statement_list): Declare.
1045 (lang_add_section): Adjust prototype.
1046 * emultempl/aarch64elf.em: Adjust lang_add_section calls.
1047 * emultempl/armelf.em: Likewise.
1048 * emultempl/beos.em: Likewise.
1049 * emultempl/cskyelf.em: Likewise.
1050 * emultempl/hppaelf.em: Likewise.
1051 * emultempl/m68hc1xelf.em: Likewise.
1052 * emultempl/metagelf.em: Likewise.
1053 * emultempl/mipself.em: Likewise.
1054 * emultempl/mmo.em: Likewise.
1055 * emultempl/msp430.em: Likewise.
1056 * emultempl/nios2elf.em: Likewise.
1057 * emultempl/pe.em: Likewise.
1058 * emultempl/pep.em: Likewise.
1059 * emultempl/ppc64elf.em: Likewise.
1060 * emultempl/spuelf.em: Likewise.
1061 * emultempl/vms.em: Likewise.
1062 * ldelf.c: Likewise.
1063 * ldelfgen.c: Include ldctor.h.
1064 (struct os_sections): New.
1065 (add_link_order_input_section, link_order_scan): New functions.
1066 (compare_link_order, fixup_link_order): New functions.
1067 (ldelf_map_segments): Call link_order_scan and fixup_link_order.
1068 * ldlang.c (statement_list): Make global.
1069 (output_section_callback_fast): Save pattern in tree node.
1070 (lang_add_section): Add pattern parameter, save in lang_input_section.
1071 (output_section_callback_tree_to_list): Adjust lang_add_section calls.
1072 (lang_insert_orphan, output_section_callback): Likewise.
1073 (ldlang_place_orphan): Likewise.
1074 (gc_section_callback): Don't set section->pattern.
1075 * testsuite/ld-elf/pr26256-2a.d: Don't xfail generic.
1076 * testsuite/ld-elf/pr26256-3b.d: Likewise.
1077 * testsuite/ld-elf/pr26256-2b.d: Likewise. notarget xgate.
1079 2021-01-13 Alan Modra <amodra@gmail.com>
1081 * ldlang.h (callback_t): Remove flag_info function parameter.
1082 * ldlang.c (walk_wild_consider_section): Adjust to suit.
1083 (walk_wild_section_general): Likewise.
1084 (output_section_callback_fast, output_section_callback): Likewise.
1085 (check_section_callback, gc_section_callback): Likewise.
1086 (find_relro_section_callback): Likewise.
1088 2021-01-12 H.J. Lu <hongjiu.lu@intel.com>
1091 * configure.ac: Use GNU_MAKE_JOBSERVER.
1092 * aclocal.m4: Regenerated.
1093 * configure: Likewise.
1095 2021-01-12 H.J. Lu <hongjiu.lu@intel.com>
1098 * testsuite/ld-x86-64/pe-x86-64-5.obj.bz2: New file.
1099 * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise.
1100 * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise.
1101 * testsuite/ld-x86-64/pe-x86-64.exp: Run PR ld/27171 test.
1103 2021-01-11 H.J. Lu <hongjiu.lu@intel.com>
1106 * configure: Regenerated.
1108 2021-01-11 Matt Jenkins <matt@majenko.co.uk>
1111 * ldmain.c (get_emulation): Add mipsmips32r3, mips32r5, mips64r3
1112 and mips64r5 to list of known mips targets.
1114 2021-01-11 Nick Clifton <nickc@redhat.com>matt@majenko.co.uk
1116 * po/pt_BR.po: Updated Brazilian Portuguese translation.
1117 ` * po/uk.po: Updated Ukranian translation.
1119 2021-01-09 H.J. Lu <hongjiu.lu@intel.com>
1121 * configure: Regenerated.
1123 2021-01-09 H.J. Lu <hongjiu.lu@intel.com>
1126 * testsuite/ld-x86-64/lam-u48.rd: New file.
1127 * testsuite/ld-x86-64/lam-u57.rd: Likewise.
1128 * testsuite/ld-x86-64/x86-64.exp: Add PR ld/27166 tests.
1130 2021-01-09 Nick Clifton <nickc@redhat.com>
1132 * configure: Regenerate.
1133 * po/ld.pot: Regenerate.
1135 2021-01-09 Nick Clifton <nickc@redhat.com>
1137 * 2.36 release branch crated.
1139 2021-01-08 H.J. Lu <hongjiu.lu@intel.com>
1141 * ld-x86-64/property-x86-lam-u48-4.d: Updated.
1142 * ld-x86-64/property-x86-lam-u48-5.d: Likewise.
1144 2021-01-09 Alan Modra <amodra@gmail.com>
1146 * configure: Regenerate.
1147 * Makefile.in: Regenerate.
1149 2021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
1151 * configure: Regenerate.
1153 2021-01-07 H.J. Lu <hongjiu.lu@intel.com>
1156 * testsuite/ld-elf/export-class.sd: Adjust the expected output.
1157 * testsuite/ld-elf/loadaddr3b.d: Likewise.
1158 * testsuite/ld-i386/ibt-plt-1.d: Likewise.
1159 * testsuite/ld-i386/ibt-plt-2a.d: Likewise.
1160 * testsuite/ld-i386/ibt-plt-2c.d: Likewise.
1161 * testsuite/ld-i386/ibt-plt-3a.d: Likewise.
1162 * testsuite/ld-i386/ibt-plt-3c.d: Likewise.
1163 * testsuite/ld-i386/pr19636-1d.d: Likewise.
1164 * testsuite/ld-i386/pr19636-1l.d: Likewise.
1165 * testsuite/ld-i386/pr19636-2c.d: Likewise.
1166 * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise.
1167 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise.
1168 * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Likewise.
1169 * testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise.
1170 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1171 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1172 * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise.
1173 * testsuite/ld-ifunc/pr17154-i386.d: Likewise.
1174 * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
1175 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
1176 * testsuite/ld-x86-64/bnd-branch-1-now.d: Likewise.
1177 * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise.
1178 * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise.
1179 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
1180 * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise.
1181 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
1182 * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise.
1183 * testsuite/ld-x86-64/ibt-plt-1.d: Likewise.
1184 * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise.
1185 * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise.
1186 * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise.
1187 * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise.
1188 * testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise.
1189 * testsuite/ld-x86-64/ibt-plt-3a.d: Likewise.
1190 * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise.
1191 * testsuite/ld-x86-64/ibt-plt-3c.d: Likewise.
1192 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
1193 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
1194 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
1195 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
1196 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
1197 * testsuite/ld-x86-64/pr19636-2l.d: Likewise.
1198 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
1199 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
1200 * testsuite/ld-x86-64/pr21038b-now.d: Likewise.
1201 * testsuite/ld-x86-64/pr21038b.d: Likewise.
1202 * testsuite/ld-x86-64/pr21038c-now.d: Likewise.
1203 * testsuite/ld-x86-64/pr21038c.d: Likewise.
1204 * testsuite/ld-x86-64/pr23854.d: Likewise.
1205 * testsuite/ld-x86-64/pr25416-3.d: Likewise.
1206 * testsuite/ld-x86-64/pr25416-4.d: Likewise.
1207 * testsuite/ld-i386/plt-pic.pd: Likewise.
1208 * testsuite/ld-i386/plt-pic2.dd: Likewise.
1209 * testsuite/ld-i386/plt.pd: Likewise.
1210 * testsuite/ld-i386/plt2.dd: Likewise.
1211 * testsuite/ld-i386/tlsbin.rd: Likewise.
1212 * testsuite/ld-i386/tlsbin2.rd: Likewise.
1213 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
1214 * testsuite/ld-i386/tlsdesc.rd: Likewise.
1215 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
1216 * testsuite/ld-i386/tlsnopic.rd: Likewise.
1217 * testsuite/ld-i386/tlspic.rd: Likewise.
1218 * testsuite/ld-i386/tlspic2.rd: Likewise.
1219 * testsuite/ld-x86-64/mpx3.dd: Likewise.
1220 * testsuite/ld-x86-64/mpx3n.dd: Likewise.
1221 * testsuite/ld-x86-64/mpx4.dd: Likewise.
1222 * testsuite/ld-x86-64/mpx4n.dd: Likewise.
1223 * testsuite/ld-x86-64/pe-x86-64-1.od: Likewise.
1224 * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise.
1225 * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise.
1226 * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise.
1227 * testsuite/ld-x86-64/plt.pd: Likewise.
1228 * testsuite/ld-x86-64/plt2.dd: Likewise.
1229 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
1230 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
1231 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
1232 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1233 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
1234 * testsuite/ld-x86-64/tlspic.rd: Likewise.
1235 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
1236 * testsuite/ld-elf/sec64k.exp: Check
1237 is_elf_unused_section_symbols.
1239 2021-01-07 Alan Modra <amodra@gmail.com>
1241 * testsuite/ld-scripts/fill.d: Skip sh-*-pe rather than xfail.
1242 * testsuite/ld-scripts/fill16.d: Don't xfail sh-*-pe.
1243 * testsuite/ld-scripts/segment-start.d: Likewise.
1245 2021-01-07 Alan Modra <amodra@gmail.com>
1247 * testsuite/ld-elf/comm-data5.d: xfail targets that complain
1248 about dynamic relocations in read-only sections.
1249 * testsuite/ld-elf/ehdr_start-shared.d: Likewise.
1250 * testsuite/ld-elf/ehdr_start.d: Likewise.
1251 * testsuite/ld-scripts/pr22267.d: Likewise.
1252 * testsuite/ld-elf/shared.exp: Likewise for DT_TEXTREL tests and
1254 * testsuite/ld-elf/sec64k.exp: Don't run 64ksec on lm32-linux.
1256 2021-01-07 Marcus Comstedt <marcus@mc.pp.se>
1258 * testsuite/ld-scripts/empty-address-2a.d: xfail riscv64*-*-*.
1259 * testsuite/ld-scripts/empty-address-2b.d: Likewise.
1261 2021-01-07 Alan Modra <amodra@gmail.com>
1263 * po/BLD-POTFILES.in: Regenerate.
1265 2021-01-07 Alan Modra <amodra@gmail.com>
1267 * testsuite/ld-elf/shared.exp: xfail pr22471 for targets that
1268 complain about relocs in read-only sections. Tidy ASFLAGS append.
1270 2021-01-06 Alan Modra <amodra@gmail.com>
1272 * testsuite/ld-sparc/sparc.exp (sparc64tests): Set text-segment
1273 base for some tests.
1274 * testsuite/ld-sparc/gotop32.dd: Match solaris output.
1275 * testsuite/ld-sparc/gotop32.sd: Likewise.
1276 * testsuite/ld-sparc/gotop32.td: Likewise.
1277 * testsuite/ld-sparc/gotop64.dd: Likewise.
1278 * testsuite/ld-sparc/gotop64.sd: Likewise.
1279 * testsuite/ld-sparc/gotop64.td: Likewise.
1280 * testsuite/ld-sparc/tlsg32.sd: Likewise.
1281 * testsuite/ld-sparc/tlsg64.sd: Likewise.
1282 * testsuite/ld-sparc/tlspie32.dd: Likewise.
1283 * testsuite/ld-sparc/tlspie64.dd: Likewise.
1284 * testsuite/ld-sparc/tlssunbin32.dd: Likewise.
1285 * testsuite/ld-sparc/tlssunbin32.sd: Likewise.
1286 * testsuite/ld-sparc/tlssunbin32.td: Likewise.
1287 * testsuite/ld-sparc/tlssunbin64.dd: Likewise.
1288 * testsuite/ld-sparc/tlssunbin64.sd: Likewise.
1289 * testsuite/ld-sparc/tlssunbin64.td: Likewise.
1290 * testsuite/ld-sparc/tlssunnopic32.dd: Likewise.
1291 * testsuite/ld-sparc/tlssunnopic32.sd: Likewise.
1292 * testsuite/ld-sparc/tlssunnopic64.dd: Likewise.
1293 * testsuite/ld-sparc/tlssunnopic64.sd: Likewise.
1294 * testsuite/ld-sparc/tlssunpic32.dd: Likewise.
1295 * testsuite/ld-sparc/tlssunpic32.sd: Likewise.
1296 * testsuite/ld-sparc/tlssunpic32.td: Likewise.
1297 * testsuite/ld-sparc/tlssunpic64.dd: Likewise.
1298 * testsuite/ld-sparc/tlssunpic64.sd: Likewise.
1299 * testsuite/ld-sparc/tlssunpic64.td: Likewise.
1300 * testsuite/ld-sparc/wdispcall.dd: Likewise.
1302 2021-01-06 Alan Modra <amodra@gmail.com>
1304 * testsuite/ld-scripts/rgn-at10.d: xfail v850.
1305 * testsuite/ld-scripts/rgn-at11.d: Likewise.
1307 2021-01-06 Marcus Comstedt <marcus@mc.pp.se>
1309 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Added
1310 riscv_choose_[ilp32|lp64]_emul to choose the correct linker script.
1311 * testsuite/ld-riscv-elf/attr-merge-arch-01.d: Call
1312 riscv_choose_[ilp32|lp64]_emul instead of hardcoding elf[32|64]lriscv.
1313 * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
1314 * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
1315 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Likewise.
1316 * testsuite/ld-riscv-elf/attr-merge-arch-failed-02.d: Likewise.
1317 * testsuite/ld-riscv-elf/c-lui-2.d: Likewise.
1318 * testsuite/ld-riscv-elf/c-lui.d: Likewise.
1319 * testsuite/ld-riscv-elf/call-relax.d: Likewise.
1320 * testsuite/ld-riscv-elf/pcrel-lo-addend-2.d: Likewise.
1321 * testsuite/ld-riscv-elf/pcrel-lo-addend.d: Likewise.
1322 * testsuite/ld-riscv-elf/weakref32.d: Accept bigriscv in addition
1324 * testsuite/ld-riscv-elf/weakref64.d: Likewise.
1326 2021-01-06 Marcus Comstedt <marcus@mc.pp.se>
1328 * configure.tgt: Added riscvbe-*-*, riscv32be*-*-*, riscv64be*-*-*,
1329 riscv32be*-*-linux*, and riscv64be*-*-linux*.
1330 * Makefile.am: Added eelf32briscv.c, eelf32briscv_ilp32f.c and
1331 eelf32briscv_ilp32.c.
1332 * Makefile.in: Regenerate.
1333 * emulparams/elf32briscv.sh: Added.
1334 * emulparams/elf32briscv_ilp32.sh: Likewise.
1335 * emulparams/elf32briscv_ilp32f.sh: Likewise.
1336 * emulparams/elf64briscv.sh: Likewise.
1337 * emulparams/elf64briscv_lp64.sh: Likewise.
1338 * emulparams/elf64briscv_lp64f.sh: Likewise.
1340 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
1342 * testsuite/ld-ctf/enum-forward.c: New test.
1343 * testsuite/ld-ctf/enum-forward.c: New results.
1345 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
1347 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
1348 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
1349 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
1350 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
1351 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
1352 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
1353 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
1354 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
1355 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
1356 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
1357 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
1358 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
1359 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
1360 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
1361 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
1362 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
1363 * testsuite/ld-ctf/cycle-1.d: Likewise.
1364 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
1365 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
1366 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
1367 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
1368 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
1369 * testsuite/ld-ctf/diag-cuname.d: Likewise.
1370 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
1371 * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise.
1372 * testsuite/ld-ctf/forward.d: Likewise.
1373 * testsuite/ld-ctf/function.d: Likewise.
1374 * testsuite/ld-ctf/slice.d: Likewise.
1375 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
1376 * testsuite/ld-ctf/enums.c: New test.
1377 * testsuite/ld-ctf/enums.d: New test.
1379 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
1381 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Adjust for dumper
1383 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
1384 * testsuite/ld-ctf/forward.c: New test...
1385 * testsuite/ld-ctf/forward.d: ... and results.
1387 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
1389 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
1390 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
1391 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
1392 * testsuite/ld-ctf/diag-cuname.d: Likewise.
1393 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
1394 * testsuite/ld-ctf/function.d: Likewise.
1395 * testsuite/ld-ctf/slice.d: Likewise.
1397 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
1399 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
1400 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
1401 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
1402 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
1403 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
1404 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
1405 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
1406 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
1407 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
1408 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
1409 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
1410 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
1411 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
1412 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
1413 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
1414 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
1415 * testsuite/ld-ctf/cycle-1.d: Likewise.
1416 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
1417 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
1418 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
1419 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
1420 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
1421 * testsuite/ld-ctf/diag-cuname.d: Likewise.
1422 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
1423 * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise.
1424 * testsuite/ld-ctf/function.d: Likewise.
1425 * testsuite/ld-ctf/slice.d: Likewise.
1426 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
1428 2021-01-05 Alan Modra <amodra@gmail.com>
1430 * testsuite/ld-scripts/sysroot-prefix.exp: Exclude some targets.
1432 2021-01-05 Alan Modra <amodra@gmail.com>
1435 * testsuite/ld-elf/pr26256-1b.d: xfail s12z.
1436 * testsuite/ld-scripts/crossref.exp (cross1): Don't xfail ia64.
1438 2021-01-04 H.J. Lu <hongjiu.lu@intel.com>
1441 * ldlang.c (gc_section_callback): Set pattern.
1442 * testsuite/ld-elf/pr26256-1.s: New file.
1443 * testsuite/ld-elf/pr26256-1.t: Likewise.
1444 * testsuite/ld-elf/pr26256-1a.d: Likewise.
1445 * testsuite/ld-elf/pr26256-1b.d: Likewise.
1446 * testsuite/ld-elf/pr26256-2.s: Likewise.
1447 * testsuite/ld-elf/pr26256-2.t: Likewise.
1448 * testsuite/ld-elf/pr26256-2a.d: Likewise.
1449 * testsuite/ld-elf/pr26256-2b-alt.d: Likewise.
1450 * testsuite/ld-elf/pr26256-2b.d: Likewise.
1451 * testsuite/ld-elf/pr26256-3.s: Likewise.
1452 * testsuite/ld-elf/pr26256-3a.d: Likewise.
1453 * testsuite/ld-elf/pr26256-3a.t: Likewise.
1454 * testsuite/ld-elf/pr26256-3b.d: Likewise.
1455 * testsuite/ld-elf/pr26256-3b.t: Likewise.
1457 2021-01-04 Alan Modra <amodra@gmail.com>
1460 * testsuite/ld-arm/non-contiguous-arm2.d: Adjust STT_FILE symbol match.
1461 * testsuite/ld-arm/non-contiguous-arm3.d: Likewise.
1462 * testsuite/ld-arm/non-contiguous-arm5.d: Likewise.
1463 * testsuite/ld-arm/non-contiguous-arm6.d: Likewise.
1464 * testsuite/ld-i386/tlsbin.rd: Likewise.
1465 * testsuite/ld-i386/tlsbin2.rd: Likewise.
1466 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
1467 * testsuite/ld-i386/tlsdesc.rd: Likewise.
1468 * testsuite/ld-i386/tlsnopic.rd: Likewise.
1469 * testsuite/ld-i386/tlspic.rd: Likewise.
1470 * testsuite/ld-i386/tlspic2.rd: Likewise.
1471 * testsuite/ld-mips-elf/global-local-symtab-sort-n64.d: Likewise.
1472 * testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d: Likewise.
1473 * testsuite/ld-mips-elf/global-local-symtab-sort-o32.d: Likewise.
1474 * testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d: Likewise.
1475 * testsuite/ld-plugin/pr17973.d: Likewise.
1476 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
1477 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
1478 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
1479 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
1480 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
1481 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
1482 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
1483 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
1484 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
1485 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
1486 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
1487 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
1488 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
1489 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
1490 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
1491 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
1492 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1493 * testsuite/ld-x86-64/tlspic.rd: Likewise.
1494 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
1495 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
1496 * testsuite/ld-xtensa/tlspic.rd: Likewise.
1498 2021-01-01 Nicolas Boulenguez <nicolas@debian.org>
1500 * configure.tgt: Correct comment grammar.
1501 * emultempl/m68hc1xelf.em: Likewise.
1502 * ld.texi: Correct grammar.
1504 2021-01-01 Alan Modra <amodra@gmail.com>
1506 Update year range in copyright notice of all files.
1508 For older changes see ChangeLog-2020
1510 Copyright (C) 2021 Free Software Foundation, Inc.
1512 Copying and distribution of this file, with or without modification,
1513 are permitted in any medium without royalty provided the copyright
1514 notice and this notice are preserved.
1520 version-control: never