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