]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/ChangeLog
sim: h8300 add special case test.
[thirdparty/binutils-gdb.git] / ld / ChangeLog
CommitLineData
50c95a73
L
12021-05-26 H.J. Lu <hongjiu.lu@intel.com>
2
3 PR ld/27905
4 * testsuite/ld-i386/code16.d: New file.
5 * testsuite/ld-i386/code16.t: Likewise.
6 * testsuite/ld-x86-64/code16.d: Likewise.
7 * testsuite/ld-x86-64/code16.t: Likewise.
8 * testsuite/ld-i386/i386.exp: Run code16.
9 * testsuite/ld-x86-64/x86-64.exp: Likewise.
10
983d5689
L
112021-05-26 H.J. Lu <hongjiu.lu@intel.com>
12
13 * testsuite/ld-x86-64/ilp32-12.d: New file.
14 * testsuite/ld-x86-64/ilp32-12.s: Likewise.
15 * testsuite/ld-x86-64/x86-64.exp: Run ilp32-12.
16
75f03fa7
NC
172021-05-14 Nelson Chu <nelson.chu@sifive.com>
18
19 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
20 * testsuite/ld-riscv-elf/pcrel-lo-addend-2a.d: Renamed from
21 pcrel-lo-addend-2.
22 * testsuite/ld-riscv-elf/pcrel-lo-addend-2a.s: Likewise.
23 * testsuite/ld-riscv-elf/pcrel-lo-addend-2b.d: New testcase.
24 * testsuite/ld-riscv-elf/pcrel-lo-addend-2b.s: Likewise.
25
cf893b0e
FS
262021-05-13 Fangrui Song <maskray@google.com>
27
28 PR 27834
29 * ldlex.h (enum option_values): Add OPTION_NO_SYMBOLIC.
30 * lexsup.c (ld_options): Add -Bno-symbolic.
31 (parse_args): Handle -Bno-symbolic.
32 * ld.texi: Document -Bno-symbolic.
33 * NEWS: Mention -Bno-symbolic.
34 * testsuite/ld-elf/shared.exp: Add a test.
35
84139c58
RE
362021-05-12 Richard Earnshaw <rearnsha@arm.com>
37
38 * testsuite/ld-arm/arm-elf.exp (farcall test for v8-m.mainline):
39 Correct expected output.
40
4a1ad5c9
RM
412021-05-11 Roland McGrath <mcgrathr@google.com>
42
43 * testsuite/ld-x86-64/rela.d: Fix regexp not to presume a specific
44 address layout, so it works for e.g. --target=x86-64-elf.
45
22604fe6
NC
462021-05-11 Nick Clifton <nickc@redhat.com>
47
48 PR 27113
49 * Makefile.am (install-data-local): Also delete libdep.dll.a if it
50 is present.
51 * Makefile.in: Regenerate.
52
5b45e89f
DD
532021-05-10 Dimitar Dimitrov <dimitar@dinux.eu>
54
55 * testsuite/ld-elf/group8a.d: Remove pru from XFAIL list.
56 * testsuite/ld-elf/group8b.d: Ditto.
57 * testsuite/ld-elf/group9a.d: Ditto.
58 * testsuite/ld-elf/group9b.d: Ditto.
59 * testsuite/ld-elf/pr12851.d: Ditto.
60 * testsuite/ld-elf/pr22677.d: Ditto.
61 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Remove
62 pru from list.
63
261980de
DD
642021-05-10 Dimitar Dimitrov <dimitar@dinux.eu>
65
66 * scripttempl/pru.sc (.resource_table): Add ALIGN directive.
67 Use symbols for memory sizes.
68
cf758b39
MF
692021-05-08 Mike Frysinger <vapier@gentoo.org>
70
71 * Makefile.am (html-local, doc/ld/index.html): New targets.
72 * Makefile.in: Regenerate.
73
2faf902d
MF
742021-05-08 Mike Frysinger <vapier@gentoo.org>
75
76 * Makefile.am (AM_MAKEINFOFLAGS): Add --no-split.
77 * Makefile.in: Regenerate.
78
17c6c3b9
JB
792021-05-07 Jan Beulich <jbeulich@suse.com>
80
81 * testsuite/ld-x86-64/rela.d: New.
82 * testsuite/ld-x86-64/x86-64.exp: Run new test.
83
d820a652
NC
842021-05-07 Nick Clifton <nickc@redhat.com>
85
86 * ldelfgen.c (compare_link_order): Ignore section size when
87 performing a relocateable link.
88
70993db3
AM
892021-05-07 Alan Modra <amodra@gmail.com>
90
91 * ldexp.c (update_definedness): Don't return false for absolute
92 symbols.
93 * ldmain.c (multiple_definition): Print "warning: " in message
94 when not a hard error.
95
973bba91
AM
962021-05-07 Alan Modra <amodra@gmail.com>
97
98 * testsuite/ld-elf/pr27825-1.d: Correct xfail.
99 * testsuite/ld-elf/pr27825-2.d: Likewise.
100
284a1309
SH
1012021-05-06 Stafford Horne <shorne@gmail.com>
102
103 PR 27746
104 testsuite/ld-or1k/or1k.exp (or1kplttests): Add tests for linking
105 along with gotha() relocations.
106 testsuite/ld-or1k/gotha1.dd: New file.
107 testsuite/ld-or1k/gotha1.s: New file.
108 testsuite/ld-or1k/gotha2.dd: New file.
109 testsuite/ld-or1k/gotha2.s: New file
110 testsuite/ld-or1k/pltlib.s (x): Define size to avoid link
111 failure.
112
ae064303
NA
1132021-05-06 Nick Alcock <nick.alcock@oracle.com>
114
115 * testsuite/ld-ctf/ctf.exp: Use -gctf, not -gt.
116 * testsuite/lib/ld-lib.exp: Likewise.
117 * testsuite/ld-ctf/nonrepresentable-1.c: New test for nonrepresentable types.
118 * testsuite/ld-ctf/nonrepresentable-2.c: Likewise.
119 * testsuite/ld-ctf/nonrepresentable.d: Likewise.
120 * testsuite/ld-ctf/array.d: Larger type section.
121 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
122 * testsuite/ld-ctf/enums.d: Likewise.
123 * testsuite/ld-ctf/conflicting-enums.d: Don't compare types.
124 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Changed type order.
125 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
126 * testsuite/ld-ctf/slice.d: Adjust for improved slice emission.
127
4467df35
L
1282021-05-05 H.J. Lu <hongjiu.lu@intel.com>
129
130 PR ld/27825
131 * testsuite/ld-elf/pr27825-1.d: New file.
132 * testsuite/ld-elf/pr27825-1a.s: Likewise.
133 * testsuite/ld-elf/pr27825-1b.s: Likewise.
134 * testsuite/ld-elf/pr27825-2.d: Likewise.
135 * testsuite/ld-elf/pr27825-2a.s: Likewise.
136 * testsuite/ld-elf/pr27825-2b.s: Likewise.
137
13ffdac3
AM
1382021-05-05 Alan Modra <amodra@gmail.com>
139
140 * testsuite/ld-powerpc/empty.s: New file.
141 * testsuite/ld-powerpc/undefweak.d,
142 * testsuite/ld-powerpc/undefweak.s: New testcase.
143 * testsuite/ld-powerpc/powerpc.exp: Run it.
144
df6fbc21
AM
1452021-05-03 Alan Modra <amodra@gmail.com>
146
147 * testsuite/ld-s390/tlspic_64.rd: Adjust expected output for
148 named section symbols.
149
24aebc79
NC
1502021-04-28 Nick Clifton <nickc@redhat.com>
151
152 * testsuite/ld-elf/anno-sym.s: New test source file.
153 * testsuite/ld-elf/anno-sym.d: New test driver.
154 * testsuite/ld-elf/anno-sym.l: New test error output.
155
a7664973
JB
1562021-04-26 Jan Beulich <jbeulich@suse.com>
157
158 * testsuite/ld-i386/pcrel16-2.s, testsuite/ld-i386/pcrel16-2.d,
159 testsuite/ld-x86-64/pcrel16-2.d: New.
160 * testsuite/ld-i386/i386.exp: Run new test.
161 * testsuite/ld-x86-64/x86-64.exp: Likewise.
162
69cc1945
L
1632021-04-23 H.J. Lu <hongjiu.lu@intel.com>
164
165 PR ld/27771
166 * testsuite/ld-bootstrap/bootstrap.exp: Create a symbolic link
167 to tmpdir/ldscripts only if it doesn't exist.
168
d018cd83
JB
1692021-04-22 Jan Beulich <jbeulich@suse.com>
170
171 PR ld/26659
172 * testsuite/ld-pe/pr26659-weak-undef-sym.d: Relax for Cygwin.
173
23356397
NC
1742021-04-21 Nick Clifton <nickc@redhat.com>
175
176 * testsuite/ld-aarch64/variant_pcs-now.d: Adjust expected output
177 to allow for named section symbols.
178 * testsuite/ld-aarch64/variant_pcs-r.d: Likewise.
179 * testsuite/ld-aarch64/variant_pcs-shared.d: Likewise.
180 * testsuite/ld-alpha/tlsbin.rd: Likewise.
181 * testsuite/ld-alpha/tlsbinr.rd: Likewise.
182 * testsuite/ld-alpha/tlspic.rd: Likewise.
183 * testsuite/ld-arm/rodata-merge-map.sym: Likewise.
184 * testsuite/ld-arm/script-type.sym: Likewise.
185 * testsuite/ld-cris/libdso-2.d: Likewise.
186 * testsuite/ld-cris/pr16044.d: Likewise.
187 * testsuite/ld-elf/sec64k.exp: Likewise.
188 * testsuite/ld-ia64/tlsbin.rd: Likewise.
189 * testsuite/ld-ia64/tlspic.rd: Likewise.
190 * testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d: Likewise.
191 * testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d: Likewise.
192 * testsuite/ld-mmix/bspec1.d: Likewise.
193 * testsuite/ld-mmix/bspec2.d: Likewise.
194 * testsuite/ld-mmix/local1.d: Likewise.
195 * testsuite/ld-mmix/local3.d: Likewise.
196 * testsuite/ld-mmix/local5.d: Likewise.
197 * testsuite/ld-mmix/local7.d: Likewise.
198 * testsuite/ld-mmix/undef-3.d: Likewise.
199 * testsuite/ld-powerpc/tlsso.r: Likewise.
200 * testsuite/ld-powerpc/tlsso32.r: Likewise.
201 * testsuite/ld-powerpc/tlstocso.r: Likewise.
202 * testsuite/ld-s390/tlsbin.rd: Likewise.
203 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
204 * testsuite/ld-s390/tlspic.rd: Likewise.
205 * testsuite/ld-s390/tlspic_64.rd: Likewise.
206 * testsuite/ld-sparc/gotop32.rd: Likewise.
207 * testsuite/ld-sparc/gotop64.rd: Likewise.
208 * testsuite/ld-sparc/tlssunbin32.rd: Likewise.
209 * testsuite/ld-sparc/tlssunbin64.rd: Likewise.
210 * testsuite/ld-sparc/tlssunnopic32.rd: Likewise.
211 * testsuite/ld-sparc/tlssunnopic64.rd: Likewise.
212 * testsuite/ld-sparc/tlssunpic32.rd: Likewise.
213 * testsuite/ld-sparc/tlssunpic64.rd: Likewise.
214 * testsuite/ld-tic6x/common.d: Likewise.
215 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
216 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
217 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
218 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
219 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
220 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
221 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
222 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
223 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
224 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
225 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
226 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
227 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
228
c5df7e44
CC
2292021-04-20 Clément Chigot <clement.chigot@atos.net>
230
231 PR binutils/21700
232 * testsuite/ld-powerpc/aix52.exp: Add new test.
233 * testsuite/ld-powerpc/aix-neg-reloc-32.d: New test.
234 * testsuite/ld-powerpc/aix-neg-reloc-64.d: New test.
235 * testsuite/ld-powerpc/aix-neg-reloc.ex: New test.
236 * testsuite/ld-powerpc/aix-neg-reloc.s: New test.
237
6418520e
NC
2382021-04-13 Nick Clifton <nickc@redhat.com>
239
240 * ld.texi (Options): Add note about the effect of --as-needed on
241 the --rpath and --rpath-link options on Linux based systems.
242
1cfc6f00
AM
2432021-04-13 Alan Modra <amodra@gmail.com>
244
245 PR 27722
246 * libdep_plugin.c (str2vec): Don't pass a potentially signed char
247 to isspace.
248
43e05cd4
AM
2492021-04-12 Alan Modra <amodra@gmail.com>
250
251 * configure.ac (--enable-checking): Add support.
252 * config.in: Regenerate.
253 * configure: Regenerate.
254
2cc15b10
AM
2552021-04-12 Alan Modra <amodra@gmail.com>
256
257 * emultempl/mipself.em (mips_create_output_section_statements):
258 Pass base type of hash table to is_elf_hash_table.
259 * ldelf.c (ldelf_after_open): Likewise.
260
fc304b88
AM
2612021-04-12 Alan Modra <amodra@gmail.com>
262
263 PR 27719
264 * ldlang.c (lang_mark_undefineds, undef_start_stop): Test that
265 the symbol hash table is the correct type before accessing
266 elf_link_hash_entry symbols.
267 * plugin.c (is_visible_from_outside): Likewise.
268 * emultempl/armelf.em (ld${EMULATION_NAME}_finish): Likewise.
269 * emultempl/solaris2.em (elf_solaris2_before_allocation): Likewise.
270
c3f72de4
AM
2712021-04-09 Alan Modra <amodra@gmail.com>
272
273 * testsuite/ld-powerpc/inlinepcrel-1.d: Update expected output.
274 * testsuite/ld-powerpc/inlinepcrel-2.d: Likewise.
275 * testsuite/ld-powerpc/notoc2.d: Likewise.
276 * testsuite/ld-powerpc/notoc3.d: Likewise.
277 * testsuite/ld-powerpc/pcrelopt.d: Likewise.
278 * testsuite/ld-powerpc/startstop.d: Likewise.
279 * testsuite/ld-powerpc/tlsget.d: Likewise.
280 * testsuite/ld-powerpc/tlsget2.d: Likewise.
281 * testsuite/ld-powerpc/tlsld.d: Likewise.
282 * testsuite/ld-powerpc/weak1.d: Likewise.
283 * testsuite/ld-powerpc/weak1so.d: Likewise.
284
bd3d1480
JB
2852021-04-06 Jan Beulich <jbeulich@suse.com>
286
287 * pe-dll.c (generate_reloc): Bail immediately when .reloc is
288 being discarded. Warn when relocated entry is above .reloc.
289
c774eab1
AM
2902021-04-05 Alan Modra <amodra@gmail.com>
291
292 * configure.ac: Move initfini-array arg handling earlier. Don't
293 check for string.h, strings.h, stdlib.h, or locale.h. Do check
294 for inttypes.h, stdint.h, sys/types.h. Don't check for
295 setlocale, free, getev or strstr.
296 (AC_ISC_POSIX): Don't invoke.
297 * sysdep.h: Include string.h and stdlib.h unconditionally. Test
298 HAVE_SYS_TYPE_H and HAVE_SYS_STAT_H. Remove strstr, free and
299 getenv fallback declarations.
300 * ld.h: Don't test HAVE_LOCALE_H.
301 * ldmain.c: Don't test HAVE_SETLOCALE.
302 * config.in: Regenerate.
303 * configure: Regenerate.
304
74edb473
TC
3052021-04-01 Tamar Christina <tamar.christina@arm.com>
306
307 PR ld/26659
308 * testsuite/ld-pe/pe.exp: Add test.
309 * testsuite/ld-pe/pr26659-weak-undef-sym.d: New test.
310 * testsuite/ld-pe/pr26659-weak-undef-sym.s: New test.
311
e9b095a5
ML
3122021-04-01 Martin Liska <mliska@suse.cz>
313
314 * ldbuildid.c (strneq): Remove strneq and use startswith.
315 (validate_build_id_style): Likewise.
316 (compute_build_id_size): Likewise.
317
f38a2680
AM
3182021-03-31 Alan Modra <amodra@gmail.com>
319
320 * sysdep.h (POISON_BFD_BOOLEAN): Define.
321 * configure.ac (elf_list_options, elf_shlib_list_options=false),
322 (elf_plt_unwind_list_options=false): Replace FALSE with false,
323 and TRUE with true.
324 * emulparams/call_nop.sh, * emulparams/cet.sh,
325 * emulparams/dynamic_undefined_weak.sh,
326 * emulparams/elf32b4300.sh, * emulparams/elf32lm32.sh,
327 * emulparams/elf32lr5900.sh, * emulparams/elf32lr5900n32.sh,
328 * emulparams/elf32visium.sh, * emulparams/elf_x86_64.sh,
329 * emulparams/extern_protected_data.sh, * emulparams/plt_unwind.sh,
330 * emulparams/reloc_overflow.sh, * emulparams/static.sh,
331 * emulparams/x86-64-lam.sh, * emultempl/aarch64elf.em,
332 * emultempl/aix.em, * emultempl/alphaelf.em,
333 * emultempl/armcoff.em, * emultempl/armelf.em,
334 * emultempl/avrelf.em, * emultempl/beos.em, * emultempl/bfin.em,
335 * emultempl/cr16elf.em, * emultempl/crxelf.em,
336 * emultempl/cskyelf.em, * emultempl/elf.em, * emultempl/genelf.em,
337 * emultempl/hppaelf.em, * emultempl/linux.em,
338 * emultempl/m68hc1xelf.em, * emultempl/metagelf.em,
339 * emultempl/mipself.em, * emultempl/mmix-elfnmmo.em,
340 * emultempl/mmixelf.em, * emultempl/mmo.em, * emultempl/msp430.em,
341 * emultempl/nios2elf.em, * emultempl/pdp11.em, * emultempl/pe.em,
342 * emultempl/pep.em, * emultempl/ppc32elf.em,
343 * emultempl/ppc64elf.em, * emultempl/rxelf.em,
344 * emultempl/rxlinux.em, * emultempl/scoreelf.em,
345 * emultempl/solaris2.em, * emultempl/spuelf.em,
346 * emultempl/ticoff.em, * emultempl/v850elf.em, * emultempl/vms.em,
347 * emultempl/xtensaelf.em, * emultempl/z80.em, * ld.h,
348 * ldbuildid.c, * ldbuildid.h, * ldcref.c, * ldctor.c, * ldctor.h,
349 * ldelf.c, * ldelf.h, * ldelfgen.c, * ldelfgen.h, * ldemul.c,
350 * ldemul.h, * ldexp.c, * ldexp.h, * ldfile.c, * ldfile.h,
351 * ldgram.y, * ldlang.c, * ldlang.h, * ldmain.c, * ldmain.h,
352 * ldmisc.c, * ldmisc.h, * ldwrite.c, * lexsup.c, * mri.c,
353 * pe-dll.c, * pe-dll.h, * pep-dll.h, * plugin.c, * plugin.h,
354 * testplug.c, * testplug2.c, * testplug3.c, * testplug4.c: Replace
355 bfd_boolean with bool, FALSE with false, and TRUE with true.
356 * configure: Regenerate.
357
3dfb1b6d
AM
3582021-03-31 Alan Modra <amodra@gmail.com>
359
360 * elf-hints-local.h: Include stdint.h in place of bfd_stdint.h.
361 * emultempl/nds32elf.em: Likewise.
362 * testsuite/ld-elf/mbind2b.c: Likewise.
363 * testsuite/ld-elf/pr18718.c: Likewise.
364 * testsuite/ld-elf/pr18720a.c: Likewise.
365 * testsuite/ld-elf/pr25749-1.c: Likewise.
366 * testsuite/ld-elf/pr25749-1a.c: Likewise.
367 * testsuite/ld-elf/pr25749-1b.c: Likewise.
368 * testsuite/ld-elf/pr25749-1c.c: Likewise.
369 * testsuite/ld-elf/pr25749-1d.c: Likewise.
370 * testsuite/ld-elf/pr25749-2.c: Likewise.
371 * testsuite/ld-elf/pr25754-1a.c: Likewise.
372 * testsuite/ld-elf/pr25754-2a.c: Likewise.
373 * testsuite/ld-elf/pr25754-3a.c: Likewise.
374 * testsuite/ld-elf/pr25754-4a.c: Likewise.
375 * testsuite/ld-elf/pr25754-5a.c: Likewise.
376 * testsuite/ld-elf/pr25754-6a.c: Likewise.
377
63b4cc53
AM
3782021-03-29 Alan Modra <amodra@gmail.com>
379
380 * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Simplify
381 boolean expression.
382 * lexsup.c (parse_args): Likewise.
383 * pe-dll.c (pe_dll_id_target): Likewise.
384
8592be8c
NA
3852021-03-25 Nick Alcock <nick.alcock@oracle.com>
386
387 * testsuite/ld-ctf/array.d: Only check that the data object
388 section is nonempty: do not check its exact size.
389 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
390 * testsuite/ld-ctf/slice.d: Likewise.
391 * testsuite/ld-ctf/data-func-conflicted.d: Likewise, and for the
392 func info section too.
393 * testsuite/ld-ctf/function.d: Likewise, for the func info section.
394
08dedd66
ML
3952021-03-22 Martin Liska <mliska@suse.cz>
396
397 * emultempl/aix.em: Replace usage of CONST_STRNEQ with startswith.
398 * emultempl/beos.em: Likewise.
399 * emultempl/elf.em: Likewise.
400 * emultempl/pe.em: Likewise.
401 * emultempl/pep.em: Likewise.
402 * emultempl/xtensaelf.em: Likewise.
403 * ldctor.c (ctor_prio): Likewise.
404 * ldelf.c (ldelf_try_needed): Likewise.
405 (ldelf_parse_ld_so_conf): Likewise.
406 (ldelf_after_open): Likewise.
407 (output_rel_find): Likewise.
408 (ldelf_place_orphan): Likewise.
409 * ldfile.c (ldfile_add_library_path): Likewise.
410 * ldlang.c (lang_add_input_file): Likewise.
411 * ldmain.c (get_sysroot): Likewise.
412 (get_emulation): Likewise.
413 (add_archive_element): Likewise.
414 * ldwrite.c (unsplittable_name): Likewise.
415 (clone_section): Likewise.
416 * lexsup.c (parse_args): Likewise.
417 * pe-dll.c (is_import): Likewise.
418 (pe_implied_import_dll): Likewise.
419
1de96e5d
L
4202021-03-19 H.J. Lu <hongjiu.lu@intel.com>
421
422 PR ld/27590
423 * testsuite/ld-x86-64/pr27590.rd: New file.
424 * testsuite/ld-x86-64/pr27590a.obj.bz2: Likewise.
425 * testsuite/ld-x86-64/pr27590b.obj.bz2: Likewise.
426 * testsuite/ld-x86-64/x86-64.exp: Run ld/27590 test.
427
15407e7e
AM
4282021-03-20 Alan Modra <amodra@gmail.com>
429
430 PR 27590
431 * ldlang.c (lang_gc_sections): Clear SEC_EXCLUDE when relocatable
432 for all sections except .stabstr.
433
fba7f753
AM
4342021-03-19 Alan Modra <amodra@gmail.com>
435
436 PR 27590
437 * testsuite/ld-elf/pr27590a.d: Match relocs using label, and
438 R_MIPS_NONE.
439 * testsuite/ld-elf/pr27590b.d: Likewise.
440
3818d4ab
L
4412021-03-18 H.J. Lu <hongjiu.lu@intel.com>
442
443 PR ld/27590
444 * testsuite/ld-elf/pr27590.s: New file.
445 * testsuite/ld-elf/pr27590a.d: Likewise.
446 * testsuite/ld-elf/pr27590b.d: Likewise.
447 * testsuite/ld-i386/i386.exp: Also run ld/27193 test with
448 --reduce-memory-overheads.
449
51f6e7a9
L
4502021-03-18 H.J. Lu <hongjiu.lu@intel.com>
451
452 PR ld/27587
453 * testsuite/ld-x86-64/pr27587.err: New file.
454 * testsuite/ld-x86-64/pr27587a.obj.bz2: Likewise.
455 * testsuite/ld-x86-64/pr27587b.obj.bz2: Likewise.
456 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/27587 test.
457
69a28486
NA
4582021-03-18 Nick Alcock <nick.alcock@oracle.com>
459
460 * testsuite/ld-ctf/slice.c: Check slices of enums too.
461 * testsuite/ld-ctf/slice.d: Results adjusted.
462
ee42883c
NC
4632021-03-16 Nick Clifton <nickc@redhat.com>
464
465 * pe-dll.c (pe_find_cdecl_alias_match): Use memmove to overwrite
466 lname string.
467
c68b1842
JB
4682021-03-15 Jan Beulich <jbeulich@suse.com>
469
470 * pe-dll.c (generate_reloc): Drop padding to reloc_s->size.
471
203a206d
AM
4722021-03-12 Alan Modra <amodra@gmail.com>
473
474 * Makefile.am (ALL_EMULATION_SOURCES): Move riscv files to..
475 (ALL_64_EMULATION_SOURCES): ..here.
476 * Makefile.in: Regenerate.
477
1b2cb8e2
CC
4782021-03-12 Clément Chigot <clement.chigot@atos.net>
479
480 * emultempl/aix.em: Ensure .tdata section is removed
481 if empty, even with -r flag.
482 * scripttempl/aix.sc: Handle TLS sections.
483 * testsuite/ld-powerpc/aix52.exp: Add new tests.
484 * testsuite/ld-powerpc/aix-tls-reloc-32.d: New test.
485 * testsuite/ld-powerpc/aix-tls-reloc-64.d: New test.
486 * testsuite/ld-powerpc/aix-tls-reloc.ex: New test.
487 * testsuite/ld-powerpc/aix-tls-reloc.s: New test.
488 * testsuite/ld-powerpc/aix-tls-section-32.d: New test.
489 * testsuite/ld-powerpc/aix-tls-section-64.d: New test.
490 * testsuite/ld-powerpc/aix-tls-section.ex: New test.
491 * testsuite/ld-powerpc/aix-tls-section.s: New test.
492
4a403be0
CC
4932021-03-12 Clément Chigot <clement.chigot@atos.net>
494
495 * scripttempl/aix.sc: Add .te to .data section.
496 * testsuite/ld-powerpc/aix52.exp: Add test structure for AIX7+.
497 Add aix-largetoc-1 test.
498 * testsuite/ld-powerpc/aix-largetoc-1-32.d: New test.
499 * testsuite/ld-powerpc/aix-largetoc-1-64.d: New test.
500 * testsuite/ld-powerpc/aix-largetoc-1.ex: New test.
501 * testsuite/ld-powerpc/aix-largetoc-1.s: New test.
502
68cb2183
AM
5032021-03-12 Alan Modra <amodra@gmail.com>
504
505 * testsuite/ld-gc/gc.exp: Pass "-image-base 0" to ld for PE, and
506 arrange to define __main for some run_dump_test tests.
507 * testsuite/ld-gc/pr13683.d: Accept more symbols.
508 * testsuite/ld-gc/pr14265.d: Likewise, and ordering.
509 * testsuite/ld-scripts/crossref.exp: Pass "-image-base 0" to ld for PE.
510 * testsuite/ld-srec/srec.exp: Likewise.
511 * testsuite/lib/ld-lib.exp (ld_link_defsyms): Use is_pecoff_format.
512
ebdcad3f
NC
5132021-03-11 Nelson Chu <nelson.chu@sifive.com>
514
515 * emultempl/riscvelf.em (after_allocation): Run ldelf_map_segments
516 many times if riscv_restart_relax_sections returns TRUE.
517 * testsuite/ld-riscv-elf/restart-relax.d: New testcase. Before
518 applying this patch, the call won't be relaxed to jal; But now we
519 have more chances to do relaxations.
520 * testsuite/ld-riscv-elf/restart-relax.s: Likewise.
521 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
522
67b0f684
JB
5232021-03-10 Jan Beulich <jbeulich@suse.com>
524
525 * testsuite/ld-scripts/pr22267.t: Avoid symbol value with more
526 than 32 set bits.
527 * testsuite/ld-scripts/pr22267.d: Adjust expectation and drop
528 comment.
529 * scripttempl/mcorepe.sc: Use PROVIDE() for _stack.
530
5dc75cf3
JB
5312021-03-09 Jan Beulich <jbeulich@suse.com>
532
533 * testsuite/ld-pe/reloc.s: Add entry point symbols. Increase
534 alignment to 4k.
535 * testsuite/ld-pe/reloc.d: xfail for mcore.
536
87fa7d56
JB
5372021-03-09 Jan Beulich <jbeulich@suse.com>
538
539 * testsuite/ld-scripts/alignof.exp,
540 testsuite/ld-scripts/data.exp,
541 testsuite/ld-scripts/default-script.exp,
542 testsuite/ld-scripts/log2.exp,
543 testsuite/ld-scripts/print-memory-usage.exp,
544 testsuite/ld-scripts/sizeof.exp,
545 testsuite/ld-undefined/weak-undef.exp: Set image base to zero
546 for PE/COFF.
547 * testsuite/ld-scripts/default-script1.d,
548 testsuite/ld-scripts/default-script2.d,
549 testsuite/ld-scripts/default-script3.d,
550 testsuite/ld-scripts/default-script4.d: Drop xfail and comment.
551
8c0546e9
L
5522021-03-05 H.J. Lu <hongjiu.lu@intel.com>
553
554 PR ld/27425
555 PR ld/27432
556 * ldelf.c (ldelf_set_output_arch): New function.
557 * ldelf.h (ldelf_set_output_arch): New prototype.
558 * emultempl/elf.em (LDEMUL_SET_OUTPUT_ARCH): Default to
559 ldelf_set_output_arch.
560 * ld-x86-64/pe-x86-64-1.od: Expect __executable_start.
561 * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise.
562 * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise.
563 * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise.
564 * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise.
565 * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise.
566 * testsuite/ld-x86-64/pe-x86-64-6.obj.bz2: New file.
567 * testsuite/ld-x86-64/pe-x86-64-6.od: Likewise.
568 * testsuite/ld-x86-64/pe-x86-64.exp: Run ld/27425 test.
569
d4e5db4e
JB
5702021-03-04 Jan Beulich <jbeulich@suse.com>
571
572 * testsuite/ld-scripts/map-address.exp: Set image base to zero
573 for PE/COFF.
574 * testsuite/ld-scripts/map-address.t: Place .text.
575
6fa7408d
JB
5762021-03-04 Jan Beulich <jbeulich@suse.com>
577
578 * ldexp.c (ldexp_is_final_sym_absolute): New.
579 * ldexp.h (ldexp_is_final_sym_absolute): Declare.
580 * pe-dll.c (generate_reloc): Skip absolute symbols.
581 * testsuite/ld-pe/reloc.s, testsuite/ld-pe/reloc.d: New.
582 * testsuite/ld-pe/pe.exp: Run new test.
583
5789f845
AM
5842021-03-03 Alan Modra <amodra@gmail.com>
585
586 PR 27500
587 * ldlang.c (insert_undefined): Don't mark symbols here.
588 (lang_mark_undefineds): Do so here instead, new function.
589 (lang_process): Call lang_mark_undefineds.
590 * testsuite/ld-gc/start3.d,
591 * testsuite/ld-gc/start3.s: New test.
592 * testsuite/ld-gc/start4.d,
593 * testsuite/ld-gc/start4.s: New test.
594 * testsuite/ld-gc/gc.exp: Run them.
595
270f32fc
AM
5962021-03-03 Alan Modra <amodra@gmail.com>
597
598 * testsuite/ld-gc/gc.exp: Define UNDERSCORE in ASFLAGS.
599 Move tests with ELF section directives to is_elf_format block.
600 * testsuite/ld-gc/abi-note.d: Run on more targets.
601 * testsuite/ld-gc/pr19167.d: Likewise and adjust xfails.
602 * testsuite/ld-gc/start.d: Likewise.
603 * testsuite/ld-gc/start2.d: Likewise.
604 * testsuite/ld-gc/stop.d: Likewise.
605 * testsuite/ld-gc/pr19167a.s: Add support for underscore targets.
606 * testsuite/ld-gc/start.s: Likewise.
607 * testsuite/ld-gc/start2.s: Likewise.
608
211bcd01
NA
6092021-03-02 Nick Alcock <nick.alcock@oracle.com>
610
611 * ldelfgen.c (ldelf_ctf_strtab_iter_cb): Skip zero-refcount strings.
612
b80e421f
AM
6132021-03-02 Alan Modra <amodra@gmail.com>
614
615 * testsuite/ld-powerpc/startstop.d,
616 * testsuite/ld-powerpc/startstop.r,
617 * testsuite/ld-powerpc/startstop.s: New test.
618 * testsuite/ld-powerpc/powerpc.exp: Run it.
619
f5b9c288
AM
6202021-03-02 Alan Modra <amodra@gmail.com>
621
622 * testsuite/ld-powerpc/weak1.d,
623 * testsuite/ld-powerpc/weak1.r,
624 * testsuite/ld-powerpc/weak1.s,
625 * testsuite/ld-powerpc/weak1so.d,
626 * testsuite/ld-powerpc/weak1so.r: New tests.
627 * testsuite/ld-powerpc/powerpc.exp: Run them.
628
ba6eb62f
NC
6292021-03-01 Hannes Domani <ssbssa@sourceware.org>
630 Nick Clifton <nickc@redhat.com>
631
632 PR 27268
633 * scripttempl/pe.sc: Add DWARF-5 section names.
634 * scripttempl/pep.sc: Likewise.
635
8ee10e86
AM
6362021-03-01 Alan Modra <amodra@gmail.com>
637 Fangrui Song <maskray@google.com>
638
639 * emultempl/elf.em: Handle -z start-stop-gc and -z nostart-stop-gc.
640 * lexsup.c (elf_static_list_options): Display help for them. Move
641 help for -z stack-size to here from elf_shlib_list_options. Add
642 help for -z start-stop-visibility and -z undefs.
643 * ld.texi: Document -z start-stop-gc and -z nostart-stop-gc.
644 * NEWS: Mention -z start-stop-gc.
645 * testsuite/ld-gc/start2.s,
646 * testsuite/ld-gc/start2.d: New test.
647 * testsuite/ld-gc/gc.exp: Run it.
648
7824c1d2
AM
6492021-03-01 Alan Modra <amodra@gmail.com>
650
651 * ldlang.c (undef_start_stop): For ELF make undefined start/stop
652 symbols undefweak if that was how they were referenced. Undo
653 dynamic state too.
654
6a1224ec
AM
6552021-03-01 Alan Modra <amodra@gmail.com>
656
657 * testsuite/ld-elf/pr25708.d: Add --with-symbol-versions to nm.
658 * testsuite/ld-elf/pr27128a.d: Likewise.
659 * testsuite/ld-elf/pr27128b.d: Likewise.
660 * testsuite/ld-elf/pr27128c.d: Likewise.
661 * testsuite/ld-elf/pr27128d.d: Likewise.
662 * testsuite/ld-elf/pr27128e.d: Likewise.
663
bfece756
AM
6642021-02-26 Alan Modra <amodra@gmail.com>
665
666 PR 27441
667 * testsuite/ld-plugin/pr27441a.c,
668 * testsuite/ld-plugin/pr27441b.c,
669 * testsuite/ld-plugin/pr27441c.c,
670 * testsuite/ld-plugin/pr27441c.d: New test.
671 * testsuite/ld-plugin/lto.exp: Run it.
672
3c27360b
JB
6732021-02-25 Jan Beulich <jbeulich@suse.com>
674
675 * ld.texi (PROVIDE): Downgrade "error" to "diagnostic".
676
89753bbf
AM
6772021-02-21 Alan Modra <amodra@gmail.com>
678
679 * ldexp.c (exp_fold_tree_1): Warn on script defining a symbol
680 defined in an object file.
681 * ldmain.c (multiple_definition): Heed info->warn_multiple_definition.
682 * testsuite/ld-scripts/defined5.d: Expect a warning.
683
2f973f13
AM
6842021-02-19 Alan Modra <amodra@gmail.com>
685
686 * testsuite/lib/ld-lib.exp: Whitespace.
687 (load_common_lib): Expand single use and delete this proc.
688 (run_host_cmd): Use -fno-lto when getting gcc's ld version.
689 Use -B for clang too.
690
a364a116
AB
6912021-02-18 Andrew Burgess <andrew.burgess@embecosm.com>
692
693 * testplugin.c (record_read_length): Remove debug fprintf.
694
5b1f6c95
AM
6952021-02-14 Alan Modra <amodra@gmail.com>
696
697 * testsuite/ld-cdtest/cdtest.exp,
698 * testsuite/ld-checks/checks.exp,
699 * testsuite/ld-elf/binutils.exp,
700 * testsuite/ld-elf/compress.exp,
701 * testsuite/ld-elf/dwarf.exp,
702 * testsuite/ld-elf/exclude.exp,
703 * testsuite/ld-elf/frame.exp,
704 * testsuite/ld-elf/indirect.exp,
705 * testsuite/ld-elf/linux-x86.exp,
706 * testsuite/ld-elf/sec-to-seg.exp,
707 * testsuite/ld-elf/tls_common.exp,
708 * testsuite/ld-elfcomm/elfcomm.exp,
709 * testsuite/ld-elfvers/vers.exp,
710 * testsuite/ld-elfvsb/elfvsb.exp,
711 * testsuite/ld-elfweak/elfweak.exp,
712 * testsuite/ld-ifunc/binutils.exp,
713 * testsuite/ld-mips-elf/mips-elf-flags.exp,
714 * testsuite/ld-misc/defsym.exp,
715 * testsuite/ld-mn10300/mn10300.exp,
716 * testsuite/ld-plugin/lto.exp,
717 * testsuite/ld-plugin/plugin.exp,
718 * testsuite/ld-scripts/align.exp,
719 * testsuite/ld-scripts/assert.exp,
720 * testsuite/ld-scripts/crossref.exp,
721 * testsuite/ld-scripts/defined.exp,
722 * testsuite/ld-scripts/extern.exp,
723 * testsuite/ld-scripts/log2.exp,
724 * testsuite/ld-scripts/map-address.exp,
725 * testsuite/ld-scripts/phdrs.exp,
726 * testsuite/ld-scripts/phdrs2.exp,
727 * testsuite/ld-scripts/script.exp,
728 * testsuite/ld-scripts/section-flags.exp,
729 * testsuite/ld-scripts/sizeof.exp,
730 * testsuite/ld-scripts/weak.exp,
731 * testsuite/ld-selective/selective.exp,
732 * testsuite/ld-sh/sh.exp,
733 * testsuite/ld-shared/shared.exp,
734 * testsuite/ld-srec/srec.exp,
735 * testsuite/ld-tic6x/tic6x.exp,
736 * testsuite/ld-undefined/undefined.exp,
737 * testsuite/ld-undefined/weak-undef.exp,
738 * testsuite/lib/ld-lib.exp: Don't use unresolved except after
739 perror. Instead report "unsupported" or "fail".
740
c46b7066
NC
7412021-02-12 Nick Clifton <nickc@redhat.com>
742
743 * testsuite/ld-elf/sec64k.exp: Stop readelf from automatically
744 following debug links.
745
933feaf3
AM
7462021-02-11 Alan Modra <amodra@gmail.com>
747
748 * NEWS: Mention arm-symbianelf removal.
749
a57d1773
AM
7502021-02-09 Alan Modra <amodra@gmail.com>
751
752 * Makefile.am (ALL_EMULATION_SOURCES): Remove earmsymbian.c.
753 Don't include symbian dep file.
754 * configure.tgt: Remove arm*-*-symbianelf* entry.
755 * emulparams/armsymbian.sh: Delete.
756 * ld.texi: Don't mention symbian.
757 * scripttempl/armbpabi.sc: Delete.
758 * testsuite/ld-arm/symbian-seg1.d: Delete.
759 * testsuite/ld-arm/symbian-seg1.s: Delete.
760 * testsuite/ld-arm/arm-elf.exp: Don't run symbian-seg1.
761 * Makefile.in: Regenerate.
762 * po/BLD-POTFILES.in: Regenerate.
763
38a143aa
L
7642021-02-07 H.J. Lu <hongjiu.lu@intel.com>
765
766 PR ld/27358
767 * testsuite/ld-i386/i386.exp: Remove property 3/4/5 run-time
768 tests.
769 * testsuite/ld-x86-64/x86-64.exp: Likewise.
770
35a01a04
NA
7712021-01-26 Nick Alcock <nick.alcock@oracle.com>
772
773 * ldlang.c (lang_merge_ctf): Set CTF_LINK_NO_FILTER_REPORTED_SYMS
774 when appropriate.
775
1a2f1b54
L
7762021-02-04 H.J. Lu <hongjiu.lu@intel.com>
777
778 PR ld/19609
779 * testsuite/ld-x86-64/pr19609-2a.d: Updated.
780 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
781 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
782 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
783 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
784 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
785 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
786
37707bd8
L
7872021-02-04 H.J. Lu <hongjiu.lu@intel.com>
788
789 PR ld/15146
790 * testsuite/ld-plugin/lto.exp: Run PR ld/15146 tests.
791 * testsuite/ld-plugin/pr15146.d: Restored.
792 * testsuite/ld-plugin/pr15146a.c: Likewise.
793 * testsuite/ld-plugin/pr15146b.c: Likewise.
794 * testsuite/ld-plugin/pr15146c.c: Likewise.
795 * testsuite/ld-plugin/pr15146d.c: Likewise.
796
7d409ac0
AM
7972021-02-04 Alan Modra <amodra@gmail.com>
798
799 * testsuite/ld-plugin/pr27311d.c: New test.
800 * testsuite/ld-plugin/lto.exp: Rename pr27311 to pr27311-1, compile
801 and link new test as pr27311-2.
802
69551367
AM
8032021-02-03 Alan Modra <amodra@gmail.com>
804
805 * testsuite/ld-ifunc/ifunc.exp (libpr16467b.so, libpr16467bn.so):
806 Link with --as-needed.
807
9918bff7
AM
8082021-02-02 Alan Modra <amodra@gmail.com>
809
810 * testsuite/ld-plugin/pr27311.d,
811 * testsuite/ld-plugin/pr27311.ver,
812 * testsuite/ld-plugin/pr27311a.c,
813 * testsuite/ld-plugin/pr27311b.c,
814 * testsuite/ld-plugin/pr27311c.c: New testcase.
815 * testsuite/ld-plugin/lto.exp: Run it. Correct PR14918 and
816 PR12982 entries.
817
1f568f9a
EH
8182021-02-01 Emery Hemingway <ehmry@posteo.net>
819
820 * configure.tgt: Add *-*-genode* as a target for AArch64 and x86.
821
fb6c220e
AM
8222021-02-01 Alan Modra <amodra@gmail.com>
823
824 * ldgram.y (defsym_expr): Use assignment rule.
825 * ldlex.h (ldlex_defsym): Delete.
826 * ldlex.l (DEFSYMEXP, ldlex_defsym): Delete.
827
40726f16
AM
8282021-02-01 Alan Modra <amodra@gmail.com>
829
830 * ldgram.y (section): Call ldlex_backup. Remove empty action.
831 * ldlex.h (ldlex_backup): Declare.
832 * ldlex.l (<EXPRESSION>NAME): Don't use NOCFILENAMECHAR set of
833 chars, use SYMBOLNAMECHAR.
834 (ldlex_backup): New function.
835
a5f92c67
AM
8362021-02-01 Alan Modra <amodra@gmail.com>
837
838 * ldgram.y: Whitespace fixes.
839
49daa38f
AM
8402021-02-01 Alan Modra <amodra@gmail.com>
841
842 * testsuite/ld-elf/pr27259.d: Correct sh_link match.
843
c4566785
AM
8442021-01-29 Alan Modra <amodra@gmail.com>
845
846 * testsuite/ld-tic6x/tic6x.exp: Add pr27271 test.
847
53e556e5
L
8482021-01-28 H.J. Lu <hongjiu.lu@intel.com>
849
850 PR ld/27259
851 * testsuite/ld-elf/pr27259.d: New file.
852 * testsuite/ld-elf/pr27259.s: Likewise.
853
def97fb9
AM
8542021-01-28 Alan Modra <amodra@gmail.com>
855
856 PR 27259
857 * ldelf.c (ldelf_before_place_orphans): Use linker_mark to
858 prevent endless looping of linked-to sections.
859
2eda57ef
L
8602021-01-26 H.J. Lu <hongjiu.lu@intel.com>
861
862 * testsuite/ld-x86-64/bnd-plt-1.d: Fix a typo.
863
1c9c9b9b
AM
8642021-01-26 Alan Modra <amodra@gmail.com>
865
866 PR 27226
867 * emulparams/alphavms.sh: Don't set COMPILE_IN.
868 * emulparams/elf64_ia64_vms.sh: Likewise.
869 * emulparams/elf64mmix.sh: Likewise.
870 * emulparams/elf_iamcu.sh: Likewise.
871 * emulparams/elf_k1om.sh: Likewise.
872 * emulparams/elf_l1om.sh: Likewise.
873 * emulparams/mmo.sh: Likewise.
874 * emulparams/pdp11.sh: Set DATA_SEG_ADDR.
875 * scripttempl/pdp11.sc: Use it.
876 * emultempl/pdp11.em: Don't edit .xn script for separate_code,
877 instead use .xe script. Support scripts from file system.
878 * emultempl/beos.em: Support scripts from file system.
879 * emultempl/pe.em: Likewise.
880 * emultempl/pep.em: Likewise.
881 * testsuite/ld-bootstrap/bootstrap.exp: Make tmpdir/ldscripts link.
882
9e42b976
FS
8832021-01-25 Fangrui Song <maskray@google.com>
884
885 PR ld/27230
886 * scripttempl/DWARF.sc: Add .debug_* sections.
887
b8df6900
NC
8882021-01-25 Nick Clifton <nickc@redhat.com>
889
890 * scripttempl/DWARF.sc: Add .debug_loclists, .debug_rnglists,
891 .debug_line_str and .debug_str_offsets. Move .debug_macro and
892 .debug_addr into DWARF-5 section.
893
c78eec44
AM
8942021-01-21 Alan Modra <amodra@gmail.com>
895
896 * testsuite/ld-elf/pr26936.d: No longer xfail mips.
897
4bd7c902
AM
8982021-01-20 Alan Modra <amodra@gmail.com>
899
900 * testsuite/ld-powerpc/relbrlt.s: Make symbols global.
901 * testsuite/ld-powerpc/relbrlt.d: Adjust to suit.
902 * testsuite/ld-powerpc/tlsget.d: Adjust for reordered stubs.
903 * testsuite/ld-powerpc/tlsget.wf: Likewise.
904 * testsuite/ld-powerpc/tlsget2.d: Likewise.
905 * testsuite/ld-powerpc/tlsget2.wf: Likewise.
906 * testsuite/ld-powerpc/tlsexe.r: Adjust for removed section syms.
907 * testsuite/ld-powerpc/tlsexe32.r: Likewise.
908 * testsuite/ld-powerpc/tlsexe32no.r: Likewise.
909 * testsuite/ld-powerpc/tlsexeno.r: Likewise.
910 * testsuite/ld-powerpc/tlsexenors.r: Likewise.
911 * testsuite/ld-powerpc/tlsexers.r: Likewise.
912 * testsuite/ld-powerpc/tlsexetoc.r: Likewise.
913 * testsuite/ld-powerpc/tlsexetocrs.r: Likewise.
914 * testsuite/ld-powerpc/tlsso.r: Likewise.
915 * testsuite/ld-powerpc/tlsso32.r: Likewise.
916 * testsuite/ld-powerpc/tlstocso.r: Likewise.
917
c98de297
NA
9182021-01-19 Nick Alcock <nick.alcock@oracle.com>
919
920 * testsuite/ld-ctf/data-func-2.c: Stop removal of the extern foo_t
921 symbols by the optimizer.
922 * testsuite/ld-ctf/data-func-conflicted.d: Adjust accordingly.
923
85e963f1
NC
9242021-01-19 Nelson Chu <nelson.chu@sifive.com>
925
926 * testsuite/ld-elf/elf.exp (riscv_little_endian): Added. Return true
927 if target is riscv little endian. Otherwise, return false.
928 * testsuite/ld-elf/compressed1d.d: Only xfail the riscv little endian
929 targets by [riscv_little_endian].
930
326adec3
AM
9312021-01-18 Alan Modra <amodra@gmail.com>
932
933 PR 26378
934 * ldlang.c (map_input_to_output_sections): Start with a read-only
935 section for data statements.
936 * testsuite/ld-elf/size-2.d: Adjust to suit.
937
994b2513
L
9382021-01-17 H.J. Lu <hongjiu.lu@intel.com>
939
940 PR ld/27193
941 * testsuite/ld-i386/i386.exp: Run PR ld/27193 test.
942 * testsuite/ld-i386/pr27193.dd: New file.
943 * testsuite/ld-i386/pr27193a.o.bz2: Likewise.
944 * testsuite/ld-i386/pr27193b.s: Likewise.
945
edf0f284
L
9462021-01-16 H.J. Lu <hongjiu.lu@intel.com>
947
948 PR binutils/23460
949 * testsuite/ld-plugin/lto.exp: Increase the max number of open
950 files to 20 for PR binutils/23460 test.
951
75a933f3
L
9522021-01-16 H.J. Lu <hongjiu.lu@intel.com>
953
954 PR ld/23169
955 * testsuite/ld-ifunc/ifunc.exp: Replace pr23169c.rd with
956 pr23169a.rd for pr23169c and pr23169f. Remove pr23169e tests.
957 * testsuite/ld-ifunc/pr23169a.c (foo): Don't compare function
958 address.
959
68b00778
L
9602021-01-15 H.J. Lu <hongjiu.lu@intel.com>
961
962 * NEWS: Mention -z report-relative-reloc.
963 * ld.texi: Document -z report-relative-reloc.
964 * emulparams/elf32_x86_64.sh: Source x86-report-relative.sh.
965 * emulparams/elf_i386.sh: Likewse.
966 * emulparams/elf_x86_64.sh: Likewse.
967 * emulparams/x86-report-relative.sh: New file.
968 * testsuite/ld-i386/report-reloc-1.d: Likewse.
969 * testsuite/ld-i386/report-reloc-1.l: Likewse.
970 * testsuite/ld-i386/report-reloc-1.s: Likewse.
971 * testsuite/ld-x86-64/report-reloc-1-x32.d: Likewse.
972 * testsuite/ld-x86-64/report-reloc-1.d: Likewse.
973 * testsuite/ld-x86-64/report-reloc-1.l: Likewse.
974 * testsuite/ld-x86-64/report-reloc-1.s: Likewse.
975 * testsuite/ld-i386/i386.exp: Run report-reloc-1.
976 * testsuite/ld-x86-64/x86-64.exp: Run report-reloc-1 and
977 report-reloc-1-x32.
978
eb6e6af8
AM
9792021-01-16 Alan Modra <amodra@gmail.com>
980
981 PR 26002
982 * testsuite/ld-elfvers/vers6.dsym: Expect "Base" for undefined
983 unversioned symbols.
984 * testsuite/ld-elfvers/vers16.dsym: Likewise.
985
b800637e
NC
9862021-01-15 Nelson Chu <nelson.chu@sifive.com>
987
988 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-01.d: Updated.
989 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-02.d: Likewise.
990 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-03.d: Likewise.
991 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-04.d: Likewise.
992 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-05.d: Likewise.
993 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-06.d: Likewise.
994
5a10699f
NC
9952021-01-14 Nick Clifton <nickc@redhat.com>
996
997 * po/fr.po: Updated French translation.
998
271bea6a
MF
9992021-01-14 Mike Frysinger <vapier@gentoo.org>
1000
1001 * testsuite/config/default.exp [bfin*-elf*] (gcc_B_opt): Add -msim.
1002
4120e488
AM
10032021-01-14 Alan Modra <amodra@gmail.com>
1004
1005 PR 27160
1006 * ldelfgen.c (compare_link_order): Protect access of ELF section
1007 data.
1008 (add_link_order_input_section): Remove redundant NULL check.
1009 Use bfd_get_flavour.
1010 (ldelf_map_segments): Use bfd_get_flavour.
1011
b634d11d
L
10122021-01-13 H.J. Lu <hongjiu.lu@intel.com>
1013
1014 * ldelfgen.c (add_link_order_input_section): Check for ELF input
1015 before accessing ELF section data.
1016
5347ed60
AM
10172021-01-13 Alan Modra <amodra@gmail.com>
1018
1019 * Makefile.in: Regenerate.
1020
b209b5a6
AM
10212021-01-13 Alan Modra <amodra@gmail.com>
1022
1023 PR 27160
1024 * ldlang.h (lang_output_section_statement_type): Add data field.
1025 (lang_input_section_type, lang_section_bst_type): Add pattern field.
1026 (statement_list): Declare.
1027 (lang_add_section): Adjust prototype.
1028 * emultempl/aarch64elf.em: Adjust lang_add_section calls.
1029 * emultempl/armelf.em: Likewise.
1030 * emultempl/beos.em: Likewise.
1031 * emultempl/cskyelf.em: Likewise.
1032 * emultempl/hppaelf.em: Likewise.
1033 * emultempl/m68hc1xelf.em: Likewise.
1034 * emultempl/metagelf.em: Likewise.
1035 * emultempl/mipself.em: Likewise.
1036 * emultempl/mmo.em: Likewise.
1037 * emultempl/msp430.em: Likewise.
1038 * emultempl/nios2elf.em: Likewise.
1039 * emultempl/pe.em: Likewise.
1040 * emultempl/pep.em: Likewise.
1041 * emultempl/ppc64elf.em: Likewise.
1042 * emultempl/spuelf.em: Likewise.
1043 * emultempl/vms.em: Likewise.
1044 * ldelf.c: Likewise.
1045 * ldelfgen.c: Include ldctor.h.
1046 (struct os_sections): New.
1047 (add_link_order_input_section, link_order_scan): New functions.
1048 (compare_link_order, fixup_link_order): New functions.
1049 (ldelf_map_segments): Call link_order_scan and fixup_link_order.
1050 * ldlang.c (statement_list): Make global.
1051 (output_section_callback_fast): Save pattern in tree node.
1052 (lang_add_section): Add pattern parameter, save in lang_input_section.
1053 (output_section_callback_tree_to_list): Adjust lang_add_section calls.
1054 (lang_insert_orphan, output_section_callback): Likewise.
1055 (ldlang_place_orphan): Likewise.
1056 (gc_section_callback): Don't set section->pattern.
1057 * testsuite/ld-elf/pr26256-2a.d: Don't xfail generic.
1058 * testsuite/ld-elf/pr26256-3b.d: Likewise.
1059 * testsuite/ld-elf/pr26256-2b.d: Likewise. notarget xgate.
1060
8c4645b4
AM
10612021-01-13 Alan Modra <amodra@gmail.com>
1062
1063 * ldlang.h (callback_t): Remove flag_info function parameter.
1064 * ldlang.c (walk_wild_consider_section): Adjust to suit.
1065 (walk_wild_section_general): Likewise.
1066 (output_section_callback_fast, output_section_callback): Likewise.
1067 (check_section_callback, gc_section_callback): Likewise.
1068 (find_relro_section_callback): Likewise.
1069
d546b610
L
10702021-01-12 H.J. Lu <hongjiu.lu@intel.com>
1071
1072 PR binutils/26792
1073 * configure.ac: Use GNU_MAKE_JOBSERVER.
1074 * aclocal.m4: Regenerated.
1075 * configure: Likewise.
1076
c2e9a4a3
L
10772021-01-12 H.J. Lu <hongjiu.lu@intel.com>
1078
1079 PR ld/27171
1080 * testsuite/ld-x86-64/pe-x86-64-5.obj.bz2: New file.
1081 * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise.
1082 * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise.
1083 * testsuite/ld-x86-64/pe-x86-64.exp: Run PR ld/27171 test.
1084
83b33c6c
L
10852021-01-11 H.J. Lu <hongjiu.lu@intel.com>
1086
1087 PR ld/27173
1088 * configure: Regenerated.
1089
c0f6e439
MJ
10902021-01-11 Matt Jenkins <matt@majenko.co.uk>
1091
1092 PR ld/27167
1093 * ldmain.c (get_emulation): Add mipsmips32r3, mips32r5, mips64r3
1094 and mips64r5 to list of known mips targets.
1095
10962021-01-11 Nick Clifton <nickc@redhat.com>matt@majenko.co.uk
a8aa72b9
NC
1097
1098 * po/pt_BR.po: Updated Brazilian Portuguese translation.
1099` * po/uk.po: Updated Ukranian translation.
1100
a4966cd9
L
11012021-01-09 H.J. Lu <hongjiu.lu@intel.com>
1102
1103 * configure: Regenerated.
1104
0a94990b
L
11052021-01-09 H.J. Lu <hongjiu.lu@intel.com>
1106
1107 PR ld/27166
1108 * testsuite/ld-x86-64/lam-u48.rd: New file.
1109 * testsuite/ld-x86-64/lam-u57.rd: Likewise.
1110 * testsuite/ld-x86-64/x86-64.exp: Add PR ld/27166 tests.
1111
573fe3fb
NC
11122021-01-09 Nick Clifton <nickc@redhat.com>
1113
1114 * configure: Regenerate.
1115 * po/ld.pot: Regenerate.
1116
055bc77a
NC
11172021-01-09 Nick Clifton <nickc@redhat.com>
1118
1119 * 2.36 release branch crated.
1120
ba9e922f
L
11212021-01-08 H.J. Lu <hongjiu.lu@intel.com>
1122
1123 * ld-x86-64/property-x86-lam-u48-4.d: Updated.
1124 * ld-x86-64/property-x86-lam-u48-5.d: Likewise.
1125
64307045
AM
11262021-01-09 Alan Modra <amodra@gmail.com>
1127
1128 * configure: Regenerate.
1129 * Makefile.in: Regenerate.
1130
f4782128
ST
11312021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
1132
1133 * configure: Regenerate.
1134
d1bcae83
L
11352021-01-07 H.J. Lu <hongjiu.lu@intel.com>
1136
1137 PR 27109
1138 * testsuite/ld-elf/export-class.sd: Adjust the expected output.
1139 * testsuite/ld-elf/loadaddr3b.d: Likewise.
1140 * testsuite/ld-i386/ibt-plt-1.d: Likewise.
1141 * testsuite/ld-i386/ibt-plt-2a.d: Likewise.
1142 * testsuite/ld-i386/ibt-plt-2c.d: Likewise.
1143 * testsuite/ld-i386/ibt-plt-3a.d: Likewise.
1144 * testsuite/ld-i386/ibt-plt-3c.d: Likewise.
1145 * testsuite/ld-i386/pr19636-1d.d: Likewise.
1146 * testsuite/ld-i386/pr19636-1l.d: Likewise.
1147 * testsuite/ld-i386/pr19636-2c.d: Likewise.
1148 * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise.
1149 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise.
1150 * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Likewise.
1151 * testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise.
1152 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1153 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1154 * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise.
1155 * testsuite/ld-ifunc/pr17154-i386.d: Likewise.
1156 * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
1157 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
1158 * testsuite/ld-x86-64/bnd-branch-1-now.d: Likewise.
1159 * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise.
1160 * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise.
1161 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
1162 * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise.
1163 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
1164 * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise.
1165 * testsuite/ld-x86-64/ibt-plt-1.d: Likewise.
1166 * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise.
1167 * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise.
1168 * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise.
1169 * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise.
1170 * testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise.
1171 * testsuite/ld-x86-64/ibt-plt-3a.d: Likewise.
1172 * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise.
1173 * testsuite/ld-x86-64/ibt-plt-3c.d: Likewise.
1174 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
1175 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
1176 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
1177 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
1178 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
1179 * testsuite/ld-x86-64/pr19636-2l.d: Likewise.
1180 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
1181 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
1182 * testsuite/ld-x86-64/pr21038b-now.d: Likewise.
1183 * testsuite/ld-x86-64/pr21038b.d: Likewise.
1184 * testsuite/ld-x86-64/pr21038c-now.d: Likewise.
1185 * testsuite/ld-x86-64/pr21038c.d: Likewise.
1186 * testsuite/ld-x86-64/pr23854.d: Likewise.
1187 * testsuite/ld-x86-64/pr25416-3.d: Likewise.
1188 * testsuite/ld-x86-64/pr25416-4.d: Likewise.
1189 * testsuite/ld-i386/plt-pic.pd: Likewise.
1190 * testsuite/ld-i386/plt-pic2.dd: Likewise.
1191 * testsuite/ld-i386/plt.pd: Likewise.
1192 * testsuite/ld-i386/plt2.dd: Likewise.
1193 * testsuite/ld-i386/tlsbin.rd: Likewise.
1194 * testsuite/ld-i386/tlsbin2.rd: Likewise.
1195 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
1196 * testsuite/ld-i386/tlsdesc.rd: Likewise.
1197 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
1198 * testsuite/ld-i386/tlsnopic.rd: Likewise.
1199 * testsuite/ld-i386/tlspic.rd: Likewise.
1200 * testsuite/ld-i386/tlspic2.rd: Likewise.
1201 * testsuite/ld-x86-64/mpx3.dd: Likewise.
1202 * testsuite/ld-x86-64/mpx3n.dd: Likewise.
1203 * testsuite/ld-x86-64/mpx4.dd: Likewise.
1204 * testsuite/ld-x86-64/mpx4n.dd: Likewise.
1205 * testsuite/ld-x86-64/pe-x86-64-1.od: Likewise.
1206 * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise.
1207 * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise.
1208 * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise.
1209 * testsuite/ld-x86-64/plt.pd: Likewise.
1210 * testsuite/ld-x86-64/plt2.dd: Likewise.
1211 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
1212 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
1213 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
1214 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1215 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
1216 * testsuite/ld-x86-64/tlspic.rd: Likewise.
1217 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
1218 * testsuite/ld-elf/sec64k.exp: Check
1219 is_elf_unused_section_symbols.
1220
dc200613
AM
12212021-01-07 Alan Modra <amodra@gmail.com>
1222
1223 * testsuite/ld-scripts/fill.d: Skip sh-*-pe rather than xfail.
1224 * testsuite/ld-scripts/fill16.d: Don't xfail sh-*-pe.
1225 * testsuite/ld-scripts/segment-start.d: Likewise.
1226
8e604ff0
AM
12272021-01-07 Alan Modra <amodra@gmail.com>
1228
1229 * testsuite/ld-elf/comm-data5.d: xfail targets that complain
1230 about dynamic relocations in read-only sections.
1231 * testsuite/ld-elf/ehdr_start-shared.d: Likewise.
1232 * testsuite/ld-elf/ehdr_start.d: Likewise.
1233 * testsuite/ld-scripts/pr22267.d: Likewise.
1234 * testsuite/ld-elf/shared.exp: Likewise for DT_TEXTREL tests and
1235 pr20995 text.
1236 * testsuite/ld-elf/sec64k.exp: Don't run 64ksec on lm32-linux.
1237
4d4490b8
MC
12382021-01-07 Marcus Comstedt <marcus@mc.pp.se>
1239
1240 * testsuite/ld-scripts/empty-address-2a.d: xfail riscv64*-*-*.
1241 * testsuite/ld-scripts/empty-address-2b.d: Likewise.
1242
f526791a
AM
12432021-01-07 Alan Modra <amodra@gmail.com>
1244
1245 * po/BLD-POTFILES.in: Regenerate.
1246
4018f4e0
AM
12472021-01-07 Alan Modra <amodra@gmail.com>
1248
1249 * testsuite/ld-elf/shared.exp: xfail pr22471 for targets that
1250 complain about relocs in read-only sections. Tidy ASFLAGS append.
1251
3677b729
AM
12522021-01-06 Alan Modra <amodra@gmail.com>
1253
1254 * testsuite/ld-sparc/sparc.exp (sparc64tests): Set text-segment
1255 base for some tests.
1256 * testsuite/ld-sparc/gotop32.dd: Match solaris output.
1257 * testsuite/ld-sparc/gotop32.sd: Likewise.
1258 * testsuite/ld-sparc/gotop32.td: Likewise.
1259 * testsuite/ld-sparc/gotop64.dd: Likewise.
1260 * testsuite/ld-sparc/gotop64.sd: Likewise.
1261 * testsuite/ld-sparc/gotop64.td: Likewise.
1262 * testsuite/ld-sparc/tlsg32.sd: Likewise.
1263 * testsuite/ld-sparc/tlsg64.sd: Likewise.
1264 * testsuite/ld-sparc/tlspie32.dd: Likewise.
1265 * testsuite/ld-sparc/tlspie64.dd: Likewise.
1266 * testsuite/ld-sparc/tlssunbin32.dd: Likewise.
1267 * testsuite/ld-sparc/tlssunbin32.sd: Likewise.
1268 * testsuite/ld-sparc/tlssunbin32.td: Likewise.
1269 * testsuite/ld-sparc/tlssunbin64.dd: Likewise.
1270 * testsuite/ld-sparc/tlssunbin64.sd: Likewise.
1271 * testsuite/ld-sparc/tlssunbin64.td: Likewise.
1272 * testsuite/ld-sparc/tlssunnopic32.dd: Likewise.
1273 * testsuite/ld-sparc/tlssunnopic32.sd: Likewise.
1274 * testsuite/ld-sparc/tlssunnopic64.dd: Likewise.
1275 * testsuite/ld-sparc/tlssunnopic64.sd: Likewise.
1276 * testsuite/ld-sparc/tlssunpic32.dd: Likewise.
1277 * testsuite/ld-sparc/tlssunpic32.sd: Likewise.
1278 * testsuite/ld-sparc/tlssunpic32.td: Likewise.
1279 * testsuite/ld-sparc/tlssunpic64.dd: Likewise.
1280 * testsuite/ld-sparc/tlssunpic64.sd: Likewise.
1281 * testsuite/ld-sparc/tlssunpic64.td: Likewise.
1282 * testsuite/ld-sparc/wdispcall.dd: Likewise.
1283
73624512
AM
12842021-01-06 Alan Modra <amodra@gmail.com>
1285
1286 * testsuite/ld-scripts/rgn-at10.d: xfail v850.
1287 * testsuite/ld-scripts/rgn-at11.d: Likewise.
1288
f36ce378
MC
12892021-01-06 Marcus Comstedt <marcus@mc.pp.se>
1290
1291 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Added
1292 riscv_choose_[ilp32|lp64]_emul to choose the correct linker script.
1293 * testsuite/ld-riscv-elf/attr-merge-arch-01.d: Call
1294 riscv_choose_[ilp32|lp64]_emul instead of hardcoding elf[32|64]lriscv.
1295 * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
1296 * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
1297 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Likewise.
1298 * testsuite/ld-riscv-elf/attr-merge-arch-failed-02.d: Likewise.
1299 * testsuite/ld-riscv-elf/c-lui-2.d: Likewise.
1300 * testsuite/ld-riscv-elf/c-lui.d: Likewise.
1301 * testsuite/ld-riscv-elf/call-relax.d: Likewise.
1302 * testsuite/ld-riscv-elf/pcrel-lo-addend-2.d: Likewise.
1303 * testsuite/ld-riscv-elf/pcrel-lo-addend.d: Likewise.
1304 * testsuite/ld-riscv-elf/weakref32.d: Accept bigriscv in addition
1305 to littleriscv.
1306 * testsuite/ld-riscv-elf/weakref64.d: Likewise.
1307
fbc09e7a
MC
13082021-01-06 Marcus Comstedt <marcus@mc.pp.se>
1309
1310 * configure.tgt: Added riscvbe-*-*, riscv32be*-*-*, riscv64be*-*-*,
1311 riscv32be*-*-linux*, and riscv64be*-*-linux*.
1312 * Makefile.am: Added eelf32briscv.c, eelf32briscv_ilp32f.c and
1313 eelf32briscv_ilp32.c.
1314 * Makefile.in: Regenerate.
1315 * emulparams/elf32briscv.sh: Added.
1316 * emulparams/elf32briscv_ilp32.sh: Likewise.
1317 * emulparams/elf32briscv_ilp32f.sh: Likewise.
1318 * emulparams/elf64briscv.sh: Likewise.
1319 * emulparams/elf64briscv_lp64.sh: Likewise.
1320 * emulparams/elf64briscv_lp64f.sh: Likewise.
1321
b4b6ea46
NA
13222021-01-05 Nick Alcock <nick.alcock@oracle.com>
1323
1324 * testsuite/ld-ctf/enum-forward.c: New test.
1325 * testsuite/ld-ctf/enum-forward.c: New results.
1326
37002871
NA
13272021-01-05 Nick Alcock <nick.alcock@oracle.com>
1328
1329 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
1330 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
1331 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
1332 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
1333 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
1334 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
1335 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
1336 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
1337 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
1338 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
1339 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
1340 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
1341 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
1342 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
1343 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
1344 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
1345 * testsuite/ld-ctf/cycle-1.d: Likewise.
1346 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
1347 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
1348 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
1349 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
1350 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
1351 * testsuite/ld-ctf/diag-cuname.d: Likewise.
1352 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
1353 * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise.
1354 * testsuite/ld-ctf/forward.d: Likewise.
1355 * testsuite/ld-ctf/function.d: Likewise.
1356 * testsuite/ld-ctf/slice.d: Likewise.
1357 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
1358 * testsuite/ld-ctf/enums.c: New test.
1359 * testsuite/ld-ctf/enums.d: New test.
1360
ffeece6a
NA
13612021-01-05 Nick Alcock <nick.alcock@oracle.com>
1362
1363 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Adjust for dumper
1364 changes.
1365 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
1366 * testsuite/ld-ctf/forward.c: New test...
1367 * testsuite/ld-ctf/forward.d: ... and results.
1368
91e7ce2f
NA
13692021-01-05 Nick Alcock <nick.alcock@oracle.com>
1370
1371 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
1372 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
1373 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
1374 * testsuite/ld-ctf/diag-cuname.d: Likewise.
1375 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
1376 * testsuite/ld-ctf/function.d: Likewise.
1377 * testsuite/ld-ctf/slice.d: Likewise.
1378
57f97d0e
NA
13792021-01-05 Nick Alcock <nick.alcock@oracle.com>
1380
1381 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
1382 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
1383 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
1384 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
1385 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
1386 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
1387 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
1388 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
1389 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
1390 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
1391 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
1392 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
1393 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
1394 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
1395 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
1396 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
1397 * testsuite/ld-ctf/cycle-1.d: Likewise.
1398 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
1399 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
1400 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
1401 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
1402 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
1403 * testsuite/ld-ctf/diag-cuname.d: Likewise.
1404 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
1405 * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise.
1406 * testsuite/ld-ctf/function.d: Likewise.
1407 * testsuite/ld-ctf/slice.d: Likewise.
1408 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
1409
b281a04f
AM
14102021-01-05 Alan Modra <amodra@gmail.com>
1411
1412 * testsuite/ld-scripts/sysroot-prefix.exp: Exclude some targets.
1413
40b11930
AM
14142021-01-05 Alan Modra <amodra@gmail.com>
1415
1416 PR ld/26256
1417 * testsuite/ld-elf/pr26256-1b.d: xfail s12z.
1418 * testsuite/ld-scripts/crossref.exp (cross1): Don't xfail ia64.
1419
cd6d537c
L
14202021-01-04 H.J. Lu <hongjiu.lu@intel.com>
1421
1422 PR ld/26256
1423 * ldlang.c (gc_section_callback): Set pattern.
1424 * testsuite/ld-elf/pr26256-1.s: New file.
1425 * testsuite/ld-elf/pr26256-1.t: Likewise.
1426 * testsuite/ld-elf/pr26256-1a.d: Likewise.
1427 * testsuite/ld-elf/pr26256-1b.d: Likewise.
1428 * testsuite/ld-elf/pr26256-2.s: Likewise.
1429 * testsuite/ld-elf/pr26256-2.t: Likewise.
1430 * testsuite/ld-elf/pr26256-2a.d: Likewise.
1431 * testsuite/ld-elf/pr26256-2b-alt.d: Likewise.
1432 * testsuite/ld-elf/pr26256-2b.d: Likewise.
1433 * testsuite/ld-elf/pr26256-3.s: Likewise.
1434 * testsuite/ld-elf/pr26256-3a.d: Likewise.
1435 * testsuite/ld-elf/pr26256-3a.t: Likewise.
1436 * testsuite/ld-elf/pr26256-3b.d: Likewise.
1437 * testsuite/ld-elf/pr26256-3b.t: Likewise.
1438
5b4293ba
AM
14392021-01-04 Alan Modra <amodra@gmail.com>
1440
1441 PR 26822
1442 * testsuite/ld-arm/non-contiguous-arm2.d: Adjust STT_FILE symbol match.
1443 * testsuite/ld-arm/non-contiguous-arm3.d: Likewise.
1444 * testsuite/ld-arm/non-contiguous-arm5.d: Likewise.
1445 * testsuite/ld-arm/non-contiguous-arm6.d: Likewise.
1446 * testsuite/ld-i386/tlsbin.rd: Likewise.
1447 * testsuite/ld-i386/tlsbin2.rd: Likewise.
1448 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
1449 * testsuite/ld-i386/tlsdesc.rd: Likewise.
1450 * testsuite/ld-i386/tlsnopic.rd: Likewise.
1451 * testsuite/ld-i386/tlspic.rd: Likewise.
1452 * testsuite/ld-i386/tlspic2.rd: Likewise.
1453 * testsuite/ld-mips-elf/global-local-symtab-sort-n64.d: Likewise.
1454 * testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d: Likewise.
1455 * testsuite/ld-mips-elf/global-local-symtab-sort-o32.d: Likewise.
1456 * testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d: Likewise.
1457 * testsuite/ld-plugin/pr17973.d: Likewise.
1458 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
1459 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
1460 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
1461 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
1462 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
1463 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
1464 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
1465 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
1466 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
1467 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
1468 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
1469 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
1470 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
1471 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
1472 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
1473 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
1474 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1475 * testsuite/ld-x86-64/tlspic.rd: Likewise.
1476 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
1477 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
1478 * testsuite/ld-xtensa/tlspic.rd: Likewise.
1479
f9a6a8f0
AM
14802021-01-01 Nicolas Boulenguez <nicolas@debian.org>
1481
1482 * configure.tgt: Correct comment grammar.
1483 * emultempl/m68hc1xelf.em: Likewise.
1484 * ld.texi: Correct grammar.
1485
250d07de
AM
14862021-01-01 Alan Modra <amodra@gmail.com>
1487
1488 Update year range in copyright notice of all files.
1489
c2795844 1490For older changes see ChangeLog-2020
3499769a 1491\f
c2795844 1492Copyright (C) 2021 Free Software Foundation, Inc.
3499769a
AM
1493
1494Copying and distribution of this file, with or without modification,
1495are permitted in any medium without royalty provided the copyright
1496notice and this notice are preserved.
1497
1498Local Variables:
1499mode: change-log
1500left-margin: 8
1501fill-column: 74
1502version-control: never
1503End: