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