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