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