]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/ChangeLog
DWARF LTO debug sections vs. .stabstr
[thirdparty/binutils-gdb.git] / ld / ChangeLog
CommitLineData
15407e7e
AM
12021-03-20 Alan Modra <amodra@gmail.com>
2
3 PR 27590
4 * ldlang.c (lang_gc_sections): Clear SEC_EXCLUDE when relocatable
5 for all sections except .stabstr.
6
fba7f753
AM
72021-03-19 Alan Modra <amodra@gmail.com>
8
9 PR 27590
10 * testsuite/ld-elf/pr27590a.d: Match relocs using label, and
11 R_MIPS_NONE.
12 * testsuite/ld-elf/pr27590b.d: Likewise.
13
3818d4ab
L
142021-03-18 H.J. Lu <hongjiu.lu@intel.com>
15
16 PR ld/27590
17 * testsuite/ld-elf/pr27590.s: New file.
18 * testsuite/ld-elf/pr27590a.d: Likewise.
19 * testsuite/ld-elf/pr27590b.d: Likewise.
20 * testsuite/ld-i386/i386.exp: Also run ld/27193 test with
21 --reduce-memory-overheads.
22
51f6e7a9
L
232021-03-18 H.J. Lu <hongjiu.lu@intel.com>
24
25 PR ld/27587
26 * testsuite/ld-x86-64/pr27587.err: New file.
27 * testsuite/ld-x86-64/pr27587a.obj.bz2: Likewise.
28 * testsuite/ld-x86-64/pr27587b.obj.bz2: Likewise.
29 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/27587 test.
30
69a28486
NA
312021-03-18 Nick Alcock <nick.alcock@oracle.com>
32
33 * testsuite/ld-ctf/slice.c: Check slices of enums too.
34 * testsuite/ld-ctf/slice.d: Results adjusted.
35
ee42883c
NC
362021-03-16 Nick Clifton <nickc@redhat.com>
37
38 * pe-dll.c (pe_find_cdecl_alias_match): Use memmove to overwrite
39 lname string.
40
c68b1842
JB
412021-03-15 Jan Beulich <jbeulich@suse.com>
42
43 * pe-dll.c (generate_reloc): Drop padding to reloc_s->size.
44
203a206d
AM
452021-03-12 Alan Modra <amodra@gmail.com>
46
47 * Makefile.am (ALL_EMULATION_SOURCES): Move riscv files to..
48 (ALL_64_EMULATION_SOURCES): ..here.
49 * Makefile.in: Regenerate.
50
1b2cb8e2
CC
512021-03-12 Clément Chigot <clement.chigot@atos.net>
52
53 * emultempl/aix.em: Ensure .tdata section is removed
54 if empty, even with -r flag.
55 * scripttempl/aix.sc: Handle TLS sections.
56 * testsuite/ld-powerpc/aix52.exp: Add new tests.
57 * testsuite/ld-powerpc/aix-tls-reloc-32.d: New test.
58 * testsuite/ld-powerpc/aix-tls-reloc-64.d: New test.
59 * testsuite/ld-powerpc/aix-tls-reloc.ex: New test.
60 * testsuite/ld-powerpc/aix-tls-reloc.s: New test.
61 * testsuite/ld-powerpc/aix-tls-section-32.d: New test.
62 * testsuite/ld-powerpc/aix-tls-section-64.d: New test.
63 * testsuite/ld-powerpc/aix-tls-section.ex: New test.
64 * testsuite/ld-powerpc/aix-tls-section.s: New test.
65
4a403be0
CC
662021-03-12 Clément Chigot <clement.chigot@atos.net>
67
68 * scripttempl/aix.sc: Add .te to .data section.
69 * testsuite/ld-powerpc/aix52.exp: Add test structure for AIX7+.
70 Add aix-largetoc-1 test.
71 * testsuite/ld-powerpc/aix-largetoc-1-32.d: New test.
72 * testsuite/ld-powerpc/aix-largetoc-1-64.d: New test.
73 * testsuite/ld-powerpc/aix-largetoc-1.ex: New test.
74 * testsuite/ld-powerpc/aix-largetoc-1.s: New test.
75
68cb2183
AM
762021-03-12 Alan Modra <amodra@gmail.com>
77
78 * testsuite/ld-gc/gc.exp: Pass "-image-base 0" to ld for PE, and
79 arrange to define __main for some run_dump_test tests.
80 * testsuite/ld-gc/pr13683.d: Accept more symbols.
81 * testsuite/ld-gc/pr14265.d: Likewise, and ordering.
82 * testsuite/ld-scripts/crossref.exp: Pass "-image-base 0" to ld for PE.
83 * testsuite/ld-srec/srec.exp: Likewise.
84 * testsuite/lib/ld-lib.exp (ld_link_defsyms): Use is_pecoff_format.
85
ebdcad3f
NC
862021-03-11 Nelson Chu <nelson.chu@sifive.com>
87
88 * emultempl/riscvelf.em (after_allocation): Run ldelf_map_segments
89 many times if riscv_restart_relax_sections returns TRUE.
90 * testsuite/ld-riscv-elf/restart-relax.d: New testcase. Before
91 applying this patch, the call won't be relaxed to jal; But now we
92 have more chances to do relaxations.
93 * testsuite/ld-riscv-elf/restart-relax.s: Likewise.
94 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
95
67b0f684
JB
962021-03-10 Jan Beulich <jbeulich@suse.com>
97
98 * testsuite/ld-scripts/pr22267.t: Avoid symbol value with more
99 than 32 set bits.
100 * testsuite/ld-scripts/pr22267.d: Adjust expectation and drop
101 comment.
102 * scripttempl/mcorepe.sc: Use PROVIDE() for _stack.
103
5dc75cf3
JB
1042021-03-09 Jan Beulich <jbeulich@suse.com>
105
106 * testsuite/ld-pe/reloc.s: Add entry point symbols. Increase
107 alignment to 4k.
108 * testsuite/ld-pe/reloc.d: xfail for mcore.
109
87fa7d56
JB
1102021-03-09 Jan Beulich <jbeulich@suse.com>
111
112 * testsuite/ld-scripts/alignof.exp,
113 testsuite/ld-scripts/data.exp,
114 testsuite/ld-scripts/default-script.exp,
115 testsuite/ld-scripts/log2.exp,
116 testsuite/ld-scripts/print-memory-usage.exp,
117 testsuite/ld-scripts/sizeof.exp,
118 testsuite/ld-undefined/weak-undef.exp: Set image base to zero
119 for PE/COFF.
120 * testsuite/ld-scripts/default-script1.d,
121 testsuite/ld-scripts/default-script2.d,
122 testsuite/ld-scripts/default-script3.d,
123 testsuite/ld-scripts/default-script4.d: Drop xfail and comment.
124
8c0546e9
L
1252021-03-05 H.J. Lu <hongjiu.lu@intel.com>
126
127 PR ld/27425
128 PR ld/27432
129 * ldelf.c (ldelf_set_output_arch): New function.
130 * ldelf.h (ldelf_set_output_arch): New prototype.
131 * emultempl/elf.em (LDEMUL_SET_OUTPUT_ARCH): Default to
132 ldelf_set_output_arch.
133 * ld-x86-64/pe-x86-64-1.od: Expect __executable_start.
134 * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise.
135 * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise.
136 * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise.
137 * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise.
138 * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise.
139 * testsuite/ld-x86-64/pe-x86-64-6.obj.bz2: New file.
140 * testsuite/ld-x86-64/pe-x86-64-6.od: Likewise.
141 * testsuite/ld-x86-64/pe-x86-64.exp: Run ld/27425 test.
142
d4e5db4e
JB
1432021-03-04 Jan Beulich <jbeulich@suse.com>
144
145 * testsuite/ld-scripts/map-address.exp: Set image base to zero
146 for PE/COFF.
147 * testsuite/ld-scripts/map-address.t: Place .text.
148
6fa7408d
JB
1492021-03-04 Jan Beulich <jbeulich@suse.com>
150
151 * ldexp.c (ldexp_is_final_sym_absolute): New.
152 * ldexp.h (ldexp_is_final_sym_absolute): Declare.
153 * pe-dll.c (generate_reloc): Skip absolute symbols.
154 * testsuite/ld-pe/reloc.s, testsuite/ld-pe/reloc.d: New.
155 * testsuite/ld-pe/pe.exp: Run new test.
156
5789f845
AM
1572021-03-03 Alan Modra <amodra@gmail.com>
158
159 PR 27500
160 * ldlang.c (insert_undefined): Don't mark symbols here.
161 (lang_mark_undefineds): Do so here instead, new function.
162 (lang_process): Call lang_mark_undefineds.
163 * testsuite/ld-gc/start3.d,
164 * testsuite/ld-gc/start3.s: New test.
165 * testsuite/ld-gc/start4.d,
166 * testsuite/ld-gc/start4.s: New test.
167 * testsuite/ld-gc/gc.exp: Run them.
168
270f32fc
AM
1692021-03-03 Alan Modra <amodra@gmail.com>
170
171 * testsuite/ld-gc/gc.exp: Define UNDERSCORE in ASFLAGS.
172 Move tests with ELF section directives to is_elf_format block.
173 * testsuite/ld-gc/abi-note.d: Run on more targets.
174 * testsuite/ld-gc/pr19167.d: Likewise and adjust xfails.
175 * testsuite/ld-gc/start.d: Likewise.
176 * testsuite/ld-gc/start2.d: Likewise.
177 * testsuite/ld-gc/stop.d: Likewise.
178 * testsuite/ld-gc/pr19167a.s: Add support for underscore targets.
179 * testsuite/ld-gc/start.s: Likewise.
180 * testsuite/ld-gc/start2.s: Likewise.
181
211bcd01
NA
1822021-03-02 Nick Alcock <nick.alcock@oracle.com>
183
184 * ldelfgen.c (ldelf_ctf_strtab_iter_cb): Skip zero-refcount strings.
185
b80e421f
AM
1862021-03-02 Alan Modra <amodra@gmail.com>
187
188 * testsuite/ld-powerpc/startstop.d,
189 * testsuite/ld-powerpc/startstop.r,
190 * testsuite/ld-powerpc/startstop.s: New test.
191 * testsuite/ld-powerpc/powerpc.exp: Run it.
192
f5b9c288
AM
1932021-03-02 Alan Modra <amodra@gmail.com>
194
195 * testsuite/ld-powerpc/weak1.d,
196 * testsuite/ld-powerpc/weak1.r,
197 * testsuite/ld-powerpc/weak1.s,
198 * testsuite/ld-powerpc/weak1so.d,
199 * testsuite/ld-powerpc/weak1so.r: New tests.
200 * testsuite/ld-powerpc/powerpc.exp: Run them.
201
ba6eb62f
NC
2022021-03-01 Hannes Domani <ssbssa@sourceware.org>
203 Nick Clifton <nickc@redhat.com>
204
205 PR 27268
206 * scripttempl/pe.sc: Add DWARF-5 section names.
207 * scripttempl/pep.sc: Likewise.
208
8ee10e86
AM
2092021-03-01 Alan Modra <amodra@gmail.com>
210 Fangrui Song <maskray@google.com>
211
212 * emultempl/elf.em: Handle -z start-stop-gc and -z nostart-stop-gc.
213 * lexsup.c (elf_static_list_options): Display help for them. Move
214 help for -z stack-size to here from elf_shlib_list_options. Add
215 help for -z start-stop-visibility and -z undefs.
216 * ld.texi: Document -z start-stop-gc and -z nostart-stop-gc.
217 * NEWS: Mention -z start-stop-gc.
218 * testsuite/ld-gc/start2.s,
219 * testsuite/ld-gc/start2.d: New test.
220 * testsuite/ld-gc/gc.exp: Run it.
221
7824c1d2
AM
2222021-03-01 Alan Modra <amodra@gmail.com>
223
224 * ldlang.c (undef_start_stop): For ELF make undefined start/stop
225 symbols undefweak if that was how they were referenced. Undo
226 dynamic state too.
227
6a1224ec
AM
2282021-03-01 Alan Modra <amodra@gmail.com>
229
230 * testsuite/ld-elf/pr25708.d: Add --with-symbol-versions to nm.
231 * testsuite/ld-elf/pr27128a.d: Likewise.
232 * testsuite/ld-elf/pr27128b.d: Likewise.
233 * testsuite/ld-elf/pr27128c.d: Likewise.
234 * testsuite/ld-elf/pr27128d.d: Likewise.
235 * testsuite/ld-elf/pr27128e.d: Likewise.
236
bfece756
AM
2372021-02-26 Alan Modra <amodra@gmail.com>
238
239 PR 27441
240 * testsuite/ld-plugin/pr27441a.c,
241 * testsuite/ld-plugin/pr27441b.c,
242 * testsuite/ld-plugin/pr27441c.c,
243 * testsuite/ld-plugin/pr27441c.d: New test.
244 * testsuite/ld-plugin/lto.exp: Run it.
245
3c27360b
JB
2462021-02-25 Jan Beulich <jbeulich@suse.com>
247
248 * ld.texi (PROVIDE): Downgrade "error" to "diagnostic".
249
89753bbf
AM
2502021-02-21 Alan Modra <amodra@gmail.com>
251
252 * ldexp.c (exp_fold_tree_1): Warn on script defining a symbol
253 defined in an object file.
254 * ldmain.c (multiple_definition): Heed info->warn_multiple_definition.
255 * testsuite/ld-scripts/defined5.d: Expect a warning.
256
2f973f13
AM
2572021-02-19 Alan Modra <amodra@gmail.com>
258
259 * testsuite/lib/ld-lib.exp: Whitespace.
260 (load_common_lib): Expand single use and delete this proc.
261 (run_host_cmd): Use -fno-lto when getting gcc's ld version.
262 Use -B for clang too.
263
a364a116
AB
2642021-02-18 Andrew Burgess <andrew.burgess@embecosm.com>
265
266 * testplugin.c (record_read_length): Remove debug fprintf.
267
5b1f6c95
AM
2682021-02-14 Alan Modra <amodra@gmail.com>
269
270 * testsuite/ld-cdtest/cdtest.exp,
271 * testsuite/ld-checks/checks.exp,
272 * testsuite/ld-elf/binutils.exp,
273 * testsuite/ld-elf/compress.exp,
274 * testsuite/ld-elf/dwarf.exp,
275 * testsuite/ld-elf/exclude.exp,
276 * testsuite/ld-elf/frame.exp,
277 * testsuite/ld-elf/indirect.exp,
278 * testsuite/ld-elf/linux-x86.exp,
279 * testsuite/ld-elf/sec-to-seg.exp,
280 * testsuite/ld-elf/tls_common.exp,
281 * testsuite/ld-elfcomm/elfcomm.exp,
282 * testsuite/ld-elfvers/vers.exp,
283 * testsuite/ld-elfvsb/elfvsb.exp,
284 * testsuite/ld-elfweak/elfweak.exp,
285 * testsuite/ld-ifunc/binutils.exp,
286 * testsuite/ld-mips-elf/mips-elf-flags.exp,
287 * testsuite/ld-misc/defsym.exp,
288 * testsuite/ld-mn10300/mn10300.exp,
289 * testsuite/ld-plugin/lto.exp,
290 * testsuite/ld-plugin/plugin.exp,
291 * testsuite/ld-scripts/align.exp,
292 * testsuite/ld-scripts/assert.exp,
293 * testsuite/ld-scripts/crossref.exp,
294 * testsuite/ld-scripts/defined.exp,
295 * testsuite/ld-scripts/extern.exp,
296 * testsuite/ld-scripts/log2.exp,
297 * testsuite/ld-scripts/map-address.exp,
298 * testsuite/ld-scripts/phdrs.exp,
299 * testsuite/ld-scripts/phdrs2.exp,
300 * testsuite/ld-scripts/script.exp,
301 * testsuite/ld-scripts/section-flags.exp,
302 * testsuite/ld-scripts/sizeof.exp,
303 * testsuite/ld-scripts/weak.exp,
304 * testsuite/ld-selective/selective.exp,
305 * testsuite/ld-sh/sh.exp,
306 * testsuite/ld-shared/shared.exp,
307 * testsuite/ld-srec/srec.exp,
308 * testsuite/ld-tic6x/tic6x.exp,
309 * testsuite/ld-undefined/undefined.exp,
310 * testsuite/ld-undefined/weak-undef.exp,
311 * testsuite/lib/ld-lib.exp: Don't use unresolved except after
312 perror. Instead report "unsupported" or "fail".
313
c46b7066
NC
3142021-02-12 Nick Clifton <nickc@redhat.com>
315
316 * testsuite/ld-elf/sec64k.exp: Stop readelf from automatically
317 following debug links.
318
933feaf3
AM
3192021-02-11 Alan Modra <amodra@gmail.com>
320
321 * NEWS: Mention arm-symbianelf removal.
322
a57d1773
AM
3232021-02-09 Alan Modra <amodra@gmail.com>
324
325 * Makefile.am (ALL_EMULATION_SOURCES): Remove earmsymbian.c.
326 Don't include symbian dep file.
327 * configure.tgt: Remove arm*-*-symbianelf* entry.
328 * emulparams/armsymbian.sh: Delete.
329 * ld.texi: Don't mention symbian.
330 * scripttempl/armbpabi.sc: Delete.
331 * testsuite/ld-arm/symbian-seg1.d: Delete.
332 * testsuite/ld-arm/symbian-seg1.s: Delete.
333 * testsuite/ld-arm/arm-elf.exp: Don't run symbian-seg1.
334 * Makefile.in: Regenerate.
335 * po/BLD-POTFILES.in: Regenerate.
336
38a143aa
L
3372021-02-07 H.J. Lu <hongjiu.lu@intel.com>
338
339 PR ld/27358
340 * testsuite/ld-i386/i386.exp: Remove property 3/4/5 run-time
341 tests.
342 * testsuite/ld-x86-64/x86-64.exp: Likewise.
343
35a01a04
NA
3442021-01-26 Nick Alcock <nick.alcock@oracle.com>
345
346 * ldlang.c (lang_merge_ctf): Set CTF_LINK_NO_FILTER_REPORTED_SYMS
347 when appropriate.
348
1a2f1b54
L
3492021-02-04 H.J. Lu <hongjiu.lu@intel.com>
350
351 PR ld/19609
352 * testsuite/ld-x86-64/pr19609-2a.d: Updated.
353 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
354 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
355 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
356 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
357 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
358 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
359
37707bd8
L
3602021-02-04 H.J. Lu <hongjiu.lu@intel.com>
361
362 PR ld/15146
363 * testsuite/ld-plugin/lto.exp: Run PR ld/15146 tests.
364 * testsuite/ld-plugin/pr15146.d: Restored.
365 * testsuite/ld-plugin/pr15146a.c: Likewise.
366 * testsuite/ld-plugin/pr15146b.c: Likewise.
367 * testsuite/ld-plugin/pr15146c.c: Likewise.
368 * testsuite/ld-plugin/pr15146d.c: Likewise.
369
7d409ac0
AM
3702021-02-04 Alan Modra <amodra@gmail.com>
371
372 * testsuite/ld-plugin/pr27311d.c: New test.
373 * testsuite/ld-plugin/lto.exp: Rename pr27311 to pr27311-1, compile
374 and link new test as pr27311-2.
375
69551367
AM
3762021-02-03 Alan Modra <amodra@gmail.com>
377
378 * testsuite/ld-ifunc/ifunc.exp (libpr16467b.so, libpr16467bn.so):
379 Link with --as-needed.
380
9918bff7
AM
3812021-02-02 Alan Modra <amodra@gmail.com>
382
383 * testsuite/ld-plugin/pr27311.d,
384 * testsuite/ld-plugin/pr27311.ver,
385 * testsuite/ld-plugin/pr27311a.c,
386 * testsuite/ld-plugin/pr27311b.c,
387 * testsuite/ld-plugin/pr27311c.c: New testcase.
388 * testsuite/ld-plugin/lto.exp: Run it. Correct PR14918 and
389 PR12982 entries.
390
1f568f9a
EH
3912021-02-01 Emery Hemingway <ehmry@posteo.net>
392
393 * configure.tgt: Add *-*-genode* as a target for AArch64 and x86.
394
fb6c220e
AM
3952021-02-01 Alan Modra <amodra@gmail.com>
396
397 * ldgram.y (defsym_expr): Use assignment rule.
398 * ldlex.h (ldlex_defsym): Delete.
399 * ldlex.l (DEFSYMEXP, ldlex_defsym): Delete.
400
40726f16
AM
4012021-02-01 Alan Modra <amodra@gmail.com>
402
403 * ldgram.y (section): Call ldlex_backup. Remove empty action.
404 * ldlex.h (ldlex_backup): Declare.
405 * ldlex.l (<EXPRESSION>NAME): Don't use NOCFILENAMECHAR set of
406 chars, use SYMBOLNAMECHAR.
407 (ldlex_backup): New function.
408
a5f92c67
AM
4092021-02-01 Alan Modra <amodra@gmail.com>
410
411 * ldgram.y: Whitespace fixes.
412
49daa38f
AM
4132021-02-01 Alan Modra <amodra@gmail.com>
414
415 * testsuite/ld-elf/pr27259.d: Correct sh_link match.
416
c4566785
AM
4172021-01-29 Alan Modra <amodra@gmail.com>
418
419 * testsuite/ld-tic6x/tic6x.exp: Add pr27271 test.
420
53e556e5
L
4212021-01-28 H.J. Lu <hongjiu.lu@intel.com>
422
423 PR ld/27259
424 * testsuite/ld-elf/pr27259.d: New file.
425 * testsuite/ld-elf/pr27259.s: Likewise.
426
def97fb9
AM
4272021-01-28 Alan Modra <amodra@gmail.com>
428
429 PR 27259
430 * ldelf.c (ldelf_before_place_orphans): Use linker_mark to
431 prevent endless looping of linked-to sections.
432
2eda57ef
L
4332021-01-26 H.J. Lu <hongjiu.lu@intel.com>
434
435 * testsuite/ld-x86-64/bnd-plt-1.d: Fix a typo.
436
1c9c9b9b
AM
4372021-01-26 Alan Modra <amodra@gmail.com>
438
439 PR 27226
440 * emulparams/alphavms.sh: Don't set COMPILE_IN.
441 * emulparams/elf64_ia64_vms.sh: Likewise.
442 * emulparams/elf64mmix.sh: Likewise.
443 * emulparams/elf_iamcu.sh: Likewise.
444 * emulparams/elf_k1om.sh: Likewise.
445 * emulparams/elf_l1om.sh: Likewise.
446 * emulparams/mmo.sh: Likewise.
447 * emulparams/pdp11.sh: Set DATA_SEG_ADDR.
448 * scripttempl/pdp11.sc: Use it.
449 * emultempl/pdp11.em: Don't edit .xn script for separate_code,
450 instead use .xe script. Support scripts from file system.
451 * emultempl/beos.em: Support scripts from file system.
452 * emultempl/pe.em: Likewise.
453 * emultempl/pep.em: Likewise.
454 * testsuite/ld-bootstrap/bootstrap.exp: Make tmpdir/ldscripts link.
455
9e42b976
FS
4562021-01-25 Fangrui Song <maskray@google.com>
457
458 PR ld/27230
459 * scripttempl/DWARF.sc: Add .debug_* sections.
460
b8df6900
NC
4612021-01-25 Nick Clifton <nickc@redhat.com>
462
463 * scripttempl/DWARF.sc: Add .debug_loclists, .debug_rnglists,
464 .debug_line_str and .debug_str_offsets. Move .debug_macro and
465 .debug_addr into DWARF-5 section.
466
c78eec44
AM
4672021-01-21 Alan Modra <amodra@gmail.com>
468
469 * testsuite/ld-elf/pr26936.d: No longer xfail mips.
470
4bd7c902
AM
4712021-01-20 Alan Modra <amodra@gmail.com>
472
473 * testsuite/ld-powerpc/relbrlt.s: Make symbols global.
474 * testsuite/ld-powerpc/relbrlt.d: Adjust to suit.
475 * testsuite/ld-powerpc/tlsget.d: Adjust for reordered stubs.
476 * testsuite/ld-powerpc/tlsget.wf: Likewise.
477 * testsuite/ld-powerpc/tlsget2.d: Likewise.
478 * testsuite/ld-powerpc/tlsget2.wf: Likewise.
479 * testsuite/ld-powerpc/tlsexe.r: Adjust for removed section syms.
480 * testsuite/ld-powerpc/tlsexe32.r: Likewise.
481 * testsuite/ld-powerpc/tlsexe32no.r: Likewise.
482 * testsuite/ld-powerpc/tlsexeno.r: Likewise.
483 * testsuite/ld-powerpc/tlsexenors.r: Likewise.
484 * testsuite/ld-powerpc/tlsexers.r: Likewise.
485 * testsuite/ld-powerpc/tlsexetoc.r: Likewise.
486 * testsuite/ld-powerpc/tlsexetocrs.r: Likewise.
487 * testsuite/ld-powerpc/tlsso.r: Likewise.
488 * testsuite/ld-powerpc/tlsso32.r: Likewise.
489 * testsuite/ld-powerpc/tlstocso.r: Likewise.
490
c98de297
NA
4912021-01-19 Nick Alcock <nick.alcock@oracle.com>
492
493 * testsuite/ld-ctf/data-func-2.c: Stop removal of the extern foo_t
494 symbols by the optimizer.
495 * testsuite/ld-ctf/data-func-conflicted.d: Adjust accordingly.
496
85e963f1
NC
4972021-01-19 Nelson Chu <nelson.chu@sifive.com>
498
499 * testsuite/ld-elf/elf.exp (riscv_little_endian): Added. Return true
500 if target is riscv little endian. Otherwise, return false.
501 * testsuite/ld-elf/compressed1d.d: Only xfail the riscv little endian
502 targets by [riscv_little_endian].
503
326adec3
AM
5042021-01-18 Alan Modra <amodra@gmail.com>
505
506 PR 26378
507 * ldlang.c (map_input_to_output_sections): Start with a read-only
508 section for data statements.
509 * testsuite/ld-elf/size-2.d: Adjust to suit.
510
994b2513
L
5112021-01-17 H.J. Lu <hongjiu.lu@intel.com>
512
513 PR ld/27193
514 * testsuite/ld-i386/i386.exp: Run PR ld/27193 test.
515 * testsuite/ld-i386/pr27193.dd: New file.
516 * testsuite/ld-i386/pr27193a.o.bz2: Likewise.
517 * testsuite/ld-i386/pr27193b.s: Likewise.
518
edf0f284
L
5192021-01-16 H.J. Lu <hongjiu.lu@intel.com>
520
521 PR binutils/23460
522 * testsuite/ld-plugin/lto.exp: Increase the max number of open
523 files to 20 for PR binutils/23460 test.
524
75a933f3
L
5252021-01-16 H.J. Lu <hongjiu.lu@intel.com>
526
527 PR ld/23169
528 * testsuite/ld-ifunc/ifunc.exp: Replace pr23169c.rd with
529 pr23169a.rd for pr23169c and pr23169f. Remove pr23169e tests.
530 * testsuite/ld-ifunc/pr23169a.c (foo): Don't compare function
531 address.
532
68b00778
L
5332021-01-15 H.J. Lu <hongjiu.lu@intel.com>
534
535 * NEWS: Mention -z report-relative-reloc.
536 * ld.texi: Document -z report-relative-reloc.
537 * emulparams/elf32_x86_64.sh: Source x86-report-relative.sh.
538 * emulparams/elf_i386.sh: Likewse.
539 * emulparams/elf_x86_64.sh: Likewse.
540 * emulparams/x86-report-relative.sh: New file.
541 * testsuite/ld-i386/report-reloc-1.d: Likewse.
542 * testsuite/ld-i386/report-reloc-1.l: Likewse.
543 * testsuite/ld-i386/report-reloc-1.s: Likewse.
544 * testsuite/ld-x86-64/report-reloc-1-x32.d: Likewse.
545 * testsuite/ld-x86-64/report-reloc-1.d: Likewse.
546 * testsuite/ld-x86-64/report-reloc-1.l: Likewse.
547 * testsuite/ld-x86-64/report-reloc-1.s: Likewse.
548 * testsuite/ld-i386/i386.exp: Run report-reloc-1.
549 * testsuite/ld-x86-64/x86-64.exp: Run report-reloc-1 and
550 report-reloc-1-x32.
551
eb6e6af8
AM
5522021-01-16 Alan Modra <amodra@gmail.com>
553
554 PR 26002
555 * testsuite/ld-elfvers/vers6.dsym: Expect "Base" for undefined
556 unversioned symbols.
557 * testsuite/ld-elfvers/vers16.dsym: Likewise.
558
b800637e
NC
5592021-01-15 Nelson Chu <nelson.chu@sifive.com>
560
561 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-01.d: Updated.
562 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-02.d: Likewise.
563 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-03.d: Likewise.
564 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-04.d: Likewise.
565 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-05.d: Likewise.
566 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-06.d: Likewise.
567
5a10699f
NC
5682021-01-14 Nick Clifton <nickc@redhat.com>
569
570 * po/fr.po: Updated French translation.
571
271bea6a
MF
5722021-01-14 Mike Frysinger <vapier@gentoo.org>
573
574 * testsuite/config/default.exp [bfin*-elf*] (gcc_B_opt): Add -msim.
575
4120e488
AM
5762021-01-14 Alan Modra <amodra@gmail.com>
577
578 PR 27160
579 * ldelfgen.c (compare_link_order): Protect access of ELF section
580 data.
581 (add_link_order_input_section): Remove redundant NULL check.
582 Use bfd_get_flavour.
583 (ldelf_map_segments): Use bfd_get_flavour.
584
b634d11d
L
5852021-01-13 H.J. Lu <hongjiu.lu@intel.com>
586
587 * ldelfgen.c (add_link_order_input_section): Check for ELF input
588 before accessing ELF section data.
589
5347ed60
AM
5902021-01-13 Alan Modra <amodra@gmail.com>
591
592 * Makefile.in: Regenerate.
593
b209b5a6
AM
5942021-01-13 Alan Modra <amodra@gmail.com>
595
596 PR 27160
597 * ldlang.h (lang_output_section_statement_type): Add data field.
598 (lang_input_section_type, lang_section_bst_type): Add pattern field.
599 (statement_list): Declare.
600 (lang_add_section): Adjust prototype.
601 * emultempl/aarch64elf.em: Adjust lang_add_section calls.
602 * emultempl/armelf.em: Likewise.
603 * emultempl/beos.em: Likewise.
604 * emultempl/cskyelf.em: Likewise.
605 * emultempl/hppaelf.em: Likewise.
606 * emultempl/m68hc1xelf.em: Likewise.
607 * emultempl/metagelf.em: Likewise.
608 * emultempl/mipself.em: Likewise.
609 * emultempl/mmo.em: Likewise.
610 * emultempl/msp430.em: Likewise.
611 * emultempl/nios2elf.em: Likewise.
612 * emultempl/pe.em: Likewise.
613 * emultempl/pep.em: Likewise.
614 * emultempl/ppc64elf.em: Likewise.
615 * emultempl/spuelf.em: Likewise.
616 * emultempl/vms.em: Likewise.
617 * ldelf.c: Likewise.
618 * ldelfgen.c: Include ldctor.h.
619 (struct os_sections): New.
620 (add_link_order_input_section, link_order_scan): New functions.
621 (compare_link_order, fixup_link_order): New functions.
622 (ldelf_map_segments): Call link_order_scan and fixup_link_order.
623 * ldlang.c (statement_list): Make global.
624 (output_section_callback_fast): Save pattern in tree node.
625 (lang_add_section): Add pattern parameter, save in lang_input_section.
626 (output_section_callback_tree_to_list): Adjust lang_add_section calls.
627 (lang_insert_orphan, output_section_callback): Likewise.
628 (ldlang_place_orphan): Likewise.
629 (gc_section_callback): Don't set section->pattern.
630 * testsuite/ld-elf/pr26256-2a.d: Don't xfail generic.
631 * testsuite/ld-elf/pr26256-3b.d: Likewise.
632 * testsuite/ld-elf/pr26256-2b.d: Likewise. notarget xgate.
633
8c4645b4
AM
6342021-01-13 Alan Modra <amodra@gmail.com>
635
636 * ldlang.h (callback_t): Remove flag_info function parameter.
637 * ldlang.c (walk_wild_consider_section): Adjust to suit.
638 (walk_wild_section_general): Likewise.
639 (output_section_callback_fast, output_section_callback): Likewise.
640 (check_section_callback, gc_section_callback): Likewise.
641 (find_relro_section_callback): Likewise.
642
d546b610
L
6432021-01-12 H.J. Lu <hongjiu.lu@intel.com>
644
645 PR binutils/26792
646 * configure.ac: Use GNU_MAKE_JOBSERVER.
647 * aclocal.m4: Regenerated.
648 * configure: Likewise.
649
c2e9a4a3
L
6502021-01-12 H.J. Lu <hongjiu.lu@intel.com>
651
652 PR ld/27171
653 * testsuite/ld-x86-64/pe-x86-64-5.obj.bz2: New file.
654 * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise.
655 * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise.
656 * testsuite/ld-x86-64/pe-x86-64.exp: Run PR ld/27171 test.
657
83b33c6c
L
6582021-01-11 H.J. Lu <hongjiu.lu@intel.com>
659
660 PR ld/27173
661 * configure: Regenerated.
662
c0f6e439
MJ
6632021-01-11 Matt Jenkins <matt@majenko.co.uk>
664
665 PR ld/27167
666 * ldmain.c (get_emulation): Add mipsmips32r3, mips32r5, mips64r3
667 and mips64r5 to list of known mips targets.
668
6692021-01-11 Nick Clifton <nickc@redhat.com>matt@majenko.co.uk
a8aa72b9
NC
670
671 * po/pt_BR.po: Updated Brazilian Portuguese translation.
672` * po/uk.po: Updated Ukranian translation.
673
a4966cd9
L
6742021-01-09 H.J. Lu <hongjiu.lu@intel.com>
675
676 * configure: Regenerated.
677
0a94990b
L
6782021-01-09 H.J. Lu <hongjiu.lu@intel.com>
679
680 PR ld/27166
681 * testsuite/ld-x86-64/lam-u48.rd: New file.
682 * testsuite/ld-x86-64/lam-u57.rd: Likewise.
683 * testsuite/ld-x86-64/x86-64.exp: Add PR ld/27166 tests.
684
573fe3fb
NC
6852021-01-09 Nick Clifton <nickc@redhat.com>
686
687 * configure: Regenerate.
688 * po/ld.pot: Regenerate.
689
055bc77a
NC
6902021-01-09 Nick Clifton <nickc@redhat.com>
691
692 * 2.36 release branch crated.
693
ba9e922f
L
6942021-01-08 H.J. Lu <hongjiu.lu@intel.com>
695
696 * ld-x86-64/property-x86-lam-u48-4.d: Updated.
697 * ld-x86-64/property-x86-lam-u48-5.d: Likewise.
698
64307045
AM
6992021-01-09 Alan Modra <amodra@gmail.com>
700
701 * configure: Regenerate.
702 * Makefile.in: Regenerate.
703
f4782128
ST
7042021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
705
706 * configure: Regenerate.
707
d1bcae83
L
7082021-01-07 H.J. Lu <hongjiu.lu@intel.com>
709
710 PR 27109
711 * testsuite/ld-elf/export-class.sd: Adjust the expected output.
712 * testsuite/ld-elf/loadaddr3b.d: Likewise.
713 * testsuite/ld-i386/ibt-plt-1.d: Likewise.
714 * testsuite/ld-i386/ibt-plt-2a.d: Likewise.
715 * testsuite/ld-i386/ibt-plt-2c.d: Likewise.
716 * testsuite/ld-i386/ibt-plt-3a.d: Likewise.
717 * testsuite/ld-i386/ibt-plt-3c.d: Likewise.
718 * testsuite/ld-i386/pr19636-1d.d: Likewise.
719 * testsuite/ld-i386/pr19636-1l.d: Likewise.
720 * testsuite/ld-i386/pr19636-2c.d: Likewise.
721 * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise.
722 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise.
723 * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Likewise.
724 * testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise.
725 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
726 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
727 * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise.
728 * testsuite/ld-ifunc/pr17154-i386.d: Likewise.
729 * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
730 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
731 * testsuite/ld-x86-64/bnd-branch-1-now.d: Likewise.
732 * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise.
733 * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise.
734 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
735 * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise.
736 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
737 * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise.
738 * testsuite/ld-x86-64/ibt-plt-1.d: Likewise.
739 * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise.
740 * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise.
741 * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise.
742 * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise.
743 * testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise.
744 * testsuite/ld-x86-64/ibt-plt-3a.d: Likewise.
745 * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise.
746 * testsuite/ld-x86-64/ibt-plt-3c.d: Likewise.
747 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
748 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
749 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
750 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
751 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
752 * testsuite/ld-x86-64/pr19636-2l.d: Likewise.
753 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
754 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
755 * testsuite/ld-x86-64/pr21038b-now.d: Likewise.
756 * testsuite/ld-x86-64/pr21038b.d: Likewise.
757 * testsuite/ld-x86-64/pr21038c-now.d: Likewise.
758 * testsuite/ld-x86-64/pr21038c.d: Likewise.
759 * testsuite/ld-x86-64/pr23854.d: Likewise.
760 * testsuite/ld-x86-64/pr25416-3.d: Likewise.
761 * testsuite/ld-x86-64/pr25416-4.d: Likewise.
762 * testsuite/ld-i386/plt-pic.pd: Likewise.
763 * testsuite/ld-i386/plt-pic2.dd: Likewise.
764 * testsuite/ld-i386/plt.pd: Likewise.
765 * testsuite/ld-i386/plt2.dd: Likewise.
766 * testsuite/ld-i386/tlsbin.rd: Likewise.
767 * testsuite/ld-i386/tlsbin2.rd: Likewise.
768 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
769 * testsuite/ld-i386/tlsdesc.rd: Likewise.
770 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
771 * testsuite/ld-i386/tlsnopic.rd: Likewise.
772 * testsuite/ld-i386/tlspic.rd: Likewise.
773 * testsuite/ld-i386/tlspic2.rd: Likewise.
774 * testsuite/ld-x86-64/mpx3.dd: Likewise.
775 * testsuite/ld-x86-64/mpx3n.dd: Likewise.
776 * testsuite/ld-x86-64/mpx4.dd: Likewise.
777 * testsuite/ld-x86-64/mpx4n.dd: Likewise.
778 * testsuite/ld-x86-64/pe-x86-64-1.od: Likewise.
779 * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise.
780 * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise.
781 * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise.
782 * testsuite/ld-x86-64/plt.pd: Likewise.
783 * testsuite/ld-x86-64/plt2.dd: Likewise.
784 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
785 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
786 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
787 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
788 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
789 * testsuite/ld-x86-64/tlspic.rd: Likewise.
790 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
791 * testsuite/ld-elf/sec64k.exp: Check
792 is_elf_unused_section_symbols.
793
dc200613
AM
7942021-01-07 Alan Modra <amodra@gmail.com>
795
796 * testsuite/ld-scripts/fill.d: Skip sh-*-pe rather than xfail.
797 * testsuite/ld-scripts/fill16.d: Don't xfail sh-*-pe.
798 * testsuite/ld-scripts/segment-start.d: Likewise.
799
8e604ff0
AM
8002021-01-07 Alan Modra <amodra@gmail.com>
801
802 * testsuite/ld-elf/comm-data5.d: xfail targets that complain
803 about dynamic relocations in read-only sections.
804 * testsuite/ld-elf/ehdr_start-shared.d: Likewise.
805 * testsuite/ld-elf/ehdr_start.d: Likewise.
806 * testsuite/ld-scripts/pr22267.d: Likewise.
807 * testsuite/ld-elf/shared.exp: Likewise for DT_TEXTREL tests and
808 pr20995 text.
809 * testsuite/ld-elf/sec64k.exp: Don't run 64ksec on lm32-linux.
810
4d4490b8
MC
8112021-01-07 Marcus Comstedt <marcus@mc.pp.se>
812
813 * testsuite/ld-scripts/empty-address-2a.d: xfail riscv64*-*-*.
814 * testsuite/ld-scripts/empty-address-2b.d: Likewise.
815
f526791a
AM
8162021-01-07 Alan Modra <amodra@gmail.com>
817
818 * po/BLD-POTFILES.in: Regenerate.
819
4018f4e0
AM
8202021-01-07 Alan Modra <amodra@gmail.com>
821
822 * testsuite/ld-elf/shared.exp: xfail pr22471 for targets that
823 complain about relocs in read-only sections. Tidy ASFLAGS append.
824
3677b729
AM
8252021-01-06 Alan Modra <amodra@gmail.com>
826
827 * testsuite/ld-sparc/sparc.exp (sparc64tests): Set text-segment
828 base for some tests.
829 * testsuite/ld-sparc/gotop32.dd: Match solaris output.
830 * testsuite/ld-sparc/gotop32.sd: Likewise.
831 * testsuite/ld-sparc/gotop32.td: Likewise.
832 * testsuite/ld-sparc/gotop64.dd: Likewise.
833 * testsuite/ld-sparc/gotop64.sd: Likewise.
834 * testsuite/ld-sparc/gotop64.td: Likewise.
835 * testsuite/ld-sparc/tlsg32.sd: Likewise.
836 * testsuite/ld-sparc/tlsg64.sd: Likewise.
837 * testsuite/ld-sparc/tlspie32.dd: Likewise.
838 * testsuite/ld-sparc/tlspie64.dd: Likewise.
839 * testsuite/ld-sparc/tlssunbin32.dd: Likewise.
840 * testsuite/ld-sparc/tlssunbin32.sd: Likewise.
841 * testsuite/ld-sparc/tlssunbin32.td: Likewise.
842 * testsuite/ld-sparc/tlssunbin64.dd: Likewise.
843 * testsuite/ld-sparc/tlssunbin64.sd: Likewise.
844 * testsuite/ld-sparc/tlssunbin64.td: Likewise.
845 * testsuite/ld-sparc/tlssunnopic32.dd: Likewise.
846 * testsuite/ld-sparc/tlssunnopic32.sd: Likewise.
847 * testsuite/ld-sparc/tlssunnopic64.dd: Likewise.
848 * testsuite/ld-sparc/tlssunnopic64.sd: Likewise.
849 * testsuite/ld-sparc/tlssunpic32.dd: Likewise.
850 * testsuite/ld-sparc/tlssunpic32.sd: Likewise.
851 * testsuite/ld-sparc/tlssunpic32.td: Likewise.
852 * testsuite/ld-sparc/tlssunpic64.dd: Likewise.
853 * testsuite/ld-sparc/tlssunpic64.sd: Likewise.
854 * testsuite/ld-sparc/tlssunpic64.td: Likewise.
855 * testsuite/ld-sparc/wdispcall.dd: Likewise.
856
73624512
AM
8572021-01-06 Alan Modra <amodra@gmail.com>
858
859 * testsuite/ld-scripts/rgn-at10.d: xfail v850.
860 * testsuite/ld-scripts/rgn-at11.d: Likewise.
861
f36ce378
MC
8622021-01-06 Marcus Comstedt <marcus@mc.pp.se>
863
864 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Added
865 riscv_choose_[ilp32|lp64]_emul to choose the correct linker script.
866 * testsuite/ld-riscv-elf/attr-merge-arch-01.d: Call
867 riscv_choose_[ilp32|lp64]_emul instead of hardcoding elf[32|64]lriscv.
868 * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
869 * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
870 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Likewise.
871 * testsuite/ld-riscv-elf/attr-merge-arch-failed-02.d: Likewise.
872 * testsuite/ld-riscv-elf/c-lui-2.d: Likewise.
873 * testsuite/ld-riscv-elf/c-lui.d: Likewise.
874 * testsuite/ld-riscv-elf/call-relax.d: Likewise.
875 * testsuite/ld-riscv-elf/pcrel-lo-addend-2.d: Likewise.
876 * testsuite/ld-riscv-elf/pcrel-lo-addend.d: Likewise.
877 * testsuite/ld-riscv-elf/weakref32.d: Accept bigriscv in addition
878 to littleriscv.
879 * testsuite/ld-riscv-elf/weakref64.d: Likewise.
880
fbc09e7a
MC
8812021-01-06 Marcus Comstedt <marcus@mc.pp.se>
882
883 * configure.tgt: Added riscvbe-*-*, riscv32be*-*-*, riscv64be*-*-*,
884 riscv32be*-*-linux*, and riscv64be*-*-linux*.
885 * Makefile.am: Added eelf32briscv.c, eelf32briscv_ilp32f.c and
886 eelf32briscv_ilp32.c.
887 * Makefile.in: Regenerate.
888 * emulparams/elf32briscv.sh: Added.
889 * emulparams/elf32briscv_ilp32.sh: Likewise.
890 * emulparams/elf32briscv_ilp32f.sh: Likewise.
891 * emulparams/elf64briscv.sh: Likewise.
892 * emulparams/elf64briscv_lp64.sh: Likewise.
893 * emulparams/elf64briscv_lp64f.sh: Likewise.
894
b4b6ea46
NA
8952021-01-05 Nick Alcock <nick.alcock@oracle.com>
896
897 * testsuite/ld-ctf/enum-forward.c: New test.
898 * testsuite/ld-ctf/enum-forward.c: New results.
899
37002871
NA
9002021-01-05 Nick Alcock <nick.alcock@oracle.com>
901
902 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
903 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
904 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
905 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
906 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
907 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
908 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
909 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
910 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
911 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
912 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
913 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
914 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
915 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
916 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
917 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
918 * testsuite/ld-ctf/cycle-1.d: Likewise.
919 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
920 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
921 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
922 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
923 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
924 * testsuite/ld-ctf/diag-cuname.d: Likewise.
925 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
926 * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise.
927 * testsuite/ld-ctf/forward.d: Likewise.
928 * testsuite/ld-ctf/function.d: Likewise.
929 * testsuite/ld-ctf/slice.d: Likewise.
930 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
931 * testsuite/ld-ctf/enums.c: New test.
932 * testsuite/ld-ctf/enums.d: New test.
933
ffeece6a
NA
9342021-01-05 Nick Alcock <nick.alcock@oracle.com>
935
936 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Adjust for dumper
937 changes.
938 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
939 * testsuite/ld-ctf/forward.c: New test...
940 * testsuite/ld-ctf/forward.d: ... and results.
941
91e7ce2f
NA
9422021-01-05 Nick Alcock <nick.alcock@oracle.com>
943
944 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
945 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
946 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
947 * testsuite/ld-ctf/diag-cuname.d: Likewise.
948 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
949 * testsuite/ld-ctf/function.d: Likewise.
950 * testsuite/ld-ctf/slice.d: Likewise.
951
57f97d0e
NA
9522021-01-05 Nick Alcock <nick.alcock@oracle.com>
953
954 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
955 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
956 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
957 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
958 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
959 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
960 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
961 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
962 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
963 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
964 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
965 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
966 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
967 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
968 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
969 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
970 * testsuite/ld-ctf/cycle-1.d: Likewise.
971 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
972 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
973 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
974 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
975 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
976 * testsuite/ld-ctf/diag-cuname.d: Likewise.
977 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
978 * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise.
979 * testsuite/ld-ctf/function.d: Likewise.
980 * testsuite/ld-ctf/slice.d: Likewise.
981 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
982
b281a04f
AM
9832021-01-05 Alan Modra <amodra@gmail.com>
984
985 * testsuite/ld-scripts/sysroot-prefix.exp: Exclude some targets.
986
40b11930
AM
9872021-01-05 Alan Modra <amodra@gmail.com>
988
989 PR ld/26256
990 * testsuite/ld-elf/pr26256-1b.d: xfail s12z.
991 * testsuite/ld-scripts/crossref.exp (cross1): Don't xfail ia64.
992
cd6d537c
L
9932021-01-04 H.J. Lu <hongjiu.lu@intel.com>
994
995 PR ld/26256
996 * ldlang.c (gc_section_callback): Set pattern.
997 * testsuite/ld-elf/pr26256-1.s: New file.
998 * testsuite/ld-elf/pr26256-1.t: Likewise.
999 * testsuite/ld-elf/pr26256-1a.d: Likewise.
1000 * testsuite/ld-elf/pr26256-1b.d: Likewise.
1001 * testsuite/ld-elf/pr26256-2.s: Likewise.
1002 * testsuite/ld-elf/pr26256-2.t: Likewise.
1003 * testsuite/ld-elf/pr26256-2a.d: Likewise.
1004 * testsuite/ld-elf/pr26256-2b-alt.d: Likewise.
1005 * testsuite/ld-elf/pr26256-2b.d: Likewise.
1006 * testsuite/ld-elf/pr26256-3.s: Likewise.
1007 * testsuite/ld-elf/pr26256-3a.d: Likewise.
1008 * testsuite/ld-elf/pr26256-3a.t: Likewise.
1009 * testsuite/ld-elf/pr26256-3b.d: Likewise.
1010 * testsuite/ld-elf/pr26256-3b.t: Likewise.
1011
5b4293ba
AM
10122021-01-04 Alan Modra <amodra@gmail.com>
1013
1014 PR 26822
1015 * testsuite/ld-arm/non-contiguous-arm2.d: Adjust STT_FILE symbol match.
1016 * testsuite/ld-arm/non-contiguous-arm3.d: Likewise.
1017 * testsuite/ld-arm/non-contiguous-arm5.d: Likewise.
1018 * testsuite/ld-arm/non-contiguous-arm6.d: Likewise.
1019 * testsuite/ld-i386/tlsbin.rd: Likewise.
1020 * testsuite/ld-i386/tlsbin2.rd: Likewise.
1021 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
1022 * testsuite/ld-i386/tlsdesc.rd: Likewise.
1023 * testsuite/ld-i386/tlsnopic.rd: Likewise.
1024 * testsuite/ld-i386/tlspic.rd: Likewise.
1025 * testsuite/ld-i386/tlspic2.rd: Likewise.
1026 * testsuite/ld-mips-elf/global-local-symtab-sort-n64.d: Likewise.
1027 * testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d: Likewise.
1028 * testsuite/ld-mips-elf/global-local-symtab-sort-o32.d: Likewise.
1029 * testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d: Likewise.
1030 * testsuite/ld-plugin/pr17973.d: Likewise.
1031 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
1032 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
1033 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
1034 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
1035 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
1036 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
1037 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
1038 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
1039 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
1040 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
1041 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
1042 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
1043 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
1044 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
1045 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
1046 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
1047 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1048 * testsuite/ld-x86-64/tlspic.rd: Likewise.
1049 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
1050 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
1051 * testsuite/ld-xtensa/tlspic.rd: Likewise.
1052
f9a6a8f0
AM
10532021-01-01 Nicolas Boulenguez <nicolas@debian.org>
1054
1055 * configure.tgt: Correct comment grammar.
1056 * emultempl/m68hc1xelf.em: Likewise.
1057 * ld.texi: Correct grammar.
1058
250d07de
AM
10592021-01-01 Alan Modra <amodra@gmail.com>
1060
1061 Update year range in copyright notice of all files.
1062
c2795844 1063For older changes see ChangeLog-2020
3499769a 1064\f
c2795844 1065Copyright (C) 2021 Free Software Foundation, Inc.
3499769a
AM
1066
1067Copying and distribution of this file, with or without modification,
1068are permitted in any medium without royalty provided the copyright
1069notice and this notice are preserved.
1070
1071Local Variables:
1072mode: change-log
1073left-margin: 8
1074fill-column: 74
1075version-control: never
1076End: