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