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