b03c0fbbc1f14b394aa90f110ca2edca092b7824
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2020-02-07 H.J. Lu <hongjiu.lu@intel.com>
2
3 PR ld/25022
4 * testsuite/ld-elf/pr25022.d: Xfail more targets which don't use
5 ldelf_before_place_orphans.
6
7 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
8
9 PR ld/25022
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.
35
36 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
37
38 PR ld/25490
39 * testsuite/ld-elf/pr25490-1.d: New file.
40 * testsuite/ld-elf/pr25490-1.s: Likewise.
41
42 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
43
44 PR ld/24526
45 PR ld/25021
46 PR ld/25490
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.
72
73 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
74
75 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark
76 z80 as not supported.
77
78 2020-02-06 Alan Modra <amodra@gmail.com>
79
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.
129
130 2020-02-06 Alan Modra <amodra@gmail.com>
131
132 * testsuite/lib/ld-lib.exp (is_generic): Delete.
133 * testsuite/ld-unique/unique.exp: Exclude tic6x.
134
135 2020-02-06 Alan Modra <amodra@gmail.com>
136
137 * configure.tgt (i[3-7]86-*-moss*): Don't clear targ_extra_ofiles.
138 (i[3-7]86-*-openbsd*, x86_64-*-openbsd*): Add.
139
140 2020-02-02 H.J. Lu <hongjiu.lu@intel.com>
141
142 PR gas/25380
143 * testsuite/ld-i386/pr22001-1c.S: Use "unique,N" in .section
144 directives.
145 * testsuite/ld-i386/tls-gd1.S: Likewise.
146 * testsuite/ld-x86-64/pr21481b.S: Likewise.
147
148 2020-01-30 Jan Beulich <jbeulich@suse.com>
149
150 * ld.texi: Remove space between @option and brace.
151
152 2020-01-29 Alan Modra <amodra@gmail.com>
153
154 PR 25477
155 * ldelf.c (ldelf_check_ld_so_conf): Add prefix parameter and
156 correct concat.
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
160 to ldelf_after_open.
161 * Makefile.am: Correct z80 dependencies.
162 * Makefile.in: Regenerate.
163
164 2020-01-28 Alan Modra <amodra@gmail.com>
165
166 * ldexp.c (fold_name): Don't print bfd_link_hash_lookup failed
167 in first phase.
168
169 2020-01-27 Alan Modra <amodra@gmail.com>
170
171 * testsuite/ld-elfvers/vers.exp: Replace case statements with
172 switch statements.
173 * testsuite/ld-ifunc/ifunc.exp: Likewise.
174 * testsuite/ld-unique/unique.exp: Likewise.
175
176 2020-01-27 H.J. Lu <hongjiu.lu@intel.com>
177 Alan Modra <amodra@gmail.com>
178
179 PR ld/25458
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.
185
186 2020-01-22 H.J. Lu <hongjiu.lu@intel.com>
187
188 PR ld/25416
189 * testsuite/ld-x86-64/tls.exp: Skip GNU2 TLS tests only without
190 compiler support.
191
192 2020-01-22 Alan Modra <amodra@gmail.com>
193
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.
200
201 2020-01-22 Alan Modra <amodra@gmail.com>
202
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):
208 Document.
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.
224
225 2020-01-22 Yuri Chornoivan <yurchor@mageia.org>
226
227 PR 25417
228 * ldlang.c (ldlang_open_ctf): Fix error message typo.
229 * emultempl/z80elf.em (z80_elf_after_open): Likewise.
230
231 2020-01-21 H.J. Lu <hongjiu.lu@intel.com>
232
233 * testsuite/ld-elf/pr23900-1.d: Adjusted.
234
235 2020-01-21 H.J. Lu <hongjiu.lu@intel.com>
236
237 * testsuite/ld-elf/pr23900-1.d: Also pass -l to readelf.
238
239 2020-01-20 Nick Clifton <nickc@redhat.com>
240
241 * po/pt_BR.po: Updated Brazilian Portuguese translation.
242 * po/uk.po: Updated Ukranian translation.
243
244 2020-01-20 H.J. Lu <hongjiu.lu@intel.com>
245
246 PR ld/25416
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.
264
265 2020-01-20 Alan Modra <amodra@gmail.com>
266
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.
272
273 2020-01-18 Roland McGrath <mcgrathr@google.com>
274
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.
278
279 2020-01-18 Nick Clifton <nickc@redhat.com>
280
281 * configure: Regenerate.
282 * po/ld.pot: Regenerate.
283
284 2020-01-18 Nick Clifton <nickc@redhat.com>
285
286 Binutils 2.34 branch created.
287
288 2020-01-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
289
290 * scripttempl/elf32msp430_3.sc: Remove.
291
292 2020-01-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
293
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.
298
299 2020-01-15 Lars Brinkhoff <lars@nocrew.org>
300
301 PR 20694
302 * temulparams/pdp11.sh (TARGET_PAGE_SIZE): Set to 8192.
303
304 2020-01-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
305
306 * testsuite/ld-msp430-elf/msp430-elf.exp: Run new test.
307 * testsuite/ld-msp430-elf/reloc-lo-430x.s: New test.
308
309 2020-01-15 Alan Modra <amodra@gmail.com>
310
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.
315
316 2020-01-14 Lili Cui <lili.cui@intel.com>
317
318 * testsuite/ld-i386/align-branch-1.d: Updated for i686-pc-elf.
319
320 2020-01-13 Alan Modra <amodra@gmail.com>
321
322 * po/BLD-POTFILES.in: Regenerate.
323
324 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
325
326 * testsuite/ld-arc/relax-local-pic.d: Improve matching patterns.
327
328 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
329
330 * Makefile.am: Remove earcelf_prof.c and earclinux_prof.c
331 emulations.
332 * configure.tgt: Likewise.
333 * Makefile.in: Regenerate.
334 * emulparams/arcelf_prof.sh: Remove file.
335 * emulparams/arclinux_prof.sh: Likewise.
336
337 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
338
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.
342
343 2020-01-07 Alan Modra <amodra@gmail.com>
344
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.
365
366 2020-01-06 Nick Clifton <nickc@redhat.com>
367
368 PR 25327
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.
372
373 2020-01-06 Nick Clifton <nickc@redhat.com>
374
375 PR 25326
376 * testsuite/ld-elf/shared.exp: Add -fcommon option to compiler
377 command line when building pr19579 binaries.
378
379 2020-01-03 Hannes Domani <ssbssa@yahoo.de>
380
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.
390
391 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
392
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.
416
417 2020-01-02 Tamar Christina <tamar.christina@arm.com>
418
419 PR 25210
420 PR 24753
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.
425
426 2020-01-01 Alan Modra <amodra@gmail.com>
427
428 Update year range in copyright notice of all files.
429
430 For older changes see ChangeLog-2019
431 \f
432 Copyright (C) 2020 Free Software Foundation, Inc.
433
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.
437
438 Local Variables:
439 mode: change-log
440 left-margin: 8
441 fill-column: 74
442 version-control: never
443 End:
This page took 0.038871 seconds and 4 git commands to generate.