]> Git Repo - binutils.git/blame - ld/ChangeLog
gdbserver: constify the 'pid_to_exec_file' target op
[binutils.git] / ld / ChangeLog
CommitLineData
2cc15b10
AM
12021-04-12 Alan Modra <[email protected]>
2
3 * emultempl/mipself.em (mips_create_output_section_statements):
4 Pass base type of hash table to is_elf_hash_table.
5 * ldelf.c (ldelf_after_open): Likewise.
6
fc304b88
AM
72021-04-12 Alan Modra <[email protected]>
8
9 PR 27719
10 * ldlang.c (lang_mark_undefineds, undef_start_stop): Test that
11 the symbol hash table is the correct type before accessing
12 elf_link_hash_entry symbols.
13 * plugin.c (is_visible_from_outside): Likewise.
14 * emultempl/armelf.em (ld${EMULATION_NAME}_finish): Likewise.
15 * emultempl/solaris2.em (elf_solaris2_before_allocation): Likewise.
16
c3f72de4
AM
172021-04-09 Alan Modra <[email protected]>
18
19 * testsuite/ld-powerpc/inlinepcrel-1.d: Update expected output.
20 * testsuite/ld-powerpc/inlinepcrel-2.d: Likewise.
21 * testsuite/ld-powerpc/notoc2.d: Likewise.
22 * testsuite/ld-powerpc/notoc3.d: Likewise.
23 * testsuite/ld-powerpc/pcrelopt.d: Likewise.
24 * testsuite/ld-powerpc/startstop.d: Likewise.
25 * testsuite/ld-powerpc/tlsget.d: Likewise.
26 * testsuite/ld-powerpc/tlsget2.d: Likewise.
27 * testsuite/ld-powerpc/tlsld.d: Likewise.
28 * testsuite/ld-powerpc/weak1.d: Likewise.
29 * testsuite/ld-powerpc/weak1so.d: Likewise.
30
bd3d1480
JB
312021-04-06 Jan Beulich <[email protected]>
32
33 * pe-dll.c (generate_reloc): Bail immediately when .reloc is
34 being discarded. Warn when relocated entry is above .reloc.
35
c774eab1
AM
362021-04-05 Alan Modra <[email protected]>
37
38 * configure.ac: Move initfini-array arg handling earlier. Don't
39 check for string.h, strings.h, stdlib.h, or locale.h. Do check
40 for inttypes.h, stdint.h, sys/types.h. Don't check for
41 setlocale, free, getev or strstr.
42 (AC_ISC_POSIX): Don't invoke.
43 * sysdep.h: Include string.h and stdlib.h unconditionally. Test
44 HAVE_SYS_TYPE_H and HAVE_SYS_STAT_H. Remove strstr, free and
45 getenv fallback declarations.
46 * ld.h: Don't test HAVE_LOCALE_H.
47 * ldmain.c: Don't test HAVE_SETLOCALE.
48 * config.in: Regenerate.
49 * configure: Regenerate.
50
74edb473
TC
512021-04-01 Tamar Christina <[email protected]>
52
53 PR ld/26659
54 * testsuite/ld-pe/pe.exp: Add test.
55 * testsuite/ld-pe/pr26659-weak-undef-sym.d: New test.
56 * testsuite/ld-pe/pr26659-weak-undef-sym.s: New test.
57
e9b095a5
ML
582021-04-01 Martin Liska <[email protected]>
59
60 * ldbuildid.c (strneq): Remove strneq and use startswith.
61 (validate_build_id_style): Likewise.
62 (compute_build_id_size): Likewise.
63
f38a2680
AM
642021-03-31 Alan Modra <[email protected]>
65
66 * sysdep.h (POISON_BFD_BOOLEAN): Define.
67 * configure.ac (elf_list_options, elf_shlib_list_options=false),
68 (elf_plt_unwind_list_options=false): Replace FALSE with false,
69 and TRUE with true.
70 * emulparams/call_nop.sh, * emulparams/cet.sh,
71 * emulparams/dynamic_undefined_weak.sh,
72 * emulparams/elf32b4300.sh, * emulparams/elf32lm32.sh,
73 * emulparams/elf32lr5900.sh, * emulparams/elf32lr5900n32.sh,
74 * emulparams/elf32visium.sh, * emulparams/elf_x86_64.sh,
75 * emulparams/extern_protected_data.sh, * emulparams/plt_unwind.sh,
76 * emulparams/reloc_overflow.sh, * emulparams/static.sh,
77 * emulparams/x86-64-lam.sh, * emultempl/aarch64elf.em,
78 * emultempl/aix.em, * emultempl/alphaelf.em,
79 * emultempl/armcoff.em, * emultempl/armelf.em,
80 * emultempl/avrelf.em, * emultempl/beos.em, * emultempl/bfin.em,
81 * emultempl/cr16elf.em, * emultempl/crxelf.em,
82 * emultempl/cskyelf.em, * emultempl/elf.em, * emultempl/genelf.em,
83 * emultempl/hppaelf.em, * emultempl/linux.em,
84 * emultempl/m68hc1xelf.em, * emultempl/metagelf.em,
85 * emultempl/mipself.em, * emultempl/mmix-elfnmmo.em,
86 * emultempl/mmixelf.em, * emultempl/mmo.em, * emultempl/msp430.em,
87 * emultempl/nios2elf.em, * emultempl/pdp11.em, * emultempl/pe.em,
88 * emultempl/pep.em, * emultempl/ppc32elf.em,
89 * emultempl/ppc64elf.em, * emultempl/rxelf.em,
90 * emultempl/rxlinux.em, * emultempl/scoreelf.em,
91 * emultempl/solaris2.em, * emultempl/spuelf.em,
92 * emultempl/ticoff.em, * emultempl/v850elf.em, * emultempl/vms.em,
93 * emultempl/xtensaelf.em, * emultempl/z80.em, * ld.h,
94 * ldbuildid.c, * ldbuildid.h, * ldcref.c, * ldctor.c, * ldctor.h,
95 * ldelf.c, * ldelf.h, * ldelfgen.c, * ldelfgen.h, * ldemul.c,
96 * ldemul.h, * ldexp.c, * ldexp.h, * ldfile.c, * ldfile.h,
97 * ldgram.y, * ldlang.c, * ldlang.h, * ldmain.c, * ldmain.h,
98 * ldmisc.c, * ldmisc.h, * ldwrite.c, * lexsup.c, * mri.c,
99 * pe-dll.c, * pe-dll.h, * pep-dll.h, * plugin.c, * plugin.h,
100 * testplug.c, * testplug2.c, * testplug3.c, * testplug4.c: Replace
101 bfd_boolean with bool, FALSE with false, and TRUE with true.
102 * configure: Regenerate.
103
3dfb1b6d
AM
1042021-03-31 Alan Modra <[email protected]>
105
106 * elf-hints-local.h: Include stdint.h in place of bfd_stdint.h.
107 * emultempl/nds32elf.em: Likewise.
108 * testsuite/ld-elf/mbind2b.c: Likewise.
109 * testsuite/ld-elf/pr18718.c: Likewise.
110 * testsuite/ld-elf/pr18720a.c: Likewise.
111 * testsuite/ld-elf/pr25749-1.c: Likewise.
112 * testsuite/ld-elf/pr25749-1a.c: Likewise.
113 * testsuite/ld-elf/pr25749-1b.c: Likewise.
114 * testsuite/ld-elf/pr25749-1c.c: Likewise.
115 * testsuite/ld-elf/pr25749-1d.c: Likewise.
116 * testsuite/ld-elf/pr25749-2.c: Likewise.
117 * testsuite/ld-elf/pr25754-1a.c: Likewise.
118 * testsuite/ld-elf/pr25754-2a.c: Likewise.
119 * testsuite/ld-elf/pr25754-3a.c: Likewise.
120 * testsuite/ld-elf/pr25754-4a.c: Likewise.
121 * testsuite/ld-elf/pr25754-5a.c: Likewise.
122 * testsuite/ld-elf/pr25754-6a.c: Likewise.
123
63b4cc53
AM
1242021-03-29 Alan Modra <[email protected]>
125
126 * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Simplify
127 boolean expression.
128 * lexsup.c (parse_args): Likewise.
129 * pe-dll.c (pe_dll_id_target): Likewise.
130
8592be8c
NA
1312021-03-25 Nick Alcock <[email protected]>
132
133 * testsuite/ld-ctf/array.d: Only check that the data object
134 section is nonempty: do not check its exact size.
135 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
136 * testsuite/ld-ctf/slice.d: Likewise.
137 * testsuite/ld-ctf/data-func-conflicted.d: Likewise, and for the
138 func info section too.
139 * testsuite/ld-ctf/function.d: Likewise, for the func info section.
140
08dedd66
ML
1412021-03-22 Martin Liska <[email protected]>
142
143 * emultempl/aix.em: Replace usage of CONST_STRNEQ with startswith.
144 * emultempl/beos.em: Likewise.
145 * emultempl/elf.em: Likewise.
146 * emultempl/pe.em: Likewise.
147 * emultempl/pep.em: Likewise.
148 * emultempl/xtensaelf.em: Likewise.
149 * ldctor.c (ctor_prio): Likewise.
150 * ldelf.c (ldelf_try_needed): Likewise.
151 (ldelf_parse_ld_so_conf): Likewise.
152 (ldelf_after_open): Likewise.
153 (output_rel_find): Likewise.
154 (ldelf_place_orphan): Likewise.
155 * ldfile.c (ldfile_add_library_path): Likewise.
156 * ldlang.c (lang_add_input_file): Likewise.
157 * ldmain.c (get_sysroot): Likewise.
158 (get_emulation): Likewise.
159 (add_archive_element): Likewise.
160 * ldwrite.c (unsplittable_name): Likewise.
161 (clone_section): Likewise.
162 * lexsup.c (parse_args): Likewise.
163 * pe-dll.c (is_import): Likewise.
164 (pe_implied_import_dll): Likewise.
165
1de96e5d
L
1662021-03-19 H.J. Lu <[email protected]>
167
168 PR ld/27590
169 * testsuite/ld-x86-64/pr27590.rd: New file.
170 * testsuite/ld-x86-64/pr27590a.obj.bz2: Likewise.
171 * testsuite/ld-x86-64/pr27590b.obj.bz2: Likewise.
172 * testsuite/ld-x86-64/x86-64.exp: Run ld/27590 test.
173
15407e7e
AM
1742021-03-20 Alan Modra <[email protected]>
175
176 PR 27590
177 * ldlang.c (lang_gc_sections): Clear SEC_EXCLUDE when relocatable
178 for all sections except .stabstr.
179
fba7f753
AM
1802021-03-19 Alan Modra <[email protected]>
181
182 PR 27590
183 * testsuite/ld-elf/pr27590a.d: Match relocs using label, and
184 R_MIPS_NONE.
185 * testsuite/ld-elf/pr27590b.d: Likewise.
186
3818d4ab
L
1872021-03-18 H.J. Lu <[email protected]>
188
189 PR ld/27590
190 * testsuite/ld-elf/pr27590.s: New file.
191 * testsuite/ld-elf/pr27590a.d: Likewise.
192 * testsuite/ld-elf/pr27590b.d: Likewise.
193 * testsuite/ld-i386/i386.exp: Also run ld/27193 test with
194 --reduce-memory-overheads.
195
51f6e7a9
L
1962021-03-18 H.J. Lu <[email protected]>
197
198 PR ld/27587
199 * testsuite/ld-x86-64/pr27587.err: New file.
200 * testsuite/ld-x86-64/pr27587a.obj.bz2: Likewise.
201 * testsuite/ld-x86-64/pr27587b.obj.bz2: Likewise.
202 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/27587 test.
203
69a28486
NA
2042021-03-18 Nick Alcock <[email protected]>
205
206 * testsuite/ld-ctf/slice.c: Check slices of enums too.
207 * testsuite/ld-ctf/slice.d: Results adjusted.
208
ee42883c
NC
2092021-03-16 Nick Clifton <[email protected]>
210
211 * pe-dll.c (pe_find_cdecl_alias_match): Use memmove to overwrite
212 lname string.
213
c68b1842
JB
2142021-03-15 Jan Beulich <[email protected]>
215
216 * pe-dll.c (generate_reloc): Drop padding to reloc_s->size.
217
203a206d
AM
2182021-03-12 Alan Modra <[email protected]>
219
220 * Makefile.am (ALL_EMULATION_SOURCES): Move riscv files to..
221 (ALL_64_EMULATION_SOURCES): ..here.
222 * Makefile.in: Regenerate.
223
1b2cb8e2
CC
2242021-03-12 Clément Chigot <[email protected]>
225
226 * emultempl/aix.em: Ensure .tdata section is removed
227 if empty, even with -r flag.
228 * scripttempl/aix.sc: Handle TLS sections.
229 * testsuite/ld-powerpc/aix52.exp: Add new tests.
230 * testsuite/ld-powerpc/aix-tls-reloc-32.d: New test.
231 * testsuite/ld-powerpc/aix-tls-reloc-64.d: New test.
232 * testsuite/ld-powerpc/aix-tls-reloc.ex: New test.
233 * testsuite/ld-powerpc/aix-tls-reloc.s: New test.
234 * testsuite/ld-powerpc/aix-tls-section-32.d: New test.
235 * testsuite/ld-powerpc/aix-tls-section-64.d: New test.
236 * testsuite/ld-powerpc/aix-tls-section.ex: New test.
237 * testsuite/ld-powerpc/aix-tls-section.s: New test.
238
4a403be0
CC
2392021-03-12 Clément Chigot <[email protected]>
240
241 * scripttempl/aix.sc: Add .te to .data section.
242 * testsuite/ld-powerpc/aix52.exp: Add test structure for AIX7+.
243 Add aix-largetoc-1 test.
244 * testsuite/ld-powerpc/aix-largetoc-1-32.d: New test.
245 * testsuite/ld-powerpc/aix-largetoc-1-64.d: New test.
246 * testsuite/ld-powerpc/aix-largetoc-1.ex: New test.
247 * testsuite/ld-powerpc/aix-largetoc-1.s: New test.
248
68cb2183
AM
2492021-03-12 Alan Modra <[email protected]>
250
251 * testsuite/ld-gc/gc.exp: Pass "-image-base 0" to ld for PE, and
252 arrange to define __main for some run_dump_test tests.
253 * testsuite/ld-gc/pr13683.d: Accept more symbols.
254 * testsuite/ld-gc/pr14265.d: Likewise, and ordering.
255 * testsuite/ld-scripts/crossref.exp: Pass "-image-base 0" to ld for PE.
256 * testsuite/ld-srec/srec.exp: Likewise.
257 * testsuite/lib/ld-lib.exp (ld_link_defsyms): Use is_pecoff_format.
258
ebdcad3f
NC
2592021-03-11 Nelson Chu <[email protected]>
260
261 * emultempl/riscvelf.em (after_allocation): Run ldelf_map_segments
262 many times if riscv_restart_relax_sections returns TRUE.
263 * testsuite/ld-riscv-elf/restart-relax.d: New testcase. Before
264 applying this patch, the call won't be relaxed to jal; But now we
265 have more chances to do relaxations.
266 * testsuite/ld-riscv-elf/restart-relax.s: Likewise.
267 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
268
67b0f684
JB
2692021-03-10 Jan Beulich <[email protected]>
270
271 * testsuite/ld-scripts/pr22267.t: Avoid symbol value with more
272 than 32 set bits.
273 * testsuite/ld-scripts/pr22267.d: Adjust expectation and drop
274 comment.
275 * scripttempl/mcorepe.sc: Use PROVIDE() for _stack.
276
5dc75cf3
JB
2772021-03-09 Jan Beulich <[email protected]>
278
279 * testsuite/ld-pe/reloc.s: Add entry point symbols. Increase
280 alignment to 4k.
281 * testsuite/ld-pe/reloc.d: xfail for mcore.
282
87fa7d56
JB
2832021-03-09 Jan Beulich <[email protected]>
284
285 * testsuite/ld-scripts/alignof.exp,
286 testsuite/ld-scripts/data.exp,
287 testsuite/ld-scripts/default-script.exp,
288 testsuite/ld-scripts/log2.exp,
289 testsuite/ld-scripts/print-memory-usage.exp,
290 testsuite/ld-scripts/sizeof.exp,
291 testsuite/ld-undefined/weak-undef.exp: Set image base to zero
292 for PE/COFF.
293 * testsuite/ld-scripts/default-script1.d,
294 testsuite/ld-scripts/default-script2.d,
295 testsuite/ld-scripts/default-script3.d,
296 testsuite/ld-scripts/default-script4.d: Drop xfail and comment.
297
8c0546e9
L
2982021-03-05 H.J. Lu <[email protected]>
299
300 PR ld/27425
301 PR ld/27432
302 * ldelf.c (ldelf_set_output_arch): New function.
303 * ldelf.h (ldelf_set_output_arch): New prototype.
304 * emultempl/elf.em (LDEMUL_SET_OUTPUT_ARCH): Default to
305 ldelf_set_output_arch.
306 * ld-x86-64/pe-x86-64-1.od: Expect __executable_start.
307 * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise.
308 * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise.
309 * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise.
310 * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise.
311 * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise.
312 * testsuite/ld-x86-64/pe-x86-64-6.obj.bz2: New file.
313 * testsuite/ld-x86-64/pe-x86-64-6.od: Likewise.
314 * testsuite/ld-x86-64/pe-x86-64.exp: Run ld/27425 test.
315
d4e5db4e
JB
3162021-03-04 Jan Beulich <[email protected]>
317
318 * testsuite/ld-scripts/map-address.exp: Set image base to zero
319 for PE/COFF.
320 * testsuite/ld-scripts/map-address.t: Place .text.
321
6fa7408d
JB
3222021-03-04 Jan Beulich <[email protected]>
323
324 * ldexp.c (ldexp_is_final_sym_absolute): New.
325 * ldexp.h (ldexp_is_final_sym_absolute): Declare.
326 * pe-dll.c (generate_reloc): Skip absolute symbols.
327 * testsuite/ld-pe/reloc.s, testsuite/ld-pe/reloc.d: New.
328 * testsuite/ld-pe/pe.exp: Run new test.
329
5789f845
AM
3302021-03-03 Alan Modra <[email protected]>
331
332 PR 27500
333 * ldlang.c (insert_undefined): Don't mark symbols here.
334 (lang_mark_undefineds): Do so here instead, new function.
335 (lang_process): Call lang_mark_undefineds.
336 * testsuite/ld-gc/start3.d,
337 * testsuite/ld-gc/start3.s: New test.
338 * testsuite/ld-gc/start4.d,
339 * testsuite/ld-gc/start4.s: New test.
340 * testsuite/ld-gc/gc.exp: Run them.
341
270f32fc
AM
3422021-03-03 Alan Modra <[email protected]>
343
344 * testsuite/ld-gc/gc.exp: Define UNDERSCORE in ASFLAGS.
345 Move tests with ELF section directives to is_elf_format block.
346 * testsuite/ld-gc/abi-note.d: Run on more targets.
347 * testsuite/ld-gc/pr19167.d: Likewise and adjust xfails.
348 * testsuite/ld-gc/start.d: Likewise.
349 * testsuite/ld-gc/start2.d: Likewise.
350 * testsuite/ld-gc/stop.d: Likewise.
351 * testsuite/ld-gc/pr19167a.s: Add support for underscore targets.
352 * testsuite/ld-gc/start.s: Likewise.
353 * testsuite/ld-gc/start2.s: Likewise.
354
211bcd01
NA
3552021-03-02 Nick Alcock <[email protected]>
356
357 * ldelfgen.c (ldelf_ctf_strtab_iter_cb): Skip zero-refcount strings.
358
b80e421f
AM
3592021-03-02 Alan Modra <[email protected]>
360
361 * testsuite/ld-powerpc/startstop.d,
362 * testsuite/ld-powerpc/startstop.r,
363 * testsuite/ld-powerpc/startstop.s: New test.
364 * testsuite/ld-powerpc/powerpc.exp: Run it.
365
f5b9c288
AM
3662021-03-02 Alan Modra <[email protected]>
367
368 * testsuite/ld-powerpc/weak1.d,
369 * testsuite/ld-powerpc/weak1.r,
370 * testsuite/ld-powerpc/weak1.s,
371 * testsuite/ld-powerpc/weak1so.d,
372 * testsuite/ld-powerpc/weak1so.r: New tests.
373 * testsuite/ld-powerpc/powerpc.exp: Run them.
374
ba6eb62f
NC
3752021-03-01 Hannes Domani <[email protected]>
376 Nick Clifton <[email protected]>
377
378 PR 27268
379 * scripttempl/pe.sc: Add DWARF-5 section names.
380 * scripttempl/pep.sc: Likewise.
381
8ee10e86
AM
3822021-03-01 Alan Modra <[email protected]>
383 Fangrui Song <[email protected]>
384
385 * emultempl/elf.em: Handle -z start-stop-gc and -z nostart-stop-gc.
386 * lexsup.c (elf_static_list_options): Display help for them. Move
387 help for -z stack-size to here from elf_shlib_list_options. Add
388 help for -z start-stop-visibility and -z undefs.
389 * ld.texi: Document -z start-stop-gc and -z nostart-stop-gc.
390 * NEWS: Mention -z start-stop-gc.
391 * testsuite/ld-gc/start2.s,
392 * testsuite/ld-gc/start2.d: New test.
393 * testsuite/ld-gc/gc.exp: Run it.
394
7824c1d2
AM
3952021-03-01 Alan Modra <[email protected]>
396
397 * ldlang.c (undef_start_stop): For ELF make undefined start/stop
398 symbols undefweak if that was how they were referenced. Undo
399 dynamic state too.
400
6a1224ec
AM
4012021-03-01 Alan Modra <[email protected]>
402
403 * testsuite/ld-elf/pr25708.d: Add --with-symbol-versions to nm.
404 * testsuite/ld-elf/pr27128a.d: Likewise.
405 * testsuite/ld-elf/pr27128b.d: Likewise.
406 * testsuite/ld-elf/pr27128c.d: Likewise.
407 * testsuite/ld-elf/pr27128d.d: Likewise.
408 * testsuite/ld-elf/pr27128e.d: Likewise.
409
bfece756
AM
4102021-02-26 Alan Modra <[email protected]>
411
412 PR 27441
413 * testsuite/ld-plugin/pr27441a.c,
414 * testsuite/ld-plugin/pr27441b.c,
415 * testsuite/ld-plugin/pr27441c.c,
416 * testsuite/ld-plugin/pr27441c.d: New test.
417 * testsuite/ld-plugin/lto.exp: Run it.
418
3c27360b
JB
4192021-02-25 Jan Beulich <[email protected]>
420
421 * ld.texi (PROVIDE): Downgrade "error" to "diagnostic".
422
89753bbf
AM
4232021-02-21 Alan Modra <[email protected]>
424
425 * ldexp.c (exp_fold_tree_1): Warn on script defining a symbol
426 defined in an object file.
427 * ldmain.c (multiple_definition): Heed info->warn_multiple_definition.
428 * testsuite/ld-scripts/defined5.d: Expect a warning.
429
2f973f13
AM
4302021-02-19 Alan Modra <[email protected]>
431
432 * testsuite/lib/ld-lib.exp: Whitespace.
433 (load_common_lib): Expand single use and delete this proc.
434 (run_host_cmd): Use -fno-lto when getting gcc's ld version.
435 Use -B for clang too.
436
a364a116
AB
4372021-02-18 Andrew Burgess <[email protected]>
438
439 * testplugin.c (record_read_length): Remove debug fprintf.
440
5b1f6c95
AM
4412021-02-14 Alan Modra <[email protected]>
442
443 * testsuite/ld-cdtest/cdtest.exp,
444 * testsuite/ld-checks/checks.exp,
445 * testsuite/ld-elf/binutils.exp,
446 * testsuite/ld-elf/compress.exp,
447 * testsuite/ld-elf/dwarf.exp,
448 * testsuite/ld-elf/exclude.exp,
449 * testsuite/ld-elf/frame.exp,
450 * testsuite/ld-elf/indirect.exp,
451 * testsuite/ld-elf/linux-x86.exp,
452 * testsuite/ld-elf/sec-to-seg.exp,
453 * testsuite/ld-elf/tls_common.exp,
454 * testsuite/ld-elfcomm/elfcomm.exp,
455 * testsuite/ld-elfvers/vers.exp,
456 * testsuite/ld-elfvsb/elfvsb.exp,
457 * testsuite/ld-elfweak/elfweak.exp,
458 * testsuite/ld-ifunc/binutils.exp,
459 * testsuite/ld-mips-elf/mips-elf-flags.exp,
460 * testsuite/ld-misc/defsym.exp,
461 * testsuite/ld-mn10300/mn10300.exp,
462 * testsuite/ld-plugin/lto.exp,
463 * testsuite/ld-plugin/plugin.exp,
464 * testsuite/ld-scripts/align.exp,
465 * testsuite/ld-scripts/assert.exp,
466 * testsuite/ld-scripts/crossref.exp,
467 * testsuite/ld-scripts/defined.exp,
468 * testsuite/ld-scripts/extern.exp,
469 * testsuite/ld-scripts/log2.exp,
470 * testsuite/ld-scripts/map-address.exp,
471 * testsuite/ld-scripts/phdrs.exp,
472 * testsuite/ld-scripts/phdrs2.exp,
473 * testsuite/ld-scripts/script.exp,
474 * testsuite/ld-scripts/section-flags.exp,
475 * testsuite/ld-scripts/sizeof.exp,
476 * testsuite/ld-scripts/weak.exp,
477 * testsuite/ld-selective/selective.exp,
478 * testsuite/ld-sh/sh.exp,
479 * testsuite/ld-shared/shared.exp,
480 * testsuite/ld-srec/srec.exp,
481 * testsuite/ld-tic6x/tic6x.exp,
482 * testsuite/ld-undefined/undefined.exp,
483 * testsuite/ld-undefined/weak-undef.exp,
484 * testsuite/lib/ld-lib.exp: Don't use unresolved except after
485 perror. Instead report "unsupported" or "fail".
486
c46b7066
NC
4872021-02-12 Nick Clifton <[email protected]>
488
489 * testsuite/ld-elf/sec64k.exp: Stop readelf from automatically
490 following debug links.
491
933feaf3
AM
4922021-02-11 Alan Modra <[email protected]>
493
494 * NEWS: Mention arm-symbianelf removal.
495
a57d1773
AM
4962021-02-09 Alan Modra <[email protected]>
497
498 * Makefile.am (ALL_EMULATION_SOURCES): Remove earmsymbian.c.
499 Don't include symbian dep file.
500 * configure.tgt: Remove arm*-*-symbianelf* entry.
501 * emulparams/armsymbian.sh: Delete.
502 * ld.texi: Don't mention symbian.
503 * scripttempl/armbpabi.sc: Delete.
504 * testsuite/ld-arm/symbian-seg1.d: Delete.
505 * testsuite/ld-arm/symbian-seg1.s: Delete.
506 * testsuite/ld-arm/arm-elf.exp: Don't run symbian-seg1.
507 * Makefile.in: Regenerate.
508 * po/BLD-POTFILES.in: Regenerate.
509
38a143aa
L
5102021-02-07 H.J. Lu <[email protected]>
511
512 PR ld/27358
513 * testsuite/ld-i386/i386.exp: Remove property 3/4/5 run-time
514 tests.
515 * testsuite/ld-x86-64/x86-64.exp: Likewise.
516
35a01a04
NA
5172021-01-26 Nick Alcock <[email protected]>
518
519 * ldlang.c (lang_merge_ctf): Set CTF_LINK_NO_FILTER_REPORTED_SYMS
520 when appropriate.
521
1a2f1b54
L
5222021-02-04 H.J. Lu <[email protected]>
523
524 PR ld/19609
525 * testsuite/ld-x86-64/pr19609-2a.d: Updated.
526 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
527 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
528 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
529 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
530 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
531 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
532
37707bd8
L
5332021-02-04 H.J. Lu <[email protected]>
534
535 PR ld/15146
536 * testsuite/ld-plugin/lto.exp: Run PR ld/15146 tests.
537 * testsuite/ld-plugin/pr15146.d: Restored.
538 * testsuite/ld-plugin/pr15146a.c: Likewise.
539 * testsuite/ld-plugin/pr15146b.c: Likewise.
540 * testsuite/ld-plugin/pr15146c.c: Likewise.
541 * testsuite/ld-plugin/pr15146d.c: Likewise.
542
7d409ac0
AM
5432021-02-04 Alan Modra <[email protected]>
544
545 * testsuite/ld-plugin/pr27311d.c: New test.
546 * testsuite/ld-plugin/lto.exp: Rename pr27311 to pr27311-1, compile
547 and link new test as pr27311-2.
548
69551367
AM
5492021-02-03 Alan Modra <[email protected]>
550
551 * testsuite/ld-ifunc/ifunc.exp (libpr16467b.so, libpr16467bn.so):
552 Link with --as-needed.
553
9918bff7
AM
5542021-02-02 Alan Modra <[email protected]>
555
556 * testsuite/ld-plugin/pr27311.d,
557 * testsuite/ld-plugin/pr27311.ver,
558 * testsuite/ld-plugin/pr27311a.c,
559 * testsuite/ld-plugin/pr27311b.c,
560 * testsuite/ld-plugin/pr27311c.c: New testcase.
561 * testsuite/ld-plugin/lto.exp: Run it. Correct PR14918 and
562 PR12982 entries.
563
1f568f9a
EH
5642021-02-01 Emery Hemingway <[email protected]>
565
566 * configure.tgt: Add *-*-genode* as a target for AArch64 and x86.
567
fb6c220e
AM
5682021-02-01 Alan Modra <[email protected]>
569
570 * ldgram.y (defsym_expr): Use assignment rule.
571 * ldlex.h (ldlex_defsym): Delete.
572 * ldlex.l (DEFSYMEXP, ldlex_defsym): Delete.
573
40726f16
AM
5742021-02-01 Alan Modra <[email protected]>
575
576 * ldgram.y (section): Call ldlex_backup. Remove empty action.
577 * ldlex.h (ldlex_backup): Declare.
578 * ldlex.l (<EXPRESSION>NAME): Don't use NOCFILENAMECHAR set of
579 chars, use SYMBOLNAMECHAR.
580 (ldlex_backup): New function.
581
a5f92c67
AM
5822021-02-01 Alan Modra <[email protected]>
583
584 * ldgram.y: Whitespace fixes.
585
49daa38f
AM
5862021-02-01 Alan Modra <[email protected]>
587
588 * testsuite/ld-elf/pr27259.d: Correct sh_link match.
589
c4566785
AM
5902021-01-29 Alan Modra <[email protected]>
591
592 * testsuite/ld-tic6x/tic6x.exp: Add pr27271 test.
593
53e556e5
L
5942021-01-28 H.J. Lu <[email protected]>
595
596 PR ld/27259
597 * testsuite/ld-elf/pr27259.d: New file.
598 * testsuite/ld-elf/pr27259.s: Likewise.
599
def97fb9
AM
6002021-01-28 Alan Modra <[email protected]>
601
602 PR 27259
603 * ldelf.c (ldelf_before_place_orphans): Use linker_mark to
604 prevent endless looping of linked-to sections.
605
2eda57ef
L
6062021-01-26 H.J. Lu <[email protected]>
607
608 * testsuite/ld-x86-64/bnd-plt-1.d: Fix a typo.
609
1c9c9b9b
AM
6102021-01-26 Alan Modra <[email protected]>
611
612 PR 27226
613 * emulparams/alphavms.sh: Don't set COMPILE_IN.
614 * emulparams/elf64_ia64_vms.sh: Likewise.
615 * emulparams/elf64mmix.sh: Likewise.
616 * emulparams/elf_iamcu.sh: Likewise.
617 * emulparams/elf_k1om.sh: Likewise.
618 * emulparams/elf_l1om.sh: Likewise.
619 * emulparams/mmo.sh: Likewise.
620 * emulparams/pdp11.sh: Set DATA_SEG_ADDR.
621 * scripttempl/pdp11.sc: Use it.
622 * emultempl/pdp11.em: Don't edit .xn script for separate_code,
623 instead use .xe script. Support scripts from file system.
624 * emultempl/beos.em: Support scripts from file system.
625 * emultempl/pe.em: Likewise.
626 * emultempl/pep.em: Likewise.
627 * testsuite/ld-bootstrap/bootstrap.exp: Make tmpdir/ldscripts link.
628
9e42b976
FS
6292021-01-25 Fangrui Song <[email protected]>
630
631 PR ld/27230
632 * scripttempl/DWARF.sc: Add .debug_* sections.
633
b8df6900
NC
6342021-01-25 Nick Clifton <[email protected]>
635
636 * scripttempl/DWARF.sc: Add .debug_loclists, .debug_rnglists,
637 .debug_line_str and .debug_str_offsets. Move .debug_macro and
638 .debug_addr into DWARF-5 section.
639
c78eec44
AM
6402021-01-21 Alan Modra <[email protected]>
641
642 * testsuite/ld-elf/pr26936.d: No longer xfail mips.
643
4bd7c902
AM
6442021-01-20 Alan Modra <[email protected]>
645
646 * testsuite/ld-powerpc/relbrlt.s: Make symbols global.
647 * testsuite/ld-powerpc/relbrlt.d: Adjust to suit.
648 * testsuite/ld-powerpc/tlsget.d: Adjust for reordered stubs.
649 * testsuite/ld-powerpc/tlsget.wf: Likewise.
650 * testsuite/ld-powerpc/tlsget2.d: Likewise.
651 * testsuite/ld-powerpc/tlsget2.wf: Likewise.
652 * testsuite/ld-powerpc/tlsexe.r: Adjust for removed section syms.
653 * testsuite/ld-powerpc/tlsexe32.r: Likewise.
654 * testsuite/ld-powerpc/tlsexe32no.r: Likewise.
655 * testsuite/ld-powerpc/tlsexeno.r: Likewise.
656 * testsuite/ld-powerpc/tlsexenors.r: Likewise.
657 * testsuite/ld-powerpc/tlsexers.r: Likewise.
658 * testsuite/ld-powerpc/tlsexetoc.r: Likewise.
659 * testsuite/ld-powerpc/tlsexetocrs.r: Likewise.
660 * testsuite/ld-powerpc/tlsso.r: Likewise.
661 * testsuite/ld-powerpc/tlsso32.r: Likewise.
662 * testsuite/ld-powerpc/tlstocso.r: Likewise.
663
c98de297
NA
6642021-01-19 Nick Alcock <[email protected]>
665
666 * testsuite/ld-ctf/data-func-2.c: Stop removal of the extern foo_t
667 symbols by the optimizer.
668 * testsuite/ld-ctf/data-func-conflicted.d: Adjust accordingly.
669
85e963f1
NC
6702021-01-19 Nelson Chu <[email protected]>
671
672 * testsuite/ld-elf/elf.exp (riscv_little_endian): Added. Return true
673 if target is riscv little endian. Otherwise, return false.
674 * testsuite/ld-elf/compressed1d.d: Only xfail the riscv little endian
675 targets by [riscv_little_endian].
676
326adec3
AM
6772021-01-18 Alan Modra <[email protected]>
678
679 PR 26378
680 * ldlang.c (map_input_to_output_sections): Start with a read-only
681 section for data statements.
682 * testsuite/ld-elf/size-2.d: Adjust to suit.
683
994b2513
L
6842021-01-17 H.J. Lu <[email protected]>
685
686 PR ld/27193
687 * testsuite/ld-i386/i386.exp: Run PR ld/27193 test.
688 * testsuite/ld-i386/pr27193.dd: New file.
689 * testsuite/ld-i386/pr27193a.o.bz2: Likewise.
690 * testsuite/ld-i386/pr27193b.s: Likewise.
691
edf0f284
L
6922021-01-16 H.J. Lu <[email protected]>
693
694 PR binutils/23460
695 * testsuite/ld-plugin/lto.exp: Increase the max number of open
696 files to 20 for PR binutils/23460 test.
697
75a933f3
L
6982021-01-16 H.J. Lu <[email protected]>
699
700 PR ld/23169
701 * testsuite/ld-ifunc/ifunc.exp: Replace pr23169c.rd with
702 pr23169a.rd for pr23169c and pr23169f. Remove pr23169e tests.
703 * testsuite/ld-ifunc/pr23169a.c (foo): Don't compare function
704 address.
705
68b00778
L
7062021-01-15 H.J. Lu <[email protected]>
707
708 * NEWS: Mention -z report-relative-reloc.
709 * ld.texi: Document -z report-relative-reloc.
710 * emulparams/elf32_x86_64.sh: Source x86-report-relative.sh.
711 * emulparams/elf_i386.sh: Likewse.
712 * emulparams/elf_x86_64.sh: Likewse.
713 * emulparams/x86-report-relative.sh: New file.
714 * testsuite/ld-i386/report-reloc-1.d: Likewse.
715 * testsuite/ld-i386/report-reloc-1.l: Likewse.
716 * testsuite/ld-i386/report-reloc-1.s: Likewse.
717 * testsuite/ld-x86-64/report-reloc-1-x32.d: Likewse.
718 * testsuite/ld-x86-64/report-reloc-1.d: Likewse.
719 * testsuite/ld-x86-64/report-reloc-1.l: Likewse.
720 * testsuite/ld-x86-64/report-reloc-1.s: Likewse.
721 * testsuite/ld-i386/i386.exp: Run report-reloc-1.
722 * testsuite/ld-x86-64/x86-64.exp: Run report-reloc-1 and
723 report-reloc-1-x32.
724
eb6e6af8
AM
7252021-01-16 Alan Modra <[email protected]>
726
727 PR 26002
728 * testsuite/ld-elfvers/vers6.dsym: Expect "Base" for undefined
729 unversioned symbols.
730 * testsuite/ld-elfvers/vers16.dsym: Likewise.
731
b800637e
NC
7322021-01-15 Nelson Chu <[email protected]>
733
734 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-01.d: Updated.
735 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-02.d: Likewise.
736 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-03.d: Likewise.
737 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-04.d: Likewise.
738 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-05.d: Likewise.
739 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-06.d: Likewise.
740
5a10699f
NC
7412021-01-14 Nick Clifton <[email protected]>
742
743 * po/fr.po: Updated French translation.
744
271bea6a
MF
7452021-01-14 Mike Frysinger <[email protected]>
746
747 * testsuite/config/default.exp [bfin*-elf*] (gcc_B_opt): Add -msim.
748
4120e488
AM
7492021-01-14 Alan Modra <[email protected]>
750
751 PR 27160
752 * ldelfgen.c (compare_link_order): Protect access of ELF section
753 data.
754 (add_link_order_input_section): Remove redundant NULL check.
755 Use bfd_get_flavour.
756 (ldelf_map_segments): Use bfd_get_flavour.
757
b634d11d
L
7582021-01-13 H.J. Lu <[email protected]>
759
760 * ldelfgen.c (add_link_order_input_section): Check for ELF input
761 before accessing ELF section data.
762
5347ed60
AM
7632021-01-13 Alan Modra <[email protected]>
764
765 * Makefile.in: Regenerate.
766
b209b5a6
AM
7672021-01-13 Alan Modra <[email protected]>
768
769 PR 27160
770 * ldlang.h (lang_output_section_statement_type): Add data field.
771 (lang_input_section_type, lang_section_bst_type): Add pattern field.
772 (statement_list): Declare.
773 (lang_add_section): Adjust prototype.
774 * emultempl/aarch64elf.em: Adjust lang_add_section calls.
775 * emultempl/armelf.em: Likewise.
776 * emultempl/beos.em: Likewise.
777 * emultempl/cskyelf.em: Likewise.
778 * emultempl/hppaelf.em: Likewise.
779 * emultempl/m68hc1xelf.em: Likewise.
780 * emultempl/metagelf.em: Likewise.
781 * emultempl/mipself.em: Likewise.
782 * emultempl/mmo.em: Likewise.
783 * emultempl/msp430.em: Likewise.
784 * emultempl/nios2elf.em: Likewise.
785 * emultempl/pe.em: Likewise.
786 * emultempl/pep.em: Likewise.
787 * emultempl/ppc64elf.em: Likewise.
788 * emultempl/spuelf.em: Likewise.
789 * emultempl/vms.em: Likewise.
790 * ldelf.c: Likewise.
791 * ldelfgen.c: Include ldctor.h.
792 (struct os_sections): New.
793 (add_link_order_input_section, link_order_scan): New functions.
794 (compare_link_order, fixup_link_order): New functions.
795 (ldelf_map_segments): Call link_order_scan and fixup_link_order.
796 * ldlang.c (statement_list): Make global.
797 (output_section_callback_fast): Save pattern in tree node.
798 (lang_add_section): Add pattern parameter, save in lang_input_section.
799 (output_section_callback_tree_to_list): Adjust lang_add_section calls.
800 (lang_insert_orphan, output_section_callback): Likewise.
801 (ldlang_place_orphan): Likewise.
802 (gc_section_callback): Don't set section->pattern.
803 * testsuite/ld-elf/pr26256-2a.d: Don't xfail generic.
804 * testsuite/ld-elf/pr26256-3b.d: Likewise.
805 * testsuite/ld-elf/pr26256-2b.d: Likewise. notarget xgate.
806
8c4645b4
AM
8072021-01-13 Alan Modra <[email protected]>
808
809 * ldlang.h (callback_t): Remove flag_info function parameter.
810 * ldlang.c (walk_wild_consider_section): Adjust to suit.
811 (walk_wild_section_general): Likewise.
812 (output_section_callback_fast, output_section_callback): Likewise.
813 (check_section_callback, gc_section_callback): Likewise.
814 (find_relro_section_callback): Likewise.
815
d546b610
L
8162021-01-12 H.J. Lu <[email protected]>
817
818 PR binutils/26792
819 * configure.ac: Use GNU_MAKE_JOBSERVER.
820 * aclocal.m4: Regenerated.
821 * configure: Likewise.
822
c2e9a4a3
L
8232021-01-12 H.J. Lu <[email protected]>
824
825 PR ld/27171
826 * testsuite/ld-x86-64/pe-x86-64-5.obj.bz2: New file.
827 * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise.
828 * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise.
829 * testsuite/ld-x86-64/pe-x86-64.exp: Run PR ld/27171 test.
830
83b33c6c
L
8312021-01-11 H.J. Lu <[email protected]>
832
833 PR ld/27173
834 * configure: Regenerated.
835
c0f6e439
MJ
8362021-01-11 Matt Jenkins <[email protected]>
837
838 PR ld/27167
839 * ldmain.c (get_emulation): Add mipsmips32r3, mips32r5, mips64r3
840 and mips64r5 to list of known mips targets.
841
8422021-01-11 Nick Clifton <[email protected]>[email protected]
a8aa72b9
NC
843
844 * po/pt_BR.po: Updated Brazilian Portuguese translation.
845` * po/uk.po: Updated Ukranian translation.
846
a4966cd9
L
8472021-01-09 H.J. Lu <[email protected]>
848
849 * configure: Regenerated.
850
0a94990b
L
8512021-01-09 H.J. Lu <[email protected]>
852
853 PR ld/27166
854 * testsuite/ld-x86-64/lam-u48.rd: New file.
855 * testsuite/ld-x86-64/lam-u57.rd: Likewise.
856 * testsuite/ld-x86-64/x86-64.exp: Add PR ld/27166 tests.
857
573fe3fb
NC
8582021-01-09 Nick Clifton <[email protected]>
859
860 * configure: Regenerate.
861 * po/ld.pot: Regenerate.
862
055bc77a
NC
8632021-01-09 Nick Clifton <[email protected]>
864
865 * 2.36 release branch crated.
866
ba9e922f
L
8672021-01-08 H.J. Lu <[email protected]>
868
869 * ld-x86-64/property-x86-lam-u48-4.d: Updated.
870 * ld-x86-64/property-x86-lam-u48-5.d: Likewise.
871
64307045
AM
8722021-01-09 Alan Modra <[email protected]>
873
874 * configure: Regenerate.
875 * Makefile.in: Regenerate.
876
f4782128
ST
8772021-01-07 Samuel Thibault <[email protected]>
878
879 * configure: Regenerate.
880
d1bcae83
L
8812021-01-07 H.J. Lu <[email protected]>
882
883 PR 27109
884 * testsuite/ld-elf/export-class.sd: Adjust the expected output.
885 * testsuite/ld-elf/loadaddr3b.d: Likewise.
886 * testsuite/ld-i386/ibt-plt-1.d: Likewise.
887 * testsuite/ld-i386/ibt-plt-2a.d: Likewise.
888 * testsuite/ld-i386/ibt-plt-2c.d: Likewise.
889 * testsuite/ld-i386/ibt-plt-3a.d: Likewise.
890 * testsuite/ld-i386/ibt-plt-3c.d: Likewise.
891 * testsuite/ld-i386/pr19636-1d.d: Likewise.
892 * testsuite/ld-i386/pr19636-1l.d: Likewise.
893 * testsuite/ld-i386/pr19636-2c.d: Likewise.
894 * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise.
895 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise.
896 * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Likewise.
897 * testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise.
898 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
899 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
900 * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise.
901 * testsuite/ld-ifunc/pr17154-i386.d: Likewise.
902 * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
903 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
904 * testsuite/ld-x86-64/bnd-branch-1-now.d: Likewise.
905 * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise.
906 * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise.
907 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
908 * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise.
909 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
910 * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise.
911 * testsuite/ld-x86-64/ibt-plt-1.d: Likewise.
912 * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise.
913 * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise.
914 * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise.
915 * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise.
916 * testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise.
917 * testsuite/ld-x86-64/ibt-plt-3a.d: Likewise.
918 * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise.
919 * testsuite/ld-x86-64/ibt-plt-3c.d: Likewise.
920 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
921 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
922 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
923 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
924 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
925 * testsuite/ld-x86-64/pr19636-2l.d: Likewise.
926 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
927 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
928 * testsuite/ld-x86-64/pr21038b-now.d: Likewise.
929 * testsuite/ld-x86-64/pr21038b.d: Likewise.
930 * testsuite/ld-x86-64/pr21038c-now.d: Likewise.
931 * testsuite/ld-x86-64/pr21038c.d: Likewise.
932 * testsuite/ld-x86-64/pr23854.d: Likewise.
933 * testsuite/ld-x86-64/pr25416-3.d: Likewise.
934 * testsuite/ld-x86-64/pr25416-4.d: Likewise.
935 * testsuite/ld-i386/plt-pic.pd: Likewise.
936 * testsuite/ld-i386/plt-pic2.dd: Likewise.
937 * testsuite/ld-i386/plt.pd: Likewise.
938 * testsuite/ld-i386/plt2.dd: Likewise.
939 * testsuite/ld-i386/tlsbin.rd: Likewise.
940 * testsuite/ld-i386/tlsbin2.rd: Likewise.
941 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
942 * testsuite/ld-i386/tlsdesc.rd: Likewise.
943 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
944 * testsuite/ld-i386/tlsnopic.rd: Likewise.
945 * testsuite/ld-i386/tlspic.rd: Likewise.
946 * testsuite/ld-i386/tlspic2.rd: Likewise.
947 * testsuite/ld-x86-64/mpx3.dd: Likewise.
948 * testsuite/ld-x86-64/mpx3n.dd: Likewise.
949 * testsuite/ld-x86-64/mpx4.dd: Likewise.
950 * testsuite/ld-x86-64/mpx4n.dd: Likewise.
951 * testsuite/ld-x86-64/pe-x86-64-1.od: Likewise.
952 * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise.
953 * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise.
954 * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise.
955 * testsuite/ld-x86-64/plt.pd: Likewise.
956 * testsuite/ld-x86-64/plt2.dd: Likewise.
957 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
958 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
959 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
960 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
961 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
962 * testsuite/ld-x86-64/tlspic.rd: Likewise.
963 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
964 * testsuite/ld-elf/sec64k.exp: Check
965 is_elf_unused_section_symbols.
966
dc200613
AM
9672021-01-07 Alan Modra <[email protected]>
968
969 * testsuite/ld-scripts/fill.d: Skip sh-*-pe rather than xfail.
970 * testsuite/ld-scripts/fill16.d: Don't xfail sh-*-pe.
971 * testsuite/ld-scripts/segment-start.d: Likewise.
972
8e604ff0
AM
9732021-01-07 Alan Modra <[email protected]>
974
975 * testsuite/ld-elf/comm-data5.d: xfail targets that complain
976 about dynamic relocations in read-only sections.
977 * testsuite/ld-elf/ehdr_start-shared.d: Likewise.
978 * testsuite/ld-elf/ehdr_start.d: Likewise.
979 * testsuite/ld-scripts/pr22267.d: Likewise.
980 * testsuite/ld-elf/shared.exp: Likewise for DT_TEXTREL tests and
981 pr20995 text.
982 * testsuite/ld-elf/sec64k.exp: Don't run 64ksec on lm32-linux.
983
4d4490b8
MC
9842021-01-07 Marcus Comstedt <[email protected]>
985
986 * testsuite/ld-scripts/empty-address-2a.d: xfail riscv64*-*-*.
987 * testsuite/ld-scripts/empty-address-2b.d: Likewise.
988
f526791a
AM
9892021-01-07 Alan Modra <[email protected]>
990
991 * po/BLD-POTFILES.in: Regenerate.
992
4018f4e0
AM
9932021-01-07 Alan Modra <[email protected]>
994
995 * testsuite/ld-elf/shared.exp: xfail pr22471 for targets that
996 complain about relocs in read-only sections. Tidy ASFLAGS append.
997
3677b729
AM
9982021-01-06 Alan Modra <[email protected]>
999
1000 * testsuite/ld-sparc/sparc.exp (sparc64tests): Set text-segment
1001 base for some tests.
1002 * testsuite/ld-sparc/gotop32.dd: Match solaris output.
1003 * testsuite/ld-sparc/gotop32.sd: Likewise.
1004 * testsuite/ld-sparc/gotop32.td: Likewise.
1005 * testsuite/ld-sparc/gotop64.dd: Likewise.
1006 * testsuite/ld-sparc/gotop64.sd: Likewise.
1007 * testsuite/ld-sparc/gotop64.td: Likewise.
1008 * testsuite/ld-sparc/tlsg32.sd: Likewise.
1009 * testsuite/ld-sparc/tlsg64.sd: Likewise.
1010 * testsuite/ld-sparc/tlspie32.dd: Likewise.
1011 * testsuite/ld-sparc/tlspie64.dd: Likewise.
1012 * testsuite/ld-sparc/tlssunbin32.dd: Likewise.
1013 * testsuite/ld-sparc/tlssunbin32.sd: Likewise.
1014 * testsuite/ld-sparc/tlssunbin32.td: Likewise.
1015 * testsuite/ld-sparc/tlssunbin64.dd: Likewise.
1016 * testsuite/ld-sparc/tlssunbin64.sd: Likewise.
1017 * testsuite/ld-sparc/tlssunbin64.td: Likewise.
1018 * testsuite/ld-sparc/tlssunnopic32.dd: Likewise.
1019 * testsuite/ld-sparc/tlssunnopic32.sd: Likewise.
1020 * testsuite/ld-sparc/tlssunnopic64.dd: Likewise.
1021 * testsuite/ld-sparc/tlssunnopic64.sd: Likewise.
1022 * testsuite/ld-sparc/tlssunpic32.dd: Likewise.
1023 * testsuite/ld-sparc/tlssunpic32.sd: Likewise.
1024 * testsuite/ld-sparc/tlssunpic32.td: Likewise.
1025 * testsuite/ld-sparc/tlssunpic64.dd: Likewise.
1026 * testsuite/ld-sparc/tlssunpic64.sd: Likewise.
1027 * testsuite/ld-sparc/tlssunpic64.td: Likewise.
1028 * testsuite/ld-sparc/wdispcall.dd: Likewise.
1029
73624512
AM
10302021-01-06 Alan Modra <[email protected]>
1031
1032 * testsuite/ld-scripts/rgn-at10.d: xfail v850.
1033 * testsuite/ld-scripts/rgn-at11.d: Likewise.
1034
f36ce378
MC
10352021-01-06 Marcus Comstedt <[email protected]>
1036
1037 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Added
1038 riscv_choose_[ilp32|lp64]_emul to choose the correct linker script.
1039 * testsuite/ld-riscv-elf/attr-merge-arch-01.d: Call
1040 riscv_choose_[ilp32|lp64]_emul instead of hardcoding elf[32|64]lriscv.
1041 * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
1042 * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
1043 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Likewise.
1044 * testsuite/ld-riscv-elf/attr-merge-arch-failed-02.d: Likewise.
1045 * testsuite/ld-riscv-elf/c-lui-2.d: Likewise.
1046 * testsuite/ld-riscv-elf/c-lui.d: Likewise.
1047 * testsuite/ld-riscv-elf/call-relax.d: Likewise.
1048 * testsuite/ld-riscv-elf/pcrel-lo-addend-2.d: Likewise.
1049 * testsuite/ld-riscv-elf/pcrel-lo-addend.d: Likewise.
1050 * testsuite/ld-riscv-elf/weakref32.d: Accept bigriscv in addition
1051 to littleriscv.
1052 * testsuite/ld-riscv-elf/weakref64.d: Likewise.
1053
fbc09e7a
MC
10542021-01-06 Marcus Comstedt <[email protected]>
1055
1056 * configure.tgt: Added riscvbe-*-*, riscv32be*-*-*, riscv64be*-*-*,
1057 riscv32be*-*-linux*, and riscv64be*-*-linux*.
1058 * Makefile.am: Added eelf32briscv.c, eelf32briscv_ilp32f.c and
1059 eelf32briscv_ilp32.c.
1060 * Makefile.in: Regenerate.
1061 * emulparams/elf32briscv.sh: Added.
1062 * emulparams/elf32briscv_ilp32.sh: Likewise.
1063 * emulparams/elf32briscv_ilp32f.sh: Likewise.
1064 * emulparams/elf64briscv.sh: Likewise.
1065 * emulparams/elf64briscv_lp64.sh: Likewise.
1066 * emulparams/elf64briscv_lp64f.sh: Likewise.
1067
b4b6ea46
NA
10682021-01-05 Nick Alcock <[email protected]>
1069
1070 * testsuite/ld-ctf/enum-forward.c: New test.
1071 * testsuite/ld-ctf/enum-forward.c: New results.
1072
37002871
NA
10732021-01-05 Nick Alcock <[email protected]>
1074
1075 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
1076 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
1077 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
1078 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
1079 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
1080 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
1081 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
1082 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
1083 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
1084 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
1085 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
1086 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
1087 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
1088 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
1089 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
1090 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
1091 * testsuite/ld-ctf/cycle-1.d: Likewise.
1092 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
1093 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
1094 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
1095 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
1096 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
1097 * testsuite/ld-ctf/diag-cuname.d: Likewise.
1098 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
1099 * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise.
1100 * testsuite/ld-ctf/forward.d: Likewise.
1101 * testsuite/ld-ctf/function.d: Likewise.
1102 * testsuite/ld-ctf/slice.d: Likewise.
1103 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
1104 * testsuite/ld-ctf/enums.c: New test.
1105 * testsuite/ld-ctf/enums.d: New test.
1106
ffeece6a
NA
11072021-01-05 Nick Alcock <[email protected]>
1108
1109 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Adjust for dumper
1110 changes.
1111 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
1112 * testsuite/ld-ctf/forward.c: New test...
1113 * testsuite/ld-ctf/forward.d: ... and results.
1114
91e7ce2f
NA
11152021-01-05 Nick Alcock <[email protected]>
1116
1117 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
1118 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
1119 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
1120 * testsuite/ld-ctf/diag-cuname.d: Likewise.
1121 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
1122 * testsuite/ld-ctf/function.d: Likewise.
1123 * testsuite/ld-ctf/slice.d: Likewise.
1124
57f97d0e
NA
11252021-01-05 Nick Alcock <[email protected]>
1126
1127 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
1128 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
1129 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
1130 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
1131 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
1132 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
1133 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
1134 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
1135 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
1136 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
1137 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
1138 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
1139 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
1140 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
1141 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
1142 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
1143 * testsuite/ld-ctf/cycle-1.d: Likewise.
1144 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
1145 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
1146 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
1147 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
1148 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
1149 * testsuite/ld-ctf/diag-cuname.d: Likewise.
1150 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
1151 * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise.
1152 * testsuite/ld-ctf/function.d: Likewise.
1153 * testsuite/ld-ctf/slice.d: Likewise.
1154 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
1155
b281a04f
AM
11562021-01-05 Alan Modra <[email protected]>
1157
1158 * testsuite/ld-scripts/sysroot-prefix.exp: Exclude some targets.
1159
40b11930
AM
11602021-01-05 Alan Modra <[email protected]>
1161
1162 PR ld/26256
1163 * testsuite/ld-elf/pr26256-1b.d: xfail s12z.
1164 * testsuite/ld-scripts/crossref.exp (cross1): Don't xfail ia64.
1165
cd6d537c
L
11662021-01-04 H.J. Lu <[email protected]>
1167
1168 PR ld/26256
1169 * ldlang.c (gc_section_callback): Set pattern.
1170 * testsuite/ld-elf/pr26256-1.s: New file.
1171 * testsuite/ld-elf/pr26256-1.t: Likewise.
1172 * testsuite/ld-elf/pr26256-1a.d: Likewise.
1173 * testsuite/ld-elf/pr26256-1b.d: Likewise.
1174 * testsuite/ld-elf/pr26256-2.s: Likewise.
1175 * testsuite/ld-elf/pr26256-2.t: Likewise.
1176 * testsuite/ld-elf/pr26256-2a.d: Likewise.
1177 * testsuite/ld-elf/pr26256-2b-alt.d: Likewise.
1178 * testsuite/ld-elf/pr26256-2b.d: Likewise.
1179 * testsuite/ld-elf/pr26256-3.s: Likewise.
1180 * testsuite/ld-elf/pr26256-3a.d: Likewise.
1181 * testsuite/ld-elf/pr26256-3a.t: Likewise.
1182 * testsuite/ld-elf/pr26256-3b.d: Likewise.
1183 * testsuite/ld-elf/pr26256-3b.t: Likewise.
1184
5b4293ba
AM
11852021-01-04 Alan Modra <[email protected]>
1186
1187 PR 26822
1188 * testsuite/ld-arm/non-contiguous-arm2.d: Adjust STT_FILE symbol match.
1189 * testsuite/ld-arm/non-contiguous-arm3.d: Likewise.
1190 * testsuite/ld-arm/non-contiguous-arm5.d: Likewise.
1191 * testsuite/ld-arm/non-contiguous-arm6.d: Likewise.
1192 * testsuite/ld-i386/tlsbin.rd: Likewise.
1193 * testsuite/ld-i386/tlsbin2.rd: Likewise.
1194 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
1195 * testsuite/ld-i386/tlsdesc.rd: Likewise.
1196 * testsuite/ld-i386/tlsnopic.rd: Likewise.
1197 * testsuite/ld-i386/tlspic.rd: Likewise.
1198 * testsuite/ld-i386/tlspic2.rd: Likewise.
1199 * testsuite/ld-mips-elf/global-local-symtab-sort-n64.d: Likewise.
1200 * testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d: Likewise.
1201 * testsuite/ld-mips-elf/global-local-symtab-sort-o32.d: Likewise.
1202 * testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d: Likewise.
1203 * testsuite/ld-plugin/pr17973.d: Likewise.
1204 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
1205 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
1206 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
1207 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
1208 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
1209 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
1210 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
1211 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
1212 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
1213 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
1214 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
1215 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
1216 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
1217 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
1218 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
1219 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
1220 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1221 * testsuite/ld-x86-64/tlspic.rd: Likewise.
1222 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
1223 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
1224 * testsuite/ld-xtensa/tlspic.rd: Likewise.
1225
f9a6a8f0
AM
12262021-01-01 Nicolas Boulenguez <[email protected]>
1227
1228 * configure.tgt: Correct comment grammar.
1229 * emultempl/m68hc1xelf.em: Likewise.
1230 * ld.texi: Correct grammar.
1231
250d07de
AM
12322021-01-01 Alan Modra <[email protected]>
1233
1234 Update year range in copyright notice of all files.
1235
c2795844 1236For older changes see ChangeLog-2020
3499769a 1237\f
c2795844 1238Copyright (C) 2021 Free Software Foundation, Inc.
3499769a
AM
1239
1240Copying and distribution of this file, with or without modification,
1241are permitted in any medium without royalty provided the copyright
1242notice and this notice are preserved.
1243
1244Local Variables:
1245mode: change-log
1246left-margin: 8
1247fill-column: 74
1248version-control: never
1249End:
This page took 0.801424 seconds and 4 git commands to generate.