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