1 2020-03-23 Alan Modra <amodra@gmail.com>
3 * Makefile.am (ALL_EMULATION_SOURCES): Reinstate ei386aout.c.
4 Include ei386aout dep file.
5 * Makefile.in: Regenerate.
6 * po/BLD-POTFILES.in: Regenerate.
8 2020-03-20 H.J. Lu <hongjiu.lu@intel.com>
10 * testsuite/ld-plugin/lto.exp (lto_link_tests): Run PR ld/25355
11 test only for GCC 10 or newer.
13 2020-03-20 Alan Modra <amodra@gmail.com>
15 * testplug.c (parse_symdefstr): Use %hhi to read sym->def, and
17 * testplug2.c (parse_symdefstr): Likewise.
18 * testplug3.c (parse_symdefstr): Likewise.
19 * testplug4.c (parse_symdefstr): Likewise.
21 2020-03-18 Christophe Lyon <christophe.lyon@linaro.org>
23 * testsuite/ld-arm/non-contiguous-arm4.d: Fix expected output.
24 * testsuite/ld-powerpc/non-contiguous-powerpc.d: Likewise.
26 2020-03-18 Christophe Lyon <christophe.lyon@linaro.org>
28 * emultempl/xtensaelf.em: Emit a fatal error message
29 instead of calling abort.
32 2020-03-14 Alan Modra <amodra@gmail.com>
34 * testsuite/ld-elf/non-contiguous.d: Don't xfail generic ELF
35 targets. Don't skip xtensa, xfail instead.
37 2020-03-13 Christophe Lyon <christophe.lyon@linaro.org>
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.
81 2020-03-13 H.J. Lu <hongjiu.lu@intel.com>
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.
92 2020-03-13 Christian Eggers <ceggers@gmx.de>
94 * ldexp.c (fold_name): Return SIZEOF_HEADERS in bytes.
96 2020-03-11 Alan Modra <amodra@gmail.com>
98 * ldelf.c (elf_orphan_compatible): Return false when two sections
99 have differing SHF_MASKPROC or SHF_MASKOS flags.
101 2020-03-05 Alan Modra <amodra@gmail.com>
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.
108 2020-03-05 Alan Modra <amodra@gmail.com>
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
116 (one_lang_size_sections_pass): Increment lang_sizing_iteration.
118 2020-03-03 Nick Clifton <nickc@redhat.com>
121 * ld.texi (Options): Update the description of the --rpath-link
124 2020-03-02 Alan Modra <amodra@gmail.com>
126 * plugin.c (plugin_object_p): Return a bfd_cleanup.
127 (plugin_cleanup): New function.
129 2020-03-01 H.J. Lu <hongjiu.lu@intel.com>
132 * plugin.c (plugin_object_p): Copy the no_export field to the IR
134 * testsuite/ld-plugin/lto.exp (lto_link_elf_tests): Add
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.
142 2020-02-27 Alan Modra <amodra@gmail.com>
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.
157 2020-02-26 H.J. Lu <hongjiu.lu@intel.com>
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.
169 2020-02-26 Alan Modra <amodra@gmail.com>
171 * emultempl/cskyelf.em: Indent labels correctly.
172 * ldfile.c: Likewise.
173 * ldlang.c: Likewise.
174 * plugin.c: Likewise.
176 2020-02-26 Alan Modra <amodra@gmail.com>
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.
185 2020-02-24 Nick Clifton <nickc@redhat.com>
187 * po/fr.po: Update French translation.
189 2020-02-22 Alan Modra <amodra@gmail.com>
192 * NEWS: Mention better "PHDR segment not covered by LOAD segment"
195 2020-02-19 Sergey Belyashov <sergey.belyashov@gmail.com>
198 * emultempl/z80.em: Remove machine compatability checking.
200 2020-02-19 Sergey Belyashov <sergey.belyashov@gmail.com>
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.
219 2020-02-19 Alan Modra <amodra@gmail.com>
221 * testsuite/ld-plugin/pr25355.d: Allow alpha-linux nm result.
223 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
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
232 2020-02-07 H.J. Lu <hongjiu.lu@intel.com>
234 * testsuite/ld-unique/unique.exp (contains_unique_symbol): Updated.
236 2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
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
255 2020-02-07 H.J. Lu <hongjiu.lu@intel.com>
258 * testsuite/ld-elf/pr25022.d: Xfail more targets which don't use
259 ldelf_before_place_orphans.
261 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
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.
290 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
293 * testsuite/ld-elf/pr25490-1.d: New file.
294 * testsuite/ld-elf/pr25490-1.s: Likewise.
296 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
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.
327 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
329 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark
330 z80 as not supported.
332 2020-02-06 Alan Modra <amodra@gmail.com>
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.
384 2020-02-06 Alan Modra <amodra@gmail.com>
386 * testsuite/lib/ld-lib.exp (is_generic): Delete.
387 * testsuite/ld-unique/unique.exp: Exclude tic6x.
389 2020-02-06 Alan Modra <amodra@gmail.com>
391 * configure.tgt (i[3-7]86-*-moss*): Don't clear targ_extra_ofiles.
392 (i[3-7]86-*-openbsd*, x86_64-*-openbsd*): Add.
394 2020-02-02 H.J. Lu <hongjiu.lu@intel.com>
397 * testsuite/ld-i386/pr22001-1c.S: Use "unique,N" in .section
399 * testsuite/ld-i386/tls-gd1.S: Likewise.
400 * testsuite/ld-x86-64/pr21481b.S: Likewise.
402 2020-01-30 Jan Beulich <jbeulich@suse.com>
404 * ld.texi: Remove space between @option and brace.
406 2020-01-29 Alan Modra <amodra@gmail.com>
409 * ldelf.c (ldelf_check_ld_so_conf): Add prefix parameter and
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
415 * Makefile.am: Correct z80 dependencies.
416 * Makefile.in: Regenerate.
418 2020-01-28 Alan Modra <amodra@gmail.com>
420 * ldexp.c (fold_name): Don't print bfd_link_hash_lookup failed
423 2020-01-27 Alan Modra <amodra@gmail.com>
425 * testsuite/ld-elfvers/vers.exp: Replace case statements with
427 * testsuite/ld-ifunc/ifunc.exp: Likewise.
428 * testsuite/ld-unique/unique.exp: Likewise.
430 2020-01-27 H.J. Lu <hongjiu.lu@intel.com>
431 Alan Modra <amodra@gmail.com>
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.
440 2020-01-22 H.J. Lu <hongjiu.lu@intel.com>
443 * testsuite/ld-x86-64/tls.exp: Skip GNU2 TLS tests only without
446 2020-01-22 Alan Modra <amodra@gmail.com>
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.
455 2020-01-22 Alan Modra <amodra@gmail.com>
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):
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.
479 2020-01-22 Yuri Chornoivan <yurchor@mageia.org>
482 * ldlang.c (ldlang_open_ctf): Fix error message typo.
483 * emultempl/z80elf.em (z80_elf_after_open): Likewise.
485 2020-01-21 H.J. Lu <hongjiu.lu@intel.com>
487 * testsuite/ld-elf/pr23900-1.d: Adjusted.
489 2020-01-21 H.J. Lu <hongjiu.lu@intel.com>
491 * testsuite/ld-elf/pr23900-1.d: Also pass -l to readelf.
493 2020-01-20 Nick Clifton <nickc@redhat.com>
495 * po/pt_BR.po: Updated Brazilian Portuguese translation.
496 * po/uk.po: Updated Ukranian translation.
498 2020-01-20 H.J. Lu <hongjiu.lu@intel.com>
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.
519 2020-01-20 Alan Modra <amodra@gmail.com>
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.
527 2020-01-18 Roland McGrath <mcgrathr@google.com>
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.
533 2020-01-18 Nick Clifton <nickc@redhat.com>
535 * configure: Regenerate.
536 * po/ld.pot: Regenerate.
538 2020-01-18 Nick Clifton <nickc@redhat.com>
540 Binutils 2.34 branch created.
542 2020-01-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
544 * scripttempl/elf32msp430_3.sc: Remove.
546 2020-01-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
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.
553 2020-01-15 Lars Brinkhoff <lars@nocrew.org>
556 * temulparams/pdp11.sh (TARGET_PAGE_SIZE): Set to 8192.
558 2020-01-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
560 * testsuite/ld-msp430-elf/msp430-elf.exp: Run new test.
561 * testsuite/ld-msp430-elf/reloc-lo-430x.s: New test.
563 2020-01-15 Alan Modra <amodra@gmail.com>
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.
570 2020-01-14 Lili Cui <lili.cui@intel.com>
572 * testsuite/ld-i386/align-branch-1.d: Updated for i686-pc-elf.
574 2020-01-13 Alan Modra <amodra@gmail.com>
576 * po/BLD-POTFILES.in: Regenerate.
578 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
580 * testsuite/ld-arc/relax-local-pic.d: Improve matching patterns.
582 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
584 * Makefile.am: Remove earcelf_prof.c and earclinux_prof.c
586 * configure.tgt: Likewise.
587 * Makefile.in: Regenerate.
588 * emulparams/arcelf_prof.sh: Remove file.
589 * emulparams/arclinux_prof.sh: Likewise.
591 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
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.
597 2020-01-07 Alan Modra <amodra@gmail.com>
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.
620 2020-01-06 Nick Clifton <nickc@redhat.com>
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.
627 2020-01-06 Nick Clifton <nickc@redhat.com>
630 * testsuite/ld-elf/shared.exp: Add -fcommon option to compiler
631 command line when building pr19579 binaries.
633 2020-01-03 Hannes Domani <ssbssa@yahoo.de>
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.
645 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
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.
671 2020-01-02 Tamar Christina <tamar.christina@arm.com>
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.
680 2020-01-01 Alan Modra <amodra@gmail.com>
682 Update year range in copyright notice of all files.
684 For older changes see ChangeLog-2019
686 Copyright (C) 2020 Free Software Foundation, Inc.
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.
696 version-control: never