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