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