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