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