]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/ChangeLog
gdb/testsuite: resolve remaining duplicate test names in gdb.python/*.exp
[thirdparty/binutils-gdb.git] / ld / ChangeLog
CommitLineData
1b2cb8e2
CC
12021-03-12 Clément Chigot <clement.chigot@atos.net>
2
3 * emultempl/aix.em: Ensure .tdata section is removed
4 if empty, even with -r flag.
5 * scripttempl/aix.sc: Handle TLS sections.
6 * testsuite/ld-powerpc/aix52.exp: Add new tests.
7 * testsuite/ld-powerpc/aix-tls-reloc-32.d: New test.
8 * testsuite/ld-powerpc/aix-tls-reloc-64.d: New test.
9 * testsuite/ld-powerpc/aix-tls-reloc.ex: New test.
10 * testsuite/ld-powerpc/aix-tls-reloc.s: New test.
11 * testsuite/ld-powerpc/aix-tls-section-32.d: New test.
12 * testsuite/ld-powerpc/aix-tls-section-64.d: New test.
13 * testsuite/ld-powerpc/aix-tls-section.ex: New test.
14 * testsuite/ld-powerpc/aix-tls-section.s: New test.
15
4a403be0
CC
162021-03-12 Clément Chigot <clement.chigot@atos.net>
17
18 * scripttempl/aix.sc: Add .te to .data section.
19 * testsuite/ld-powerpc/aix52.exp: Add test structure for AIX7+.
20 Add aix-largetoc-1 test.
21 * testsuite/ld-powerpc/aix-largetoc-1-32.d: New test.
22 * testsuite/ld-powerpc/aix-largetoc-1-64.d: New test.
23 * testsuite/ld-powerpc/aix-largetoc-1.ex: New test.
24 * testsuite/ld-powerpc/aix-largetoc-1.s: New test.
25
68cb2183
AM
262021-03-12 Alan Modra <amodra@gmail.com>
27
28 * testsuite/ld-gc/gc.exp: Pass "-image-base 0" to ld for PE, and
29 arrange to define __main for some run_dump_test tests.
30 * testsuite/ld-gc/pr13683.d: Accept more symbols.
31 * testsuite/ld-gc/pr14265.d: Likewise, and ordering.
32 * testsuite/ld-scripts/crossref.exp: Pass "-image-base 0" to ld for PE.
33 * testsuite/ld-srec/srec.exp: Likewise.
34 * testsuite/lib/ld-lib.exp (ld_link_defsyms): Use is_pecoff_format.
35
ebdcad3f
NC
362021-03-11 Nelson Chu <nelson.chu@sifive.com>
37
38 * emultempl/riscvelf.em (after_allocation): Run ldelf_map_segments
39 many times if riscv_restart_relax_sections returns TRUE.
40 * testsuite/ld-riscv-elf/restart-relax.d: New testcase. Before
41 applying this patch, the call won't be relaxed to jal; But now we
42 have more chances to do relaxations.
43 * testsuite/ld-riscv-elf/restart-relax.s: Likewise.
44 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
45
67b0f684
JB
462021-03-10 Jan Beulich <jbeulich@suse.com>
47
48 * testsuite/ld-scripts/pr22267.t: Avoid symbol value with more
49 than 32 set bits.
50 * testsuite/ld-scripts/pr22267.d: Adjust expectation and drop
51 comment.
52 * scripttempl/mcorepe.sc: Use PROVIDE() for _stack.
53
5dc75cf3
JB
542021-03-09 Jan Beulich <jbeulich@suse.com>
55
56 * testsuite/ld-pe/reloc.s: Add entry point symbols. Increase
57 alignment to 4k.
58 * testsuite/ld-pe/reloc.d: xfail for mcore.
59
87fa7d56
JB
602021-03-09 Jan Beulich <jbeulich@suse.com>
61
62 * testsuite/ld-scripts/alignof.exp,
63 testsuite/ld-scripts/data.exp,
64 testsuite/ld-scripts/default-script.exp,
65 testsuite/ld-scripts/log2.exp,
66 testsuite/ld-scripts/print-memory-usage.exp,
67 testsuite/ld-scripts/sizeof.exp,
68 testsuite/ld-undefined/weak-undef.exp: Set image base to zero
69 for PE/COFF.
70 * testsuite/ld-scripts/default-script1.d,
71 testsuite/ld-scripts/default-script2.d,
72 testsuite/ld-scripts/default-script3.d,
73 testsuite/ld-scripts/default-script4.d: Drop xfail and comment.
74
8c0546e9
L
752021-03-05 H.J. Lu <hongjiu.lu@intel.com>
76
77 PR ld/27425
78 PR ld/27432
79 * ldelf.c (ldelf_set_output_arch): New function.
80 * ldelf.h (ldelf_set_output_arch): New prototype.
81 * emultempl/elf.em (LDEMUL_SET_OUTPUT_ARCH): Default to
82 ldelf_set_output_arch.
83 * ld-x86-64/pe-x86-64-1.od: Expect __executable_start.
84 * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise.
85 * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise.
86 * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise.
87 * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise.
88 * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise.
89 * testsuite/ld-x86-64/pe-x86-64-6.obj.bz2: New file.
90 * testsuite/ld-x86-64/pe-x86-64-6.od: Likewise.
91 * testsuite/ld-x86-64/pe-x86-64.exp: Run ld/27425 test.
92
d4e5db4e
JB
932021-03-04 Jan Beulich <jbeulich@suse.com>
94
95 * testsuite/ld-scripts/map-address.exp: Set image base to zero
96 for PE/COFF.
97 * testsuite/ld-scripts/map-address.t: Place .text.
98
6fa7408d
JB
992021-03-04 Jan Beulich <jbeulich@suse.com>
100
101 * ldexp.c (ldexp_is_final_sym_absolute): New.
102 * ldexp.h (ldexp_is_final_sym_absolute): Declare.
103 * pe-dll.c (generate_reloc): Skip absolute symbols.
104 * testsuite/ld-pe/reloc.s, testsuite/ld-pe/reloc.d: New.
105 * testsuite/ld-pe/pe.exp: Run new test.
106
5789f845
AM
1072021-03-03 Alan Modra <amodra@gmail.com>
108
109 PR 27500
110 * ldlang.c (insert_undefined): Don't mark symbols here.
111 (lang_mark_undefineds): Do so here instead, new function.
112 (lang_process): Call lang_mark_undefineds.
113 * testsuite/ld-gc/start3.d,
114 * testsuite/ld-gc/start3.s: New test.
115 * testsuite/ld-gc/start4.d,
116 * testsuite/ld-gc/start4.s: New test.
117 * testsuite/ld-gc/gc.exp: Run them.
118
270f32fc
AM
1192021-03-03 Alan Modra <amodra@gmail.com>
120
121 * testsuite/ld-gc/gc.exp: Define UNDERSCORE in ASFLAGS.
122 Move tests with ELF section directives to is_elf_format block.
123 * testsuite/ld-gc/abi-note.d: Run on more targets.
124 * testsuite/ld-gc/pr19167.d: Likewise and adjust xfails.
125 * testsuite/ld-gc/start.d: Likewise.
126 * testsuite/ld-gc/start2.d: Likewise.
127 * testsuite/ld-gc/stop.d: Likewise.
128 * testsuite/ld-gc/pr19167a.s: Add support for underscore targets.
129 * testsuite/ld-gc/start.s: Likewise.
130 * testsuite/ld-gc/start2.s: Likewise.
131
211bcd01
NA
1322021-03-02 Nick Alcock <nick.alcock@oracle.com>
133
134 * ldelfgen.c (ldelf_ctf_strtab_iter_cb): Skip zero-refcount strings.
135
b80e421f
AM
1362021-03-02 Alan Modra <amodra@gmail.com>
137
138 * testsuite/ld-powerpc/startstop.d,
139 * testsuite/ld-powerpc/startstop.r,
140 * testsuite/ld-powerpc/startstop.s: New test.
141 * testsuite/ld-powerpc/powerpc.exp: Run it.
142
f5b9c288
AM
1432021-03-02 Alan Modra <amodra@gmail.com>
144
145 * testsuite/ld-powerpc/weak1.d,
146 * testsuite/ld-powerpc/weak1.r,
147 * testsuite/ld-powerpc/weak1.s,
148 * testsuite/ld-powerpc/weak1so.d,
149 * testsuite/ld-powerpc/weak1so.r: New tests.
150 * testsuite/ld-powerpc/powerpc.exp: Run them.
151
ba6eb62f
NC
1522021-03-01 Hannes Domani <ssbssa@sourceware.org>
153 Nick Clifton <nickc@redhat.com>
154
155 PR 27268
156 * scripttempl/pe.sc: Add DWARF-5 section names.
157 * scripttempl/pep.sc: Likewise.
158
8ee10e86
AM
1592021-03-01 Alan Modra <amodra@gmail.com>
160 Fangrui Song <maskray@google.com>
161
162 * emultempl/elf.em: Handle -z start-stop-gc and -z nostart-stop-gc.
163 * lexsup.c (elf_static_list_options): Display help for them. Move
164 help for -z stack-size to here from elf_shlib_list_options. Add
165 help for -z start-stop-visibility and -z undefs.
166 * ld.texi: Document -z start-stop-gc and -z nostart-stop-gc.
167 * NEWS: Mention -z start-stop-gc.
168 * testsuite/ld-gc/start2.s,
169 * testsuite/ld-gc/start2.d: New test.
170 * testsuite/ld-gc/gc.exp: Run it.
171
7824c1d2
AM
1722021-03-01 Alan Modra <amodra@gmail.com>
173
174 * ldlang.c (undef_start_stop): For ELF make undefined start/stop
175 symbols undefweak if that was how they were referenced. Undo
176 dynamic state too.
177
6a1224ec
AM
1782021-03-01 Alan Modra <amodra@gmail.com>
179
180 * testsuite/ld-elf/pr25708.d: Add --with-symbol-versions to nm.
181 * testsuite/ld-elf/pr27128a.d: Likewise.
182 * testsuite/ld-elf/pr27128b.d: Likewise.
183 * testsuite/ld-elf/pr27128c.d: Likewise.
184 * testsuite/ld-elf/pr27128d.d: Likewise.
185 * testsuite/ld-elf/pr27128e.d: Likewise.
186
bfece756
AM
1872021-02-26 Alan Modra <amodra@gmail.com>
188
189 PR 27441
190 * testsuite/ld-plugin/pr27441a.c,
191 * testsuite/ld-plugin/pr27441b.c,
192 * testsuite/ld-plugin/pr27441c.c,
193 * testsuite/ld-plugin/pr27441c.d: New test.
194 * testsuite/ld-plugin/lto.exp: Run it.
195
3c27360b
JB
1962021-02-25 Jan Beulich <jbeulich@suse.com>
197
198 * ld.texi (PROVIDE): Downgrade "error" to "diagnostic".
199
89753bbf
AM
2002021-02-21 Alan Modra <amodra@gmail.com>
201
202 * ldexp.c (exp_fold_tree_1): Warn on script defining a symbol
203 defined in an object file.
204 * ldmain.c (multiple_definition): Heed info->warn_multiple_definition.
205 * testsuite/ld-scripts/defined5.d: Expect a warning.
206
2f973f13
AM
2072021-02-19 Alan Modra <amodra@gmail.com>
208
209 * testsuite/lib/ld-lib.exp: Whitespace.
210 (load_common_lib): Expand single use and delete this proc.
211 (run_host_cmd): Use -fno-lto when getting gcc's ld version.
212 Use -B for clang too.
213
a364a116
AB
2142021-02-18 Andrew Burgess <andrew.burgess@embecosm.com>
215
216 * testplugin.c (record_read_length): Remove debug fprintf.
217
5b1f6c95
AM
2182021-02-14 Alan Modra <amodra@gmail.com>
219
220 * testsuite/ld-cdtest/cdtest.exp,
221 * testsuite/ld-checks/checks.exp,
222 * testsuite/ld-elf/binutils.exp,
223 * testsuite/ld-elf/compress.exp,
224 * testsuite/ld-elf/dwarf.exp,
225 * testsuite/ld-elf/exclude.exp,
226 * testsuite/ld-elf/frame.exp,
227 * testsuite/ld-elf/indirect.exp,
228 * testsuite/ld-elf/linux-x86.exp,
229 * testsuite/ld-elf/sec-to-seg.exp,
230 * testsuite/ld-elf/tls_common.exp,
231 * testsuite/ld-elfcomm/elfcomm.exp,
232 * testsuite/ld-elfvers/vers.exp,
233 * testsuite/ld-elfvsb/elfvsb.exp,
234 * testsuite/ld-elfweak/elfweak.exp,
235 * testsuite/ld-ifunc/binutils.exp,
236 * testsuite/ld-mips-elf/mips-elf-flags.exp,
237 * testsuite/ld-misc/defsym.exp,
238 * testsuite/ld-mn10300/mn10300.exp,
239 * testsuite/ld-plugin/lto.exp,
240 * testsuite/ld-plugin/plugin.exp,
241 * testsuite/ld-scripts/align.exp,
242 * testsuite/ld-scripts/assert.exp,
243 * testsuite/ld-scripts/crossref.exp,
244 * testsuite/ld-scripts/defined.exp,
245 * testsuite/ld-scripts/extern.exp,
246 * testsuite/ld-scripts/log2.exp,
247 * testsuite/ld-scripts/map-address.exp,
248 * testsuite/ld-scripts/phdrs.exp,
249 * testsuite/ld-scripts/phdrs2.exp,
250 * testsuite/ld-scripts/script.exp,
251 * testsuite/ld-scripts/section-flags.exp,
252 * testsuite/ld-scripts/sizeof.exp,
253 * testsuite/ld-scripts/weak.exp,
254 * testsuite/ld-selective/selective.exp,
255 * testsuite/ld-sh/sh.exp,
256 * testsuite/ld-shared/shared.exp,
257 * testsuite/ld-srec/srec.exp,
258 * testsuite/ld-tic6x/tic6x.exp,
259 * testsuite/ld-undefined/undefined.exp,
260 * testsuite/ld-undefined/weak-undef.exp,
261 * testsuite/lib/ld-lib.exp: Don't use unresolved except after
262 perror. Instead report "unsupported" or "fail".
263
c46b7066
NC
2642021-02-12 Nick Clifton <nickc@redhat.com>
265
266 * testsuite/ld-elf/sec64k.exp: Stop readelf from automatically
267 following debug links.
268
933feaf3
AM
2692021-02-11 Alan Modra <amodra@gmail.com>
270
271 * NEWS: Mention arm-symbianelf removal.
272
a57d1773
AM
2732021-02-09 Alan Modra <amodra@gmail.com>
274
275 * Makefile.am (ALL_EMULATION_SOURCES): Remove earmsymbian.c.
276 Don't include symbian dep file.
277 * configure.tgt: Remove arm*-*-symbianelf* entry.
278 * emulparams/armsymbian.sh: Delete.
279 * ld.texi: Don't mention symbian.
280 * scripttempl/armbpabi.sc: Delete.
281 * testsuite/ld-arm/symbian-seg1.d: Delete.
282 * testsuite/ld-arm/symbian-seg1.s: Delete.
283 * testsuite/ld-arm/arm-elf.exp: Don't run symbian-seg1.
284 * Makefile.in: Regenerate.
285 * po/BLD-POTFILES.in: Regenerate.
286
38a143aa
L
2872021-02-07 H.J. Lu <hongjiu.lu@intel.com>
288
289 PR ld/27358
290 * testsuite/ld-i386/i386.exp: Remove property 3/4/5 run-time
291 tests.
292 * testsuite/ld-x86-64/x86-64.exp: Likewise.
293
35a01a04
NA
2942021-01-26 Nick Alcock <nick.alcock@oracle.com>
295
296 * ldlang.c (lang_merge_ctf): Set CTF_LINK_NO_FILTER_REPORTED_SYMS
297 when appropriate.
298
1a2f1b54
L
2992021-02-04 H.J. Lu <hongjiu.lu@intel.com>
300
301 PR ld/19609
302 * testsuite/ld-x86-64/pr19609-2a.d: Updated.
303 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
304 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
305 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
306 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
307 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
308 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
309
37707bd8
L
3102021-02-04 H.J. Lu <hongjiu.lu@intel.com>
311
312 PR ld/15146
313 * testsuite/ld-plugin/lto.exp: Run PR ld/15146 tests.
314 * testsuite/ld-plugin/pr15146.d: Restored.
315 * testsuite/ld-plugin/pr15146a.c: Likewise.
316 * testsuite/ld-plugin/pr15146b.c: Likewise.
317 * testsuite/ld-plugin/pr15146c.c: Likewise.
318 * testsuite/ld-plugin/pr15146d.c: Likewise.
319
7d409ac0
AM
3202021-02-04 Alan Modra <amodra@gmail.com>
321
322 * testsuite/ld-plugin/pr27311d.c: New test.
323 * testsuite/ld-plugin/lto.exp: Rename pr27311 to pr27311-1, compile
324 and link new test as pr27311-2.
325
69551367
AM
3262021-02-03 Alan Modra <amodra@gmail.com>
327
328 * testsuite/ld-ifunc/ifunc.exp (libpr16467b.so, libpr16467bn.so):
329 Link with --as-needed.
330
9918bff7
AM
3312021-02-02 Alan Modra <amodra@gmail.com>
332
333 * testsuite/ld-plugin/pr27311.d,
334 * testsuite/ld-plugin/pr27311.ver,
335 * testsuite/ld-plugin/pr27311a.c,
336 * testsuite/ld-plugin/pr27311b.c,
337 * testsuite/ld-plugin/pr27311c.c: New testcase.
338 * testsuite/ld-plugin/lto.exp: Run it. Correct PR14918 and
339 PR12982 entries.
340
1f568f9a
EH
3412021-02-01 Emery Hemingway <ehmry@posteo.net>
342
343 * configure.tgt: Add *-*-genode* as a target for AArch64 and x86.
344
fb6c220e
AM
3452021-02-01 Alan Modra <amodra@gmail.com>
346
347 * ldgram.y (defsym_expr): Use assignment rule.
348 * ldlex.h (ldlex_defsym): Delete.
349 * ldlex.l (DEFSYMEXP, ldlex_defsym): Delete.
350
40726f16
AM
3512021-02-01 Alan Modra <amodra@gmail.com>
352
353 * ldgram.y (section): Call ldlex_backup. Remove empty action.
354 * ldlex.h (ldlex_backup): Declare.
355 * ldlex.l (<EXPRESSION>NAME): Don't use NOCFILENAMECHAR set of
356 chars, use SYMBOLNAMECHAR.
357 (ldlex_backup): New function.
358
a5f92c67
AM
3592021-02-01 Alan Modra <amodra@gmail.com>
360
361 * ldgram.y: Whitespace fixes.
362
49daa38f
AM
3632021-02-01 Alan Modra <amodra@gmail.com>
364
365 * testsuite/ld-elf/pr27259.d: Correct sh_link match.
366
c4566785
AM
3672021-01-29 Alan Modra <amodra@gmail.com>
368
369 * testsuite/ld-tic6x/tic6x.exp: Add pr27271 test.
370
53e556e5
L
3712021-01-28 H.J. Lu <hongjiu.lu@intel.com>
372
373 PR ld/27259
374 * testsuite/ld-elf/pr27259.d: New file.
375 * testsuite/ld-elf/pr27259.s: Likewise.
376
def97fb9
AM
3772021-01-28 Alan Modra <amodra@gmail.com>
378
379 PR 27259
380 * ldelf.c (ldelf_before_place_orphans): Use linker_mark to
381 prevent endless looping of linked-to sections.
382
2eda57ef
L
3832021-01-26 H.J. Lu <hongjiu.lu@intel.com>
384
385 * testsuite/ld-x86-64/bnd-plt-1.d: Fix a typo.
386
1c9c9b9b
AM
3872021-01-26 Alan Modra <amodra@gmail.com>
388
389 PR 27226
390 * emulparams/alphavms.sh: Don't set COMPILE_IN.
391 * emulparams/elf64_ia64_vms.sh: Likewise.
392 * emulparams/elf64mmix.sh: Likewise.
393 * emulparams/elf_iamcu.sh: Likewise.
394 * emulparams/elf_k1om.sh: Likewise.
395 * emulparams/elf_l1om.sh: Likewise.
396 * emulparams/mmo.sh: Likewise.
397 * emulparams/pdp11.sh: Set DATA_SEG_ADDR.
398 * scripttempl/pdp11.sc: Use it.
399 * emultempl/pdp11.em: Don't edit .xn script for separate_code,
400 instead use .xe script. Support scripts from file system.
401 * emultempl/beos.em: Support scripts from file system.
402 * emultempl/pe.em: Likewise.
403 * emultempl/pep.em: Likewise.
404 * testsuite/ld-bootstrap/bootstrap.exp: Make tmpdir/ldscripts link.
405
9e42b976
FS
4062021-01-25 Fangrui Song <maskray@google.com>
407
408 PR ld/27230
409 * scripttempl/DWARF.sc: Add .debug_* sections.
410
b8df6900
NC
4112021-01-25 Nick Clifton <nickc@redhat.com>
412
413 * scripttempl/DWARF.sc: Add .debug_loclists, .debug_rnglists,
414 .debug_line_str and .debug_str_offsets. Move .debug_macro and
415 .debug_addr into DWARF-5 section.
416
c78eec44
AM
4172021-01-21 Alan Modra <amodra@gmail.com>
418
419 * testsuite/ld-elf/pr26936.d: No longer xfail mips.
420
4bd7c902
AM
4212021-01-20 Alan Modra <amodra@gmail.com>
422
423 * testsuite/ld-powerpc/relbrlt.s: Make symbols global.
424 * testsuite/ld-powerpc/relbrlt.d: Adjust to suit.
425 * testsuite/ld-powerpc/tlsget.d: Adjust for reordered stubs.
426 * testsuite/ld-powerpc/tlsget.wf: Likewise.
427 * testsuite/ld-powerpc/tlsget2.d: Likewise.
428 * testsuite/ld-powerpc/tlsget2.wf: Likewise.
429 * testsuite/ld-powerpc/tlsexe.r: Adjust for removed section syms.
430 * testsuite/ld-powerpc/tlsexe32.r: Likewise.
431 * testsuite/ld-powerpc/tlsexe32no.r: Likewise.
432 * testsuite/ld-powerpc/tlsexeno.r: Likewise.
433 * testsuite/ld-powerpc/tlsexenors.r: Likewise.
434 * testsuite/ld-powerpc/tlsexers.r: Likewise.
435 * testsuite/ld-powerpc/tlsexetoc.r: Likewise.
436 * testsuite/ld-powerpc/tlsexetocrs.r: Likewise.
437 * testsuite/ld-powerpc/tlsso.r: Likewise.
438 * testsuite/ld-powerpc/tlsso32.r: Likewise.
439 * testsuite/ld-powerpc/tlstocso.r: Likewise.
440
c98de297
NA
4412021-01-19 Nick Alcock <nick.alcock@oracle.com>
442
443 * testsuite/ld-ctf/data-func-2.c: Stop removal of the extern foo_t
444 symbols by the optimizer.
445 * testsuite/ld-ctf/data-func-conflicted.d: Adjust accordingly.
446
85e963f1
NC
4472021-01-19 Nelson Chu <nelson.chu@sifive.com>
448
449 * testsuite/ld-elf/elf.exp (riscv_little_endian): Added. Return true
450 if target is riscv little endian. Otherwise, return false.
451 * testsuite/ld-elf/compressed1d.d: Only xfail the riscv little endian
452 targets by [riscv_little_endian].
453
326adec3
AM
4542021-01-18 Alan Modra <amodra@gmail.com>
455
456 PR 26378
457 * ldlang.c (map_input_to_output_sections): Start with a read-only
458 section for data statements.
459 * testsuite/ld-elf/size-2.d: Adjust to suit.
460
994b2513
L
4612021-01-17 H.J. Lu <hongjiu.lu@intel.com>
462
463 PR ld/27193
464 * testsuite/ld-i386/i386.exp: Run PR ld/27193 test.
465 * testsuite/ld-i386/pr27193.dd: New file.
466 * testsuite/ld-i386/pr27193a.o.bz2: Likewise.
467 * testsuite/ld-i386/pr27193b.s: Likewise.
468
edf0f284
L
4692021-01-16 H.J. Lu <hongjiu.lu@intel.com>
470
471 PR binutils/23460
472 * testsuite/ld-plugin/lto.exp: Increase the max number of open
473 files to 20 for PR binutils/23460 test.
474
75a933f3
L
4752021-01-16 H.J. Lu <hongjiu.lu@intel.com>
476
477 PR ld/23169
478 * testsuite/ld-ifunc/ifunc.exp: Replace pr23169c.rd with
479 pr23169a.rd for pr23169c and pr23169f. Remove pr23169e tests.
480 * testsuite/ld-ifunc/pr23169a.c (foo): Don't compare function
481 address.
482
68b00778
L
4832021-01-15 H.J. Lu <hongjiu.lu@intel.com>
484
485 * NEWS: Mention -z report-relative-reloc.
486 * ld.texi: Document -z report-relative-reloc.
487 * emulparams/elf32_x86_64.sh: Source x86-report-relative.sh.
488 * emulparams/elf_i386.sh: Likewse.
489 * emulparams/elf_x86_64.sh: Likewse.
490 * emulparams/x86-report-relative.sh: New file.
491 * testsuite/ld-i386/report-reloc-1.d: Likewse.
492 * testsuite/ld-i386/report-reloc-1.l: Likewse.
493 * testsuite/ld-i386/report-reloc-1.s: Likewse.
494 * testsuite/ld-x86-64/report-reloc-1-x32.d: Likewse.
495 * testsuite/ld-x86-64/report-reloc-1.d: Likewse.
496 * testsuite/ld-x86-64/report-reloc-1.l: Likewse.
497 * testsuite/ld-x86-64/report-reloc-1.s: Likewse.
498 * testsuite/ld-i386/i386.exp: Run report-reloc-1.
499 * testsuite/ld-x86-64/x86-64.exp: Run report-reloc-1 and
500 report-reloc-1-x32.
501
eb6e6af8
AM
5022021-01-16 Alan Modra <amodra@gmail.com>
503
504 PR 26002
505 * testsuite/ld-elfvers/vers6.dsym: Expect "Base" for undefined
506 unversioned symbols.
507 * testsuite/ld-elfvers/vers16.dsym: Likewise.
508
b800637e
NC
5092021-01-15 Nelson Chu <nelson.chu@sifive.com>
510
511 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-01.d: Updated.
512 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-02.d: Likewise.
513 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-03.d: Likewise.
514 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-04.d: Likewise.
515 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-05.d: Likewise.
516 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-06.d: Likewise.
517
5a10699f
NC
5182021-01-14 Nick Clifton <nickc@redhat.com>
519
520 * po/fr.po: Updated French translation.
521
271bea6a
MF
5222021-01-14 Mike Frysinger <vapier@gentoo.org>
523
524 * testsuite/config/default.exp [bfin*-elf*] (gcc_B_opt): Add -msim.
525
4120e488
AM
5262021-01-14 Alan Modra <amodra@gmail.com>
527
528 PR 27160
529 * ldelfgen.c (compare_link_order): Protect access of ELF section
530 data.
531 (add_link_order_input_section): Remove redundant NULL check.
532 Use bfd_get_flavour.
533 (ldelf_map_segments): Use bfd_get_flavour.
534
b634d11d
L
5352021-01-13 H.J. Lu <hongjiu.lu@intel.com>
536
537 * ldelfgen.c (add_link_order_input_section): Check for ELF input
538 before accessing ELF section data.
539
5347ed60
AM
5402021-01-13 Alan Modra <amodra@gmail.com>
541
542 * Makefile.in: Regenerate.
543
b209b5a6
AM
5442021-01-13 Alan Modra <amodra@gmail.com>
545
546 PR 27160
547 * ldlang.h (lang_output_section_statement_type): Add data field.
548 (lang_input_section_type, lang_section_bst_type): Add pattern field.
549 (statement_list): Declare.
550 (lang_add_section): Adjust prototype.
551 * emultempl/aarch64elf.em: Adjust lang_add_section calls.
552 * emultempl/armelf.em: Likewise.
553 * emultempl/beos.em: Likewise.
554 * emultempl/cskyelf.em: Likewise.
555 * emultempl/hppaelf.em: Likewise.
556 * emultempl/m68hc1xelf.em: Likewise.
557 * emultempl/metagelf.em: Likewise.
558 * emultempl/mipself.em: Likewise.
559 * emultempl/mmo.em: Likewise.
560 * emultempl/msp430.em: Likewise.
561 * emultempl/nios2elf.em: Likewise.
562 * emultempl/pe.em: Likewise.
563 * emultempl/pep.em: Likewise.
564 * emultempl/ppc64elf.em: Likewise.
565 * emultempl/spuelf.em: Likewise.
566 * emultempl/vms.em: Likewise.
567 * ldelf.c: Likewise.
568 * ldelfgen.c: Include ldctor.h.
569 (struct os_sections): New.
570 (add_link_order_input_section, link_order_scan): New functions.
571 (compare_link_order, fixup_link_order): New functions.
572 (ldelf_map_segments): Call link_order_scan and fixup_link_order.
573 * ldlang.c (statement_list): Make global.
574 (output_section_callback_fast): Save pattern in tree node.
575 (lang_add_section): Add pattern parameter, save in lang_input_section.
576 (output_section_callback_tree_to_list): Adjust lang_add_section calls.
577 (lang_insert_orphan, output_section_callback): Likewise.
578 (ldlang_place_orphan): Likewise.
579 (gc_section_callback): Don't set section->pattern.
580 * testsuite/ld-elf/pr26256-2a.d: Don't xfail generic.
581 * testsuite/ld-elf/pr26256-3b.d: Likewise.
582 * testsuite/ld-elf/pr26256-2b.d: Likewise. notarget xgate.
583
8c4645b4
AM
5842021-01-13 Alan Modra <amodra@gmail.com>
585
586 * ldlang.h (callback_t): Remove flag_info function parameter.
587 * ldlang.c (walk_wild_consider_section): Adjust to suit.
588 (walk_wild_section_general): Likewise.
589 (output_section_callback_fast, output_section_callback): Likewise.
590 (check_section_callback, gc_section_callback): Likewise.
591 (find_relro_section_callback): Likewise.
592
d546b610
L
5932021-01-12 H.J. Lu <hongjiu.lu@intel.com>
594
595 PR binutils/26792
596 * configure.ac: Use GNU_MAKE_JOBSERVER.
597 * aclocal.m4: Regenerated.
598 * configure: Likewise.
599
c2e9a4a3
L
6002021-01-12 H.J. Lu <hongjiu.lu@intel.com>
601
602 PR ld/27171
603 * testsuite/ld-x86-64/pe-x86-64-5.obj.bz2: New file.
604 * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise.
605 * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise.
606 * testsuite/ld-x86-64/pe-x86-64.exp: Run PR ld/27171 test.
607
83b33c6c
L
6082021-01-11 H.J. Lu <hongjiu.lu@intel.com>
609
610 PR ld/27173
611 * configure: Regenerated.
612
c0f6e439
MJ
6132021-01-11 Matt Jenkins <matt@majenko.co.uk>
614
615 PR ld/27167
616 * ldmain.c (get_emulation): Add mipsmips32r3, mips32r5, mips64r3
617 and mips64r5 to list of known mips targets.
618
6192021-01-11 Nick Clifton <nickc@redhat.com>matt@majenko.co.uk
a8aa72b9
NC
620
621 * po/pt_BR.po: Updated Brazilian Portuguese translation.
622` * po/uk.po: Updated Ukranian translation.
623
a4966cd9
L
6242021-01-09 H.J. Lu <hongjiu.lu@intel.com>
625
626 * configure: Regenerated.
627
0a94990b
L
6282021-01-09 H.J. Lu <hongjiu.lu@intel.com>
629
630 PR ld/27166
631 * testsuite/ld-x86-64/lam-u48.rd: New file.
632 * testsuite/ld-x86-64/lam-u57.rd: Likewise.
633 * testsuite/ld-x86-64/x86-64.exp: Add PR ld/27166 tests.
634
573fe3fb
NC
6352021-01-09 Nick Clifton <nickc@redhat.com>
636
637 * configure: Regenerate.
638 * po/ld.pot: Regenerate.
639
055bc77a
NC
6402021-01-09 Nick Clifton <nickc@redhat.com>
641
642 * 2.36 release branch crated.
643
ba9e922f
L
6442021-01-08 H.J. Lu <hongjiu.lu@intel.com>
645
646 * ld-x86-64/property-x86-lam-u48-4.d: Updated.
647 * ld-x86-64/property-x86-lam-u48-5.d: Likewise.
648
64307045
AM
6492021-01-09 Alan Modra <amodra@gmail.com>
650
651 * configure: Regenerate.
652 * Makefile.in: Regenerate.
653
f4782128
ST
6542021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
655
656 * configure: Regenerate.
657
d1bcae83
L
6582021-01-07 H.J. Lu <hongjiu.lu@intel.com>
659
660 PR 27109
661 * testsuite/ld-elf/export-class.sd: Adjust the expected output.
662 * testsuite/ld-elf/loadaddr3b.d: Likewise.
663 * testsuite/ld-i386/ibt-plt-1.d: Likewise.
664 * testsuite/ld-i386/ibt-plt-2a.d: Likewise.
665 * testsuite/ld-i386/ibt-plt-2c.d: Likewise.
666 * testsuite/ld-i386/ibt-plt-3a.d: Likewise.
667 * testsuite/ld-i386/ibt-plt-3c.d: Likewise.
668 * testsuite/ld-i386/pr19636-1d.d: Likewise.
669 * testsuite/ld-i386/pr19636-1l.d: Likewise.
670 * testsuite/ld-i386/pr19636-2c.d: Likewise.
671 * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise.
672 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise.
673 * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Likewise.
674 * testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise.
675 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
676 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
677 * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise.
678 * testsuite/ld-ifunc/pr17154-i386.d: Likewise.
679 * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
680 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
681 * testsuite/ld-x86-64/bnd-branch-1-now.d: Likewise.
682 * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise.
683 * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise.
684 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
685 * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise.
686 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
687 * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise.
688 * testsuite/ld-x86-64/ibt-plt-1.d: Likewise.
689 * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise.
690 * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise.
691 * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise.
692 * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise.
693 * testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise.
694 * testsuite/ld-x86-64/ibt-plt-3a.d: Likewise.
695 * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise.
696 * testsuite/ld-x86-64/ibt-plt-3c.d: Likewise.
697 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
698 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
699 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
700 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
701 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
702 * testsuite/ld-x86-64/pr19636-2l.d: Likewise.
703 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
704 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
705 * testsuite/ld-x86-64/pr21038b-now.d: Likewise.
706 * testsuite/ld-x86-64/pr21038b.d: Likewise.
707 * testsuite/ld-x86-64/pr21038c-now.d: Likewise.
708 * testsuite/ld-x86-64/pr21038c.d: Likewise.
709 * testsuite/ld-x86-64/pr23854.d: Likewise.
710 * testsuite/ld-x86-64/pr25416-3.d: Likewise.
711 * testsuite/ld-x86-64/pr25416-4.d: Likewise.
712 * testsuite/ld-i386/plt-pic.pd: Likewise.
713 * testsuite/ld-i386/plt-pic2.dd: Likewise.
714 * testsuite/ld-i386/plt.pd: Likewise.
715 * testsuite/ld-i386/plt2.dd: Likewise.
716 * testsuite/ld-i386/tlsbin.rd: Likewise.
717 * testsuite/ld-i386/tlsbin2.rd: Likewise.
718 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
719 * testsuite/ld-i386/tlsdesc.rd: Likewise.
720 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
721 * testsuite/ld-i386/tlsnopic.rd: Likewise.
722 * testsuite/ld-i386/tlspic.rd: Likewise.
723 * testsuite/ld-i386/tlspic2.rd: Likewise.
724 * testsuite/ld-x86-64/mpx3.dd: Likewise.
725 * testsuite/ld-x86-64/mpx3n.dd: Likewise.
726 * testsuite/ld-x86-64/mpx4.dd: Likewise.
727 * testsuite/ld-x86-64/mpx4n.dd: Likewise.
728 * testsuite/ld-x86-64/pe-x86-64-1.od: Likewise.
729 * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise.
730 * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise.
731 * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise.
732 * testsuite/ld-x86-64/plt.pd: Likewise.
733 * testsuite/ld-x86-64/plt2.dd: Likewise.
734 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
735 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
736 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
737 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
738 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
739 * testsuite/ld-x86-64/tlspic.rd: Likewise.
740 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
741 * testsuite/ld-elf/sec64k.exp: Check
742 is_elf_unused_section_symbols.
743
dc200613
AM
7442021-01-07 Alan Modra <amodra@gmail.com>
745
746 * testsuite/ld-scripts/fill.d: Skip sh-*-pe rather than xfail.
747 * testsuite/ld-scripts/fill16.d: Don't xfail sh-*-pe.
748 * testsuite/ld-scripts/segment-start.d: Likewise.
749
8e604ff0
AM
7502021-01-07 Alan Modra <amodra@gmail.com>
751
752 * testsuite/ld-elf/comm-data5.d: xfail targets that complain
753 about dynamic relocations in read-only sections.
754 * testsuite/ld-elf/ehdr_start-shared.d: Likewise.
755 * testsuite/ld-elf/ehdr_start.d: Likewise.
756 * testsuite/ld-scripts/pr22267.d: Likewise.
757 * testsuite/ld-elf/shared.exp: Likewise for DT_TEXTREL tests and
758 pr20995 text.
759 * testsuite/ld-elf/sec64k.exp: Don't run 64ksec on lm32-linux.
760
4d4490b8
MC
7612021-01-07 Marcus Comstedt <marcus@mc.pp.se>
762
763 * testsuite/ld-scripts/empty-address-2a.d: xfail riscv64*-*-*.
764 * testsuite/ld-scripts/empty-address-2b.d: Likewise.
765
f526791a
AM
7662021-01-07 Alan Modra <amodra@gmail.com>
767
768 * po/BLD-POTFILES.in: Regenerate.
769
4018f4e0
AM
7702021-01-07 Alan Modra <amodra@gmail.com>
771
772 * testsuite/ld-elf/shared.exp: xfail pr22471 for targets that
773 complain about relocs in read-only sections. Tidy ASFLAGS append.
774
3677b729
AM
7752021-01-06 Alan Modra <amodra@gmail.com>
776
777 * testsuite/ld-sparc/sparc.exp (sparc64tests): Set text-segment
778 base for some tests.
779 * testsuite/ld-sparc/gotop32.dd: Match solaris output.
780 * testsuite/ld-sparc/gotop32.sd: Likewise.
781 * testsuite/ld-sparc/gotop32.td: Likewise.
782 * testsuite/ld-sparc/gotop64.dd: Likewise.
783 * testsuite/ld-sparc/gotop64.sd: Likewise.
784 * testsuite/ld-sparc/gotop64.td: Likewise.
785 * testsuite/ld-sparc/tlsg32.sd: Likewise.
786 * testsuite/ld-sparc/tlsg64.sd: Likewise.
787 * testsuite/ld-sparc/tlspie32.dd: Likewise.
788 * testsuite/ld-sparc/tlspie64.dd: Likewise.
789 * testsuite/ld-sparc/tlssunbin32.dd: Likewise.
790 * testsuite/ld-sparc/tlssunbin32.sd: Likewise.
791 * testsuite/ld-sparc/tlssunbin32.td: Likewise.
792 * testsuite/ld-sparc/tlssunbin64.dd: Likewise.
793 * testsuite/ld-sparc/tlssunbin64.sd: Likewise.
794 * testsuite/ld-sparc/tlssunbin64.td: Likewise.
795 * testsuite/ld-sparc/tlssunnopic32.dd: Likewise.
796 * testsuite/ld-sparc/tlssunnopic32.sd: Likewise.
797 * testsuite/ld-sparc/tlssunnopic64.dd: Likewise.
798 * testsuite/ld-sparc/tlssunnopic64.sd: Likewise.
799 * testsuite/ld-sparc/tlssunpic32.dd: Likewise.
800 * testsuite/ld-sparc/tlssunpic32.sd: Likewise.
801 * testsuite/ld-sparc/tlssunpic32.td: Likewise.
802 * testsuite/ld-sparc/tlssunpic64.dd: Likewise.
803 * testsuite/ld-sparc/tlssunpic64.sd: Likewise.
804 * testsuite/ld-sparc/tlssunpic64.td: Likewise.
805 * testsuite/ld-sparc/wdispcall.dd: Likewise.
806
73624512
AM
8072021-01-06 Alan Modra <amodra@gmail.com>
808
809 * testsuite/ld-scripts/rgn-at10.d: xfail v850.
810 * testsuite/ld-scripts/rgn-at11.d: Likewise.
811
f36ce378
MC
8122021-01-06 Marcus Comstedt <marcus@mc.pp.se>
813
814 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Added
815 riscv_choose_[ilp32|lp64]_emul to choose the correct linker script.
816 * testsuite/ld-riscv-elf/attr-merge-arch-01.d: Call
817 riscv_choose_[ilp32|lp64]_emul instead of hardcoding elf[32|64]lriscv.
818 * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
819 * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
820 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Likewise.
821 * testsuite/ld-riscv-elf/attr-merge-arch-failed-02.d: Likewise.
822 * testsuite/ld-riscv-elf/c-lui-2.d: Likewise.
823 * testsuite/ld-riscv-elf/c-lui.d: Likewise.
824 * testsuite/ld-riscv-elf/call-relax.d: Likewise.
825 * testsuite/ld-riscv-elf/pcrel-lo-addend-2.d: Likewise.
826 * testsuite/ld-riscv-elf/pcrel-lo-addend.d: Likewise.
827 * testsuite/ld-riscv-elf/weakref32.d: Accept bigriscv in addition
828 to littleriscv.
829 * testsuite/ld-riscv-elf/weakref64.d: Likewise.
830
fbc09e7a
MC
8312021-01-06 Marcus Comstedt <marcus@mc.pp.se>
832
833 * configure.tgt: Added riscvbe-*-*, riscv32be*-*-*, riscv64be*-*-*,
834 riscv32be*-*-linux*, and riscv64be*-*-linux*.
835 * Makefile.am: Added eelf32briscv.c, eelf32briscv_ilp32f.c and
836 eelf32briscv_ilp32.c.
837 * Makefile.in: Regenerate.
838 * emulparams/elf32briscv.sh: Added.
839 * emulparams/elf32briscv_ilp32.sh: Likewise.
840 * emulparams/elf32briscv_ilp32f.sh: Likewise.
841 * emulparams/elf64briscv.sh: Likewise.
842 * emulparams/elf64briscv_lp64.sh: Likewise.
843 * emulparams/elf64briscv_lp64f.sh: Likewise.
844
b4b6ea46
NA
8452021-01-05 Nick Alcock <nick.alcock@oracle.com>
846
847 * testsuite/ld-ctf/enum-forward.c: New test.
848 * testsuite/ld-ctf/enum-forward.c: New results.
849
37002871
NA
8502021-01-05 Nick Alcock <nick.alcock@oracle.com>
851
852 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
853 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
854 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
855 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
856 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
857 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
858 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
859 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
860 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
861 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
862 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
863 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
864 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
865 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
866 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
867 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
868 * testsuite/ld-ctf/cycle-1.d: Likewise.
869 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
870 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
871 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
872 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
873 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
874 * testsuite/ld-ctf/diag-cuname.d: Likewise.
875 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
876 * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise.
877 * testsuite/ld-ctf/forward.d: Likewise.
878 * testsuite/ld-ctf/function.d: Likewise.
879 * testsuite/ld-ctf/slice.d: Likewise.
880 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
881 * testsuite/ld-ctf/enums.c: New test.
882 * testsuite/ld-ctf/enums.d: New test.
883
ffeece6a
NA
8842021-01-05 Nick Alcock <nick.alcock@oracle.com>
885
886 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Adjust for dumper
887 changes.
888 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
889 * testsuite/ld-ctf/forward.c: New test...
890 * testsuite/ld-ctf/forward.d: ... and results.
891
91e7ce2f
NA
8922021-01-05 Nick Alcock <nick.alcock@oracle.com>
893
894 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
895 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
896 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
897 * testsuite/ld-ctf/diag-cuname.d: Likewise.
898 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
899 * testsuite/ld-ctf/function.d: Likewise.
900 * testsuite/ld-ctf/slice.d: Likewise.
901
57f97d0e
NA
9022021-01-05 Nick Alcock <nick.alcock@oracle.com>
903
904 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
905 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
906 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
907 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
908 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
909 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
910 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
911 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
912 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
913 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
914 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
915 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
916 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
917 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
918 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
919 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
920 * testsuite/ld-ctf/cycle-1.d: Likewise.
921 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
922 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
923 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
924 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
925 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
926 * testsuite/ld-ctf/diag-cuname.d: Likewise.
927 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
928 * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise.
929 * testsuite/ld-ctf/function.d: Likewise.
930 * testsuite/ld-ctf/slice.d: Likewise.
931 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
932
b281a04f
AM
9332021-01-05 Alan Modra <amodra@gmail.com>
934
935 * testsuite/ld-scripts/sysroot-prefix.exp: Exclude some targets.
936
40b11930
AM
9372021-01-05 Alan Modra <amodra@gmail.com>
938
939 PR ld/26256
940 * testsuite/ld-elf/pr26256-1b.d: xfail s12z.
941 * testsuite/ld-scripts/crossref.exp (cross1): Don't xfail ia64.
942
cd6d537c
L
9432021-01-04 H.J. Lu <hongjiu.lu@intel.com>
944
945 PR ld/26256
946 * ldlang.c (gc_section_callback): Set pattern.
947 * testsuite/ld-elf/pr26256-1.s: New file.
948 * testsuite/ld-elf/pr26256-1.t: Likewise.
949 * testsuite/ld-elf/pr26256-1a.d: Likewise.
950 * testsuite/ld-elf/pr26256-1b.d: Likewise.
951 * testsuite/ld-elf/pr26256-2.s: Likewise.
952 * testsuite/ld-elf/pr26256-2.t: Likewise.
953 * testsuite/ld-elf/pr26256-2a.d: Likewise.
954 * testsuite/ld-elf/pr26256-2b-alt.d: Likewise.
955 * testsuite/ld-elf/pr26256-2b.d: Likewise.
956 * testsuite/ld-elf/pr26256-3.s: Likewise.
957 * testsuite/ld-elf/pr26256-3a.d: Likewise.
958 * testsuite/ld-elf/pr26256-3a.t: Likewise.
959 * testsuite/ld-elf/pr26256-3b.d: Likewise.
960 * testsuite/ld-elf/pr26256-3b.t: Likewise.
961
5b4293ba
AM
9622021-01-04 Alan Modra <amodra@gmail.com>
963
964 PR 26822
965 * testsuite/ld-arm/non-contiguous-arm2.d: Adjust STT_FILE symbol match.
966 * testsuite/ld-arm/non-contiguous-arm3.d: Likewise.
967 * testsuite/ld-arm/non-contiguous-arm5.d: Likewise.
968 * testsuite/ld-arm/non-contiguous-arm6.d: Likewise.
969 * testsuite/ld-i386/tlsbin.rd: Likewise.
970 * testsuite/ld-i386/tlsbin2.rd: Likewise.
971 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
972 * testsuite/ld-i386/tlsdesc.rd: Likewise.
973 * testsuite/ld-i386/tlsnopic.rd: Likewise.
974 * testsuite/ld-i386/tlspic.rd: Likewise.
975 * testsuite/ld-i386/tlspic2.rd: Likewise.
976 * testsuite/ld-mips-elf/global-local-symtab-sort-n64.d: Likewise.
977 * testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d: Likewise.
978 * testsuite/ld-mips-elf/global-local-symtab-sort-o32.d: Likewise.
979 * testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d: Likewise.
980 * testsuite/ld-plugin/pr17973.d: Likewise.
981 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
982 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
983 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
984 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
985 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
986 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
987 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
988 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
989 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
990 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
991 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
992 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
993 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
994 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
995 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
996 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
997 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
998 * testsuite/ld-x86-64/tlspic.rd: Likewise.
999 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
1000 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
1001 * testsuite/ld-xtensa/tlspic.rd: Likewise.
1002
f9a6a8f0
AM
10032021-01-01 Nicolas Boulenguez <nicolas@debian.org>
1004
1005 * configure.tgt: Correct comment grammar.
1006 * emultempl/m68hc1xelf.em: Likewise.
1007 * ld.texi: Correct grammar.
1008
250d07de
AM
10092021-01-01 Alan Modra <amodra@gmail.com>
1010
1011 Update year range in copyright notice of all files.
1012
c2795844 1013For older changes see ChangeLog-2020
3499769a 1014\f
c2795844 1015Copyright (C) 2021 Free Software Foundation, Inc.
3499769a
AM
1016
1017Copying and distribution of this file, with or without modification,
1018are permitted in any medium without royalty provided the copyright
1019notice and this notice are preserved.
1020
1021Local Variables:
1022mode: change-log
1023left-margin: 8
1024fill-column: 74
1025version-control: never
1026End: