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