]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/ChangeLog
Automatic date update in version.in
[thirdparty/binutils-gdb.git] / ld / ChangeLog
CommitLineData
c46b7066
NC
12021-02-12 Nick Clifton <nickc@redhat.com>
2
3 * testsuite/ld-elf/sec64k.exp: Stop readelf from automatically
4 following debug links.
5
933feaf3
AM
62021-02-11 Alan Modra <amodra@gmail.com>
7
8 * NEWS: Mention arm-symbianelf removal.
9
a57d1773
AM
102021-02-09 Alan Modra <amodra@gmail.com>
11
12 * Makefile.am (ALL_EMULATION_SOURCES): Remove earmsymbian.c.
13 Don't include symbian dep file.
14 * configure.tgt: Remove arm*-*-symbianelf* entry.
15 * emulparams/armsymbian.sh: Delete.
16 * ld.texi: Don't mention symbian.
17 * scripttempl/armbpabi.sc: Delete.
18 * testsuite/ld-arm/symbian-seg1.d: Delete.
19 * testsuite/ld-arm/symbian-seg1.s: Delete.
20 * testsuite/ld-arm/arm-elf.exp: Don't run symbian-seg1.
21 * Makefile.in: Regenerate.
22 * po/BLD-POTFILES.in: Regenerate.
23
38a143aa
L
242021-02-07 H.J. Lu <hongjiu.lu@intel.com>
25
26 PR ld/27358
27 * testsuite/ld-i386/i386.exp: Remove property 3/4/5 run-time
28 tests.
29 * testsuite/ld-x86-64/x86-64.exp: Likewise.
30
35a01a04
NA
312021-01-26 Nick Alcock <nick.alcock@oracle.com>
32
33 * ldlang.c (lang_merge_ctf): Set CTF_LINK_NO_FILTER_REPORTED_SYMS
34 when appropriate.
35
1a2f1b54
L
362021-02-04 H.J. Lu <hongjiu.lu@intel.com>
37
38 PR ld/19609
39 * testsuite/ld-x86-64/pr19609-2a.d: Updated.
40 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
41 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
42 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
43 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
44 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
45 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
46
37707bd8
L
472021-02-04 H.J. Lu <hongjiu.lu@intel.com>
48
49 PR ld/15146
50 * testsuite/ld-plugin/lto.exp: Run PR ld/15146 tests.
51 * testsuite/ld-plugin/pr15146.d: Restored.
52 * testsuite/ld-plugin/pr15146a.c: Likewise.
53 * testsuite/ld-plugin/pr15146b.c: Likewise.
54 * testsuite/ld-plugin/pr15146c.c: Likewise.
55 * testsuite/ld-plugin/pr15146d.c: Likewise.
56
7d409ac0
AM
572021-02-04 Alan Modra <amodra@gmail.com>
58
59 * testsuite/ld-plugin/pr27311d.c: New test.
60 * testsuite/ld-plugin/lto.exp: Rename pr27311 to pr27311-1, compile
61 and link new test as pr27311-2.
62
69551367
AM
632021-02-03 Alan Modra <amodra@gmail.com>
64
65 * testsuite/ld-ifunc/ifunc.exp (libpr16467b.so, libpr16467bn.so):
66 Link with --as-needed.
67
9918bff7
AM
682021-02-02 Alan Modra <amodra@gmail.com>
69
70 * testsuite/ld-plugin/pr27311.d,
71 * testsuite/ld-plugin/pr27311.ver,
72 * testsuite/ld-plugin/pr27311a.c,
73 * testsuite/ld-plugin/pr27311b.c,
74 * testsuite/ld-plugin/pr27311c.c: New testcase.
75 * testsuite/ld-plugin/lto.exp: Run it. Correct PR14918 and
76 PR12982 entries.
77
1f568f9a
EH
782021-02-01 Emery Hemingway <ehmry@posteo.net>
79
80 * configure.tgt: Add *-*-genode* as a target for AArch64 and x86.
81
fb6c220e
AM
822021-02-01 Alan Modra <amodra@gmail.com>
83
84 * ldgram.y (defsym_expr): Use assignment rule.
85 * ldlex.h (ldlex_defsym): Delete.
86 * ldlex.l (DEFSYMEXP, ldlex_defsym): Delete.
87
40726f16
AM
882021-02-01 Alan Modra <amodra@gmail.com>
89
90 * ldgram.y (section): Call ldlex_backup. Remove empty action.
91 * ldlex.h (ldlex_backup): Declare.
92 * ldlex.l (<EXPRESSION>NAME): Don't use NOCFILENAMECHAR set of
93 chars, use SYMBOLNAMECHAR.
94 (ldlex_backup): New function.
95
a5f92c67
AM
962021-02-01 Alan Modra <amodra@gmail.com>
97
98 * ldgram.y: Whitespace fixes.
99
49daa38f
AM
1002021-02-01 Alan Modra <amodra@gmail.com>
101
102 * testsuite/ld-elf/pr27259.d: Correct sh_link match.
103
c4566785
AM
1042021-01-29 Alan Modra <amodra@gmail.com>
105
106 * testsuite/ld-tic6x/tic6x.exp: Add pr27271 test.
107
53e556e5
L
1082021-01-28 H.J. Lu <hongjiu.lu@intel.com>
109
110 PR ld/27259
111 * testsuite/ld-elf/pr27259.d: New file.
112 * testsuite/ld-elf/pr27259.s: Likewise.
113
def97fb9
AM
1142021-01-28 Alan Modra <amodra@gmail.com>
115
116 PR 27259
117 * ldelf.c (ldelf_before_place_orphans): Use linker_mark to
118 prevent endless looping of linked-to sections.
119
2eda57ef
L
1202021-01-26 H.J. Lu <hongjiu.lu@intel.com>
121
122 * testsuite/ld-x86-64/bnd-plt-1.d: Fix a typo.
123
1c9c9b9b
AM
1242021-01-26 Alan Modra <amodra@gmail.com>
125
126 PR 27226
127 * emulparams/alphavms.sh: Don't set COMPILE_IN.
128 * emulparams/elf64_ia64_vms.sh: Likewise.
129 * emulparams/elf64mmix.sh: Likewise.
130 * emulparams/elf_iamcu.sh: Likewise.
131 * emulparams/elf_k1om.sh: Likewise.
132 * emulparams/elf_l1om.sh: Likewise.
133 * emulparams/mmo.sh: Likewise.
134 * emulparams/pdp11.sh: Set DATA_SEG_ADDR.
135 * scripttempl/pdp11.sc: Use it.
136 * emultempl/pdp11.em: Don't edit .xn script for separate_code,
137 instead use .xe script. Support scripts from file system.
138 * emultempl/beos.em: Support scripts from file system.
139 * emultempl/pe.em: Likewise.
140 * emultempl/pep.em: Likewise.
141 * testsuite/ld-bootstrap/bootstrap.exp: Make tmpdir/ldscripts link.
142
9e42b976
FS
1432021-01-25 Fangrui Song <maskray@google.com>
144
145 PR ld/27230
146 * scripttempl/DWARF.sc: Add .debug_* sections.
147
b8df6900
NC
1482021-01-25 Nick Clifton <nickc@redhat.com>
149
150 * scripttempl/DWARF.sc: Add .debug_loclists, .debug_rnglists,
151 .debug_line_str and .debug_str_offsets. Move .debug_macro and
152 .debug_addr into DWARF-5 section.
153
c78eec44
AM
1542021-01-21 Alan Modra <amodra@gmail.com>
155
156 * testsuite/ld-elf/pr26936.d: No longer xfail mips.
157
4bd7c902
AM
1582021-01-20 Alan Modra <amodra@gmail.com>
159
160 * testsuite/ld-powerpc/relbrlt.s: Make symbols global.
161 * testsuite/ld-powerpc/relbrlt.d: Adjust to suit.
162 * testsuite/ld-powerpc/tlsget.d: Adjust for reordered stubs.
163 * testsuite/ld-powerpc/tlsget.wf: Likewise.
164 * testsuite/ld-powerpc/tlsget2.d: Likewise.
165 * testsuite/ld-powerpc/tlsget2.wf: Likewise.
166 * testsuite/ld-powerpc/tlsexe.r: Adjust for removed section syms.
167 * testsuite/ld-powerpc/tlsexe32.r: Likewise.
168 * testsuite/ld-powerpc/tlsexe32no.r: Likewise.
169 * testsuite/ld-powerpc/tlsexeno.r: Likewise.
170 * testsuite/ld-powerpc/tlsexenors.r: Likewise.
171 * testsuite/ld-powerpc/tlsexers.r: Likewise.
172 * testsuite/ld-powerpc/tlsexetoc.r: Likewise.
173 * testsuite/ld-powerpc/tlsexetocrs.r: Likewise.
174 * testsuite/ld-powerpc/tlsso.r: Likewise.
175 * testsuite/ld-powerpc/tlsso32.r: Likewise.
176 * testsuite/ld-powerpc/tlstocso.r: Likewise.
177
c98de297
NA
1782021-01-19 Nick Alcock <nick.alcock@oracle.com>
179
180 * testsuite/ld-ctf/data-func-2.c: Stop removal of the extern foo_t
181 symbols by the optimizer.
182 * testsuite/ld-ctf/data-func-conflicted.d: Adjust accordingly.
183
85e963f1
NC
1842021-01-19 Nelson Chu <nelson.chu@sifive.com>
185
186 * testsuite/ld-elf/elf.exp (riscv_little_endian): Added. Return true
187 if target is riscv little endian. Otherwise, return false.
188 * testsuite/ld-elf/compressed1d.d: Only xfail the riscv little endian
189 targets by [riscv_little_endian].
190
326adec3
AM
1912021-01-18 Alan Modra <amodra@gmail.com>
192
193 PR 26378
194 * ldlang.c (map_input_to_output_sections): Start with a read-only
195 section for data statements.
196 * testsuite/ld-elf/size-2.d: Adjust to suit.
197
994b2513
L
1982021-01-17 H.J. Lu <hongjiu.lu@intel.com>
199
200 PR ld/27193
201 * testsuite/ld-i386/i386.exp: Run PR ld/27193 test.
202 * testsuite/ld-i386/pr27193.dd: New file.
203 * testsuite/ld-i386/pr27193a.o.bz2: Likewise.
204 * testsuite/ld-i386/pr27193b.s: Likewise.
205
edf0f284
L
2062021-01-16 H.J. Lu <hongjiu.lu@intel.com>
207
208 PR binutils/23460
209 * testsuite/ld-plugin/lto.exp: Increase the max number of open
210 files to 20 for PR binutils/23460 test.
211
75a933f3
L
2122021-01-16 H.J. Lu <hongjiu.lu@intel.com>
213
214 PR ld/23169
215 * testsuite/ld-ifunc/ifunc.exp: Replace pr23169c.rd with
216 pr23169a.rd for pr23169c and pr23169f. Remove pr23169e tests.
217 * testsuite/ld-ifunc/pr23169a.c (foo): Don't compare function
218 address.
219
68b00778
L
2202021-01-15 H.J. Lu <hongjiu.lu@intel.com>
221
222 * NEWS: Mention -z report-relative-reloc.
223 * ld.texi: Document -z report-relative-reloc.
224 * emulparams/elf32_x86_64.sh: Source x86-report-relative.sh.
225 * emulparams/elf_i386.sh: Likewse.
226 * emulparams/elf_x86_64.sh: Likewse.
227 * emulparams/x86-report-relative.sh: New file.
228 * testsuite/ld-i386/report-reloc-1.d: Likewse.
229 * testsuite/ld-i386/report-reloc-1.l: Likewse.
230 * testsuite/ld-i386/report-reloc-1.s: Likewse.
231 * testsuite/ld-x86-64/report-reloc-1-x32.d: Likewse.
232 * testsuite/ld-x86-64/report-reloc-1.d: Likewse.
233 * testsuite/ld-x86-64/report-reloc-1.l: Likewse.
234 * testsuite/ld-x86-64/report-reloc-1.s: Likewse.
235 * testsuite/ld-i386/i386.exp: Run report-reloc-1.
236 * testsuite/ld-x86-64/x86-64.exp: Run report-reloc-1 and
237 report-reloc-1-x32.
238
eb6e6af8
AM
2392021-01-16 Alan Modra <amodra@gmail.com>
240
241 PR 26002
242 * testsuite/ld-elfvers/vers6.dsym: Expect "Base" for undefined
243 unversioned symbols.
244 * testsuite/ld-elfvers/vers16.dsym: Likewise.
245
b800637e
NC
2462021-01-15 Nelson Chu <nelson.chu@sifive.com>
247
248 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-01.d: Updated.
249 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-02.d: Likewise.
250 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-03.d: Likewise.
251 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-04.d: Likewise.
252 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-05.d: Likewise.
253 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-06.d: Likewise.
254
5a10699f
NC
2552021-01-14 Nick Clifton <nickc@redhat.com>
256
257 * po/fr.po: Updated French translation.
258
271bea6a
MF
2592021-01-14 Mike Frysinger <vapier@gentoo.org>
260
261 * testsuite/config/default.exp [bfin*-elf*] (gcc_B_opt): Add -msim.
262
4120e488
AM
2632021-01-14 Alan Modra <amodra@gmail.com>
264
265 PR 27160
266 * ldelfgen.c (compare_link_order): Protect access of ELF section
267 data.
268 (add_link_order_input_section): Remove redundant NULL check.
269 Use bfd_get_flavour.
270 (ldelf_map_segments): Use bfd_get_flavour.
271
b634d11d
L
2722021-01-13 H.J. Lu <hongjiu.lu@intel.com>
273
274 * ldelfgen.c (add_link_order_input_section): Check for ELF input
275 before accessing ELF section data.
276
5347ed60
AM
2772021-01-13 Alan Modra <amodra@gmail.com>
278
279 * Makefile.in: Regenerate.
280
b209b5a6
AM
2812021-01-13 Alan Modra <amodra@gmail.com>
282
283 PR 27160
284 * ldlang.h (lang_output_section_statement_type): Add data field.
285 (lang_input_section_type, lang_section_bst_type): Add pattern field.
286 (statement_list): Declare.
287 (lang_add_section): Adjust prototype.
288 * emultempl/aarch64elf.em: Adjust lang_add_section calls.
289 * emultempl/armelf.em: Likewise.
290 * emultempl/beos.em: Likewise.
291 * emultempl/cskyelf.em: Likewise.
292 * emultempl/hppaelf.em: Likewise.
293 * emultempl/m68hc1xelf.em: Likewise.
294 * emultempl/metagelf.em: Likewise.
295 * emultempl/mipself.em: Likewise.
296 * emultempl/mmo.em: Likewise.
297 * emultempl/msp430.em: Likewise.
298 * emultempl/nios2elf.em: Likewise.
299 * emultempl/pe.em: Likewise.
300 * emultempl/pep.em: Likewise.
301 * emultempl/ppc64elf.em: Likewise.
302 * emultempl/spuelf.em: Likewise.
303 * emultempl/vms.em: Likewise.
304 * ldelf.c: Likewise.
305 * ldelfgen.c: Include ldctor.h.
306 (struct os_sections): New.
307 (add_link_order_input_section, link_order_scan): New functions.
308 (compare_link_order, fixup_link_order): New functions.
309 (ldelf_map_segments): Call link_order_scan and fixup_link_order.
310 * ldlang.c (statement_list): Make global.
311 (output_section_callback_fast): Save pattern in tree node.
312 (lang_add_section): Add pattern parameter, save in lang_input_section.
313 (output_section_callback_tree_to_list): Adjust lang_add_section calls.
314 (lang_insert_orphan, output_section_callback): Likewise.
315 (ldlang_place_orphan): Likewise.
316 (gc_section_callback): Don't set section->pattern.
317 * testsuite/ld-elf/pr26256-2a.d: Don't xfail generic.
318 * testsuite/ld-elf/pr26256-3b.d: Likewise.
319 * testsuite/ld-elf/pr26256-2b.d: Likewise. notarget xgate.
320
8c4645b4
AM
3212021-01-13 Alan Modra <amodra@gmail.com>
322
323 * ldlang.h (callback_t): Remove flag_info function parameter.
324 * ldlang.c (walk_wild_consider_section): Adjust to suit.
325 (walk_wild_section_general): Likewise.
326 (output_section_callback_fast, output_section_callback): Likewise.
327 (check_section_callback, gc_section_callback): Likewise.
328 (find_relro_section_callback): Likewise.
329
d546b610
L
3302021-01-12 H.J. Lu <hongjiu.lu@intel.com>
331
332 PR binutils/26792
333 * configure.ac: Use GNU_MAKE_JOBSERVER.
334 * aclocal.m4: Regenerated.
335 * configure: Likewise.
336
c2e9a4a3
L
3372021-01-12 H.J. Lu <hongjiu.lu@intel.com>
338
339 PR ld/27171
340 * testsuite/ld-x86-64/pe-x86-64-5.obj.bz2: New file.
341 * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise.
342 * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise.
343 * testsuite/ld-x86-64/pe-x86-64.exp: Run PR ld/27171 test.
344
83b33c6c
L
3452021-01-11 H.J. Lu <hongjiu.lu@intel.com>
346
347 PR ld/27173
348 * configure: Regenerated.
349
c0f6e439
MJ
3502021-01-11 Matt Jenkins <matt@majenko.co.uk>
351
352 PR ld/27167
353 * ldmain.c (get_emulation): Add mipsmips32r3, mips32r5, mips64r3
354 and mips64r5 to list of known mips targets.
355
3562021-01-11 Nick Clifton <nickc@redhat.com>matt@majenko.co.uk
a8aa72b9
NC
357
358 * po/pt_BR.po: Updated Brazilian Portuguese translation.
359` * po/uk.po: Updated Ukranian translation.
360
a4966cd9
L
3612021-01-09 H.J. Lu <hongjiu.lu@intel.com>
362
363 * configure: Regenerated.
364
0a94990b
L
3652021-01-09 H.J. Lu <hongjiu.lu@intel.com>
366
367 PR ld/27166
368 * testsuite/ld-x86-64/lam-u48.rd: New file.
369 * testsuite/ld-x86-64/lam-u57.rd: Likewise.
370 * testsuite/ld-x86-64/x86-64.exp: Add PR ld/27166 tests.
371
573fe3fb
NC
3722021-01-09 Nick Clifton <nickc@redhat.com>
373
374 * configure: Regenerate.
375 * po/ld.pot: Regenerate.
376
055bc77a
NC
3772021-01-09 Nick Clifton <nickc@redhat.com>
378
379 * 2.36 release branch crated.
380
ba9e922f
L
3812021-01-08 H.J. Lu <hongjiu.lu@intel.com>
382
383 * ld-x86-64/property-x86-lam-u48-4.d: Updated.
384 * ld-x86-64/property-x86-lam-u48-5.d: Likewise.
385
64307045
AM
3862021-01-09 Alan Modra <amodra@gmail.com>
387
388 * configure: Regenerate.
389 * Makefile.in: Regenerate.
390
f4782128
ST
3912021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
392
393 * configure: Regenerate.
394
d1bcae83
L
3952021-01-07 H.J. Lu <hongjiu.lu@intel.com>
396
397 PR 27109
398 * testsuite/ld-elf/export-class.sd: Adjust the expected output.
399 * testsuite/ld-elf/loadaddr3b.d: Likewise.
400 * testsuite/ld-i386/ibt-plt-1.d: Likewise.
401 * testsuite/ld-i386/ibt-plt-2a.d: Likewise.
402 * testsuite/ld-i386/ibt-plt-2c.d: Likewise.
403 * testsuite/ld-i386/ibt-plt-3a.d: Likewise.
404 * testsuite/ld-i386/ibt-plt-3c.d: Likewise.
405 * testsuite/ld-i386/pr19636-1d.d: Likewise.
406 * testsuite/ld-i386/pr19636-1l.d: Likewise.
407 * testsuite/ld-i386/pr19636-2c.d: Likewise.
408 * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise.
409 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise.
410 * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Likewise.
411 * testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise.
412 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
413 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
414 * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise.
415 * testsuite/ld-ifunc/pr17154-i386.d: Likewise.
416 * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
417 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
418 * testsuite/ld-x86-64/bnd-branch-1-now.d: Likewise.
419 * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise.
420 * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise.
421 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
422 * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise.
423 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
424 * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise.
425 * testsuite/ld-x86-64/ibt-plt-1.d: Likewise.
426 * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise.
427 * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise.
428 * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise.
429 * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise.
430 * testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise.
431 * testsuite/ld-x86-64/ibt-plt-3a.d: Likewise.
432 * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise.
433 * testsuite/ld-x86-64/ibt-plt-3c.d: Likewise.
434 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
435 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
436 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
437 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
438 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
439 * testsuite/ld-x86-64/pr19636-2l.d: Likewise.
440 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
441 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
442 * testsuite/ld-x86-64/pr21038b-now.d: Likewise.
443 * testsuite/ld-x86-64/pr21038b.d: Likewise.
444 * testsuite/ld-x86-64/pr21038c-now.d: Likewise.
445 * testsuite/ld-x86-64/pr21038c.d: Likewise.
446 * testsuite/ld-x86-64/pr23854.d: Likewise.
447 * testsuite/ld-x86-64/pr25416-3.d: Likewise.
448 * testsuite/ld-x86-64/pr25416-4.d: Likewise.
449 * testsuite/ld-i386/plt-pic.pd: Likewise.
450 * testsuite/ld-i386/plt-pic2.dd: Likewise.
451 * testsuite/ld-i386/plt.pd: Likewise.
452 * testsuite/ld-i386/plt2.dd: Likewise.
453 * testsuite/ld-i386/tlsbin.rd: Likewise.
454 * testsuite/ld-i386/tlsbin2.rd: Likewise.
455 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
456 * testsuite/ld-i386/tlsdesc.rd: Likewise.
457 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
458 * testsuite/ld-i386/tlsnopic.rd: Likewise.
459 * testsuite/ld-i386/tlspic.rd: Likewise.
460 * testsuite/ld-i386/tlspic2.rd: Likewise.
461 * testsuite/ld-x86-64/mpx3.dd: Likewise.
462 * testsuite/ld-x86-64/mpx3n.dd: Likewise.
463 * testsuite/ld-x86-64/mpx4.dd: Likewise.
464 * testsuite/ld-x86-64/mpx4n.dd: Likewise.
465 * testsuite/ld-x86-64/pe-x86-64-1.od: Likewise.
466 * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise.
467 * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise.
468 * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise.
469 * testsuite/ld-x86-64/plt.pd: Likewise.
470 * testsuite/ld-x86-64/plt2.dd: Likewise.
471 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
472 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
473 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
474 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
475 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
476 * testsuite/ld-x86-64/tlspic.rd: Likewise.
477 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
478 * testsuite/ld-elf/sec64k.exp: Check
479 is_elf_unused_section_symbols.
480
dc200613
AM
4812021-01-07 Alan Modra <amodra@gmail.com>
482
483 * testsuite/ld-scripts/fill.d: Skip sh-*-pe rather than xfail.
484 * testsuite/ld-scripts/fill16.d: Don't xfail sh-*-pe.
485 * testsuite/ld-scripts/segment-start.d: Likewise.
486
8e604ff0
AM
4872021-01-07 Alan Modra <amodra@gmail.com>
488
489 * testsuite/ld-elf/comm-data5.d: xfail targets that complain
490 about dynamic relocations in read-only sections.
491 * testsuite/ld-elf/ehdr_start-shared.d: Likewise.
492 * testsuite/ld-elf/ehdr_start.d: Likewise.
493 * testsuite/ld-scripts/pr22267.d: Likewise.
494 * testsuite/ld-elf/shared.exp: Likewise for DT_TEXTREL tests and
495 pr20995 text.
496 * testsuite/ld-elf/sec64k.exp: Don't run 64ksec on lm32-linux.
497
4d4490b8
MC
4982021-01-07 Marcus Comstedt <marcus@mc.pp.se>
499
500 * testsuite/ld-scripts/empty-address-2a.d: xfail riscv64*-*-*.
501 * testsuite/ld-scripts/empty-address-2b.d: Likewise.
502
f526791a
AM
5032021-01-07 Alan Modra <amodra@gmail.com>
504
505 * po/BLD-POTFILES.in: Regenerate.
506
4018f4e0
AM
5072021-01-07 Alan Modra <amodra@gmail.com>
508
509 * testsuite/ld-elf/shared.exp: xfail pr22471 for targets that
510 complain about relocs in read-only sections. Tidy ASFLAGS append.
511
3677b729
AM
5122021-01-06 Alan Modra <amodra@gmail.com>
513
514 * testsuite/ld-sparc/sparc.exp (sparc64tests): Set text-segment
515 base for some tests.
516 * testsuite/ld-sparc/gotop32.dd: Match solaris output.
517 * testsuite/ld-sparc/gotop32.sd: Likewise.
518 * testsuite/ld-sparc/gotop32.td: Likewise.
519 * testsuite/ld-sparc/gotop64.dd: Likewise.
520 * testsuite/ld-sparc/gotop64.sd: Likewise.
521 * testsuite/ld-sparc/gotop64.td: Likewise.
522 * testsuite/ld-sparc/tlsg32.sd: Likewise.
523 * testsuite/ld-sparc/tlsg64.sd: Likewise.
524 * testsuite/ld-sparc/tlspie32.dd: Likewise.
525 * testsuite/ld-sparc/tlspie64.dd: Likewise.
526 * testsuite/ld-sparc/tlssunbin32.dd: Likewise.
527 * testsuite/ld-sparc/tlssunbin32.sd: Likewise.
528 * testsuite/ld-sparc/tlssunbin32.td: Likewise.
529 * testsuite/ld-sparc/tlssunbin64.dd: Likewise.
530 * testsuite/ld-sparc/tlssunbin64.sd: Likewise.
531 * testsuite/ld-sparc/tlssunbin64.td: Likewise.
532 * testsuite/ld-sparc/tlssunnopic32.dd: Likewise.
533 * testsuite/ld-sparc/tlssunnopic32.sd: Likewise.
534 * testsuite/ld-sparc/tlssunnopic64.dd: Likewise.
535 * testsuite/ld-sparc/tlssunnopic64.sd: Likewise.
536 * testsuite/ld-sparc/tlssunpic32.dd: Likewise.
537 * testsuite/ld-sparc/tlssunpic32.sd: Likewise.
538 * testsuite/ld-sparc/tlssunpic32.td: Likewise.
539 * testsuite/ld-sparc/tlssunpic64.dd: Likewise.
540 * testsuite/ld-sparc/tlssunpic64.sd: Likewise.
541 * testsuite/ld-sparc/tlssunpic64.td: Likewise.
542 * testsuite/ld-sparc/wdispcall.dd: Likewise.
543
73624512
AM
5442021-01-06 Alan Modra <amodra@gmail.com>
545
546 * testsuite/ld-scripts/rgn-at10.d: xfail v850.
547 * testsuite/ld-scripts/rgn-at11.d: Likewise.
548
f36ce378
MC
5492021-01-06 Marcus Comstedt <marcus@mc.pp.se>
550
551 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Added
552 riscv_choose_[ilp32|lp64]_emul to choose the correct linker script.
553 * testsuite/ld-riscv-elf/attr-merge-arch-01.d: Call
554 riscv_choose_[ilp32|lp64]_emul instead of hardcoding elf[32|64]lriscv.
555 * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
556 * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
557 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Likewise.
558 * testsuite/ld-riscv-elf/attr-merge-arch-failed-02.d: Likewise.
559 * testsuite/ld-riscv-elf/c-lui-2.d: Likewise.
560 * testsuite/ld-riscv-elf/c-lui.d: Likewise.
561 * testsuite/ld-riscv-elf/call-relax.d: Likewise.
562 * testsuite/ld-riscv-elf/pcrel-lo-addend-2.d: Likewise.
563 * testsuite/ld-riscv-elf/pcrel-lo-addend.d: Likewise.
564 * testsuite/ld-riscv-elf/weakref32.d: Accept bigriscv in addition
565 to littleriscv.
566 * testsuite/ld-riscv-elf/weakref64.d: Likewise.
567
fbc09e7a
MC
5682021-01-06 Marcus Comstedt <marcus@mc.pp.se>
569
570 * configure.tgt: Added riscvbe-*-*, riscv32be*-*-*, riscv64be*-*-*,
571 riscv32be*-*-linux*, and riscv64be*-*-linux*.
572 * Makefile.am: Added eelf32briscv.c, eelf32briscv_ilp32f.c and
573 eelf32briscv_ilp32.c.
574 * Makefile.in: Regenerate.
575 * emulparams/elf32briscv.sh: Added.
576 * emulparams/elf32briscv_ilp32.sh: Likewise.
577 * emulparams/elf32briscv_ilp32f.sh: Likewise.
578 * emulparams/elf64briscv.sh: Likewise.
579 * emulparams/elf64briscv_lp64.sh: Likewise.
580 * emulparams/elf64briscv_lp64f.sh: Likewise.
581
b4b6ea46
NA
5822021-01-05 Nick Alcock <nick.alcock@oracle.com>
583
584 * testsuite/ld-ctf/enum-forward.c: New test.
585 * testsuite/ld-ctf/enum-forward.c: New results.
586
37002871
NA
5872021-01-05 Nick Alcock <nick.alcock@oracle.com>
588
589 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
590 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
591 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
592 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
593 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
594 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
595 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
596 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
597 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
598 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
599 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
600 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
601 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
602 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
603 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
604 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
605 * testsuite/ld-ctf/cycle-1.d: Likewise.
606 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
607 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
608 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
609 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
610 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
611 * testsuite/ld-ctf/diag-cuname.d: Likewise.
612 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
613 * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise.
614 * testsuite/ld-ctf/forward.d: Likewise.
615 * testsuite/ld-ctf/function.d: Likewise.
616 * testsuite/ld-ctf/slice.d: Likewise.
617 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
618 * testsuite/ld-ctf/enums.c: New test.
619 * testsuite/ld-ctf/enums.d: New test.
620
ffeece6a
NA
6212021-01-05 Nick Alcock <nick.alcock@oracle.com>
622
623 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Adjust for dumper
624 changes.
625 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
626 * testsuite/ld-ctf/forward.c: New test...
627 * testsuite/ld-ctf/forward.d: ... and results.
628
91e7ce2f
NA
6292021-01-05 Nick Alcock <nick.alcock@oracle.com>
630
631 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
632 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
633 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
634 * testsuite/ld-ctf/diag-cuname.d: Likewise.
635 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
636 * testsuite/ld-ctf/function.d: Likewise.
637 * testsuite/ld-ctf/slice.d: Likewise.
638
57f97d0e
NA
6392021-01-05 Nick Alcock <nick.alcock@oracle.com>
640
641 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
642 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
643 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
644 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
645 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
646 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
647 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
648 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
649 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
650 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
651 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
652 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
653 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
654 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
655 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
656 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
657 * testsuite/ld-ctf/cycle-1.d: Likewise.
658 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
659 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
660 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
661 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
662 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
663 * testsuite/ld-ctf/diag-cuname.d: Likewise.
664 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
665 * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise.
666 * testsuite/ld-ctf/function.d: Likewise.
667 * testsuite/ld-ctf/slice.d: Likewise.
668 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
669
b281a04f
AM
6702021-01-05 Alan Modra <amodra@gmail.com>
671
672 * testsuite/ld-scripts/sysroot-prefix.exp: Exclude some targets.
673
40b11930
AM
6742021-01-05 Alan Modra <amodra@gmail.com>
675
676 PR ld/26256
677 * testsuite/ld-elf/pr26256-1b.d: xfail s12z.
678 * testsuite/ld-scripts/crossref.exp (cross1): Don't xfail ia64.
679
cd6d537c
L
6802021-01-04 H.J. Lu <hongjiu.lu@intel.com>
681
682 PR ld/26256
683 * ldlang.c (gc_section_callback): Set pattern.
684 * testsuite/ld-elf/pr26256-1.s: New file.
685 * testsuite/ld-elf/pr26256-1.t: Likewise.
686 * testsuite/ld-elf/pr26256-1a.d: Likewise.
687 * testsuite/ld-elf/pr26256-1b.d: Likewise.
688 * testsuite/ld-elf/pr26256-2.s: Likewise.
689 * testsuite/ld-elf/pr26256-2.t: Likewise.
690 * testsuite/ld-elf/pr26256-2a.d: Likewise.
691 * testsuite/ld-elf/pr26256-2b-alt.d: Likewise.
692 * testsuite/ld-elf/pr26256-2b.d: Likewise.
693 * testsuite/ld-elf/pr26256-3.s: Likewise.
694 * testsuite/ld-elf/pr26256-3a.d: Likewise.
695 * testsuite/ld-elf/pr26256-3a.t: Likewise.
696 * testsuite/ld-elf/pr26256-3b.d: Likewise.
697 * testsuite/ld-elf/pr26256-3b.t: Likewise.
698
5b4293ba
AM
6992021-01-04 Alan Modra <amodra@gmail.com>
700
701 PR 26822
702 * testsuite/ld-arm/non-contiguous-arm2.d: Adjust STT_FILE symbol match.
703 * testsuite/ld-arm/non-contiguous-arm3.d: Likewise.
704 * testsuite/ld-arm/non-contiguous-arm5.d: Likewise.
705 * testsuite/ld-arm/non-contiguous-arm6.d: Likewise.
706 * testsuite/ld-i386/tlsbin.rd: Likewise.
707 * testsuite/ld-i386/tlsbin2.rd: Likewise.
708 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
709 * testsuite/ld-i386/tlsdesc.rd: Likewise.
710 * testsuite/ld-i386/tlsnopic.rd: Likewise.
711 * testsuite/ld-i386/tlspic.rd: Likewise.
712 * testsuite/ld-i386/tlspic2.rd: Likewise.
713 * testsuite/ld-mips-elf/global-local-symtab-sort-n64.d: Likewise.
714 * testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d: Likewise.
715 * testsuite/ld-mips-elf/global-local-symtab-sort-o32.d: Likewise.
716 * testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d: Likewise.
717 * testsuite/ld-plugin/pr17973.d: Likewise.
718 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
719 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
720 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
721 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
722 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
723 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
724 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
725 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
726 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
727 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
728 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
729 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
730 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
731 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
732 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
733 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
734 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
735 * testsuite/ld-x86-64/tlspic.rd: Likewise.
736 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
737 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
738 * testsuite/ld-xtensa/tlspic.rd: Likewise.
739
f9a6a8f0
AM
7402021-01-01 Nicolas Boulenguez <nicolas@debian.org>
741
742 * configure.tgt: Correct comment grammar.
743 * emultempl/m68hc1xelf.em: Likewise.
744 * ld.texi: Correct grammar.
745
250d07de
AM
7462021-01-01 Alan Modra <amodra@gmail.com>
747
748 Update year range in copyright notice of all files.
749
c2795844 750For older changes see ChangeLog-2020
3499769a 751\f
c2795844 752Copyright (C) 2021 Free Software Foundation, Inc.
3499769a
AM
753
754Copying and distribution of this file, with or without modification,
755are permitted in any medium without royalty provided the copyright
756notice and this notice are preserved.
757
758Local Variables:
759mode: change-log
760left-margin: 8
761fill-column: 74
762version-control: never
763End: