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