1 2020-02-07 H.J. Lu <hongjiu.lu@intel.com>
4 * testsuite/ld-elf/pr25022.d: Xfail more targets which don't use
5 ldelf_before_place_orphans.
7 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
10 * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Add
11 before_place_orphans_default.
12 * emultempl/armcoff.em (ld_${EMULATION_NAME}_emulation): Likewise.
13 * emultempl/beos.em (ld_${EMULATION_NAME}_emulation): Likewise.
14 * emultempl/generic.em (ld_${EMULATION_NAME}_emulation): Likewise.
15 * emultempl/linux.em (ld_${EMULATION_NAME}_emulation): Likewise.
16 * emultempl/msp430.em (ld_${EMULATION_NAME}_emulation): Likewise.
17 * emultempl/pe.em (ld_${EMULATION_NAME}_emulation): Likewise.
18 * emultempl/pep.em (ld_${EMULATION_NAME}_emulation): Likewise.
19 * emultempl/ticoff.em (ld_${EMULATION_NAME}_emulation): Likewise.
20 * emultempl/vanilla.em (ld_${EMULATION_NAME}_emulation): Likewise.
21 * emultempl/elf.em (ld_${EMULATION_NAME}_emulation): Use
22 ldelf_before_place_orphans.
23 * ldelf.c (ldelf_before_place_orphans): New.
24 * ldelf.h (ldelf_before_place_orphans): Likewise.
25 * ldemul.c (ldemul_before_place_orphans): Likewise.
26 (before_place_orphans_default): Likewise.
27 * ldemul.h (ldemul_before_place_orphans): Likewise.
28 (before_place_orphans_default): Likewise.
29 (ld_emulation_xfer_struct): Add before_place_orphans.
30 * ldlang.c (lang_process): Call ldemul_before_place_orphans
31 before lang_place_orphans.
32 * testsuite/ld-elf/pr25022.d: New file.
33 * testsuite/ld-elf/pr25022.s: Likewise.
34 * testsuite/ld-elf/pr25022.t: Likewise.
36 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
39 * testsuite/ld-elf/pr25490-1.d: New file.
40 * testsuite/ld-elf/pr25490-1.s: Likewise.
42 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
47 * testsuite/ld-elf/elf.exp: Run PR ld/25490 tests.
48 * testsuite/ld-elf/pr24526.d: New file.
49 * testsuite/ld-elf/pr24526.s: Likewise.
50 * testsuite/ld-elf/pr25021.d: Likewise.
51 * testsuite/ld-elf/pr25021.s: Likewise.
52 * testsuite/ld-elf/pr25490-2-16.rd: Likewise.
53 * testsuite/ld-elf/pr25490-2-32.rd: Likewise.
54 * testsuite/ld-elf/pr25490-2-64.rd: Likewise.
55 * testsuite/ld-elf/pr25490-2.s: Likewise.
56 * testsuite/ld-elf/pr25490-3-16.rd: Likewise.
57 * testsuite/ld-elf/pr25490-3-32.rd: Likewise.
58 * testsuite/ld-elf/pr25490-3-64.rd: Likewise.
59 * testsuite/ld-elf/pr25490-3.s: Likewise.
60 * testsuite/ld-elf/pr25490-4-16.rd: Likewise.
61 * testsuite/ld-elf/pr25490-4-32.rd: Likewise.
62 * testsuite/ld-elf/pr25490-4-64.rd: Likewise.
63 * testsuite/ld-elf/pr25490-4.s: Likewise.
64 * testsuite/ld-elf/pr25490-5-16.rd: Likewise.
65 * testsuite/ld-elf/pr25490-5-32.rd: Likewise.
66 * testsuite/ld-elf/pr25490-5-64.rd: Likewise.
67 * testsuite/ld-elf/pr25490-5.s: Likewise.
68 * testsuite/ld-elf/pr25490-6-16.rd: Likewise.
69 * testsuite/ld-elf/pr25490-6-32.rd: Likewise.
70 * testsuite/ld-elf/pr25490-6-64.rd: Likewise.
71 * testsuite/ld-elf/pr25490-6.s: Likewise.
73 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
75 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark
78 2020-02-06 Alan Modra <amodra@gmail.com>
80 * testsuite/ld-ifunc/ifunc.exp: Enable for more targets, specifying
81 targets that don't support ifunc rather than ones that do.
82 (contains_irelative_reloc): Match R_PARISC_IPLT.
83 * testsuite/ld-ifunc/lib.c: Don't use .set in asm.
84 * testsuite/ld-ifunc/ifunc-23-x86.s,
85 * testsuite/ld-ifunc/ifunc-24-x86.s,
86 * testsuite/ld-ifunc/ifunc-25-x86.s,
87 * testsuite/ld-ifunc/ifunc-4-local-x86.s,
88 * testsuite/ld-ifunc/ifunc-4-x86.s: Define _main.
89 * testsuite/ld-ifunc/ifunc-10-i386.d,
90 * testsuite/ld-ifunc/ifunc-11-i386.d,
91 * testsuite/ld-ifunc/ifunc-12-i386.d,
92 * testsuite/ld-ifunc/ifunc-13-i386.d,
93 * testsuite/ld-ifunc/ifunc-14a-i386.d,
94 * testsuite/ld-ifunc/ifunc-14b-i386.d,
95 * testsuite/ld-ifunc/ifunc-14c-i386.d,
96 * testsuite/ld-ifunc/ifunc-14d-i386.d,
97 * testsuite/ld-ifunc/ifunc-14e-i386.d,
98 * testsuite/ld-ifunc/ifunc-14f-i386.d,
99 * testsuite/ld-ifunc/ifunc-15-i386.d,
100 * testsuite/ld-ifunc/ifunc-16-i386-now.d,
101 * testsuite/ld-ifunc/ifunc-16-i386.d,
102 * testsuite/ld-ifunc/ifunc-17a-i386.d,
103 * testsuite/ld-ifunc/ifunc-17b-i386.d,
104 * testsuite/ld-ifunc/ifunc-18a-i386.d,
105 * testsuite/ld-ifunc/ifunc-18b-i386.d,
106 * testsuite/ld-ifunc/ifunc-19a-i386.d,
107 * testsuite/ld-ifunc/ifunc-19b-i386.d,
108 * testsuite/ld-ifunc/ifunc-2-i386-now.d,
109 * testsuite/ld-ifunc/ifunc-2-i386.d,
110 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d,
111 * testsuite/ld-ifunc/ifunc-2-local-i386.d,
112 * testsuite/ld-ifunc/ifunc-20-i386.d,
113 * testsuite/ld-ifunc/ifunc-21-i386.d,
114 * testsuite/ld-ifunc/ifunc-22-i386.d,
115 * testsuite/ld-ifunc/ifunc-26.d,
116 * testsuite/ld-ifunc/ifunc-5a-i386.d,
117 * testsuite/ld-ifunc/ifunc-5a-local-i386.d,
118 * testsuite/ld-ifunc/ifunc-5b-i386.d,
119 * testsuite/ld-ifunc/ifunc-5b-local-i386.d,
120 * testsuite/ld-ifunc/ifunc-5r-local-i386.d,
121 * testsuite/ld-ifunc/ifunc-6a-i386.d,
122 * testsuite/ld-ifunc/ifunc-6b-i386.d,
123 * testsuite/ld-ifunc/ifunc-7a-i386.d,
124 * testsuite/ld-ifunc/ifunc-7b-i386.d,
125 * testsuite/ld-ifunc/ifunc-8-i386.d,
126 * testsuite/ld-ifunc/ifunc-9-i386.d,
127 * testsuite/ld-ifunc/pr17154-i386-now.d,
128 * testsuite/ld-ifunc/pr17154-i386.d: xfail lynxos, nto, and solaris.
130 2020-02-06 Alan Modra <amodra@gmail.com>
132 * testsuite/lib/ld-lib.exp (is_generic): Delete.
133 * testsuite/ld-unique/unique.exp: Exclude tic6x.
135 2020-02-06 Alan Modra <amodra@gmail.com>
137 * configure.tgt (i[3-7]86-*-moss*): Don't clear targ_extra_ofiles.
138 (i[3-7]86-*-openbsd*, x86_64-*-openbsd*): Add.
140 2020-02-02 H.J. Lu <hongjiu.lu@intel.com>
143 * testsuite/ld-i386/pr22001-1c.S: Use "unique,N" in .section
145 * testsuite/ld-i386/tls-gd1.S: Likewise.
146 * testsuite/ld-x86-64/pr21481b.S: Likewise.
148 2020-01-30 Jan Beulich <jbeulich@suse.com>
150 * ld.texi: Remove space between @option and brace.
152 2020-01-29 Alan Modra <amodra@gmail.com>
155 * ldelf.c (ldelf_check_ld_so_conf): Add prefix parameter and
157 (ldelf_after_open): Add prefix parameter.
158 * ldelf.h (ldelf_after_open): Update prototype.
159 * emultempl/elf.em (gld${EMULATION_NAME}_after_open): Pass $prefix
161 * Makefile.am: Correct z80 dependencies.
162 * Makefile.in: Regenerate.
164 2020-01-28 Alan Modra <amodra@gmail.com>
166 * ldexp.c (fold_name): Don't print bfd_link_hash_lookup failed
169 2020-01-27 Alan Modra <amodra@gmail.com>
171 * testsuite/ld-elfvers/vers.exp: Replace case statements with
173 * testsuite/ld-ifunc/ifunc.exp: Likewise.
174 * testsuite/ld-unique/unique.exp: Likewise.
176 2020-01-27 H.J. Lu <hongjiu.lu@intel.com>
177 Alan Modra <amodra@gmail.com>
180 * testsuite/ld-elf/pr25458.map: New file.
181 * testsuite/ld-elf/pr25458.rd: Likewise.
182 * testsuite/ld-elf/pr25458a.s: Likewise.
183 * testsuite/ld-elf/pr25458b.s: Likewise.
184 * testsuite/ld-elf/shared.exp: Run PR ld/25458 test.
186 2020-01-22 H.J. Lu <hongjiu.lu@intel.com>
189 * testsuite/ld-x86-64/tls.exp: Skip GNU2 TLS tests only without
192 2020-01-22 Alan Modra <amodra@gmail.com>
194 * testsuite/ld-powerpc/tlsdesc3.d,
195 * testsuite/ld-powerpc/tlsdesc3.wf,
196 * testsuite/ld-powerpc/tlsdesc4.d,
197 * testsuite/ld-powerpc/tlsdesc4.s,
198 * testsuite/ld-powerpc/tlsdesc4.wf: New tests.
199 * testsuite/ld-powerpc/powerpc.exp: Run them.
201 2020-01-22 Alan Modra <amodra@gmail.com>
203 * emultempl/ppc64elf.em (ppc64_opt, PARSE_AND_LIST_LONGOPTS),
204 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Support
205 --tls-get-addr-regsave and --no-tls-get-addr-regsave.
206 (params): Init new field.
207 * ld.texi (--tls-get-addr-regsave, --no-tls-get-addr-regsave):
209 * testsuite/ld-powerpc/tlsdesc.s,
210 * testsuite/ld-powerpc/tlsdesc.d,
211 * testsuite/ld-powerpc/tlsdesc.wf,
212 * testsuite/ld-powerpc/tlsdesc2.d,
213 * testsuite/ld-powerpc/tlsdesc2.wf,
214 * testsuite/ld-powerpc/tlsexenors.d,
215 * testsuite/ld-powerpc/tlsexenors.r,
216 * testsuite/ld-powerpc/tlsexers.d,
217 * testsuite/ld-powerpc/tlsexers.r,
218 * testsuite/ld-powerpc/tlsexetocnors.d,
219 * testsuite/ld-powerpc/tlsexetocrs.d,
220 * testsuite/ld-powerpc/tlsexetocrs.r,
221 * testsuite/ld-powerpc/tlsopt6.d,
222 * testsuite/ld-powerpc/tlsopt6.wf: New.
223 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
225 2020-01-22 Yuri Chornoivan <yurchor@mageia.org>
228 * ldlang.c (ldlang_open_ctf): Fix error message typo.
229 * emultempl/z80elf.em (z80_elf_after_open): Likewise.
231 2020-01-21 H.J. Lu <hongjiu.lu@intel.com>
233 * testsuite/ld-elf/pr23900-1.d: Adjusted.
235 2020-01-21 H.J. Lu <hongjiu.lu@intel.com>
237 * testsuite/ld-elf/pr23900-1.d: Also pass -l to readelf.
239 2020-01-20 Nick Clifton <nickc@redhat.com>
241 * po/pt_BR.po: Updated Brazilian Portuguese translation.
242 * po/uk.po: Updated Ukranian translation.
244 2020-01-20 H.J. Lu <hongjiu.lu@intel.com>
247 * testsuite/ld-x86-64/pr25416-1.s: New file
248 * testsuite/ld-x86-64/pr25416-1a.d: Likewise.
249 * testsuite/ld-x86-64/pr25416-1b.d: Likewise.
250 * testsuite/ld-x86-64/pr25416-1.s: Likewise.
251 * testsuite/ld-x86-64/pr25416-2.s: Likewise.
252 * testsuite/ld-x86-64/pr25416-2a.d: Likewise.
253 * testsuite/ld-x86-64/pr25416-2b.d: Likewise.
254 * testsuite/ld-x86-64/pr25416-3.d: Likewise.
255 * testsuite/ld-x86-64/pr25416-3.s: Likewise.
256 * testsuite/ld-x86-64/pr25416-4.d: Likewise.
257 * testsuite/ld-x86-64/pr25416-4.s: Likewise.
258 * testsuite/ld-x86-64/pr25416-5a.c: Likewise.
259 * testsuite/ld-x86-64/pr25416-5b.s: Likewise.
260 * testsuite/ld-x86-64/pr25416-5c.s: Likewise.
261 * testsuite/ld-x86-64/pr25416-5d.s: Likewise.
262 * testsuite/ld-x86-64/pr25416-5e.s: Likewise.
263 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/25416 tests.
265 2020-01-20 Alan Modra <amodra@gmail.com>
267 * testsuite/ld-powerpc/tlsexe.d: Match new __tls_get_addr stub.
268 * testsuite/ld-powerpc/tlsexeno.d: Likewise.
269 * testsuite/ld-powerpc/tlsexetoc.d: Likewise.
270 * testsuite/ld-powerpc/tlsexetocno.d: Likewise.
271 * testsuite/ld-powerpc/tlsopt5.d: Likewise.
273 2020-01-18 Roland McGrath <mcgrathr@google.com>
275 * testsuite/ld-x86-64/align-branch-1.d: Loosen instruction regexps
276 to admit whatever absolute address. The label-relative address is
277 what the test needs to verify.
279 2020-01-18 Nick Clifton <nickc@redhat.com>
281 * configure: Regenerate.
282 * po/ld.pot: Regenerate.
284 2020-01-18 Nick Clifton <nickc@redhat.com>
286 Binutils 2.34 branch created.
288 2020-01-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
290 * scripttempl/elf32msp430_3.sc: Remove.
292 2020-01-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
294 * scripttempl/elf32msp430.sc: Add input section rules for
295 .upper.{text,data,rodata,bss}.
296 * testsuite/ld-msp430-elf/msp430-elf.exp: Run new test.
297 * testsuite/ld-msp430-elf/upper-input-sections.s: New test.
299 2020-01-15 Lars Brinkhoff <lars@nocrew.org>
302 * temulparams/pdp11.sh (TARGET_PAGE_SIZE): Set to 8192.
304 2020-01-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
306 * testsuite/ld-msp430-elf/msp430-elf.exp: Run new test.
307 * testsuite/ld-msp430-elf/reloc-lo-430x.s: New test.
309 2020-01-15 Alan Modra <amodra@gmail.com>
311 * testsuite/ld-powerpc/ambiguousv1b.d: Adjust expected output.
312 * testsuite/ld-powerpc/funref.s: Align func_tab.
313 * testsuite/ld-powerpc/funref2.s: Likewise.
314 * testsuite/ld-powerpc/funv1.s: Add dot symbols.
316 2020-01-14 Lili Cui <lili.cui@intel.com>
318 * testsuite/ld-i386/align-branch-1.d: Updated for i686-pc-elf.
320 2020-01-13 Alan Modra <amodra@gmail.com>
322 * po/BLD-POTFILES.in: Regenerate.
324 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
326 * testsuite/ld-arc/relax-local-pic.d: Improve matching patterns.
328 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
330 * Makefile.am: Remove earcelf_prof.c and earclinux_prof.c
332 * configure.tgt: Likewise.
333 * Makefile.in: Regenerate.
334 * emulparams/arcelf_prof.sh: Remove file.
335 * emulparams/arclinux_prof.sh: Likewise.
337 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
339 * scripttempl/elfarcv2.sc : Allow interrupt vector table to be
340 located at an arbitrary address. Use DWARF.sc file.
341 * scripttempl/elfarc.sc: Use DWARF.sc file.
343 2020-01-07 Alan Modra <amodra@gmail.com>
345 * testsuite/ld-mips-elf/eh-frame5.s,
346 * testsuite/ld-mips-elf/ehdr_start-new.s,
347 * testsuite/ld-mips-elf/ehdr_start-o32.s,
348 * testsuite/ld-mips-elf/mips16-call-global-1.s,
349 * testsuite/ld-mips-elf/mips16-intermix-1.s,
350 * testsuite/ld-mips-elf/mips16-pic-1b.s,
351 * testsuite/ld-mips-elf/mips16-pic-4c.s,
352 * testsuite/ld-mips-elf/no-shared-1-n64.s,
353 * testsuite/ld-mips-elf/no-shared-1-o32.s,
354 * testsuite/ld-mips-elf/pic-and-nonpic-1b-micromips.s,
355 * testsuite/ld-mips-elf/pic-and-nonpic-1b.s,
356 * testsuite/ld-mips-elf/pic-and-nonpic-2a.s,
357 * testsuite/ld-mips-elf/pic-and-nonpic-3b.s,
358 * testsuite/ld-mips-elf/pic-and-nonpic-4b.s,
359 * testsuite/ld-mips-elf/pic-and-nonpic-5a.s,
360 * testsuite/ld-mips-elf/pic-and-nonpic-6-n32c.s,
361 * testsuite/ld-mips-elf/pic-and-nonpic-6-n64c.s,
362 * testsuite/ld-mips-elf/pic-and-nonpic-6-o32c.s,
363 * testsuite/ld-mips-elf/pie.s,
364 * testsuite/ld-mips-elf/relax-jalr.s: Revert 2019-12-17 change.
366 2020-01-06 Nick Clifton <nickc@redhat.com>
369 * testsuite/ld-elf/shared.exp: Add -fcommon option to compiler
370 command line when building libcomm1.o and pr13250 tests.
371 * testsuite/ld-plugin/lto.exp: Likewise for pr20267 tests.
373 2020-01-06 Nick Clifton <nickc@redhat.com>
376 * testsuite/ld-elf/shared.exp: Add -fcommon option to compiler
377 command line when building pr19579 binaries.
379 2020-01-03 Hannes Domani <ssbssa@yahoo.de>
381 * emultempl/pe.em: Add new option --enable-reloc-section.
382 * emultempl/pep.em: Likewise.
383 * ld.texi: Document --enable-reloc-section.
384 * pe-dll.c (pe_dll_build_sections): Use pe_dll_enable_reloc_section.
385 (pe_dll_fill_sections): Simplify by calling pe_exe_fill_sections.
386 * pe-dll.h: Add extern declaration of option flag.
387 * pep-dll.c (pe_dll_enable_reloc_section):
388 Add alias define for pep_dll_enable_reloc_section.
389 * pep-dll.h: Add extern declaration of option flag.
391 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
393 * Makefile.am: Add new target z80-elf
394 * configure.tgt: Likewise.
395 * Makefile.in: Regenerate.
396 * emultempl/z80.em: Add support for eZ80 and Z180 architectures.
397 * emulparams/elf32z80.sh: New file.
398 * emultempl/z80elf.em: Likewise.
399 * testsuite/ld-elf/comm-data4.s: Fix for Z80.
400 * testsuite/ld-elf/comm-data5.s: Fix for Z80.
401 * testsuite/ld-scripts/fill16.d: Fix for Z80.
402 * testsuite/ld-z80/arch_ez80_adl.d: Likewise.
403 * testsuite/ld-z80/arch_ez80_z80.d: Likewise.
404 * testsuite/ld-z80/arch_r800.d: Likewise.
405 * testsuite/ld-z80/arch_z180.d: Likewise.
406 * testsuite/ld-z80/arch_z80.d: Likewise.
407 * testsuite/ld-z80/comb_arch_ez80_z80.d: Likewise.
408 * testsuite/ld-z80/comb_arch_z180.d: Likewise.
409 * testsuite/ld-z80/labels.s: Likewise.
410 * testsuite/ld-z80/relocs.s: Likewise.
411 * testsuite/ld-z80/relocs_b_ez80.d: Likewise.
412 * testsuite/ld-z80/relocs_b_z80.d: Likewise.
413 * testsuite/ld-z80/relocs_f_z80.d: Likewise.
414 * testsuite/ld-z80/z80.exp: Likewise.
415 * NEWS: Mention the new support.
417 2020-01-02 Tamar Christina <tamar.christina@arm.com>
421 * emultempl/aarch64elf.em (elf${ELFSIZE}_aarch64_add_stub_section):
422 Remove SEC_LINKER_CREATED.
423 * testsuite/ld-aarch64/aarch64-elf.exp: Add erratum835769-843419.
424 * testsuite/ld-aarch64/erratum835769-843419.d: New test.
426 2020-01-01 Alan Modra <amodra@gmail.com>
428 Update year range in copyright notice of all files.
430 For older changes see ChangeLog-2019
432 Copyright (C) 2020 Free Software Foundation, Inc.
434 Copying and distribution of this file, with or without modification,
435 are permitted in any medium without royalty provided the copyright
436 notice and this notice are preserved.
442 version-control: never