]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/ChangeLog
Update etc/update-copyright.py
[thirdparty/binutils-gdb.git] / ld / ChangeLog
CommitLineData
a72b0718
NC
12022-12-31 Nick Clifton <nickc@redhat.com>
2
3 * 2.40 branch created.
4
a7a32d58
NC
52022-12-21 Nick Clifton <nickc@redhat.com>
6
7 PR 29900
8 * scripttempl/pe.sc: Keep the .drectve section when performing a
9 relocateable link.
10 * scripttempl/pep.sc: Likewise.
11
dcb53d93
NC
122022-12-08 Nick Clifton <nickc@redhat.com>
13
14 PR 29861
15 * ld.texi (Output Section Type): Note that setting the output
16 section type only works if the section contains untyped data.
17
3bf5bf54
NC
182022-12-05 Nick Clifton <nickc@redhat.com>
19
20 PR 29849
21 * ldlang.c (spec_match): Check that there is sufficient length in
22 the target name to match the spec's prefix.
23
e26943f9
NC
242022-11-03 Nick Clifton <nickc@redhat.com>
25
26 PR 29748
27 * configure.tgt (ac_default_ld_warn_rwx_segments): Set to 0 for
28 the V850.
29
fa6895ad
NC
302022-11-03 Nick Clifton <nickc@redhat.com>
31
78cd9188 32 PR 29741
fa6895ad
NC
33 * scripttempl/avr.sc (__DATA_REGION_ORIGIN__): Define. If a value
34 has not been provided on the command line then use DATA_ORIGIN.
35 (MEMORY): Use __DATA_REGION_ORIGIN__ as the start of the data region.
36
4b2e7a57
NC
372022-10-21 Nick Clifton <nickc@redhat.com>
38
39 PR 29654
40 * ld.h (struct ld_config_type): Add no_warnings field.
41 * ldlex.h (enum option_values): Add OPTION_NO_WARNINGS.
42 * lexsup.c (ld_options): Add --no-warnings.
43 (parse_args): Add support for -w and --no-warnings.
44 * ldmisc.c (vfinfo): Return early if the message is a warning and
45 -w has been enabled.
46 * ld.texi (options): Document new command line option.
47 * NEWS: Mention the new feature.
48
37833b96
NC
492022-08-30 Nick Clifton <nickc@redhat.com>
50
51 PR 29529
52 * testsuite/ld-x86-64/pr27587.err: Update expected output.
53
f0821653
RH
542022-08-18 Ralf Habacker <ralf.habacker@freenet.de>
55
56 PR 28362
57 * testsuite/ld-pe/pe-run2-def.exp: New file.
58
a6ad7914
AM
592022-08-03 Alan Modra <amodra@gmail.com>
60
61 PR 29389
62 * ldlang.h (lang_input_statement_struct): Add sort_key field.
63 * emultempl/pe.em (after_open): If multiple import libraries refer
64 to the same bfd, store their names in the sort_key field.
65 * emultempl/pep.em (after_open): Likewise.
66 * ldlang.c (sort_filename): New function. Returns the filename to
67 be used when sorting input files.
68 (wild_sort): Use the sort_filename function.
69
b80b72c0
RO
702022-07-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
71
72 PR ld/29411
73 * configure.tgt (ac_default_ld_warn_rwx_segments): Extend to all
74 sparc targets. Expand comment.
75
91896b4d
NC
762022-07-26 Nick Clifton <nickc@redhat.com>
77
78 PR 29411
79 * configure.tgt (ac_default_ld_warn_rwx_segments): Disable for
80 sparc-solaris configurations.
81
0bd09323
NC
822022-07-08 Nick Clifton <nickc@redhat.com>
83
84 * 2.39 branch created.
85
ed1c7ad8
NC
862022-06-27 Nick Clifton <nickc@redhat.com>
87
88 PR 29263
89 * configure.ac: Move HPPA specific code from here...
90 * configure.tgt: ... to here. Add similar code for MIPS.
91 Move code for CRIS, MIPS and HPPA to block at start of file.
92 * configure: Regenerate.
93
acd65fa6
NC
942022-06-21 Nick Clifton <nickc@redhat.com>
95
96 PR 29263
97 * configure.ac (ac_default_ld_warn_execstack): Default to 'no' for
98 HPPA targets.
99 (ac_default_ld_warn_rwx_segments): Likewise.
100 * configure: Regenerate.
101 * testsuite/ld-elf/elf.exp: Add the --warn-execstack command line
102 option to the command line when running execstack tests for the
103 HPPA target.
104
678dc756
AM
1052022-05-12 Alan Modra <amodra@gmail.com>
106
107 PR 29006
108 * pe-dll.c (dll_name): Delete, replacing with..
109 (dll_filename): ..this, moved earlier in file.
110 (generate_edata): Delete parameters. Don't set up dll_name here..
111 (pe_process_import_defs): ..instead set up dll_filename and
112 dll_symname here before returning.
113 (dll_symname_len): Delete write-only variable.
114 (pe_dll_generate_implib): Don't set up dll_symname here.
115
46465574
NC
1162022-05-03 Nick Clifton <nickc@redhat.com>
117
118 PR 29101
119 * libdep_plugin.c (get_libdeps): Check for overflow when computing
120 amount of memory to allocate.
121
639d467b
NC
1222022-04-27 Nick Clifton <nickc@redhat.com>
123
124 PR 29006
125 * pe-dll.c (make_head): Use asprintf to allocate and populate a
126 buffer containing the temporary name.
127 (make_tail, make_one, make_singleton_name_thunk): Likewise.
128 (make_import_fixup_mark, make_import_fixup_entry): Likewise.
129 (make_runtime_pseudo_reloc): Likewise.
130 (pe_create_runtime_relocator_reference): Likewise.
131
0d38576a
NC
1322022-04-25 Nick Clifton <nickc@redhat.com>
133
134 PR 29072
135 * testsuite/ld-elf/pr29072.b.warn: Update to include the note
136 about the linker's behaviour being depreccated.
137
2d23f965
CC
1382022-04-20 Clément Chigot <clement.chigot@atos.net>
139
140 * emultempl/aix.em (params): New variable.
141 (stub_file): New variable.
142 (xcoff_add_stub_section): New function.
143 (xcoff_layout_sections_again): New function
144 (hook_in_stub): New function.
145 (_after_allocation): Add stub creation.
146 (_create_output_section_statements): Allocate stub file and
147 pass params to backend.
148
1876a542
CC
1492022-04-20 Clément Chigot <clement.chigot@atos.net>
150
151 * emultempl/aix.em (_after_allocation): New function.
152
145667f8
MH
1532022-04-07 Mark Harmstone <mark@harmstone.com>
154
155 * testsuite/ld-pe/secidx1.s: New test source file.
156 * testsuite/ld-pe/secidx2.s: New test source file.
157 * testsuite/ld-pe/secidx.d: New test driver file.
158 * testsuite/ld-pe/secidx_64.d: New test driver file.
159 * testsuite/ld-pe/pe.exp: Add new tests.
160
95e96e05
NC
1612022-03-01 Nick Clifton <nickc@redhat.com>
162
163 PR 21964
164 * testsuite/ld-elf/pr21964-1a.c: Fix array comparisons.
165 * testsuite/ld-elf/pr21964-1b.c: Likewise.
166 * testsuite/ld-elf/pr21964-1c.c: Likewise.
167 * testsuite/ld-elf/pr21964-2a.c: Likewise.
168 * testsuite/ld-elf/pr21964-2b.c: Likewise.
169 * testsuite/ld-elf/pr21964-3a.c: Likewise.
170
5c14cc55
RM
1712022-02-17 Roland McGrath <mcgrathr@google.com>
172
173 * ld.texi (Output Section Type): Fix typo in @code syntax.
174
36d285b9
NC
1752022-02-17 Nick Clifton <nickc@redhat.com>
176
177 * po/sr.po: Updated Serbian translation.
178
c212f39d 1792022-02-16 Fangrui Song <maskray@google.com>
5c14cc55 180 Nick Clifton <nickc@redhat.com>
c212f39d
FS
181
182 PR ld/28841
183 * ld.texi: Document new output section type.
184 * ldlex.l: Add new token TYPE.
185 * ldgram.y: Handle TYPE=exp and READONLY (TYPE=exp).
186 * ldlang.h: Add type_section to list of section types.
187 * ldlang.c (lang_add_section): Handle type_section.
188 (map_input_to_output_sections): Handle type_section.
189 * testsuite/ld-scripts/output-section-types.t: Add tests.
190 * testsuite/ld-scripts/output-section-types.d: Update.
191
a6983974
NC
1922022-02-02 Nick Clifton <nickc@redhat.com>
193
194 * po/fr.po: Updated French translation.
195
5fe73d46
NC
1962022-01-24 Nick Clifton <nickc@redhat.com>
197
198 * po/bg.po: Updated Bulgarian translation.
199 * po/uk.po: Updated Ukranian translation.
200
cc5e4073
AGI
2012022-01-22 Alexander von Gluck IV <kallisti5@unixzen.com>
202
203 * configure.tgt (arm-haiku): Fix typo.
204 * emulparams/armelf_haiku.su (MAXPAGESIZE): Use the default value.
205 (COMMONPAGESIZE): Likewise.
206
f908e960
NC
2072022-01-22 Nick Clifton <nickc@redhat.com>
208
209 * configure: Regenerate.
210 * po/ld.pot: Regenerate.
211
a74e1cb3
NC
2122022-01-22 Nick Clifton <nickc@redhat.com>
213
214 * 2.38 release branch created.
215
e901223d
NC
2162022-01-21 Nick Clifton <nickc@redhat.com>
217
218 * po/sr.po: Updated Serbian translation.
219
6c037fdb
NC
2202022-01-17 Nick Clifton <nickc@redhat.com>
221
222 * Makefile.in: Regenerate.
223 * po/ld.pot: Regenerate.
224
c4a8df19
MS
2252022-01-11 Martin Storsjö <martin@martin.st>
226
227 * pe-dll.c (make_head): Prefix the symbol name with the dll name.
228 (make_tail, make_one, make_singleton_name_thunk): Likewise.
229 (make_import_fixup_entry, make_runtime_pseudo_reloc): Likewise.
230 (pe_create_runtime_relocator_reference): Likewise.
231 (pe_dll_generate_implib): Set dll_symname_len.
232 (pe_process_import_defs): Likewise.
233
f3be70df
NC
2342021-12-16 Nick Clifton <nickc@redhat.com>
235
236 PR 28686
237 * testsuite/ld-avr/avr-prop-7.d: Adjust expected output.
238 * testsuite/ld-avr/avr-prop-8.d: Likewise.
239 * testsuite/ld-avr/pr13402.d: Likewise.
240
44b357eb
NC
2412021-11-30 Nick Clifton <nickc@redhat.com>
242
243 * scripttempl/pru.sc (.pru_irq_map): Define output section.
244 * testsuite/ld-pru/pru_irq_map-1.d: New test.
245 * testsuite/ld-pru/pru_irq_map-2.d: New test.
246 * testsuite/ld-pru/pru_irq_map.s: New test.
247
ef6379e1
JD
2482021-11-17 Jeremy Drake <cygwin@jdrake.com>
249
250 * emultempl/pep.em (DEFAULT_DLL_CHARACTERISTICS): Set to 0 for
251 Cygwin targets.
252 * emultempl/pep.em (DEFAULT_DLL_CHARACTERISTICS): Likewise.
253
ee9e412f
NC
2542021-11-17 Nick Clifton <nickc@redhat.com>
255
256 PR 28452
257 * ldgram.y: Add support for PT_GNU_RELRO and PT_GNU_PROPERTY.
258 * ldgram.c: Regenerate.
259
d029b54d
RM
2602021-11-15 Roland McGrath <mcgrathr@google.com>
261
262 * testsuite/ld-aarch64/dt_textrel.d: Pass explicit -z notext in
263 case ld was configured with --enable-textrel-check=error.
264 * testsuite/ld-aarch64/pr22764.d: Likewise.
265 * testsuite/ld-aarch64/pr20402.d: Likewise.
266
eb5323fd
NA
2672021-10-25 Nick Alcock <nick.alcock@oracle.com>
268
269 * testsuite/ld-ctf/nonrepresentable-member.*: New test.
270
10909ea8
NA
2712021-10-25 Nick Alcock <nick.alcock@oracle.com>
272
273 * testsuite/ld-ctf/array.d: Change --ctf=.ctf to --ctf.
274 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
275 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
276 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
277 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
278 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
279 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
280 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
281 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
282 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
283 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
284 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
285 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
286 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
287 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
288 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
289 * testsuite/ld-ctf/cycle-1.d: Likewise.
290 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
291 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
292 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
293 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
294 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
295 * testsuite/ld-ctf/diag-cuname.d: Likewise.
296 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
297 * testsuite/ld-ctf/enum-forward.d: Likewise.
298 * testsuite/ld-ctf/enums.d: Likewise.
299 * testsuite/ld-ctf/forward.d: Likewise.
300 * testsuite/ld-ctf/function.d: Likewise.
301 * testsuite/ld-ctf/nonrepresentable.d: Likewise.
302 * testsuite/ld-ctf/slice.d: Likewise.
303 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
304
5109a7bd
DD
3052021-09-30 Dimitar Dimitrov <dimitar@dinux.eu>
306
307 * scripttempl/pru.sc (.resource_table): Align the output
308 section, not the first symbol.
309
b9004024
NA
3102021-09-27 Nick Alcock <nick.alcock@oracle.com>
311
312 * configure: Regenerate.
313
5226a6a8
NC
3142021-09-21 Nick Clifton <nickc@redhat.com>
315
316 * ldlang.c (lang_end): When computing the entry point, only
317 try the start address of the entry section when creating an
318 executable.
319 * ld.texi (Entry point): Update description of heuristic used to
320 choose the entry point.
321 testsuite/ld-alpha/tlspic.rd: Update expected entry point address.
322 testsuite/ld-arm/tls-gdesc-got.d: Likewise.
323 testsuite/ld-i386/tlsnopic.rd: Likewise.
324 testsuite/ld-ia64/tlspic.rd: Likewise.
325 testsuite/ld-sparc/gotop32.rd: Likewise.
326 testsuite/ld-sparc/gotop64.rd: Likewise.
327 testsuite/ld-sparc/tlssunnopic32.rd: Likewise.
328 testsuite/ld-sparc/tlssunnopic64.rd: Likewise.
329 testsuite/ld-sparc/tlssunpic32.rd: Likewise.
330 testsuite/ld-sparc/tlssunpic64.rd: Likewise.
331 testsuite/ld-tic6x/shlib-1.rd: Likewise.
332 testsuite/ld-tic6x/shlib-1b.rd: Likewise.
333 testsuite/ld-tic6x/shlib-1r.rd: Likewise.
334 testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
335 testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
336 testsuite/ld-x86-64/pr14207.d: Likewise.
337 testsuite/ld-x86-64/tlsdesc.rd: Likewise.
338 testsuite/ld-x86-64/tlspic.rd: Likewise.
339 testsuite/ld-x86-64/tlspic2.rd: Likewise.
340
720f6ee0
CZ
3412021-09-15 Claudiu Zissulescu <claziss@synopsys.com>
342
343 * testsuite/ld-arc/got-weak.d: Update file.
344
09a7e912
CZ
3452021-09-14 Claudiu Zissulescu <claziss@synopsys.com>
346
347 * ld-arc/got-weak.d: New file.
348 * ld-arc/got-weak.s: Likewise.
349
dfe3b805
RM
3502021-07-26 Roland McGrath <mcgrathr@google.com>
351
352 * testsuite/ld-x86-64/x86-64.exp (Build textrel-1): Use --warn-textrel.
353
235f5ef4
MM
3542021-07-06 Michael Matz <matz@suse.de>
355
356 PR ld/28021
357 * testsuite/ld-riscv-elf/relax-twice.ver: New.
358 * testsuite/ld-riscv-elf/relax-twice-1.s: New.
359 * testsuite/ld-riscv-elf/relax-twice-2.s: New.
360 * testsuite/ld-riscv-elf/ld-riscv-elf.exp
361 (run_relax_twice_test): New, and call it.
362
346d80ef
NC
3632021-07-03 Nick Clifton <nickc@redhat.com>
364
365 * configure: Regenerate.
366 * po/ld.pot: Regenerate.
367
51419248
NC
3682021-07-03 Nick Clifton <nickc@redhat.com>
369
370 * 2.37 release branch created.
371
50331d64
NC
3722021-06-22 Nelson Chu <nelson.chu@sifive.com>
373
374 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
375 * testsuite/ld-riscv-elf/pcrel-lo-addend-3a.d: New testcase.
376 * testsuite/ld-riscv-elf/pcrel-lo-addend-3a.s: Likewise.
377 * testsuite/ld-riscv-elf/pcrel-lo-addend-3b.d: New testcase.
378 Should report error since the %pcrel_lo with addend refers to
379 %got_pcrel_hi.
380 * testsuite/ld-riscv-elf/pcrel-lo-addend-3b.s: Likewise.
381 * testsuite/ld-riscv-elf/pcrel-lo-addend-3c.d: New testcase.
382 Should report error since the %got_pcrel_hi with addend.
383 * testsuite/ld-riscv-elf/pcrel-lo-addend-3c.s: Likewise.
384 * testsuite/ld-riscv-elf/pcrel-lo-addend-3.ld: Likewise.
385
406b4ada
L
3862021-06-19 H.J. Lu <hongjiu.lu@intel.com>
387
388 PR ld/27998
389 * testsuite/ld-i386/i386.exp: Run PR ld/27998 tests.
390 * testsuite/ld-i386/pr27998a.d: New file.
391 * testsuite/ld-i386/pr27998a.s: Likewise.
392 * testsuite/ld-i386/pr27998b.d: Likewise.
393 * testsuite/ld-i386/pr27998b.s: Likewise.
394
83b1d8f4
L
3952021-06-19 H.J. Lu <hongjiu.lu@intel.com>
396
397 * testsuite/ld-x86-64/textrel-1.err: New file.
398 * testsuite/ld-x86-64/textrel-1a.s: Likewise.
399 * testsuite/ld-x86-64/textrel-1b.s: Likewise.
400 * testsuite/ld-x86-64/x86-64.exp: Run textrel-1 tests.
401
c30420d8
L
4022021-06-18 H.J. Lu <hongjiu.lu@intel.com>
403
404 * testsuite/ld-elf/property-and-1.d: Skip am33_2.0, hppa-hpux
405 and mn10300.
406 Pass --generate-missing-build-notes=no to assembler. Allow
407 other note sections for xtensa.
408 * testsuite/ld-elf/property-and-2.d: Likewise.
409 * testsuite/ld-elf/property-and-3.d: Likewise.
410 * testsuite/ld-elf/property-and-4.d: Likewise.
411 * testsuite/ld-elf/property-or-1.d: Likewise.
412 * testsuite/ld-elf/property-or-2.d: Likewise.
413 * testsuite/ld-elf/property-or-3.d: Likewise.
414 * testsuite/ld-elf/property-or-4.d: Likewise.
415
2d95647b
L
4162021-06-18 H.J. Lu <hongjiu.lu@intel.com>
417
418 * ld.texi: Move -z unique-symbol after -z undefs.
419
5a767724
L
4202021-06-18 H.J. Lu <hongjiu.lu@intel.com>
421
422 * testsuite/ld-elf/property-and-1.d: New file.
423 * testsuite/ld-elf/property-and-1.s: Likewise.
424 * testsuite/ld-elf/property-and-2.d: Likewise.
425 * testsuite/ld-elf/property-and-2.s: Likewise.
426 * testsuite/ld-elf/property-and-3.d: Likewise.
427 * testsuite/ld-elf/property-and-3.s: Likewise.
428 * testsuite/ld-elf/property-and-4.d: Likewise.
429 * testsuite/ld-elf/property-and-empty.s: Likewise.
430 * testsuite/ld-elf/property-or-1.d: Likewise.
431 * testsuite/ld-elf/property-or-1.s: Likewise.
432 * testsuite/ld-elf/property-or-2.d: Likewise.
433 * testsuite/ld-elf/property-or-2.s: Likewise.
434 * testsuite/ld-elf/property-or-3.d: Likewise.
435 * testsuite/ld-elf/property-or-3.s: Likewise.
436 * testsuite/ld-elf/property-or-4.d: Likewise.
437 * testsuite/ld-elf/property-or-empty.s: Likewise.
438
e013d20d
L
4392021-06-17 H.J. Lu <hongjiu.lu@intel.com>
440
441 PR ld/27973
442 * testsuite/ld-x86-64/x86-64.exp: Pass $NOPIE_LDFLAGS and
443 $NOPIE_CFLAGS to protected-func-1 without PIE.
444
b6b42983
L
4452021-06-17 H.J. Lu <hongjiu.lu@intel.com>
446
447 PR ld/27973
448 * testsuite/ld-x86-64/x86-64.exp: Run protected function tests.
449 * testsuite/ld-x86-64/protected-func-1.h: New file.
450 * testsuite/ld-x86-64/protected-func-1a.s: Likewise.
451 * testsuite/ld-x86-64/protected-func-1b.c: Likewise.
452
d208bc76
FS
4532021-06-17 Fangrui Song <maskray@google.com>
454
455 * ldlex.h (enum option_values): Add OPTION_NO_PIE.
456 * lexsup.c (struct ld_options): Add -no-pie.
457 (parse_args): Handle -no-pie.
458 * ld.texi: Document -no-pie.
459
93df3340
AM
4602021-06-15 Alan Modra <amodra@gmail.com>
461
462 * testsuite/ld-pie/vaddr-0.d: Update expected output.
463
f64b9b13
AM
4642021-06-11 Alan Modra <amodra@gmail.com>
465
466 PR 27952
467 * ldelf.c (ldelf_after_open): Error on input PIEs too.
468
f75bcf7e
NC
4692021-06-09 Nick Clifton <nickc@redhat.com>
470
471 PR 27666
472 * testsuite/ld-sparc/sparc.exp: Do not run the sparctests or
473 sparc64tests for Solaris2 targets.
474
364d7729
AM
4752021-06-03 Alan Modra <amodra@gmail.com>
476
477 PR 2589
478 * ld.texi (link-time runtime library search path): Mention
479 plugin library path. Correct order of search.
480
ef9d2565
NC
4812021-05-31 Nelson Chu <nelson.chu@sifive.com>
482 Lifang Xia <lifang_xia@c-sky.com>
483
484 PR 27566
485 * emultempl/riscvelf.em (after_allocation): Call
486 riscv_set_data_segment_info to set data segment phase before relaxing.
487 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
488 * testsuite/ld-riscv-elf/relro-relax-lui.d: New testcase.
489 * testsuite/ld-riscv-elf/relro-relax-lui.s: Likewise.
490 * testsuite/ld-riscv-elf/relro-relax-pcrel.d: Likewise.
491 * testsuite/ld-riscv-elf/relro-relax-pcrel.s: Likewise.
492
1273b2f8
L
4932021-05-28 H.J. Lu <hongjiu.lu@intel.com>
494
495 PR ld/27905
496 * testsuite/ld-i386/pcrel16-2.d: xfail.
497 * testsuite/ld-x86-64/pcrel16-2.d: Likewise.
498
50c95a73
L
4992021-05-26 H.J. Lu <hongjiu.lu@intel.com>
500
501 PR ld/27905
502 * testsuite/ld-i386/code16.d: New file.
503 * testsuite/ld-i386/code16.t: Likewise.
504 * testsuite/ld-x86-64/code16.d: Likewise.
505 * testsuite/ld-x86-64/code16.t: Likewise.
506 * testsuite/ld-i386/i386.exp: Run code16.
507 * testsuite/ld-x86-64/x86-64.exp: Likewise.
508
983d5689
L
5092021-05-26 H.J. Lu <hongjiu.lu@intel.com>
510
511 * testsuite/ld-x86-64/ilp32-12.d: New file.
512 * testsuite/ld-x86-64/ilp32-12.s: Likewise.
513 * testsuite/ld-x86-64/x86-64.exp: Run ilp32-12.
514
75f03fa7
NC
5152021-05-14 Nelson Chu <nelson.chu@sifive.com>
516
517 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
518 * testsuite/ld-riscv-elf/pcrel-lo-addend-2a.d: Renamed from
519 pcrel-lo-addend-2.
520 * testsuite/ld-riscv-elf/pcrel-lo-addend-2a.s: Likewise.
521 * testsuite/ld-riscv-elf/pcrel-lo-addend-2b.d: New testcase.
522 * testsuite/ld-riscv-elf/pcrel-lo-addend-2b.s: Likewise.
523
cf893b0e
FS
5242021-05-13 Fangrui Song <maskray@google.com>
525
526 PR 27834
527 * ldlex.h (enum option_values): Add OPTION_NO_SYMBOLIC.
528 * lexsup.c (ld_options): Add -Bno-symbolic.
529 (parse_args): Handle -Bno-symbolic.
530 * ld.texi: Document -Bno-symbolic.
531 * NEWS: Mention -Bno-symbolic.
532 * testsuite/ld-elf/shared.exp: Add a test.
533
84139c58
RE
5342021-05-12 Richard Earnshaw <rearnsha@arm.com>
535
536 * testsuite/ld-arm/arm-elf.exp (farcall test for v8-m.mainline):
537 Correct expected output.
538
4a1ad5c9
RM
5392021-05-11 Roland McGrath <mcgrathr@google.com>
540
541 * testsuite/ld-x86-64/rela.d: Fix regexp not to presume a specific
542 address layout, so it works for e.g. --target=x86-64-elf.
543
22604fe6
NC
5442021-05-11 Nick Clifton <nickc@redhat.com>
545
546 PR 27113
547 * Makefile.am (install-data-local): Also delete libdep.dll.a if it
548 is present.
549 * Makefile.in: Regenerate.
550
5b45e89f
DD
5512021-05-10 Dimitar Dimitrov <dimitar@dinux.eu>
552
553 * testsuite/ld-elf/group8a.d: Remove pru from XFAIL list.
554 * testsuite/ld-elf/group8b.d: Ditto.
555 * testsuite/ld-elf/group9a.d: Ditto.
556 * testsuite/ld-elf/group9b.d: Ditto.
557 * testsuite/ld-elf/pr12851.d: Ditto.
558 * testsuite/ld-elf/pr22677.d: Ditto.
559 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Remove
560 pru from list.
561
261980de
DD
5622021-05-10 Dimitar Dimitrov <dimitar@dinux.eu>
563
564 * scripttempl/pru.sc (.resource_table): Add ALIGN directive.
565 Use symbols for memory sizes.
566
cf758b39
MF
5672021-05-08 Mike Frysinger <vapier@gentoo.org>
568
569 * Makefile.am (html-local, doc/ld/index.html): New targets.
570 * Makefile.in: Regenerate.
571
2faf902d
MF
5722021-05-08 Mike Frysinger <vapier@gentoo.org>
573
574 * Makefile.am (AM_MAKEINFOFLAGS): Add --no-split.
575 * Makefile.in: Regenerate.
576
17c6c3b9
JB
5772021-05-07 Jan Beulich <jbeulich@suse.com>
578
579 * testsuite/ld-x86-64/rela.d: New.
580 * testsuite/ld-x86-64/x86-64.exp: Run new test.
581
d820a652
NC
5822021-05-07 Nick Clifton <nickc@redhat.com>
583
584 * ldelfgen.c (compare_link_order): Ignore section size when
585 performing a relocateable link.
586
70993db3
AM
5872021-05-07 Alan Modra <amodra@gmail.com>
588
589 * ldexp.c (update_definedness): Don't return false for absolute
590 symbols.
591 * ldmain.c (multiple_definition): Print "warning: " in message
592 when not a hard error.
593
973bba91
AM
5942021-05-07 Alan Modra <amodra@gmail.com>
595
596 * testsuite/ld-elf/pr27825-1.d: Correct xfail.
597 * testsuite/ld-elf/pr27825-2.d: Likewise.
598
284a1309
SH
5992021-05-06 Stafford Horne <shorne@gmail.com>
600
601 PR 27746
602 testsuite/ld-or1k/or1k.exp (or1kplttests): Add tests for linking
603 along with gotha() relocations.
604 testsuite/ld-or1k/gotha1.dd: New file.
605 testsuite/ld-or1k/gotha1.s: New file.
606 testsuite/ld-or1k/gotha2.dd: New file.
607 testsuite/ld-or1k/gotha2.s: New file
608 testsuite/ld-or1k/pltlib.s (x): Define size to avoid link
609 failure.
610
ae064303
NA
6112021-05-06 Nick Alcock <nick.alcock@oracle.com>
612
613 * testsuite/ld-ctf/ctf.exp: Use -gctf, not -gt.
614 * testsuite/lib/ld-lib.exp: Likewise.
615 * testsuite/ld-ctf/nonrepresentable-1.c: New test for nonrepresentable types.
616 * testsuite/ld-ctf/nonrepresentable-2.c: Likewise.
617 * testsuite/ld-ctf/nonrepresentable.d: Likewise.
618 * testsuite/ld-ctf/array.d: Larger type section.
619 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
620 * testsuite/ld-ctf/enums.d: Likewise.
621 * testsuite/ld-ctf/conflicting-enums.d: Don't compare types.
622 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Changed type order.
623 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
624 * testsuite/ld-ctf/slice.d: Adjust for improved slice emission.
625
4467df35
L
6262021-05-05 H.J. Lu <hongjiu.lu@intel.com>
627
628 PR ld/27825
629 * testsuite/ld-elf/pr27825-1.d: New file.
630 * testsuite/ld-elf/pr27825-1a.s: Likewise.
631 * testsuite/ld-elf/pr27825-1b.s: Likewise.
632 * testsuite/ld-elf/pr27825-2.d: Likewise.
633 * testsuite/ld-elf/pr27825-2a.s: Likewise.
634 * testsuite/ld-elf/pr27825-2b.s: Likewise.
635
13ffdac3
AM
6362021-05-05 Alan Modra <amodra@gmail.com>
637
638 * testsuite/ld-powerpc/empty.s: New file.
639 * testsuite/ld-powerpc/undefweak.d,
640 * testsuite/ld-powerpc/undefweak.s: New testcase.
641 * testsuite/ld-powerpc/powerpc.exp: Run it.
642
df6fbc21
AM
6432021-05-03 Alan Modra <amodra@gmail.com>
644
645 * testsuite/ld-s390/tlspic_64.rd: Adjust expected output for
646 named section symbols.
647
24aebc79
NC
6482021-04-28 Nick Clifton <nickc@redhat.com>
649
650 * testsuite/ld-elf/anno-sym.s: New test source file.
651 * testsuite/ld-elf/anno-sym.d: New test driver.
652 * testsuite/ld-elf/anno-sym.l: New test error output.
653
a7664973
JB
6542021-04-26 Jan Beulich <jbeulich@suse.com>
655
656 * testsuite/ld-i386/pcrel16-2.s, testsuite/ld-i386/pcrel16-2.d,
657 testsuite/ld-x86-64/pcrel16-2.d: New.
658 * testsuite/ld-i386/i386.exp: Run new test.
659 * testsuite/ld-x86-64/x86-64.exp: Likewise.
660
69cc1945
L
6612021-04-23 H.J. Lu <hongjiu.lu@intel.com>
662
663 PR ld/27771
664 * testsuite/ld-bootstrap/bootstrap.exp: Create a symbolic link
665 to tmpdir/ldscripts only if it doesn't exist.
666
d018cd83
JB
6672021-04-22 Jan Beulich <jbeulich@suse.com>
668
669 PR ld/26659
670 * testsuite/ld-pe/pr26659-weak-undef-sym.d: Relax for Cygwin.
671
23356397
NC
6722021-04-21 Nick Clifton <nickc@redhat.com>
673
674 * testsuite/ld-aarch64/variant_pcs-now.d: Adjust expected output
675 to allow for named section symbols.
676 * testsuite/ld-aarch64/variant_pcs-r.d: Likewise.
677 * testsuite/ld-aarch64/variant_pcs-shared.d: Likewise.
678 * testsuite/ld-alpha/tlsbin.rd: Likewise.
679 * testsuite/ld-alpha/tlsbinr.rd: Likewise.
680 * testsuite/ld-alpha/tlspic.rd: Likewise.
681 * testsuite/ld-arm/rodata-merge-map.sym: Likewise.
682 * testsuite/ld-arm/script-type.sym: Likewise.
683 * testsuite/ld-cris/libdso-2.d: Likewise.
684 * testsuite/ld-cris/pr16044.d: Likewise.
685 * testsuite/ld-elf/sec64k.exp: Likewise.
686 * testsuite/ld-ia64/tlsbin.rd: Likewise.
687 * testsuite/ld-ia64/tlspic.rd: Likewise.
688 * testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d: Likewise.
689 * testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d: Likewise.
690 * testsuite/ld-mmix/bspec1.d: Likewise.
691 * testsuite/ld-mmix/bspec2.d: Likewise.
692 * testsuite/ld-mmix/local1.d: Likewise.
693 * testsuite/ld-mmix/local3.d: Likewise.
694 * testsuite/ld-mmix/local5.d: Likewise.
695 * testsuite/ld-mmix/local7.d: Likewise.
696 * testsuite/ld-mmix/undef-3.d: Likewise.
697 * testsuite/ld-powerpc/tlsso.r: Likewise.
698 * testsuite/ld-powerpc/tlsso32.r: Likewise.
699 * testsuite/ld-powerpc/tlstocso.r: Likewise.
700 * testsuite/ld-s390/tlsbin.rd: Likewise.
701 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
702 * testsuite/ld-s390/tlspic.rd: Likewise.
703 * testsuite/ld-s390/tlspic_64.rd: Likewise.
704 * testsuite/ld-sparc/gotop32.rd: Likewise.
705 * testsuite/ld-sparc/gotop64.rd: Likewise.
706 * testsuite/ld-sparc/tlssunbin32.rd: Likewise.
707 * testsuite/ld-sparc/tlssunbin64.rd: Likewise.
708 * testsuite/ld-sparc/tlssunnopic32.rd: Likewise.
709 * testsuite/ld-sparc/tlssunnopic64.rd: Likewise.
710 * testsuite/ld-sparc/tlssunpic32.rd: Likewise.
711 * testsuite/ld-sparc/tlssunpic64.rd: Likewise.
712 * testsuite/ld-tic6x/common.d: Likewise.
713 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
714 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
715 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
716 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
717 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
718 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
719 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
720 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
721 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
722 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
723 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
724 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
725 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
726
c5df7e44
CC
7272021-04-20 Clément Chigot <clement.chigot@atos.net>
728
729 PR binutils/21700
730 * testsuite/ld-powerpc/aix52.exp: Add new test.
731 * testsuite/ld-powerpc/aix-neg-reloc-32.d: New test.
732 * testsuite/ld-powerpc/aix-neg-reloc-64.d: New test.
733 * testsuite/ld-powerpc/aix-neg-reloc.ex: New test.
734 * testsuite/ld-powerpc/aix-neg-reloc.s: New test.
735
6418520e
NC
7362021-04-13 Nick Clifton <nickc@redhat.com>
737
738 * ld.texi (Options): Add note about the effect of --as-needed on
739 the --rpath and --rpath-link options on Linux based systems.
740
1cfc6f00
AM
7412021-04-13 Alan Modra <amodra@gmail.com>
742
743 PR 27722
744 * libdep_plugin.c (str2vec): Don't pass a potentially signed char
745 to isspace.
746
43e05cd4
AM
7472021-04-12 Alan Modra <amodra@gmail.com>
748
749 * configure.ac (--enable-checking): Add support.
750 * config.in: Regenerate.
751 * configure: Regenerate.
752
2cc15b10
AM
7532021-04-12 Alan Modra <amodra@gmail.com>
754
755 * emultempl/mipself.em (mips_create_output_section_statements):
756 Pass base type of hash table to is_elf_hash_table.
757 * ldelf.c (ldelf_after_open): Likewise.
758
fc304b88
AM
7592021-04-12 Alan Modra <amodra@gmail.com>
760
761 PR 27719
762 * ldlang.c (lang_mark_undefineds, undef_start_stop): Test that
763 the symbol hash table is the correct type before accessing
764 elf_link_hash_entry symbols.
765 * plugin.c (is_visible_from_outside): Likewise.
766 * emultempl/armelf.em (ld${EMULATION_NAME}_finish): Likewise.
767 * emultempl/solaris2.em (elf_solaris2_before_allocation): Likewise.
768
c3f72de4
AM
7692021-04-09 Alan Modra <amodra@gmail.com>
770
771 * testsuite/ld-powerpc/inlinepcrel-1.d: Update expected output.
772 * testsuite/ld-powerpc/inlinepcrel-2.d: Likewise.
773 * testsuite/ld-powerpc/notoc2.d: Likewise.
774 * testsuite/ld-powerpc/notoc3.d: Likewise.
775 * testsuite/ld-powerpc/pcrelopt.d: Likewise.
776 * testsuite/ld-powerpc/startstop.d: Likewise.
777 * testsuite/ld-powerpc/tlsget.d: Likewise.
778 * testsuite/ld-powerpc/tlsget2.d: Likewise.
779 * testsuite/ld-powerpc/tlsld.d: Likewise.
780 * testsuite/ld-powerpc/weak1.d: Likewise.
781 * testsuite/ld-powerpc/weak1so.d: Likewise.
782
bd3d1480
JB
7832021-04-06 Jan Beulich <jbeulich@suse.com>
784
785 * pe-dll.c (generate_reloc): Bail immediately when .reloc is
786 being discarded. Warn when relocated entry is above .reloc.
787
c774eab1
AM
7882021-04-05 Alan Modra <amodra@gmail.com>
789
790 * configure.ac: Move initfini-array arg handling earlier. Don't
791 check for string.h, strings.h, stdlib.h, or locale.h. Do check
792 for inttypes.h, stdint.h, sys/types.h. Don't check for
793 setlocale, free, getev or strstr.
794 (AC_ISC_POSIX): Don't invoke.
795 * sysdep.h: Include string.h and stdlib.h unconditionally. Test
796 HAVE_SYS_TYPE_H and HAVE_SYS_STAT_H. Remove strstr, free and
797 getenv fallback declarations.
798 * ld.h: Don't test HAVE_LOCALE_H.
799 * ldmain.c: Don't test HAVE_SETLOCALE.
800 * config.in: Regenerate.
801 * configure: Regenerate.
802
74edb473
TC
8032021-04-01 Tamar Christina <tamar.christina@arm.com>
804
805 PR ld/26659
806 * testsuite/ld-pe/pe.exp: Add test.
807 * testsuite/ld-pe/pr26659-weak-undef-sym.d: New test.
808 * testsuite/ld-pe/pr26659-weak-undef-sym.s: New test.
809
e9b095a5
ML
8102021-04-01 Martin Liska <mliska@suse.cz>
811
812 * ldbuildid.c (strneq): Remove strneq and use startswith.
813 (validate_build_id_style): Likewise.
814 (compute_build_id_size): Likewise.
815
f38a2680
AM
8162021-03-31 Alan Modra <amodra@gmail.com>
817
818 * sysdep.h (POISON_BFD_BOOLEAN): Define.
819 * configure.ac (elf_list_options, elf_shlib_list_options=false),
820 (elf_plt_unwind_list_options=false): Replace FALSE with false,
821 and TRUE with true.
822 * emulparams/call_nop.sh, * emulparams/cet.sh,
823 * emulparams/dynamic_undefined_weak.sh,
824 * emulparams/elf32b4300.sh, * emulparams/elf32lm32.sh,
825 * emulparams/elf32lr5900.sh, * emulparams/elf32lr5900n32.sh,
826 * emulparams/elf32visium.sh, * emulparams/elf_x86_64.sh,
827 * emulparams/extern_protected_data.sh, * emulparams/plt_unwind.sh,
828 * emulparams/reloc_overflow.sh, * emulparams/static.sh,
829 * emulparams/x86-64-lam.sh, * emultempl/aarch64elf.em,
830 * emultempl/aix.em, * emultempl/alphaelf.em,
831 * emultempl/armcoff.em, * emultempl/armelf.em,
832 * emultempl/avrelf.em, * emultempl/beos.em, * emultempl/bfin.em,
833 * emultempl/cr16elf.em, * emultempl/crxelf.em,
834 * emultempl/cskyelf.em, * emultempl/elf.em, * emultempl/genelf.em,
835 * emultempl/hppaelf.em, * emultempl/linux.em,
836 * emultempl/m68hc1xelf.em, * emultempl/metagelf.em,
837 * emultempl/mipself.em, * emultempl/mmix-elfnmmo.em,
838 * emultempl/mmixelf.em, * emultempl/mmo.em, * emultempl/msp430.em,
839 * emultempl/nios2elf.em, * emultempl/pdp11.em, * emultempl/pe.em,
840 * emultempl/pep.em, * emultempl/ppc32elf.em,
841 * emultempl/ppc64elf.em, * emultempl/rxelf.em,
842 * emultempl/rxlinux.em, * emultempl/scoreelf.em,
843 * emultempl/solaris2.em, * emultempl/spuelf.em,
844 * emultempl/ticoff.em, * emultempl/v850elf.em, * emultempl/vms.em,
845 * emultempl/xtensaelf.em, * emultempl/z80.em, * ld.h,
846 * ldbuildid.c, * ldbuildid.h, * ldcref.c, * ldctor.c, * ldctor.h,
847 * ldelf.c, * ldelf.h, * ldelfgen.c, * ldelfgen.h, * ldemul.c,
848 * ldemul.h, * ldexp.c, * ldexp.h, * ldfile.c, * ldfile.h,
849 * ldgram.y, * ldlang.c, * ldlang.h, * ldmain.c, * ldmain.h,
850 * ldmisc.c, * ldmisc.h, * ldwrite.c, * lexsup.c, * mri.c,
851 * pe-dll.c, * pe-dll.h, * pep-dll.h, * plugin.c, * plugin.h,
852 * testplug.c, * testplug2.c, * testplug3.c, * testplug4.c: Replace
853 bfd_boolean with bool, FALSE with false, and TRUE with true.
854 * configure: Regenerate.
855
3dfb1b6d
AM
8562021-03-31 Alan Modra <amodra@gmail.com>
857
858 * elf-hints-local.h: Include stdint.h in place of bfd_stdint.h.
859 * emultempl/nds32elf.em: Likewise.
860 * testsuite/ld-elf/mbind2b.c: Likewise.
861 * testsuite/ld-elf/pr18718.c: Likewise.
862 * testsuite/ld-elf/pr18720a.c: Likewise.
863 * testsuite/ld-elf/pr25749-1.c: Likewise.
864 * testsuite/ld-elf/pr25749-1a.c: Likewise.
865 * testsuite/ld-elf/pr25749-1b.c: Likewise.
866 * testsuite/ld-elf/pr25749-1c.c: Likewise.
867 * testsuite/ld-elf/pr25749-1d.c: Likewise.
868 * testsuite/ld-elf/pr25749-2.c: Likewise.
869 * testsuite/ld-elf/pr25754-1a.c: Likewise.
870 * testsuite/ld-elf/pr25754-2a.c: Likewise.
871 * testsuite/ld-elf/pr25754-3a.c: Likewise.
872 * testsuite/ld-elf/pr25754-4a.c: Likewise.
873 * testsuite/ld-elf/pr25754-5a.c: Likewise.
874 * testsuite/ld-elf/pr25754-6a.c: Likewise.
875
63b4cc53
AM
8762021-03-29 Alan Modra <amodra@gmail.com>
877
878 * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Simplify
879 boolean expression.
880 * lexsup.c (parse_args): Likewise.
881 * pe-dll.c (pe_dll_id_target): Likewise.
882
8592be8c
NA
8832021-03-25 Nick Alcock <nick.alcock@oracle.com>
884
885 * testsuite/ld-ctf/array.d: Only check that the data object
886 section is nonempty: do not check its exact size.
887 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
888 * testsuite/ld-ctf/slice.d: Likewise.
889 * testsuite/ld-ctf/data-func-conflicted.d: Likewise, and for the
890 func info section too.
891 * testsuite/ld-ctf/function.d: Likewise, for the func info section.
892
08dedd66
ML
8932021-03-22 Martin Liska <mliska@suse.cz>
894
895 * emultempl/aix.em: Replace usage of CONST_STRNEQ with startswith.
896 * emultempl/beos.em: Likewise.
897 * emultempl/elf.em: Likewise.
898 * emultempl/pe.em: Likewise.
899 * emultempl/pep.em: Likewise.
900 * emultempl/xtensaelf.em: Likewise.
901 * ldctor.c (ctor_prio): Likewise.
902 * ldelf.c (ldelf_try_needed): Likewise.
903 (ldelf_parse_ld_so_conf): Likewise.
904 (ldelf_after_open): Likewise.
905 (output_rel_find): Likewise.
906 (ldelf_place_orphan): Likewise.
907 * ldfile.c (ldfile_add_library_path): Likewise.
908 * ldlang.c (lang_add_input_file): Likewise.
909 * ldmain.c (get_sysroot): Likewise.
910 (get_emulation): Likewise.
911 (add_archive_element): Likewise.
912 * ldwrite.c (unsplittable_name): Likewise.
913 (clone_section): Likewise.
914 * lexsup.c (parse_args): Likewise.
915 * pe-dll.c (is_import): Likewise.
916 (pe_implied_import_dll): Likewise.
917
1de96e5d
L
9182021-03-19 H.J. Lu <hongjiu.lu@intel.com>
919
920 PR ld/27590
921 * testsuite/ld-x86-64/pr27590.rd: New file.
922 * testsuite/ld-x86-64/pr27590a.obj.bz2: Likewise.
923 * testsuite/ld-x86-64/pr27590b.obj.bz2: Likewise.
924 * testsuite/ld-x86-64/x86-64.exp: Run ld/27590 test.
925
15407e7e
AM
9262021-03-20 Alan Modra <amodra@gmail.com>
927
928 PR 27590
929 * ldlang.c (lang_gc_sections): Clear SEC_EXCLUDE when relocatable
930 for all sections except .stabstr.
931
fba7f753
AM
9322021-03-19 Alan Modra <amodra@gmail.com>
933
934 PR 27590
935 * testsuite/ld-elf/pr27590a.d: Match relocs using label, and
936 R_MIPS_NONE.
937 * testsuite/ld-elf/pr27590b.d: Likewise.
938
3818d4ab
L
9392021-03-18 H.J. Lu <hongjiu.lu@intel.com>
940
941 PR ld/27590
942 * testsuite/ld-elf/pr27590.s: New file.
943 * testsuite/ld-elf/pr27590a.d: Likewise.
944 * testsuite/ld-elf/pr27590b.d: Likewise.
945 * testsuite/ld-i386/i386.exp: Also run ld/27193 test with
946 --reduce-memory-overheads.
947
51f6e7a9
L
9482021-03-18 H.J. Lu <hongjiu.lu@intel.com>
949
950 PR ld/27587
951 * testsuite/ld-x86-64/pr27587.err: New file.
952 * testsuite/ld-x86-64/pr27587a.obj.bz2: Likewise.
953 * testsuite/ld-x86-64/pr27587b.obj.bz2: Likewise.
954 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/27587 test.
955
69a28486
NA
9562021-03-18 Nick Alcock <nick.alcock@oracle.com>
957
958 * testsuite/ld-ctf/slice.c: Check slices of enums too.
959 * testsuite/ld-ctf/slice.d: Results adjusted.
960
ee42883c
NC
9612021-03-16 Nick Clifton <nickc@redhat.com>
962
963 * pe-dll.c (pe_find_cdecl_alias_match): Use memmove to overwrite
964 lname string.
965
c68b1842
JB
9662021-03-15 Jan Beulich <jbeulich@suse.com>
967
968 * pe-dll.c (generate_reloc): Drop padding to reloc_s->size.
969
203a206d
AM
9702021-03-12 Alan Modra <amodra@gmail.com>
971
972 * Makefile.am (ALL_EMULATION_SOURCES): Move riscv files to..
973 (ALL_64_EMULATION_SOURCES): ..here.
974 * Makefile.in: Regenerate.
975
1b2cb8e2
CC
9762021-03-12 Clément Chigot <clement.chigot@atos.net>
977
978 * emultempl/aix.em: Ensure .tdata section is removed
979 if empty, even with -r flag.
980 * scripttempl/aix.sc: Handle TLS sections.
981 * testsuite/ld-powerpc/aix52.exp: Add new tests.
982 * testsuite/ld-powerpc/aix-tls-reloc-32.d: New test.
983 * testsuite/ld-powerpc/aix-tls-reloc-64.d: New test.
984 * testsuite/ld-powerpc/aix-tls-reloc.ex: New test.
985 * testsuite/ld-powerpc/aix-tls-reloc.s: New test.
986 * testsuite/ld-powerpc/aix-tls-section-32.d: New test.
987 * testsuite/ld-powerpc/aix-tls-section-64.d: New test.
988 * testsuite/ld-powerpc/aix-tls-section.ex: New test.
989 * testsuite/ld-powerpc/aix-tls-section.s: New test.
990
4a403be0
CC
9912021-03-12 Clément Chigot <clement.chigot@atos.net>
992
993 * scripttempl/aix.sc: Add .te to .data section.
994 * testsuite/ld-powerpc/aix52.exp: Add test structure for AIX7+.
995 Add aix-largetoc-1 test.
996 * testsuite/ld-powerpc/aix-largetoc-1-32.d: New test.
997 * testsuite/ld-powerpc/aix-largetoc-1-64.d: New test.
998 * testsuite/ld-powerpc/aix-largetoc-1.ex: New test.
999 * testsuite/ld-powerpc/aix-largetoc-1.s: New test.
1000
68cb2183
AM
10012021-03-12 Alan Modra <amodra@gmail.com>
1002
1003 * testsuite/ld-gc/gc.exp: Pass "-image-base 0" to ld for PE, and
1004 arrange to define __main for some run_dump_test tests.
1005 * testsuite/ld-gc/pr13683.d: Accept more symbols.
1006 * testsuite/ld-gc/pr14265.d: Likewise, and ordering.
1007 * testsuite/ld-scripts/crossref.exp: Pass "-image-base 0" to ld for PE.
1008 * testsuite/ld-srec/srec.exp: Likewise.
1009 * testsuite/lib/ld-lib.exp (ld_link_defsyms): Use is_pecoff_format.
1010
ebdcad3f
NC
10112021-03-11 Nelson Chu <nelson.chu@sifive.com>
1012
1013 * emultempl/riscvelf.em (after_allocation): Run ldelf_map_segments
1014 many times if riscv_restart_relax_sections returns TRUE.
1015 * testsuite/ld-riscv-elf/restart-relax.d: New testcase. Before
1016 applying this patch, the call won't be relaxed to jal; But now we
1017 have more chances to do relaxations.
1018 * testsuite/ld-riscv-elf/restart-relax.s: Likewise.
1019 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
1020
67b0f684
JB
10212021-03-10 Jan Beulich <jbeulich@suse.com>
1022
1023 * testsuite/ld-scripts/pr22267.t: Avoid symbol value with more
1024 than 32 set bits.
1025 * testsuite/ld-scripts/pr22267.d: Adjust expectation and drop
1026 comment.
1027 * scripttempl/mcorepe.sc: Use PROVIDE() for _stack.
1028
5dc75cf3
JB
10292021-03-09 Jan Beulich <jbeulich@suse.com>
1030
1031 * testsuite/ld-pe/reloc.s: Add entry point symbols. Increase
1032 alignment to 4k.
1033 * testsuite/ld-pe/reloc.d: xfail for mcore.
1034
87fa7d56
JB
10352021-03-09 Jan Beulich <jbeulich@suse.com>
1036
1037 * testsuite/ld-scripts/alignof.exp,
1038 testsuite/ld-scripts/data.exp,
1039 testsuite/ld-scripts/default-script.exp,
1040 testsuite/ld-scripts/log2.exp,
1041 testsuite/ld-scripts/print-memory-usage.exp,
1042 testsuite/ld-scripts/sizeof.exp,
1043 testsuite/ld-undefined/weak-undef.exp: Set image base to zero
1044 for PE/COFF.
1045 * testsuite/ld-scripts/default-script1.d,
1046 testsuite/ld-scripts/default-script2.d,
1047 testsuite/ld-scripts/default-script3.d,
1048 testsuite/ld-scripts/default-script4.d: Drop xfail and comment.
1049
8c0546e9
L
10502021-03-05 H.J. Lu <hongjiu.lu@intel.com>
1051
1052 PR ld/27425
1053 PR ld/27432
1054 * ldelf.c (ldelf_set_output_arch): New function.
1055 * ldelf.h (ldelf_set_output_arch): New prototype.
1056 * emultempl/elf.em (LDEMUL_SET_OUTPUT_ARCH): Default to
1057 ldelf_set_output_arch.
1058 * ld-x86-64/pe-x86-64-1.od: Expect __executable_start.
1059 * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise.
1060 * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise.
1061 * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise.
1062 * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise.
1063 * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise.
1064 * testsuite/ld-x86-64/pe-x86-64-6.obj.bz2: New file.
1065 * testsuite/ld-x86-64/pe-x86-64-6.od: Likewise.
1066 * testsuite/ld-x86-64/pe-x86-64.exp: Run ld/27425 test.
1067
d4e5db4e
JB
10682021-03-04 Jan Beulich <jbeulich@suse.com>
1069
1070 * testsuite/ld-scripts/map-address.exp: Set image base to zero
1071 for PE/COFF.
1072 * testsuite/ld-scripts/map-address.t: Place .text.
1073
6fa7408d
JB
10742021-03-04 Jan Beulich <jbeulich@suse.com>
1075
1076 * ldexp.c (ldexp_is_final_sym_absolute): New.
1077 * ldexp.h (ldexp_is_final_sym_absolute): Declare.
1078 * pe-dll.c (generate_reloc): Skip absolute symbols.
1079 * testsuite/ld-pe/reloc.s, testsuite/ld-pe/reloc.d: New.
1080 * testsuite/ld-pe/pe.exp: Run new test.
1081
5789f845
AM
10822021-03-03 Alan Modra <amodra@gmail.com>
1083
1084 PR 27500
1085 * ldlang.c (insert_undefined): Don't mark symbols here.
1086 (lang_mark_undefineds): Do so here instead, new function.
1087 (lang_process): Call lang_mark_undefineds.
1088 * testsuite/ld-gc/start3.d,
1089 * testsuite/ld-gc/start3.s: New test.
1090 * testsuite/ld-gc/start4.d,
1091 * testsuite/ld-gc/start4.s: New test.
1092 * testsuite/ld-gc/gc.exp: Run them.
1093
270f32fc
AM
10942021-03-03 Alan Modra <amodra@gmail.com>
1095
1096 * testsuite/ld-gc/gc.exp: Define UNDERSCORE in ASFLAGS.
1097 Move tests with ELF section directives to is_elf_format block.
1098 * testsuite/ld-gc/abi-note.d: Run on more targets.
1099 * testsuite/ld-gc/pr19167.d: Likewise and adjust xfails.
1100 * testsuite/ld-gc/start.d: Likewise.
1101 * testsuite/ld-gc/start2.d: Likewise.
1102 * testsuite/ld-gc/stop.d: Likewise.
1103 * testsuite/ld-gc/pr19167a.s: Add support for underscore targets.
1104 * testsuite/ld-gc/start.s: Likewise.
1105 * testsuite/ld-gc/start2.s: Likewise.
1106
211bcd01
NA
11072021-03-02 Nick Alcock <nick.alcock@oracle.com>
1108
1109 * ldelfgen.c (ldelf_ctf_strtab_iter_cb): Skip zero-refcount strings.
1110
b80e421f
AM
11112021-03-02 Alan Modra <amodra@gmail.com>
1112
1113 * testsuite/ld-powerpc/startstop.d,
1114 * testsuite/ld-powerpc/startstop.r,
1115 * testsuite/ld-powerpc/startstop.s: New test.
1116 * testsuite/ld-powerpc/powerpc.exp: Run it.
1117
f5b9c288
AM
11182021-03-02 Alan Modra <amodra@gmail.com>
1119
1120 * testsuite/ld-powerpc/weak1.d,
1121 * testsuite/ld-powerpc/weak1.r,
1122 * testsuite/ld-powerpc/weak1.s,
1123 * testsuite/ld-powerpc/weak1so.d,
1124 * testsuite/ld-powerpc/weak1so.r: New tests.
1125 * testsuite/ld-powerpc/powerpc.exp: Run them.
1126
ba6eb62f
NC
11272021-03-01 Hannes Domani <ssbssa@sourceware.org>
1128 Nick Clifton <nickc@redhat.com>
1129
1130 PR 27268
1131 * scripttempl/pe.sc: Add DWARF-5 section names.
1132 * scripttempl/pep.sc: Likewise.
1133
8ee10e86
AM
11342021-03-01 Alan Modra <amodra@gmail.com>
1135 Fangrui Song <maskray@google.com>
1136
1137 * emultempl/elf.em: Handle -z start-stop-gc and -z nostart-stop-gc.
1138 * lexsup.c (elf_static_list_options): Display help for them. Move
1139 help for -z stack-size to here from elf_shlib_list_options. Add
1140 help for -z start-stop-visibility and -z undefs.
1141 * ld.texi: Document -z start-stop-gc and -z nostart-stop-gc.
1142 * NEWS: Mention -z start-stop-gc.
1143 * testsuite/ld-gc/start2.s,
1144 * testsuite/ld-gc/start2.d: New test.
1145 * testsuite/ld-gc/gc.exp: Run it.
1146
7824c1d2
AM
11472021-03-01 Alan Modra <amodra@gmail.com>
1148
1149 * ldlang.c (undef_start_stop): For ELF make undefined start/stop
1150 symbols undefweak if that was how they were referenced. Undo
1151 dynamic state too.
1152
6a1224ec
AM
11532021-03-01 Alan Modra <amodra@gmail.com>
1154
1155 * testsuite/ld-elf/pr25708.d: Add --with-symbol-versions to nm.
1156 * testsuite/ld-elf/pr27128a.d: Likewise.
1157 * testsuite/ld-elf/pr27128b.d: Likewise.
1158 * testsuite/ld-elf/pr27128c.d: Likewise.
1159 * testsuite/ld-elf/pr27128d.d: Likewise.
1160 * testsuite/ld-elf/pr27128e.d: Likewise.
1161
bfece756
AM
11622021-02-26 Alan Modra <amodra@gmail.com>
1163
1164 PR 27441
1165 * testsuite/ld-plugin/pr27441a.c,
1166 * testsuite/ld-plugin/pr27441b.c,
1167 * testsuite/ld-plugin/pr27441c.c,
1168 * testsuite/ld-plugin/pr27441c.d: New test.
1169 * testsuite/ld-plugin/lto.exp: Run it.
1170
3c27360b
JB
11712021-02-25 Jan Beulich <jbeulich@suse.com>
1172
1173 * ld.texi (PROVIDE): Downgrade "error" to "diagnostic".
1174
89753bbf
AM
11752021-02-21 Alan Modra <amodra@gmail.com>
1176
1177 * ldexp.c (exp_fold_tree_1): Warn on script defining a symbol
1178 defined in an object file.
1179 * ldmain.c (multiple_definition): Heed info->warn_multiple_definition.
1180 * testsuite/ld-scripts/defined5.d: Expect a warning.
1181
2f973f13
AM
11822021-02-19 Alan Modra <amodra@gmail.com>
1183
1184 * testsuite/lib/ld-lib.exp: Whitespace.
1185 (load_common_lib): Expand single use and delete this proc.
1186 (run_host_cmd): Use -fno-lto when getting gcc's ld version.
1187 Use -B for clang too.
1188
a364a116
AB
11892021-02-18 Andrew Burgess <andrew.burgess@embecosm.com>
1190
1191 * testplugin.c (record_read_length): Remove debug fprintf.
1192
5b1f6c95
AM
11932021-02-14 Alan Modra <amodra@gmail.com>
1194
1195 * testsuite/ld-cdtest/cdtest.exp,
1196 * testsuite/ld-checks/checks.exp,
1197 * testsuite/ld-elf/binutils.exp,
1198 * testsuite/ld-elf/compress.exp,
1199 * testsuite/ld-elf/dwarf.exp,
1200 * testsuite/ld-elf/exclude.exp,
1201 * testsuite/ld-elf/frame.exp,
1202 * testsuite/ld-elf/indirect.exp,
1203 * testsuite/ld-elf/linux-x86.exp,
1204 * testsuite/ld-elf/sec-to-seg.exp,
1205 * testsuite/ld-elf/tls_common.exp,
1206 * testsuite/ld-elfcomm/elfcomm.exp,
1207 * testsuite/ld-elfvers/vers.exp,
1208 * testsuite/ld-elfvsb/elfvsb.exp,
1209 * testsuite/ld-elfweak/elfweak.exp,
1210 * testsuite/ld-ifunc/binutils.exp,
1211 * testsuite/ld-mips-elf/mips-elf-flags.exp,
1212 * testsuite/ld-misc/defsym.exp,
1213 * testsuite/ld-mn10300/mn10300.exp,
1214 * testsuite/ld-plugin/lto.exp,
1215 * testsuite/ld-plugin/plugin.exp,
1216 * testsuite/ld-scripts/align.exp,
1217 * testsuite/ld-scripts/assert.exp,
1218 * testsuite/ld-scripts/crossref.exp,
1219 * testsuite/ld-scripts/defined.exp,
1220 * testsuite/ld-scripts/extern.exp,
1221 * testsuite/ld-scripts/log2.exp,
1222 * testsuite/ld-scripts/map-address.exp,
1223 * testsuite/ld-scripts/phdrs.exp,
1224 * testsuite/ld-scripts/phdrs2.exp,
1225 * testsuite/ld-scripts/script.exp,
1226 * testsuite/ld-scripts/section-flags.exp,
1227 * testsuite/ld-scripts/sizeof.exp,
1228 * testsuite/ld-scripts/weak.exp,
1229 * testsuite/ld-selective/selective.exp,
1230 * testsuite/ld-sh/sh.exp,
1231 * testsuite/ld-shared/shared.exp,
1232 * testsuite/ld-srec/srec.exp,
1233 * testsuite/ld-tic6x/tic6x.exp,
1234 * testsuite/ld-undefined/undefined.exp,
1235 * testsuite/ld-undefined/weak-undef.exp,
1236 * testsuite/lib/ld-lib.exp: Don't use unresolved except after
1237 perror. Instead report "unsupported" or "fail".
1238
c46b7066
NC
12392021-02-12 Nick Clifton <nickc@redhat.com>
1240
1241 * testsuite/ld-elf/sec64k.exp: Stop readelf from automatically
1242 following debug links.
1243
933feaf3
AM
12442021-02-11 Alan Modra <amodra@gmail.com>
1245
1246 * NEWS: Mention arm-symbianelf removal.
1247
a57d1773
AM
12482021-02-09 Alan Modra <amodra@gmail.com>
1249
1250 * Makefile.am (ALL_EMULATION_SOURCES): Remove earmsymbian.c.
1251 Don't include symbian dep file.
1252 * configure.tgt: Remove arm*-*-symbianelf* entry.
1253 * emulparams/armsymbian.sh: Delete.
1254 * ld.texi: Don't mention symbian.
1255 * scripttempl/armbpabi.sc: Delete.
1256 * testsuite/ld-arm/symbian-seg1.d: Delete.
1257 * testsuite/ld-arm/symbian-seg1.s: Delete.
1258 * testsuite/ld-arm/arm-elf.exp: Don't run symbian-seg1.
1259 * Makefile.in: Regenerate.
1260 * po/BLD-POTFILES.in: Regenerate.
1261
38a143aa
L
12622021-02-07 H.J. Lu <hongjiu.lu@intel.com>
1263
1264 PR ld/27358
1265 * testsuite/ld-i386/i386.exp: Remove property 3/4/5 run-time
1266 tests.
1267 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1268
35a01a04
NA
12692021-01-26 Nick Alcock <nick.alcock@oracle.com>
1270
1271 * ldlang.c (lang_merge_ctf): Set CTF_LINK_NO_FILTER_REPORTED_SYMS
1272 when appropriate.
1273
1a2f1b54
L
12742021-02-04 H.J. Lu <hongjiu.lu@intel.com>
1275
1276 PR ld/19609
1277 * testsuite/ld-x86-64/pr19609-2a.d: Updated.
1278 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
1279 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
1280 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
1281 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
1282 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
1283 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
1284
37707bd8
L
12852021-02-04 H.J. Lu <hongjiu.lu@intel.com>
1286
1287 PR ld/15146
1288 * testsuite/ld-plugin/lto.exp: Run PR ld/15146 tests.
1289 * testsuite/ld-plugin/pr15146.d: Restored.
1290 * testsuite/ld-plugin/pr15146a.c: Likewise.
1291 * testsuite/ld-plugin/pr15146b.c: Likewise.
1292 * testsuite/ld-plugin/pr15146c.c: Likewise.
1293 * testsuite/ld-plugin/pr15146d.c: Likewise.
1294
7d409ac0
AM
12952021-02-04 Alan Modra <amodra@gmail.com>
1296
1297 * testsuite/ld-plugin/pr27311d.c: New test.
1298 * testsuite/ld-plugin/lto.exp: Rename pr27311 to pr27311-1, compile
1299 and link new test as pr27311-2.
1300
69551367
AM
13012021-02-03 Alan Modra <amodra@gmail.com>
1302
1303 * testsuite/ld-ifunc/ifunc.exp (libpr16467b.so, libpr16467bn.so):
1304 Link with --as-needed.
1305
9918bff7
AM
13062021-02-02 Alan Modra <amodra@gmail.com>
1307
1308 * testsuite/ld-plugin/pr27311.d,
1309 * testsuite/ld-plugin/pr27311.ver,
1310 * testsuite/ld-plugin/pr27311a.c,
1311 * testsuite/ld-plugin/pr27311b.c,
1312 * testsuite/ld-plugin/pr27311c.c: New testcase.
1313 * testsuite/ld-plugin/lto.exp: Run it. Correct PR14918 and
1314 PR12982 entries.
1315
1f568f9a
EH
13162021-02-01 Emery Hemingway <ehmry@posteo.net>
1317
1318 * configure.tgt: Add *-*-genode* as a target for AArch64 and x86.
1319
fb6c220e
AM
13202021-02-01 Alan Modra <amodra@gmail.com>
1321
1322 * ldgram.y (defsym_expr): Use assignment rule.
1323 * ldlex.h (ldlex_defsym): Delete.
1324 * ldlex.l (DEFSYMEXP, ldlex_defsym): Delete.
1325
40726f16
AM
13262021-02-01 Alan Modra <amodra@gmail.com>
1327
1328 * ldgram.y (section): Call ldlex_backup. Remove empty action.
1329 * ldlex.h (ldlex_backup): Declare.
1330 * ldlex.l (<EXPRESSION>NAME): Don't use NOCFILENAMECHAR set of
1331 chars, use SYMBOLNAMECHAR.
1332 (ldlex_backup): New function.
1333
a5f92c67
AM
13342021-02-01 Alan Modra <amodra@gmail.com>
1335
1336 * ldgram.y: Whitespace fixes.
1337
49daa38f
AM
13382021-02-01 Alan Modra <amodra@gmail.com>
1339
1340 * testsuite/ld-elf/pr27259.d: Correct sh_link match.
1341
c4566785
AM
13422021-01-29 Alan Modra <amodra@gmail.com>
1343
1344 * testsuite/ld-tic6x/tic6x.exp: Add pr27271 test.
1345
53e556e5
L
13462021-01-28 H.J. Lu <hongjiu.lu@intel.com>
1347
1348 PR ld/27259
1349 * testsuite/ld-elf/pr27259.d: New file.
1350 * testsuite/ld-elf/pr27259.s: Likewise.
1351
def97fb9
AM
13522021-01-28 Alan Modra <amodra@gmail.com>
1353
1354 PR 27259
1355 * ldelf.c (ldelf_before_place_orphans): Use linker_mark to
1356 prevent endless looping of linked-to sections.
1357
2eda57ef
L
13582021-01-26 H.J. Lu <hongjiu.lu@intel.com>
1359
1360 * testsuite/ld-x86-64/bnd-plt-1.d: Fix a typo.
1361
1c9c9b9b
AM
13622021-01-26 Alan Modra <amodra@gmail.com>
1363
1364 PR 27226
1365 * emulparams/alphavms.sh: Don't set COMPILE_IN.
1366 * emulparams/elf64_ia64_vms.sh: Likewise.
1367 * emulparams/elf64mmix.sh: Likewise.
1368 * emulparams/elf_iamcu.sh: Likewise.
1369 * emulparams/elf_k1om.sh: Likewise.
1370 * emulparams/elf_l1om.sh: Likewise.
1371 * emulparams/mmo.sh: Likewise.
1372 * emulparams/pdp11.sh: Set DATA_SEG_ADDR.
1373 * scripttempl/pdp11.sc: Use it.
1374 * emultempl/pdp11.em: Don't edit .xn script for separate_code,
1375 instead use .xe script. Support scripts from file system.
1376 * emultempl/beos.em: Support scripts from file system.
1377 * emultempl/pe.em: Likewise.
1378 * emultempl/pep.em: Likewise.
1379 * testsuite/ld-bootstrap/bootstrap.exp: Make tmpdir/ldscripts link.
1380
9e42b976
FS
13812021-01-25 Fangrui Song <maskray@google.com>
1382
1383 PR ld/27230
1384 * scripttempl/DWARF.sc: Add .debug_* sections.
1385
b8df6900
NC
13862021-01-25 Nick Clifton <nickc@redhat.com>
1387
1388 * scripttempl/DWARF.sc: Add .debug_loclists, .debug_rnglists,
1389 .debug_line_str and .debug_str_offsets. Move .debug_macro and
1390 .debug_addr into DWARF-5 section.
1391
c78eec44
AM
13922021-01-21 Alan Modra <amodra@gmail.com>
1393
1394 * testsuite/ld-elf/pr26936.d: No longer xfail mips.
1395
4bd7c902
AM
13962021-01-20 Alan Modra <amodra@gmail.com>
1397
1398 * testsuite/ld-powerpc/relbrlt.s: Make symbols global.
1399 * testsuite/ld-powerpc/relbrlt.d: Adjust to suit.
1400 * testsuite/ld-powerpc/tlsget.d: Adjust for reordered stubs.
1401 * testsuite/ld-powerpc/tlsget.wf: Likewise.
1402 * testsuite/ld-powerpc/tlsget2.d: Likewise.
1403 * testsuite/ld-powerpc/tlsget2.wf: Likewise.
1404 * testsuite/ld-powerpc/tlsexe.r: Adjust for removed section syms.
1405 * testsuite/ld-powerpc/tlsexe32.r: Likewise.
1406 * testsuite/ld-powerpc/tlsexe32no.r: Likewise.
1407 * testsuite/ld-powerpc/tlsexeno.r: Likewise.
1408 * testsuite/ld-powerpc/tlsexenors.r: Likewise.
1409 * testsuite/ld-powerpc/tlsexers.r: Likewise.
1410 * testsuite/ld-powerpc/tlsexetoc.r: Likewise.
1411 * testsuite/ld-powerpc/tlsexetocrs.r: Likewise.
1412 * testsuite/ld-powerpc/tlsso.r: Likewise.
1413 * testsuite/ld-powerpc/tlsso32.r: Likewise.
1414 * testsuite/ld-powerpc/tlstocso.r: Likewise.
1415
c98de297
NA
14162021-01-19 Nick Alcock <nick.alcock@oracle.com>
1417
1418 * testsuite/ld-ctf/data-func-2.c: Stop removal of the extern foo_t
1419 symbols by the optimizer.
1420 * testsuite/ld-ctf/data-func-conflicted.d: Adjust accordingly.
1421
85e963f1
NC
14222021-01-19 Nelson Chu <nelson.chu@sifive.com>
1423
1424 * testsuite/ld-elf/elf.exp (riscv_little_endian): Added. Return true
1425 if target is riscv little endian. Otherwise, return false.
1426 * testsuite/ld-elf/compressed1d.d: Only xfail the riscv little endian
1427 targets by [riscv_little_endian].
1428
326adec3
AM
14292021-01-18 Alan Modra <amodra@gmail.com>
1430
1431 PR 26378
1432 * ldlang.c (map_input_to_output_sections): Start with a read-only
1433 section for data statements.
1434 * testsuite/ld-elf/size-2.d: Adjust to suit.
1435
994b2513
L
14362021-01-17 H.J. Lu <hongjiu.lu@intel.com>
1437
1438 PR ld/27193
1439 * testsuite/ld-i386/i386.exp: Run PR ld/27193 test.
1440 * testsuite/ld-i386/pr27193.dd: New file.
1441 * testsuite/ld-i386/pr27193a.o.bz2: Likewise.
1442 * testsuite/ld-i386/pr27193b.s: Likewise.
1443
edf0f284
L
14442021-01-16 H.J. Lu <hongjiu.lu@intel.com>
1445
1446 PR binutils/23460
1447 * testsuite/ld-plugin/lto.exp: Increase the max number of open
1448 files to 20 for PR binutils/23460 test.
1449
75a933f3
L
14502021-01-16 H.J. Lu <hongjiu.lu@intel.com>
1451
1452 PR ld/23169
1453 * testsuite/ld-ifunc/ifunc.exp: Replace pr23169c.rd with
1454 pr23169a.rd for pr23169c and pr23169f. Remove pr23169e tests.
1455 * testsuite/ld-ifunc/pr23169a.c (foo): Don't compare function
1456 address.
1457
68b00778
L
14582021-01-15 H.J. Lu <hongjiu.lu@intel.com>
1459
1460 * NEWS: Mention -z report-relative-reloc.
1461 * ld.texi: Document -z report-relative-reloc.
1462 * emulparams/elf32_x86_64.sh: Source x86-report-relative.sh.
1463 * emulparams/elf_i386.sh: Likewse.
1464 * emulparams/elf_x86_64.sh: Likewse.
1465 * emulparams/x86-report-relative.sh: New file.
1466 * testsuite/ld-i386/report-reloc-1.d: Likewse.
1467 * testsuite/ld-i386/report-reloc-1.l: Likewse.
1468 * testsuite/ld-i386/report-reloc-1.s: Likewse.
1469 * testsuite/ld-x86-64/report-reloc-1-x32.d: Likewse.
1470 * testsuite/ld-x86-64/report-reloc-1.d: Likewse.
1471 * testsuite/ld-x86-64/report-reloc-1.l: Likewse.
1472 * testsuite/ld-x86-64/report-reloc-1.s: Likewse.
1473 * testsuite/ld-i386/i386.exp: Run report-reloc-1.
1474 * testsuite/ld-x86-64/x86-64.exp: Run report-reloc-1 and
1475 report-reloc-1-x32.
1476
eb6e6af8
AM
14772021-01-16 Alan Modra <amodra@gmail.com>
1478
1479 PR 26002
1480 * testsuite/ld-elfvers/vers6.dsym: Expect "Base" for undefined
1481 unversioned symbols.
1482 * testsuite/ld-elfvers/vers16.dsym: Likewise.
1483
b800637e
NC
14842021-01-15 Nelson Chu <nelson.chu@sifive.com>
1485
1486 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-01.d: Updated.
1487 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-02.d: Likewise.
1488 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-03.d: Likewise.
1489 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-04.d: Likewise.
1490 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-05.d: Likewise.
1491 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-06.d: Likewise.
1492
5a10699f
NC
14932021-01-14 Nick Clifton <nickc@redhat.com>
1494
1495 * po/fr.po: Updated French translation.
1496
271bea6a
MF
14972021-01-14 Mike Frysinger <vapier@gentoo.org>
1498
1499 * testsuite/config/default.exp [bfin*-elf*] (gcc_B_opt): Add -msim.
1500
4120e488
AM
15012021-01-14 Alan Modra <amodra@gmail.com>
1502
1503 PR 27160
1504 * ldelfgen.c (compare_link_order): Protect access of ELF section
1505 data.
1506 (add_link_order_input_section): Remove redundant NULL check.
1507 Use bfd_get_flavour.
1508 (ldelf_map_segments): Use bfd_get_flavour.
1509
b634d11d
L
15102021-01-13 H.J. Lu <hongjiu.lu@intel.com>
1511
1512 * ldelfgen.c (add_link_order_input_section): Check for ELF input
1513 before accessing ELF section data.
1514
5347ed60
AM
15152021-01-13 Alan Modra <amodra@gmail.com>
1516
1517 * Makefile.in: Regenerate.
1518
b209b5a6
AM
15192021-01-13 Alan Modra <amodra@gmail.com>
1520
1521 PR 27160
1522 * ldlang.h (lang_output_section_statement_type): Add data field.
1523 (lang_input_section_type, lang_section_bst_type): Add pattern field.
1524 (statement_list): Declare.
1525 (lang_add_section): Adjust prototype.
1526 * emultempl/aarch64elf.em: Adjust lang_add_section calls.
1527 * emultempl/armelf.em: Likewise.
1528 * emultempl/beos.em: Likewise.
1529 * emultempl/cskyelf.em: Likewise.
1530 * emultempl/hppaelf.em: Likewise.
1531 * emultempl/m68hc1xelf.em: Likewise.
1532 * emultempl/metagelf.em: Likewise.
1533 * emultempl/mipself.em: Likewise.
1534 * emultempl/mmo.em: Likewise.
1535 * emultempl/msp430.em: Likewise.
1536 * emultempl/nios2elf.em: Likewise.
1537 * emultempl/pe.em: Likewise.
1538 * emultempl/pep.em: Likewise.
1539 * emultempl/ppc64elf.em: Likewise.
1540 * emultempl/spuelf.em: Likewise.
1541 * emultempl/vms.em: Likewise.
1542 * ldelf.c: Likewise.
1543 * ldelfgen.c: Include ldctor.h.
1544 (struct os_sections): New.
1545 (add_link_order_input_section, link_order_scan): New functions.
1546 (compare_link_order, fixup_link_order): New functions.
1547 (ldelf_map_segments): Call link_order_scan and fixup_link_order.
1548 * ldlang.c (statement_list): Make global.
1549 (output_section_callback_fast): Save pattern in tree node.
1550 (lang_add_section): Add pattern parameter, save in lang_input_section.
1551 (output_section_callback_tree_to_list): Adjust lang_add_section calls.
1552 (lang_insert_orphan, output_section_callback): Likewise.
1553 (ldlang_place_orphan): Likewise.
1554 (gc_section_callback): Don't set section->pattern.
1555 * testsuite/ld-elf/pr26256-2a.d: Don't xfail generic.
1556 * testsuite/ld-elf/pr26256-3b.d: Likewise.
1557 * testsuite/ld-elf/pr26256-2b.d: Likewise. notarget xgate.
1558
8c4645b4
AM
15592021-01-13 Alan Modra <amodra@gmail.com>
1560
1561 * ldlang.h (callback_t): Remove flag_info function parameter.
1562 * ldlang.c (walk_wild_consider_section): Adjust to suit.
1563 (walk_wild_section_general): Likewise.
1564 (output_section_callback_fast, output_section_callback): Likewise.
1565 (check_section_callback, gc_section_callback): Likewise.
1566 (find_relro_section_callback): Likewise.
1567
d546b610
L
15682021-01-12 H.J. Lu <hongjiu.lu@intel.com>
1569
1570 PR binutils/26792
1571 * configure.ac: Use GNU_MAKE_JOBSERVER.
1572 * aclocal.m4: Regenerated.
1573 * configure: Likewise.
1574
c2e9a4a3
L
15752021-01-12 H.J. Lu <hongjiu.lu@intel.com>
1576
1577 PR ld/27171
1578 * testsuite/ld-x86-64/pe-x86-64-5.obj.bz2: New file.
1579 * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise.
1580 * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise.
1581 * testsuite/ld-x86-64/pe-x86-64.exp: Run PR ld/27171 test.
1582
83b33c6c
L
15832021-01-11 H.J. Lu <hongjiu.lu@intel.com>
1584
1585 PR ld/27173
1586 * configure: Regenerated.
1587
c0f6e439
MJ
15882021-01-11 Matt Jenkins <matt@majenko.co.uk>
1589
1590 PR ld/27167
1591 * ldmain.c (get_emulation): Add mipsmips32r3, mips32r5, mips64r3
1592 and mips64r5 to list of known mips targets.
1593
15942021-01-11 Nick Clifton <nickc@redhat.com>matt@majenko.co.uk
a8aa72b9
NC
1595
1596 * po/pt_BR.po: Updated Brazilian Portuguese translation.
1597` * po/uk.po: Updated Ukranian translation.
1598
a4966cd9
L
15992021-01-09 H.J. Lu <hongjiu.lu@intel.com>
1600
1601 * configure: Regenerated.
1602
0a94990b
L
16032021-01-09 H.J. Lu <hongjiu.lu@intel.com>
1604
1605 PR ld/27166
1606 * testsuite/ld-x86-64/lam-u48.rd: New file.
1607 * testsuite/ld-x86-64/lam-u57.rd: Likewise.
1608 * testsuite/ld-x86-64/x86-64.exp: Add PR ld/27166 tests.
1609
573fe3fb
NC
16102021-01-09 Nick Clifton <nickc@redhat.com>
1611
1612 * configure: Regenerate.
1613 * po/ld.pot: Regenerate.
1614
055bc77a
NC
16152021-01-09 Nick Clifton <nickc@redhat.com>
1616
1617 * 2.36 release branch crated.
1618
ba9e922f
L
16192021-01-08 H.J. Lu <hongjiu.lu@intel.com>
1620
1621 * ld-x86-64/property-x86-lam-u48-4.d: Updated.
1622 * ld-x86-64/property-x86-lam-u48-5.d: Likewise.
1623
64307045
AM
16242021-01-09 Alan Modra <amodra@gmail.com>
1625
1626 * configure: Regenerate.
1627 * Makefile.in: Regenerate.
1628
f4782128
ST
16292021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
1630
1631 * configure: Regenerate.
1632
d1bcae83
L
16332021-01-07 H.J. Lu <hongjiu.lu@intel.com>
1634
1635 PR 27109
1636 * testsuite/ld-elf/export-class.sd: Adjust the expected output.
1637 * testsuite/ld-elf/loadaddr3b.d: Likewise.
1638 * testsuite/ld-i386/ibt-plt-1.d: Likewise.
1639 * testsuite/ld-i386/ibt-plt-2a.d: Likewise.
1640 * testsuite/ld-i386/ibt-plt-2c.d: Likewise.
1641 * testsuite/ld-i386/ibt-plt-3a.d: Likewise.
1642 * testsuite/ld-i386/ibt-plt-3c.d: Likewise.
1643 * testsuite/ld-i386/pr19636-1d.d: Likewise.
1644 * testsuite/ld-i386/pr19636-1l.d: Likewise.
1645 * testsuite/ld-i386/pr19636-2c.d: Likewise.
1646 * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise.
1647 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise.
1648 * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Likewise.
1649 * testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise.
1650 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1651 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1652 * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise.
1653 * testsuite/ld-ifunc/pr17154-i386.d: Likewise.
1654 * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
1655 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
1656 * testsuite/ld-x86-64/bnd-branch-1-now.d: Likewise.
1657 * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise.
1658 * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise.
1659 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
1660 * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise.
1661 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
1662 * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise.
1663 * testsuite/ld-x86-64/ibt-plt-1.d: Likewise.
1664 * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise.
1665 * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise.
1666 * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise.
1667 * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise.
1668 * testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise.
1669 * testsuite/ld-x86-64/ibt-plt-3a.d: Likewise.
1670 * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise.
1671 * testsuite/ld-x86-64/ibt-plt-3c.d: Likewise.
1672 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
1673 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
1674 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
1675 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
1676 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
1677 * testsuite/ld-x86-64/pr19636-2l.d: Likewise.
1678 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
1679 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
1680 * testsuite/ld-x86-64/pr21038b-now.d: Likewise.
1681 * testsuite/ld-x86-64/pr21038b.d: Likewise.
1682 * testsuite/ld-x86-64/pr21038c-now.d: Likewise.
1683 * testsuite/ld-x86-64/pr21038c.d: Likewise.
1684 * testsuite/ld-x86-64/pr23854.d: Likewise.
1685 * testsuite/ld-x86-64/pr25416-3.d: Likewise.
1686 * testsuite/ld-x86-64/pr25416-4.d: Likewise.
1687 * testsuite/ld-i386/plt-pic.pd: Likewise.
1688 * testsuite/ld-i386/plt-pic2.dd: Likewise.
1689 * testsuite/ld-i386/plt.pd: Likewise.
1690 * testsuite/ld-i386/plt2.dd: Likewise.
1691 * testsuite/ld-i386/tlsbin.rd: Likewise.
1692 * testsuite/ld-i386/tlsbin2.rd: Likewise.
1693 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
1694 * testsuite/ld-i386/tlsdesc.rd: Likewise.
1695 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
1696 * testsuite/ld-i386/tlsnopic.rd: Likewise.
1697 * testsuite/ld-i386/tlspic.rd: Likewise.
1698 * testsuite/ld-i386/tlspic2.rd: Likewise.
1699 * testsuite/ld-x86-64/mpx3.dd: Likewise.
1700 * testsuite/ld-x86-64/mpx3n.dd: Likewise.
1701 * testsuite/ld-x86-64/mpx4.dd: Likewise.
1702 * testsuite/ld-x86-64/mpx4n.dd: Likewise.
1703 * testsuite/ld-x86-64/pe-x86-64-1.od: Likewise.
1704 * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise.
1705 * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise.
1706 * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise.
1707 * testsuite/ld-x86-64/plt.pd: Likewise.
1708 * testsuite/ld-x86-64/plt2.dd: Likewise.
1709 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
1710 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
1711 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
1712 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1713 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
1714 * testsuite/ld-x86-64/tlspic.rd: Likewise.
1715 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
1716 * testsuite/ld-elf/sec64k.exp: Check
1717 is_elf_unused_section_symbols.
1718
dc200613
AM
17192021-01-07 Alan Modra <amodra@gmail.com>
1720
1721 * testsuite/ld-scripts/fill.d: Skip sh-*-pe rather than xfail.
1722 * testsuite/ld-scripts/fill16.d: Don't xfail sh-*-pe.
1723 * testsuite/ld-scripts/segment-start.d: Likewise.
1724
8e604ff0
AM
17252021-01-07 Alan Modra <amodra@gmail.com>
1726
1727 * testsuite/ld-elf/comm-data5.d: xfail targets that complain
1728 about dynamic relocations in read-only sections.
1729 * testsuite/ld-elf/ehdr_start-shared.d: Likewise.
1730 * testsuite/ld-elf/ehdr_start.d: Likewise.
1731 * testsuite/ld-scripts/pr22267.d: Likewise.
1732 * testsuite/ld-elf/shared.exp: Likewise for DT_TEXTREL tests and
1733 pr20995 text.
1734 * testsuite/ld-elf/sec64k.exp: Don't run 64ksec on lm32-linux.
1735
4d4490b8
MC
17362021-01-07 Marcus Comstedt <marcus@mc.pp.se>
1737
1738 * testsuite/ld-scripts/empty-address-2a.d: xfail riscv64*-*-*.
1739 * testsuite/ld-scripts/empty-address-2b.d: Likewise.
1740
f526791a
AM
17412021-01-07 Alan Modra <amodra@gmail.com>
1742
1743 * po/BLD-POTFILES.in: Regenerate.
1744
4018f4e0
AM
17452021-01-07 Alan Modra <amodra@gmail.com>
1746
1747 * testsuite/ld-elf/shared.exp: xfail pr22471 for targets that
1748 complain about relocs in read-only sections. Tidy ASFLAGS append.
1749
3677b729
AM
17502021-01-06 Alan Modra <amodra@gmail.com>
1751
1752 * testsuite/ld-sparc/sparc.exp (sparc64tests): Set text-segment
1753 base for some tests.
1754 * testsuite/ld-sparc/gotop32.dd: Match solaris output.
1755 * testsuite/ld-sparc/gotop32.sd: Likewise.
1756 * testsuite/ld-sparc/gotop32.td: Likewise.
1757 * testsuite/ld-sparc/gotop64.dd: Likewise.
1758 * testsuite/ld-sparc/gotop64.sd: Likewise.
1759 * testsuite/ld-sparc/gotop64.td: Likewise.
1760 * testsuite/ld-sparc/tlsg32.sd: Likewise.
1761 * testsuite/ld-sparc/tlsg64.sd: Likewise.
1762 * testsuite/ld-sparc/tlspie32.dd: Likewise.
1763 * testsuite/ld-sparc/tlspie64.dd: Likewise.
1764 * testsuite/ld-sparc/tlssunbin32.dd: Likewise.
1765 * testsuite/ld-sparc/tlssunbin32.sd: Likewise.
1766 * testsuite/ld-sparc/tlssunbin32.td: Likewise.
1767 * testsuite/ld-sparc/tlssunbin64.dd: Likewise.
1768 * testsuite/ld-sparc/tlssunbin64.sd: Likewise.
1769 * testsuite/ld-sparc/tlssunbin64.td: Likewise.
1770 * testsuite/ld-sparc/tlssunnopic32.dd: Likewise.
1771 * testsuite/ld-sparc/tlssunnopic32.sd: Likewise.
1772 * testsuite/ld-sparc/tlssunnopic64.dd: Likewise.
1773 * testsuite/ld-sparc/tlssunnopic64.sd: Likewise.
1774 * testsuite/ld-sparc/tlssunpic32.dd: Likewise.
1775 * testsuite/ld-sparc/tlssunpic32.sd: Likewise.
1776 * testsuite/ld-sparc/tlssunpic32.td: Likewise.
1777 * testsuite/ld-sparc/tlssunpic64.dd: Likewise.
1778 * testsuite/ld-sparc/tlssunpic64.sd: Likewise.
1779 * testsuite/ld-sparc/tlssunpic64.td: Likewise.
1780 * testsuite/ld-sparc/wdispcall.dd: Likewise.
1781
73624512
AM
17822021-01-06 Alan Modra <amodra@gmail.com>
1783
1784 * testsuite/ld-scripts/rgn-at10.d: xfail v850.
1785 * testsuite/ld-scripts/rgn-at11.d: Likewise.
1786
f36ce378
MC
17872021-01-06 Marcus Comstedt <marcus@mc.pp.se>
1788
1789 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Added
1790 riscv_choose_[ilp32|lp64]_emul to choose the correct linker script.
1791 * testsuite/ld-riscv-elf/attr-merge-arch-01.d: Call
1792 riscv_choose_[ilp32|lp64]_emul instead of hardcoding elf[32|64]lriscv.
1793 * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
1794 * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
1795 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Likewise.
1796 * testsuite/ld-riscv-elf/attr-merge-arch-failed-02.d: Likewise.
1797 * testsuite/ld-riscv-elf/c-lui-2.d: Likewise.
1798 * testsuite/ld-riscv-elf/c-lui.d: Likewise.
1799 * testsuite/ld-riscv-elf/call-relax.d: Likewise.
1800 * testsuite/ld-riscv-elf/pcrel-lo-addend-2.d: Likewise.
1801 * testsuite/ld-riscv-elf/pcrel-lo-addend.d: Likewise.
1802 * testsuite/ld-riscv-elf/weakref32.d: Accept bigriscv in addition
1803 to littleriscv.
1804 * testsuite/ld-riscv-elf/weakref64.d: Likewise.
1805
fbc09e7a
MC
18062021-01-06 Marcus Comstedt <marcus@mc.pp.se>
1807
1808 * configure.tgt: Added riscvbe-*-*, riscv32be*-*-*, riscv64be*-*-*,
1809 riscv32be*-*-linux*, and riscv64be*-*-linux*.
1810 * Makefile.am: Added eelf32briscv.c, eelf32briscv_ilp32f.c and
1811 eelf32briscv_ilp32.c.
1812 * Makefile.in: Regenerate.
1813 * emulparams/elf32briscv.sh: Added.
1814 * emulparams/elf32briscv_ilp32.sh: Likewise.
1815 * emulparams/elf32briscv_ilp32f.sh: Likewise.
1816 * emulparams/elf64briscv.sh: Likewise.
1817 * emulparams/elf64briscv_lp64.sh: Likewise.
1818 * emulparams/elf64briscv_lp64f.sh: Likewise.
1819
b4b6ea46
NA
18202021-01-05 Nick Alcock <nick.alcock@oracle.com>
1821
1822 * testsuite/ld-ctf/enum-forward.c: New test.
1823 * testsuite/ld-ctf/enum-forward.c: New results.
1824
37002871
NA
18252021-01-05 Nick Alcock <nick.alcock@oracle.com>
1826
1827 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
1828 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
1829 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
1830 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
1831 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
1832 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
1833 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
1834 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
1835 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
1836 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
1837 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
1838 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
1839 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
1840 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
1841 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
1842 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
1843 * testsuite/ld-ctf/cycle-1.d: Likewise.
1844 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
1845 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
1846 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
1847 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
1848 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
1849 * testsuite/ld-ctf/diag-cuname.d: Likewise.
1850 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
1851 * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise.
1852 * testsuite/ld-ctf/forward.d: Likewise.
1853 * testsuite/ld-ctf/function.d: Likewise.
1854 * testsuite/ld-ctf/slice.d: Likewise.
1855 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
1856 * testsuite/ld-ctf/enums.c: New test.
1857 * testsuite/ld-ctf/enums.d: New test.
1858
ffeece6a
NA
18592021-01-05 Nick Alcock <nick.alcock@oracle.com>
1860
1861 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Adjust for dumper
1862 changes.
1863 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
1864 * testsuite/ld-ctf/forward.c: New test...
1865 * testsuite/ld-ctf/forward.d: ... and results.
1866
91e7ce2f
NA
18672021-01-05 Nick Alcock <nick.alcock@oracle.com>
1868
1869 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
1870 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
1871 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
1872 * testsuite/ld-ctf/diag-cuname.d: Likewise.
1873 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
1874 * testsuite/ld-ctf/function.d: Likewise.
1875 * testsuite/ld-ctf/slice.d: Likewise.
1876
57f97d0e
NA
18772021-01-05 Nick Alcock <nick.alcock@oracle.com>
1878
1879 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
1880 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
1881 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
1882 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
1883 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
1884 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
1885 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
1886 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
1887 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
1888 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
1889 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
1890 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
1891 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
1892 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
1893 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
1894 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
1895 * testsuite/ld-ctf/cycle-1.d: Likewise.
1896 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
1897 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
1898 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
1899 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
1900 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
1901 * testsuite/ld-ctf/diag-cuname.d: Likewise.
1902 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
1903 * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise.
1904 * testsuite/ld-ctf/function.d: Likewise.
1905 * testsuite/ld-ctf/slice.d: Likewise.
1906 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
1907
b281a04f
AM
19082021-01-05 Alan Modra <amodra@gmail.com>
1909
1910 * testsuite/ld-scripts/sysroot-prefix.exp: Exclude some targets.
1911
40b11930
AM
19122021-01-05 Alan Modra <amodra@gmail.com>
1913
1914 PR ld/26256
1915 * testsuite/ld-elf/pr26256-1b.d: xfail s12z.
1916 * testsuite/ld-scripts/crossref.exp (cross1): Don't xfail ia64.
1917
cd6d537c
L
19182021-01-04 H.J. Lu <hongjiu.lu@intel.com>
1919
1920 PR ld/26256
1921 * ldlang.c (gc_section_callback): Set pattern.
1922 * testsuite/ld-elf/pr26256-1.s: New file.
1923 * testsuite/ld-elf/pr26256-1.t: Likewise.
1924 * testsuite/ld-elf/pr26256-1a.d: Likewise.
1925 * testsuite/ld-elf/pr26256-1b.d: Likewise.
1926 * testsuite/ld-elf/pr26256-2.s: Likewise.
1927 * testsuite/ld-elf/pr26256-2.t: Likewise.
1928 * testsuite/ld-elf/pr26256-2a.d: Likewise.
1929 * testsuite/ld-elf/pr26256-2b-alt.d: Likewise.
1930 * testsuite/ld-elf/pr26256-2b.d: Likewise.
1931 * testsuite/ld-elf/pr26256-3.s: Likewise.
1932 * testsuite/ld-elf/pr26256-3a.d: Likewise.
1933 * testsuite/ld-elf/pr26256-3a.t: Likewise.
1934 * testsuite/ld-elf/pr26256-3b.d: Likewise.
1935 * testsuite/ld-elf/pr26256-3b.t: Likewise.
1936
5b4293ba
AM
19372021-01-04 Alan Modra <amodra@gmail.com>
1938
1939 PR 26822
1940 * testsuite/ld-arm/non-contiguous-arm2.d: Adjust STT_FILE symbol match.
1941 * testsuite/ld-arm/non-contiguous-arm3.d: Likewise.
1942 * testsuite/ld-arm/non-contiguous-arm5.d: Likewise.
1943 * testsuite/ld-arm/non-contiguous-arm6.d: Likewise.
1944 * testsuite/ld-i386/tlsbin.rd: Likewise.
1945 * testsuite/ld-i386/tlsbin2.rd: Likewise.
1946 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
1947 * testsuite/ld-i386/tlsdesc.rd: Likewise.
1948 * testsuite/ld-i386/tlsnopic.rd: Likewise.
1949 * testsuite/ld-i386/tlspic.rd: Likewise.
1950 * testsuite/ld-i386/tlspic2.rd: Likewise.
1951 * testsuite/ld-mips-elf/global-local-symtab-sort-n64.d: Likewise.
1952 * testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d: Likewise.
1953 * testsuite/ld-mips-elf/global-local-symtab-sort-o32.d: Likewise.
1954 * testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d: Likewise.
1955 * testsuite/ld-plugin/pr17973.d: Likewise.
1956 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
1957 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
1958 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
1959 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
1960 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
1961 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
1962 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
1963 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
1964 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
1965 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
1966 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
1967 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
1968 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
1969 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
1970 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
1971 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
1972 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1973 * testsuite/ld-x86-64/tlspic.rd: Likewise.
1974 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
1975 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
1976 * testsuite/ld-xtensa/tlspic.rd: Likewise.
1977
f9a6a8f0
AM
19782021-01-01 Nicolas Boulenguez <nicolas@debian.org>
1979
1980 * configure.tgt: Correct comment grammar.
1981 * emultempl/m68hc1xelf.em: Likewise.
1982 * ld.texi: Correct grammar.
1983
250d07de
AM
19842021-01-01 Alan Modra <amodra@gmail.com>
1985
1986 Update year range in copyright notice of all files.
1987
c2795844 1988For older changes see ChangeLog-2020
3499769a 1989\f
a2c58332 1990Copyright (C) 2021-2022 Free Software Foundation, Inc.
3499769a
AM
1991
1992Copying and distribution of this file, with or without modification,
1993are permitted in any medium without royalty provided the copyright
1994notice and this notice are preserved.
1995
1996Local Variables:
1997mode: change-log
1998left-margin: 8
1999fill-column: 74
2000version-control: never
2001End: