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