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