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