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