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