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