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