]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - ld/ChangeLog
i386msdos uninitialised read
[thirdparty/binutils-gdb.git] / ld / ChangeLog
1 2020-03-23 Alan Modra <amodra@gmail.com>
2
3 * Makefile.am (ALL_EMULATION_SOURCES): Reinstate ei386aout.c.
4 Include ei386aout dep file.
5 * Makefile.in: Regenerate.
6 * po/BLD-POTFILES.in: Regenerate.
7
8 2020-03-20 H.J. Lu <hongjiu.lu@intel.com>
9
10 * testsuite/ld-plugin/lto.exp (lto_link_tests): Run PR ld/25355
11 test only for GCC 10 or newer.
12
13 2020-03-20 Alan Modra <amodra@gmail.com>
14
15 * testplug.c (parse_symdefstr): Use %hhi to read sym->def, and
16 clear new fields.
17 * testplug2.c (parse_symdefstr): Likewise.
18 * testplug3.c (parse_symdefstr): Likewise.
19 * testplug4.c (parse_symdefstr): Likewise.
20
21 2020-03-18 Christophe Lyon <christophe.lyon@linaro.org>
22
23 * testsuite/ld-arm/non-contiguous-arm4.d: Fix expected output.
24 * testsuite/ld-powerpc/non-contiguous-powerpc.d: Likewise.
25
26 2020-03-18 Christophe Lyon <christophe.lyon@linaro.org>
27
28 * emultempl/xtensaelf.em: Emit a fatal error message
29 instead of calling abort.
30 * ldlang.c: Likewise.
31
32 2020-03-14 Alan Modra <amodra@gmail.com>
33
34 * testsuite/ld-elf/non-contiguous.d: Don't xfail generic ELF
35 targets. Don't skip xtensa, xfail instead.
36
37 2020-03-13 Christophe Lyon <christophe.lyon@linaro.org>
38
39 * ldlang.c (lang_add_section): Add support for
40 non_contiguous_regions.
41 (size_input_section): Likewise.
42 (lang_size_sections_1): Likewise.
43 (process_insert_statements): Likewise.
44 * ldlex.h (option_values): Add OPTION_NON_CONTIGUOUS_REGIONS and
45 OPTION_NON_CONTIGUOUS_REGIONS_WARNINGS.
46 * lexsup.c (ld_options): Add entries for
47 --enable-non-contiguous-regions and
48 --enable-non-contiguous-regions-warnings.
49 (parse_args): Handle it.
50 * NEWS: Add --enable-non-contiguous-regions and
51 --enable-non-contiguous-regions-warnings.
52 * ld.texi: Add --enable-non-contiguous-regions and
53 --enable-non-contiguous-regions-warnings documentation.
54 * emultempl/armelf.em (elf32_arm_add_stub_section): Add
55 SEC_LINKER_CREATED flag.
56 * emultempl/xtensaelf.em (ld_build_required_section_dependence):
57 Emit an error when --enable-non-contiguous-regions is used.
58 * testsuite/ld-elf/non-contiguous.d: New.
59 * testsuite/ld-elf/non-contiguous.ld: New.
60 * testsuite/ld-elf/non-contiguous.s: New.
61 * testsuite/ld-arm/arm-elf.exp: Run the new tests.
62 * testsuite/ld-arm/arm-elf/non-contiguous-arm.s: New.
63 * testsuite/ld-arm/arm-elf/non-contiguous-arm.d: New.
64 * testsuite/ld-arm/arm-elf/non-contiguous-arm.ld: New.
65 * testsuite/ld-arm/arm-elf/non-contiguous-arm2.d: New.
66 * testsuite/ld-arm/arm-elf/non-contiguous-arm3.ld: New.
67 * testsuite/ld-arm/arm-elf/non-contiguous-arm3.d: New.
68 * testsuite/ld-arm/arm-elf/non-contiguous-arm3.ld: New.
69 * testsuite/ld-arm/arm-elf/non-contiguous-arm4.d: New.
70 * testsuite/ld-arm/arm-elf/non-contiguous-arm4.ld: New.
71 * testsuite/ld-arm/arm-elf/non-contiguous-arm5.d: New.
72 * testsuite/ld-arm/arm-elf/non-contiguous-arm5.ld: New.
73 * testsuite/ld-arm/arm-elf/non-contiguous-arm6.d: New.
74 * testsuite/ld-arm/arm-elf/non-contiguous-arm6.ld: New.
75 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
76 * testsuite/ld-powerpc/non-contiguous-powerpc.d: New.
77 * testsuite/ld-powerpc/non-contiguous-powerpc.ld: New.
78 * testsuite/ld-powerpc/non-contiguous-powerpc.sd: New.
79 * testsuite/ld-powerpc/non-contiguous-powerpc64.d: New.
80
81 2020-03-13 H.J. Lu <hongjiu.lu@intel.com>
82
83 PR ld/24920
84 * emulparams/elf32_x86_64.sh: Use static.sh.
85 * emulparams/elf_i386.sh: Likewise.
86 * emulparams/elf_x86_64.sh: Likewise.
87 * emulparams/static.sh: New file.
88 * emultempl/elf-x86.em: Include "ldlex.h".
89 * testsuite/ld-elf/pr24920.err: New file.
90 * testsuite/ld-elf/linux-x86.exp: Run ld/24920 tests.
91
92 2020-03-13 Christian Eggers <ceggers@gmx.de>
93
94 * ldexp.c (fold_name): Return SIZEOF_HEADERS in bytes.
95
96 2020-03-11 Alan Modra <amodra@gmail.com>
97
98 * ldelf.c (elf_orphan_compatible): Return false when two sections
99 have differing SHF_MASKPROC or SHF_MASKOS flags.
100
101 2020-03-05 Alan Modra <amodra@gmail.com>
102
103 PR 25570
104 * ldlang.c (lang_size_sections_1): Don't report changes on
105 second and subsequent iterations that make no change in
106 alignment from that already reported.
107
108 2020-03-05 Alan Modra <amodra@gmail.com>
109
110 PR 25570
111 * ldlang.c (lang_sizing_iteration): New static var.
112 (lang_size_sections_1): Warn about no memory region only on first
113 iteration. Warn about changing start address on first iteration
114 then any delta from that on subsequent iterations. Report a signed
115 delta.
116 (one_lang_size_sections_pass): Increment lang_sizing_iteration.
117
118 2020-03-03 Nick Clifton <nickc@redhat.com>
119
120 PR 25588
121 * ld.texi (Options): Update the description of the --rpath-link
122 option.
123
124 2020-03-02 Alan Modra <amodra@gmail.com>
125
126 * plugin.c (plugin_object_p): Return a bfd_cleanup.
127 (plugin_cleanup): New function.
128
129 2020-03-01 H.J. Lu <hongjiu.lu@intel.com>
130
131 PR ld/25618
132 * plugin.c (plugin_object_p): Copy the no_export field to the IR
133 dummy object.
134 * testsuite/ld-plugin/lto.exp (lto_link_elf_tests): Add
135 PR ld/25618 tests.
136 * testsuite/ld-plugin/pr25618.d: New file.
137 * testsuite/ld-plugin/pr25618a.cc: Likewise.
138 * testsuite/ld-plugin/pr25618a.h: Likewise.
139 * testsuite/ld-plugin/pr25618b.cc: Likewise.
140 * testsuite/ld-plugin/pr25618b.h: Likewise.
141
142 2020-02-27 Alan Modra <amodra@gmail.com>
143
144 PR 24511
145 * testsuite/ld-mmix/b-fixo2.d: Adjust for .data change.
146 * testsuite/ld-mmix/sec-2.d: Likewise.
147 * testsuite/ld-mmix/sec-3.d: Likewise.
148 * testsuite/ld-mmix/sec-4.d: Likewise.
149 * testsuite/ld-mmix/spec802.d: Likewise.
150 * testsuite/ld-mmix/spec803.d: Likewise.
151 * testsuite/ld-mmix/spec804.d: Likewise.
152 * testsuite/ld-mmix/spec805.d: Likewise.
153 * testsuite/ld-mmix/spec806.d: Likewise.
154 * testsuite/ld-mmix/spec807.d: Likewise.
155 * testsuite/ld-mmix/spec808.d: Likewise.
156
157 2020-02-26 H.J. Lu <hongjiu.lu@intel.com>
158
159 PR ld/25593
160 * testsuite/ld-plugin/lto.exp: Run PR ld/25593 tests.
161 * testsuite/ld-plugin/pr25593.d: New file.
162 * testsuite/ld-plugin/pr25593a-1.c: Likewise.
163 * testsuite/ld-plugin/pr25593a-2.c: Likewise.
164 * testsuite/ld-plugin/pr25593b.c: Likewise.
165 * testsuite/ld-plugin/pr25593c.c: Likewise.
166 * testsuite/ld-plugin/pr25593d.c: Likewise.
167 * testsuite/ld-plugin/pr25593e.c: Likewise.
168
169 2020-02-26 Alan Modra <amodra@gmail.com>
170
171 * emultempl/cskyelf.em: Indent labels correctly.
172 * ldfile.c: Likewise.
173 * ldlang.c: Likewise.
174 * plugin.c: Likewise.
175
176 2020-02-26 Alan Modra <amodra@gmail.com>
177
178 PR 25593
179 * ldelf.c (ldelf_try_needed): Add DT_NEEDED lib to input_bfds.
180 (ldelf_after_open): Save state of input_bfds list before loading
181 DT_NEEDED libs. Traverse input_bfds list adding DT_NEEDED tags.
182 Restore input_bfds list.
183 * testsuite/ld-cris/gotplt1.d: Adjust for changed .dynstr order.
184
185 2020-02-24 Nick Clifton <nickc@redhat.com>
186
187 * po/fr.po: Update French translation.
188
189 2020-02-22 Alan Modra <amodra@gmail.com>
190
191 PR 25585
192 * NEWS: Mention better "PHDR segment not covered by LOAD segment"
193 checking.
194
195 2020-02-19 Sergey Belyashov <sergey.belyashov@gmail.com>
196
197 PR 25537
198 * emultempl/z80.em: Remove machine compatability checking.
199
200 2020-02-19 Sergey Belyashov <sergey.belyashov@gmail.com>
201
202 PR 25517
203 * testsuite/ld-z80/arch_ez80_adl.d: Update command line.
204 * testsuite/ld-z80/arch_ez80_z80.d: Likewise.
205 * testsuite/ld-z80/arch_r800.d: Likewise.
206 * testsuite/ld-z80/arch_z180.d: Likewise.
207 * testsuite/ld-z80/arch_z80n.d: Likewise.
208 * testsuite/ld-z80/comb_arch_ez80_z80.d: Likewise.
209 * testsuite/ld-z80/comb_arch_z180_z80.d: Likewise.
210 * testsuite/ld-z80/comb_arch_z80_ez80.d: Likewise.
211 * testsuite/ld-z80/comb_arch_z80_z180.d: Likewise.
212 * testsuite/ld-z80/comb_arch_z80_z80n.d: Likewise.
213 * testsuite/ld-z80/relocs_b_ez80.d: Likewise.
214 * testsuite/ld-z80/relocs_b_z80.d: Likewise.
215 * testsuite/ld-z80/relocs_f_ez80.d: Likewise.
216 * testsuite/ld-z80/relocs_f_z80.d: Likewise.
217 * testsuite/ld-z80/relocs_f_z80n.d: Likewise.
218
219 2020-02-19 Alan Modra <amodra@gmail.com>
220
221 * testsuite/ld-plugin/pr25355.d: Allow alpha-linux nm result.
222
223 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
224
225 PR binutils/25355
226 * testsuite/ld-plugin/lto.exp: Run PR binutils/25355 test.
227 * testsuite/ld-plugin/pr25355.c: New file.
228 * testsuite/ld-plugin/pr25355.d: Likewise.
229 * testsuite/lib/ld-lib.exp (run_cc_link_tests): Support compile
230 only dump.
231
232 2020-02-07 H.J. Lu <hongjiu.lu@intel.com>
233
234 * testsuite/ld-unique/unique.exp (contains_unique_symbol): Updated.
235
236 2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
237
238 PR 25469
239 * emulparams/elf32z80.sh: Use z80 emulation.
240 * emultempl/z80.em: Make generic to both COFF and ELF Z80 emulations.
241 * emultempl/z80elf.em: Delete.
242 * testsuite/ld-elf/pr22450.d: Expect to fail for the Z80.
243 * testsuite/ld-elf/sec64k.exp: Fix Z80 assembly.
244 * testsuite/ld-unique/pr21529.s: Avoid register name conflict.
245 * testsuite/ld-unique/unique.s: Likewise.
246 * testsuite/ld-unique/unique_empty.s: Likewise.
247 * testsuite/ld-unique/unique_shared.s: Likewise.
248 * testsuite/ld-unique/unique.d: Updated expected output.
249 * testsuite/ld-z80/arch_z80n.d: New file.
250 * testsuite/ld-z80/comb_arch_z80_z80n.d: New file.
251 * testsuite/ld-z80/labels.s: Add more labels.
252 * testsuite/ld-z80/relocs.s: Add more reloc tests.
253 * testsuite/ld-z80/relocs_f_z80n.d: New file
254
255 2020-02-07 H.J. Lu <hongjiu.lu@intel.com>
256
257 PR ld/25022
258 * testsuite/ld-elf/pr25022.d: Xfail more targets which don't use
259 ldelf_before_place_orphans.
260
261 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
262
263 PR ld/25022
264 * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Add
265 before_place_orphans_default.
266 * emultempl/armcoff.em (ld_${EMULATION_NAME}_emulation): Likewise.
267 * emultempl/beos.em (ld_${EMULATION_NAME}_emulation): Likewise.
268 * emultempl/generic.em (ld_${EMULATION_NAME}_emulation): Likewise.
269 * emultempl/linux.em (ld_${EMULATION_NAME}_emulation): Likewise.
270 * emultempl/msp430.em (ld_${EMULATION_NAME}_emulation): Likewise.
271 * emultempl/pe.em (ld_${EMULATION_NAME}_emulation): Likewise.
272 * emultempl/pep.em (ld_${EMULATION_NAME}_emulation): Likewise.
273 * emultempl/ticoff.em (ld_${EMULATION_NAME}_emulation): Likewise.
274 * emultempl/vanilla.em (ld_${EMULATION_NAME}_emulation): Likewise.
275 * emultempl/elf.em (ld_${EMULATION_NAME}_emulation): Use
276 ldelf_before_place_orphans.
277 * ldelf.c (ldelf_before_place_orphans): New.
278 * ldelf.h (ldelf_before_place_orphans): Likewise.
279 * ldemul.c (ldemul_before_place_orphans): Likewise.
280 (before_place_orphans_default): Likewise.
281 * ldemul.h (ldemul_before_place_orphans): Likewise.
282 (before_place_orphans_default): Likewise.
283 (ld_emulation_xfer_struct): Add before_place_orphans.
284 * ldlang.c (lang_process): Call ldemul_before_place_orphans
285 before lang_place_orphans.
286 * testsuite/ld-elf/pr25022.d: New file.
287 * testsuite/ld-elf/pr25022.s: Likewise.
288 * testsuite/ld-elf/pr25022.t: Likewise.
289
290 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
291
292 PR ld/25490
293 * testsuite/ld-elf/pr25490-1.d: New file.
294 * testsuite/ld-elf/pr25490-1.s: Likewise.
295
296 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
297
298 PR ld/24526
299 PR ld/25021
300 PR ld/25490
301 * testsuite/ld-elf/elf.exp: Run PR ld/25490 tests.
302 * testsuite/ld-elf/pr24526.d: New file.
303 * testsuite/ld-elf/pr24526.s: Likewise.
304 * testsuite/ld-elf/pr25021.d: Likewise.
305 * testsuite/ld-elf/pr25021.s: Likewise.
306 * testsuite/ld-elf/pr25490-2-16.rd: Likewise.
307 * testsuite/ld-elf/pr25490-2-32.rd: Likewise.
308 * testsuite/ld-elf/pr25490-2-64.rd: Likewise.
309 * testsuite/ld-elf/pr25490-2.s: Likewise.
310 * testsuite/ld-elf/pr25490-3-16.rd: Likewise.
311 * testsuite/ld-elf/pr25490-3-32.rd: Likewise.
312 * testsuite/ld-elf/pr25490-3-64.rd: Likewise.
313 * testsuite/ld-elf/pr25490-3.s: Likewise.
314 * testsuite/ld-elf/pr25490-4-16.rd: Likewise.
315 * testsuite/ld-elf/pr25490-4-32.rd: Likewise.
316 * testsuite/ld-elf/pr25490-4-64.rd: Likewise.
317 * testsuite/ld-elf/pr25490-4.s: Likewise.
318 * testsuite/ld-elf/pr25490-5-16.rd: Likewise.
319 * testsuite/ld-elf/pr25490-5-32.rd: Likewise.
320 * testsuite/ld-elf/pr25490-5-64.rd: Likewise.
321 * testsuite/ld-elf/pr25490-5.s: Likewise.
322 * testsuite/ld-elf/pr25490-6-16.rd: Likewise.
323 * testsuite/ld-elf/pr25490-6-32.rd: Likewise.
324 * testsuite/ld-elf/pr25490-6-64.rd: Likewise.
325 * testsuite/ld-elf/pr25490-6.s: Likewise.
326
327 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
328
329 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark
330 z80 as not supported.
331
332 2020-02-06 Alan Modra <amodra@gmail.com>
333
334 * testsuite/ld-ifunc/ifunc.exp: Enable for more targets, specifying
335 targets that don't support ifunc rather than ones that do.
336 (contains_irelative_reloc): Match R_PARISC_IPLT.
337 * testsuite/ld-ifunc/lib.c: Don't use .set in asm.
338 * testsuite/ld-ifunc/ifunc-23-x86.s,
339 * testsuite/ld-ifunc/ifunc-24-x86.s,
340 * testsuite/ld-ifunc/ifunc-25-x86.s,
341 * testsuite/ld-ifunc/ifunc-4-local-x86.s,
342 * testsuite/ld-ifunc/ifunc-4-x86.s: Define _main.
343 * testsuite/ld-ifunc/ifunc-10-i386.d,
344 * testsuite/ld-ifunc/ifunc-11-i386.d,
345 * testsuite/ld-ifunc/ifunc-12-i386.d,
346 * testsuite/ld-ifunc/ifunc-13-i386.d,
347 * testsuite/ld-ifunc/ifunc-14a-i386.d,
348 * testsuite/ld-ifunc/ifunc-14b-i386.d,
349 * testsuite/ld-ifunc/ifunc-14c-i386.d,
350 * testsuite/ld-ifunc/ifunc-14d-i386.d,
351 * testsuite/ld-ifunc/ifunc-14e-i386.d,
352 * testsuite/ld-ifunc/ifunc-14f-i386.d,
353 * testsuite/ld-ifunc/ifunc-15-i386.d,
354 * testsuite/ld-ifunc/ifunc-16-i386-now.d,
355 * testsuite/ld-ifunc/ifunc-16-i386.d,
356 * testsuite/ld-ifunc/ifunc-17a-i386.d,
357 * testsuite/ld-ifunc/ifunc-17b-i386.d,
358 * testsuite/ld-ifunc/ifunc-18a-i386.d,
359 * testsuite/ld-ifunc/ifunc-18b-i386.d,
360 * testsuite/ld-ifunc/ifunc-19a-i386.d,
361 * testsuite/ld-ifunc/ifunc-19b-i386.d,
362 * testsuite/ld-ifunc/ifunc-2-i386-now.d,
363 * testsuite/ld-ifunc/ifunc-2-i386.d,
364 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d,
365 * testsuite/ld-ifunc/ifunc-2-local-i386.d,
366 * testsuite/ld-ifunc/ifunc-20-i386.d,
367 * testsuite/ld-ifunc/ifunc-21-i386.d,
368 * testsuite/ld-ifunc/ifunc-22-i386.d,
369 * testsuite/ld-ifunc/ifunc-26.d,
370 * testsuite/ld-ifunc/ifunc-5a-i386.d,
371 * testsuite/ld-ifunc/ifunc-5a-local-i386.d,
372 * testsuite/ld-ifunc/ifunc-5b-i386.d,
373 * testsuite/ld-ifunc/ifunc-5b-local-i386.d,
374 * testsuite/ld-ifunc/ifunc-5r-local-i386.d,
375 * testsuite/ld-ifunc/ifunc-6a-i386.d,
376 * testsuite/ld-ifunc/ifunc-6b-i386.d,
377 * testsuite/ld-ifunc/ifunc-7a-i386.d,
378 * testsuite/ld-ifunc/ifunc-7b-i386.d,
379 * testsuite/ld-ifunc/ifunc-8-i386.d,
380 * testsuite/ld-ifunc/ifunc-9-i386.d,
381 * testsuite/ld-ifunc/pr17154-i386-now.d,
382 * testsuite/ld-ifunc/pr17154-i386.d: xfail lynxos, nto, and solaris.
383
384 2020-02-06 Alan Modra <amodra@gmail.com>
385
386 * testsuite/lib/ld-lib.exp (is_generic): Delete.
387 * testsuite/ld-unique/unique.exp: Exclude tic6x.
388
389 2020-02-06 Alan Modra <amodra@gmail.com>
390
391 * configure.tgt (i[3-7]86-*-moss*): Don't clear targ_extra_ofiles.
392 (i[3-7]86-*-openbsd*, x86_64-*-openbsd*): Add.
393
394 2020-02-02 H.J. Lu <hongjiu.lu@intel.com>
395
396 PR gas/25380
397 * testsuite/ld-i386/pr22001-1c.S: Use "unique,N" in .section
398 directives.
399 * testsuite/ld-i386/tls-gd1.S: Likewise.
400 * testsuite/ld-x86-64/pr21481b.S: Likewise.
401
402 2020-01-30 Jan Beulich <jbeulich@suse.com>
403
404 * ld.texi: Remove space between @option and brace.
405
406 2020-01-29 Alan Modra <amodra@gmail.com>
407
408 PR 25477
409 * ldelf.c (ldelf_check_ld_so_conf): Add prefix parameter and
410 correct concat.
411 (ldelf_after_open): Add prefix parameter.
412 * ldelf.h (ldelf_after_open): Update prototype.
413 * emultempl/elf.em (gld${EMULATION_NAME}_after_open): Pass $prefix
414 to ldelf_after_open.
415 * Makefile.am: Correct z80 dependencies.
416 * Makefile.in: Regenerate.
417
418 2020-01-28 Alan Modra <amodra@gmail.com>
419
420 * ldexp.c (fold_name): Don't print bfd_link_hash_lookup failed
421 in first phase.
422
423 2020-01-27 Alan Modra <amodra@gmail.com>
424
425 * testsuite/ld-elfvers/vers.exp: Replace case statements with
426 switch statements.
427 * testsuite/ld-ifunc/ifunc.exp: Likewise.
428 * testsuite/ld-unique/unique.exp: Likewise.
429
430 2020-01-27 H.J. Lu <hongjiu.lu@intel.com>
431 Alan Modra <amodra@gmail.com>
432
433 PR ld/25458
434 * testsuite/ld-elf/pr25458.map: New file.
435 * testsuite/ld-elf/pr25458.rd: Likewise.
436 * testsuite/ld-elf/pr25458a.s: Likewise.
437 * testsuite/ld-elf/pr25458b.s: Likewise.
438 * testsuite/ld-elf/shared.exp: Run PR ld/25458 test.
439
440 2020-01-22 H.J. Lu <hongjiu.lu@intel.com>
441
442 PR ld/25416
443 * testsuite/ld-x86-64/tls.exp: Skip GNU2 TLS tests only without
444 compiler support.
445
446 2020-01-22 Alan Modra <amodra@gmail.com>
447
448 * testsuite/ld-powerpc/tlsdesc3.d,
449 * testsuite/ld-powerpc/tlsdesc3.wf,
450 * testsuite/ld-powerpc/tlsdesc4.d,
451 * testsuite/ld-powerpc/tlsdesc4.s,
452 * testsuite/ld-powerpc/tlsdesc4.wf: New tests.
453 * testsuite/ld-powerpc/powerpc.exp: Run them.
454
455 2020-01-22 Alan Modra <amodra@gmail.com>
456
457 * emultempl/ppc64elf.em (ppc64_opt, PARSE_AND_LIST_LONGOPTS),
458 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Support
459 --tls-get-addr-regsave and --no-tls-get-addr-regsave.
460 (params): Init new field.
461 * ld.texi (--tls-get-addr-regsave, --no-tls-get-addr-regsave):
462 Document.
463 * testsuite/ld-powerpc/tlsdesc.s,
464 * testsuite/ld-powerpc/tlsdesc.d,
465 * testsuite/ld-powerpc/tlsdesc.wf,
466 * testsuite/ld-powerpc/tlsdesc2.d,
467 * testsuite/ld-powerpc/tlsdesc2.wf,
468 * testsuite/ld-powerpc/tlsexenors.d,
469 * testsuite/ld-powerpc/tlsexenors.r,
470 * testsuite/ld-powerpc/tlsexers.d,
471 * testsuite/ld-powerpc/tlsexers.r,
472 * testsuite/ld-powerpc/tlsexetocnors.d,
473 * testsuite/ld-powerpc/tlsexetocrs.d,
474 * testsuite/ld-powerpc/tlsexetocrs.r,
475 * testsuite/ld-powerpc/tlsopt6.d,
476 * testsuite/ld-powerpc/tlsopt6.wf: New.
477 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
478
479 2020-01-22 Yuri Chornoivan <yurchor@mageia.org>
480
481 PR 25417
482 * ldlang.c (ldlang_open_ctf): Fix error message typo.
483 * emultempl/z80elf.em (z80_elf_after_open): Likewise.
484
485 2020-01-21 H.J. Lu <hongjiu.lu@intel.com>
486
487 * testsuite/ld-elf/pr23900-1.d: Adjusted.
488
489 2020-01-21 H.J. Lu <hongjiu.lu@intel.com>
490
491 * testsuite/ld-elf/pr23900-1.d: Also pass -l to readelf.
492
493 2020-01-20 Nick Clifton <nickc@redhat.com>
494
495 * po/pt_BR.po: Updated Brazilian Portuguese translation.
496 * po/uk.po: Updated Ukranian translation.
497
498 2020-01-20 H.J. Lu <hongjiu.lu@intel.com>
499
500 PR ld/25416
501 * testsuite/ld-x86-64/pr25416-1.s: New file
502 * testsuite/ld-x86-64/pr25416-1a.d: Likewise.
503 * testsuite/ld-x86-64/pr25416-1b.d: Likewise.
504 * testsuite/ld-x86-64/pr25416-1.s: Likewise.
505 * testsuite/ld-x86-64/pr25416-2.s: Likewise.
506 * testsuite/ld-x86-64/pr25416-2a.d: Likewise.
507 * testsuite/ld-x86-64/pr25416-2b.d: Likewise.
508 * testsuite/ld-x86-64/pr25416-3.d: Likewise.
509 * testsuite/ld-x86-64/pr25416-3.s: Likewise.
510 * testsuite/ld-x86-64/pr25416-4.d: Likewise.
511 * testsuite/ld-x86-64/pr25416-4.s: Likewise.
512 * testsuite/ld-x86-64/pr25416-5a.c: Likewise.
513 * testsuite/ld-x86-64/pr25416-5b.s: Likewise.
514 * testsuite/ld-x86-64/pr25416-5c.s: Likewise.
515 * testsuite/ld-x86-64/pr25416-5d.s: Likewise.
516 * testsuite/ld-x86-64/pr25416-5e.s: Likewise.
517 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/25416 tests.
518
519 2020-01-20 Alan Modra <amodra@gmail.com>
520
521 * testsuite/ld-powerpc/tlsexe.d: Match new __tls_get_addr stub.
522 * testsuite/ld-powerpc/tlsexeno.d: Likewise.
523 * testsuite/ld-powerpc/tlsexetoc.d: Likewise.
524 * testsuite/ld-powerpc/tlsexetocno.d: Likewise.
525 * testsuite/ld-powerpc/tlsopt5.d: Likewise.
526
527 2020-01-18 Roland McGrath <mcgrathr@google.com>
528
529 * testsuite/ld-x86-64/align-branch-1.d: Loosen instruction regexps
530 to admit whatever absolute address. The label-relative address is
531 what the test needs to verify.
532
533 2020-01-18 Nick Clifton <nickc@redhat.com>
534
535 * configure: Regenerate.
536 * po/ld.pot: Regenerate.
537
538 2020-01-18 Nick Clifton <nickc@redhat.com>
539
540 Binutils 2.34 branch created.
541
542 2020-01-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
543
544 * scripttempl/elf32msp430_3.sc: Remove.
545
546 2020-01-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
547
548 * scripttempl/elf32msp430.sc: Add input section rules for
549 .upper.{text,data,rodata,bss}.
550 * testsuite/ld-msp430-elf/msp430-elf.exp: Run new test.
551 * testsuite/ld-msp430-elf/upper-input-sections.s: New test.
552
553 2020-01-15 Lars Brinkhoff <lars@nocrew.org>
554
555 PR 20694
556 * temulparams/pdp11.sh (TARGET_PAGE_SIZE): Set to 8192.
557
558 2020-01-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
559
560 * testsuite/ld-msp430-elf/msp430-elf.exp: Run new test.
561 * testsuite/ld-msp430-elf/reloc-lo-430x.s: New test.
562
563 2020-01-15 Alan Modra <amodra@gmail.com>
564
565 * testsuite/ld-powerpc/ambiguousv1b.d: Adjust expected output.
566 * testsuite/ld-powerpc/funref.s: Align func_tab.
567 * testsuite/ld-powerpc/funref2.s: Likewise.
568 * testsuite/ld-powerpc/funv1.s: Add dot symbols.
569
570 2020-01-14 Lili Cui <lili.cui@intel.com>
571
572 * testsuite/ld-i386/align-branch-1.d: Updated for i686-pc-elf.
573
574 2020-01-13 Alan Modra <amodra@gmail.com>
575
576 * po/BLD-POTFILES.in: Regenerate.
577
578 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
579
580 * testsuite/ld-arc/relax-local-pic.d: Improve matching patterns.
581
582 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
583
584 * Makefile.am: Remove earcelf_prof.c and earclinux_prof.c
585 emulations.
586 * configure.tgt: Likewise.
587 * Makefile.in: Regenerate.
588 * emulparams/arcelf_prof.sh: Remove file.
589 * emulparams/arclinux_prof.sh: Likewise.
590
591 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
592
593 * scripttempl/elfarcv2.sc : Allow interrupt vector table to be
594 located at an arbitrary address. Use DWARF.sc file.
595 * scripttempl/elfarc.sc: Use DWARF.sc file.
596
597 2020-01-07 Alan Modra <amodra@gmail.com>
598
599 * testsuite/ld-mips-elf/eh-frame5.s,
600 * testsuite/ld-mips-elf/ehdr_start-new.s,
601 * testsuite/ld-mips-elf/ehdr_start-o32.s,
602 * testsuite/ld-mips-elf/mips16-call-global-1.s,
603 * testsuite/ld-mips-elf/mips16-intermix-1.s,
604 * testsuite/ld-mips-elf/mips16-pic-1b.s,
605 * testsuite/ld-mips-elf/mips16-pic-4c.s,
606 * testsuite/ld-mips-elf/no-shared-1-n64.s,
607 * testsuite/ld-mips-elf/no-shared-1-o32.s,
608 * testsuite/ld-mips-elf/pic-and-nonpic-1b-micromips.s,
609 * testsuite/ld-mips-elf/pic-and-nonpic-1b.s,
610 * testsuite/ld-mips-elf/pic-and-nonpic-2a.s,
611 * testsuite/ld-mips-elf/pic-and-nonpic-3b.s,
612 * testsuite/ld-mips-elf/pic-and-nonpic-4b.s,
613 * testsuite/ld-mips-elf/pic-and-nonpic-5a.s,
614 * testsuite/ld-mips-elf/pic-and-nonpic-6-n32c.s,
615 * testsuite/ld-mips-elf/pic-and-nonpic-6-n64c.s,
616 * testsuite/ld-mips-elf/pic-and-nonpic-6-o32c.s,
617 * testsuite/ld-mips-elf/pie.s,
618 * testsuite/ld-mips-elf/relax-jalr.s: Revert 2019-12-17 change.
619
620 2020-01-06 Nick Clifton <nickc@redhat.com>
621
622 PR 25327
623 * testsuite/ld-elf/shared.exp: Add -fcommon option to compiler
624 command line when building libcomm1.o and pr13250 tests.
625 * testsuite/ld-plugin/lto.exp: Likewise for pr20267 tests.
626
627 2020-01-06 Nick Clifton <nickc@redhat.com>
628
629 PR 25326
630 * testsuite/ld-elf/shared.exp: Add -fcommon option to compiler
631 command line when building pr19579 binaries.
632
633 2020-01-03 Hannes Domani <ssbssa@yahoo.de>
634
635 * emultempl/pe.em: Add new option --enable-reloc-section.
636 * emultempl/pep.em: Likewise.
637 * ld.texi: Document --enable-reloc-section.
638 * pe-dll.c (pe_dll_build_sections): Use pe_dll_enable_reloc_section.
639 (pe_dll_fill_sections): Simplify by calling pe_exe_fill_sections.
640 * pe-dll.h: Add extern declaration of option flag.
641 * pep-dll.c (pe_dll_enable_reloc_section):
642 Add alias define for pep_dll_enable_reloc_section.
643 * pep-dll.h: Add extern declaration of option flag.
644
645 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
646
647 * Makefile.am: Add new target z80-elf
648 * configure.tgt: Likewise.
649 * Makefile.in: Regenerate.
650 * emultempl/z80.em: Add support for eZ80 and Z180 architectures.
651 * emulparams/elf32z80.sh: New file.
652 * emultempl/z80elf.em: Likewise.
653 * testsuite/ld-elf/comm-data4.s: Fix for Z80.
654 * testsuite/ld-elf/comm-data5.s: Fix for Z80.
655 * testsuite/ld-scripts/fill16.d: Fix for Z80.
656 * testsuite/ld-z80/arch_ez80_adl.d: Likewise.
657 * testsuite/ld-z80/arch_ez80_z80.d: Likewise.
658 * testsuite/ld-z80/arch_r800.d: Likewise.
659 * testsuite/ld-z80/arch_z180.d: Likewise.
660 * testsuite/ld-z80/arch_z80.d: Likewise.
661 * testsuite/ld-z80/comb_arch_ez80_z80.d: Likewise.
662 * testsuite/ld-z80/comb_arch_z180.d: Likewise.
663 * testsuite/ld-z80/labels.s: Likewise.
664 * testsuite/ld-z80/relocs.s: Likewise.
665 * testsuite/ld-z80/relocs_b_ez80.d: Likewise.
666 * testsuite/ld-z80/relocs_b_z80.d: Likewise.
667 * testsuite/ld-z80/relocs_f_z80.d: Likewise.
668 * testsuite/ld-z80/z80.exp: Likewise.
669 * NEWS: Mention the new support.
670
671 2020-01-02 Tamar Christina <tamar.christina@arm.com>
672
673 PR 25210
674 PR 24753
675 * emultempl/aarch64elf.em (elf${ELFSIZE}_aarch64_add_stub_section):
676 Remove SEC_LINKER_CREATED.
677 * testsuite/ld-aarch64/aarch64-elf.exp: Add erratum835769-843419.
678 * testsuite/ld-aarch64/erratum835769-843419.d: New test.
679
680 2020-01-01 Alan Modra <amodra@gmail.com>
681
682 Update year range in copyright notice of all files.
683
684 For older changes see ChangeLog-2019
685 \f
686 Copyright (C) 2020 Free Software Foundation, Inc.
687
688 Copying and distribution of this file, with or without modification,
689 are permitted in any medium without royalty provided the copyright
690 notice and this notice are preserved.
691
692 Local Variables:
693 mode: change-log
694 left-margin: 8
695 fill-column: 74
696 version-control: never
697 End: