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