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