Add PR27441 testcase
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
bfece756
AM
12021-02-26 Alan Modra <amodra@gmail.com>
2
3 PR 27441
4 * testsuite/ld-plugin/pr27441a.c,
5 * testsuite/ld-plugin/pr27441b.c,
6 * testsuite/ld-plugin/pr27441c.c,
7 * testsuite/ld-plugin/pr27441c.d: New test.
8 * testsuite/ld-plugin/lto.exp: Run it.
9
3c27360b
JB
102021-02-25 Jan Beulich <jbeulich@suse.com>
11
12 * ld.texi (PROVIDE): Downgrade "error" to "diagnostic".
13
89753bbf
AM
142021-02-21 Alan Modra <amodra@gmail.com>
15
16 * ldexp.c (exp_fold_tree_1): Warn on script defining a symbol
17 defined in an object file.
18 * ldmain.c (multiple_definition): Heed info->warn_multiple_definition.
19 * testsuite/ld-scripts/defined5.d: Expect a warning.
20
2f973f13
AM
212021-02-19 Alan Modra <amodra@gmail.com>
22
23 * testsuite/lib/ld-lib.exp: Whitespace.
24 (load_common_lib): Expand single use and delete this proc.
25 (run_host_cmd): Use -fno-lto when getting gcc's ld version.
26 Use -B for clang too.
27
a364a116
AB
282021-02-18 Andrew Burgess <andrew.burgess@embecosm.com>
29
30 * testplugin.c (record_read_length): Remove debug fprintf.
31
5b1f6c95
AM
322021-02-14 Alan Modra <amodra@gmail.com>
33
34 * testsuite/ld-cdtest/cdtest.exp,
35 * testsuite/ld-checks/checks.exp,
36 * testsuite/ld-elf/binutils.exp,
37 * testsuite/ld-elf/compress.exp,
38 * testsuite/ld-elf/dwarf.exp,
39 * testsuite/ld-elf/exclude.exp,
40 * testsuite/ld-elf/frame.exp,
41 * testsuite/ld-elf/indirect.exp,
42 * testsuite/ld-elf/linux-x86.exp,
43 * testsuite/ld-elf/sec-to-seg.exp,
44 * testsuite/ld-elf/tls_common.exp,
45 * testsuite/ld-elfcomm/elfcomm.exp,
46 * testsuite/ld-elfvers/vers.exp,
47 * testsuite/ld-elfvsb/elfvsb.exp,
48 * testsuite/ld-elfweak/elfweak.exp,
49 * testsuite/ld-ifunc/binutils.exp,
50 * testsuite/ld-mips-elf/mips-elf-flags.exp,
51 * testsuite/ld-misc/defsym.exp,
52 * testsuite/ld-mn10300/mn10300.exp,
53 * testsuite/ld-plugin/lto.exp,
54 * testsuite/ld-plugin/plugin.exp,
55 * testsuite/ld-scripts/align.exp,
56 * testsuite/ld-scripts/assert.exp,
57 * testsuite/ld-scripts/crossref.exp,
58 * testsuite/ld-scripts/defined.exp,
59 * testsuite/ld-scripts/extern.exp,
60 * testsuite/ld-scripts/log2.exp,
61 * testsuite/ld-scripts/map-address.exp,
62 * testsuite/ld-scripts/phdrs.exp,
63 * testsuite/ld-scripts/phdrs2.exp,
64 * testsuite/ld-scripts/script.exp,
65 * testsuite/ld-scripts/section-flags.exp,
66 * testsuite/ld-scripts/sizeof.exp,
67 * testsuite/ld-scripts/weak.exp,
68 * testsuite/ld-selective/selective.exp,
69 * testsuite/ld-sh/sh.exp,
70 * testsuite/ld-shared/shared.exp,
71 * testsuite/ld-srec/srec.exp,
72 * testsuite/ld-tic6x/tic6x.exp,
73 * testsuite/ld-undefined/undefined.exp,
74 * testsuite/ld-undefined/weak-undef.exp,
75 * testsuite/lib/ld-lib.exp: Don't use unresolved except after
76 perror. Instead report "unsupported" or "fail".
77
c46b7066
NC
782021-02-12 Nick Clifton <nickc@redhat.com>
79
80 * testsuite/ld-elf/sec64k.exp: Stop readelf from automatically
81 following debug links.
82
933feaf3
AM
832021-02-11 Alan Modra <amodra@gmail.com>
84
85 * NEWS: Mention arm-symbianelf removal.
86
a57d1773
AM
872021-02-09 Alan Modra <amodra@gmail.com>
88
89 * Makefile.am (ALL_EMULATION_SOURCES): Remove earmsymbian.c.
90 Don't include symbian dep file.
91 * configure.tgt: Remove arm*-*-symbianelf* entry.
92 * emulparams/armsymbian.sh: Delete.
93 * ld.texi: Don't mention symbian.
94 * scripttempl/armbpabi.sc: Delete.
95 * testsuite/ld-arm/symbian-seg1.d: Delete.
96 * testsuite/ld-arm/symbian-seg1.s: Delete.
97 * testsuite/ld-arm/arm-elf.exp: Don't run symbian-seg1.
98 * Makefile.in: Regenerate.
99 * po/BLD-POTFILES.in: Regenerate.
100
38a143aa
L
1012021-02-07 H.J. Lu <hongjiu.lu@intel.com>
102
103 PR ld/27358
104 * testsuite/ld-i386/i386.exp: Remove property 3/4/5 run-time
105 tests.
106 * testsuite/ld-x86-64/x86-64.exp: Likewise.
107
35a01a04
NA
1082021-01-26 Nick Alcock <nick.alcock@oracle.com>
109
110 * ldlang.c (lang_merge_ctf): Set CTF_LINK_NO_FILTER_REPORTED_SYMS
111 when appropriate.
112
1a2f1b54
L
1132021-02-04 H.J. Lu <hongjiu.lu@intel.com>
114
115 PR ld/19609
116 * testsuite/ld-x86-64/pr19609-2a.d: Updated.
117 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
118 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
119 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
120 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
121 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
122 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
123
37707bd8
L
1242021-02-04 H.J. Lu <hongjiu.lu@intel.com>
125
126 PR ld/15146
127 * testsuite/ld-plugin/lto.exp: Run PR ld/15146 tests.
128 * testsuite/ld-plugin/pr15146.d: Restored.
129 * testsuite/ld-plugin/pr15146a.c: Likewise.
130 * testsuite/ld-plugin/pr15146b.c: Likewise.
131 * testsuite/ld-plugin/pr15146c.c: Likewise.
132 * testsuite/ld-plugin/pr15146d.c: Likewise.
133
7d409ac0
AM
1342021-02-04 Alan Modra <amodra@gmail.com>
135
136 * testsuite/ld-plugin/pr27311d.c: New test.
137 * testsuite/ld-plugin/lto.exp: Rename pr27311 to pr27311-1, compile
138 and link new test as pr27311-2.
139
69551367
AM
1402021-02-03 Alan Modra <amodra@gmail.com>
141
142 * testsuite/ld-ifunc/ifunc.exp (libpr16467b.so, libpr16467bn.so):
143 Link with --as-needed.
144
9918bff7
AM
1452021-02-02 Alan Modra <amodra@gmail.com>
146
147 * testsuite/ld-plugin/pr27311.d,
148 * testsuite/ld-plugin/pr27311.ver,
149 * testsuite/ld-plugin/pr27311a.c,
150 * testsuite/ld-plugin/pr27311b.c,
151 * testsuite/ld-plugin/pr27311c.c: New testcase.
152 * testsuite/ld-plugin/lto.exp: Run it. Correct PR14918 and
153 PR12982 entries.
154
1f568f9a
EH
1552021-02-01 Emery Hemingway <ehmry@posteo.net>
156
157 * configure.tgt: Add *-*-genode* as a target for AArch64 and x86.
158
fb6c220e
AM
1592021-02-01 Alan Modra <amodra@gmail.com>
160
161 * ldgram.y (defsym_expr): Use assignment rule.
162 * ldlex.h (ldlex_defsym): Delete.
163 * ldlex.l (DEFSYMEXP, ldlex_defsym): Delete.
164
40726f16
AM
1652021-02-01 Alan Modra <amodra@gmail.com>
166
167 * ldgram.y (section): Call ldlex_backup. Remove empty action.
168 * ldlex.h (ldlex_backup): Declare.
169 * ldlex.l (<EXPRESSION>NAME): Don't use NOCFILENAMECHAR set of
170 chars, use SYMBOLNAMECHAR.
171 (ldlex_backup): New function.
172
a5f92c67
AM
1732021-02-01 Alan Modra <amodra@gmail.com>
174
175 * ldgram.y: Whitespace fixes.
176
49daa38f
AM
1772021-02-01 Alan Modra <amodra@gmail.com>
178
179 * testsuite/ld-elf/pr27259.d: Correct sh_link match.
180
c4566785
AM
1812021-01-29 Alan Modra <amodra@gmail.com>
182
183 * testsuite/ld-tic6x/tic6x.exp: Add pr27271 test.
184
53e556e5
L
1852021-01-28 H.J. Lu <hongjiu.lu@intel.com>
186
187 PR ld/27259
188 * testsuite/ld-elf/pr27259.d: New file.
189 * testsuite/ld-elf/pr27259.s: Likewise.
190
def97fb9
AM
1912021-01-28 Alan Modra <amodra@gmail.com>
192
193 PR 27259
194 * ldelf.c (ldelf_before_place_orphans): Use linker_mark to
195 prevent endless looping of linked-to sections.
196
2eda57ef
L
1972021-01-26 H.J. Lu <hongjiu.lu@intel.com>
198
199 * testsuite/ld-x86-64/bnd-plt-1.d: Fix a typo.
200
1c9c9b9b
AM
2012021-01-26 Alan Modra <amodra@gmail.com>
202
203 PR 27226
204 * emulparams/alphavms.sh: Don't set COMPILE_IN.
205 * emulparams/elf64_ia64_vms.sh: Likewise.
206 * emulparams/elf64mmix.sh: Likewise.
207 * emulparams/elf_iamcu.sh: Likewise.
208 * emulparams/elf_k1om.sh: Likewise.
209 * emulparams/elf_l1om.sh: Likewise.
210 * emulparams/mmo.sh: Likewise.
211 * emulparams/pdp11.sh: Set DATA_SEG_ADDR.
212 * scripttempl/pdp11.sc: Use it.
213 * emultempl/pdp11.em: Don't edit .xn script for separate_code,
214 instead use .xe script. Support scripts from file system.
215 * emultempl/beos.em: Support scripts from file system.
216 * emultempl/pe.em: Likewise.
217 * emultempl/pep.em: Likewise.
218 * testsuite/ld-bootstrap/bootstrap.exp: Make tmpdir/ldscripts link.
219
9e42b976
FS
2202021-01-25 Fangrui Song <maskray@google.com>
221
222 PR ld/27230
223 * scripttempl/DWARF.sc: Add .debug_* sections.
224
b8df6900
NC
2252021-01-25 Nick Clifton <nickc@redhat.com>
226
227 * scripttempl/DWARF.sc: Add .debug_loclists, .debug_rnglists,
228 .debug_line_str and .debug_str_offsets. Move .debug_macro and
229 .debug_addr into DWARF-5 section.
230
c78eec44
AM
2312021-01-21 Alan Modra <amodra@gmail.com>
232
233 * testsuite/ld-elf/pr26936.d: No longer xfail mips.
234
4bd7c902
AM
2352021-01-20 Alan Modra <amodra@gmail.com>
236
237 * testsuite/ld-powerpc/relbrlt.s: Make symbols global.
238 * testsuite/ld-powerpc/relbrlt.d: Adjust to suit.
239 * testsuite/ld-powerpc/tlsget.d: Adjust for reordered stubs.
240 * testsuite/ld-powerpc/tlsget.wf: Likewise.
241 * testsuite/ld-powerpc/tlsget2.d: Likewise.
242 * testsuite/ld-powerpc/tlsget2.wf: Likewise.
243 * testsuite/ld-powerpc/tlsexe.r: Adjust for removed section syms.
244 * testsuite/ld-powerpc/tlsexe32.r: Likewise.
245 * testsuite/ld-powerpc/tlsexe32no.r: Likewise.
246 * testsuite/ld-powerpc/tlsexeno.r: Likewise.
247 * testsuite/ld-powerpc/tlsexenors.r: Likewise.
248 * testsuite/ld-powerpc/tlsexers.r: Likewise.
249 * testsuite/ld-powerpc/tlsexetoc.r: Likewise.
250 * testsuite/ld-powerpc/tlsexetocrs.r: Likewise.
251 * testsuite/ld-powerpc/tlsso.r: Likewise.
252 * testsuite/ld-powerpc/tlsso32.r: Likewise.
253 * testsuite/ld-powerpc/tlstocso.r: Likewise.
254
c98de297
NA
2552021-01-19 Nick Alcock <nick.alcock@oracle.com>
256
257 * testsuite/ld-ctf/data-func-2.c: Stop removal of the extern foo_t
258 symbols by the optimizer.
259 * testsuite/ld-ctf/data-func-conflicted.d: Adjust accordingly.
260
85e963f1
NC
2612021-01-19 Nelson Chu <nelson.chu@sifive.com>
262
263 * testsuite/ld-elf/elf.exp (riscv_little_endian): Added. Return true
264 if target is riscv little endian. Otherwise, return false.
265 * testsuite/ld-elf/compressed1d.d: Only xfail the riscv little endian
266 targets by [riscv_little_endian].
267
326adec3
AM
2682021-01-18 Alan Modra <amodra@gmail.com>
269
270 PR 26378
271 * ldlang.c (map_input_to_output_sections): Start with a read-only
272 section for data statements.
273 * testsuite/ld-elf/size-2.d: Adjust to suit.
274
994b2513
L
2752021-01-17 H.J. Lu <hongjiu.lu@intel.com>
276
277 PR ld/27193
278 * testsuite/ld-i386/i386.exp: Run PR ld/27193 test.
279 * testsuite/ld-i386/pr27193.dd: New file.
280 * testsuite/ld-i386/pr27193a.o.bz2: Likewise.
281 * testsuite/ld-i386/pr27193b.s: Likewise.
282
edf0f284
L
2832021-01-16 H.J. Lu <hongjiu.lu@intel.com>
284
285 PR binutils/23460
286 * testsuite/ld-plugin/lto.exp: Increase the max number of open
287 files to 20 for PR binutils/23460 test.
288
75a933f3
L
2892021-01-16 H.J. Lu <hongjiu.lu@intel.com>
290
291 PR ld/23169
292 * testsuite/ld-ifunc/ifunc.exp: Replace pr23169c.rd with
293 pr23169a.rd for pr23169c and pr23169f. Remove pr23169e tests.
294 * testsuite/ld-ifunc/pr23169a.c (foo): Don't compare function
295 address.
296
68b00778
L
2972021-01-15 H.J. Lu <hongjiu.lu@intel.com>
298
299 * NEWS: Mention -z report-relative-reloc.
300 * ld.texi: Document -z report-relative-reloc.
301 * emulparams/elf32_x86_64.sh: Source x86-report-relative.sh.
302 * emulparams/elf_i386.sh: Likewse.
303 * emulparams/elf_x86_64.sh: Likewse.
304 * emulparams/x86-report-relative.sh: New file.
305 * testsuite/ld-i386/report-reloc-1.d: Likewse.
306 * testsuite/ld-i386/report-reloc-1.l: Likewse.
307 * testsuite/ld-i386/report-reloc-1.s: Likewse.
308 * testsuite/ld-x86-64/report-reloc-1-x32.d: Likewse.
309 * testsuite/ld-x86-64/report-reloc-1.d: Likewse.
310 * testsuite/ld-x86-64/report-reloc-1.l: Likewse.
311 * testsuite/ld-x86-64/report-reloc-1.s: Likewse.
312 * testsuite/ld-i386/i386.exp: Run report-reloc-1.
313 * testsuite/ld-x86-64/x86-64.exp: Run report-reloc-1 and
314 report-reloc-1-x32.
315
eb6e6af8
AM
3162021-01-16 Alan Modra <amodra@gmail.com>
317
318 PR 26002
319 * testsuite/ld-elfvers/vers6.dsym: Expect "Base" for undefined
320 unversioned symbols.
321 * testsuite/ld-elfvers/vers16.dsym: Likewise.
322
b800637e
NC
3232021-01-15 Nelson Chu <nelson.chu@sifive.com>
324
325 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-01.d: Updated.
326 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-02.d: Likewise.
327 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-03.d: Likewise.
328 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-04.d: Likewise.
329 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-05.d: Likewise.
330 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-06.d: Likewise.
331
5a10699f
NC
3322021-01-14 Nick Clifton <nickc@redhat.com>
333
334 * po/fr.po: Updated French translation.
335
271bea6a
MF
3362021-01-14 Mike Frysinger <vapier@gentoo.org>
337
338 * testsuite/config/default.exp [bfin*-elf*] (gcc_B_opt): Add -msim.
339
4120e488
AM
3402021-01-14 Alan Modra <amodra@gmail.com>
341
342 PR 27160
343 * ldelfgen.c (compare_link_order): Protect access of ELF section
344 data.
345 (add_link_order_input_section): Remove redundant NULL check.
346 Use bfd_get_flavour.
347 (ldelf_map_segments): Use bfd_get_flavour.
348
b634d11d
L
3492021-01-13 H.J. Lu <hongjiu.lu@intel.com>
350
351 * ldelfgen.c (add_link_order_input_section): Check for ELF input
352 before accessing ELF section data.
353
5347ed60
AM
3542021-01-13 Alan Modra <amodra@gmail.com>
355
356 * Makefile.in: Regenerate.
357
b209b5a6
AM
3582021-01-13 Alan Modra <amodra@gmail.com>
359
360 PR 27160
361 * ldlang.h (lang_output_section_statement_type): Add data field.
362 (lang_input_section_type, lang_section_bst_type): Add pattern field.
363 (statement_list): Declare.
364 (lang_add_section): Adjust prototype.
365 * emultempl/aarch64elf.em: Adjust lang_add_section calls.
366 * emultempl/armelf.em: Likewise.
367 * emultempl/beos.em: Likewise.
368 * emultempl/cskyelf.em: Likewise.
369 * emultempl/hppaelf.em: Likewise.
370 * emultempl/m68hc1xelf.em: Likewise.
371 * emultempl/metagelf.em: Likewise.
372 * emultempl/mipself.em: Likewise.
373 * emultempl/mmo.em: Likewise.
374 * emultempl/msp430.em: Likewise.
375 * emultempl/nios2elf.em: Likewise.
376 * emultempl/pe.em: Likewise.
377 * emultempl/pep.em: Likewise.
378 * emultempl/ppc64elf.em: Likewise.
379 * emultempl/spuelf.em: Likewise.
380 * emultempl/vms.em: Likewise.
381 * ldelf.c: Likewise.
382 * ldelfgen.c: Include ldctor.h.
383 (struct os_sections): New.
384 (add_link_order_input_section, link_order_scan): New functions.
385 (compare_link_order, fixup_link_order): New functions.
386 (ldelf_map_segments): Call link_order_scan and fixup_link_order.
387 * ldlang.c (statement_list): Make global.
388 (output_section_callback_fast): Save pattern in tree node.
389 (lang_add_section): Add pattern parameter, save in lang_input_section.
390 (output_section_callback_tree_to_list): Adjust lang_add_section calls.
391 (lang_insert_orphan, output_section_callback): Likewise.
392 (ldlang_place_orphan): Likewise.
393 (gc_section_callback): Don't set section->pattern.
394 * testsuite/ld-elf/pr26256-2a.d: Don't xfail generic.
395 * testsuite/ld-elf/pr26256-3b.d: Likewise.
396 * testsuite/ld-elf/pr26256-2b.d: Likewise. notarget xgate.
397
8c4645b4
AM
3982021-01-13 Alan Modra <amodra@gmail.com>
399
400 * ldlang.h (callback_t): Remove flag_info function parameter.
401 * ldlang.c (walk_wild_consider_section): Adjust to suit.
402 (walk_wild_section_general): Likewise.
403 (output_section_callback_fast, output_section_callback): Likewise.
404 (check_section_callback, gc_section_callback): Likewise.
405 (find_relro_section_callback): Likewise.
406
d546b610
L
4072021-01-12 H.J. Lu <hongjiu.lu@intel.com>
408
409 PR binutils/26792
410 * configure.ac: Use GNU_MAKE_JOBSERVER.
411 * aclocal.m4: Regenerated.
412 * configure: Likewise.
413
c2e9a4a3
L
4142021-01-12 H.J. Lu <hongjiu.lu@intel.com>
415
416 PR ld/27171
417 * testsuite/ld-x86-64/pe-x86-64-5.obj.bz2: New file.
418 * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise.
419 * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise.
420 * testsuite/ld-x86-64/pe-x86-64.exp: Run PR ld/27171 test.
421
83b33c6c
L
4222021-01-11 H.J. Lu <hongjiu.lu@intel.com>
423
424 PR ld/27173
425 * configure: Regenerated.
426
c0f6e439
MJ
4272021-01-11 Matt Jenkins <matt@majenko.co.uk>
428
429 PR ld/27167
430 * ldmain.c (get_emulation): Add mipsmips32r3, mips32r5, mips64r3
431 and mips64r5 to list of known mips targets.
432
4332021-01-11 Nick Clifton <nickc@redhat.com>matt@majenko.co.uk
a8aa72b9
NC
434
435 * po/pt_BR.po: Updated Brazilian Portuguese translation.
436` * po/uk.po: Updated Ukranian translation.
437
a4966cd9
L
4382021-01-09 H.J. Lu <hongjiu.lu@intel.com>
439
440 * configure: Regenerated.
441
0a94990b
L
4422021-01-09 H.J. Lu <hongjiu.lu@intel.com>
443
444 PR ld/27166
445 * testsuite/ld-x86-64/lam-u48.rd: New file.
446 * testsuite/ld-x86-64/lam-u57.rd: Likewise.
447 * testsuite/ld-x86-64/x86-64.exp: Add PR ld/27166 tests.
448
573fe3fb
NC
4492021-01-09 Nick Clifton <nickc@redhat.com>
450
451 * configure: Regenerate.
452 * po/ld.pot: Regenerate.
453
055bc77a
NC
4542021-01-09 Nick Clifton <nickc@redhat.com>
455
456 * 2.36 release branch crated.
457
ba9e922f
L
4582021-01-08 H.J. Lu <hongjiu.lu@intel.com>
459
460 * ld-x86-64/property-x86-lam-u48-4.d: Updated.
461 * ld-x86-64/property-x86-lam-u48-5.d: Likewise.
462
64307045
AM
4632021-01-09 Alan Modra <amodra@gmail.com>
464
465 * configure: Regenerate.
466 * Makefile.in: Regenerate.
467
f4782128
ST
4682021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
469
470 * configure: Regenerate.
471
d1bcae83
L
4722021-01-07 H.J. Lu <hongjiu.lu@intel.com>
473
474 PR 27109
475 * testsuite/ld-elf/export-class.sd: Adjust the expected output.
476 * testsuite/ld-elf/loadaddr3b.d: Likewise.
477 * testsuite/ld-i386/ibt-plt-1.d: Likewise.
478 * testsuite/ld-i386/ibt-plt-2a.d: Likewise.
479 * testsuite/ld-i386/ibt-plt-2c.d: Likewise.
480 * testsuite/ld-i386/ibt-plt-3a.d: Likewise.
481 * testsuite/ld-i386/ibt-plt-3c.d: Likewise.
482 * testsuite/ld-i386/pr19636-1d.d: Likewise.
483 * testsuite/ld-i386/pr19636-1l.d: Likewise.
484 * testsuite/ld-i386/pr19636-2c.d: Likewise.
485 * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise.
486 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise.
487 * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Likewise.
488 * testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise.
489 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
490 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
491 * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise.
492 * testsuite/ld-ifunc/pr17154-i386.d: Likewise.
493 * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
494 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
495 * testsuite/ld-x86-64/bnd-branch-1-now.d: Likewise.
496 * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise.
497 * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise.
498 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
499 * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise.
500 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
501 * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise.
502 * testsuite/ld-x86-64/ibt-plt-1.d: Likewise.
503 * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise.
504 * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise.
505 * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise.
506 * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise.
507 * testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise.
508 * testsuite/ld-x86-64/ibt-plt-3a.d: Likewise.
509 * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise.
510 * testsuite/ld-x86-64/ibt-plt-3c.d: Likewise.
511 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
512 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
513 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
514 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
515 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
516 * testsuite/ld-x86-64/pr19636-2l.d: Likewise.
517 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
518 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
519 * testsuite/ld-x86-64/pr21038b-now.d: Likewise.
520 * testsuite/ld-x86-64/pr21038b.d: Likewise.
521 * testsuite/ld-x86-64/pr21038c-now.d: Likewise.
522 * testsuite/ld-x86-64/pr21038c.d: Likewise.
523 * testsuite/ld-x86-64/pr23854.d: Likewise.
524 * testsuite/ld-x86-64/pr25416-3.d: Likewise.
525 * testsuite/ld-x86-64/pr25416-4.d: Likewise.
526 * testsuite/ld-i386/plt-pic.pd: Likewise.
527 * testsuite/ld-i386/plt-pic2.dd: Likewise.
528 * testsuite/ld-i386/plt.pd: Likewise.
529 * testsuite/ld-i386/plt2.dd: Likewise.
530 * testsuite/ld-i386/tlsbin.rd: Likewise.
531 * testsuite/ld-i386/tlsbin2.rd: Likewise.
532 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
533 * testsuite/ld-i386/tlsdesc.rd: Likewise.
534 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
535 * testsuite/ld-i386/tlsnopic.rd: Likewise.
536 * testsuite/ld-i386/tlspic.rd: Likewise.
537 * testsuite/ld-i386/tlspic2.rd: Likewise.
538 * testsuite/ld-x86-64/mpx3.dd: Likewise.
539 * testsuite/ld-x86-64/mpx3n.dd: Likewise.
540 * testsuite/ld-x86-64/mpx4.dd: Likewise.
541 * testsuite/ld-x86-64/mpx4n.dd: Likewise.
542 * testsuite/ld-x86-64/pe-x86-64-1.od: Likewise.
543 * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise.
544 * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise.
545 * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise.
546 * testsuite/ld-x86-64/plt.pd: Likewise.
547 * testsuite/ld-x86-64/plt2.dd: Likewise.
548 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
549 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
550 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
551 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
552 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
553 * testsuite/ld-x86-64/tlspic.rd: Likewise.
554 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
555 * testsuite/ld-elf/sec64k.exp: Check
556 is_elf_unused_section_symbols.
557
dc200613
AM
5582021-01-07 Alan Modra <amodra@gmail.com>
559
560 * testsuite/ld-scripts/fill.d: Skip sh-*-pe rather than xfail.
561 * testsuite/ld-scripts/fill16.d: Don't xfail sh-*-pe.
562 * testsuite/ld-scripts/segment-start.d: Likewise.
563
8e604ff0
AM
5642021-01-07 Alan Modra <amodra@gmail.com>
565
566 * testsuite/ld-elf/comm-data5.d: xfail targets that complain
567 about dynamic relocations in read-only sections.
568 * testsuite/ld-elf/ehdr_start-shared.d: Likewise.
569 * testsuite/ld-elf/ehdr_start.d: Likewise.
570 * testsuite/ld-scripts/pr22267.d: Likewise.
571 * testsuite/ld-elf/shared.exp: Likewise for DT_TEXTREL tests and
572 pr20995 text.
573 * testsuite/ld-elf/sec64k.exp: Don't run 64ksec on lm32-linux.
574
4d4490b8
MC
5752021-01-07 Marcus Comstedt <marcus@mc.pp.se>
576
577 * testsuite/ld-scripts/empty-address-2a.d: xfail riscv64*-*-*.
578 * testsuite/ld-scripts/empty-address-2b.d: Likewise.
579
f526791a
AM
5802021-01-07 Alan Modra <amodra@gmail.com>
581
582 * po/BLD-POTFILES.in: Regenerate.
583
4018f4e0
AM
5842021-01-07 Alan Modra <amodra@gmail.com>
585
586 * testsuite/ld-elf/shared.exp: xfail pr22471 for targets that
587 complain about relocs in read-only sections. Tidy ASFLAGS append.
588
3677b729
AM
5892021-01-06 Alan Modra <amodra@gmail.com>
590
591 * testsuite/ld-sparc/sparc.exp (sparc64tests): Set text-segment
592 base for some tests.
593 * testsuite/ld-sparc/gotop32.dd: Match solaris output.
594 * testsuite/ld-sparc/gotop32.sd: Likewise.
595 * testsuite/ld-sparc/gotop32.td: Likewise.
596 * testsuite/ld-sparc/gotop64.dd: Likewise.
597 * testsuite/ld-sparc/gotop64.sd: Likewise.
598 * testsuite/ld-sparc/gotop64.td: Likewise.
599 * testsuite/ld-sparc/tlsg32.sd: Likewise.
600 * testsuite/ld-sparc/tlsg64.sd: Likewise.
601 * testsuite/ld-sparc/tlspie32.dd: Likewise.
602 * testsuite/ld-sparc/tlspie64.dd: Likewise.
603 * testsuite/ld-sparc/tlssunbin32.dd: Likewise.
604 * testsuite/ld-sparc/tlssunbin32.sd: Likewise.
605 * testsuite/ld-sparc/tlssunbin32.td: Likewise.
606 * testsuite/ld-sparc/tlssunbin64.dd: Likewise.
607 * testsuite/ld-sparc/tlssunbin64.sd: Likewise.
608 * testsuite/ld-sparc/tlssunbin64.td: Likewise.
609 * testsuite/ld-sparc/tlssunnopic32.dd: Likewise.
610 * testsuite/ld-sparc/tlssunnopic32.sd: Likewise.
611 * testsuite/ld-sparc/tlssunnopic64.dd: Likewise.
612 * testsuite/ld-sparc/tlssunnopic64.sd: Likewise.
613 * testsuite/ld-sparc/tlssunpic32.dd: Likewise.
614 * testsuite/ld-sparc/tlssunpic32.sd: Likewise.
615 * testsuite/ld-sparc/tlssunpic32.td: Likewise.
616 * testsuite/ld-sparc/tlssunpic64.dd: Likewise.
617 * testsuite/ld-sparc/tlssunpic64.sd: Likewise.
618 * testsuite/ld-sparc/tlssunpic64.td: Likewise.
619 * testsuite/ld-sparc/wdispcall.dd: Likewise.
620
73624512
AM
6212021-01-06 Alan Modra <amodra@gmail.com>
622
623 * testsuite/ld-scripts/rgn-at10.d: xfail v850.
624 * testsuite/ld-scripts/rgn-at11.d: Likewise.
625
f36ce378
MC
6262021-01-06 Marcus Comstedt <marcus@mc.pp.se>
627
628 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Added
629 riscv_choose_[ilp32|lp64]_emul to choose the correct linker script.
630 * testsuite/ld-riscv-elf/attr-merge-arch-01.d: Call
631 riscv_choose_[ilp32|lp64]_emul instead of hardcoding elf[32|64]lriscv.
632 * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
633 * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
634 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Likewise.
635 * testsuite/ld-riscv-elf/attr-merge-arch-failed-02.d: Likewise.
636 * testsuite/ld-riscv-elf/c-lui-2.d: Likewise.
637 * testsuite/ld-riscv-elf/c-lui.d: Likewise.
638 * testsuite/ld-riscv-elf/call-relax.d: Likewise.
639 * testsuite/ld-riscv-elf/pcrel-lo-addend-2.d: Likewise.
640 * testsuite/ld-riscv-elf/pcrel-lo-addend.d: Likewise.
641 * testsuite/ld-riscv-elf/weakref32.d: Accept bigriscv in addition
642 to littleriscv.
643 * testsuite/ld-riscv-elf/weakref64.d: Likewise.
644
fbc09e7a
MC
6452021-01-06 Marcus Comstedt <marcus@mc.pp.se>
646
647 * configure.tgt: Added riscvbe-*-*, riscv32be*-*-*, riscv64be*-*-*,
648 riscv32be*-*-linux*, and riscv64be*-*-linux*.
649 * Makefile.am: Added eelf32briscv.c, eelf32briscv_ilp32f.c and
650 eelf32briscv_ilp32.c.
651 * Makefile.in: Regenerate.
652 * emulparams/elf32briscv.sh: Added.
653 * emulparams/elf32briscv_ilp32.sh: Likewise.
654 * emulparams/elf32briscv_ilp32f.sh: Likewise.
655 * emulparams/elf64briscv.sh: Likewise.
656 * emulparams/elf64briscv_lp64.sh: Likewise.
657 * emulparams/elf64briscv_lp64f.sh: Likewise.
658
b4b6ea46
NA
6592021-01-05 Nick Alcock <nick.alcock@oracle.com>
660
661 * testsuite/ld-ctf/enum-forward.c: New test.
662 * testsuite/ld-ctf/enum-forward.c: New results.
663
37002871
NA
6642021-01-05 Nick Alcock <nick.alcock@oracle.com>
665
666 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
667 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
668 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
669 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
670 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
671 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
672 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
673 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
674 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
675 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
676 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
677 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
678 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
679 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
680 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
681 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
682 * testsuite/ld-ctf/cycle-1.d: Likewise.
683 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
684 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
685 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
686 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
687 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
688 * testsuite/ld-ctf/diag-cuname.d: Likewise.
689 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
690 * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise.
691 * testsuite/ld-ctf/forward.d: Likewise.
692 * testsuite/ld-ctf/function.d: Likewise.
693 * testsuite/ld-ctf/slice.d: Likewise.
694 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
695 * testsuite/ld-ctf/enums.c: New test.
696 * testsuite/ld-ctf/enums.d: New test.
697
ffeece6a
NA
6982021-01-05 Nick Alcock <nick.alcock@oracle.com>
699
700 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Adjust for dumper
701 changes.
702 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
703 * testsuite/ld-ctf/forward.c: New test...
704 * testsuite/ld-ctf/forward.d: ... and results.
705
91e7ce2f
NA
7062021-01-05 Nick Alcock <nick.alcock@oracle.com>
707
708 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
709 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
710 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
711 * testsuite/ld-ctf/diag-cuname.d: Likewise.
712 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
713 * testsuite/ld-ctf/function.d: Likewise.
714 * testsuite/ld-ctf/slice.d: Likewise.
715
57f97d0e
NA
7162021-01-05 Nick Alcock <nick.alcock@oracle.com>
717
718 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
719 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
720 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
721 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
722 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
723 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
724 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
725 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
726 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
727 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
728 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
729 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
730 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
731 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
732 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
733 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
734 * testsuite/ld-ctf/cycle-1.d: Likewise.
735 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
736 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
737 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
738 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
739 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
740 * testsuite/ld-ctf/diag-cuname.d: Likewise.
741 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
742 * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise.
743 * testsuite/ld-ctf/function.d: Likewise.
744 * testsuite/ld-ctf/slice.d: Likewise.
745 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
746
b281a04f
AM
7472021-01-05 Alan Modra <amodra@gmail.com>
748
749 * testsuite/ld-scripts/sysroot-prefix.exp: Exclude some targets.
750
40b11930
AM
7512021-01-05 Alan Modra <amodra@gmail.com>
752
753 PR ld/26256
754 * testsuite/ld-elf/pr26256-1b.d: xfail s12z.
755 * testsuite/ld-scripts/crossref.exp (cross1): Don't xfail ia64.
756
cd6d537c
L
7572021-01-04 H.J. Lu <hongjiu.lu@intel.com>
758
759 PR ld/26256
760 * ldlang.c (gc_section_callback): Set pattern.
761 * testsuite/ld-elf/pr26256-1.s: New file.
762 * testsuite/ld-elf/pr26256-1.t: Likewise.
763 * testsuite/ld-elf/pr26256-1a.d: Likewise.
764 * testsuite/ld-elf/pr26256-1b.d: Likewise.
765 * testsuite/ld-elf/pr26256-2.s: Likewise.
766 * testsuite/ld-elf/pr26256-2.t: Likewise.
767 * testsuite/ld-elf/pr26256-2a.d: Likewise.
768 * testsuite/ld-elf/pr26256-2b-alt.d: Likewise.
769 * testsuite/ld-elf/pr26256-2b.d: Likewise.
770 * testsuite/ld-elf/pr26256-3.s: Likewise.
771 * testsuite/ld-elf/pr26256-3a.d: Likewise.
772 * testsuite/ld-elf/pr26256-3a.t: Likewise.
773 * testsuite/ld-elf/pr26256-3b.d: Likewise.
774 * testsuite/ld-elf/pr26256-3b.t: Likewise.
775
5b4293ba
AM
7762021-01-04 Alan Modra <amodra@gmail.com>
777
778 PR 26822
779 * testsuite/ld-arm/non-contiguous-arm2.d: Adjust STT_FILE symbol match.
780 * testsuite/ld-arm/non-contiguous-arm3.d: Likewise.
781 * testsuite/ld-arm/non-contiguous-arm5.d: Likewise.
782 * testsuite/ld-arm/non-contiguous-arm6.d: Likewise.
783 * testsuite/ld-i386/tlsbin.rd: Likewise.
784 * testsuite/ld-i386/tlsbin2.rd: Likewise.
785 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
786 * testsuite/ld-i386/tlsdesc.rd: Likewise.
787 * testsuite/ld-i386/tlsnopic.rd: Likewise.
788 * testsuite/ld-i386/tlspic.rd: Likewise.
789 * testsuite/ld-i386/tlspic2.rd: Likewise.
790 * testsuite/ld-mips-elf/global-local-symtab-sort-n64.d: Likewise.
791 * testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d: Likewise.
792 * testsuite/ld-mips-elf/global-local-symtab-sort-o32.d: Likewise.
793 * testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d: Likewise.
794 * testsuite/ld-plugin/pr17973.d: Likewise.
795 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
796 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
797 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
798 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
799 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
800 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
801 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
802 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
803 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
804 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
805 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
806 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
807 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
808 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
809 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
810 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
811 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
812 * testsuite/ld-x86-64/tlspic.rd: Likewise.
813 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
814 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
815 * testsuite/ld-xtensa/tlspic.rd: Likewise.
816
f9a6a8f0
AM
8172021-01-01 Nicolas Boulenguez <nicolas@debian.org>
818
819 * configure.tgt: Correct comment grammar.
820 * emultempl/m68hc1xelf.em: Likewise.
821 * ld.texi: Correct grammar.
822
250d07de
AM
8232021-01-01 Alan Modra <amodra@gmail.com>
824
825 Update year range in copyright notice of all files.
826
c2795844 827For older changes see ChangeLog-2020
3499769a 828\f
c2795844 829Copyright (C) 2021 Free Software Foundation, Inc.
3499769a
AM
830
831Copying and distribution of this file, with or without modification,
832are permitted in any medium without royalty provided the copyright
833notice and this notice are preserved.
834
835Local Variables:
836mode: change-log
837left-margin: 8
838fill-column: 74
839version-control: never
840End:
This page took 0.338136 seconds and 4 git commands to generate.