]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/ChangeLog
gdb: remove newlines from some linux_nat_debug_printf calls
[thirdparty/binutils-gdb.git] / ld / ChangeLog
CommitLineData
36d285b9
NC
12022-02-17 Nick Clifton <nickc@redhat.com>
2
3 * po/sr.po: Updated Serbian translation.
4
c212f39d
FS
52022-02-16 Fangrui Song <maskray@google.com>
6 Nick Clifton <nickc@redhat.com>
7
8 PR ld/28841
9 * ld.texi: Document new output section type.
10 * ldlex.l: Add new token TYPE.
11 * ldgram.y: Handle TYPE=exp and READONLY (TYPE=exp).
12 * ldlang.h: Add type_section to list of section types.
13 * ldlang.c (lang_add_section): Handle type_section.
14 (map_input_to_output_sections): Handle type_section.
15 * testsuite/ld-scripts/output-section-types.t: Add tests.
16 * testsuite/ld-scripts/output-section-types.d: Update.
17
a6983974
NC
182022-02-02 Nick Clifton <nickc@redhat.com>
19
20 * po/fr.po: Updated French translation.
21
5fe73d46
NC
222022-01-24 Nick Clifton <nickc@redhat.com>
23
24 * po/bg.po: Updated Bulgarian translation.
25 * po/uk.po: Updated Ukranian translation.
26
cc5e4073
AGI
272022-01-22 Alexander von Gluck IV <kallisti5@unixzen.com>
28
29 * configure.tgt (arm-haiku): Fix typo.
30 * emulparams/armelf_haiku.su (MAXPAGESIZE): Use the default value.
31 (COMMONPAGESIZE): Likewise.
32
f908e960
NC
332022-01-22 Nick Clifton <nickc@redhat.com>
34
35 * configure: Regenerate.
36 * po/ld.pot: Regenerate.
37
a74e1cb3
NC
382022-01-22 Nick Clifton <nickc@redhat.com>
39
40 * 2.38 release branch created.
41
e901223d
NC
422022-01-21 Nick Clifton <nickc@redhat.com>
43
44 * po/sr.po: Updated Serbian translation.
45
6c037fdb
NC
462022-01-17 Nick Clifton <nickc@redhat.com>
47
48 * Makefile.in: Regenerate.
49 * po/ld.pot: Regenerate.
50
c4a8df19
MS
512022-01-11 Martin Storsjö <martin@martin.st>
52
53 * pe-dll.c (make_head): Prefix the symbol name with the dll name.
54 (make_tail, make_one, make_singleton_name_thunk): Likewise.
55 (make_import_fixup_entry, make_runtime_pseudo_reloc): Likewise.
56 (pe_create_runtime_relocator_reference): Likewise.
57 (pe_dll_generate_implib): Set dll_symname_len.
58 (pe_process_import_defs): Likewise.
59
f3be70df
NC
602021-12-16 Nick Clifton <nickc@redhat.com>
61
62 PR 28686
63 * testsuite/ld-avr/avr-prop-7.d: Adjust expected output.
64 * testsuite/ld-avr/avr-prop-8.d: Likewise.
65 * testsuite/ld-avr/pr13402.d: Likewise.
66
44b357eb
NC
672021-11-30 Nick Clifton <nickc@redhat.com>
68
69 * scripttempl/pru.sc (.pru_irq_map): Define output section.
70 * testsuite/ld-pru/pru_irq_map-1.d: New test.
71 * testsuite/ld-pru/pru_irq_map-2.d: New test.
72 * testsuite/ld-pru/pru_irq_map.s: New test.
73
ef6379e1
JD
742021-11-17 Jeremy Drake <cygwin@jdrake.com>
75
76 * emultempl/pep.em (DEFAULT_DLL_CHARACTERISTICS): Set to 0 for
77 Cygwin targets.
78 * emultempl/pep.em (DEFAULT_DLL_CHARACTERISTICS): Likewise.
79
ee9e412f
NC
802021-11-17 Nick Clifton <nickc@redhat.com>
81
82 PR 28452
83 * ldgram.y: Add support for PT_GNU_RELRO and PT_GNU_PROPERTY.
84 * ldgram.c: Regenerate.
85
d029b54d
RM
862021-11-15 Roland McGrath <mcgrathr@google.com>
87
88 * testsuite/ld-aarch64/dt_textrel.d: Pass explicit -z notext in
89 case ld was configured with --enable-textrel-check=error.
90 * testsuite/ld-aarch64/pr22764.d: Likewise.
91 * testsuite/ld-aarch64/pr20402.d: Likewise.
92
eb5323fd
NA
932021-10-25 Nick Alcock <nick.alcock@oracle.com>
94
95 * testsuite/ld-ctf/nonrepresentable-member.*: New test.
96
10909ea8
NA
972021-10-25 Nick Alcock <nick.alcock@oracle.com>
98
99 * testsuite/ld-ctf/array.d: Change --ctf=.ctf to --ctf.
100 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
101 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
102 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
103 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
104 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
105 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
106 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
107 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
108 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
109 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
110 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
111 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
112 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
113 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
114 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
115 * testsuite/ld-ctf/cycle-1.d: Likewise.
116 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
117 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
118 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
119 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
120 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
121 * testsuite/ld-ctf/diag-cuname.d: Likewise.
122 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
123 * testsuite/ld-ctf/enum-forward.d: Likewise.
124 * testsuite/ld-ctf/enums.d: Likewise.
125 * testsuite/ld-ctf/forward.d: Likewise.
126 * testsuite/ld-ctf/function.d: Likewise.
127 * testsuite/ld-ctf/nonrepresentable.d: Likewise.
128 * testsuite/ld-ctf/slice.d: Likewise.
129 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
130
5109a7bd
DD
1312021-09-30 Dimitar Dimitrov <dimitar@dinux.eu>
132
133 * scripttempl/pru.sc (.resource_table): Align the output
134 section, not the first symbol.
135
b9004024
NA
1362021-09-27 Nick Alcock <nick.alcock@oracle.com>
137
138 * configure: Regenerate.
139
5226a6a8
NC
1402021-09-21 Nick Clifton <nickc@redhat.com>
141
142 * ldlang.c (lang_end): When computing the entry point, only
143 try the start address of the entry section when creating an
144 executable.
145 * ld.texi (Entry point): Update description of heuristic used to
146 choose the entry point.
147 testsuite/ld-alpha/tlspic.rd: Update expected entry point address.
148 testsuite/ld-arm/tls-gdesc-got.d: Likewise.
149 testsuite/ld-i386/tlsnopic.rd: Likewise.
150 testsuite/ld-ia64/tlspic.rd: Likewise.
151 testsuite/ld-sparc/gotop32.rd: Likewise.
152 testsuite/ld-sparc/gotop64.rd: Likewise.
153 testsuite/ld-sparc/tlssunnopic32.rd: Likewise.
154 testsuite/ld-sparc/tlssunnopic64.rd: Likewise.
155 testsuite/ld-sparc/tlssunpic32.rd: Likewise.
156 testsuite/ld-sparc/tlssunpic64.rd: Likewise.
157 testsuite/ld-tic6x/shlib-1.rd: Likewise.
158 testsuite/ld-tic6x/shlib-1b.rd: Likewise.
159 testsuite/ld-tic6x/shlib-1r.rd: Likewise.
160 testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
161 testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
162 testsuite/ld-x86-64/pr14207.d: Likewise.
163 testsuite/ld-x86-64/tlsdesc.rd: Likewise.
164 testsuite/ld-x86-64/tlspic.rd: Likewise.
165 testsuite/ld-x86-64/tlspic2.rd: Likewise.
166
720f6ee0
CZ
1672021-09-15 Claudiu Zissulescu <claziss@synopsys.com>
168
169 * testsuite/ld-arc/got-weak.d: Update file.
170
09a7e912
CZ
1712021-09-14 Claudiu Zissulescu <claziss@synopsys.com>
172
173 * ld-arc/got-weak.d: New file.
174 * ld-arc/got-weak.s: Likewise.
175
dfe3b805
RM
1762021-07-26 Roland McGrath <mcgrathr@google.com>
177
178 * testsuite/ld-x86-64/x86-64.exp (Build textrel-1): Use --warn-textrel.
179
235f5ef4
MM
1802021-07-06 Michael Matz <matz@suse.de>
181
182 PR ld/28021
183 * testsuite/ld-riscv-elf/relax-twice.ver: New.
184 * testsuite/ld-riscv-elf/relax-twice-1.s: New.
185 * testsuite/ld-riscv-elf/relax-twice-2.s: New.
186 * testsuite/ld-riscv-elf/ld-riscv-elf.exp
187 (run_relax_twice_test): New, and call it.
188
346d80ef
NC
1892021-07-03 Nick Clifton <nickc@redhat.com>
190
191 * configure: Regenerate.
192 * po/ld.pot: Regenerate.
193
51419248
NC
1942021-07-03 Nick Clifton <nickc@redhat.com>
195
196 * 2.37 release branch created.
197
50331d64
NC
1982021-06-22 Nelson Chu <nelson.chu@sifive.com>
199
200 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
201 * testsuite/ld-riscv-elf/pcrel-lo-addend-3a.d: New testcase.
202 * testsuite/ld-riscv-elf/pcrel-lo-addend-3a.s: Likewise.
203 * testsuite/ld-riscv-elf/pcrel-lo-addend-3b.d: New testcase.
204 Should report error since the %pcrel_lo with addend refers to
205 %got_pcrel_hi.
206 * testsuite/ld-riscv-elf/pcrel-lo-addend-3b.s: Likewise.
207 * testsuite/ld-riscv-elf/pcrel-lo-addend-3c.d: New testcase.
208 Should report error since the %got_pcrel_hi with addend.
209 * testsuite/ld-riscv-elf/pcrel-lo-addend-3c.s: Likewise.
210 * testsuite/ld-riscv-elf/pcrel-lo-addend-3.ld: Likewise.
211
406b4ada
L
2122021-06-19 H.J. Lu <hongjiu.lu@intel.com>
213
214 PR ld/27998
215 * testsuite/ld-i386/i386.exp: Run PR ld/27998 tests.
216 * testsuite/ld-i386/pr27998a.d: New file.
217 * testsuite/ld-i386/pr27998a.s: Likewise.
218 * testsuite/ld-i386/pr27998b.d: Likewise.
219 * testsuite/ld-i386/pr27998b.s: Likewise.
220
83b1d8f4
L
2212021-06-19 H.J. Lu <hongjiu.lu@intel.com>
222
223 * testsuite/ld-x86-64/textrel-1.err: New file.
224 * testsuite/ld-x86-64/textrel-1a.s: Likewise.
225 * testsuite/ld-x86-64/textrel-1b.s: Likewise.
226 * testsuite/ld-x86-64/x86-64.exp: Run textrel-1 tests.
227
c30420d8
L
2282021-06-18 H.J. Lu <hongjiu.lu@intel.com>
229
230 * testsuite/ld-elf/property-and-1.d: Skip am33_2.0, hppa-hpux
231 and mn10300.
232 Pass --generate-missing-build-notes=no to assembler. Allow
233 other note sections for xtensa.
234 * testsuite/ld-elf/property-and-2.d: Likewise.
235 * testsuite/ld-elf/property-and-3.d: Likewise.
236 * testsuite/ld-elf/property-and-4.d: Likewise.
237 * testsuite/ld-elf/property-or-1.d: Likewise.
238 * testsuite/ld-elf/property-or-2.d: Likewise.
239 * testsuite/ld-elf/property-or-3.d: Likewise.
240 * testsuite/ld-elf/property-or-4.d: Likewise.
241
2d95647b
L
2422021-06-18 H.J. Lu <hongjiu.lu@intel.com>
243
244 * ld.texi: Move -z unique-symbol after -z undefs.
245
5a767724
L
2462021-06-18 H.J. Lu <hongjiu.lu@intel.com>
247
248 * testsuite/ld-elf/property-and-1.d: New file.
249 * testsuite/ld-elf/property-and-1.s: Likewise.
250 * testsuite/ld-elf/property-and-2.d: Likewise.
251 * testsuite/ld-elf/property-and-2.s: Likewise.
252 * testsuite/ld-elf/property-and-3.d: Likewise.
253 * testsuite/ld-elf/property-and-3.s: Likewise.
254 * testsuite/ld-elf/property-and-4.d: Likewise.
255 * testsuite/ld-elf/property-and-empty.s: Likewise.
256 * testsuite/ld-elf/property-or-1.d: Likewise.
257 * testsuite/ld-elf/property-or-1.s: Likewise.
258 * testsuite/ld-elf/property-or-2.d: Likewise.
259 * testsuite/ld-elf/property-or-2.s: Likewise.
260 * testsuite/ld-elf/property-or-3.d: Likewise.
261 * testsuite/ld-elf/property-or-3.s: Likewise.
262 * testsuite/ld-elf/property-or-4.d: Likewise.
263 * testsuite/ld-elf/property-or-empty.s: Likewise.
264
e013d20d
L
2652021-06-17 H.J. Lu <hongjiu.lu@intel.com>
266
267 PR ld/27973
268 * testsuite/ld-x86-64/x86-64.exp: Pass $NOPIE_LDFLAGS and
269 $NOPIE_CFLAGS to protected-func-1 without PIE.
270
b6b42983
L
2712021-06-17 H.J. Lu <hongjiu.lu@intel.com>
272
273 PR ld/27973
274 * testsuite/ld-x86-64/x86-64.exp: Run protected function tests.
275 * testsuite/ld-x86-64/protected-func-1.h: New file.
276 * testsuite/ld-x86-64/protected-func-1a.s: Likewise.
277 * testsuite/ld-x86-64/protected-func-1b.c: Likewise.
278
d208bc76
FS
2792021-06-17 Fangrui Song <maskray@google.com>
280
281 * ldlex.h (enum option_values): Add OPTION_NO_PIE.
282 * lexsup.c (struct ld_options): Add -no-pie.
283 (parse_args): Handle -no-pie.
284 * ld.texi: Document -no-pie.
285
93df3340
AM
2862021-06-15 Alan Modra <amodra@gmail.com>
287
288 * testsuite/ld-pie/vaddr-0.d: Update expected output.
289
f64b9b13
AM
2902021-06-11 Alan Modra <amodra@gmail.com>
291
292 PR 27952
293 * ldelf.c (ldelf_after_open): Error on input PIEs too.
294
f75bcf7e
NC
2952021-06-09 Nick Clifton <nickc@redhat.com>
296
297 PR 27666
298 * testsuite/ld-sparc/sparc.exp: Do not run the sparctests or
299 sparc64tests for Solaris2 targets.
300
364d7729
AM
3012021-06-03 Alan Modra <amodra@gmail.com>
302
303 PR 2589
304 * ld.texi (link-time runtime library search path): Mention
305 plugin library path. Correct order of search.
306
ef9d2565
NC
3072021-05-31 Nelson Chu <nelson.chu@sifive.com>
308 Lifang Xia <lifang_xia@c-sky.com>
309
310 PR 27566
311 * emultempl/riscvelf.em (after_allocation): Call
312 riscv_set_data_segment_info to set data segment phase before relaxing.
313 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
314 * testsuite/ld-riscv-elf/relro-relax-lui.d: New testcase.
315 * testsuite/ld-riscv-elf/relro-relax-lui.s: Likewise.
316 * testsuite/ld-riscv-elf/relro-relax-pcrel.d: Likewise.
317 * testsuite/ld-riscv-elf/relro-relax-pcrel.s: Likewise.
318
1273b2f8
L
3192021-05-28 H.J. Lu <hongjiu.lu@intel.com>
320
321 PR ld/27905
322 * testsuite/ld-i386/pcrel16-2.d: xfail.
323 * testsuite/ld-x86-64/pcrel16-2.d: Likewise.
324
50c95a73
L
3252021-05-26 H.J. Lu <hongjiu.lu@intel.com>
326
327 PR ld/27905
328 * testsuite/ld-i386/code16.d: New file.
329 * testsuite/ld-i386/code16.t: Likewise.
330 * testsuite/ld-x86-64/code16.d: Likewise.
331 * testsuite/ld-x86-64/code16.t: Likewise.
332 * testsuite/ld-i386/i386.exp: Run code16.
333 * testsuite/ld-x86-64/x86-64.exp: Likewise.
334
983d5689
L
3352021-05-26 H.J. Lu <hongjiu.lu@intel.com>
336
337 * testsuite/ld-x86-64/ilp32-12.d: New file.
338 * testsuite/ld-x86-64/ilp32-12.s: Likewise.
339 * testsuite/ld-x86-64/x86-64.exp: Run ilp32-12.
340
75f03fa7
NC
3412021-05-14 Nelson Chu <nelson.chu@sifive.com>
342
343 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
344 * testsuite/ld-riscv-elf/pcrel-lo-addend-2a.d: Renamed from
345 pcrel-lo-addend-2.
346 * testsuite/ld-riscv-elf/pcrel-lo-addend-2a.s: Likewise.
347 * testsuite/ld-riscv-elf/pcrel-lo-addend-2b.d: New testcase.
348 * testsuite/ld-riscv-elf/pcrel-lo-addend-2b.s: Likewise.
349
cf893b0e
FS
3502021-05-13 Fangrui Song <maskray@google.com>
351
352 PR 27834
353 * ldlex.h (enum option_values): Add OPTION_NO_SYMBOLIC.
354 * lexsup.c (ld_options): Add -Bno-symbolic.
355 (parse_args): Handle -Bno-symbolic.
356 * ld.texi: Document -Bno-symbolic.
357 * NEWS: Mention -Bno-symbolic.
358 * testsuite/ld-elf/shared.exp: Add a test.
359
84139c58
RE
3602021-05-12 Richard Earnshaw <rearnsha@arm.com>
361
362 * testsuite/ld-arm/arm-elf.exp (farcall test for v8-m.mainline):
363 Correct expected output.
364
4a1ad5c9
RM
3652021-05-11 Roland McGrath <mcgrathr@google.com>
366
367 * testsuite/ld-x86-64/rela.d: Fix regexp not to presume a specific
368 address layout, so it works for e.g. --target=x86-64-elf.
369
22604fe6
NC
3702021-05-11 Nick Clifton <nickc@redhat.com>
371
372 PR 27113
373 * Makefile.am (install-data-local): Also delete libdep.dll.a if it
374 is present.
375 * Makefile.in: Regenerate.
376
5b45e89f
DD
3772021-05-10 Dimitar Dimitrov <dimitar@dinux.eu>
378
379 * testsuite/ld-elf/group8a.d: Remove pru from XFAIL list.
380 * testsuite/ld-elf/group8b.d: Ditto.
381 * testsuite/ld-elf/group9a.d: Ditto.
382 * testsuite/ld-elf/group9b.d: Ditto.
383 * testsuite/ld-elf/pr12851.d: Ditto.
384 * testsuite/ld-elf/pr22677.d: Ditto.
385 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Remove
386 pru from list.
387
261980de
DD
3882021-05-10 Dimitar Dimitrov <dimitar@dinux.eu>
389
390 * scripttempl/pru.sc (.resource_table): Add ALIGN directive.
391 Use symbols for memory sizes.
392
cf758b39
MF
3932021-05-08 Mike Frysinger <vapier@gentoo.org>
394
395 * Makefile.am (html-local, doc/ld/index.html): New targets.
396 * Makefile.in: Regenerate.
397
2faf902d
MF
3982021-05-08 Mike Frysinger <vapier@gentoo.org>
399
400 * Makefile.am (AM_MAKEINFOFLAGS): Add --no-split.
401 * Makefile.in: Regenerate.
402
17c6c3b9
JB
4032021-05-07 Jan Beulich <jbeulich@suse.com>
404
405 * testsuite/ld-x86-64/rela.d: New.
406 * testsuite/ld-x86-64/x86-64.exp: Run new test.
407
d820a652
NC
4082021-05-07 Nick Clifton <nickc@redhat.com>
409
410 * ldelfgen.c (compare_link_order): Ignore section size when
411 performing a relocateable link.
412
70993db3
AM
4132021-05-07 Alan Modra <amodra@gmail.com>
414
415 * ldexp.c (update_definedness): Don't return false for absolute
416 symbols.
417 * ldmain.c (multiple_definition): Print "warning: " in message
418 when not a hard error.
419
973bba91
AM
4202021-05-07 Alan Modra <amodra@gmail.com>
421
422 * testsuite/ld-elf/pr27825-1.d: Correct xfail.
423 * testsuite/ld-elf/pr27825-2.d: Likewise.
424
284a1309
SH
4252021-05-06 Stafford Horne <shorne@gmail.com>
426
427 PR 27746
428 testsuite/ld-or1k/or1k.exp (or1kplttests): Add tests for linking
429 along with gotha() relocations.
430 testsuite/ld-or1k/gotha1.dd: New file.
431 testsuite/ld-or1k/gotha1.s: New file.
432 testsuite/ld-or1k/gotha2.dd: New file.
433 testsuite/ld-or1k/gotha2.s: New file
434 testsuite/ld-or1k/pltlib.s (x): Define size to avoid link
435 failure.
436
ae064303
NA
4372021-05-06 Nick Alcock <nick.alcock@oracle.com>
438
439 * testsuite/ld-ctf/ctf.exp: Use -gctf, not -gt.
440 * testsuite/lib/ld-lib.exp: Likewise.
441 * testsuite/ld-ctf/nonrepresentable-1.c: New test for nonrepresentable types.
442 * testsuite/ld-ctf/nonrepresentable-2.c: Likewise.
443 * testsuite/ld-ctf/nonrepresentable.d: Likewise.
444 * testsuite/ld-ctf/array.d: Larger type section.
445 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
446 * testsuite/ld-ctf/enums.d: Likewise.
447 * testsuite/ld-ctf/conflicting-enums.d: Don't compare types.
448 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Changed type order.
449 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
450 * testsuite/ld-ctf/slice.d: Adjust for improved slice emission.
451
4467df35
L
4522021-05-05 H.J. Lu <hongjiu.lu@intel.com>
453
454 PR ld/27825
455 * testsuite/ld-elf/pr27825-1.d: New file.
456 * testsuite/ld-elf/pr27825-1a.s: Likewise.
457 * testsuite/ld-elf/pr27825-1b.s: Likewise.
458 * testsuite/ld-elf/pr27825-2.d: Likewise.
459 * testsuite/ld-elf/pr27825-2a.s: Likewise.
460 * testsuite/ld-elf/pr27825-2b.s: Likewise.
461
13ffdac3
AM
4622021-05-05 Alan Modra <amodra@gmail.com>
463
464 * testsuite/ld-powerpc/empty.s: New file.
465 * testsuite/ld-powerpc/undefweak.d,
466 * testsuite/ld-powerpc/undefweak.s: New testcase.
467 * testsuite/ld-powerpc/powerpc.exp: Run it.
468
df6fbc21
AM
4692021-05-03 Alan Modra <amodra@gmail.com>
470
471 * testsuite/ld-s390/tlspic_64.rd: Adjust expected output for
472 named section symbols.
473
24aebc79
NC
4742021-04-28 Nick Clifton <nickc@redhat.com>
475
476 * testsuite/ld-elf/anno-sym.s: New test source file.
477 * testsuite/ld-elf/anno-sym.d: New test driver.
478 * testsuite/ld-elf/anno-sym.l: New test error output.
479
a7664973
JB
4802021-04-26 Jan Beulich <jbeulich@suse.com>
481
482 * testsuite/ld-i386/pcrel16-2.s, testsuite/ld-i386/pcrel16-2.d,
483 testsuite/ld-x86-64/pcrel16-2.d: New.
484 * testsuite/ld-i386/i386.exp: Run new test.
485 * testsuite/ld-x86-64/x86-64.exp: Likewise.
486
69cc1945
L
4872021-04-23 H.J. Lu <hongjiu.lu@intel.com>
488
489 PR ld/27771
490 * testsuite/ld-bootstrap/bootstrap.exp: Create a symbolic link
491 to tmpdir/ldscripts only if it doesn't exist.
492
d018cd83
JB
4932021-04-22 Jan Beulich <jbeulich@suse.com>
494
495 PR ld/26659
496 * testsuite/ld-pe/pr26659-weak-undef-sym.d: Relax for Cygwin.
497
23356397
NC
4982021-04-21 Nick Clifton <nickc@redhat.com>
499
500 * testsuite/ld-aarch64/variant_pcs-now.d: Adjust expected output
501 to allow for named section symbols.
502 * testsuite/ld-aarch64/variant_pcs-r.d: Likewise.
503 * testsuite/ld-aarch64/variant_pcs-shared.d: Likewise.
504 * testsuite/ld-alpha/tlsbin.rd: Likewise.
505 * testsuite/ld-alpha/tlsbinr.rd: Likewise.
506 * testsuite/ld-alpha/tlspic.rd: Likewise.
507 * testsuite/ld-arm/rodata-merge-map.sym: Likewise.
508 * testsuite/ld-arm/script-type.sym: Likewise.
509 * testsuite/ld-cris/libdso-2.d: Likewise.
510 * testsuite/ld-cris/pr16044.d: Likewise.
511 * testsuite/ld-elf/sec64k.exp: Likewise.
512 * testsuite/ld-ia64/tlsbin.rd: Likewise.
513 * testsuite/ld-ia64/tlspic.rd: Likewise.
514 * testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d: Likewise.
515 * testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d: Likewise.
516 * testsuite/ld-mmix/bspec1.d: Likewise.
517 * testsuite/ld-mmix/bspec2.d: Likewise.
518 * testsuite/ld-mmix/local1.d: Likewise.
519 * testsuite/ld-mmix/local3.d: Likewise.
520 * testsuite/ld-mmix/local5.d: Likewise.
521 * testsuite/ld-mmix/local7.d: Likewise.
522 * testsuite/ld-mmix/undef-3.d: Likewise.
523 * testsuite/ld-powerpc/tlsso.r: Likewise.
524 * testsuite/ld-powerpc/tlsso32.r: Likewise.
525 * testsuite/ld-powerpc/tlstocso.r: Likewise.
526 * testsuite/ld-s390/tlsbin.rd: Likewise.
527 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
528 * testsuite/ld-s390/tlspic.rd: Likewise.
529 * testsuite/ld-s390/tlspic_64.rd: Likewise.
530 * testsuite/ld-sparc/gotop32.rd: Likewise.
531 * testsuite/ld-sparc/gotop64.rd: Likewise.
532 * testsuite/ld-sparc/tlssunbin32.rd: Likewise.
533 * testsuite/ld-sparc/tlssunbin64.rd: Likewise.
534 * testsuite/ld-sparc/tlssunnopic32.rd: Likewise.
535 * testsuite/ld-sparc/tlssunnopic64.rd: Likewise.
536 * testsuite/ld-sparc/tlssunpic32.rd: Likewise.
537 * testsuite/ld-sparc/tlssunpic64.rd: Likewise.
538 * testsuite/ld-tic6x/common.d: Likewise.
539 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
540 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
541 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
542 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
543 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
544 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
545 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
546 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
547 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
548 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
549 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
550 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
551 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
552
c5df7e44
CC
5532021-04-20 Clément Chigot <clement.chigot@atos.net>
554
555 PR binutils/21700
556 * testsuite/ld-powerpc/aix52.exp: Add new test.
557 * testsuite/ld-powerpc/aix-neg-reloc-32.d: New test.
558 * testsuite/ld-powerpc/aix-neg-reloc-64.d: New test.
559 * testsuite/ld-powerpc/aix-neg-reloc.ex: New test.
560 * testsuite/ld-powerpc/aix-neg-reloc.s: New test.
561
6418520e
NC
5622021-04-13 Nick Clifton <nickc@redhat.com>
563
564 * ld.texi (Options): Add note about the effect of --as-needed on
565 the --rpath and --rpath-link options on Linux based systems.
566
1cfc6f00
AM
5672021-04-13 Alan Modra <amodra@gmail.com>
568
569 PR 27722
570 * libdep_plugin.c (str2vec): Don't pass a potentially signed char
571 to isspace.
572
43e05cd4
AM
5732021-04-12 Alan Modra <amodra@gmail.com>
574
575 * configure.ac (--enable-checking): Add support.
576 * config.in: Regenerate.
577 * configure: Regenerate.
578
2cc15b10
AM
5792021-04-12 Alan Modra <amodra@gmail.com>
580
581 * emultempl/mipself.em (mips_create_output_section_statements):
582 Pass base type of hash table to is_elf_hash_table.
583 * ldelf.c (ldelf_after_open): Likewise.
584
fc304b88
AM
5852021-04-12 Alan Modra <amodra@gmail.com>
586
587 PR 27719
588 * ldlang.c (lang_mark_undefineds, undef_start_stop): Test that
589 the symbol hash table is the correct type before accessing
590 elf_link_hash_entry symbols.
591 * plugin.c (is_visible_from_outside): Likewise.
592 * emultempl/armelf.em (ld${EMULATION_NAME}_finish): Likewise.
593 * emultempl/solaris2.em (elf_solaris2_before_allocation): Likewise.
594
c3f72de4
AM
5952021-04-09 Alan Modra <amodra@gmail.com>
596
597 * testsuite/ld-powerpc/inlinepcrel-1.d: Update expected output.
598 * testsuite/ld-powerpc/inlinepcrel-2.d: Likewise.
599 * testsuite/ld-powerpc/notoc2.d: Likewise.
600 * testsuite/ld-powerpc/notoc3.d: Likewise.
601 * testsuite/ld-powerpc/pcrelopt.d: Likewise.
602 * testsuite/ld-powerpc/startstop.d: Likewise.
603 * testsuite/ld-powerpc/tlsget.d: Likewise.
604 * testsuite/ld-powerpc/tlsget2.d: Likewise.
605 * testsuite/ld-powerpc/tlsld.d: Likewise.
606 * testsuite/ld-powerpc/weak1.d: Likewise.
607 * testsuite/ld-powerpc/weak1so.d: Likewise.
608
bd3d1480
JB
6092021-04-06 Jan Beulich <jbeulich@suse.com>
610
611 * pe-dll.c (generate_reloc): Bail immediately when .reloc is
612 being discarded. Warn when relocated entry is above .reloc.
613
c774eab1
AM
6142021-04-05 Alan Modra <amodra@gmail.com>
615
616 * configure.ac: Move initfini-array arg handling earlier. Don't
617 check for string.h, strings.h, stdlib.h, or locale.h. Do check
618 for inttypes.h, stdint.h, sys/types.h. Don't check for
619 setlocale, free, getev or strstr.
620 (AC_ISC_POSIX): Don't invoke.
621 * sysdep.h: Include string.h and stdlib.h unconditionally. Test
622 HAVE_SYS_TYPE_H and HAVE_SYS_STAT_H. Remove strstr, free and
623 getenv fallback declarations.
624 * ld.h: Don't test HAVE_LOCALE_H.
625 * ldmain.c: Don't test HAVE_SETLOCALE.
626 * config.in: Regenerate.
627 * configure: Regenerate.
628
74edb473
TC
6292021-04-01 Tamar Christina <tamar.christina@arm.com>
630
631 PR ld/26659
632 * testsuite/ld-pe/pe.exp: Add test.
633 * testsuite/ld-pe/pr26659-weak-undef-sym.d: New test.
634 * testsuite/ld-pe/pr26659-weak-undef-sym.s: New test.
635
e9b095a5
ML
6362021-04-01 Martin Liska <mliska@suse.cz>
637
638 * ldbuildid.c (strneq): Remove strneq and use startswith.
639 (validate_build_id_style): Likewise.
640 (compute_build_id_size): Likewise.
641
f38a2680
AM
6422021-03-31 Alan Modra <amodra@gmail.com>
643
644 * sysdep.h (POISON_BFD_BOOLEAN): Define.
645 * configure.ac (elf_list_options, elf_shlib_list_options=false),
646 (elf_plt_unwind_list_options=false): Replace FALSE with false,
647 and TRUE with true.
648 * emulparams/call_nop.sh, * emulparams/cet.sh,
649 * emulparams/dynamic_undefined_weak.sh,
650 * emulparams/elf32b4300.sh, * emulparams/elf32lm32.sh,
651 * emulparams/elf32lr5900.sh, * emulparams/elf32lr5900n32.sh,
652 * emulparams/elf32visium.sh, * emulparams/elf_x86_64.sh,
653 * emulparams/extern_protected_data.sh, * emulparams/plt_unwind.sh,
654 * emulparams/reloc_overflow.sh, * emulparams/static.sh,
655 * emulparams/x86-64-lam.sh, * emultempl/aarch64elf.em,
656 * emultempl/aix.em, * emultempl/alphaelf.em,
657 * emultempl/armcoff.em, * emultempl/armelf.em,
658 * emultempl/avrelf.em, * emultempl/beos.em, * emultempl/bfin.em,
659 * emultempl/cr16elf.em, * emultempl/crxelf.em,
660 * emultempl/cskyelf.em, * emultempl/elf.em, * emultempl/genelf.em,
661 * emultempl/hppaelf.em, * emultempl/linux.em,
662 * emultempl/m68hc1xelf.em, * emultempl/metagelf.em,
663 * emultempl/mipself.em, * emultempl/mmix-elfnmmo.em,
664 * emultempl/mmixelf.em, * emultempl/mmo.em, * emultempl/msp430.em,
665 * emultempl/nios2elf.em, * emultempl/pdp11.em, * emultempl/pe.em,
666 * emultempl/pep.em, * emultempl/ppc32elf.em,
667 * emultempl/ppc64elf.em, * emultempl/rxelf.em,
668 * emultempl/rxlinux.em, * emultempl/scoreelf.em,
669 * emultempl/solaris2.em, * emultempl/spuelf.em,
670 * emultempl/ticoff.em, * emultempl/v850elf.em, * emultempl/vms.em,
671 * emultempl/xtensaelf.em, * emultempl/z80.em, * ld.h,
672 * ldbuildid.c, * ldbuildid.h, * ldcref.c, * ldctor.c, * ldctor.h,
673 * ldelf.c, * ldelf.h, * ldelfgen.c, * ldelfgen.h, * ldemul.c,
674 * ldemul.h, * ldexp.c, * ldexp.h, * ldfile.c, * ldfile.h,
675 * ldgram.y, * ldlang.c, * ldlang.h, * ldmain.c, * ldmain.h,
676 * ldmisc.c, * ldmisc.h, * ldwrite.c, * lexsup.c, * mri.c,
677 * pe-dll.c, * pe-dll.h, * pep-dll.h, * plugin.c, * plugin.h,
678 * testplug.c, * testplug2.c, * testplug3.c, * testplug4.c: Replace
679 bfd_boolean with bool, FALSE with false, and TRUE with true.
680 * configure: Regenerate.
681
3dfb1b6d
AM
6822021-03-31 Alan Modra <amodra@gmail.com>
683
684 * elf-hints-local.h: Include stdint.h in place of bfd_stdint.h.
685 * emultempl/nds32elf.em: Likewise.
686 * testsuite/ld-elf/mbind2b.c: Likewise.
687 * testsuite/ld-elf/pr18718.c: Likewise.
688 * testsuite/ld-elf/pr18720a.c: Likewise.
689 * testsuite/ld-elf/pr25749-1.c: Likewise.
690 * testsuite/ld-elf/pr25749-1a.c: Likewise.
691 * testsuite/ld-elf/pr25749-1b.c: Likewise.
692 * testsuite/ld-elf/pr25749-1c.c: Likewise.
693 * testsuite/ld-elf/pr25749-1d.c: Likewise.
694 * testsuite/ld-elf/pr25749-2.c: Likewise.
695 * testsuite/ld-elf/pr25754-1a.c: Likewise.
696 * testsuite/ld-elf/pr25754-2a.c: Likewise.
697 * testsuite/ld-elf/pr25754-3a.c: Likewise.
698 * testsuite/ld-elf/pr25754-4a.c: Likewise.
699 * testsuite/ld-elf/pr25754-5a.c: Likewise.
700 * testsuite/ld-elf/pr25754-6a.c: Likewise.
701
63b4cc53
AM
7022021-03-29 Alan Modra <amodra@gmail.com>
703
704 * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Simplify
705 boolean expression.
706 * lexsup.c (parse_args): Likewise.
707 * pe-dll.c (pe_dll_id_target): Likewise.
708
8592be8c
NA
7092021-03-25 Nick Alcock <nick.alcock@oracle.com>
710
711 * testsuite/ld-ctf/array.d: Only check that the data object
712 section is nonempty: do not check its exact size.
713 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
714 * testsuite/ld-ctf/slice.d: Likewise.
715 * testsuite/ld-ctf/data-func-conflicted.d: Likewise, and for the
716 func info section too.
717 * testsuite/ld-ctf/function.d: Likewise, for the func info section.
718
08dedd66
ML
7192021-03-22 Martin Liska <mliska@suse.cz>
720
721 * emultempl/aix.em: Replace usage of CONST_STRNEQ with startswith.
722 * emultempl/beos.em: Likewise.
723 * emultempl/elf.em: Likewise.
724 * emultempl/pe.em: Likewise.
725 * emultempl/pep.em: Likewise.
726 * emultempl/xtensaelf.em: Likewise.
727 * ldctor.c (ctor_prio): Likewise.
728 * ldelf.c (ldelf_try_needed): Likewise.
729 (ldelf_parse_ld_so_conf): Likewise.
730 (ldelf_after_open): Likewise.
731 (output_rel_find): Likewise.
732 (ldelf_place_orphan): Likewise.
733 * ldfile.c (ldfile_add_library_path): Likewise.
734 * ldlang.c (lang_add_input_file): Likewise.
735 * ldmain.c (get_sysroot): Likewise.
736 (get_emulation): Likewise.
737 (add_archive_element): Likewise.
738 * ldwrite.c (unsplittable_name): Likewise.
739 (clone_section): Likewise.
740 * lexsup.c (parse_args): Likewise.
741 * pe-dll.c (is_import): Likewise.
742 (pe_implied_import_dll): Likewise.
743
1de96e5d
L
7442021-03-19 H.J. Lu <hongjiu.lu@intel.com>
745
746 PR ld/27590
747 * testsuite/ld-x86-64/pr27590.rd: New file.
748 * testsuite/ld-x86-64/pr27590a.obj.bz2: Likewise.
749 * testsuite/ld-x86-64/pr27590b.obj.bz2: Likewise.
750 * testsuite/ld-x86-64/x86-64.exp: Run ld/27590 test.
751
15407e7e
AM
7522021-03-20 Alan Modra <amodra@gmail.com>
753
754 PR 27590
755 * ldlang.c (lang_gc_sections): Clear SEC_EXCLUDE when relocatable
756 for all sections except .stabstr.
757
fba7f753
AM
7582021-03-19 Alan Modra <amodra@gmail.com>
759
760 PR 27590
761 * testsuite/ld-elf/pr27590a.d: Match relocs using label, and
762 R_MIPS_NONE.
763 * testsuite/ld-elf/pr27590b.d: Likewise.
764
3818d4ab
L
7652021-03-18 H.J. Lu <hongjiu.lu@intel.com>
766
767 PR ld/27590
768 * testsuite/ld-elf/pr27590.s: New file.
769 * testsuite/ld-elf/pr27590a.d: Likewise.
770 * testsuite/ld-elf/pr27590b.d: Likewise.
771 * testsuite/ld-i386/i386.exp: Also run ld/27193 test with
772 --reduce-memory-overheads.
773
51f6e7a9
L
7742021-03-18 H.J. Lu <hongjiu.lu@intel.com>
775
776 PR ld/27587
777 * testsuite/ld-x86-64/pr27587.err: New file.
778 * testsuite/ld-x86-64/pr27587a.obj.bz2: Likewise.
779 * testsuite/ld-x86-64/pr27587b.obj.bz2: Likewise.
780 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/27587 test.
781
69a28486
NA
7822021-03-18 Nick Alcock <nick.alcock@oracle.com>
783
784 * testsuite/ld-ctf/slice.c: Check slices of enums too.
785 * testsuite/ld-ctf/slice.d: Results adjusted.
786
ee42883c
NC
7872021-03-16 Nick Clifton <nickc@redhat.com>
788
789 * pe-dll.c (pe_find_cdecl_alias_match): Use memmove to overwrite
790 lname string.
791
c68b1842
JB
7922021-03-15 Jan Beulich <jbeulich@suse.com>
793
794 * pe-dll.c (generate_reloc): Drop padding to reloc_s->size.
795
203a206d
AM
7962021-03-12 Alan Modra <amodra@gmail.com>
797
798 * Makefile.am (ALL_EMULATION_SOURCES): Move riscv files to..
799 (ALL_64_EMULATION_SOURCES): ..here.
800 * Makefile.in: Regenerate.
801
1b2cb8e2
CC
8022021-03-12 Clément Chigot <clement.chigot@atos.net>
803
804 * emultempl/aix.em: Ensure .tdata section is removed
805 if empty, even with -r flag.
806 * scripttempl/aix.sc: Handle TLS sections.
807 * testsuite/ld-powerpc/aix52.exp: Add new tests.
808 * testsuite/ld-powerpc/aix-tls-reloc-32.d: New test.
809 * testsuite/ld-powerpc/aix-tls-reloc-64.d: New test.
810 * testsuite/ld-powerpc/aix-tls-reloc.ex: New test.
811 * testsuite/ld-powerpc/aix-tls-reloc.s: New test.
812 * testsuite/ld-powerpc/aix-tls-section-32.d: New test.
813 * testsuite/ld-powerpc/aix-tls-section-64.d: New test.
814 * testsuite/ld-powerpc/aix-tls-section.ex: New test.
815 * testsuite/ld-powerpc/aix-tls-section.s: New test.
816
4a403be0
CC
8172021-03-12 Clément Chigot <clement.chigot@atos.net>
818
819 * scripttempl/aix.sc: Add .te to .data section.
820 * testsuite/ld-powerpc/aix52.exp: Add test structure for AIX7+.
821 Add aix-largetoc-1 test.
822 * testsuite/ld-powerpc/aix-largetoc-1-32.d: New test.
823 * testsuite/ld-powerpc/aix-largetoc-1-64.d: New test.
824 * testsuite/ld-powerpc/aix-largetoc-1.ex: New test.
825 * testsuite/ld-powerpc/aix-largetoc-1.s: New test.
826
68cb2183
AM
8272021-03-12 Alan Modra <amodra@gmail.com>
828
829 * testsuite/ld-gc/gc.exp: Pass "-image-base 0" to ld for PE, and
830 arrange to define __main for some run_dump_test tests.
831 * testsuite/ld-gc/pr13683.d: Accept more symbols.
832 * testsuite/ld-gc/pr14265.d: Likewise, and ordering.
833 * testsuite/ld-scripts/crossref.exp: Pass "-image-base 0" to ld for PE.
834 * testsuite/ld-srec/srec.exp: Likewise.
835 * testsuite/lib/ld-lib.exp (ld_link_defsyms): Use is_pecoff_format.
836
ebdcad3f
NC
8372021-03-11 Nelson Chu <nelson.chu@sifive.com>
838
839 * emultempl/riscvelf.em (after_allocation): Run ldelf_map_segments
840 many times if riscv_restart_relax_sections returns TRUE.
841 * testsuite/ld-riscv-elf/restart-relax.d: New testcase. Before
842 applying this patch, the call won't be relaxed to jal; But now we
843 have more chances to do relaxations.
844 * testsuite/ld-riscv-elf/restart-relax.s: Likewise.
845 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
846
67b0f684
JB
8472021-03-10 Jan Beulich <jbeulich@suse.com>
848
849 * testsuite/ld-scripts/pr22267.t: Avoid symbol value with more
850 than 32 set bits.
851 * testsuite/ld-scripts/pr22267.d: Adjust expectation and drop
852 comment.
853 * scripttempl/mcorepe.sc: Use PROVIDE() for _stack.
854
5dc75cf3
JB
8552021-03-09 Jan Beulich <jbeulich@suse.com>
856
857 * testsuite/ld-pe/reloc.s: Add entry point symbols. Increase
858 alignment to 4k.
859 * testsuite/ld-pe/reloc.d: xfail for mcore.
860
87fa7d56
JB
8612021-03-09 Jan Beulich <jbeulich@suse.com>
862
863 * testsuite/ld-scripts/alignof.exp,
864 testsuite/ld-scripts/data.exp,
865 testsuite/ld-scripts/default-script.exp,
866 testsuite/ld-scripts/log2.exp,
867 testsuite/ld-scripts/print-memory-usage.exp,
868 testsuite/ld-scripts/sizeof.exp,
869 testsuite/ld-undefined/weak-undef.exp: Set image base to zero
870 for PE/COFF.
871 * testsuite/ld-scripts/default-script1.d,
872 testsuite/ld-scripts/default-script2.d,
873 testsuite/ld-scripts/default-script3.d,
874 testsuite/ld-scripts/default-script4.d: Drop xfail and comment.
875
8c0546e9
L
8762021-03-05 H.J. Lu <hongjiu.lu@intel.com>
877
878 PR ld/27425
879 PR ld/27432
880 * ldelf.c (ldelf_set_output_arch): New function.
881 * ldelf.h (ldelf_set_output_arch): New prototype.
882 * emultempl/elf.em (LDEMUL_SET_OUTPUT_ARCH): Default to
883 ldelf_set_output_arch.
884 * ld-x86-64/pe-x86-64-1.od: Expect __executable_start.
885 * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise.
886 * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise.
887 * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise.
888 * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise.
889 * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise.
890 * testsuite/ld-x86-64/pe-x86-64-6.obj.bz2: New file.
891 * testsuite/ld-x86-64/pe-x86-64-6.od: Likewise.
892 * testsuite/ld-x86-64/pe-x86-64.exp: Run ld/27425 test.
893
d4e5db4e
JB
8942021-03-04 Jan Beulich <jbeulich@suse.com>
895
896 * testsuite/ld-scripts/map-address.exp: Set image base to zero
897 for PE/COFF.
898 * testsuite/ld-scripts/map-address.t: Place .text.
899
6fa7408d
JB
9002021-03-04 Jan Beulich <jbeulich@suse.com>
901
902 * ldexp.c (ldexp_is_final_sym_absolute): New.
903 * ldexp.h (ldexp_is_final_sym_absolute): Declare.
904 * pe-dll.c (generate_reloc): Skip absolute symbols.
905 * testsuite/ld-pe/reloc.s, testsuite/ld-pe/reloc.d: New.
906 * testsuite/ld-pe/pe.exp: Run new test.
907
5789f845
AM
9082021-03-03 Alan Modra <amodra@gmail.com>
909
910 PR 27500
911 * ldlang.c (insert_undefined): Don't mark symbols here.
912 (lang_mark_undefineds): Do so here instead, new function.
913 (lang_process): Call lang_mark_undefineds.
914 * testsuite/ld-gc/start3.d,
915 * testsuite/ld-gc/start3.s: New test.
916 * testsuite/ld-gc/start4.d,
917 * testsuite/ld-gc/start4.s: New test.
918 * testsuite/ld-gc/gc.exp: Run them.
919
270f32fc
AM
9202021-03-03 Alan Modra <amodra@gmail.com>
921
922 * testsuite/ld-gc/gc.exp: Define UNDERSCORE in ASFLAGS.
923 Move tests with ELF section directives to is_elf_format block.
924 * testsuite/ld-gc/abi-note.d: Run on more targets.
925 * testsuite/ld-gc/pr19167.d: Likewise and adjust xfails.
926 * testsuite/ld-gc/start.d: Likewise.
927 * testsuite/ld-gc/start2.d: Likewise.
928 * testsuite/ld-gc/stop.d: Likewise.
929 * testsuite/ld-gc/pr19167a.s: Add support for underscore targets.
930 * testsuite/ld-gc/start.s: Likewise.
931 * testsuite/ld-gc/start2.s: Likewise.
932
211bcd01
NA
9332021-03-02 Nick Alcock <nick.alcock@oracle.com>
934
935 * ldelfgen.c (ldelf_ctf_strtab_iter_cb): Skip zero-refcount strings.
936
b80e421f
AM
9372021-03-02 Alan Modra <amodra@gmail.com>
938
939 * testsuite/ld-powerpc/startstop.d,
940 * testsuite/ld-powerpc/startstop.r,
941 * testsuite/ld-powerpc/startstop.s: New test.
942 * testsuite/ld-powerpc/powerpc.exp: Run it.
943
f5b9c288
AM
9442021-03-02 Alan Modra <amodra@gmail.com>
945
946 * testsuite/ld-powerpc/weak1.d,
947 * testsuite/ld-powerpc/weak1.r,
948 * testsuite/ld-powerpc/weak1.s,
949 * testsuite/ld-powerpc/weak1so.d,
950 * testsuite/ld-powerpc/weak1so.r: New tests.
951 * testsuite/ld-powerpc/powerpc.exp: Run them.
952
ba6eb62f
NC
9532021-03-01 Hannes Domani <ssbssa@sourceware.org>
954 Nick Clifton <nickc@redhat.com>
955
956 PR 27268
957 * scripttempl/pe.sc: Add DWARF-5 section names.
958 * scripttempl/pep.sc: Likewise.
959
8ee10e86
AM
9602021-03-01 Alan Modra <amodra@gmail.com>
961 Fangrui Song <maskray@google.com>
962
963 * emultempl/elf.em: Handle -z start-stop-gc and -z nostart-stop-gc.
964 * lexsup.c (elf_static_list_options): Display help for them. Move
965 help for -z stack-size to here from elf_shlib_list_options. Add
966 help for -z start-stop-visibility and -z undefs.
967 * ld.texi: Document -z start-stop-gc and -z nostart-stop-gc.
968 * NEWS: Mention -z start-stop-gc.
969 * testsuite/ld-gc/start2.s,
970 * testsuite/ld-gc/start2.d: New test.
971 * testsuite/ld-gc/gc.exp: Run it.
972
7824c1d2
AM
9732021-03-01 Alan Modra <amodra@gmail.com>
974
975 * ldlang.c (undef_start_stop): For ELF make undefined start/stop
976 symbols undefweak if that was how they were referenced. Undo
977 dynamic state too.
978
6a1224ec
AM
9792021-03-01 Alan Modra <amodra@gmail.com>
980
981 * testsuite/ld-elf/pr25708.d: Add --with-symbol-versions to nm.
982 * testsuite/ld-elf/pr27128a.d: Likewise.
983 * testsuite/ld-elf/pr27128b.d: Likewise.
984 * testsuite/ld-elf/pr27128c.d: Likewise.
985 * testsuite/ld-elf/pr27128d.d: Likewise.
986 * testsuite/ld-elf/pr27128e.d: Likewise.
987
bfece756
AM
9882021-02-26 Alan Modra <amodra@gmail.com>
989
990 PR 27441
991 * testsuite/ld-plugin/pr27441a.c,
992 * testsuite/ld-plugin/pr27441b.c,
993 * testsuite/ld-plugin/pr27441c.c,
994 * testsuite/ld-plugin/pr27441c.d: New test.
995 * testsuite/ld-plugin/lto.exp: Run it.
996
3c27360b
JB
9972021-02-25 Jan Beulich <jbeulich@suse.com>
998
999 * ld.texi (PROVIDE): Downgrade "error" to "diagnostic".
1000
89753bbf
AM
10012021-02-21 Alan Modra <amodra@gmail.com>
1002
1003 * ldexp.c (exp_fold_tree_1): Warn on script defining a symbol
1004 defined in an object file.
1005 * ldmain.c (multiple_definition): Heed info->warn_multiple_definition.
1006 * testsuite/ld-scripts/defined5.d: Expect a warning.
1007
2f973f13
AM
10082021-02-19 Alan Modra <amodra@gmail.com>
1009
1010 * testsuite/lib/ld-lib.exp: Whitespace.
1011 (load_common_lib): Expand single use and delete this proc.
1012 (run_host_cmd): Use -fno-lto when getting gcc's ld version.
1013 Use -B for clang too.
1014
a364a116
AB
10152021-02-18 Andrew Burgess <andrew.burgess@embecosm.com>
1016
1017 * testplugin.c (record_read_length): Remove debug fprintf.
1018
5b1f6c95
AM
10192021-02-14 Alan Modra <amodra@gmail.com>
1020
1021 * testsuite/ld-cdtest/cdtest.exp,
1022 * testsuite/ld-checks/checks.exp,
1023 * testsuite/ld-elf/binutils.exp,
1024 * testsuite/ld-elf/compress.exp,
1025 * testsuite/ld-elf/dwarf.exp,
1026 * testsuite/ld-elf/exclude.exp,
1027 * testsuite/ld-elf/frame.exp,
1028 * testsuite/ld-elf/indirect.exp,
1029 * testsuite/ld-elf/linux-x86.exp,
1030 * testsuite/ld-elf/sec-to-seg.exp,
1031 * testsuite/ld-elf/tls_common.exp,
1032 * testsuite/ld-elfcomm/elfcomm.exp,
1033 * testsuite/ld-elfvers/vers.exp,
1034 * testsuite/ld-elfvsb/elfvsb.exp,
1035 * testsuite/ld-elfweak/elfweak.exp,
1036 * testsuite/ld-ifunc/binutils.exp,
1037 * testsuite/ld-mips-elf/mips-elf-flags.exp,
1038 * testsuite/ld-misc/defsym.exp,
1039 * testsuite/ld-mn10300/mn10300.exp,
1040 * testsuite/ld-plugin/lto.exp,
1041 * testsuite/ld-plugin/plugin.exp,
1042 * testsuite/ld-scripts/align.exp,
1043 * testsuite/ld-scripts/assert.exp,
1044 * testsuite/ld-scripts/crossref.exp,
1045 * testsuite/ld-scripts/defined.exp,
1046 * testsuite/ld-scripts/extern.exp,
1047 * testsuite/ld-scripts/log2.exp,
1048 * testsuite/ld-scripts/map-address.exp,
1049 * testsuite/ld-scripts/phdrs.exp,
1050 * testsuite/ld-scripts/phdrs2.exp,
1051 * testsuite/ld-scripts/script.exp,
1052 * testsuite/ld-scripts/section-flags.exp,
1053 * testsuite/ld-scripts/sizeof.exp,
1054 * testsuite/ld-scripts/weak.exp,
1055 * testsuite/ld-selective/selective.exp,
1056 * testsuite/ld-sh/sh.exp,
1057 * testsuite/ld-shared/shared.exp,
1058 * testsuite/ld-srec/srec.exp,
1059 * testsuite/ld-tic6x/tic6x.exp,
1060 * testsuite/ld-undefined/undefined.exp,
1061 * testsuite/ld-undefined/weak-undef.exp,
1062 * testsuite/lib/ld-lib.exp: Don't use unresolved except after
1063 perror. Instead report "unsupported" or "fail".
1064
c46b7066
NC
10652021-02-12 Nick Clifton <nickc@redhat.com>
1066
1067 * testsuite/ld-elf/sec64k.exp: Stop readelf from automatically
1068 following debug links.
1069
933feaf3
AM
10702021-02-11 Alan Modra <amodra@gmail.com>
1071
1072 * NEWS: Mention arm-symbianelf removal.
1073
a57d1773
AM
10742021-02-09 Alan Modra <amodra@gmail.com>
1075
1076 * Makefile.am (ALL_EMULATION_SOURCES): Remove earmsymbian.c.
1077 Don't include symbian dep file.
1078 * configure.tgt: Remove arm*-*-symbianelf* entry.
1079 * emulparams/armsymbian.sh: Delete.
1080 * ld.texi: Don't mention symbian.
1081 * scripttempl/armbpabi.sc: Delete.
1082 * testsuite/ld-arm/symbian-seg1.d: Delete.
1083 * testsuite/ld-arm/symbian-seg1.s: Delete.
1084 * testsuite/ld-arm/arm-elf.exp: Don't run symbian-seg1.
1085 * Makefile.in: Regenerate.
1086 * po/BLD-POTFILES.in: Regenerate.
1087
38a143aa
L
10882021-02-07 H.J. Lu <hongjiu.lu@intel.com>
1089
1090 PR ld/27358
1091 * testsuite/ld-i386/i386.exp: Remove property 3/4/5 run-time
1092 tests.
1093 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1094
35a01a04
NA
10952021-01-26 Nick Alcock <nick.alcock@oracle.com>
1096
1097 * ldlang.c (lang_merge_ctf): Set CTF_LINK_NO_FILTER_REPORTED_SYMS
1098 when appropriate.
1099
1a2f1b54
L
11002021-02-04 H.J. Lu <hongjiu.lu@intel.com>
1101
1102 PR ld/19609
1103 * testsuite/ld-x86-64/pr19609-2a.d: Updated.
1104 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
1105 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
1106 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
1107 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
1108 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
1109 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
1110
37707bd8
L
11112021-02-04 H.J. Lu <hongjiu.lu@intel.com>
1112
1113 PR ld/15146
1114 * testsuite/ld-plugin/lto.exp: Run PR ld/15146 tests.
1115 * testsuite/ld-plugin/pr15146.d: Restored.
1116 * testsuite/ld-plugin/pr15146a.c: Likewise.
1117 * testsuite/ld-plugin/pr15146b.c: Likewise.
1118 * testsuite/ld-plugin/pr15146c.c: Likewise.
1119 * testsuite/ld-plugin/pr15146d.c: Likewise.
1120
7d409ac0
AM
11212021-02-04 Alan Modra <amodra@gmail.com>
1122
1123 * testsuite/ld-plugin/pr27311d.c: New test.
1124 * testsuite/ld-plugin/lto.exp: Rename pr27311 to pr27311-1, compile
1125 and link new test as pr27311-2.
1126
69551367
AM
11272021-02-03 Alan Modra <amodra@gmail.com>
1128
1129 * testsuite/ld-ifunc/ifunc.exp (libpr16467b.so, libpr16467bn.so):
1130 Link with --as-needed.
1131
9918bff7
AM
11322021-02-02 Alan Modra <amodra@gmail.com>
1133
1134 * testsuite/ld-plugin/pr27311.d,
1135 * testsuite/ld-plugin/pr27311.ver,
1136 * testsuite/ld-plugin/pr27311a.c,
1137 * testsuite/ld-plugin/pr27311b.c,
1138 * testsuite/ld-plugin/pr27311c.c: New testcase.
1139 * testsuite/ld-plugin/lto.exp: Run it. Correct PR14918 and
1140 PR12982 entries.
1141
1f568f9a
EH
11422021-02-01 Emery Hemingway <ehmry@posteo.net>
1143
1144 * configure.tgt: Add *-*-genode* as a target for AArch64 and x86.
1145
fb6c220e
AM
11462021-02-01 Alan Modra <amodra@gmail.com>
1147
1148 * ldgram.y (defsym_expr): Use assignment rule.
1149 * ldlex.h (ldlex_defsym): Delete.
1150 * ldlex.l (DEFSYMEXP, ldlex_defsym): Delete.
1151
40726f16
AM
11522021-02-01 Alan Modra <amodra@gmail.com>
1153
1154 * ldgram.y (section): Call ldlex_backup. Remove empty action.
1155 * ldlex.h (ldlex_backup): Declare.
1156 * ldlex.l (<EXPRESSION>NAME): Don't use NOCFILENAMECHAR set of
1157 chars, use SYMBOLNAMECHAR.
1158 (ldlex_backup): New function.
1159
a5f92c67
AM
11602021-02-01 Alan Modra <amodra@gmail.com>
1161
1162 * ldgram.y: Whitespace fixes.
1163
49daa38f
AM
11642021-02-01 Alan Modra <amodra@gmail.com>
1165
1166 * testsuite/ld-elf/pr27259.d: Correct sh_link match.
1167
c4566785
AM
11682021-01-29 Alan Modra <amodra@gmail.com>
1169
1170 * testsuite/ld-tic6x/tic6x.exp: Add pr27271 test.
1171
53e556e5
L
11722021-01-28 H.J. Lu <hongjiu.lu@intel.com>
1173
1174 PR ld/27259
1175 * testsuite/ld-elf/pr27259.d: New file.
1176 * testsuite/ld-elf/pr27259.s: Likewise.
1177
def97fb9
AM
11782021-01-28 Alan Modra <amodra@gmail.com>
1179
1180 PR 27259
1181 * ldelf.c (ldelf_before_place_orphans): Use linker_mark to
1182 prevent endless looping of linked-to sections.
1183
2eda57ef
L
11842021-01-26 H.J. Lu <hongjiu.lu@intel.com>
1185
1186 * testsuite/ld-x86-64/bnd-plt-1.d: Fix a typo.
1187
1c9c9b9b
AM
11882021-01-26 Alan Modra <amodra@gmail.com>
1189
1190 PR 27226
1191 * emulparams/alphavms.sh: Don't set COMPILE_IN.
1192 * emulparams/elf64_ia64_vms.sh: Likewise.
1193 * emulparams/elf64mmix.sh: Likewise.
1194 * emulparams/elf_iamcu.sh: Likewise.
1195 * emulparams/elf_k1om.sh: Likewise.
1196 * emulparams/elf_l1om.sh: Likewise.
1197 * emulparams/mmo.sh: Likewise.
1198 * emulparams/pdp11.sh: Set DATA_SEG_ADDR.
1199 * scripttempl/pdp11.sc: Use it.
1200 * emultempl/pdp11.em: Don't edit .xn script for separate_code,
1201 instead use .xe script. Support scripts from file system.
1202 * emultempl/beos.em: Support scripts from file system.
1203 * emultempl/pe.em: Likewise.
1204 * emultempl/pep.em: Likewise.
1205 * testsuite/ld-bootstrap/bootstrap.exp: Make tmpdir/ldscripts link.
1206
9e42b976
FS
12072021-01-25 Fangrui Song <maskray@google.com>
1208
1209 PR ld/27230
1210 * scripttempl/DWARF.sc: Add .debug_* sections.
1211
b8df6900
NC
12122021-01-25 Nick Clifton <nickc@redhat.com>
1213
1214 * scripttempl/DWARF.sc: Add .debug_loclists, .debug_rnglists,
1215 .debug_line_str and .debug_str_offsets. Move .debug_macro and
1216 .debug_addr into DWARF-5 section.
1217
c78eec44
AM
12182021-01-21 Alan Modra <amodra@gmail.com>
1219
1220 * testsuite/ld-elf/pr26936.d: No longer xfail mips.
1221
4bd7c902
AM
12222021-01-20 Alan Modra <amodra@gmail.com>
1223
1224 * testsuite/ld-powerpc/relbrlt.s: Make symbols global.
1225 * testsuite/ld-powerpc/relbrlt.d: Adjust to suit.
1226 * testsuite/ld-powerpc/tlsget.d: Adjust for reordered stubs.
1227 * testsuite/ld-powerpc/tlsget.wf: Likewise.
1228 * testsuite/ld-powerpc/tlsget2.d: Likewise.
1229 * testsuite/ld-powerpc/tlsget2.wf: Likewise.
1230 * testsuite/ld-powerpc/tlsexe.r: Adjust for removed section syms.
1231 * testsuite/ld-powerpc/tlsexe32.r: Likewise.
1232 * testsuite/ld-powerpc/tlsexe32no.r: Likewise.
1233 * testsuite/ld-powerpc/tlsexeno.r: Likewise.
1234 * testsuite/ld-powerpc/tlsexenors.r: Likewise.
1235 * testsuite/ld-powerpc/tlsexers.r: Likewise.
1236 * testsuite/ld-powerpc/tlsexetoc.r: Likewise.
1237 * testsuite/ld-powerpc/tlsexetocrs.r: Likewise.
1238 * testsuite/ld-powerpc/tlsso.r: Likewise.
1239 * testsuite/ld-powerpc/tlsso32.r: Likewise.
1240 * testsuite/ld-powerpc/tlstocso.r: Likewise.
1241
c98de297
NA
12422021-01-19 Nick Alcock <nick.alcock@oracle.com>
1243
1244 * testsuite/ld-ctf/data-func-2.c: Stop removal of the extern foo_t
1245 symbols by the optimizer.
1246 * testsuite/ld-ctf/data-func-conflicted.d: Adjust accordingly.
1247
85e963f1
NC
12482021-01-19 Nelson Chu <nelson.chu@sifive.com>
1249
1250 * testsuite/ld-elf/elf.exp (riscv_little_endian): Added. Return true
1251 if target is riscv little endian. Otherwise, return false.
1252 * testsuite/ld-elf/compressed1d.d: Only xfail the riscv little endian
1253 targets by [riscv_little_endian].
1254
326adec3
AM
12552021-01-18 Alan Modra <amodra@gmail.com>
1256
1257 PR 26378
1258 * ldlang.c (map_input_to_output_sections): Start with a read-only
1259 section for data statements.
1260 * testsuite/ld-elf/size-2.d: Adjust to suit.
1261
994b2513
L
12622021-01-17 H.J. Lu <hongjiu.lu@intel.com>
1263
1264 PR ld/27193
1265 * testsuite/ld-i386/i386.exp: Run PR ld/27193 test.
1266 * testsuite/ld-i386/pr27193.dd: New file.
1267 * testsuite/ld-i386/pr27193a.o.bz2: Likewise.
1268 * testsuite/ld-i386/pr27193b.s: Likewise.
1269
edf0f284
L
12702021-01-16 H.J. Lu <hongjiu.lu@intel.com>
1271
1272 PR binutils/23460
1273 * testsuite/ld-plugin/lto.exp: Increase the max number of open
1274 files to 20 for PR binutils/23460 test.
1275
75a933f3
L
12762021-01-16 H.J. Lu <hongjiu.lu@intel.com>
1277
1278 PR ld/23169
1279 * testsuite/ld-ifunc/ifunc.exp: Replace pr23169c.rd with
1280 pr23169a.rd for pr23169c and pr23169f. Remove pr23169e tests.
1281 * testsuite/ld-ifunc/pr23169a.c (foo): Don't compare function
1282 address.
1283
68b00778
L
12842021-01-15 H.J. Lu <hongjiu.lu@intel.com>
1285
1286 * NEWS: Mention -z report-relative-reloc.
1287 * ld.texi: Document -z report-relative-reloc.
1288 * emulparams/elf32_x86_64.sh: Source x86-report-relative.sh.
1289 * emulparams/elf_i386.sh: Likewse.
1290 * emulparams/elf_x86_64.sh: Likewse.
1291 * emulparams/x86-report-relative.sh: New file.
1292 * testsuite/ld-i386/report-reloc-1.d: Likewse.
1293 * testsuite/ld-i386/report-reloc-1.l: Likewse.
1294 * testsuite/ld-i386/report-reloc-1.s: Likewse.
1295 * testsuite/ld-x86-64/report-reloc-1-x32.d: Likewse.
1296 * testsuite/ld-x86-64/report-reloc-1.d: Likewse.
1297 * testsuite/ld-x86-64/report-reloc-1.l: Likewse.
1298 * testsuite/ld-x86-64/report-reloc-1.s: Likewse.
1299 * testsuite/ld-i386/i386.exp: Run report-reloc-1.
1300 * testsuite/ld-x86-64/x86-64.exp: Run report-reloc-1 and
1301 report-reloc-1-x32.
1302
eb6e6af8
AM
13032021-01-16 Alan Modra <amodra@gmail.com>
1304
1305 PR 26002
1306 * testsuite/ld-elfvers/vers6.dsym: Expect "Base" for undefined
1307 unversioned symbols.
1308 * testsuite/ld-elfvers/vers16.dsym: Likewise.
1309
b800637e
NC
13102021-01-15 Nelson Chu <nelson.chu@sifive.com>
1311
1312 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-01.d: Updated.
1313 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-02.d: Likewise.
1314 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-03.d: Likewise.
1315 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-04.d: Likewise.
1316 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-05.d: Likewise.
1317 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-06.d: Likewise.
1318
5a10699f
NC
13192021-01-14 Nick Clifton <nickc@redhat.com>
1320
1321 * po/fr.po: Updated French translation.
1322
271bea6a
MF
13232021-01-14 Mike Frysinger <vapier@gentoo.org>
1324
1325 * testsuite/config/default.exp [bfin*-elf*] (gcc_B_opt): Add -msim.
1326
4120e488
AM
13272021-01-14 Alan Modra <amodra@gmail.com>
1328
1329 PR 27160
1330 * ldelfgen.c (compare_link_order): Protect access of ELF section
1331 data.
1332 (add_link_order_input_section): Remove redundant NULL check.
1333 Use bfd_get_flavour.
1334 (ldelf_map_segments): Use bfd_get_flavour.
1335
b634d11d
L
13362021-01-13 H.J. Lu <hongjiu.lu@intel.com>
1337
1338 * ldelfgen.c (add_link_order_input_section): Check for ELF input
1339 before accessing ELF section data.
1340
5347ed60
AM
13412021-01-13 Alan Modra <amodra@gmail.com>
1342
1343 * Makefile.in: Regenerate.
1344
b209b5a6
AM
13452021-01-13 Alan Modra <amodra@gmail.com>
1346
1347 PR 27160
1348 * ldlang.h (lang_output_section_statement_type): Add data field.
1349 (lang_input_section_type, lang_section_bst_type): Add pattern field.
1350 (statement_list): Declare.
1351 (lang_add_section): Adjust prototype.
1352 * emultempl/aarch64elf.em: Adjust lang_add_section calls.
1353 * emultempl/armelf.em: Likewise.
1354 * emultempl/beos.em: Likewise.
1355 * emultempl/cskyelf.em: Likewise.
1356 * emultempl/hppaelf.em: Likewise.
1357 * emultempl/m68hc1xelf.em: Likewise.
1358 * emultempl/metagelf.em: Likewise.
1359 * emultempl/mipself.em: Likewise.
1360 * emultempl/mmo.em: Likewise.
1361 * emultempl/msp430.em: Likewise.
1362 * emultempl/nios2elf.em: Likewise.
1363 * emultempl/pe.em: Likewise.
1364 * emultempl/pep.em: Likewise.
1365 * emultempl/ppc64elf.em: Likewise.
1366 * emultempl/spuelf.em: Likewise.
1367 * emultempl/vms.em: Likewise.
1368 * ldelf.c: Likewise.
1369 * ldelfgen.c: Include ldctor.h.
1370 (struct os_sections): New.
1371 (add_link_order_input_section, link_order_scan): New functions.
1372 (compare_link_order, fixup_link_order): New functions.
1373 (ldelf_map_segments): Call link_order_scan and fixup_link_order.
1374 * ldlang.c (statement_list): Make global.
1375 (output_section_callback_fast): Save pattern in tree node.
1376 (lang_add_section): Add pattern parameter, save in lang_input_section.
1377 (output_section_callback_tree_to_list): Adjust lang_add_section calls.
1378 (lang_insert_orphan, output_section_callback): Likewise.
1379 (ldlang_place_orphan): Likewise.
1380 (gc_section_callback): Don't set section->pattern.
1381 * testsuite/ld-elf/pr26256-2a.d: Don't xfail generic.
1382 * testsuite/ld-elf/pr26256-3b.d: Likewise.
1383 * testsuite/ld-elf/pr26256-2b.d: Likewise. notarget xgate.
1384
8c4645b4
AM
13852021-01-13 Alan Modra <amodra@gmail.com>
1386
1387 * ldlang.h (callback_t): Remove flag_info function parameter.
1388 * ldlang.c (walk_wild_consider_section): Adjust to suit.
1389 (walk_wild_section_general): Likewise.
1390 (output_section_callback_fast, output_section_callback): Likewise.
1391 (check_section_callback, gc_section_callback): Likewise.
1392 (find_relro_section_callback): Likewise.
1393
d546b610
L
13942021-01-12 H.J. Lu <hongjiu.lu@intel.com>
1395
1396 PR binutils/26792
1397 * configure.ac: Use GNU_MAKE_JOBSERVER.
1398 * aclocal.m4: Regenerated.
1399 * configure: Likewise.
1400
c2e9a4a3
L
14012021-01-12 H.J. Lu <hongjiu.lu@intel.com>
1402
1403 PR ld/27171
1404 * testsuite/ld-x86-64/pe-x86-64-5.obj.bz2: New file.
1405 * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise.
1406 * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise.
1407 * testsuite/ld-x86-64/pe-x86-64.exp: Run PR ld/27171 test.
1408
83b33c6c
L
14092021-01-11 H.J. Lu <hongjiu.lu@intel.com>
1410
1411 PR ld/27173
1412 * configure: Regenerated.
1413
c0f6e439
MJ
14142021-01-11 Matt Jenkins <matt@majenko.co.uk>
1415
1416 PR ld/27167
1417 * ldmain.c (get_emulation): Add mipsmips32r3, mips32r5, mips64r3
1418 and mips64r5 to list of known mips targets.
1419
14202021-01-11 Nick Clifton <nickc@redhat.com>matt@majenko.co.uk
a8aa72b9
NC
1421
1422 * po/pt_BR.po: Updated Brazilian Portuguese translation.
1423` * po/uk.po: Updated Ukranian translation.
1424
a4966cd9
L
14252021-01-09 H.J. Lu <hongjiu.lu@intel.com>
1426
1427 * configure: Regenerated.
1428
0a94990b
L
14292021-01-09 H.J. Lu <hongjiu.lu@intel.com>
1430
1431 PR ld/27166
1432 * testsuite/ld-x86-64/lam-u48.rd: New file.
1433 * testsuite/ld-x86-64/lam-u57.rd: Likewise.
1434 * testsuite/ld-x86-64/x86-64.exp: Add PR ld/27166 tests.
1435
573fe3fb
NC
14362021-01-09 Nick Clifton <nickc@redhat.com>
1437
1438 * configure: Regenerate.
1439 * po/ld.pot: Regenerate.
1440
055bc77a
NC
14412021-01-09 Nick Clifton <nickc@redhat.com>
1442
1443 * 2.36 release branch crated.
1444
ba9e922f
L
14452021-01-08 H.J. Lu <hongjiu.lu@intel.com>
1446
1447 * ld-x86-64/property-x86-lam-u48-4.d: Updated.
1448 * ld-x86-64/property-x86-lam-u48-5.d: Likewise.
1449
64307045
AM
14502021-01-09 Alan Modra <amodra@gmail.com>
1451
1452 * configure: Regenerate.
1453 * Makefile.in: Regenerate.
1454
f4782128
ST
14552021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
1456
1457 * configure: Regenerate.
1458
d1bcae83
L
14592021-01-07 H.J. Lu <hongjiu.lu@intel.com>
1460
1461 PR 27109
1462 * testsuite/ld-elf/export-class.sd: Adjust the expected output.
1463 * testsuite/ld-elf/loadaddr3b.d: Likewise.
1464 * testsuite/ld-i386/ibt-plt-1.d: Likewise.
1465 * testsuite/ld-i386/ibt-plt-2a.d: Likewise.
1466 * testsuite/ld-i386/ibt-plt-2c.d: Likewise.
1467 * testsuite/ld-i386/ibt-plt-3a.d: Likewise.
1468 * testsuite/ld-i386/ibt-plt-3c.d: Likewise.
1469 * testsuite/ld-i386/pr19636-1d.d: Likewise.
1470 * testsuite/ld-i386/pr19636-1l.d: Likewise.
1471 * testsuite/ld-i386/pr19636-2c.d: Likewise.
1472 * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise.
1473 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise.
1474 * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Likewise.
1475 * testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise.
1476 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1477 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1478 * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise.
1479 * testsuite/ld-ifunc/pr17154-i386.d: Likewise.
1480 * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
1481 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
1482 * testsuite/ld-x86-64/bnd-branch-1-now.d: Likewise.
1483 * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise.
1484 * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise.
1485 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
1486 * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise.
1487 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
1488 * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise.
1489 * testsuite/ld-x86-64/ibt-plt-1.d: Likewise.
1490 * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise.
1491 * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise.
1492 * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise.
1493 * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise.
1494 * testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise.
1495 * testsuite/ld-x86-64/ibt-plt-3a.d: Likewise.
1496 * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise.
1497 * testsuite/ld-x86-64/ibt-plt-3c.d: Likewise.
1498 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
1499 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
1500 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
1501 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
1502 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
1503 * testsuite/ld-x86-64/pr19636-2l.d: Likewise.
1504 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
1505 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
1506 * testsuite/ld-x86-64/pr21038b-now.d: Likewise.
1507 * testsuite/ld-x86-64/pr21038b.d: Likewise.
1508 * testsuite/ld-x86-64/pr21038c-now.d: Likewise.
1509 * testsuite/ld-x86-64/pr21038c.d: Likewise.
1510 * testsuite/ld-x86-64/pr23854.d: Likewise.
1511 * testsuite/ld-x86-64/pr25416-3.d: Likewise.
1512 * testsuite/ld-x86-64/pr25416-4.d: Likewise.
1513 * testsuite/ld-i386/plt-pic.pd: Likewise.
1514 * testsuite/ld-i386/plt-pic2.dd: Likewise.
1515 * testsuite/ld-i386/plt.pd: Likewise.
1516 * testsuite/ld-i386/plt2.dd: Likewise.
1517 * testsuite/ld-i386/tlsbin.rd: Likewise.
1518 * testsuite/ld-i386/tlsbin2.rd: Likewise.
1519 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
1520 * testsuite/ld-i386/tlsdesc.rd: Likewise.
1521 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
1522 * testsuite/ld-i386/tlsnopic.rd: Likewise.
1523 * testsuite/ld-i386/tlspic.rd: Likewise.
1524 * testsuite/ld-i386/tlspic2.rd: Likewise.
1525 * testsuite/ld-x86-64/mpx3.dd: Likewise.
1526 * testsuite/ld-x86-64/mpx3n.dd: Likewise.
1527 * testsuite/ld-x86-64/mpx4.dd: Likewise.
1528 * testsuite/ld-x86-64/mpx4n.dd: Likewise.
1529 * testsuite/ld-x86-64/pe-x86-64-1.od: Likewise.
1530 * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise.
1531 * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise.
1532 * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise.
1533 * testsuite/ld-x86-64/plt.pd: Likewise.
1534 * testsuite/ld-x86-64/plt2.dd: Likewise.
1535 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
1536 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
1537 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
1538 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1539 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
1540 * testsuite/ld-x86-64/tlspic.rd: Likewise.
1541 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
1542 * testsuite/ld-elf/sec64k.exp: Check
1543 is_elf_unused_section_symbols.
1544
dc200613
AM
15452021-01-07 Alan Modra <amodra@gmail.com>
1546
1547 * testsuite/ld-scripts/fill.d: Skip sh-*-pe rather than xfail.
1548 * testsuite/ld-scripts/fill16.d: Don't xfail sh-*-pe.
1549 * testsuite/ld-scripts/segment-start.d: Likewise.
1550
8e604ff0
AM
15512021-01-07 Alan Modra <amodra@gmail.com>
1552
1553 * testsuite/ld-elf/comm-data5.d: xfail targets that complain
1554 about dynamic relocations in read-only sections.
1555 * testsuite/ld-elf/ehdr_start-shared.d: Likewise.
1556 * testsuite/ld-elf/ehdr_start.d: Likewise.
1557 * testsuite/ld-scripts/pr22267.d: Likewise.
1558 * testsuite/ld-elf/shared.exp: Likewise for DT_TEXTREL tests and
1559 pr20995 text.
1560 * testsuite/ld-elf/sec64k.exp: Don't run 64ksec on lm32-linux.
1561
4d4490b8
MC
15622021-01-07 Marcus Comstedt <marcus@mc.pp.se>
1563
1564 * testsuite/ld-scripts/empty-address-2a.d: xfail riscv64*-*-*.
1565 * testsuite/ld-scripts/empty-address-2b.d: Likewise.
1566
f526791a
AM
15672021-01-07 Alan Modra <amodra@gmail.com>
1568
1569 * po/BLD-POTFILES.in: Regenerate.
1570
4018f4e0
AM
15712021-01-07 Alan Modra <amodra@gmail.com>
1572
1573 * testsuite/ld-elf/shared.exp: xfail pr22471 for targets that
1574 complain about relocs in read-only sections. Tidy ASFLAGS append.
1575
3677b729
AM
15762021-01-06 Alan Modra <amodra@gmail.com>
1577
1578 * testsuite/ld-sparc/sparc.exp (sparc64tests): Set text-segment
1579 base for some tests.
1580 * testsuite/ld-sparc/gotop32.dd: Match solaris output.
1581 * testsuite/ld-sparc/gotop32.sd: Likewise.
1582 * testsuite/ld-sparc/gotop32.td: Likewise.
1583 * testsuite/ld-sparc/gotop64.dd: Likewise.
1584 * testsuite/ld-sparc/gotop64.sd: Likewise.
1585 * testsuite/ld-sparc/gotop64.td: Likewise.
1586 * testsuite/ld-sparc/tlsg32.sd: Likewise.
1587 * testsuite/ld-sparc/tlsg64.sd: Likewise.
1588 * testsuite/ld-sparc/tlspie32.dd: Likewise.
1589 * testsuite/ld-sparc/tlspie64.dd: Likewise.
1590 * testsuite/ld-sparc/tlssunbin32.dd: Likewise.
1591 * testsuite/ld-sparc/tlssunbin32.sd: Likewise.
1592 * testsuite/ld-sparc/tlssunbin32.td: Likewise.
1593 * testsuite/ld-sparc/tlssunbin64.dd: Likewise.
1594 * testsuite/ld-sparc/tlssunbin64.sd: Likewise.
1595 * testsuite/ld-sparc/tlssunbin64.td: Likewise.
1596 * testsuite/ld-sparc/tlssunnopic32.dd: Likewise.
1597 * testsuite/ld-sparc/tlssunnopic32.sd: Likewise.
1598 * testsuite/ld-sparc/tlssunnopic64.dd: Likewise.
1599 * testsuite/ld-sparc/tlssunnopic64.sd: Likewise.
1600 * testsuite/ld-sparc/tlssunpic32.dd: Likewise.
1601 * testsuite/ld-sparc/tlssunpic32.sd: Likewise.
1602 * testsuite/ld-sparc/tlssunpic32.td: Likewise.
1603 * testsuite/ld-sparc/tlssunpic64.dd: Likewise.
1604 * testsuite/ld-sparc/tlssunpic64.sd: Likewise.
1605 * testsuite/ld-sparc/tlssunpic64.td: Likewise.
1606 * testsuite/ld-sparc/wdispcall.dd: Likewise.
1607
73624512
AM
16082021-01-06 Alan Modra <amodra@gmail.com>
1609
1610 * testsuite/ld-scripts/rgn-at10.d: xfail v850.
1611 * testsuite/ld-scripts/rgn-at11.d: Likewise.
1612
f36ce378
MC
16132021-01-06 Marcus Comstedt <marcus@mc.pp.se>
1614
1615 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Added
1616 riscv_choose_[ilp32|lp64]_emul to choose the correct linker script.
1617 * testsuite/ld-riscv-elf/attr-merge-arch-01.d: Call
1618 riscv_choose_[ilp32|lp64]_emul instead of hardcoding elf[32|64]lriscv.
1619 * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
1620 * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
1621 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Likewise.
1622 * testsuite/ld-riscv-elf/attr-merge-arch-failed-02.d: Likewise.
1623 * testsuite/ld-riscv-elf/c-lui-2.d: Likewise.
1624 * testsuite/ld-riscv-elf/c-lui.d: Likewise.
1625 * testsuite/ld-riscv-elf/call-relax.d: Likewise.
1626 * testsuite/ld-riscv-elf/pcrel-lo-addend-2.d: Likewise.
1627 * testsuite/ld-riscv-elf/pcrel-lo-addend.d: Likewise.
1628 * testsuite/ld-riscv-elf/weakref32.d: Accept bigriscv in addition
1629 to littleriscv.
1630 * testsuite/ld-riscv-elf/weakref64.d: Likewise.
1631
fbc09e7a
MC
16322021-01-06 Marcus Comstedt <marcus@mc.pp.se>
1633
1634 * configure.tgt: Added riscvbe-*-*, riscv32be*-*-*, riscv64be*-*-*,
1635 riscv32be*-*-linux*, and riscv64be*-*-linux*.
1636 * Makefile.am: Added eelf32briscv.c, eelf32briscv_ilp32f.c and
1637 eelf32briscv_ilp32.c.
1638 * Makefile.in: Regenerate.
1639 * emulparams/elf32briscv.sh: Added.
1640 * emulparams/elf32briscv_ilp32.sh: Likewise.
1641 * emulparams/elf32briscv_ilp32f.sh: Likewise.
1642 * emulparams/elf64briscv.sh: Likewise.
1643 * emulparams/elf64briscv_lp64.sh: Likewise.
1644 * emulparams/elf64briscv_lp64f.sh: Likewise.
1645
b4b6ea46
NA
16462021-01-05 Nick Alcock <nick.alcock@oracle.com>
1647
1648 * testsuite/ld-ctf/enum-forward.c: New test.
1649 * testsuite/ld-ctf/enum-forward.c: New results.
1650
37002871
NA
16512021-01-05 Nick Alcock <nick.alcock@oracle.com>
1652
1653 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
1654 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
1655 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
1656 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
1657 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
1658 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
1659 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
1660 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
1661 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
1662 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
1663 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
1664 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
1665 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
1666 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
1667 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
1668 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
1669 * testsuite/ld-ctf/cycle-1.d: Likewise.
1670 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
1671 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
1672 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
1673 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
1674 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
1675 * testsuite/ld-ctf/diag-cuname.d: Likewise.
1676 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
1677 * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise.
1678 * testsuite/ld-ctf/forward.d: Likewise.
1679 * testsuite/ld-ctf/function.d: Likewise.
1680 * testsuite/ld-ctf/slice.d: Likewise.
1681 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
1682 * testsuite/ld-ctf/enums.c: New test.
1683 * testsuite/ld-ctf/enums.d: New test.
1684
ffeece6a
NA
16852021-01-05 Nick Alcock <nick.alcock@oracle.com>
1686
1687 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Adjust for dumper
1688 changes.
1689 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
1690 * testsuite/ld-ctf/forward.c: New test...
1691 * testsuite/ld-ctf/forward.d: ... and results.
1692
91e7ce2f
NA
16932021-01-05 Nick Alcock <nick.alcock@oracle.com>
1694
1695 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
1696 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
1697 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
1698 * testsuite/ld-ctf/diag-cuname.d: Likewise.
1699 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
1700 * testsuite/ld-ctf/function.d: Likewise.
1701 * testsuite/ld-ctf/slice.d: Likewise.
1702
57f97d0e
NA
17032021-01-05 Nick Alcock <nick.alcock@oracle.com>
1704
1705 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
1706 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
1707 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
1708 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
1709 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
1710 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
1711 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
1712 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
1713 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
1714 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
1715 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
1716 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
1717 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
1718 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
1719 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
1720 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
1721 * testsuite/ld-ctf/cycle-1.d: Likewise.
1722 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
1723 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
1724 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
1725 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
1726 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
1727 * testsuite/ld-ctf/diag-cuname.d: Likewise.
1728 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
1729 * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise.
1730 * testsuite/ld-ctf/function.d: Likewise.
1731 * testsuite/ld-ctf/slice.d: Likewise.
1732 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
1733
b281a04f
AM
17342021-01-05 Alan Modra <amodra@gmail.com>
1735
1736 * testsuite/ld-scripts/sysroot-prefix.exp: Exclude some targets.
1737
40b11930
AM
17382021-01-05 Alan Modra <amodra@gmail.com>
1739
1740 PR ld/26256
1741 * testsuite/ld-elf/pr26256-1b.d: xfail s12z.
1742 * testsuite/ld-scripts/crossref.exp (cross1): Don't xfail ia64.
1743
cd6d537c
L
17442021-01-04 H.J. Lu <hongjiu.lu@intel.com>
1745
1746 PR ld/26256
1747 * ldlang.c (gc_section_callback): Set pattern.
1748 * testsuite/ld-elf/pr26256-1.s: New file.
1749 * testsuite/ld-elf/pr26256-1.t: Likewise.
1750 * testsuite/ld-elf/pr26256-1a.d: Likewise.
1751 * testsuite/ld-elf/pr26256-1b.d: Likewise.
1752 * testsuite/ld-elf/pr26256-2.s: Likewise.
1753 * testsuite/ld-elf/pr26256-2.t: Likewise.
1754 * testsuite/ld-elf/pr26256-2a.d: Likewise.
1755 * testsuite/ld-elf/pr26256-2b-alt.d: Likewise.
1756 * testsuite/ld-elf/pr26256-2b.d: Likewise.
1757 * testsuite/ld-elf/pr26256-3.s: Likewise.
1758 * testsuite/ld-elf/pr26256-3a.d: Likewise.
1759 * testsuite/ld-elf/pr26256-3a.t: Likewise.
1760 * testsuite/ld-elf/pr26256-3b.d: Likewise.
1761 * testsuite/ld-elf/pr26256-3b.t: Likewise.
1762
5b4293ba
AM
17632021-01-04 Alan Modra <amodra@gmail.com>
1764
1765 PR 26822
1766 * testsuite/ld-arm/non-contiguous-arm2.d: Adjust STT_FILE symbol match.
1767 * testsuite/ld-arm/non-contiguous-arm3.d: Likewise.
1768 * testsuite/ld-arm/non-contiguous-arm5.d: Likewise.
1769 * testsuite/ld-arm/non-contiguous-arm6.d: Likewise.
1770 * testsuite/ld-i386/tlsbin.rd: Likewise.
1771 * testsuite/ld-i386/tlsbin2.rd: Likewise.
1772 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
1773 * testsuite/ld-i386/tlsdesc.rd: Likewise.
1774 * testsuite/ld-i386/tlsnopic.rd: Likewise.
1775 * testsuite/ld-i386/tlspic.rd: Likewise.
1776 * testsuite/ld-i386/tlspic2.rd: Likewise.
1777 * testsuite/ld-mips-elf/global-local-symtab-sort-n64.d: Likewise.
1778 * testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d: Likewise.
1779 * testsuite/ld-mips-elf/global-local-symtab-sort-o32.d: Likewise.
1780 * testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d: Likewise.
1781 * testsuite/ld-plugin/pr17973.d: Likewise.
1782 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
1783 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
1784 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
1785 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
1786 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
1787 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
1788 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
1789 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
1790 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
1791 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
1792 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
1793 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
1794 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
1795 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
1796 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
1797 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
1798 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1799 * testsuite/ld-x86-64/tlspic.rd: Likewise.
1800 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
1801 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
1802 * testsuite/ld-xtensa/tlspic.rd: Likewise.
1803
f9a6a8f0
AM
18042021-01-01 Nicolas Boulenguez <nicolas@debian.org>
1805
1806 * configure.tgt: Correct comment grammar.
1807 * emultempl/m68hc1xelf.em: Likewise.
1808 * ld.texi: Correct grammar.
1809
250d07de
AM
18102021-01-01 Alan Modra <amodra@gmail.com>
1811
1812 Update year range in copyright notice of all files.
1813
c2795844 1814For older changes see ChangeLog-2020
3499769a 1815\f
a2c58332 1816Copyright (C) 2021-2022 Free Software Foundation, Inc.
3499769a
AM
1817
1818Copying and distribution of this file, with or without modification,
1819are permitted in any medium without royalty provided the copyright
1820notice and this notice are preserved.
1821
1822Local Variables:
1823mode: change-log
1824left-margin: 8
1825fill-column: 74
1826version-control: never
1827End: