1 2020-04-01 Tamar Christina <tamar.christina@arm.com>
4 * testsuite/ld-arm/arm-elf.exp (thumb-plt, thumb-plt-got): Skip for NaCL.
6 2020-04-01 Nick Clifton <nickc@redhat.com>
9 * ldfile.c (ldfile_open_file): If a search for a library fails,
10 but there is a file that would match if it had a "lib" prefix to
11 its name, then tell the user.
13 2020-04-01 Tamar Christina <tamar.christina@arm.com>
16 * testsuite/ld-arm/arm-elf.exp (thumb-plt-got): New.
17 * testsuite/ld-arm/thumb-plt-got.d: New test.
19 2020-04-01 Tamar Christina <tamar.christina@arm.com>
21 * testsuite/ld-arm/arm-elf.exp (thumb-plt): New.
22 * testsuite/ld-arm/thumb-plt.d: New test.
23 * testsuite/ld-arm/thumb-plt.s: New test.
25 2020-04-01 Hans-Peter Nilsson <hp@bitrange.com>
27 * testsuite/ld-scripts/defined4.d: Don't xfail mmix-*-*.
29 2020-03-30 Nick Clifton <nickc@redhat.com>
32 * emultempl/pe.em (after_open): Replace initialisation of the
33 insert_timestamp field in the pe_data structure with an
34 initialisation of the timestamp field.
35 * emultemp/pep.em: Likewise.
36 * pe-dll.c (fill_edata): Use the timestamp field in the pe_data
37 structure instead of the insert_timestamp field.
39 2020-03-28 H.J. Lu <hongjiu.lu@intel.com>
42 * emulparams/elf_i386_ldso.sh (COMMONPAGESIZE): New.
43 * testsuite/ld-elf/shared.exp:Don't xfail pr20995-2 tests for
46 2020-03-27 H.J. Lu <hongjiu.lu@intel.com>
49 * testsuite/ld-elf/shared.exp: Xfail pr20995-2 tests for Solaris.
51 2020-03-27 H.J. Lu <hongjiu.lu@intel.com>
54 * testsuite/ld-ifunc/ifunc-23a-x86.d: Add notarget for Solaris.
55 * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise.
56 * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
58 2020-03-25 Alan Modra <amodra@gmail.com>
60 * testsuite/ld-elf/compress1c.d: xfail h8300.
61 * testsuite/ld-elf/compressed1c.d: Likewise.
62 * testsuite/ld-elf/compressed1e.d: Likewise.
63 * testsuite/ld-elf/dynamic1.d: Likewise.
64 * testsuite/ld-elf/dynsym1.d: Likewise.
65 * testsuite/ld-elf/ehdr_start-shared.d: Likewise.
66 * testsuite/ld-elf/exclude3b.d: Likewise.
67 * testsuite/ld-elf/export-class.exp: Don't run without -shared support.
68 * testsuite/ld-elf/global1.d: xfail h8300.
69 * testsuite/ld-elf/hash.d: Likewise.
70 * testsuite/ld-elf/loadaddr1.d: Likewise.
71 * testsuite/ld-elf/loadaddr2.d: Likewise.
72 * testsuite/ld-elf/local1.d: Likewise.
73 * testsuite/ld-elf/mbind1b.d: Likewise.
74 * testsuite/ld-elf/mbind1c.d: Likewise.
75 * testsuite/ld-elf/now-1.d: Likewise.
76 * testsuite/ld-elf/now-2.d: Likewise.
77 * testsuite/ld-elf/now-3.d: Likewise.
78 * testsuite/ld-elf/now-4.d: Likewise.
79 * testsuite/ld-elf/pie.d: Likewise.
80 * testsuite/ld-elf/pr12975.d: Likewise.
81 * testsuite/ld-elf/pr13177.d: Likewise.
82 * testsuite/ld-elf/pr13195.d: Likewise.
83 * testsuite/ld-elf/pr16322.d: Likewise.
84 * testsuite/ld-elf/pr16498a.d: Likewise.
85 * testsuite/ld-elf/pr16498b.d: Likewise.
86 * testsuite/ld-elf/pr17615.d: Likewise.
87 * testsuite/ld-elf/pr19162.d: Likewise.
88 * testsuite/ld-elf/pr19539.d: Likewise.
89 * testsuite/ld-elf/pr19617a.d: Likewise.
90 * testsuite/ld-elf/pr19698.d: Likewise.
91 * testsuite/ld-elf/pr20513c.d: Likewise.
92 * testsuite/ld-elf/pr20513d.d: Likewise.
93 * testsuite/ld-elf/pr21389a.d: Likewise.
94 * testsuite/ld-elf/pr21389b.d: Likewise.
95 * testsuite/ld-elf/pr21389c.d: Likewise.
96 * testsuite/ld-elf/pr21562a.d: Likewise.
97 * testsuite/ld-elf/pr21562b.d: Likewise.
98 * testsuite/ld-elf/pr21562c.d: Likewise.
99 * testsuite/ld-elf/pr21562d.d: Likewise.
100 * testsuite/ld-elf/pr21562e.d: Likewise.
101 * testsuite/ld-elf/pr21562f.d: Likewise.
102 * testsuite/ld-elf/pr21562g.d: Likewise.
103 * testsuite/ld-elf/pr21562h.d: Likewise.
104 * testsuite/ld-elf/pr21562i.d: Likewise.
105 * testsuite/ld-elf/pr21562j.d: Likewise.
106 * testsuite/ld-elf/pr21562k.d: Likewise.
107 * testsuite/ld-elf/pr21562l.d: Likewise.
108 * testsuite/ld-elf/pr21562m.d: Likewise.
109 * testsuite/ld-elf/pr21562n.d: Likewise.
110 * testsuite/ld-elf/pr21903a.d: Likewise.
111 * testsuite/ld-elf/pr21903b.d: Likewise.
112 * testsuite/ld-elf/pr21903d.d: Likewise.
113 * testsuite/ld-elf/pr22269a.d: Likewise.
114 * testsuite/ld-elf/pr22269b.d: Likewise.
115 * testsuite/ld-elf/pr22393-1a.d: Likewise.
116 * testsuite/ld-elf/pr22393-1b.d: Likewise.
117 * testsuite/ld-elf/pr22393-1c.d: Likewise.
118 * testsuite/ld-elf/pr22393-1d.d: Likewise.
119 * testsuite/ld-elf/pr22393-1e.d: Likewise.
120 * testsuite/ld-elf/pr22393-1f.d: Likewise.
121 * testsuite/ld-elf/pr22423.d: Likewise.
122 * testsuite/ld-elf/pr22450.d: xfail avr, crx, h8300, ip2k, m68hc11,
124 * testsuite/ld-elf/pr23658-1c.d: xfail h8300.
125 * testsuite/ld-elf/pr25708.d: xfail h8300 and hppa64.
126 * testsuite/ld-elf/rpath-1.d: xfail h8300.
127 * testsuite/ld-elf/rpath-2.d: Likewise.
128 * testsuite/ld-elf/runpath-1.d: Likewise.
129 * testsuite/ld-elf/runpath-2.d: Likewise.
130 * testsuite/ld-elf/sizeofb.d: Likewise.
131 * testsuite/ld-elf/startofb.d: Likewise.
132 * testsuite/ld-elf/strtab.d: Likewise.
133 * testsuite/ld-elf/textaddr1.d: Likewise.
134 * testsuite/ld-elf/textaddr2.d: Likewise.
135 * testsuite/ld-elf/textaddr4.d: Likewise.
136 * testsuite/ld-elf/textaddr5.d: Likewise.
137 * testsuite/ld-elf/textaddr6.d: Likewise.
138 * testsuite/ld-elf/unknown2.d: Likewise.
139 * testsuite/ld-undefined/entry-3.d: Likewise.
140 * testsuite/ld-undefined/entry-4.d: Likewise.
141 * testsuite/ld-h8300/h8300.exp: Pass appropriate ld -m option.
142 * testsuite/ld-h8300/gcsection.d: Remove ld -m option and relax
144 * testsuite/ld-h8300/relax-2.d: Likewise.
145 * testsuite/ld-h8300/relax-3.d: Likewise.
146 * testsuite/ld-h8300/relax-4.d: Likewise.
147 * testsuite/ld-h8300/relax-5.d: Likewise.
148 * testsuite/ld-h8300/relax-6.d: Likewise.
149 * testsuite/ld-h8300/relax-7.d: Likewise.
150 * testsuite/ld-h8300/relax.d: Relax file format match.
152 2020-03-24 H.J. Lu <hongjiu.lu@intel.com>
155 * testsuite/ld-elf/pr25708.d: New file.
157 2020-03-23 Alan Modra <amodra@gmail.com>
159 * Makefile.am (ALL_EMULATION_SOURCES): Reinstate ei386aout.c.
160 Include ei386aout dep file.
161 * Makefile.in: Regenerate.
162 * po/BLD-POTFILES.in: Regenerate.
164 2020-03-20 H.J. Lu <hongjiu.lu@intel.com>
166 * testsuite/ld-plugin/lto.exp (lto_link_tests): Run PR ld/25355
167 test only for GCC 10 or newer.
169 2020-03-20 Alan Modra <amodra@gmail.com>
171 * testplug.c (parse_symdefstr): Use %hhi to read sym->def, and
173 * testplug2.c (parse_symdefstr): Likewise.
174 * testplug3.c (parse_symdefstr): Likewise.
175 * testplug4.c (parse_symdefstr): Likewise.
177 2020-03-18 Christophe Lyon <christophe.lyon@linaro.org>
179 * testsuite/ld-arm/non-contiguous-arm4.d: Fix expected output.
180 * testsuite/ld-powerpc/non-contiguous-powerpc.d: Likewise.
182 2020-03-18 Christophe Lyon <christophe.lyon@linaro.org>
184 * emultempl/xtensaelf.em: Emit a fatal error message
185 instead of calling abort.
186 * ldlang.c: Likewise.
188 2020-03-14 Alan Modra <amodra@gmail.com>
190 * testsuite/ld-elf/non-contiguous.d: Don't xfail generic ELF
191 targets. Don't skip xtensa, xfail instead.
193 2020-03-13 Christophe Lyon <christophe.lyon@linaro.org>
195 * ldlang.c (lang_add_section): Add support for
196 non_contiguous_regions.
197 (size_input_section): Likewise.
198 (lang_size_sections_1): Likewise.
199 (process_insert_statements): Likewise.
200 * ldlex.h (option_values): Add OPTION_NON_CONTIGUOUS_REGIONS and
201 OPTION_NON_CONTIGUOUS_REGIONS_WARNINGS.
202 * lexsup.c (ld_options): Add entries for
203 --enable-non-contiguous-regions and
204 --enable-non-contiguous-regions-warnings.
205 (parse_args): Handle it.
206 * NEWS: Add --enable-non-contiguous-regions and
207 --enable-non-contiguous-regions-warnings.
208 * ld.texi: Add --enable-non-contiguous-regions and
209 --enable-non-contiguous-regions-warnings documentation.
210 * emultempl/armelf.em (elf32_arm_add_stub_section): Add
211 SEC_LINKER_CREATED flag.
212 * emultempl/xtensaelf.em (ld_build_required_section_dependence):
213 Emit an error when --enable-non-contiguous-regions is used.
214 * testsuite/ld-elf/non-contiguous.d: New.
215 * testsuite/ld-elf/non-contiguous.ld: New.
216 * testsuite/ld-elf/non-contiguous.s: New.
217 * testsuite/ld-arm/arm-elf.exp: Run the new tests.
218 * testsuite/ld-arm/arm-elf/non-contiguous-arm.s: New.
219 * testsuite/ld-arm/arm-elf/non-contiguous-arm.d: New.
220 * testsuite/ld-arm/arm-elf/non-contiguous-arm.ld: New.
221 * testsuite/ld-arm/arm-elf/non-contiguous-arm2.d: New.
222 * testsuite/ld-arm/arm-elf/non-contiguous-arm3.ld: New.
223 * testsuite/ld-arm/arm-elf/non-contiguous-arm3.d: New.
224 * testsuite/ld-arm/arm-elf/non-contiguous-arm3.ld: New.
225 * testsuite/ld-arm/arm-elf/non-contiguous-arm4.d: New.
226 * testsuite/ld-arm/arm-elf/non-contiguous-arm4.ld: New.
227 * testsuite/ld-arm/arm-elf/non-contiguous-arm5.d: New.
228 * testsuite/ld-arm/arm-elf/non-contiguous-arm5.ld: New.
229 * testsuite/ld-arm/arm-elf/non-contiguous-arm6.d: New.
230 * testsuite/ld-arm/arm-elf/non-contiguous-arm6.ld: New.
231 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
232 * testsuite/ld-powerpc/non-contiguous-powerpc.d: New.
233 * testsuite/ld-powerpc/non-contiguous-powerpc.ld: New.
234 * testsuite/ld-powerpc/non-contiguous-powerpc.sd: New.
235 * testsuite/ld-powerpc/non-contiguous-powerpc64.d: New.
237 2020-03-13 H.J. Lu <hongjiu.lu@intel.com>
240 * emulparams/elf32_x86_64.sh: Use static.sh.
241 * emulparams/elf_i386.sh: Likewise.
242 * emulparams/elf_x86_64.sh: Likewise.
243 * emulparams/static.sh: New file.
244 * emultempl/elf-x86.em: Include "ldlex.h".
245 * testsuite/ld-elf/pr24920.err: New file.
246 * testsuite/ld-elf/linux-x86.exp: Run ld/24920 tests.
248 2020-03-13 Christian Eggers <ceggers@gmx.de>
250 * ldexp.c (fold_name): Return SIZEOF_HEADERS in bytes.
252 2020-03-11 Alan Modra <amodra@gmail.com>
254 * ldelf.c (elf_orphan_compatible): Return false when two sections
255 have differing SHF_MASKPROC or SHF_MASKOS flags.
257 2020-03-05 Alan Modra <amodra@gmail.com>
260 * ldlang.c (lang_size_sections_1): Don't report changes on
261 second and subsequent iterations that make no change in
262 alignment from that already reported.
264 2020-03-05 Alan Modra <amodra@gmail.com>
267 * ldlang.c (lang_sizing_iteration): New static var.
268 (lang_size_sections_1): Warn about no memory region only on first
269 iteration. Warn about changing start address on first iteration
270 then any delta from that on subsequent iterations. Report a signed
272 (one_lang_size_sections_pass): Increment lang_sizing_iteration.
274 2020-03-03 Nick Clifton <nickc@redhat.com>
277 * ld.texi (Options): Update the description of the --rpath-link
280 2020-03-02 Alan Modra <amodra@gmail.com>
282 * plugin.c (plugin_object_p): Return a bfd_cleanup.
283 (plugin_cleanup): New function.
285 2020-03-01 H.J. Lu <hongjiu.lu@intel.com>
288 * plugin.c (plugin_object_p): Copy the no_export field to the IR
290 * testsuite/ld-plugin/lto.exp (lto_link_elf_tests): Add
292 * testsuite/ld-plugin/pr25618.d: New file.
293 * testsuite/ld-plugin/pr25618a.cc: Likewise.
294 * testsuite/ld-plugin/pr25618a.h: Likewise.
295 * testsuite/ld-plugin/pr25618b.cc: Likewise.
296 * testsuite/ld-plugin/pr25618b.h: Likewise.
298 2020-02-27 Alan Modra <amodra@gmail.com>
301 * testsuite/ld-mmix/b-fixo2.d: Adjust for .data change.
302 * testsuite/ld-mmix/sec-2.d: Likewise.
303 * testsuite/ld-mmix/sec-3.d: Likewise.
304 * testsuite/ld-mmix/sec-4.d: Likewise.
305 * testsuite/ld-mmix/spec802.d: Likewise.
306 * testsuite/ld-mmix/spec803.d: Likewise.
307 * testsuite/ld-mmix/spec804.d: Likewise.
308 * testsuite/ld-mmix/spec805.d: Likewise.
309 * testsuite/ld-mmix/spec806.d: Likewise.
310 * testsuite/ld-mmix/spec807.d: Likewise.
311 * testsuite/ld-mmix/spec808.d: Likewise.
313 2020-02-26 H.J. Lu <hongjiu.lu@intel.com>
316 * testsuite/ld-plugin/lto.exp: Run PR ld/25593 tests.
317 * testsuite/ld-plugin/pr25593.d: New file.
318 * testsuite/ld-plugin/pr25593a-1.c: Likewise.
319 * testsuite/ld-plugin/pr25593a-2.c: Likewise.
320 * testsuite/ld-plugin/pr25593b.c: Likewise.
321 * testsuite/ld-plugin/pr25593c.c: Likewise.
322 * testsuite/ld-plugin/pr25593d.c: Likewise.
323 * testsuite/ld-plugin/pr25593e.c: Likewise.
325 2020-02-26 Alan Modra <amodra@gmail.com>
327 * emultempl/cskyelf.em: Indent labels correctly.
328 * ldfile.c: Likewise.
329 * ldlang.c: Likewise.
330 * plugin.c: Likewise.
332 2020-02-26 Alan Modra <amodra@gmail.com>
335 * ldelf.c (ldelf_try_needed): Add DT_NEEDED lib to input_bfds.
336 (ldelf_after_open): Save state of input_bfds list before loading
337 DT_NEEDED libs. Traverse input_bfds list adding DT_NEEDED tags.
338 Restore input_bfds list.
339 * testsuite/ld-cris/gotplt1.d: Adjust for changed .dynstr order.
341 2020-02-24 Nick Clifton <nickc@redhat.com>
343 * po/fr.po: Update French translation.
345 2020-02-22 Alan Modra <amodra@gmail.com>
348 * NEWS: Mention better "PHDR segment not covered by LOAD segment"
351 2020-02-19 Sergey Belyashov <sergey.belyashov@gmail.com>
354 * emultempl/z80.em: Remove machine compatability checking.
356 2020-02-19 Sergey Belyashov <sergey.belyashov@gmail.com>
359 * testsuite/ld-z80/arch_ez80_adl.d: Update command line.
360 * testsuite/ld-z80/arch_ez80_z80.d: Likewise.
361 * testsuite/ld-z80/arch_r800.d: Likewise.
362 * testsuite/ld-z80/arch_z180.d: Likewise.
363 * testsuite/ld-z80/arch_z80n.d: Likewise.
364 * testsuite/ld-z80/comb_arch_ez80_z80.d: Likewise.
365 * testsuite/ld-z80/comb_arch_z180_z80.d: Likewise.
366 * testsuite/ld-z80/comb_arch_z80_ez80.d: Likewise.
367 * testsuite/ld-z80/comb_arch_z80_z180.d: Likewise.
368 * testsuite/ld-z80/comb_arch_z80_z80n.d: Likewise.
369 * testsuite/ld-z80/relocs_b_ez80.d: Likewise.
370 * testsuite/ld-z80/relocs_b_z80.d: Likewise.
371 * testsuite/ld-z80/relocs_f_ez80.d: Likewise.
372 * testsuite/ld-z80/relocs_f_z80.d: Likewise.
373 * testsuite/ld-z80/relocs_f_z80n.d: Likewise.
375 2020-02-19 Alan Modra <amodra@gmail.com>
377 * testsuite/ld-plugin/pr25355.d: Allow alpha-linux nm result.
379 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
382 * testsuite/ld-plugin/lto.exp: Run PR binutils/25355 test.
383 * testsuite/ld-plugin/pr25355.c: New file.
384 * testsuite/ld-plugin/pr25355.d: Likewise.
385 * testsuite/lib/ld-lib.exp (run_cc_link_tests): Support compile
388 2020-02-07 H.J. Lu <hongjiu.lu@intel.com>
390 * testsuite/ld-unique/unique.exp (contains_unique_symbol): Updated.
392 2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
395 * emulparams/elf32z80.sh: Use z80 emulation.
396 * emultempl/z80.em: Make generic to both COFF and ELF Z80 emulations.
397 * emultempl/z80elf.em: Delete.
398 * testsuite/ld-elf/pr22450.d: Expect to fail for the Z80.
399 * testsuite/ld-elf/sec64k.exp: Fix Z80 assembly.
400 * testsuite/ld-unique/pr21529.s: Avoid register name conflict.
401 * testsuite/ld-unique/unique.s: Likewise.
402 * testsuite/ld-unique/unique_empty.s: Likewise.
403 * testsuite/ld-unique/unique_shared.s: Likewise.
404 * testsuite/ld-unique/unique.d: Updated expected output.
405 * testsuite/ld-z80/arch_z80n.d: New file.
406 * testsuite/ld-z80/comb_arch_z80_z80n.d: New file.
407 * testsuite/ld-z80/labels.s: Add more labels.
408 * testsuite/ld-z80/relocs.s: Add more reloc tests.
409 * testsuite/ld-z80/relocs_f_z80n.d: New file
411 2020-02-07 H.J. Lu <hongjiu.lu@intel.com>
414 * testsuite/ld-elf/pr25022.d: Xfail more targets which don't use
415 ldelf_before_place_orphans.
417 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
420 * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Add
421 before_place_orphans_default.
422 * emultempl/armcoff.em (ld_${EMULATION_NAME}_emulation): Likewise.
423 * emultempl/beos.em (ld_${EMULATION_NAME}_emulation): Likewise.
424 * emultempl/generic.em (ld_${EMULATION_NAME}_emulation): Likewise.
425 * emultempl/linux.em (ld_${EMULATION_NAME}_emulation): Likewise.
426 * emultempl/msp430.em (ld_${EMULATION_NAME}_emulation): Likewise.
427 * emultempl/pe.em (ld_${EMULATION_NAME}_emulation): Likewise.
428 * emultempl/pep.em (ld_${EMULATION_NAME}_emulation): Likewise.
429 * emultempl/ticoff.em (ld_${EMULATION_NAME}_emulation): Likewise.
430 * emultempl/vanilla.em (ld_${EMULATION_NAME}_emulation): Likewise.
431 * emultempl/elf.em (ld_${EMULATION_NAME}_emulation): Use
432 ldelf_before_place_orphans.
433 * ldelf.c (ldelf_before_place_orphans): New.
434 * ldelf.h (ldelf_before_place_orphans): Likewise.
435 * ldemul.c (ldemul_before_place_orphans): Likewise.
436 (before_place_orphans_default): Likewise.
437 * ldemul.h (ldemul_before_place_orphans): Likewise.
438 (before_place_orphans_default): Likewise.
439 (ld_emulation_xfer_struct): Add before_place_orphans.
440 * ldlang.c (lang_process): Call ldemul_before_place_orphans
441 before lang_place_orphans.
442 * testsuite/ld-elf/pr25022.d: New file.
443 * testsuite/ld-elf/pr25022.s: Likewise.
444 * testsuite/ld-elf/pr25022.t: Likewise.
446 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
449 * testsuite/ld-elf/pr25490-1.d: New file.
450 * testsuite/ld-elf/pr25490-1.s: Likewise.
452 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
457 * testsuite/ld-elf/elf.exp: Run PR ld/25490 tests.
458 * testsuite/ld-elf/pr24526.d: New file.
459 * testsuite/ld-elf/pr24526.s: Likewise.
460 * testsuite/ld-elf/pr25021.d: Likewise.
461 * testsuite/ld-elf/pr25021.s: Likewise.
462 * testsuite/ld-elf/pr25490-2-16.rd: Likewise.
463 * testsuite/ld-elf/pr25490-2-32.rd: Likewise.
464 * testsuite/ld-elf/pr25490-2-64.rd: Likewise.
465 * testsuite/ld-elf/pr25490-2.s: Likewise.
466 * testsuite/ld-elf/pr25490-3-16.rd: Likewise.
467 * testsuite/ld-elf/pr25490-3-32.rd: Likewise.
468 * testsuite/ld-elf/pr25490-3-64.rd: Likewise.
469 * testsuite/ld-elf/pr25490-3.s: Likewise.
470 * testsuite/ld-elf/pr25490-4-16.rd: Likewise.
471 * testsuite/ld-elf/pr25490-4-32.rd: Likewise.
472 * testsuite/ld-elf/pr25490-4-64.rd: Likewise.
473 * testsuite/ld-elf/pr25490-4.s: Likewise.
474 * testsuite/ld-elf/pr25490-5-16.rd: Likewise.
475 * testsuite/ld-elf/pr25490-5-32.rd: Likewise.
476 * testsuite/ld-elf/pr25490-5-64.rd: Likewise.
477 * testsuite/ld-elf/pr25490-5.s: Likewise.
478 * testsuite/ld-elf/pr25490-6-16.rd: Likewise.
479 * testsuite/ld-elf/pr25490-6-32.rd: Likewise.
480 * testsuite/ld-elf/pr25490-6-64.rd: Likewise.
481 * testsuite/ld-elf/pr25490-6.s: Likewise.
483 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
485 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark
486 z80 as not supported.
488 2020-02-06 Alan Modra <amodra@gmail.com>
490 * testsuite/ld-ifunc/ifunc.exp: Enable for more targets, specifying
491 targets that don't support ifunc rather than ones that do.
492 (contains_irelative_reloc): Match R_PARISC_IPLT.
493 * testsuite/ld-ifunc/lib.c: Don't use .set in asm.
494 * testsuite/ld-ifunc/ifunc-23-x86.s,
495 * testsuite/ld-ifunc/ifunc-24-x86.s,
496 * testsuite/ld-ifunc/ifunc-25-x86.s,
497 * testsuite/ld-ifunc/ifunc-4-local-x86.s,
498 * testsuite/ld-ifunc/ifunc-4-x86.s: Define _main.
499 * testsuite/ld-ifunc/ifunc-10-i386.d,
500 * testsuite/ld-ifunc/ifunc-11-i386.d,
501 * testsuite/ld-ifunc/ifunc-12-i386.d,
502 * testsuite/ld-ifunc/ifunc-13-i386.d,
503 * testsuite/ld-ifunc/ifunc-14a-i386.d,
504 * testsuite/ld-ifunc/ifunc-14b-i386.d,
505 * testsuite/ld-ifunc/ifunc-14c-i386.d,
506 * testsuite/ld-ifunc/ifunc-14d-i386.d,
507 * testsuite/ld-ifunc/ifunc-14e-i386.d,
508 * testsuite/ld-ifunc/ifunc-14f-i386.d,
509 * testsuite/ld-ifunc/ifunc-15-i386.d,
510 * testsuite/ld-ifunc/ifunc-16-i386-now.d,
511 * testsuite/ld-ifunc/ifunc-16-i386.d,
512 * testsuite/ld-ifunc/ifunc-17a-i386.d,
513 * testsuite/ld-ifunc/ifunc-17b-i386.d,
514 * testsuite/ld-ifunc/ifunc-18a-i386.d,
515 * testsuite/ld-ifunc/ifunc-18b-i386.d,
516 * testsuite/ld-ifunc/ifunc-19a-i386.d,
517 * testsuite/ld-ifunc/ifunc-19b-i386.d,
518 * testsuite/ld-ifunc/ifunc-2-i386-now.d,
519 * testsuite/ld-ifunc/ifunc-2-i386.d,
520 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d,
521 * testsuite/ld-ifunc/ifunc-2-local-i386.d,
522 * testsuite/ld-ifunc/ifunc-20-i386.d,
523 * testsuite/ld-ifunc/ifunc-21-i386.d,
524 * testsuite/ld-ifunc/ifunc-22-i386.d,
525 * testsuite/ld-ifunc/ifunc-26.d,
526 * testsuite/ld-ifunc/ifunc-5a-i386.d,
527 * testsuite/ld-ifunc/ifunc-5a-local-i386.d,
528 * testsuite/ld-ifunc/ifunc-5b-i386.d,
529 * testsuite/ld-ifunc/ifunc-5b-local-i386.d,
530 * testsuite/ld-ifunc/ifunc-5r-local-i386.d,
531 * testsuite/ld-ifunc/ifunc-6a-i386.d,
532 * testsuite/ld-ifunc/ifunc-6b-i386.d,
533 * testsuite/ld-ifunc/ifunc-7a-i386.d,
534 * testsuite/ld-ifunc/ifunc-7b-i386.d,
535 * testsuite/ld-ifunc/ifunc-8-i386.d,
536 * testsuite/ld-ifunc/ifunc-9-i386.d,
537 * testsuite/ld-ifunc/pr17154-i386-now.d,
538 * testsuite/ld-ifunc/pr17154-i386.d: xfail lynxos, nto, and solaris.
540 2020-02-06 Alan Modra <amodra@gmail.com>
542 * testsuite/lib/ld-lib.exp (is_generic): Delete.
543 * testsuite/ld-unique/unique.exp: Exclude tic6x.
545 2020-02-06 Alan Modra <amodra@gmail.com>
547 * configure.tgt (i[3-7]86-*-moss*): Don't clear targ_extra_ofiles.
548 (i[3-7]86-*-openbsd*, x86_64-*-openbsd*): Add.
550 2020-02-02 H.J. Lu <hongjiu.lu@intel.com>
553 * testsuite/ld-i386/pr22001-1c.S: Use "unique,N" in .section
555 * testsuite/ld-i386/tls-gd1.S: Likewise.
556 * testsuite/ld-x86-64/pr21481b.S: Likewise.
558 2020-01-30 Jan Beulich <jbeulich@suse.com>
560 * ld.texi: Remove space between @option and brace.
562 2020-01-29 Alan Modra <amodra@gmail.com>
565 * ldelf.c (ldelf_check_ld_so_conf): Add prefix parameter and
567 (ldelf_after_open): Add prefix parameter.
568 * ldelf.h (ldelf_after_open): Update prototype.
569 * emultempl/elf.em (gld${EMULATION_NAME}_after_open): Pass $prefix
571 * Makefile.am: Correct z80 dependencies.
572 * Makefile.in: Regenerate.
574 2020-01-28 Alan Modra <amodra@gmail.com>
576 * ldexp.c (fold_name): Don't print bfd_link_hash_lookup failed
579 2020-01-27 Alan Modra <amodra@gmail.com>
581 * testsuite/ld-elfvers/vers.exp: Replace case statements with
583 * testsuite/ld-ifunc/ifunc.exp: Likewise.
584 * testsuite/ld-unique/unique.exp: Likewise.
586 2020-01-27 H.J. Lu <hongjiu.lu@intel.com>
587 Alan Modra <amodra@gmail.com>
590 * testsuite/ld-elf/pr25458.map: New file.
591 * testsuite/ld-elf/pr25458.rd: Likewise.
592 * testsuite/ld-elf/pr25458a.s: Likewise.
593 * testsuite/ld-elf/pr25458b.s: Likewise.
594 * testsuite/ld-elf/shared.exp: Run PR ld/25458 test.
596 2020-01-22 H.J. Lu <hongjiu.lu@intel.com>
599 * testsuite/ld-x86-64/tls.exp: Skip GNU2 TLS tests only without
602 2020-01-22 Alan Modra <amodra@gmail.com>
604 * testsuite/ld-powerpc/tlsdesc3.d,
605 * testsuite/ld-powerpc/tlsdesc3.wf,
606 * testsuite/ld-powerpc/tlsdesc4.d,
607 * testsuite/ld-powerpc/tlsdesc4.s,
608 * testsuite/ld-powerpc/tlsdesc4.wf: New tests.
609 * testsuite/ld-powerpc/powerpc.exp: Run them.
611 2020-01-22 Alan Modra <amodra@gmail.com>
613 * emultempl/ppc64elf.em (ppc64_opt, PARSE_AND_LIST_LONGOPTS),
614 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Support
615 --tls-get-addr-regsave and --no-tls-get-addr-regsave.
616 (params): Init new field.
617 * ld.texi (--tls-get-addr-regsave, --no-tls-get-addr-regsave):
619 * testsuite/ld-powerpc/tlsdesc.s,
620 * testsuite/ld-powerpc/tlsdesc.d,
621 * testsuite/ld-powerpc/tlsdesc.wf,
622 * testsuite/ld-powerpc/tlsdesc2.d,
623 * testsuite/ld-powerpc/tlsdesc2.wf,
624 * testsuite/ld-powerpc/tlsexenors.d,
625 * testsuite/ld-powerpc/tlsexenors.r,
626 * testsuite/ld-powerpc/tlsexers.d,
627 * testsuite/ld-powerpc/tlsexers.r,
628 * testsuite/ld-powerpc/tlsexetocnors.d,
629 * testsuite/ld-powerpc/tlsexetocrs.d,
630 * testsuite/ld-powerpc/tlsexetocrs.r,
631 * testsuite/ld-powerpc/tlsopt6.d,
632 * testsuite/ld-powerpc/tlsopt6.wf: New.
633 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
635 2020-01-22 Yuri Chornoivan <yurchor@mageia.org>
638 * ldlang.c (ldlang_open_ctf): Fix error message typo.
639 * emultempl/z80elf.em (z80_elf_after_open): Likewise.
641 2020-01-21 H.J. Lu <hongjiu.lu@intel.com>
643 * testsuite/ld-elf/pr23900-1.d: Adjusted.
645 2020-01-21 H.J. Lu <hongjiu.lu@intel.com>
647 * testsuite/ld-elf/pr23900-1.d: Also pass -l to readelf.
649 2020-01-20 Nick Clifton <nickc@redhat.com>
651 * po/pt_BR.po: Updated Brazilian Portuguese translation.
652 * po/uk.po: Updated Ukranian translation.
654 2020-01-20 H.J. Lu <hongjiu.lu@intel.com>
657 * testsuite/ld-x86-64/pr25416-1.s: New file
658 * testsuite/ld-x86-64/pr25416-1a.d: Likewise.
659 * testsuite/ld-x86-64/pr25416-1b.d: Likewise.
660 * testsuite/ld-x86-64/pr25416-1.s: Likewise.
661 * testsuite/ld-x86-64/pr25416-2.s: Likewise.
662 * testsuite/ld-x86-64/pr25416-2a.d: Likewise.
663 * testsuite/ld-x86-64/pr25416-2b.d: Likewise.
664 * testsuite/ld-x86-64/pr25416-3.d: Likewise.
665 * testsuite/ld-x86-64/pr25416-3.s: Likewise.
666 * testsuite/ld-x86-64/pr25416-4.d: Likewise.
667 * testsuite/ld-x86-64/pr25416-4.s: Likewise.
668 * testsuite/ld-x86-64/pr25416-5a.c: Likewise.
669 * testsuite/ld-x86-64/pr25416-5b.s: Likewise.
670 * testsuite/ld-x86-64/pr25416-5c.s: Likewise.
671 * testsuite/ld-x86-64/pr25416-5d.s: Likewise.
672 * testsuite/ld-x86-64/pr25416-5e.s: Likewise.
673 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/25416 tests.
675 2020-01-20 Alan Modra <amodra@gmail.com>
677 * testsuite/ld-powerpc/tlsexe.d: Match new __tls_get_addr stub.
678 * testsuite/ld-powerpc/tlsexeno.d: Likewise.
679 * testsuite/ld-powerpc/tlsexetoc.d: Likewise.
680 * testsuite/ld-powerpc/tlsexetocno.d: Likewise.
681 * testsuite/ld-powerpc/tlsopt5.d: Likewise.
683 2020-01-18 Roland McGrath <mcgrathr@google.com>
685 * testsuite/ld-x86-64/align-branch-1.d: Loosen instruction regexps
686 to admit whatever absolute address. The label-relative address is
687 what the test needs to verify.
689 2020-01-18 Nick Clifton <nickc@redhat.com>
691 * configure: Regenerate.
692 * po/ld.pot: Regenerate.
694 2020-01-18 Nick Clifton <nickc@redhat.com>
696 Binutils 2.34 branch created.
698 2020-01-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
700 * scripttempl/elf32msp430_3.sc: Remove.
702 2020-01-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
704 * scripttempl/elf32msp430.sc: Add input section rules for
705 .upper.{text,data,rodata,bss}.
706 * testsuite/ld-msp430-elf/msp430-elf.exp: Run new test.
707 * testsuite/ld-msp430-elf/upper-input-sections.s: New test.
709 2020-01-15 Lars Brinkhoff <lars@nocrew.org>
712 * temulparams/pdp11.sh (TARGET_PAGE_SIZE): Set to 8192.
714 2020-01-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
716 * testsuite/ld-msp430-elf/msp430-elf.exp: Run new test.
717 * testsuite/ld-msp430-elf/reloc-lo-430x.s: New test.
719 2020-01-15 Alan Modra <amodra@gmail.com>
721 * testsuite/ld-powerpc/ambiguousv1b.d: Adjust expected output.
722 * testsuite/ld-powerpc/funref.s: Align func_tab.
723 * testsuite/ld-powerpc/funref2.s: Likewise.
724 * testsuite/ld-powerpc/funv1.s: Add dot symbols.
726 2020-01-14 Lili Cui <lili.cui@intel.com>
728 * testsuite/ld-i386/align-branch-1.d: Updated for i686-pc-elf.
730 2020-01-13 Alan Modra <amodra@gmail.com>
732 * po/BLD-POTFILES.in: Regenerate.
734 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
736 * testsuite/ld-arc/relax-local-pic.d: Improve matching patterns.
738 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
740 * Makefile.am: Remove earcelf_prof.c and earclinux_prof.c
742 * configure.tgt: Likewise.
743 * Makefile.in: Regenerate.
744 * emulparams/arcelf_prof.sh: Remove file.
745 * emulparams/arclinux_prof.sh: Likewise.
747 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
749 * scripttempl/elfarcv2.sc : Allow interrupt vector table to be
750 located at an arbitrary address. Use DWARF.sc file.
751 * scripttempl/elfarc.sc: Use DWARF.sc file.
753 2020-01-07 Alan Modra <amodra@gmail.com>
755 * testsuite/ld-mips-elf/eh-frame5.s,
756 * testsuite/ld-mips-elf/ehdr_start-new.s,
757 * testsuite/ld-mips-elf/ehdr_start-o32.s,
758 * testsuite/ld-mips-elf/mips16-call-global-1.s,
759 * testsuite/ld-mips-elf/mips16-intermix-1.s,
760 * testsuite/ld-mips-elf/mips16-pic-1b.s,
761 * testsuite/ld-mips-elf/mips16-pic-4c.s,
762 * testsuite/ld-mips-elf/no-shared-1-n64.s,
763 * testsuite/ld-mips-elf/no-shared-1-o32.s,
764 * testsuite/ld-mips-elf/pic-and-nonpic-1b-micromips.s,
765 * testsuite/ld-mips-elf/pic-and-nonpic-1b.s,
766 * testsuite/ld-mips-elf/pic-and-nonpic-2a.s,
767 * testsuite/ld-mips-elf/pic-and-nonpic-3b.s,
768 * testsuite/ld-mips-elf/pic-and-nonpic-4b.s,
769 * testsuite/ld-mips-elf/pic-and-nonpic-5a.s,
770 * testsuite/ld-mips-elf/pic-and-nonpic-6-n32c.s,
771 * testsuite/ld-mips-elf/pic-and-nonpic-6-n64c.s,
772 * testsuite/ld-mips-elf/pic-and-nonpic-6-o32c.s,
773 * testsuite/ld-mips-elf/pie.s,
774 * testsuite/ld-mips-elf/relax-jalr.s: Revert 2019-12-17 change.
776 2020-01-06 Nick Clifton <nickc@redhat.com>
779 * testsuite/ld-elf/shared.exp: Add -fcommon option to compiler
780 command line when building libcomm1.o and pr13250 tests.
781 * testsuite/ld-plugin/lto.exp: Likewise for pr20267 tests.
783 2020-01-06 Nick Clifton <nickc@redhat.com>
786 * testsuite/ld-elf/shared.exp: Add -fcommon option to compiler
787 command line when building pr19579 binaries.
789 2020-01-03 Hannes Domani <ssbssa@yahoo.de>
791 * emultempl/pe.em: Add new option --enable-reloc-section.
792 * emultempl/pep.em: Likewise.
793 * ld.texi: Document --enable-reloc-section.
794 * pe-dll.c (pe_dll_build_sections): Use pe_dll_enable_reloc_section.
795 (pe_dll_fill_sections): Simplify by calling pe_exe_fill_sections.
796 * pe-dll.h: Add extern declaration of option flag.
797 * pep-dll.c (pe_dll_enable_reloc_section):
798 Add alias define for pep_dll_enable_reloc_section.
799 * pep-dll.h: Add extern declaration of option flag.
801 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
803 * Makefile.am: Add new target z80-elf
804 * configure.tgt: Likewise.
805 * Makefile.in: Regenerate.
806 * emultempl/z80.em: Add support for eZ80 and Z180 architectures.
807 * emulparams/elf32z80.sh: New file.
808 * emultempl/z80elf.em: Likewise.
809 * testsuite/ld-elf/comm-data4.s: Fix for Z80.
810 * testsuite/ld-elf/comm-data5.s: Fix for Z80.
811 * testsuite/ld-scripts/fill16.d: Fix for Z80.
812 * testsuite/ld-z80/arch_ez80_adl.d: Likewise.
813 * testsuite/ld-z80/arch_ez80_z80.d: Likewise.
814 * testsuite/ld-z80/arch_r800.d: Likewise.
815 * testsuite/ld-z80/arch_z180.d: Likewise.
816 * testsuite/ld-z80/arch_z80.d: Likewise.
817 * testsuite/ld-z80/comb_arch_ez80_z80.d: Likewise.
818 * testsuite/ld-z80/comb_arch_z180.d: Likewise.
819 * testsuite/ld-z80/labels.s: Likewise.
820 * testsuite/ld-z80/relocs.s: Likewise.
821 * testsuite/ld-z80/relocs_b_ez80.d: Likewise.
822 * testsuite/ld-z80/relocs_b_z80.d: Likewise.
823 * testsuite/ld-z80/relocs_f_z80.d: Likewise.
824 * testsuite/ld-z80/z80.exp: Likewise.
825 * NEWS: Mention the new support.
827 2020-01-02 Tamar Christina <tamar.christina@arm.com>
831 * emultempl/aarch64elf.em (elf${ELFSIZE}_aarch64_add_stub_section):
832 Remove SEC_LINKER_CREATED.
833 * testsuite/ld-aarch64/aarch64-elf.exp: Add erratum835769-843419.
834 * testsuite/ld-aarch64/erratum835769-843419.d: New test.
836 2020-01-01 Alan Modra <amodra@gmail.com>
838 Update year range in copyright notice of all files.
840 For older changes see ChangeLog-2019
842 Copyright (C) 2020 Free Software Foundation, Inc.
844 Copying and distribution of this file, with or without modification,
845 are permitted in any medium without royalty provided the copyright
846 notice and this notice are preserved.
852 version-control: never