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