1 2020-03-28 H.J. Lu <hongjiu.lu@intel.com>
4 * emulparams/elf_i386_ldso.sh (COMMONPAGESIZE): New.
5 * testsuite/ld-elf/shared.exp:Don't xfail pr20995-2 tests for
8 2020-03-27 H.J. Lu <hongjiu.lu@intel.com>
11 * testsuite/ld-elf/shared.exp: Xfail pr20995-2 tests for Solaris.
13 2020-03-27 H.J. Lu <hongjiu.lu@intel.com>
16 * testsuite/ld-ifunc/ifunc-23a-x86.d: Add notarget for Solaris.
17 * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise.
18 * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
20 2020-03-25 Alan Modra <amodra@gmail.com>
22 * testsuite/ld-elf/compress1c.d: xfail h8300.
23 * testsuite/ld-elf/compressed1c.d: Likewise.
24 * testsuite/ld-elf/compressed1e.d: Likewise.
25 * testsuite/ld-elf/dynamic1.d: Likewise.
26 * testsuite/ld-elf/dynsym1.d: Likewise.
27 * testsuite/ld-elf/ehdr_start-shared.d: Likewise.
28 * testsuite/ld-elf/exclude3b.d: Likewise.
29 * testsuite/ld-elf/export-class.exp: Don't run without -shared support.
30 * testsuite/ld-elf/global1.d: xfail h8300.
31 * testsuite/ld-elf/hash.d: Likewise.
32 * testsuite/ld-elf/loadaddr1.d: Likewise.
33 * testsuite/ld-elf/loadaddr2.d: Likewise.
34 * testsuite/ld-elf/local1.d: Likewise.
35 * testsuite/ld-elf/mbind1b.d: Likewise.
36 * testsuite/ld-elf/mbind1c.d: Likewise.
37 * testsuite/ld-elf/now-1.d: Likewise.
38 * testsuite/ld-elf/now-2.d: Likewise.
39 * testsuite/ld-elf/now-3.d: Likewise.
40 * testsuite/ld-elf/now-4.d: Likewise.
41 * testsuite/ld-elf/pie.d: Likewise.
42 * testsuite/ld-elf/pr12975.d: Likewise.
43 * testsuite/ld-elf/pr13177.d: Likewise.
44 * testsuite/ld-elf/pr13195.d: Likewise.
45 * testsuite/ld-elf/pr16322.d: Likewise.
46 * testsuite/ld-elf/pr16498a.d: Likewise.
47 * testsuite/ld-elf/pr16498b.d: Likewise.
48 * testsuite/ld-elf/pr17615.d: Likewise.
49 * testsuite/ld-elf/pr19162.d: Likewise.
50 * testsuite/ld-elf/pr19539.d: Likewise.
51 * testsuite/ld-elf/pr19617a.d: Likewise.
52 * testsuite/ld-elf/pr19698.d: Likewise.
53 * testsuite/ld-elf/pr20513c.d: Likewise.
54 * testsuite/ld-elf/pr20513d.d: Likewise.
55 * testsuite/ld-elf/pr21389a.d: Likewise.
56 * testsuite/ld-elf/pr21389b.d: Likewise.
57 * testsuite/ld-elf/pr21389c.d: Likewise.
58 * testsuite/ld-elf/pr21562a.d: Likewise.
59 * testsuite/ld-elf/pr21562b.d: Likewise.
60 * testsuite/ld-elf/pr21562c.d: Likewise.
61 * testsuite/ld-elf/pr21562d.d: Likewise.
62 * testsuite/ld-elf/pr21562e.d: Likewise.
63 * testsuite/ld-elf/pr21562f.d: Likewise.
64 * testsuite/ld-elf/pr21562g.d: Likewise.
65 * testsuite/ld-elf/pr21562h.d: Likewise.
66 * testsuite/ld-elf/pr21562i.d: Likewise.
67 * testsuite/ld-elf/pr21562j.d: Likewise.
68 * testsuite/ld-elf/pr21562k.d: Likewise.
69 * testsuite/ld-elf/pr21562l.d: Likewise.
70 * testsuite/ld-elf/pr21562m.d: Likewise.
71 * testsuite/ld-elf/pr21562n.d: Likewise.
72 * testsuite/ld-elf/pr21903a.d: Likewise.
73 * testsuite/ld-elf/pr21903b.d: Likewise.
74 * testsuite/ld-elf/pr21903d.d: Likewise.
75 * testsuite/ld-elf/pr22269a.d: Likewise.
76 * testsuite/ld-elf/pr22269b.d: Likewise.
77 * testsuite/ld-elf/pr22393-1a.d: Likewise.
78 * testsuite/ld-elf/pr22393-1b.d: Likewise.
79 * testsuite/ld-elf/pr22393-1c.d: Likewise.
80 * testsuite/ld-elf/pr22393-1d.d: Likewise.
81 * testsuite/ld-elf/pr22393-1e.d: Likewise.
82 * testsuite/ld-elf/pr22393-1f.d: Likewise.
83 * testsuite/ld-elf/pr22423.d: Likewise.
84 * testsuite/ld-elf/pr22450.d: xfail avr, crx, h8300, ip2k, m68hc11,
86 * testsuite/ld-elf/pr23658-1c.d: xfail h8300.
87 * testsuite/ld-elf/pr25708.d: xfail h8300 and hppa64.
88 * testsuite/ld-elf/rpath-1.d: xfail h8300.
89 * testsuite/ld-elf/rpath-2.d: Likewise.
90 * testsuite/ld-elf/runpath-1.d: Likewise.
91 * testsuite/ld-elf/runpath-2.d: Likewise.
92 * testsuite/ld-elf/sizeofb.d: Likewise.
93 * testsuite/ld-elf/startofb.d: Likewise.
94 * testsuite/ld-elf/strtab.d: Likewise.
95 * testsuite/ld-elf/textaddr1.d: Likewise.
96 * testsuite/ld-elf/textaddr2.d: Likewise.
97 * testsuite/ld-elf/textaddr4.d: Likewise.
98 * testsuite/ld-elf/textaddr5.d: Likewise.
99 * testsuite/ld-elf/textaddr6.d: Likewise.
100 * testsuite/ld-elf/unknown2.d: Likewise.
101 * testsuite/ld-undefined/entry-3.d: Likewise.
102 * testsuite/ld-undefined/entry-4.d: Likewise.
103 * testsuite/ld-h8300/h8300.exp: Pass appropriate ld -m option.
104 * testsuite/ld-h8300/gcsection.d: Remove ld -m option and relax
106 * testsuite/ld-h8300/relax-2.d: Likewise.
107 * testsuite/ld-h8300/relax-3.d: Likewise.
108 * testsuite/ld-h8300/relax-4.d: Likewise.
109 * testsuite/ld-h8300/relax-5.d: Likewise.
110 * testsuite/ld-h8300/relax-6.d: Likewise.
111 * testsuite/ld-h8300/relax-7.d: Likewise.
112 * testsuite/ld-h8300/relax.d: Relax file format match.
114 2020-03-24 H.J. Lu <hongjiu.lu@intel.com>
117 * testsuite/ld-elf/pr25708.d: New file.
119 2020-03-23 Alan Modra <amodra@gmail.com>
121 * Makefile.am (ALL_EMULATION_SOURCES): Reinstate ei386aout.c.
122 Include ei386aout dep file.
123 * Makefile.in: Regenerate.
124 * po/BLD-POTFILES.in: Regenerate.
126 2020-03-20 H.J. Lu <hongjiu.lu@intel.com>
128 * testsuite/ld-plugin/lto.exp (lto_link_tests): Run PR ld/25355
129 test only for GCC 10 or newer.
131 2020-03-20 Alan Modra <amodra@gmail.com>
133 * testplug.c (parse_symdefstr): Use %hhi to read sym->def, and
135 * testplug2.c (parse_symdefstr): Likewise.
136 * testplug3.c (parse_symdefstr): Likewise.
137 * testplug4.c (parse_symdefstr): Likewise.
139 2020-03-18 Christophe Lyon <christophe.lyon@linaro.org>
141 * testsuite/ld-arm/non-contiguous-arm4.d: Fix expected output.
142 * testsuite/ld-powerpc/non-contiguous-powerpc.d: Likewise.
144 2020-03-18 Christophe Lyon <christophe.lyon@linaro.org>
146 * emultempl/xtensaelf.em: Emit a fatal error message
147 instead of calling abort.
148 * ldlang.c: Likewise.
150 2020-03-14 Alan Modra <amodra@gmail.com>
152 * testsuite/ld-elf/non-contiguous.d: Don't xfail generic ELF
153 targets. Don't skip xtensa, xfail instead.
155 2020-03-13 Christophe Lyon <christophe.lyon@linaro.org>
157 * ldlang.c (lang_add_section): Add support for
158 non_contiguous_regions.
159 (size_input_section): Likewise.
160 (lang_size_sections_1): Likewise.
161 (process_insert_statements): Likewise.
162 * ldlex.h (option_values): Add OPTION_NON_CONTIGUOUS_REGIONS and
163 OPTION_NON_CONTIGUOUS_REGIONS_WARNINGS.
164 * lexsup.c (ld_options): Add entries for
165 --enable-non-contiguous-regions and
166 --enable-non-contiguous-regions-warnings.
167 (parse_args): Handle it.
168 * NEWS: Add --enable-non-contiguous-regions and
169 --enable-non-contiguous-regions-warnings.
170 * ld.texi: Add --enable-non-contiguous-regions and
171 --enable-non-contiguous-regions-warnings documentation.
172 * emultempl/armelf.em (elf32_arm_add_stub_section): Add
173 SEC_LINKER_CREATED flag.
174 * emultempl/xtensaelf.em (ld_build_required_section_dependence):
175 Emit an error when --enable-non-contiguous-regions is used.
176 * testsuite/ld-elf/non-contiguous.d: New.
177 * testsuite/ld-elf/non-contiguous.ld: New.
178 * testsuite/ld-elf/non-contiguous.s: New.
179 * testsuite/ld-arm/arm-elf.exp: Run the new tests.
180 * testsuite/ld-arm/arm-elf/non-contiguous-arm.s: New.
181 * testsuite/ld-arm/arm-elf/non-contiguous-arm.d: New.
182 * testsuite/ld-arm/arm-elf/non-contiguous-arm.ld: New.
183 * testsuite/ld-arm/arm-elf/non-contiguous-arm2.d: New.
184 * testsuite/ld-arm/arm-elf/non-contiguous-arm3.ld: New.
185 * testsuite/ld-arm/arm-elf/non-contiguous-arm3.d: New.
186 * testsuite/ld-arm/arm-elf/non-contiguous-arm3.ld: New.
187 * testsuite/ld-arm/arm-elf/non-contiguous-arm4.d: New.
188 * testsuite/ld-arm/arm-elf/non-contiguous-arm4.ld: New.
189 * testsuite/ld-arm/arm-elf/non-contiguous-arm5.d: New.
190 * testsuite/ld-arm/arm-elf/non-contiguous-arm5.ld: New.
191 * testsuite/ld-arm/arm-elf/non-contiguous-arm6.d: New.
192 * testsuite/ld-arm/arm-elf/non-contiguous-arm6.ld: New.
193 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
194 * testsuite/ld-powerpc/non-contiguous-powerpc.d: New.
195 * testsuite/ld-powerpc/non-contiguous-powerpc.ld: New.
196 * testsuite/ld-powerpc/non-contiguous-powerpc.sd: New.
197 * testsuite/ld-powerpc/non-contiguous-powerpc64.d: New.
199 2020-03-13 H.J. Lu <hongjiu.lu@intel.com>
202 * emulparams/elf32_x86_64.sh: Use static.sh.
203 * emulparams/elf_i386.sh: Likewise.
204 * emulparams/elf_x86_64.sh: Likewise.
205 * emulparams/static.sh: New file.
206 * emultempl/elf-x86.em: Include "ldlex.h".
207 * testsuite/ld-elf/pr24920.err: New file.
208 * testsuite/ld-elf/linux-x86.exp: Run ld/24920 tests.
210 2020-03-13 Christian Eggers <ceggers@gmx.de>
212 * ldexp.c (fold_name): Return SIZEOF_HEADERS in bytes.
214 2020-03-11 Alan Modra <amodra@gmail.com>
216 * ldelf.c (elf_orphan_compatible): Return false when two sections
217 have differing SHF_MASKPROC or SHF_MASKOS flags.
219 2020-03-05 Alan Modra <amodra@gmail.com>
222 * ldlang.c (lang_size_sections_1): Don't report changes on
223 second and subsequent iterations that make no change in
224 alignment from that already reported.
226 2020-03-05 Alan Modra <amodra@gmail.com>
229 * ldlang.c (lang_sizing_iteration): New static var.
230 (lang_size_sections_1): Warn about no memory region only on first
231 iteration. Warn about changing start address on first iteration
232 then any delta from that on subsequent iterations. Report a signed
234 (one_lang_size_sections_pass): Increment lang_sizing_iteration.
236 2020-03-03 Nick Clifton <nickc@redhat.com>
239 * ld.texi (Options): Update the description of the --rpath-link
242 2020-03-02 Alan Modra <amodra@gmail.com>
244 * plugin.c (plugin_object_p): Return a bfd_cleanup.
245 (plugin_cleanup): New function.
247 2020-03-01 H.J. Lu <hongjiu.lu@intel.com>
250 * plugin.c (plugin_object_p): Copy the no_export field to the IR
252 * testsuite/ld-plugin/lto.exp (lto_link_elf_tests): Add
254 * testsuite/ld-plugin/pr25618.d: New file.
255 * testsuite/ld-plugin/pr25618a.cc: Likewise.
256 * testsuite/ld-plugin/pr25618a.h: Likewise.
257 * testsuite/ld-plugin/pr25618b.cc: Likewise.
258 * testsuite/ld-plugin/pr25618b.h: Likewise.
260 2020-02-27 Alan Modra <amodra@gmail.com>
263 * testsuite/ld-mmix/b-fixo2.d: Adjust for .data change.
264 * testsuite/ld-mmix/sec-2.d: Likewise.
265 * testsuite/ld-mmix/sec-3.d: Likewise.
266 * testsuite/ld-mmix/sec-4.d: Likewise.
267 * testsuite/ld-mmix/spec802.d: Likewise.
268 * testsuite/ld-mmix/spec803.d: Likewise.
269 * testsuite/ld-mmix/spec804.d: Likewise.
270 * testsuite/ld-mmix/spec805.d: Likewise.
271 * testsuite/ld-mmix/spec806.d: Likewise.
272 * testsuite/ld-mmix/spec807.d: Likewise.
273 * testsuite/ld-mmix/spec808.d: Likewise.
275 2020-02-26 H.J. Lu <hongjiu.lu@intel.com>
278 * testsuite/ld-plugin/lto.exp: Run PR ld/25593 tests.
279 * testsuite/ld-plugin/pr25593.d: New file.
280 * testsuite/ld-plugin/pr25593a-1.c: Likewise.
281 * testsuite/ld-plugin/pr25593a-2.c: Likewise.
282 * testsuite/ld-plugin/pr25593b.c: Likewise.
283 * testsuite/ld-plugin/pr25593c.c: Likewise.
284 * testsuite/ld-plugin/pr25593d.c: Likewise.
285 * testsuite/ld-plugin/pr25593e.c: Likewise.
287 2020-02-26 Alan Modra <amodra@gmail.com>
289 * emultempl/cskyelf.em: Indent labels correctly.
290 * ldfile.c: Likewise.
291 * ldlang.c: Likewise.
292 * plugin.c: Likewise.
294 2020-02-26 Alan Modra <amodra@gmail.com>
297 * ldelf.c (ldelf_try_needed): Add DT_NEEDED lib to input_bfds.
298 (ldelf_after_open): Save state of input_bfds list before loading
299 DT_NEEDED libs. Traverse input_bfds list adding DT_NEEDED tags.
300 Restore input_bfds list.
301 * testsuite/ld-cris/gotplt1.d: Adjust for changed .dynstr order.
303 2020-02-24 Nick Clifton <nickc@redhat.com>
305 * po/fr.po: Update French translation.
307 2020-02-22 Alan Modra <amodra@gmail.com>
310 * NEWS: Mention better "PHDR segment not covered by LOAD segment"
313 2020-02-19 Sergey Belyashov <sergey.belyashov@gmail.com>
316 * emultempl/z80.em: Remove machine compatability checking.
318 2020-02-19 Sergey Belyashov <sergey.belyashov@gmail.com>
321 * testsuite/ld-z80/arch_ez80_adl.d: Update command line.
322 * testsuite/ld-z80/arch_ez80_z80.d: Likewise.
323 * testsuite/ld-z80/arch_r800.d: Likewise.
324 * testsuite/ld-z80/arch_z180.d: Likewise.
325 * testsuite/ld-z80/arch_z80n.d: Likewise.
326 * testsuite/ld-z80/comb_arch_ez80_z80.d: Likewise.
327 * testsuite/ld-z80/comb_arch_z180_z80.d: Likewise.
328 * testsuite/ld-z80/comb_arch_z80_ez80.d: Likewise.
329 * testsuite/ld-z80/comb_arch_z80_z180.d: Likewise.
330 * testsuite/ld-z80/comb_arch_z80_z80n.d: Likewise.
331 * testsuite/ld-z80/relocs_b_ez80.d: Likewise.
332 * testsuite/ld-z80/relocs_b_z80.d: Likewise.
333 * testsuite/ld-z80/relocs_f_ez80.d: Likewise.
334 * testsuite/ld-z80/relocs_f_z80.d: Likewise.
335 * testsuite/ld-z80/relocs_f_z80n.d: Likewise.
337 2020-02-19 Alan Modra <amodra@gmail.com>
339 * testsuite/ld-plugin/pr25355.d: Allow alpha-linux nm result.
341 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
344 * testsuite/ld-plugin/lto.exp: Run PR binutils/25355 test.
345 * testsuite/ld-plugin/pr25355.c: New file.
346 * testsuite/ld-plugin/pr25355.d: Likewise.
347 * testsuite/lib/ld-lib.exp (run_cc_link_tests): Support compile
350 2020-02-07 H.J. Lu <hongjiu.lu@intel.com>
352 * testsuite/ld-unique/unique.exp (contains_unique_symbol): Updated.
354 2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
357 * emulparams/elf32z80.sh: Use z80 emulation.
358 * emultempl/z80.em: Make generic to both COFF and ELF Z80 emulations.
359 * emultempl/z80elf.em: Delete.
360 * testsuite/ld-elf/pr22450.d: Expect to fail for the Z80.
361 * testsuite/ld-elf/sec64k.exp: Fix Z80 assembly.
362 * testsuite/ld-unique/pr21529.s: Avoid register name conflict.
363 * testsuite/ld-unique/unique.s: Likewise.
364 * testsuite/ld-unique/unique_empty.s: Likewise.
365 * testsuite/ld-unique/unique_shared.s: Likewise.
366 * testsuite/ld-unique/unique.d: Updated expected output.
367 * testsuite/ld-z80/arch_z80n.d: New file.
368 * testsuite/ld-z80/comb_arch_z80_z80n.d: New file.
369 * testsuite/ld-z80/labels.s: Add more labels.
370 * testsuite/ld-z80/relocs.s: Add more reloc tests.
371 * testsuite/ld-z80/relocs_f_z80n.d: New file
373 2020-02-07 H.J. Lu <hongjiu.lu@intel.com>
376 * testsuite/ld-elf/pr25022.d: Xfail more targets which don't use
377 ldelf_before_place_orphans.
379 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
382 * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Add
383 before_place_orphans_default.
384 * emultempl/armcoff.em (ld_${EMULATION_NAME}_emulation): Likewise.
385 * emultempl/beos.em (ld_${EMULATION_NAME}_emulation): Likewise.
386 * emultempl/generic.em (ld_${EMULATION_NAME}_emulation): Likewise.
387 * emultempl/linux.em (ld_${EMULATION_NAME}_emulation): Likewise.
388 * emultempl/msp430.em (ld_${EMULATION_NAME}_emulation): Likewise.
389 * emultempl/pe.em (ld_${EMULATION_NAME}_emulation): Likewise.
390 * emultempl/pep.em (ld_${EMULATION_NAME}_emulation): Likewise.
391 * emultempl/ticoff.em (ld_${EMULATION_NAME}_emulation): Likewise.
392 * emultempl/vanilla.em (ld_${EMULATION_NAME}_emulation): Likewise.
393 * emultempl/elf.em (ld_${EMULATION_NAME}_emulation): Use
394 ldelf_before_place_orphans.
395 * ldelf.c (ldelf_before_place_orphans): New.
396 * ldelf.h (ldelf_before_place_orphans): Likewise.
397 * ldemul.c (ldemul_before_place_orphans): Likewise.
398 (before_place_orphans_default): Likewise.
399 * ldemul.h (ldemul_before_place_orphans): Likewise.
400 (before_place_orphans_default): Likewise.
401 (ld_emulation_xfer_struct): Add before_place_orphans.
402 * ldlang.c (lang_process): Call ldemul_before_place_orphans
403 before lang_place_orphans.
404 * testsuite/ld-elf/pr25022.d: New file.
405 * testsuite/ld-elf/pr25022.s: Likewise.
406 * testsuite/ld-elf/pr25022.t: Likewise.
408 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
411 * testsuite/ld-elf/pr25490-1.d: New file.
412 * testsuite/ld-elf/pr25490-1.s: Likewise.
414 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
419 * testsuite/ld-elf/elf.exp: Run PR ld/25490 tests.
420 * testsuite/ld-elf/pr24526.d: New file.
421 * testsuite/ld-elf/pr24526.s: Likewise.
422 * testsuite/ld-elf/pr25021.d: Likewise.
423 * testsuite/ld-elf/pr25021.s: Likewise.
424 * testsuite/ld-elf/pr25490-2-16.rd: Likewise.
425 * testsuite/ld-elf/pr25490-2-32.rd: Likewise.
426 * testsuite/ld-elf/pr25490-2-64.rd: Likewise.
427 * testsuite/ld-elf/pr25490-2.s: Likewise.
428 * testsuite/ld-elf/pr25490-3-16.rd: Likewise.
429 * testsuite/ld-elf/pr25490-3-32.rd: Likewise.
430 * testsuite/ld-elf/pr25490-3-64.rd: Likewise.
431 * testsuite/ld-elf/pr25490-3.s: Likewise.
432 * testsuite/ld-elf/pr25490-4-16.rd: Likewise.
433 * testsuite/ld-elf/pr25490-4-32.rd: Likewise.
434 * testsuite/ld-elf/pr25490-4-64.rd: Likewise.
435 * testsuite/ld-elf/pr25490-4.s: Likewise.
436 * testsuite/ld-elf/pr25490-5-16.rd: Likewise.
437 * testsuite/ld-elf/pr25490-5-32.rd: Likewise.
438 * testsuite/ld-elf/pr25490-5-64.rd: Likewise.
439 * testsuite/ld-elf/pr25490-5.s: Likewise.
440 * testsuite/ld-elf/pr25490-6-16.rd: Likewise.
441 * testsuite/ld-elf/pr25490-6-32.rd: Likewise.
442 * testsuite/ld-elf/pr25490-6-64.rd: Likewise.
443 * testsuite/ld-elf/pr25490-6.s: Likewise.
445 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
447 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark
448 z80 as not supported.
450 2020-02-06 Alan Modra <amodra@gmail.com>
452 * testsuite/ld-ifunc/ifunc.exp: Enable for more targets, specifying
453 targets that don't support ifunc rather than ones that do.
454 (contains_irelative_reloc): Match R_PARISC_IPLT.
455 * testsuite/ld-ifunc/lib.c: Don't use .set in asm.
456 * testsuite/ld-ifunc/ifunc-23-x86.s,
457 * testsuite/ld-ifunc/ifunc-24-x86.s,
458 * testsuite/ld-ifunc/ifunc-25-x86.s,
459 * testsuite/ld-ifunc/ifunc-4-local-x86.s,
460 * testsuite/ld-ifunc/ifunc-4-x86.s: Define _main.
461 * testsuite/ld-ifunc/ifunc-10-i386.d,
462 * testsuite/ld-ifunc/ifunc-11-i386.d,
463 * testsuite/ld-ifunc/ifunc-12-i386.d,
464 * testsuite/ld-ifunc/ifunc-13-i386.d,
465 * testsuite/ld-ifunc/ifunc-14a-i386.d,
466 * testsuite/ld-ifunc/ifunc-14b-i386.d,
467 * testsuite/ld-ifunc/ifunc-14c-i386.d,
468 * testsuite/ld-ifunc/ifunc-14d-i386.d,
469 * testsuite/ld-ifunc/ifunc-14e-i386.d,
470 * testsuite/ld-ifunc/ifunc-14f-i386.d,
471 * testsuite/ld-ifunc/ifunc-15-i386.d,
472 * testsuite/ld-ifunc/ifunc-16-i386-now.d,
473 * testsuite/ld-ifunc/ifunc-16-i386.d,
474 * testsuite/ld-ifunc/ifunc-17a-i386.d,
475 * testsuite/ld-ifunc/ifunc-17b-i386.d,
476 * testsuite/ld-ifunc/ifunc-18a-i386.d,
477 * testsuite/ld-ifunc/ifunc-18b-i386.d,
478 * testsuite/ld-ifunc/ifunc-19a-i386.d,
479 * testsuite/ld-ifunc/ifunc-19b-i386.d,
480 * testsuite/ld-ifunc/ifunc-2-i386-now.d,
481 * testsuite/ld-ifunc/ifunc-2-i386.d,
482 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d,
483 * testsuite/ld-ifunc/ifunc-2-local-i386.d,
484 * testsuite/ld-ifunc/ifunc-20-i386.d,
485 * testsuite/ld-ifunc/ifunc-21-i386.d,
486 * testsuite/ld-ifunc/ifunc-22-i386.d,
487 * testsuite/ld-ifunc/ifunc-26.d,
488 * testsuite/ld-ifunc/ifunc-5a-i386.d,
489 * testsuite/ld-ifunc/ifunc-5a-local-i386.d,
490 * testsuite/ld-ifunc/ifunc-5b-i386.d,
491 * testsuite/ld-ifunc/ifunc-5b-local-i386.d,
492 * testsuite/ld-ifunc/ifunc-5r-local-i386.d,
493 * testsuite/ld-ifunc/ifunc-6a-i386.d,
494 * testsuite/ld-ifunc/ifunc-6b-i386.d,
495 * testsuite/ld-ifunc/ifunc-7a-i386.d,
496 * testsuite/ld-ifunc/ifunc-7b-i386.d,
497 * testsuite/ld-ifunc/ifunc-8-i386.d,
498 * testsuite/ld-ifunc/ifunc-9-i386.d,
499 * testsuite/ld-ifunc/pr17154-i386-now.d,
500 * testsuite/ld-ifunc/pr17154-i386.d: xfail lynxos, nto, and solaris.
502 2020-02-06 Alan Modra <amodra@gmail.com>
504 * testsuite/lib/ld-lib.exp (is_generic): Delete.
505 * testsuite/ld-unique/unique.exp: Exclude tic6x.
507 2020-02-06 Alan Modra <amodra@gmail.com>
509 * configure.tgt (i[3-7]86-*-moss*): Don't clear targ_extra_ofiles.
510 (i[3-7]86-*-openbsd*, x86_64-*-openbsd*): Add.
512 2020-02-02 H.J. Lu <hongjiu.lu@intel.com>
515 * testsuite/ld-i386/pr22001-1c.S: Use "unique,N" in .section
517 * testsuite/ld-i386/tls-gd1.S: Likewise.
518 * testsuite/ld-x86-64/pr21481b.S: Likewise.
520 2020-01-30 Jan Beulich <jbeulich@suse.com>
522 * ld.texi: Remove space between @option and brace.
524 2020-01-29 Alan Modra <amodra@gmail.com>
527 * ldelf.c (ldelf_check_ld_so_conf): Add prefix parameter and
529 (ldelf_after_open): Add prefix parameter.
530 * ldelf.h (ldelf_after_open): Update prototype.
531 * emultempl/elf.em (gld${EMULATION_NAME}_after_open): Pass $prefix
533 * Makefile.am: Correct z80 dependencies.
534 * Makefile.in: Regenerate.
536 2020-01-28 Alan Modra <amodra@gmail.com>
538 * ldexp.c (fold_name): Don't print bfd_link_hash_lookup failed
541 2020-01-27 Alan Modra <amodra@gmail.com>
543 * testsuite/ld-elfvers/vers.exp: Replace case statements with
545 * testsuite/ld-ifunc/ifunc.exp: Likewise.
546 * testsuite/ld-unique/unique.exp: Likewise.
548 2020-01-27 H.J. Lu <hongjiu.lu@intel.com>
549 Alan Modra <amodra@gmail.com>
552 * testsuite/ld-elf/pr25458.map: New file.
553 * testsuite/ld-elf/pr25458.rd: Likewise.
554 * testsuite/ld-elf/pr25458a.s: Likewise.
555 * testsuite/ld-elf/pr25458b.s: Likewise.
556 * testsuite/ld-elf/shared.exp: Run PR ld/25458 test.
558 2020-01-22 H.J. Lu <hongjiu.lu@intel.com>
561 * testsuite/ld-x86-64/tls.exp: Skip GNU2 TLS tests only without
564 2020-01-22 Alan Modra <amodra@gmail.com>
566 * testsuite/ld-powerpc/tlsdesc3.d,
567 * testsuite/ld-powerpc/tlsdesc3.wf,
568 * testsuite/ld-powerpc/tlsdesc4.d,
569 * testsuite/ld-powerpc/tlsdesc4.s,
570 * testsuite/ld-powerpc/tlsdesc4.wf: New tests.
571 * testsuite/ld-powerpc/powerpc.exp: Run them.
573 2020-01-22 Alan Modra <amodra@gmail.com>
575 * emultempl/ppc64elf.em (ppc64_opt, PARSE_AND_LIST_LONGOPTS),
576 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Support
577 --tls-get-addr-regsave and --no-tls-get-addr-regsave.
578 (params): Init new field.
579 * ld.texi (--tls-get-addr-regsave, --no-tls-get-addr-regsave):
581 * testsuite/ld-powerpc/tlsdesc.s,
582 * testsuite/ld-powerpc/tlsdesc.d,
583 * testsuite/ld-powerpc/tlsdesc.wf,
584 * testsuite/ld-powerpc/tlsdesc2.d,
585 * testsuite/ld-powerpc/tlsdesc2.wf,
586 * testsuite/ld-powerpc/tlsexenors.d,
587 * testsuite/ld-powerpc/tlsexenors.r,
588 * testsuite/ld-powerpc/tlsexers.d,
589 * testsuite/ld-powerpc/tlsexers.r,
590 * testsuite/ld-powerpc/tlsexetocnors.d,
591 * testsuite/ld-powerpc/tlsexetocrs.d,
592 * testsuite/ld-powerpc/tlsexetocrs.r,
593 * testsuite/ld-powerpc/tlsopt6.d,
594 * testsuite/ld-powerpc/tlsopt6.wf: New.
595 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
597 2020-01-22 Yuri Chornoivan <yurchor@mageia.org>
600 * ldlang.c (ldlang_open_ctf): Fix error message typo.
601 * emultempl/z80elf.em (z80_elf_after_open): Likewise.
603 2020-01-21 H.J. Lu <hongjiu.lu@intel.com>
605 * testsuite/ld-elf/pr23900-1.d: Adjusted.
607 2020-01-21 H.J. Lu <hongjiu.lu@intel.com>
609 * testsuite/ld-elf/pr23900-1.d: Also pass -l to readelf.
611 2020-01-20 Nick Clifton <nickc@redhat.com>
613 * po/pt_BR.po: Updated Brazilian Portuguese translation.
614 * po/uk.po: Updated Ukranian translation.
616 2020-01-20 H.J. Lu <hongjiu.lu@intel.com>
619 * testsuite/ld-x86-64/pr25416-1.s: New file
620 * testsuite/ld-x86-64/pr25416-1a.d: Likewise.
621 * testsuite/ld-x86-64/pr25416-1b.d: Likewise.
622 * testsuite/ld-x86-64/pr25416-1.s: Likewise.
623 * testsuite/ld-x86-64/pr25416-2.s: Likewise.
624 * testsuite/ld-x86-64/pr25416-2a.d: Likewise.
625 * testsuite/ld-x86-64/pr25416-2b.d: Likewise.
626 * testsuite/ld-x86-64/pr25416-3.d: Likewise.
627 * testsuite/ld-x86-64/pr25416-3.s: Likewise.
628 * testsuite/ld-x86-64/pr25416-4.d: Likewise.
629 * testsuite/ld-x86-64/pr25416-4.s: Likewise.
630 * testsuite/ld-x86-64/pr25416-5a.c: Likewise.
631 * testsuite/ld-x86-64/pr25416-5b.s: Likewise.
632 * testsuite/ld-x86-64/pr25416-5c.s: Likewise.
633 * testsuite/ld-x86-64/pr25416-5d.s: Likewise.
634 * testsuite/ld-x86-64/pr25416-5e.s: Likewise.
635 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/25416 tests.
637 2020-01-20 Alan Modra <amodra@gmail.com>
639 * testsuite/ld-powerpc/tlsexe.d: Match new __tls_get_addr stub.
640 * testsuite/ld-powerpc/tlsexeno.d: Likewise.
641 * testsuite/ld-powerpc/tlsexetoc.d: Likewise.
642 * testsuite/ld-powerpc/tlsexetocno.d: Likewise.
643 * testsuite/ld-powerpc/tlsopt5.d: Likewise.
645 2020-01-18 Roland McGrath <mcgrathr@google.com>
647 * testsuite/ld-x86-64/align-branch-1.d: Loosen instruction regexps
648 to admit whatever absolute address. The label-relative address is
649 what the test needs to verify.
651 2020-01-18 Nick Clifton <nickc@redhat.com>
653 * configure: Regenerate.
654 * po/ld.pot: Regenerate.
656 2020-01-18 Nick Clifton <nickc@redhat.com>
658 Binutils 2.34 branch created.
660 2020-01-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
662 * scripttempl/elf32msp430_3.sc: Remove.
664 2020-01-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
666 * scripttempl/elf32msp430.sc: Add input section rules for
667 .upper.{text,data,rodata,bss}.
668 * testsuite/ld-msp430-elf/msp430-elf.exp: Run new test.
669 * testsuite/ld-msp430-elf/upper-input-sections.s: New test.
671 2020-01-15 Lars Brinkhoff <lars@nocrew.org>
674 * temulparams/pdp11.sh (TARGET_PAGE_SIZE): Set to 8192.
676 2020-01-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
678 * testsuite/ld-msp430-elf/msp430-elf.exp: Run new test.
679 * testsuite/ld-msp430-elf/reloc-lo-430x.s: New test.
681 2020-01-15 Alan Modra <amodra@gmail.com>
683 * testsuite/ld-powerpc/ambiguousv1b.d: Adjust expected output.
684 * testsuite/ld-powerpc/funref.s: Align func_tab.
685 * testsuite/ld-powerpc/funref2.s: Likewise.
686 * testsuite/ld-powerpc/funv1.s: Add dot symbols.
688 2020-01-14 Lili Cui <lili.cui@intel.com>
690 * testsuite/ld-i386/align-branch-1.d: Updated for i686-pc-elf.
692 2020-01-13 Alan Modra <amodra@gmail.com>
694 * po/BLD-POTFILES.in: Regenerate.
696 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
698 * testsuite/ld-arc/relax-local-pic.d: Improve matching patterns.
700 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
702 * Makefile.am: Remove earcelf_prof.c and earclinux_prof.c
704 * configure.tgt: Likewise.
705 * Makefile.in: Regenerate.
706 * emulparams/arcelf_prof.sh: Remove file.
707 * emulparams/arclinux_prof.sh: Likewise.
709 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
711 * scripttempl/elfarcv2.sc : Allow interrupt vector table to be
712 located at an arbitrary address. Use DWARF.sc file.
713 * scripttempl/elfarc.sc: Use DWARF.sc file.
715 2020-01-07 Alan Modra <amodra@gmail.com>
717 * testsuite/ld-mips-elf/eh-frame5.s,
718 * testsuite/ld-mips-elf/ehdr_start-new.s,
719 * testsuite/ld-mips-elf/ehdr_start-o32.s,
720 * testsuite/ld-mips-elf/mips16-call-global-1.s,
721 * testsuite/ld-mips-elf/mips16-intermix-1.s,
722 * testsuite/ld-mips-elf/mips16-pic-1b.s,
723 * testsuite/ld-mips-elf/mips16-pic-4c.s,
724 * testsuite/ld-mips-elf/no-shared-1-n64.s,
725 * testsuite/ld-mips-elf/no-shared-1-o32.s,
726 * testsuite/ld-mips-elf/pic-and-nonpic-1b-micromips.s,
727 * testsuite/ld-mips-elf/pic-and-nonpic-1b.s,
728 * testsuite/ld-mips-elf/pic-and-nonpic-2a.s,
729 * testsuite/ld-mips-elf/pic-and-nonpic-3b.s,
730 * testsuite/ld-mips-elf/pic-and-nonpic-4b.s,
731 * testsuite/ld-mips-elf/pic-and-nonpic-5a.s,
732 * testsuite/ld-mips-elf/pic-and-nonpic-6-n32c.s,
733 * testsuite/ld-mips-elf/pic-and-nonpic-6-n64c.s,
734 * testsuite/ld-mips-elf/pic-and-nonpic-6-o32c.s,
735 * testsuite/ld-mips-elf/pie.s,
736 * testsuite/ld-mips-elf/relax-jalr.s: Revert 2019-12-17 change.
738 2020-01-06 Nick Clifton <nickc@redhat.com>
741 * testsuite/ld-elf/shared.exp: Add -fcommon option to compiler
742 command line when building libcomm1.o and pr13250 tests.
743 * testsuite/ld-plugin/lto.exp: Likewise for pr20267 tests.
745 2020-01-06 Nick Clifton <nickc@redhat.com>
748 * testsuite/ld-elf/shared.exp: Add -fcommon option to compiler
749 command line when building pr19579 binaries.
751 2020-01-03 Hannes Domani <ssbssa@yahoo.de>
753 * emultempl/pe.em: Add new option --enable-reloc-section.
754 * emultempl/pep.em: Likewise.
755 * ld.texi: Document --enable-reloc-section.
756 * pe-dll.c (pe_dll_build_sections): Use pe_dll_enable_reloc_section.
757 (pe_dll_fill_sections): Simplify by calling pe_exe_fill_sections.
758 * pe-dll.h: Add extern declaration of option flag.
759 * pep-dll.c (pe_dll_enable_reloc_section):
760 Add alias define for pep_dll_enable_reloc_section.
761 * pep-dll.h: Add extern declaration of option flag.
763 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
765 * Makefile.am: Add new target z80-elf
766 * configure.tgt: Likewise.
767 * Makefile.in: Regenerate.
768 * emultempl/z80.em: Add support for eZ80 and Z180 architectures.
769 * emulparams/elf32z80.sh: New file.
770 * emultempl/z80elf.em: Likewise.
771 * testsuite/ld-elf/comm-data4.s: Fix for Z80.
772 * testsuite/ld-elf/comm-data5.s: Fix for Z80.
773 * testsuite/ld-scripts/fill16.d: Fix for Z80.
774 * testsuite/ld-z80/arch_ez80_adl.d: Likewise.
775 * testsuite/ld-z80/arch_ez80_z80.d: Likewise.
776 * testsuite/ld-z80/arch_r800.d: Likewise.
777 * testsuite/ld-z80/arch_z180.d: Likewise.
778 * testsuite/ld-z80/arch_z80.d: Likewise.
779 * testsuite/ld-z80/comb_arch_ez80_z80.d: Likewise.
780 * testsuite/ld-z80/comb_arch_z180.d: Likewise.
781 * testsuite/ld-z80/labels.s: Likewise.
782 * testsuite/ld-z80/relocs.s: Likewise.
783 * testsuite/ld-z80/relocs_b_ez80.d: Likewise.
784 * testsuite/ld-z80/relocs_b_z80.d: Likewise.
785 * testsuite/ld-z80/relocs_f_z80.d: Likewise.
786 * testsuite/ld-z80/z80.exp: Likewise.
787 * NEWS: Mention the new support.
789 2020-01-02 Tamar Christina <tamar.christina@arm.com>
793 * emultempl/aarch64elf.em (elf${ELFSIZE}_aarch64_add_stub_section):
794 Remove SEC_LINKER_CREATED.
795 * testsuite/ld-aarch64/aarch64-elf.exp: Add erratum835769-843419.
796 * testsuite/ld-aarch64/erratum835769-843419.d: New test.
798 2020-01-01 Alan Modra <amodra@gmail.com>
800 Update year range in copyright notice of all files.
802 For older changes see ChangeLog-2019
804 Copyright (C) 2020 Free Software Foundation, Inc.
806 Copying and distribution of this file, with or without modification,
807 are permitted in any medium without royalty provided the copyright
808 notice and this notice are preserved.
814 version-control: never