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