1 2020-02-07 H.J. Lu <hongjiu.lu@intel.com>
3 * testsuite/ld-unique/unique.exp (contains_unique_symbol): Updated.
5 2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
8 * emulparams/elf32z80.sh: Use z80 emulation.
9 * emultempl/z80.em: Make generic to both COFF and ELF Z80 emulations.
10 * emultempl/z80elf.em: Delete.
11 * testsuite/ld-elf/pr22450.d: Expect to fail for the Z80.
12 * testsuite/ld-elf/sec64k.exp: Fix Z80 assembly.
13 * testsuite/ld-unique/pr21529.s: Avoid register name conflict.
14 * testsuite/ld-unique/unique.s: Likewise.
15 * testsuite/ld-unique/unique_empty.s: Likewise.
16 * testsuite/ld-unique/unique_shared.s: Likewise.
17 * testsuite/ld-unique/unique.d: Updated expected output.
18 * testsuite/ld-z80/arch_z80n.d: New file.
19 * testsuite/ld-z80/comb_arch_z80_z80n.d: New file.
20 * testsuite/ld-z80/labels.s: Add more labels.
21 * testsuite/ld-z80/relocs.s: Add more reloc tests.
22 * testsuite/ld-z80/relocs_f_z80n.d: New file
24 2020-02-07 H.J. Lu <hongjiu.lu@intel.com>
27 * testsuite/ld-elf/pr25022.d: Xfail more targets which don't use
28 ldelf_before_place_orphans.
30 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
33 * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Add
34 before_place_orphans_default.
35 * emultempl/armcoff.em (ld_${EMULATION_NAME}_emulation): Likewise.
36 * emultempl/beos.em (ld_${EMULATION_NAME}_emulation): Likewise.
37 * emultempl/generic.em (ld_${EMULATION_NAME}_emulation): Likewise.
38 * emultempl/linux.em (ld_${EMULATION_NAME}_emulation): Likewise.
39 * emultempl/msp430.em (ld_${EMULATION_NAME}_emulation): Likewise.
40 * emultempl/pe.em (ld_${EMULATION_NAME}_emulation): Likewise.
41 * emultempl/pep.em (ld_${EMULATION_NAME}_emulation): Likewise.
42 * emultempl/ticoff.em (ld_${EMULATION_NAME}_emulation): Likewise.
43 * emultempl/vanilla.em (ld_${EMULATION_NAME}_emulation): Likewise.
44 * emultempl/elf.em (ld_${EMULATION_NAME}_emulation): Use
45 ldelf_before_place_orphans.
46 * ldelf.c (ldelf_before_place_orphans): New.
47 * ldelf.h (ldelf_before_place_orphans): Likewise.
48 * ldemul.c (ldemul_before_place_orphans): Likewise.
49 (before_place_orphans_default): Likewise.
50 * ldemul.h (ldemul_before_place_orphans): Likewise.
51 (before_place_orphans_default): Likewise.
52 (ld_emulation_xfer_struct): Add before_place_orphans.
53 * ldlang.c (lang_process): Call ldemul_before_place_orphans
54 before lang_place_orphans.
55 * testsuite/ld-elf/pr25022.d: New file.
56 * testsuite/ld-elf/pr25022.s: Likewise.
57 * testsuite/ld-elf/pr25022.t: Likewise.
59 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
62 * testsuite/ld-elf/pr25490-1.d: New file.
63 * testsuite/ld-elf/pr25490-1.s: Likewise.
65 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
70 * testsuite/ld-elf/elf.exp: Run PR ld/25490 tests.
71 * testsuite/ld-elf/pr24526.d: New file.
72 * testsuite/ld-elf/pr24526.s: Likewise.
73 * testsuite/ld-elf/pr25021.d: Likewise.
74 * testsuite/ld-elf/pr25021.s: Likewise.
75 * testsuite/ld-elf/pr25490-2-16.rd: Likewise.
76 * testsuite/ld-elf/pr25490-2-32.rd: Likewise.
77 * testsuite/ld-elf/pr25490-2-64.rd: Likewise.
78 * testsuite/ld-elf/pr25490-2.s: Likewise.
79 * testsuite/ld-elf/pr25490-3-16.rd: Likewise.
80 * testsuite/ld-elf/pr25490-3-32.rd: Likewise.
81 * testsuite/ld-elf/pr25490-3-64.rd: Likewise.
82 * testsuite/ld-elf/pr25490-3.s: Likewise.
83 * testsuite/ld-elf/pr25490-4-16.rd: Likewise.
84 * testsuite/ld-elf/pr25490-4-32.rd: Likewise.
85 * testsuite/ld-elf/pr25490-4-64.rd: Likewise.
86 * testsuite/ld-elf/pr25490-4.s: Likewise.
87 * testsuite/ld-elf/pr25490-5-16.rd: Likewise.
88 * testsuite/ld-elf/pr25490-5-32.rd: Likewise.
89 * testsuite/ld-elf/pr25490-5-64.rd: Likewise.
90 * testsuite/ld-elf/pr25490-5.s: Likewise.
91 * testsuite/ld-elf/pr25490-6-16.rd: Likewise.
92 * testsuite/ld-elf/pr25490-6-32.rd: Likewise.
93 * testsuite/ld-elf/pr25490-6-64.rd: Likewise.
94 * testsuite/ld-elf/pr25490-6.s: Likewise.
96 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
98 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark
101 2020-02-06 Alan Modra <amodra@gmail.com>
103 * testsuite/ld-ifunc/ifunc.exp: Enable for more targets, specifying
104 targets that don't support ifunc rather than ones that do.
105 (contains_irelative_reloc): Match R_PARISC_IPLT.
106 * testsuite/ld-ifunc/lib.c: Don't use .set in asm.
107 * testsuite/ld-ifunc/ifunc-23-x86.s,
108 * testsuite/ld-ifunc/ifunc-24-x86.s,
109 * testsuite/ld-ifunc/ifunc-25-x86.s,
110 * testsuite/ld-ifunc/ifunc-4-local-x86.s,
111 * testsuite/ld-ifunc/ifunc-4-x86.s: Define _main.
112 * testsuite/ld-ifunc/ifunc-10-i386.d,
113 * testsuite/ld-ifunc/ifunc-11-i386.d,
114 * testsuite/ld-ifunc/ifunc-12-i386.d,
115 * testsuite/ld-ifunc/ifunc-13-i386.d,
116 * testsuite/ld-ifunc/ifunc-14a-i386.d,
117 * testsuite/ld-ifunc/ifunc-14b-i386.d,
118 * testsuite/ld-ifunc/ifunc-14c-i386.d,
119 * testsuite/ld-ifunc/ifunc-14d-i386.d,
120 * testsuite/ld-ifunc/ifunc-14e-i386.d,
121 * testsuite/ld-ifunc/ifunc-14f-i386.d,
122 * testsuite/ld-ifunc/ifunc-15-i386.d,
123 * testsuite/ld-ifunc/ifunc-16-i386-now.d,
124 * testsuite/ld-ifunc/ifunc-16-i386.d,
125 * testsuite/ld-ifunc/ifunc-17a-i386.d,
126 * testsuite/ld-ifunc/ifunc-17b-i386.d,
127 * testsuite/ld-ifunc/ifunc-18a-i386.d,
128 * testsuite/ld-ifunc/ifunc-18b-i386.d,
129 * testsuite/ld-ifunc/ifunc-19a-i386.d,
130 * testsuite/ld-ifunc/ifunc-19b-i386.d,
131 * testsuite/ld-ifunc/ifunc-2-i386-now.d,
132 * testsuite/ld-ifunc/ifunc-2-i386.d,
133 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d,
134 * testsuite/ld-ifunc/ifunc-2-local-i386.d,
135 * testsuite/ld-ifunc/ifunc-20-i386.d,
136 * testsuite/ld-ifunc/ifunc-21-i386.d,
137 * testsuite/ld-ifunc/ifunc-22-i386.d,
138 * testsuite/ld-ifunc/ifunc-26.d,
139 * testsuite/ld-ifunc/ifunc-5a-i386.d,
140 * testsuite/ld-ifunc/ifunc-5a-local-i386.d,
141 * testsuite/ld-ifunc/ifunc-5b-i386.d,
142 * testsuite/ld-ifunc/ifunc-5b-local-i386.d,
143 * testsuite/ld-ifunc/ifunc-5r-local-i386.d,
144 * testsuite/ld-ifunc/ifunc-6a-i386.d,
145 * testsuite/ld-ifunc/ifunc-6b-i386.d,
146 * testsuite/ld-ifunc/ifunc-7a-i386.d,
147 * testsuite/ld-ifunc/ifunc-7b-i386.d,
148 * testsuite/ld-ifunc/ifunc-8-i386.d,
149 * testsuite/ld-ifunc/ifunc-9-i386.d,
150 * testsuite/ld-ifunc/pr17154-i386-now.d,
151 * testsuite/ld-ifunc/pr17154-i386.d: xfail lynxos, nto, and solaris.
153 2020-02-06 Alan Modra <amodra@gmail.com>
155 * testsuite/lib/ld-lib.exp (is_generic): Delete.
156 * testsuite/ld-unique/unique.exp: Exclude tic6x.
158 2020-02-06 Alan Modra <amodra@gmail.com>
160 * configure.tgt (i[3-7]86-*-moss*): Don't clear targ_extra_ofiles.
161 (i[3-7]86-*-openbsd*, x86_64-*-openbsd*): Add.
163 2020-02-02 H.J. Lu <hongjiu.lu@intel.com>
166 * testsuite/ld-i386/pr22001-1c.S: Use "unique,N" in .section
168 * testsuite/ld-i386/tls-gd1.S: Likewise.
169 * testsuite/ld-x86-64/pr21481b.S: Likewise.
171 2020-01-30 Jan Beulich <jbeulich@suse.com>
173 * ld.texi: Remove space between @option and brace.
175 2020-01-29 Alan Modra <amodra@gmail.com>
178 * ldelf.c (ldelf_check_ld_so_conf): Add prefix parameter and
180 (ldelf_after_open): Add prefix parameter.
181 * ldelf.h (ldelf_after_open): Update prototype.
182 * emultempl/elf.em (gld${EMULATION_NAME}_after_open): Pass $prefix
184 * Makefile.am: Correct z80 dependencies.
185 * Makefile.in: Regenerate.
187 2020-01-28 Alan Modra <amodra@gmail.com>
189 * ldexp.c (fold_name): Don't print bfd_link_hash_lookup failed
192 2020-01-27 Alan Modra <amodra@gmail.com>
194 * testsuite/ld-elfvers/vers.exp: Replace case statements with
196 * testsuite/ld-ifunc/ifunc.exp: Likewise.
197 * testsuite/ld-unique/unique.exp: Likewise.
199 2020-01-27 H.J. Lu <hongjiu.lu@intel.com>
200 Alan Modra <amodra@gmail.com>
203 * testsuite/ld-elf/pr25458.map: New file.
204 * testsuite/ld-elf/pr25458.rd: Likewise.
205 * testsuite/ld-elf/pr25458a.s: Likewise.
206 * testsuite/ld-elf/pr25458b.s: Likewise.
207 * testsuite/ld-elf/shared.exp: Run PR ld/25458 test.
209 2020-01-22 H.J. Lu <hongjiu.lu@intel.com>
212 * testsuite/ld-x86-64/tls.exp: Skip GNU2 TLS tests only without
215 2020-01-22 Alan Modra <amodra@gmail.com>
217 * testsuite/ld-powerpc/tlsdesc3.d,
218 * testsuite/ld-powerpc/tlsdesc3.wf,
219 * testsuite/ld-powerpc/tlsdesc4.d,
220 * testsuite/ld-powerpc/tlsdesc4.s,
221 * testsuite/ld-powerpc/tlsdesc4.wf: New tests.
222 * testsuite/ld-powerpc/powerpc.exp: Run them.
224 2020-01-22 Alan Modra <amodra@gmail.com>
226 * emultempl/ppc64elf.em (ppc64_opt, PARSE_AND_LIST_LONGOPTS),
227 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Support
228 --tls-get-addr-regsave and --no-tls-get-addr-regsave.
229 (params): Init new field.
230 * ld.texi (--tls-get-addr-regsave, --no-tls-get-addr-regsave):
232 * testsuite/ld-powerpc/tlsdesc.s,
233 * testsuite/ld-powerpc/tlsdesc.d,
234 * testsuite/ld-powerpc/tlsdesc.wf,
235 * testsuite/ld-powerpc/tlsdesc2.d,
236 * testsuite/ld-powerpc/tlsdesc2.wf,
237 * testsuite/ld-powerpc/tlsexenors.d,
238 * testsuite/ld-powerpc/tlsexenors.r,
239 * testsuite/ld-powerpc/tlsexers.d,
240 * testsuite/ld-powerpc/tlsexers.r,
241 * testsuite/ld-powerpc/tlsexetocnors.d,
242 * testsuite/ld-powerpc/tlsexetocrs.d,
243 * testsuite/ld-powerpc/tlsexetocrs.r,
244 * testsuite/ld-powerpc/tlsopt6.d,
245 * testsuite/ld-powerpc/tlsopt6.wf: New.
246 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
248 2020-01-22 Yuri Chornoivan <yurchor@mageia.org>
251 * ldlang.c (ldlang_open_ctf): Fix error message typo.
252 * emultempl/z80elf.em (z80_elf_after_open): Likewise.
254 2020-01-21 H.J. Lu <hongjiu.lu@intel.com>
256 * testsuite/ld-elf/pr23900-1.d: Adjusted.
258 2020-01-21 H.J. Lu <hongjiu.lu@intel.com>
260 * testsuite/ld-elf/pr23900-1.d: Also pass -l to readelf.
262 2020-01-20 Nick Clifton <nickc@redhat.com>
264 * po/pt_BR.po: Updated Brazilian Portuguese translation.
265 * po/uk.po: Updated Ukranian translation.
267 2020-01-20 H.J. Lu <hongjiu.lu@intel.com>
270 * testsuite/ld-x86-64/pr25416-1.s: New file
271 * testsuite/ld-x86-64/pr25416-1a.d: Likewise.
272 * testsuite/ld-x86-64/pr25416-1b.d: Likewise.
273 * testsuite/ld-x86-64/pr25416-1.s: Likewise.
274 * testsuite/ld-x86-64/pr25416-2.s: Likewise.
275 * testsuite/ld-x86-64/pr25416-2a.d: Likewise.
276 * testsuite/ld-x86-64/pr25416-2b.d: Likewise.
277 * testsuite/ld-x86-64/pr25416-3.d: Likewise.
278 * testsuite/ld-x86-64/pr25416-3.s: Likewise.
279 * testsuite/ld-x86-64/pr25416-4.d: Likewise.
280 * testsuite/ld-x86-64/pr25416-4.s: Likewise.
281 * testsuite/ld-x86-64/pr25416-5a.c: Likewise.
282 * testsuite/ld-x86-64/pr25416-5b.s: Likewise.
283 * testsuite/ld-x86-64/pr25416-5c.s: Likewise.
284 * testsuite/ld-x86-64/pr25416-5d.s: Likewise.
285 * testsuite/ld-x86-64/pr25416-5e.s: Likewise.
286 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/25416 tests.
288 2020-01-20 Alan Modra <amodra@gmail.com>
290 * testsuite/ld-powerpc/tlsexe.d: Match new __tls_get_addr stub.
291 * testsuite/ld-powerpc/tlsexeno.d: Likewise.
292 * testsuite/ld-powerpc/tlsexetoc.d: Likewise.
293 * testsuite/ld-powerpc/tlsexetocno.d: Likewise.
294 * testsuite/ld-powerpc/tlsopt5.d: Likewise.
296 2020-01-18 Roland McGrath <mcgrathr@google.com>
298 * testsuite/ld-x86-64/align-branch-1.d: Loosen instruction regexps
299 to admit whatever absolute address. The label-relative address is
300 what the test needs to verify.
302 2020-01-18 Nick Clifton <nickc@redhat.com>
304 * configure: Regenerate.
305 * po/ld.pot: Regenerate.
307 2020-01-18 Nick Clifton <nickc@redhat.com>
309 Binutils 2.34 branch created.
311 2020-01-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
313 * scripttempl/elf32msp430_3.sc: Remove.
315 2020-01-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
317 * scripttempl/elf32msp430.sc: Add input section rules for
318 .upper.{text,data,rodata,bss}.
319 * testsuite/ld-msp430-elf/msp430-elf.exp: Run new test.
320 * testsuite/ld-msp430-elf/upper-input-sections.s: New test.
322 2020-01-15 Lars Brinkhoff <lars@nocrew.org>
325 * temulparams/pdp11.sh (TARGET_PAGE_SIZE): Set to 8192.
327 2020-01-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
329 * testsuite/ld-msp430-elf/msp430-elf.exp: Run new test.
330 * testsuite/ld-msp430-elf/reloc-lo-430x.s: New test.
332 2020-01-15 Alan Modra <amodra@gmail.com>
334 * testsuite/ld-powerpc/ambiguousv1b.d: Adjust expected output.
335 * testsuite/ld-powerpc/funref.s: Align func_tab.
336 * testsuite/ld-powerpc/funref2.s: Likewise.
337 * testsuite/ld-powerpc/funv1.s: Add dot symbols.
339 2020-01-14 Lili Cui <lili.cui@intel.com>
341 * testsuite/ld-i386/align-branch-1.d: Updated for i686-pc-elf.
343 2020-01-13 Alan Modra <amodra@gmail.com>
345 * po/BLD-POTFILES.in: Regenerate.
347 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
349 * testsuite/ld-arc/relax-local-pic.d: Improve matching patterns.
351 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
353 * Makefile.am: Remove earcelf_prof.c and earclinux_prof.c
355 * configure.tgt: Likewise.
356 * Makefile.in: Regenerate.
357 * emulparams/arcelf_prof.sh: Remove file.
358 * emulparams/arclinux_prof.sh: Likewise.
360 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
362 * scripttempl/elfarcv2.sc : Allow interrupt vector table to be
363 located at an arbitrary address. Use DWARF.sc file.
364 * scripttempl/elfarc.sc: Use DWARF.sc file.
366 2020-01-07 Alan Modra <amodra@gmail.com>
368 * testsuite/ld-mips-elf/eh-frame5.s,
369 * testsuite/ld-mips-elf/ehdr_start-new.s,
370 * testsuite/ld-mips-elf/ehdr_start-o32.s,
371 * testsuite/ld-mips-elf/mips16-call-global-1.s,
372 * testsuite/ld-mips-elf/mips16-intermix-1.s,
373 * testsuite/ld-mips-elf/mips16-pic-1b.s,
374 * testsuite/ld-mips-elf/mips16-pic-4c.s,
375 * testsuite/ld-mips-elf/no-shared-1-n64.s,
376 * testsuite/ld-mips-elf/no-shared-1-o32.s,
377 * testsuite/ld-mips-elf/pic-and-nonpic-1b-micromips.s,
378 * testsuite/ld-mips-elf/pic-and-nonpic-1b.s,
379 * testsuite/ld-mips-elf/pic-and-nonpic-2a.s,
380 * testsuite/ld-mips-elf/pic-and-nonpic-3b.s,
381 * testsuite/ld-mips-elf/pic-and-nonpic-4b.s,
382 * testsuite/ld-mips-elf/pic-and-nonpic-5a.s,
383 * testsuite/ld-mips-elf/pic-and-nonpic-6-n32c.s,
384 * testsuite/ld-mips-elf/pic-and-nonpic-6-n64c.s,
385 * testsuite/ld-mips-elf/pic-and-nonpic-6-o32c.s,
386 * testsuite/ld-mips-elf/pie.s,
387 * testsuite/ld-mips-elf/relax-jalr.s: Revert 2019-12-17 change.
389 2020-01-06 Nick Clifton <nickc@redhat.com>
392 * testsuite/ld-elf/shared.exp: Add -fcommon option to compiler
393 command line when building libcomm1.o and pr13250 tests.
394 * testsuite/ld-plugin/lto.exp: Likewise for pr20267 tests.
396 2020-01-06 Nick Clifton <nickc@redhat.com>
399 * testsuite/ld-elf/shared.exp: Add -fcommon option to compiler
400 command line when building pr19579 binaries.
402 2020-01-03 Hannes Domani <ssbssa@yahoo.de>
404 * emultempl/pe.em: Add new option --enable-reloc-section.
405 * emultempl/pep.em: Likewise.
406 * ld.texi: Document --enable-reloc-section.
407 * pe-dll.c (pe_dll_build_sections): Use pe_dll_enable_reloc_section.
408 (pe_dll_fill_sections): Simplify by calling pe_exe_fill_sections.
409 * pe-dll.h: Add extern declaration of option flag.
410 * pep-dll.c (pe_dll_enable_reloc_section):
411 Add alias define for pep_dll_enable_reloc_section.
412 * pep-dll.h: Add extern declaration of option flag.
414 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
416 * Makefile.am: Add new target z80-elf
417 * configure.tgt: Likewise.
418 * Makefile.in: Regenerate.
419 * emultempl/z80.em: Add support for eZ80 and Z180 architectures.
420 * emulparams/elf32z80.sh: New file.
421 * emultempl/z80elf.em: Likewise.
422 * testsuite/ld-elf/comm-data4.s: Fix for Z80.
423 * testsuite/ld-elf/comm-data5.s: Fix for Z80.
424 * testsuite/ld-scripts/fill16.d: Fix for Z80.
425 * testsuite/ld-z80/arch_ez80_adl.d: Likewise.
426 * testsuite/ld-z80/arch_ez80_z80.d: Likewise.
427 * testsuite/ld-z80/arch_r800.d: Likewise.
428 * testsuite/ld-z80/arch_z180.d: Likewise.
429 * testsuite/ld-z80/arch_z80.d: Likewise.
430 * testsuite/ld-z80/comb_arch_ez80_z80.d: Likewise.
431 * testsuite/ld-z80/comb_arch_z180.d: Likewise.
432 * testsuite/ld-z80/labels.s: Likewise.
433 * testsuite/ld-z80/relocs.s: Likewise.
434 * testsuite/ld-z80/relocs_b_ez80.d: Likewise.
435 * testsuite/ld-z80/relocs_b_z80.d: Likewise.
436 * testsuite/ld-z80/relocs_f_z80.d: Likewise.
437 * testsuite/ld-z80/z80.exp: Likewise.
438 * NEWS: Mention the new support.
440 2020-01-02 Tamar Christina <tamar.christina@arm.com>
444 * emultempl/aarch64elf.em (elf${ELFSIZE}_aarch64_add_stub_section):
445 Remove SEC_LINKER_CREATED.
446 * testsuite/ld-aarch64/aarch64-elf.exp: Add erratum835769-843419.
447 * testsuite/ld-aarch64/erratum835769-843419.d: New test.
449 2020-01-01 Alan Modra <amodra@gmail.com>
451 Update year range in copyright notice of all files.
453 For older changes see ChangeLog-2019
455 Copyright (C) 2020 Free Software Foundation, Inc.
457 Copying and distribution of this file, with or without modification,
458 are permitted in any medium without royalty provided the copyright
459 notice and this notice are preserved.
465 version-control: never