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