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