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