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