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