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