]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/ChangeLog
elf: Always append ".COUNT" to local symbols
[thirdparty/binutils-gdb.git] / ld / ChangeLog
CommitLineData
4467df35
L
12021-05-05 H.J. Lu <hongjiu.lu@intel.com>
2
3 PR ld/27825
4 * testsuite/ld-elf/pr27825-1.d: New file.
5 * testsuite/ld-elf/pr27825-1a.s: Likewise.
6 * testsuite/ld-elf/pr27825-1b.s: Likewise.
7 * testsuite/ld-elf/pr27825-2.d: Likewise.
8 * testsuite/ld-elf/pr27825-2a.s: Likewise.
9 * testsuite/ld-elf/pr27825-2b.s: Likewise.
10
13ffdac3
AM
112021-05-05 Alan Modra <amodra@gmail.com>
12
13 * testsuite/ld-powerpc/empty.s: New file.
14 * testsuite/ld-powerpc/undefweak.d,
15 * testsuite/ld-powerpc/undefweak.s: New testcase.
16 * testsuite/ld-powerpc/powerpc.exp: Run it.
17
df6fbc21
AM
182021-05-03 Alan Modra <amodra@gmail.com>
19
20 * testsuite/ld-s390/tlspic_64.rd: Adjust expected output for
21 named section symbols.
22
24aebc79
NC
232021-04-28 Nick Clifton <nickc@redhat.com>
24
25 * testsuite/ld-elf/anno-sym.s: New test source file.
26 * testsuite/ld-elf/anno-sym.d: New test driver.
27 * testsuite/ld-elf/anno-sym.l: New test error output.
28
a7664973
JB
292021-04-26 Jan Beulich <jbeulich@suse.com>
30
31 * testsuite/ld-i386/pcrel16-2.s, testsuite/ld-i386/pcrel16-2.d,
32 testsuite/ld-x86-64/pcrel16-2.d: New.
33 * testsuite/ld-i386/i386.exp: Run new test.
34 * testsuite/ld-x86-64/x86-64.exp: Likewise.
35
69cc1945
L
362021-04-23 H.J. Lu <hongjiu.lu@intel.com>
37
38 PR ld/27771
39 * testsuite/ld-bootstrap/bootstrap.exp: Create a symbolic link
40 to tmpdir/ldscripts only if it doesn't exist.
41
d018cd83
JB
422021-04-22 Jan Beulich <jbeulich@suse.com>
43
44 PR ld/26659
45 * testsuite/ld-pe/pr26659-weak-undef-sym.d: Relax for Cygwin.
46
23356397
NC
472021-04-21 Nick Clifton <nickc@redhat.com>
48
49 * testsuite/ld-aarch64/variant_pcs-now.d: Adjust expected output
50 to allow for named section symbols.
51 * testsuite/ld-aarch64/variant_pcs-r.d: Likewise.
52 * testsuite/ld-aarch64/variant_pcs-shared.d: Likewise.
53 * testsuite/ld-alpha/tlsbin.rd: Likewise.
54 * testsuite/ld-alpha/tlsbinr.rd: Likewise.
55 * testsuite/ld-alpha/tlspic.rd: Likewise.
56 * testsuite/ld-arm/rodata-merge-map.sym: Likewise.
57 * testsuite/ld-arm/script-type.sym: Likewise.
58 * testsuite/ld-cris/libdso-2.d: Likewise.
59 * testsuite/ld-cris/pr16044.d: Likewise.
60 * testsuite/ld-elf/sec64k.exp: Likewise.
61 * testsuite/ld-ia64/tlsbin.rd: Likewise.
62 * testsuite/ld-ia64/tlspic.rd: Likewise.
63 * testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d: Likewise.
64 * testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d: Likewise.
65 * testsuite/ld-mmix/bspec1.d: Likewise.
66 * testsuite/ld-mmix/bspec2.d: Likewise.
67 * testsuite/ld-mmix/local1.d: Likewise.
68 * testsuite/ld-mmix/local3.d: Likewise.
69 * testsuite/ld-mmix/local5.d: Likewise.
70 * testsuite/ld-mmix/local7.d: Likewise.
71 * testsuite/ld-mmix/undef-3.d: Likewise.
72 * testsuite/ld-powerpc/tlsso.r: Likewise.
73 * testsuite/ld-powerpc/tlsso32.r: Likewise.
74 * testsuite/ld-powerpc/tlstocso.r: Likewise.
75 * testsuite/ld-s390/tlsbin.rd: Likewise.
76 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
77 * testsuite/ld-s390/tlspic.rd: Likewise.
78 * testsuite/ld-s390/tlspic_64.rd: Likewise.
79 * testsuite/ld-sparc/gotop32.rd: Likewise.
80 * testsuite/ld-sparc/gotop64.rd: Likewise.
81 * testsuite/ld-sparc/tlssunbin32.rd: Likewise.
82 * testsuite/ld-sparc/tlssunbin64.rd: Likewise.
83 * testsuite/ld-sparc/tlssunnopic32.rd: Likewise.
84 * testsuite/ld-sparc/tlssunnopic64.rd: Likewise.
85 * testsuite/ld-sparc/tlssunpic32.rd: Likewise.
86 * testsuite/ld-sparc/tlssunpic64.rd: Likewise.
87 * testsuite/ld-tic6x/common.d: Likewise.
88 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
89 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
90 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
91 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
92 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
93 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
94 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
95 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
96 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
97 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
98 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
99 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
100 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
101
c5df7e44
CC
1022021-04-20 Clément Chigot <clement.chigot@atos.net>
103
104 PR binutils/21700
105 * testsuite/ld-powerpc/aix52.exp: Add new test.
106 * testsuite/ld-powerpc/aix-neg-reloc-32.d: New test.
107 * testsuite/ld-powerpc/aix-neg-reloc-64.d: New test.
108 * testsuite/ld-powerpc/aix-neg-reloc.ex: New test.
109 * testsuite/ld-powerpc/aix-neg-reloc.s: New test.
110
6418520e
NC
1112021-04-13 Nick Clifton <nickc@redhat.com>
112
113 * ld.texi (Options): Add note about the effect of --as-needed on
114 the --rpath and --rpath-link options on Linux based systems.
115
1cfc6f00
AM
1162021-04-13 Alan Modra <amodra@gmail.com>
117
118 PR 27722
119 * libdep_plugin.c (str2vec): Don't pass a potentially signed char
120 to isspace.
121
43e05cd4
AM
1222021-04-12 Alan Modra <amodra@gmail.com>
123
124 * configure.ac (--enable-checking): Add support.
125 * config.in: Regenerate.
126 * configure: Regenerate.
127
2cc15b10
AM
1282021-04-12 Alan Modra <amodra@gmail.com>
129
130 * emultempl/mipself.em (mips_create_output_section_statements):
131 Pass base type of hash table to is_elf_hash_table.
132 * ldelf.c (ldelf_after_open): Likewise.
133
fc304b88
AM
1342021-04-12 Alan Modra <amodra@gmail.com>
135
136 PR 27719
137 * ldlang.c (lang_mark_undefineds, undef_start_stop): Test that
138 the symbol hash table is the correct type before accessing
139 elf_link_hash_entry symbols.
140 * plugin.c (is_visible_from_outside): Likewise.
141 * emultempl/armelf.em (ld${EMULATION_NAME}_finish): Likewise.
142 * emultempl/solaris2.em (elf_solaris2_before_allocation): Likewise.
143
c3f72de4
AM
1442021-04-09 Alan Modra <amodra@gmail.com>
145
146 * testsuite/ld-powerpc/inlinepcrel-1.d: Update expected output.
147 * testsuite/ld-powerpc/inlinepcrel-2.d: Likewise.
148 * testsuite/ld-powerpc/notoc2.d: Likewise.
149 * testsuite/ld-powerpc/notoc3.d: Likewise.
150 * testsuite/ld-powerpc/pcrelopt.d: Likewise.
151 * testsuite/ld-powerpc/startstop.d: Likewise.
152 * testsuite/ld-powerpc/tlsget.d: Likewise.
153 * testsuite/ld-powerpc/tlsget2.d: Likewise.
154 * testsuite/ld-powerpc/tlsld.d: Likewise.
155 * testsuite/ld-powerpc/weak1.d: Likewise.
156 * testsuite/ld-powerpc/weak1so.d: Likewise.
157
bd3d1480
JB
1582021-04-06 Jan Beulich <jbeulich@suse.com>
159
160 * pe-dll.c (generate_reloc): Bail immediately when .reloc is
161 being discarded. Warn when relocated entry is above .reloc.
162
c774eab1
AM
1632021-04-05 Alan Modra <amodra@gmail.com>
164
165 * configure.ac: Move initfini-array arg handling earlier. Don't
166 check for string.h, strings.h, stdlib.h, or locale.h. Do check
167 for inttypes.h, stdint.h, sys/types.h. Don't check for
168 setlocale, free, getev or strstr.
169 (AC_ISC_POSIX): Don't invoke.
170 * sysdep.h: Include string.h and stdlib.h unconditionally. Test
171 HAVE_SYS_TYPE_H and HAVE_SYS_STAT_H. Remove strstr, free and
172 getenv fallback declarations.
173 * ld.h: Don't test HAVE_LOCALE_H.
174 * ldmain.c: Don't test HAVE_SETLOCALE.
175 * config.in: Regenerate.
176 * configure: Regenerate.
177
74edb473
TC
1782021-04-01 Tamar Christina <tamar.christina@arm.com>
179
180 PR ld/26659
181 * testsuite/ld-pe/pe.exp: Add test.
182 * testsuite/ld-pe/pr26659-weak-undef-sym.d: New test.
183 * testsuite/ld-pe/pr26659-weak-undef-sym.s: New test.
184
e9b095a5
ML
1852021-04-01 Martin Liska <mliska@suse.cz>
186
187 * ldbuildid.c (strneq): Remove strneq and use startswith.
188 (validate_build_id_style): Likewise.
189 (compute_build_id_size): Likewise.
190
f38a2680
AM
1912021-03-31 Alan Modra <amodra@gmail.com>
192
193 * sysdep.h (POISON_BFD_BOOLEAN): Define.
194 * configure.ac (elf_list_options, elf_shlib_list_options=false),
195 (elf_plt_unwind_list_options=false): Replace FALSE with false,
196 and TRUE with true.
197 * emulparams/call_nop.sh, * emulparams/cet.sh,
198 * emulparams/dynamic_undefined_weak.sh,
199 * emulparams/elf32b4300.sh, * emulparams/elf32lm32.sh,
200 * emulparams/elf32lr5900.sh, * emulparams/elf32lr5900n32.sh,
201 * emulparams/elf32visium.sh, * emulparams/elf_x86_64.sh,
202 * emulparams/extern_protected_data.sh, * emulparams/plt_unwind.sh,
203 * emulparams/reloc_overflow.sh, * emulparams/static.sh,
204 * emulparams/x86-64-lam.sh, * emultempl/aarch64elf.em,
205 * emultempl/aix.em, * emultempl/alphaelf.em,
206 * emultempl/armcoff.em, * emultempl/armelf.em,
207 * emultempl/avrelf.em, * emultempl/beos.em, * emultempl/bfin.em,
208 * emultempl/cr16elf.em, * emultempl/crxelf.em,
209 * emultempl/cskyelf.em, * emultempl/elf.em, * emultempl/genelf.em,
210 * emultempl/hppaelf.em, * emultempl/linux.em,
211 * emultempl/m68hc1xelf.em, * emultempl/metagelf.em,
212 * emultempl/mipself.em, * emultempl/mmix-elfnmmo.em,
213 * emultempl/mmixelf.em, * emultempl/mmo.em, * emultempl/msp430.em,
214 * emultempl/nios2elf.em, * emultempl/pdp11.em, * emultempl/pe.em,
215 * emultempl/pep.em, * emultempl/ppc32elf.em,
216 * emultempl/ppc64elf.em, * emultempl/rxelf.em,
217 * emultempl/rxlinux.em, * emultempl/scoreelf.em,
218 * emultempl/solaris2.em, * emultempl/spuelf.em,
219 * emultempl/ticoff.em, * emultempl/v850elf.em, * emultempl/vms.em,
220 * emultempl/xtensaelf.em, * emultempl/z80.em, * ld.h,
221 * ldbuildid.c, * ldbuildid.h, * ldcref.c, * ldctor.c, * ldctor.h,
222 * ldelf.c, * ldelf.h, * ldelfgen.c, * ldelfgen.h, * ldemul.c,
223 * ldemul.h, * ldexp.c, * ldexp.h, * ldfile.c, * ldfile.h,
224 * ldgram.y, * ldlang.c, * ldlang.h, * ldmain.c, * ldmain.h,
225 * ldmisc.c, * ldmisc.h, * ldwrite.c, * lexsup.c, * mri.c,
226 * pe-dll.c, * pe-dll.h, * pep-dll.h, * plugin.c, * plugin.h,
227 * testplug.c, * testplug2.c, * testplug3.c, * testplug4.c: Replace
228 bfd_boolean with bool, FALSE with false, and TRUE with true.
229 * configure: Regenerate.
230
3dfb1b6d
AM
2312021-03-31 Alan Modra <amodra@gmail.com>
232
233 * elf-hints-local.h: Include stdint.h in place of bfd_stdint.h.
234 * emultempl/nds32elf.em: Likewise.
235 * testsuite/ld-elf/mbind2b.c: Likewise.
236 * testsuite/ld-elf/pr18718.c: Likewise.
237 * testsuite/ld-elf/pr18720a.c: Likewise.
238 * testsuite/ld-elf/pr25749-1.c: Likewise.
239 * testsuite/ld-elf/pr25749-1a.c: Likewise.
240 * testsuite/ld-elf/pr25749-1b.c: Likewise.
241 * testsuite/ld-elf/pr25749-1c.c: Likewise.
242 * testsuite/ld-elf/pr25749-1d.c: Likewise.
243 * testsuite/ld-elf/pr25749-2.c: Likewise.
244 * testsuite/ld-elf/pr25754-1a.c: Likewise.
245 * testsuite/ld-elf/pr25754-2a.c: Likewise.
246 * testsuite/ld-elf/pr25754-3a.c: Likewise.
247 * testsuite/ld-elf/pr25754-4a.c: Likewise.
248 * testsuite/ld-elf/pr25754-5a.c: Likewise.
249 * testsuite/ld-elf/pr25754-6a.c: Likewise.
250
63b4cc53
AM
2512021-03-29 Alan Modra <amodra@gmail.com>
252
253 * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Simplify
254 boolean expression.
255 * lexsup.c (parse_args): Likewise.
256 * pe-dll.c (pe_dll_id_target): Likewise.
257
8592be8c
NA
2582021-03-25 Nick Alcock <nick.alcock@oracle.com>
259
260 * testsuite/ld-ctf/array.d: Only check that the data object
261 section is nonempty: do not check its exact size.
262 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
263 * testsuite/ld-ctf/slice.d: Likewise.
264 * testsuite/ld-ctf/data-func-conflicted.d: Likewise, and for the
265 func info section too.
266 * testsuite/ld-ctf/function.d: Likewise, for the func info section.
267
08dedd66
ML
2682021-03-22 Martin Liska <mliska@suse.cz>
269
270 * emultempl/aix.em: Replace usage of CONST_STRNEQ with startswith.
271 * emultempl/beos.em: Likewise.
272 * emultempl/elf.em: Likewise.
273 * emultempl/pe.em: Likewise.
274 * emultempl/pep.em: Likewise.
275 * emultempl/xtensaelf.em: Likewise.
276 * ldctor.c (ctor_prio): Likewise.
277 * ldelf.c (ldelf_try_needed): Likewise.
278 (ldelf_parse_ld_so_conf): Likewise.
279 (ldelf_after_open): Likewise.
280 (output_rel_find): Likewise.
281 (ldelf_place_orphan): Likewise.
282 * ldfile.c (ldfile_add_library_path): Likewise.
283 * ldlang.c (lang_add_input_file): Likewise.
284 * ldmain.c (get_sysroot): Likewise.
285 (get_emulation): Likewise.
286 (add_archive_element): Likewise.
287 * ldwrite.c (unsplittable_name): Likewise.
288 (clone_section): Likewise.
289 * lexsup.c (parse_args): Likewise.
290 * pe-dll.c (is_import): Likewise.
291 (pe_implied_import_dll): Likewise.
292
1de96e5d
L
2932021-03-19 H.J. Lu <hongjiu.lu@intel.com>
294
295 PR ld/27590
296 * testsuite/ld-x86-64/pr27590.rd: New file.
297 * testsuite/ld-x86-64/pr27590a.obj.bz2: Likewise.
298 * testsuite/ld-x86-64/pr27590b.obj.bz2: Likewise.
299 * testsuite/ld-x86-64/x86-64.exp: Run ld/27590 test.
300
15407e7e
AM
3012021-03-20 Alan Modra <amodra@gmail.com>
302
303 PR 27590
304 * ldlang.c (lang_gc_sections): Clear SEC_EXCLUDE when relocatable
305 for all sections except .stabstr.
306
fba7f753
AM
3072021-03-19 Alan Modra <amodra@gmail.com>
308
309 PR 27590
310 * testsuite/ld-elf/pr27590a.d: Match relocs using label, and
311 R_MIPS_NONE.
312 * testsuite/ld-elf/pr27590b.d: Likewise.
313
3818d4ab
L
3142021-03-18 H.J. Lu <hongjiu.lu@intel.com>
315
316 PR ld/27590
317 * testsuite/ld-elf/pr27590.s: New file.
318 * testsuite/ld-elf/pr27590a.d: Likewise.
319 * testsuite/ld-elf/pr27590b.d: Likewise.
320 * testsuite/ld-i386/i386.exp: Also run ld/27193 test with
321 --reduce-memory-overheads.
322
51f6e7a9
L
3232021-03-18 H.J. Lu <hongjiu.lu@intel.com>
324
325 PR ld/27587
326 * testsuite/ld-x86-64/pr27587.err: New file.
327 * testsuite/ld-x86-64/pr27587a.obj.bz2: Likewise.
328 * testsuite/ld-x86-64/pr27587b.obj.bz2: Likewise.
329 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/27587 test.
330
69a28486
NA
3312021-03-18 Nick Alcock <nick.alcock@oracle.com>
332
333 * testsuite/ld-ctf/slice.c: Check slices of enums too.
334 * testsuite/ld-ctf/slice.d: Results adjusted.
335
ee42883c
NC
3362021-03-16 Nick Clifton <nickc@redhat.com>
337
338 * pe-dll.c (pe_find_cdecl_alias_match): Use memmove to overwrite
339 lname string.
340
c68b1842
JB
3412021-03-15 Jan Beulich <jbeulich@suse.com>
342
343 * pe-dll.c (generate_reloc): Drop padding to reloc_s->size.
344
203a206d
AM
3452021-03-12 Alan Modra <amodra@gmail.com>
346
347 * Makefile.am (ALL_EMULATION_SOURCES): Move riscv files to..
348 (ALL_64_EMULATION_SOURCES): ..here.
349 * Makefile.in: Regenerate.
350
1b2cb8e2
CC
3512021-03-12 Clément Chigot <clement.chigot@atos.net>
352
353 * emultempl/aix.em: Ensure .tdata section is removed
354 if empty, even with -r flag.
355 * scripttempl/aix.sc: Handle TLS sections.
356 * testsuite/ld-powerpc/aix52.exp: Add new tests.
357 * testsuite/ld-powerpc/aix-tls-reloc-32.d: New test.
358 * testsuite/ld-powerpc/aix-tls-reloc-64.d: New test.
359 * testsuite/ld-powerpc/aix-tls-reloc.ex: New test.
360 * testsuite/ld-powerpc/aix-tls-reloc.s: New test.
361 * testsuite/ld-powerpc/aix-tls-section-32.d: New test.
362 * testsuite/ld-powerpc/aix-tls-section-64.d: New test.
363 * testsuite/ld-powerpc/aix-tls-section.ex: New test.
364 * testsuite/ld-powerpc/aix-tls-section.s: New test.
365
4a403be0
CC
3662021-03-12 Clément Chigot <clement.chigot@atos.net>
367
368 * scripttempl/aix.sc: Add .te to .data section.
369 * testsuite/ld-powerpc/aix52.exp: Add test structure for AIX7+.
370 Add aix-largetoc-1 test.
371 * testsuite/ld-powerpc/aix-largetoc-1-32.d: New test.
372 * testsuite/ld-powerpc/aix-largetoc-1-64.d: New test.
373 * testsuite/ld-powerpc/aix-largetoc-1.ex: New test.
374 * testsuite/ld-powerpc/aix-largetoc-1.s: New test.
375
68cb2183
AM
3762021-03-12 Alan Modra <amodra@gmail.com>
377
378 * testsuite/ld-gc/gc.exp: Pass "-image-base 0" to ld for PE, and
379 arrange to define __main for some run_dump_test tests.
380 * testsuite/ld-gc/pr13683.d: Accept more symbols.
381 * testsuite/ld-gc/pr14265.d: Likewise, and ordering.
382 * testsuite/ld-scripts/crossref.exp: Pass "-image-base 0" to ld for PE.
383 * testsuite/ld-srec/srec.exp: Likewise.
384 * testsuite/lib/ld-lib.exp (ld_link_defsyms): Use is_pecoff_format.
385
ebdcad3f
NC
3862021-03-11 Nelson Chu <nelson.chu@sifive.com>
387
388 * emultempl/riscvelf.em (after_allocation): Run ldelf_map_segments
389 many times if riscv_restart_relax_sections returns TRUE.
390 * testsuite/ld-riscv-elf/restart-relax.d: New testcase. Before
391 applying this patch, the call won't be relaxed to jal; But now we
392 have more chances to do relaxations.
393 * testsuite/ld-riscv-elf/restart-relax.s: Likewise.
394 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
395
67b0f684
JB
3962021-03-10 Jan Beulich <jbeulich@suse.com>
397
398 * testsuite/ld-scripts/pr22267.t: Avoid symbol value with more
399 than 32 set bits.
400 * testsuite/ld-scripts/pr22267.d: Adjust expectation and drop
401 comment.
402 * scripttempl/mcorepe.sc: Use PROVIDE() for _stack.
403
5dc75cf3
JB
4042021-03-09 Jan Beulich <jbeulich@suse.com>
405
406 * testsuite/ld-pe/reloc.s: Add entry point symbols. Increase
407 alignment to 4k.
408 * testsuite/ld-pe/reloc.d: xfail for mcore.
409
87fa7d56
JB
4102021-03-09 Jan Beulich <jbeulich@suse.com>
411
412 * testsuite/ld-scripts/alignof.exp,
413 testsuite/ld-scripts/data.exp,
414 testsuite/ld-scripts/default-script.exp,
415 testsuite/ld-scripts/log2.exp,
416 testsuite/ld-scripts/print-memory-usage.exp,
417 testsuite/ld-scripts/sizeof.exp,
418 testsuite/ld-undefined/weak-undef.exp: Set image base to zero
419 for PE/COFF.
420 * testsuite/ld-scripts/default-script1.d,
421 testsuite/ld-scripts/default-script2.d,
422 testsuite/ld-scripts/default-script3.d,
423 testsuite/ld-scripts/default-script4.d: Drop xfail and comment.
424
8c0546e9
L
4252021-03-05 H.J. Lu <hongjiu.lu@intel.com>
426
427 PR ld/27425
428 PR ld/27432
429 * ldelf.c (ldelf_set_output_arch): New function.
430 * ldelf.h (ldelf_set_output_arch): New prototype.
431 * emultempl/elf.em (LDEMUL_SET_OUTPUT_ARCH): Default to
432 ldelf_set_output_arch.
433 * ld-x86-64/pe-x86-64-1.od: Expect __executable_start.
434 * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise.
435 * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise.
436 * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise.
437 * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise.
438 * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise.
439 * testsuite/ld-x86-64/pe-x86-64-6.obj.bz2: New file.
440 * testsuite/ld-x86-64/pe-x86-64-6.od: Likewise.
441 * testsuite/ld-x86-64/pe-x86-64.exp: Run ld/27425 test.
442
d4e5db4e
JB
4432021-03-04 Jan Beulich <jbeulich@suse.com>
444
445 * testsuite/ld-scripts/map-address.exp: Set image base to zero
446 for PE/COFF.
447 * testsuite/ld-scripts/map-address.t: Place .text.
448
6fa7408d
JB
4492021-03-04 Jan Beulich <jbeulich@suse.com>
450
451 * ldexp.c (ldexp_is_final_sym_absolute): New.
452 * ldexp.h (ldexp_is_final_sym_absolute): Declare.
453 * pe-dll.c (generate_reloc): Skip absolute symbols.
454 * testsuite/ld-pe/reloc.s, testsuite/ld-pe/reloc.d: New.
455 * testsuite/ld-pe/pe.exp: Run new test.
456
5789f845
AM
4572021-03-03 Alan Modra <amodra@gmail.com>
458
459 PR 27500
460 * ldlang.c (insert_undefined): Don't mark symbols here.
461 (lang_mark_undefineds): Do so here instead, new function.
462 (lang_process): Call lang_mark_undefineds.
463 * testsuite/ld-gc/start3.d,
464 * testsuite/ld-gc/start3.s: New test.
465 * testsuite/ld-gc/start4.d,
466 * testsuite/ld-gc/start4.s: New test.
467 * testsuite/ld-gc/gc.exp: Run them.
468
270f32fc
AM
4692021-03-03 Alan Modra <amodra@gmail.com>
470
471 * testsuite/ld-gc/gc.exp: Define UNDERSCORE in ASFLAGS.
472 Move tests with ELF section directives to is_elf_format block.
473 * testsuite/ld-gc/abi-note.d: Run on more targets.
474 * testsuite/ld-gc/pr19167.d: Likewise and adjust xfails.
475 * testsuite/ld-gc/start.d: Likewise.
476 * testsuite/ld-gc/start2.d: Likewise.
477 * testsuite/ld-gc/stop.d: Likewise.
478 * testsuite/ld-gc/pr19167a.s: Add support for underscore targets.
479 * testsuite/ld-gc/start.s: Likewise.
480 * testsuite/ld-gc/start2.s: Likewise.
481
211bcd01
NA
4822021-03-02 Nick Alcock <nick.alcock@oracle.com>
483
484 * ldelfgen.c (ldelf_ctf_strtab_iter_cb): Skip zero-refcount strings.
485
b80e421f
AM
4862021-03-02 Alan Modra <amodra@gmail.com>
487
488 * testsuite/ld-powerpc/startstop.d,
489 * testsuite/ld-powerpc/startstop.r,
490 * testsuite/ld-powerpc/startstop.s: New test.
491 * testsuite/ld-powerpc/powerpc.exp: Run it.
492
f5b9c288
AM
4932021-03-02 Alan Modra <amodra@gmail.com>
494
495 * testsuite/ld-powerpc/weak1.d,
496 * testsuite/ld-powerpc/weak1.r,
497 * testsuite/ld-powerpc/weak1.s,
498 * testsuite/ld-powerpc/weak1so.d,
499 * testsuite/ld-powerpc/weak1so.r: New tests.
500 * testsuite/ld-powerpc/powerpc.exp: Run them.
501
ba6eb62f
NC
5022021-03-01 Hannes Domani <ssbssa@sourceware.org>
503 Nick Clifton <nickc@redhat.com>
504
505 PR 27268
506 * scripttempl/pe.sc: Add DWARF-5 section names.
507 * scripttempl/pep.sc: Likewise.
508
8ee10e86
AM
5092021-03-01 Alan Modra <amodra@gmail.com>
510 Fangrui Song <maskray@google.com>
511
512 * emultempl/elf.em: Handle -z start-stop-gc and -z nostart-stop-gc.
513 * lexsup.c (elf_static_list_options): Display help for them. Move
514 help for -z stack-size to here from elf_shlib_list_options. Add
515 help for -z start-stop-visibility and -z undefs.
516 * ld.texi: Document -z start-stop-gc and -z nostart-stop-gc.
517 * NEWS: Mention -z start-stop-gc.
518 * testsuite/ld-gc/start2.s,
519 * testsuite/ld-gc/start2.d: New test.
520 * testsuite/ld-gc/gc.exp: Run it.
521
7824c1d2
AM
5222021-03-01 Alan Modra <amodra@gmail.com>
523
524 * ldlang.c (undef_start_stop): For ELF make undefined start/stop
525 symbols undefweak if that was how they were referenced. Undo
526 dynamic state too.
527
6a1224ec
AM
5282021-03-01 Alan Modra <amodra@gmail.com>
529
530 * testsuite/ld-elf/pr25708.d: Add --with-symbol-versions to nm.
531 * testsuite/ld-elf/pr27128a.d: Likewise.
532 * testsuite/ld-elf/pr27128b.d: Likewise.
533 * testsuite/ld-elf/pr27128c.d: Likewise.
534 * testsuite/ld-elf/pr27128d.d: Likewise.
535 * testsuite/ld-elf/pr27128e.d: Likewise.
536
bfece756
AM
5372021-02-26 Alan Modra <amodra@gmail.com>
538
539 PR 27441
540 * testsuite/ld-plugin/pr27441a.c,
541 * testsuite/ld-plugin/pr27441b.c,
542 * testsuite/ld-plugin/pr27441c.c,
543 * testsuite/ld-plugin/pr27441c.d: New test.
544 * testsuite/ld-plugin/lto.exp: Run it.
545
3c27360b
JB
5462021-02-25 Jan Beulich <jbeulich@suse.com>
547
548 * ld.texi (PROVIDE): Downgrade "error" to "diagnostic".
549
89753bbf
AM
5502021-02-21 Alan Modra <amodra@gmail.com>
551
552 * ldexp.c (exp_fold_tree_1): Warn on script defining a symbol
553 defined in an object file.
554 * ldmain.c (multiple_definition): Heed info->warn_multiple_definition.
555 * testsuite/ld-scripts/defined5.d: Expect a warning.
556
2f973f13
AM
5572021-02-19 Alan Modra <amodra@gmail.com>
558
559 * testsuite/lib/ld-lib.exp: Whitespace.
560 (load_common_lib): Expand single use and delete this proc.
561 (run_host_cmd): Use -fno-lto when getting gcc's ld version.
562 Use -B for clang too.
563
a364a116
AB
5642021-02-18 Andrew Burgess <andrew.burgess@embecosm.com>
565
566 * testplugin.c (record_read_length): Remove debug fprintf.
567
5b1f6c95
AM
5682021-02-14 Alan Modra <amodra@gmail.com>
569
570 * testsuite/ld-cdtest/cdtest.exp,
571 * testsuite/ld-checks/checks.exp,
572 * testsuite/ld-elf/binutils.exp,
573 * testsuite/ld-elf/compress.exp,
574 * testsuite/ld-elf/dwarf.exp,
575 * testsuite/ld-elf/exclude.exp,
576 * testsuite/ld-elf/frame.exp,
577 * testsuite/ld-elf/indirect.exp,
578 * testsuite/ld-elf/linux-x86.exp,
579 * testsuite/ld-elf/sec-to-seg.exp,
580 * testsuite/ld-elf/tls_common.exp,
581 * testsuite/ld-elfcomm/elfcomm.exp,
582 * testsuite/ld-elfvers/vers.exp,
583 * testsuite/ld-elfvsb/elfvsb.exp,
584 * testsuite/ld-elfweak/elfweak.exp,
585 * testsuite/ld-ifunc/binutils.exp,
586 * testsuite/ld-mips-elf/mips-elf-flags.exp,
587 * testsuite/ld-misc/defsym.exp,
588 * testsuite/ld-mn10300/mn10300.exp,
589 * testsuite/ld-plugin/lto.exp,
590 * testsuite/ld-plugin/plugin.exp,
591 * testsuite/ld-scripts/align.exp,
592 * testsuite/ld-scripts/assert.exp,
593 * testsuite/ld-scripts/crossref.exp,
594 * testsuite/ld-scripts/defined.exp,
595 * testsuite/ld-scripts/extern.exp,
596 * testsuite/ld-scripts/log2.exp,
597 * testsuite/ld-scripts/map-address.exp,
598 * testsuite/ld-scripts/phdrs.exp,
599 * testsuite/ld-scripts/phdrs2.exp,
600 * testsuite/ld-scripts/script.exp,
601 * testsuite/ld-scripts/section-flags.exp,
602 * testsuite/ld-scripts/sizeof.exp,
603 * testsuite/ld-scripts/weak.exp,
604 * testsuite/ld-selective/selective.exp,
605 * testsuite/ld-sh/sh.exp,
606 * testsuite/ld-shared/shared.exp,
607 * testsuite/ld-srec/srec.exp,
608 * testsuite/ld-tic6x/tic6x.exp,
609 * testsuite/ld-undefined/undefined.exp,
610 * testsuite/ld-undefined/weak-undef.exp,
611 * testsuite/lib/ld-lib.exp: Don't use unresolved except after
612 perror. Instead report "unsupported" or "fail".
613
c46b7066
NC
6142021-02-12 Nick Clifton <nickc@redhat.com>
615
616 * testsuite/ld-elf/sec64k.exp: Stop readelf from automatically
617 following debug links.
618
933feaf3
AM
6192021-02-11 Alan Modra <amodra@gmail.com>
620
621 * NEWS: Mention arm-symbianelf removal.
622
a57d1773
AM
6232021-02-09 Alan Modra <amodra@gmail.com>
624
625 * Makefile.am (ALL_EMULATION_SOURCES): Remove earmsymbian.c.
626 Don't include symbian dep file.
627 * configure.tgt: Remove arm*-*-symbianelf* entry.
628 * emulparams/armsymbian.sh: Delete.
629 * ld.texi: Don't mention symbian.
630 * scripttempl/armbpabi.sc: Delete.
631 * testsuite/ld-arm/symbian-seg1.d: Delete.
632 * testsuite/ld-arm/symbian-seg1.s: Delete.
633 * testsuite/ld-arm/arm-elf.exp: Don't run symbian-seg1.
634 * Makefile.in: Regenerate.
635 * po/BLD-POTFILES.in: Regenerate.
636
38a143aa
L
6372021-02-07 H.J. Lu <hongjiu.lu@intel.com>
638
639 PR ld/27358
640 * testsuite/ld-i386/i386.exp: Remove property 3/4/5 run-time
641 tests.
642 * testsuite/ld-x86-64/x86-64.exp: Likewise.
643
35a01a04
NA
6442021-01-26 Nick Alcock <nick.alcock@oracle.com>
645
646 * ldlang.c (lang_merge_ctf): Set CTF_LINK_NO_FILTER_REPORTED_SYMS
647 when appropriate.
648
1a2f1b54
L
6492021-02-04 H.J. Lu <hongjiu.lu@intel.com>
650
651 PR ld/19609
652 * testsuite/ld-x86-64/pr19609-2a.d: Updated.
653 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
654 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
655 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
656 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
657 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
658 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
659
37707bd8
L
6602021-02-04 H.J. Lu <hongjiu.lu@intel.com>
661
662 PR ld/15146
663 * testsuite/ld-plugin/lto.exp: Run PR ld/15146 tests.
664 * testsuite/ld-plugin/pr15146.d: Restored.
665 * testsuite/ld-plugin/pr15146a.c: Likewise.
666 * testsuite/ld-plugin/pr15146b.c: Likewise.
667 * testsuite/ld-plugin/pr15146c.c: Likewise.
668 * testsuite/ld-plugin/pr15146d.c: Likewise.
669
7d409ac0
AM
6702021-02-04 Alan Modra <amodra@gmail.com>
671
672 * testsuite/ld-plugin/pr27311d.c: New test.
673 * testsuite/ld-plugin/lto.exp: Rename pr27311 to pr27311-1, compile
674 and link new test as pr27311-2.
675
69551367
AM
6762021-02-03 Alan Modra <amodra@gmail.com>
677
678 * testsuite/ld-ifunc/ifunc.exp (libpr16467b.so, libpr16467bn.so):
679 Link with --as-needed.
680
9918bff7
AM
6812021-02-02 Alan Modra <amodra@gmail.com>
682
683 * testsuite/ld-plugin/pr27311.d,
684 * testsuite/ld-plugin/pr27311.ver,
685 * testsuite/ld-plugin/pr27311a.c,
686 * testsuite/ld-plugin/pr27311b.c,
687 * testsuite/ld-plugin/pr27311c.c: New testcase.
688 * testsuite/ld-plugin/lto.exp: Run it. Correct PR14918 and
689 PR12982 entries.
690
1f568f9a
EH
6912021-02-01 Emery Hemingway <ehmry@posteo.net>
692
693 * configure.tgt: Add *-*-genode* as a target for AArch64 and x86.
694
fb6c220e
AM
6952021-02-01 Alan Modra <amodra@gmail.com>
696
697 * ldgram.y (defsym_expr): Use assignment rule.
698 * ldlex.h (ldlex_defsym): Delete.
699 * ldlex.l (DEFSYMEXP, ldlex_defsym): Delete.
700
40726f16
AM
7012021-02-01 Alan Modra <amodra@gmail.com>
702
703 * ldgram.y (section): Call ldlex_backup. Remove empty action.
704 * ldlex.h (ldlex_backup): Declare.
705 * ldlex.l (<EXPRESSION>NAME): Don't use NOCFILENAMECHAR set of
706 chars, use SYMBOLNAMECHAR.
707 (ldlex_backup): New function.
708
a5f92c67
AM
7092021-02-01 Alan Modra <amodra@gmail.com>
710
711 * ldgram.y: Whitespace fixes.
712
49daa38f
AM
7132021-02-01 Alan Modra <amodra@gmail.com>
714
715 * testsuite/ld-elf/pr27259.d: Correct sh_link match.
716
c4566785
AM
7172021-01-29 Alan Modra <amodra@gmail.com>
718
719 * testsuite/ld-tic6x/tic6x.exp: Add pr27271 test.
720
53e556e5
L
7212021-01-28 H.J. Lu <hongjiu.lu@intel.com>
722
723 PR ld/27259
724 * testsuite/ld-elf/pr27259.d: New file.
725 * testsuite/ld-elf/pr27259.s: Likewise.
726
def97fb9
AM
7272021-01-28 Alan Modra <amodra@gmail.com>
728
729 PR 27259
730 * ldelf.c (ldelf_before_place_orphans): Use linker_mark to
731 prevent endless looping of linked-to sections.
732
2eda57ef
L
7332021-01-26 H.J. Lu <hongjiu.lu@intel.com>
734
735 * testsuite/ld-x86-64/bnd-plt-1.d: Fix a typo.
736
1c9c9b9b
AM
7372021-01-26 Alan Modra <amodra@gmail.com>
738
739 PR 27226
740 * emulparams/alphavms.sh: Don't set COMPILE_IN.
741 * emulparams/elf64_ia64_vms.sh: Likewise.
742 * emulparams/elf64mmix.sh: Likewise.
743 * emulparams/elf_iamcu.sh: Likewise.
744 * emulparams/elf_k1om.sh: Likewise.
745 * emulparams/elf_l1om.sh: Likewise.
746 * emulparams/mmo.sh: Likewise.
747 * emulparams/pdp11.sh: Set DATA_SEG_ADDR.
748 * scripttempl/pdp11.sc: Use it.
749 * emultempl/pdp11.em: Don't edit .xn script for separate_code,
750 instead use .xe script. Support scripts from file system.
751 * emultempl/beos.em: Support scripts from file system.
752 * emultempl/pe.em: Likewise.
753 * emultempl/pep.em: Likewise.
754 * testsuite/ld-bootstrap/bootstrap.exp: Make tmpdir/ldscripts link.
755
9e42b976
FS
7562021-01-25 Fangrui Song <maskray@google.com>
757
758 PR ld/27230
759 * scripttempl/DWARF.sc: Add .debug_* sections.
760
b8df6900
NC
7612021-01-25 Nick Clifton <nickc@redhat.com>
762
763 * scripttempl/DWARF.sc: Add .debug_loclists, .debug_rnglists,
764 .debug_line_str and .debug_str_offsets. Move .debug_macro and
765 .debug_addr into DWARF-5 section.
766
c78eec44
AM
7672021-01-21 Alan Modra <amodra@gmail.com>
768
769 * testsuite/ld-elf/pr26936.d: No longer xfail mips.
770
4bd7c902
AM
7712021-01-20 Alan Modra <amodra@gmail.com>
772
773 * testsuite/ld-powerpc/relbrlt.s: Make symbols global.
774 * testsuite/ld-powerpc/relbrlt.d: Adjust to suit.
775 * testsuite/ld-powerpc/tlsget.d: Adjust for reordered stubs.
776 * testsuite/ld-powerpc/tlsget.wf: Likewise.
777 * testsuite/ld-powerpc/tlsget2.d: Likewise.
778 * testsuite/ld-powerpc/tlsget2.wf: Likewise.
779 * testsuite/ld-powerpc/tlsexe.r: Adjust for removed section syms.
780 * testsuite/ld-powerpc/tlsexe32.r: Likewise.
781 * testsuite/ld-powerpc/tlsexe32no.r: Likewise.
782 * testsuite/ld-powerpc/tlsexeno.r: Likewise.
783 * testsuite/ld-powerpc/tlsexenors.r: Likewise.
784 * testsuite/ld-powerpc/tlsexers.r: Likewise.
785 * testsuite/ld-powerpc/tlsexetoc.r: Likewise.
786 * testsuite/ld-powerpc/tlsexetocrs.r: Likewise.
787 * testsuite/ld-powerpc/tlsso.r: Likewise.
788 * testsuite/ld-powerpc/tlsso32.r: Likewise.
789 * testsuite/ld-powerpc/tlstocso.r: Likewise.
790
c98de297
NA
7912021-01-19 Nick Alcock <nick.alcock@oracle.com>
792
793 * testsuite/ld-ctf/data-func-2.c: Stop removal of the extern foo_t
794 symbols by the optimizer.
795 * testsuite/ld-ctf/data-func-conflicted.d: Adjust accordingly.
796
85e963f1
NC
7972021-01-19 Nelson Chu <nelson.chu@sifive.com>
798
799 * testsuite/ld-elf/elf.exp (riscv_little_endian): Added. Return true
800 if target is riscv little endian. Otherwise, return false.
801 * testsuite/ld-elf/compressed1d.d: Only xfail the riscv little endian
802 targets by [riscv_little_endian].
803
326adec3
AM
8042021-01-18 Alan Modra <amodra@gmail.com>
805
806 PR 26378
807 * ldlang.c (map_input_to_output_sections): Start with a read-only
808 section for data statements.
809 * testsuite/ld-elf/size-2.d: Adjust to suit.
810
994b2513
L
8112021-01-17 H.J. Lu <hongjiu.lu@intel.com>
812
813 PR ld/27193
814 * testsuite/ld-i386/i386.exp: Run PR ld/27193 test.
815 * testsuite/ld-i386/pr27193.dd: New file.
816 * testsuite/ld-i386/pr27193a.o.bz2: Likewise.
817 * testsuite/ld-i386/pr27193b.s: Likewise.
818
edf0f284
L
8192021-01-16 H.J. Lu <hongjiu.lu@intel.com>
820
821 PR binutils/23460
822 * testsuite/ld-plugin/lto.exp: Increase the max number of open
823 files to 20 for PR binutils/23460 test.
824
75a933f3
L
8252021-01-16 H.J. Lu <hongjiu.lu@intel.com>
826
827 PR ld/23169
828 * testsuite/ld-ifunc/ifunc.exp: Replace pr23169c.rd with
829 pr23169a.rd for pr23169c and pr23169f. Remove pr23169e tests.
830 * testsuite/ld-ifunc/pr23169a.c (foo): Don't compare function
831 address.
832
68b00778
L
8332021-01-15 H.J. Lu <hongjiu.lu@intel.com>
834
835 * NEWS: Mention -z report-relative-reloc.
836 * ld.texi: Document -z report-relative-reloc.
837 * emulparams/elf32_x86_64.sh: Source x86-report-relative.sh.
838 * emulparams/elf_i386.sh: Likewse.
839 * emulparams/elf_x86_64.sh: Likewse.
840 * emulparams/x86-report-relative.sh: New file.
841 * testsuite/ld-i386/report-reloc-1.d: Likewse.
842 * testsuite/ld-i386/report-reloc-1.l: Likewse.
843 * testsuite/ld-i386/report-reloc-1.s: Likewse.
844 * testsuite/ld-x86-64/report-reloc-1-x32.d: Likewse.
845 * testsuite/ld-x86-64/report-reloc-1.d: Likewse.
846 * testsuite/ld-x86-64/report-reloc-1.l: Likewse.
847 * testsuite/ld-x86-64/report-reloc-1.s: Likewse.
848 * testsuite/ld-i386/i386.exp: Run report-reloc-1.
849 * testsuite/ld-x86-64/x86-64.exp: Run report-reloc-1 and
850 report-reloc-1-x32.
851
eb6e6af8
AM
8522021-01-16 Alan Modra <amodra@gmail.com>
853
854 PR 26002
855 * testsuite/ld-elfvers/vers6.dsym: Expect "Base" for undefined
856 unversioned symbols.
857 * testsuite/ld-elfvers/vers16.dsym: Likewise.
858
b800637e
NC
8592021-01-15 Nelson Chu <nelson.chu@sifive.com>
860
861 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-01.d: Updated.
862 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-02.d: Likewise.
863 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-03.d: Likewise.
864 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-04.d: Likewise.
865 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-05.d: Likewise.
866 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-06.d: Likewise.
867
5a10699f
NC
8682021-01-14 Nick Clifton <nickc@redhat.com>
869
870 * po/fr.po: Updated French translation.
871
271bea6a
MF
8722021-01-14 Mike Frysinger <vapier@gentoo.org>
873
874 * testsuite/config/default.exp [bfin*-elf*] (gcc_B_opt): Add -msim.
875
4120e488
AM
8762021-01-14 Alan Modra <amodra@gmail.com>
877
878 PR 27160
879 * ldelfgen.c (compare_link_order): Protect access of ELF section
880 data.
881 (add_link_order_input_section): Remove redundant NULL check.
882 Use bfd_get_flavour.
883 (ldelf_map_segments): Use bfd_get_flavour.
884
b634d11d
L
8852021-01-13 H.J. Lu <hongjiu.lu@intel.com>
886
887 * ldelfgen.c (add_link_order_input_section): Check for ELF input
888 before accessing ELF section data.
889
5347ed60
AM
8902021-01-13 Alan Modra <amodra@gmail.com>
891
892 * Makefile.in: Regenerate.
893
b209b5a6
AM
8942021-01-13 Alan Modra <amodra@gmail.com>
895
896 PR 27160
897 * ldlang.h (lang_output_section_statement_type): Add data field.
898 (lang_input_section_type, lang_section_bst_type): Add pattern field.
899 (statement_list): Declare.
900 (lang_add_section): Adjust prototype.
901 * emultempl/aarch64elf.em: Adjust lang_add_section calls.
902 * emultempl/armelf.em: Likewise.
903 * emultempl/beos.em: Likewise.
904 * emultempl/cskyelf.em: Likewise.
905 * emultempl/hppaelf.em: Likewise.
906 * emultempl/m68hc1xelf.em: Likewise.
907 * emultempl/metagelf.em: Likewise.
908 * emultempl/mipself.em: Likewise.
909 * emultempl/mmo.em: Likewise.
910 * emultempl/msp430.em: Likewise.
911 * emultempl/nios2elf.em: Likewise.
912 * emultempl/pe.em: Likewise.
913 * emultempl/pep.em: Likewise.
914 * emultempl/ppc64elf.em: Likewise.
915 * emultempl/spuelf.em: Likewise.
916 * emultempl/vms.em: Likewise.
917 * ldelf.c: Likewise.
918 * ldelfgen.c: Include ldctor.h.
919 (struct os_sections): New.
920 (add_link_order_input_section, link_order_scan): New functions.
921 (compare_link_order, fixup_link_order): New functions.
922 (ldelf_map_segments): Call link_order_scan and fixup_link_order.
923 * ldlang.c (statement_list): Make global.
924 (output_section_callback_fast): Save pattern in tree node.
925 (lang_add_section): Add pattern parameter, save in lang_input_section.
926 (output_section_callback_tree_to_list): Adjust lang_add_section calls.
927 (lang_insert_orphan, output_section_callback): Likewise.
928 (ldlang_place_orphan): Likewise.
929 (gc_section_callback): Don't set section->pattern.
930 * testsuite/ld-elf/pr26256-2a.d: Don't xfail generic.
931 * testsuite/ld-elf/pr26256-3b.d: Likewise.
932 * testsuite/ld-elf/pr26256-2b.d: Likewise. notarget xgate.
933
8c4645b4
AM
9342021-01-13 Alan Modra <amodra@gmail.com>
935
936 * ldlang.h (callback_t): Remove flag_info function parameter.
937 * ldlang.c (walk_wild_consider_section): Adjust to suit.
938 (walk_wild_section_general): Likewise.
939 (output_section_callback_fast, output_section_callback): Likewise.
940 (check_section_callback, gc_section_callback): Likewise.
941 (find_relro_section_callback): Likewise.
942
d546b610
L
9432021-01-12 H.J. Lu <hongjiu.lu@intel.com>
944
945 PR binutils/26792
946 * configure.ac: Use GNU_MAKE_JOBSERVER.
947 * aclocal.m4: Regenerated.
948 * configure: Likewise.
949
c2e9a4a3
L
9502021-01-12 H.J. Lu <hongjiu.lu@intel.com>
951
952 PR ld/27171
953 * testsuite/ld-x86-64/pe-x86-64-5.obj.bz2: New file.
954 * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise.
955 * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise.
956 * testsuite/ld-x86-64/pe-x86-64.exp: Run PR ld/27171 test.
957
83b33c6c
L
9582021-01-11 H.J. Lu <hongjiu.lu@intel.com>
959
960 PR ld/27173
961 * configure: Regenerated.
962
c0f6e439
MJ
9632021-01-11 Matt Jenkins <matt@majenko.co.uk>
964
965 PR ld/27167
966 * ldmain.c (get_emulation): Add mipsmips32r3, mips32r5, mips64r3
967 and mips64r5 to list of known mips targets.
968
9692021-01-11 Nick Clifton <nickc@redhat.com>matt@majenko.co.uk
a8aa72b9
NC
970
971 * po/pt_BR.po: Updated Brazilian Portuguese translation.
972` * po/uk.po: Updated Ukranian translation.
973
a4966cd9
L
9742021-01-09 H.J. Lu <hongjiu.lu@intel.com>
975
976 * configure: Regenerated.
977
0a94990b
L
9782021-01-09 H.J. Lu <hongjiu.lu@intel.com>
979
980 PR ld/27166
981 * testsuite/ld-x86-64/lam-u48.rd: New file.
982 * testsuite/ld-x86-64/lam-u57.rd: Likewise.
983 * testsuite/ld-x86-64/x86-64.exp: Add PR ld/27166 tests.
984
573fe3fb
NC
9852021-01-09 Nick Clifton <nickc@redhat.com>
986
987 * configure: Regenerate.
988 * po/ld.pot: Regenerate.
989
055bc77a
NC
9902021-01-09 Nick Clifton <nickc@redhat.com>
991
992 * 2.36 release branch crated.
993
ba9e922f
L
9942021-01-08 H.J. Lu <hongjiu.lu@intel.com>
995
996 * ld-x86-64/property-x86-lam-u48-4.d: Updated.
997 * ld-x86-64/property-x86-lam-u48-5.d: Likewise.
998
64307045
AM
9992021-01-09 Alan Modra <amodra@gmail.com>
1000
1001 * configure: Regenerate.
1002 * Makefile.in: Regenerate.
1003
f4782128
ST
10042021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
1005
1006 * configure: Regenerate.
1007
d1bcae83
L
10082021-01-07 H.J. Lu <hongjiu.lu@intel.com>
1009
1010 PR 27109
1011 * testsuite/ld-elf/export-class.sd: Adjust the expected output.
1012 * testsuite/ld-elf/loadaddr3b.d: Likewise.
1013 * testsuite/ld-i386/ibt-plt-1.d: Likewise.
1014 * testsuite/ld-i386/ibt-plt-2a.d: Likewise.
1015 * testsuite/ld-i386/ibt-plt-2c.d: Likewise.
1016 * testsuite/ld-i386/ibt-plt-3a.d: Likewise.
1017 * testsuite/ld-i386/ibt-plt-3c.d: Likewise.
1018 * testsuite/ld-i386/pr19636-1d.d: Likewise.
1019 * testsuite/ld-i386/pr19636-1l.d: Likewise.
1020 * testsuite/ld-i386/pr19636-2c.d: Likewise.
1021 * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise.
1022 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise.
1023 * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Likewise.
1024 * testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise.
1025 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1026 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1027 * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise.
1028 * testsuite/ld-ifunc/pr17154-i386.d: Likewise.
1029 * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
1030 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
1031 * testsuite/ld-x86-64/bnd-branch-1-now.d: Likewise.
1032 * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise.
1033 * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise.
1034 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
1035 * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise.
1036 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
1037 * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise.
1038 * testsuite/ld-x86-64/ibt-plt-1.d: Likewise.
1039 * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise.
1040 * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise.
1041 * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise.
1042 * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise.
1043 * testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise.
1044 * testsuite/ld-x86-64/ibt-plt-3a.d: Likewise.
1045 * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise.
1046 * testsuite/ld-x86-64/ibt-plt-3c.d: Likewise.
1047 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
1048 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
1049 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
1050 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
1051 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
1052 * testsuite/ld-x86-64/pr19636-2l.d: Likewise.
1053 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
1054 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
1055 * testsuite/ld-x86-64/pr21038b-now.d: Likewise.
1056 * testsuite/ld-x86-64/pr21038b.d: Likewise.
1057 * testsuite/ld-x86-64/pr21038c-now.d: Likewise.
1058 * testsuite/ld-x86-64/pr21038c.d: Likewise.
1059 * testsuite/ld-x86-64/pr23854.d: Likewise.
1060 * testsuite/ld-x86-64/pr25416-3.d: Likewise.
1061 * testsuite/ld-x86-64/pr25416-4.d: Likewise.
1062 * testsuite/ld-i386/plt-pic.pd: Likewise.
1063 * testsuite/ld-i386/plt-pic2.dd: Likewise.
1064 * testsuite/ld-i386/plt.pd: Likewise.
1065 * testsuite/ld-i386/plt2.dd: Likewise.
1066 * testsuite/ld-i386/tlsbin.rd: Likewise.
1067 * testsuite/ld-i386/tlsbin2.rd: Likewise.
1068 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
1069 * testsuite/ld-i386/tlsdesc.rd: Likewise.
1070 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
1071 * testsuite/ld-i386/tlsnopic.rd: Likewise.
1072 * testsuite/ld-i386/tlspic.rd: Likewise.
1073 * testsuite/ld-i386/tlspic2.rd: Likewise.
1074 * testsuite/ld-x86-64/mpx3.dd: Likewise.
1075 * testsuite/ld-x86-64/mpx3n.dd: Likewise.
1076 * testsuite/ld-x86-64/mpx4.dd: Likewise.
1077 * testsuite/ld-x86-64/mpx4n.dd: Likewise.
1078 * testsuite/ld-x86-64/pe-x86-64-1.od: Likewise.
1079 * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise.
1080 * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise.
1081 * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise.
1082 * testsuite/ld-x86-64/plt.pd: Likewise.
1083 * testsuite/ld-x86-64/plt2.dd: Likewise.
1084 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
1085 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
1086 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
1087 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1088 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
1089 * testsuite/ld-x86-64/tlspic.rd: Likewise.
1090 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
1091 * testsuite/ld-elf/sec64k.exp: Check
1092 is_elf_unused_section_symbols.
1093
dc200613
AM
10942021-01-07 Alan Modra <amodra@gmail.com>
1095
1096 * testsuite/ld-scripts/fill.d: Skip sh-*-pe rather than xfail.
1097 * testsuite/ld-scripts/fill16.d: Don't xfail sh-*-pe.
1098 * testsuite/ld-scripts/segment-start.d: Likewise.
1099
8e604ff0
AM
11002021-01-07 Alan Modra <amodra@gmail.com>
1101
1102 * testsuite/ld-elf/comm-data5.d: xfail targets that complain
1103 about dynamic relocations in read-only sections.
1104 * testsuite/ld-elf/ehdr_start-shared.d: Likewise.
1105 * testsuite/ld-elf/ehdr_start.d: Likewise.
1106 * testsuite/ld-scripts/pr22267.d: Likewise.
1107 * testsuite/ld-elf/shared.exp: Likewise for DT_TEXTREL tests and
1108 pr20995 text.
1109 * testsuite/ld-elf/sec64k.exp: Don't run 64ksec on lm32-linux.
1110
4d4490b8
MC
11112021-01-07 Marcus Comstedt <marcus@mc.pp.se>
1112
1113 * testsuite/ld-scripts/empty-address-2a.d: xfail riscv64*-*-*.
1114 * testsuite/ld-scripts/empty-address-2b.d: Likewise.
1115
f526791a
AM
11162021-01-07 Alan Modra <amodra@gmail.com>
1117
1118 * po/BLD-POTFILES.in: Regenerate.
1119
4018f4e0
AM
11202021-01-07 Alan Modra <amodra@gmail.com>
1121
1122 * testsuite/ld-elf/shared.exp: xfail pr22471 for targets that
1123 complain about relocs in read-only sections. Tidy ASFLAGS append.
1124
3677b729
AM
11252021-01-06 Alan Modra <amodra@gmail.com>
1126
1127 * testsuite/ld-sparc/sparc.exp (sparc64tests): Set text-segment
1128 base for some tests.
1129 * testsuite/ld-sparc/gotop32.dd: Match solaris output.
1130 * testsuite/ld-sparc/gotop32.sd: Likewise.
1131 * testsuite/ld-sparc/gotop32.td: Likewise.
1132 * testsuite/ld-sparc/gotop64.dd: Likewise.
1133 * testsuite/ld-sparc/gotop64.sd: Likewise.
1134 * testsuite/ld-sparc/gotop64.td: Likewise.
1135 * testsuite/ld-sparc/tlsg32.sd: Likewise.
1136 * testsuite/ld-sparc/tlsg64.sd: Likewise.
1137 * testsuite/ld-sparc/tlspie32.dd: Likewise.
1138 * testsuite/ld-sparc/tlspie64.dd: Likewise.
1139 * testsuite/ld-sparc/tlssunbin32.dd: Likewise.
1140 * testsuite/ld-sparc/tlssunbin32.sd: Likewise.
1141 * testsuite/ld-sparc/tlssunbin32.td: Likewise.
1142 * testsuite/ld-sparc/tlssunbin64.dd: Likewise.
1143 * testsuite/ld-sparc/tlssunbin64.sd: Likewise.
1144 * testsuite/ld-sparc/tlssunbin64.td: Likewise.
1145 * testsuite/ld-sparc/tlssunnopic32.dd: Likewise.
1146 * testsuite/ld-sparc/tlssunnopic32.sd: Likewise.
1147 * testsuite/ld-sparc/tlssunnopic64.dd: Likewise.
1148 * testsuite/ld-sparc/tlssunnopic64.sd: Likewise.
1149 * testsuite/ld-sparc/tlssunpic32.dd: Likewise.
1150 * testsuite/ld-sparc/tlssunpic32.sd: Likewise.
1151 * testsuite/ld-sparc/tlssunpic32.td: Likewise.
1152 * testsuite/ld-sparc/tlssunpic64.dd: Likewise.
1153 * testsuite/ld-sparc/tlssunpic64.sd: Likewise.
1154 * testsuite/ld-sparc/tlssunpic64.td: Likewise.
1155 * testsuite/ld-sparc/wdispcall.dd: Likewise.
1156
73624512
AM
11572021-01-06 Alan Modra <amodra@gmail.com>
1158
1159 * testsuite/ld-scripts/rgn-at10.d: xfail v850.
1160 * testsuite/ld-scripts/rgn-at11.d: Likewise.
1161
f36ce378
MC
11622021-01-06 Marcus Comstedt <marcus@mc.pp.se>
1163
1164 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Added
1165 riscv_choose_[ilp32|lp64]_emul to choose the correct linker script.
1166 * testsuite/ld-riscv-elf/attr-merge-arch-01.d: Call
1167 riscv_choose_[ilp32|lp64]_emul instead of hardcoding elf[32|64]lriscv.
1168 * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
1169 * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
1170 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Likewise.
1171 * testsuite/ld-riscv-elf/attr-merge-arch-failed-02.d: Likewise.
1172 * testsuite/ld-riscv-elf/c-lui-2.d: Likewise.
1173 * testsuite/ld-riscv-elf/c-lui.d: Likewise.
1174 * testsuite/ld-riscv-elf/call-relax.d: Likewise.
1175 * testsuite/ld-riscv-elf/pcrel-lo-addend-2.d: Likewise.
1176 * testsuite/ld-riscv-elf/pcrel-lo-addend.d: Likewise.
1177 * testsuite/ld-riscv-elf/weakref32.d: Accept bigriscv in addition
1178 to littleriscv.
1179 * testsuite/ld-riscv-elf/weakref64.d: Likewise.
1180
fbc09e7a
MC
11812021-01-06 Marcus Comstedt <marcus@mc.pp.se>
1182
1183 * configure.tgt: Added riscvbe-*-*, riscv32be*-*-*, riscv64be*-*-*,
1184 riscv32be*-*-linux*, and riscv64be*-*-linux*.
1185 * Makefile.am: Added eelf32briscv.c, eelf32briscv_ilp32f.c and
1186 eelf32briscv_ilp32.c.
1187 * Makefile.in: Regenerate.
1188 * emulparams/elf32briscv.sh: Added.
1189 * emulparams/elf32briscv_ilp32.sh: Likewise.
1190 * emulparams/elf32briscv_ilp32f.sh: Likewise.
1191 * emulparams/elf64briscv.sh: Likewise.
1192 * emulparams/elf64briscv_lp64.sh: Likewise.
1193 * emulparams/elf64briscv_lp64f.sh: Likewise.
1194
b4b6ea46
NA
11952021-01-05 Nick Alcock <nick.alcock@oracle.com>
1196
1197 * testsuite/ld-ctf/enum-forward.c: New test.
1198 * testsuite/ld-ctf/enum-forward.c: New results.
1199
37002871
NA
12002021-01-05 Nick Alcock <nick.alcock@oracle.com>
1201
1202 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
1203 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
1204 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
1205 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
1206 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
1207 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
1208 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
1209 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
1210 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
1211 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
1212 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
1213 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
1214 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
1215 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
1216 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
1217 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
1218 * testsuite/ld-ctf/cycle-1.d: Likewise.
1219 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
1220 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
1221 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
1222 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
1223 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
1224 * testsuite/ld-ctf/diag-cuname.d: Likewise.
1225 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
1226 * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise.
1227 * testsuite/ld-ctf/forward.d: Likewise.
1228 * testsuite/ld-ctf/function.d: Likewise.
1229 * testsuite/ld-ctf/slice.d: Likewise.
1230 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
1231 * testsuite/ld-ctf/enums.c: New test.
1232 * testsuite/ld-ctf/enums.d: New test.
1233
ffeece6a
NA
12342021-01-05 Nick Alcock <nick.alcock@oracle.com>
1235
1236 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Adjust for dumper
1237 changes.
1238 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
1239 * testsuite/ld-ctf/forward.c: New test...
1240 * testsuite/ld-ctf/forward.d: ... and results.
1241
91e7ce2f
NA
12422021-01-05 Nick Alcock <nick.alcock@oracle.com>
1243
1244 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
1245 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
1246 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
1247 * testsuite/ld-ctf/diag-cuname.d: Likewise.
1248 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
1249 * testsuite/ld-ctf/function.d: Likewise.
1250 * testsuite/ld-ctf/slice.d: Likewise.
1251
57f97d0e
NA
12522021-01-05 Nick Alcock <nick.alcock@oracle.com>
1253
1254 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
1255 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
1256 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
1257 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
1258 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
1259 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
1260 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
1261 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
1262 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
1263 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
1264 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
1265 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
1266 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
1267 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
1268 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
1269 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
1270 * testsuite/ld-ctf/cycle-1.d: Likewise.
1271 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
1272 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
1273 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
1274 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
1275 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
1276 * testsuite/ld-ctf/diag-cuname.d: Likewise.
1277 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
1278 * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise.
1279 * testsuite/ld-ctf/function.d: Likewise.
1280 * testsuite/ld-ctf/slice.d: Likewise.
1281 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
1282
b281a04f
AM
12832021-01-05 Alan Modra <amodra@gmail.com>
1284
1285 * testsuite/ld-scripts/sysroot-prefix.exp: Exclude some targets.
1286
40b11930
AM
12872021-01-05 Alan Modra <amodra@gmail.com>
1288
1289 PR ld/26256
1290 * testsuite/ld-elf/pr26256-1b.d: xfail s12z.
1291 * testsuite/ld-scripts/crossref.exp (cross1): Don't xfail ia64.
1292
cd6d537c
L
12932021-01-04 H.J. Lu <hongjiu.lu@intel.com>
1294
1295 PR ld/26256
1296 * ldlang.c (gc_section_callback): Set pattern.
1297 * testsuite/ld-elf/pr26256-1.s: New file.
1298 * testsuite/ld-elf/pr26256-1.t: Likewise.
1299 * testsuite/ld-elf/pr26256-1a.d: Likewise.
1300 * testsuite/ld-elf/pr26256-1b.d: Likewise.
1301 * testsuite/ld-elf/pr26256-2.s: Likewise.
1302 * testsuite/ld-elf/pr26256-2.t: Likewise.
1303 * testsuite/ld-elf/pr26256-2a.d: Likewise.
1304 * testsuite/ld-elf/pr26256-2b-alt.d: Likewise.
1305 * testsuite/ld-elf/pr26256-2b.d: Likewise.
1306 * testsuite/ld-elf/pr26256-3.s: Likewise.
1307 * testsuite/ld-elf/pr26256-3a.d: Likewise.
1308 * testsuite/ld-elf/pr26256-3a.t: Likewise.
1309 * testsuite/ld-elf/pr26256-3b.d: Likewise.
1310 * testsuite/ld-elf/pr26256-3b.t: Likewise.
1311
5b4293ba
AM
13122021-01-04 Alan Modra <amodra@gmail.com>
1313
1314 PR 26822
1315 * testsuite/ld-arm/non-contiguous-arm2.d: Adjust STT_FILE symbol match.
1316 * testsuite/ld-arm/non-contiguous-arm3.d: Likewise.
1317 * testsuite/ld-arm/non-contiguous-arm5.d: Likewise.
1318 * testsuite/ld-arm/non-contiguous-arm6.d: Likewise.
1319 * testsuite/ld-i386/tlsbin.rd: Likewise.
1320 * testsuite/ld-i386/tlsbin2.rd: Likewise.
1321 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
1322 * testsuite/ld-i386/tlsdesc.rd: Likewise.
1323 * testsuite/ld-i386/tlsnopic.rd: Likewise.
1324 * testsuite/ld-i386/tlspic.rd: Likewise.
1325 * testsuite/ld-i386/tlspic2.rd: Likewise.
1326 * testsuite/ld-mips-elf/global-local-symtab-sort-n64.d: Likewise.
1327 * testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d: Likewise.
1328 * testsuite/ld-mips-elf/global-local-symtab-sort-o32.d: Likewise.
1329 * testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d: Likewise.
1330 * testsuite/ld-plugin/pr17973.d: Likewise.
1331 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
1332 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
1333 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
1334 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
1335 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
1336 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
1337 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
1338 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
1339 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
1340 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
1341 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
1342 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
1343 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
1344 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
1345 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
1346 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
1347 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1348 * testsuite/ld-x86-64/tlspic.rd: Likewise.
1349 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
1350 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
1351 * testsuite/ld-xtensa/tlspic.rd: Likewise.
1352
f9a6a8f0
AM
13532021-01-01 Nicolas Boulenguez <nicolas@debian.org>
1354
1355 * configure.tgt: Correct comment grammar.
1356 * emultempl/m68hc1xelf.em: Likewise.
1357 * ld.texi: Correct grammar.
1358
250d07de
AM
13592021-01-01 Alan Modra <amodra@gmail.com>
1360
1361 Update year range in copyright notice of all files.
1362
c2795844 1363For older changes see ChangeLog-2020
3499769a 1364\f
c2795844 1365Copyright (C) 2021 Free Software Foundation, Inc.
3499769a
AM
1366
1367Copying and distribution of this file, with or without modification,
1368are permitted in any medium without royalty provided the copyright
1369notice and this notice are preserved.
1370
1371Local Variables:
1372mode: change-log
1373left-margin: 8
1374fill-column: 74
1375version-control: never
1376End: