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