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