1 2020-04-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3 * testsuite/ld-ifunc/ifunc-10-i386.d: Remove *-*-solaris2* from
5 * ifunc-11-i386.d: Likewise.
6 * ifunc-12-i386.d: Likewise.
7 * ifunc-13-i386.d: Likewise.
8 * ifunc-14a-i386.d: Likewise.
9 * ifunc-14b-i386.d: Likewise.
10 * ifunc-14c-i386.d: Likewise.
11 * ifunc-14d-i386.d: Likewise.
12 * ifunc-14e-i386.d: Likewise.
13 * ifunc-14f-i386.d: Likewise.
14 * ifunc-15-i386.d: Likewise.
15 * ifunc-16-i386-now.d: Likewise.
16 * ifunc-16-i386.d: Likewise.
17 * ifunc-17a-i386.d: Likewise.
18 * ifunc-17b-i386.d: Likewise.
19 * ifunc-18a-i386.d: Likewise.
20 * ifunc-18b-i386.d: Likewise.
21 * ifunc-19a-i386.d: Likewise.
22 * ifunc-19b-i386.d: Likewise.
23 * ifunc-2-i386-now.d: Likewise.
24 * ifunc-2-i386.d: Likewise.
25 * ifunc-2-local-i386-now.d: Likewise.
26 * ifunc-2-local-i386.d: Likewise.
27 * ifunc-20-i386.d: Likewise.
28 * ifunc-21-i386.d: Likewise.
29 * ifunc-22-i386.d: Likewise.
30 * ifunc-5a-i386.d: Likewise.
31 * ifunc-5a-local-i386.d: Likewise.
32 * ifunc-5b-i386.d: Likewise.
33 * ifunc-5b-local-i386.d: Likewise.
34 * ifunc-5r-local-i386.d: Likewise.
35 * ifunc-6a-i386.d: Likewise.
36 * ifunc-6b-i386.d: Likewise.
37 * ifunc-7a-i386.d: Likewise.
38 * ifunc-7b-i386.d: Likewise.
39 * ifunc-8-i386.d: Likewise.
40 * ifunc-9-i386.d: Likewise.
41 * pr17154-i386-now.d: Likewise.
42 * pr17154-i386.d: Likewise.
44 * ifunc-23a-x86.d: Remove notarget.
45 * ifunc-24a-x86.d: Likewise.
46 * ifunc-25a-x86.d: Likewise.
48 2020-04-02 Nick Clifton <nickc@redhat.com>
51 * ldfile.c (ldfile_open_file): Fix typo in warning message.
53 2020-04-01 H.J. Lu <hongjiu.lu@intel.com>
57 * testsuite/ld-elf/linux-x86.exp: Run ld/25749 tests.
58 * testsuite/ld-elf/pr25749-1.c: New file.
59 * testsuite/ld-elf/pr25749-1a.c: Likewise.
60 * testsuite/ld-elf/pr25749-1b.c: Likewise.
61 * testsuite/ld-elf/pr25749-1b.err: Likewise.
62 * testsuite/ld-elf/pr25749-1c.c: Likewise.
63 * testsuite/ld-elf/pr25749-1d.c: Likewise.
64 * testsuite/ld-elf/pr25749-2.c: Likewise.
65 * testsuite/ld-elf/pr25749-2a.s: Likewise.
66 * testsuite/ld-elf/pr25749-2b.s: Likewise.
67 * testsuite/ld-elf/pr25749.rd: Likewise.
68 * testsuite/ld-elf/pr25754-1a.c: Likewise.
69 * testsuite/ld-elf/pr25754-1b.s: Likewise.
70 * testsuite/ld-elf/pr25754-2a.c: Likewise.
71 * testsuite/ld-elf/pr25754-2b.err: Likewise.
72 * testsuite/ld-elf/pr25754-2b.s: Likewise.
73 * testsuite/ld-elf/pr25754-3a.c: Likewise.
74 * testsuite/ld-elf/pr25754-3b.s: Likewise.
75 * testsuite/ld-elf/pr25754-4a.c: Likewise.
76 * testsuite/ld-elf/pr25754-4b.s: Likewise.
77 * testsuite/ld-elf/pr25754-4c.s: Likewise.
78 * testsuite/ld-elf/pr25754-5a.c: Likewise.
79 * testsuite/ld-elf/pr25754-5b.s: Likewise.
80 * testsuite/ld-elf/pr25754-5c.s: Likewise.
81 * testsuite/ld-elf/pr25754-6a.c: Likewise.
82 * testsuite/ld-elf/pr25754-6b.s: Likewise.
83 * testsuite/ld-x86-64/pr19609-6a.d: Don't expect linker error.
85 2020-04-01 Tamar Christina <tamar.christina@arm.com>
88 * testsuite/ld-arm/arm-elf.exp (thumb-plt, thumb-plt-got): Skip for NaCL.
90 2020-04-01 Nick Clifton <nickc@redhat.com>
93 * ldfile.c (ldfile_open_file): If a search for a library fails,
94 but there is a file that would match if it had a "lib" prefix to
95 its name, then tell the user.
97 2020-04-01 Tamar Christina <tamar.christina@arm.com>
100 * testsuite/ld-arm/arm-elf.exp (thumb-plt-got): New.
101 * testsuite/ld-arm/thumb-plt-got.d: New test.
103 2020-04-01 Tamar Christina <tamar.christina@arm.com>
105 * testsuite/ld-arm/arm-elf.exp (thumb-plt): New.
106 * testsuite/ld-arm/thumb-plt.d: New test.
107 * testsuite/ld-arm/thumb-plt.s: New test.
109 2020-04-01 Hans-Peter Nilsson <hp@bitrange.com>
111 * testsuite/ld-scripts/defined4.d: Don't xfail mmix-*-*.
113 2020-03-30 Nick Clifton <nickc@redhat.com>
116 * emultempl/pe.em (after_open): Replace initialisation of the
117 insert_timestamp field in the pe_data structure with an
118 initialisation of the timestamp field.
119 * emultemp/pep.em: Likewise.
120 * pe-dll.c (fill_edata): Use the timestamp field in the pe_data
121 structure instead of the insert_timestamp field.
123 2020-03-28 H.J. Lu <hongjiu.lu@intel.com>
126 * emulparams/elf_i386_ldso.sh (COMMONPAGESIZE): New.
127 * testsuite/ld-elf/shared.exp:Don't xfail pr20995-2 tests for
130 2020-03-27 H.J. Lu <hongjiu.lu@intel.com>
133 * testsuite/ld-elf/shared.exp: Xfail pr20995-2 tests for Solaris.
135 2020-03-27 H.J. Lu <hongjiu.lu@intel.com>
138 * testsuite/ld-ifunc/ifunc-23a-x86.d: Add notarget for Solaris.
139 * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise.
140 * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
142 2020-03-25 Alan Modra <amodra@gmail.com>
144 * testsuite/ld-elf/compress1c.d: xfail h8300.
145 * testsuite/ld-elf/compressed1c.d: Likewise.
146 * testsuite/ld-elf/compressed1e.d: Likewise.
147 * testsuite/ld-elf/dynamic1.d: Likewise.
148 * testsuite/ld-elf/dynsym1.d: Likewise.
149 * testsuite/ld-elf/ehdr_start-shared.d: Likewise.
150 * testsuite/ld-elf/exclude3b.d: Likewise.
151 * testsuite/ld-elf/export-class.exp: Don't run without -shared support.
152 * testsuite/ld-elf/global1.d: xfail h8300.
153 * testsuite/ld-elf/hash.d: Likewise.
154 * testsuite/ld-elf/loadaddr1.d: Likewise.
155 * testsuite/ld-elf/loadaddr2.d: Likewise.
156 * testsuite/ld-elf/local1.d: Likewise.
157 * testsuite/ld-elf/mbind1b.d: Likewise.
158 * testsuite/ld-elf/mbind1c.d: Likewise.
159 * testsuite/ld-elf/now-1.d: Likewise.
160 * testsuite/ld-elf/now-2.d: Likewise.
161 * testsuite/ld-elf/now-3.d: Likewise.
162 * testsuite/ld-elf/now-4.d: Likewise.
163 * testsuite/ld-elf/pie.d: Likewise.
164 * testsuite/ld-elf/pr12975.d: Likewise.
165 * testsuite/ld-elf/pr13177.d: Likewise.
166 * testsuite/ld-elf/pr13195.d: Likewise.
167 * testsuite/ld-elf/pr16322.d: Likewise.
168 * testsuite/ld-elf/pr16498a.d: Likewise.
169 * testsuite/ld-elf/pr16498b.d: Likewise.
170 * testsuite/ld-elf/pr17615.d: Likewise.
171 * testsuite/ld-elf/pr19162.d: Likewise.
172 * testsuite/ld-elf/pr19539.d: Likewise.
173 * testsuite/ld-elf/pr19617a.d: Likewise.
174 * testsuite/ld-elf/pr19698.d: Likewise.
175 * testsuite/ld-elf/pr20513c.d: Likewise.
176 * testsuite/ld-elf/pr20513d.d: Likewise.
177 * testsuite/ld-elf/pr21389a.d: Likewise.
178 * testsuite/ld-elf/pr21389b.d: Likewise.
179 * testsuite/ld-elf/pr21389c.d: Likewise.
180 * testsuite/ld-elf/pr21562a.d: Likewise.
181 * testsuite/ld-elf/pr21562b.d: Likewise.
182 * testsuite/ld-elf/pr21562c.d: Likewise.
183 * testsuite/ld-elf/pr21562d.d: Likewise.
184 * testsuite/ld-elf/pr21562e.d: Likewise.
185 * testsuite/ld-elf/pr21562f.d: Likewise.
186 * testsuite/ld-elf/pr21562g.d: Likewise.
187 * testsuite/ld-elf/pr21562h.d: Likewise.
188 * testsuite/ld-elf/pr21562i.d: Likewise.
189 * testsuite/ld-elf/pr21562j.d: Likewise.
190 * testsuite/ld-elf/pr21562k.d: Likewise.
191 * testsuite/ld-elf/pr21562l.d: Likewise.
192 * testsuite/ld-elf/pr21562m.d: Likewise.
193 * testsuite/ld-elf/pr21562n.d: Likewise.
194 * testsuite/ld-elf/pr21903a.d: Likewise.
195 * testsuite/ld-elf/pr21903b.d: Likewise.
196 * testsuite/ld-elf/pr21903d.d: Likewise.
197 * testsuite/ld-elf/pr22269a.d: Likewise.
198 * testsuite/ld-elf/pr22269b.d: Likewise.
199 * testsuite/ld-elf/pr22393-1a.d: Likewise.
200 * testsuite/ld-elf/pr22393-1b.d: Likewise.
201 * testsuite/ld-elf/pr22393-1c.d: Likewise.
202 * testsuite/ld-elf/pr22393-1d.d: Likewise.
203 * testsuite/ld-elf/pr22393-1e.d: Likewise.
204 * testsuite/ld-elf/pr22393-1f.d: Likewise.
205 * testsuite/ld-elf/pr22423.d: Likewise.
206 * testsuite/ld-elf/pr22450.d: xfail avr, crx, h8300, ip2k, m68hc11,
208 * testsuite/ld-elf/pr23658-1c.d: xfail h8300.
209 * testsuite/ld-elf/pr25708.d: xfail h8300 and hppa64.
210 * testsuite/ld-elf/rpath-1.d: xfail h8300.
211 * testsuite/ld-elf/rpath-2.d: Likewise.
212 * testsuite/ld-elf/runpath-1.d: Likewise.
213 * testsuite/ld-elf/runpath-2.d: Likewise.
214 * testsuite/ld-elf/sizeofb.d: Likewise.
215 * testsuite/ld-elf/startofb.d: Likewise.
216 * testsuite/ld-elf/strtab.d: Likewise.
217 * testsuite/ld-elf/textaddr1.d: Likewise.
218 * testsuite/ld-elf/textaddr2.d: Likewise.
219 * testsuite/ld-elf/textaddr4.d: Likewise.
220 * testsuite/ld-elf/textaddr5.d: Likewise.
221 * testsuite/ld-elf/textaddr6.d: Likewise.
222 * testsuite/ld-elf/unknown2.d: Likewise.
223 * testsuite/ld-undefined/entry-3.d: Likewise.
224 * testsuite/ld-undefined/entry-4.d: Likewise.
225 * testsuite/ld-h8300/h8300.exp: Pass appropriate ld -m option.
226 * testsuite/ld-h8300/gcsection.d: Remove ld -m option and relax
228 * testsuite/ld-h8300/relax-2.d: Likewise.
229 * testsuite/ld-h8300/relax-3.d: Likewise.
230 * testsuite/ld-h8300/relax-4.d: Likewise.
231 * testsuite/ld-h8300/relax-5.d: Likewise.
232 * testsuite/ld-h8300/relax-6.d: Likewise.
233 * testsuite/ld-h8300/relax-7.d: Likewise.
234 * testsuite/ld-h8300/relax.d: Relax file format match.
236 2020-03-24 H.J. Lu <hongjiu.lu@intel.com>
239 * testsuite/ld-elf/pr25708.d: New file.
241 2020-03-23 Alan Modra <amodra@gmail.com>
243 * Makefile.am (ALL_EMULATION_SOURCES): Reinstate ei386aout.c.
244 Include ei386aout dep file.
245 * Makefile.in: Regenerate.
246 * po/BLD-POTFILES.in: Regenerate.
248 2020-03-20 H.J. Lu <hongjiu.lu@intel.com>
250 * testsuite/ld-plugin/lto.exp (lto_link_tests): Run PR ld/25355
251 test only for GCC 10 or newer.
253 2020-03-20 Alan Modra <amodra@gmail.com>
255 * testplug.c (parse_symdefstr): Use %hhi to read sym->def, and
257 * testplug2.c (parse_symdefstr): Likewise.
258 * testplug3.c (parse_symdefstr): Likewise.
259 * testplug4.c (parse_symdefstr): Likewise.
261 2020-03-18 Christophe Lyon <christophe.lyon@linaro.org>
263 * testsuite/ld-arm/non-contiguous-arm4.d: Fix expected output.
264 * testsuite/ld-powerpc/non-contiguous-powerpc.d: Likewise.
266 2020-03-18 Christophe Lyon <christophe.lyon@linaro.org>
268 * emultempl/xtensaelf.em: Emit a fatal error message
269 instead of calling abort.
270 * ldlang.c: Likewise.
272 2020-03-14 Alan Modra <amodra@gmail.com>
274 * testsuite/ld-elf/non-contiguous.d: Don't xfail generic ELF
275 targets. Don't skip xtensa, xfail instead.
277 2020-03-13 Christophe Lyon <christophe.lyon@linaro.org>
279 * ldlang.c (lang_add_section): Add support for
280 non_contiguous_regions.
281 (size_input_section): Likewise.
282 (lang_size_sections_1): Likewise.
283 (process_insert_statements): Likewise.
284 * ldlex.h (option_values): Add OPTION_NON_CONTIGUOUS_REGIONS and
285 OPTION_NON_CONTIGUOUS_REGIONS_WARNINGS.
286 * lexsup.c (ld_options): Add entries for
287 --enable-non-contiguous-regions and
288 --enable-non-contiguous-regions-warnings.
289 (parse_args): Handle it.
290 * NEWS: Add --enable-non-contiguous-regions and
291 --enable-non-contiguous-regions-warnings.
292 * ld.texi: Add --enable-non-contiguous-regions and
293 --enable-non-contiguous-regions-warnings documentation.
294 * emultempl/armelf.em (elf32_arm_add_stub_section): Add
295 SEC_LINKER_CREATED flag.
296 * emultempl/xtensaelf.em (ld_build_required_section_dependence):
297 Emit an error when --enable-non-contiguous-regions is used.
298 * testsuite/ld-elf/non-contiguous.d: New.
299 * testsuite/ld-elf/non-contiguous.ld: New.
300 * testsuite/ld-elf/non-contiguous.s: New.
301 * testsuite/ld-arm/arm-elf.exp: Run the new tests.
302 * testsuite/ld-arm/arm-elf/non-contiguous-arm.s: New.
303 * testsuite/ld-arm/arm-elf/non-contiguous-arm.d: New.
304 * testsuite/ld-arm/arm-elf/non-contiguous-arm.ld: New.
305 * testsuite/ld-arm/arm-elf/non-contiguous-arm2.d: New.
306 * testsuite/ld-arm/arm-elf/non-contiguous-arm3.ld: New.
307 * testsuite/ld-arm/arm-elf/non-contiguous-arm3.d: New.
308 * testsuite/ld-arm/arm-elf/non-contiguous-arm3.ld: New.
309 * testsuite/ld-arm/arm-elf/non-contiguous-arm4.d: New.
310 * testsuite/ld-arm/arm-elf/non-contiguous-arm4.ld: New.
311 * testsuite/ld-arm/arm-elf/non-contiguous-arm5.d: New.
312 * testsuite/ld-arm/arm-elf/non-contiguous-arm5.ld: New.
313 * testsuite/ld-arm/arm-elf/non-contiguous-arm6.d: New.
314 * testsuite/ld-arm/arm-elf/non-contiguous-arm6.ld: New.
315 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
316 * testsuite/ld-powerpc/non-contiguous-powerpc.d: New.
317 * testsuite/ld-powerpc/non-contiguous-powerpc.ld: New.
318 * testsuite/ld-powerpc/non-contiguous-powerpc.sd: New.
319 * testsuite/ld-powerpc/non-contiguous-powerpc64.d: New.
321 2020-03-13 H.J. Lu <hongjiu.lu@intel.com>
324 * emulparams/elf32_x86_64.sh: Use static.sh.
325 * emulparams/elf_i386.sh: Likewise.
326 * emulparams/elf_x86_64.sh: Likewise.
327 * emulparams/static.sh: New file.
328 * emultempl/elf-x86.em: Include "ldlex.h".
329 * testsuite/ld-elf/pr24920.err: New file.
330 * testsuite/ld-elf/linux-x86.exp: Run ld/24920 tests.
332 2020-03-13 Christian Eggers <ceggers@gmx.de>
334 * ldexp.c (fold_name): Return SIZEOF_HEADERS in bytes.
336 2020-03-11 Alan Modra <amodra@gmail.com>
338 * ldelf.c (elf_orphan_compatible): Return false when two sections
339 have differing SHF_MASKPROC or SHF_MASKOS flags.
341 2020-03-05 Alan Modra <amodra@gmail.com>
344 * ldlang.c (lang_size_sections_1): Don't report changes on
345 second and subsequent iterations that make no change in
346 alignment from that already reported.
348 2020-03-05 Alan Modra <amodra@gmail.com>
351 * ldlang.c (lang_sizing_iteration): New static var.
352 (lang_size_sections_1): Warn about no memory region only on first
353 iteration. Warn about changing start address on first iteration
354 then any delta from that on subsequent iterations. Report a signed
356 (one_lang_size_sections_pass): Increment lang_sizing_iteration.
358 2020-03-03 Nick Clifton <nickc@redhat.com>
361 * ld.texi (Options): Update the description of the --rpath-link
364 2020-03-02 Alan Modra <amodra@gmail.com>
366 * plugin.c (plugin_object_p): Return a bfd_cleanup.
367 (plugin_cleanup): New function.
369 2020-03-01 H.J. Lu <hongjiu.lu@intel.com>
372 * plugin.c (plugin_object_p): Copy the no_export field to the IR
374 * testsuite/ld-plugin/lto.exp (lto_link_elf_tests): Add
376 * testsuite/ld-plugin/pr25618.d: New file.
377 * testsuite/ld-plugin/pr25618a.cc: Likewise.
378 * testsuite/ld-plugin/pr25618a.h: Likewise.
379 * testsuite/ld-plugin/pr25618b.cc: Likewise.
380 * testsuite/ld-plugin/pr25618b.h: Likewise.
382 2020-02-27 Alan Modra <amodra@gmail.com>
385 * testsuite/ld-mmix/b-fixo2.d: Adjust for .data change.
386 * testsuite/ld-mmix/sec-2.d: Likewise.
387 * testsuite/ld-mmix/sec-3.d: Likewise.
388 * testsuite/ld-mmix/sec-4.d: Likewise.
389 * testsuite/ld-mmix/spec802.d: Likewise.
390 * testsuite/ld-mmix/spec803.d: Likewise.
391 * testsuite/ld-mmix/spec804.d: Likewise.
392 * testsuite/ld-mmix/spec805.d: Likewise.
393 * testsuite/ld-mmix/spec806.d: Likewise.
394 * testsuite/ld-mmix/spec807.d: Likewise.
395 * testsuite/ld-mmix/spec808.d: Likewise.
397 2020-02-26 H.J. Lu <hongjiu.lu@intel.com>
400 * testsuite/ld-plugin/lto.exp: Run PR ld/25593 tests.
401 * testsuite/ld-plugin/pr25593.d: New file.
402 * testsuite/ld-plugin/pr25593a-1.c: Likewise.
403 * testsuite/ld-plugin/pr25593a-2.c: Likewise.
404 * testsuite/ld-plugin/pr25593b.c: Likewise.
405 * testsuite/ld-plugin/pr25593c.c: Likewise.
406 * testsuite/ld-plugin/pr25593d.c: Likewise.
407 * testsuite/ld-plugin/pr25593e.c: Likewise.
409 2020-02-26 Alan Modra <amodra@gmail.com>
411 * emultempl/cskyelf.em: Indent labels correctly.
412 * ldfile.c: Likewise.
413 * ldlang.c: Likewise.
414 * plugin.c: Likewise.
416 2020-02-26 Alan Modra <amodra@gmail.com>
419 * ldelf.c (ldelf_try_needed): Add DT_NEEDED lib to input_bfds.
420 (ldelf_after_open): Save state of input_bfds list before loading
421 DT_NEEDED libs. Traverse input_bfds list adding DT_NEEDED tags.
422 Restore input_bfds list.
423 * testsuite/ld-cris/gotplt1.d: Adjust for changed .dynstr order.
425 2020-02-24 Nick Clifton <nickc@redhat.com>
427 * po/fr.po: Update French translation.
429 2020-02-22 Alan Modra <amodra@gmail.com>
432 * NEWS: Mention better "PHDR segment not covered by LOAD segment"
435 2020-02-19 Sergey Belyashov <sergey.belyashov@gmail.com>
438 * emultempl/z80.em: Remove machine compatability checking.
440 2020-02-19 Sergey Belyashov <sergey.belyashov@gmail.com>
443 * testsuite/ld-z80/arch_ez80_adl.d: Update command line.
444 * testsuite/ld-z80/arch_ez80_z80.d: Likewise.
445 * testsuite/ld-z80/arch_r800.d: Likewise.
446 * testsuite/ld-z80/arch_z180.d: Likewise.
447 * testsuite/ld-z80/arch_z80n.d: Likewise.
448 * testsuite/ld-z80/comb_arch_ez80_z80.d: Likewise.
449 * testsuite/ld-z80/comb_arch_z180_z80.d: Likewise.
450 * testsuite/ld-z80/comb_arch_z80_ez80.d: Likewise.
451 * testsuite/ld-z80/comb_arch_z80_z180.d: Likewise.
452 * testsuite/ld-z80/comb_arch_z80_z80n.d: Likewise.
453 * testsuite/ld-z80/relocs_b_ez80.d: Likewise.
454 * testsuite/ld-z80/relocs_b_z80.d: Likewise.
455 * testsuite/ld-z80/relocs_f_ez80.d: Likewise.
456 * testsuite/ld-z80/relocs_f_z80.d: Likewise.
457 * testsuite/ld-z80/relocs_f_z80n.d: Likewise.
459 2020-02-19 Alan Modra <amodra@gmail.com>
461 * testsuite/ld-plugin/pr25355.d: Allow alpha-linux nm result.
463 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
466 * testsuite/ld-plugin/lto.exp: Run PR binutils/25355 test.
467 * testsuite/ld-plugin/pr25355.c: New file.
468 * testsuite/ld-plugin/pr25355.d: Likewise.
469 * testsuite/lib/ld-lib.exp (run_cc_link_tests): Support compile
472 2020-02-07 H.J. Lu <hongjiu.lu@intel.com>
474 * testsuite/ld-unique/unique.exp (contains_unique_symbol): Updated.
476 2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
479 * emulparams/elf32z80.sh: Use z80 emulation.
480 * emultempl/z80.em: Make generic to both COFF and ELF Z80 emulations.
481 * emultempl/z80elf.em: Delete.
482 * testsuite/ld-elf/pr22450.d: Expect to fail for the Z80.
483 * testsuite/ld-elf/sec64k.exp: Fix Z80 assembly.
484 * testsuite/ld-unique/pr21529.s: Avoid register name conflict.
485 * testsuite/ld-unique/unique.s: Likewise.
486 * testsuite/ld-unique/unique_empty.s: Likewise.
487 * testsuite/ld-unique/unique_shared.s: Likewise.
488 * testsuite/ld-unique/unique.d: Updated expected output.
489 * testsuite/ld-z80/arch_z80n.d: New file.
490 * testsuite/ld-z80/comb_arch_z80_z80n.d: New file.
491 * testsuite/ld-z80/labels.s: Add more labels.
492 * testsuite/ld-z80/relocs.s: Add more reloc tests.
493 * testsuite/ld-z80/relocs_f_z80n.d: New file
495 2020-02-07 H.J. Lu <hongjiu.lu@intel.com>
498 * testsuite/ld-elf/pr25022.d: Xfail more targets which don't use
499 ldelf_before_place_orphans.
501 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
504 * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Add
505 before_place_orphans_default.
506 * emultempl/armcoff.em (ld_${EMULATION_NAME}_emulation): Likewise.
507 * emultempl/beos.em (ld_${EMULATION_NAME}_emulation): Likewise.
508 * emultempl/generic.em (ld_${EMULATION_NAME}_emulation): Likewise.
509 * emultempl/linux.em (ld_${EMULATION_NAME}_emulation): Likewise.
510 * emultempl/msp430.em (ld_${EMULATION_NAME}_emulation): Likewise.
511 * emultempl/pe.em (ld_${EMULATION_NAME}_emulation): Likewise.
512 * emultempl/pep.em (ld_${EMULATION_NAME}_emulation): Likewise.
513 * emultempl/ticoff.em (ld_${EMULATION_NAME}_emulation): Likewise.
514 * emultempl/vanilla.em (ld_${EMULATION_NAME}_emulation): Likewise.
515 * emultempl/elf.em (ld_${EMULATION_NAME}_emulation): Use
516 ldelf_before_place_orphans.
517 * ldelf.c (ldelf_before_place_orphans): New.
518 * ldelf.h (ldelf_before_place_orphans): Likewise.
519 * ldemul.c (ldemul_before_place_orphans): Likewise.
520 (before_place_orphans_default): Likewise.
521 * ldemul.h (ldemul_before_place_orphans): Likewise.
522 (before_place_orphans_default): Likewise.
523 (ld_emulation_xfer_struct): Add before_place_orphans.
524 * ldlang.c (lang_process): Call ldemul_before_place_orphans
525 before lang_place_orphans.
526 * testsuite/ld-elf/pr25022.d: New file.
527 * testsuite/ld-elf/pr25022.s: Likewise.
528 * testsuite/ld-elf/pr25022.t: Likewise.
530 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
533 * testsuite/ld-elf/pr25490-1.d: New file.
534 * testsuite/ld-elf/pr25490-1.s: Likewise.
536 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
541 * testsuite/ld-elf/elf.exp: Run PR ld/25490 tests.
542 * testsuite/ld-elf/pr24526.d: New file.
543 * testsuite/ld-elf/pr24526.s: Likewise.
544 * testsuite/ld-elf/pr25021.d: Likewise.
545 * testsuite/ld-elf/pr25021.s: Likewise.
546 * testsuite/ld-elf/pr25490-2-16.rd: Likewise.
547 * testsuite/ld-elf/pr25490-2-32.rd: Likewise.
548 * testsuite/ld-elf/pr25490-2-64.rd: Likewise.
549 * testsuite/ld-elf/pr25490-2.s: Likewise.
550 * testsuite/ld-elf/pr25490-3-16.rd: Likewise.
551 * testsuite/ld-elf/pr25490-3-32.rd: Likewise.
552 * testsuite/ld-elf/pr25490-3-64.rd: Likewise.
553 * testsuite/ld-elf/pr25490-3.s: Likewise.
554 * testsuite/ld-elf/pr25490-4-16.rd: Likewise.
555 * testsuite/ld-elf/pr25490-4-32.rd: Likewise.
556 * testsuite/ld-elf/pr25490-4-64.rd: Likewise.
557 * testsuite/ld-elf/pr25490-4.s: Likewise.
558 * testsuite/ld-elf/pr25490-5-16.rd: Likewise.
559 * testsuite/ld-elf/pr25490-5-32.rd: Likewise.
560 * testsuite/ld-elf/pr25490-5-64.rd: Likewise.
561 * testsuite/ld-elf/pr25490-5.s: Likewise.
562 * testsuite/ld-elf/pr25490-6-16.rd: Likewise.
563 * testsuite/ld-elf/pr25490-6-32.rd: Likewise.
564 * testsuite/ld-elf/pr25490-6-64.rd: Likewise.
565 * testsuite/ld-elf/pr25490-6.s: Likewise.
567 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
569 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark
570 z80 as not supported.
572 2020-02-06 Alan Modra <amodra@gmail.com>
574 * testsuite/ld-ifunc/ifunc.exp: Enable for more targets, specifying
575 targets that don't support ifunc rather than ones that do.
576 (contains_irelative_reloc): Match R_PARISC_IPLT.
577 * testsuite/ld-ifunc/lib.c: Don't use .set in asm.
578 * testsuite/ld-ifunc/ifunc-23-x86.s,
579 * testsuite/ld-ifunc/ifunc-24-x86.s,
580 * testsuite/ld-ifunc/ifunc-25-x86.s,
581 * testsuite/ld-ifunc/ifunc-4-local-x86.s,
582 * testsuite/ld-ifunc/ifunc-4-x86.s: Define _main.
583 * testsuite/ld-ifunc/ifunc-10-i386.d,
584 * testsuite/ld-ifunc/ifunc-11-i386.d,
585 * testsuite/ld-ifunc/ifunc-12-i386.d,
586 * testsuite/ld-ifunc/ifunc-13-i386.d,
587 * testsuite/ld-ifunc/ifunc-14a-i386.d,
588 * testsuite/ld-ifunc/ifunc-14b-i386.d,
589 * testsuite/ld-ifunc/ifunc-14c-i386.d,
590 * testsuite/ld-ifunc/ifunc-14d-i386.d,
591 * testsuite/ld-ifunc/ifunc-14e-i386.d,
592 * testsuite/ld-ifunc/ifunc-14f-i386.d,
593 * testsuite/ld-ifunc/ifunc-15-i386.d,
594 * testsuite/ld-ifunc/ifunc-16-i386-now.d,
595 * testsuite/ld-ifunc/ifunc-16-i386.d,
596 * testsuite/ld-ifunc/ifunc-17a-i386.d,
597 * testsuite/ld-ifunc/ifunc-17b-i386.d,
598 * testsuite/ld-ifunc/ifunc-18a-i386.d,
599 * testsuite/ld-ifunc/ifunc-18b-i386.d,
600 * testsuite/ld-ifunc/ifunc-19a-i386.d,
601 * testsuite/ld-ifunc/ifunc-19b-i386.d,
602 * testsuite/ld-ifunc/ifunc-2-i386-now.d,
603 * testsuite/ld-ifunc/ifunc-2-i386.d,
604 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d,
605 * testsuite/ld-ifunc/ifunc-2-local-i386.d,
606 * testsuite/ld-ifunc/ifunc-20-i386.d,
607 * testsuite/ld-ifunc/ifunc-21-i386.d,
608 * testsuite/ld-ifunc/ifunc-22-i386.d,
609 * testsuite/ld-ifunc/ifunc-26.d,
610 * testsuite/ld-ifunc/ifunc-5a-i386.d,
611 * testsuite/ld-ifunc/ifunc-5a-local-i386.d,
612 * testsuite/ld-ifunc/ifunc-5b-i386.d,
613 * testsuite/ld-ifunc/ifunc-5b-local-i386.d,
614 * testsuite/ld-ifunc/ifunc-5r-local-i386.d,
615 * testsuite/ld-ifunc/ifunc-6a-i386.d,
616 * testsuite/ld-ifunc/ifunc-6b-i386.d,
617 * testsuite/ld-ifunc/ifunc-7a-i386.d,
618 * testsuite/ld-ifunc/ifunc-7b-i386.d,
619 * testsuite/ld-ifunc/ifunc-8-i386.d,
620 * testsuite/ld-ifunc/ifunc-9-i386.d,
621 * testsuite/ld-ifunc/pr17154-i386-now.d,
622 * testsuite/ld-ifunc/pr17154-i386.d: xfail lynxos, nto, and solaris.
624 2020-02-06 Alan Modra <amodra@gmail.com>
626 * testsuite/lib/ld-lib.exp (is_generic): Delete.
627 * testsuite/ld-unique/unique.exp: Exclude tic6x.
629 2020-02-06 Alan Modra <amodra@gmail.com>
631 * configure.tgt (i[3-7]86-*-moss*): Don't clear targ_extra_ofiles.
632 (i[3-7]86-*-openbsd*, x86_64-*-openbsd*): Add.
634 2020-02-02 H.J. Lu <hongjiu.lu@intel.com>
637 * testsuite/ld-i386/pr22001-1c.S: Use "unique,N" in .section
639 * testsuite/ld-i386/tls-gd1.S: Likewise.
640 * testsuite/ld-x86-64/pr21481b.S: Likewise.
642 2020-01-30 Jan Beulich <jbeulich@suse.com>
644 * ld.texi: Remove space between @option and brace.
646 2020-01-29 Alan Modra <amodra@gmail.com>
649 * ldelf.c (ldelf_check_ld_so_conf): Add prefix parameter and
651 (ldelf_after_open): Add prefix parameter.
652 * ldelf.h (ldelf_after_open): Update prototype.
653 * emultempl/elf.em (gld${EMULATION_NAME}_after_open): Pass $prefix
655 * Makefile.am: Correct z80 dependencies.
656 * Makefile.in: Regenerate.
658 2020-01-28 Alan Modra <amodra@gmail.com>
660 * ldexp.c (fold_name): Don't print bfd_link_hash_lookup failed
663 2020-01-27 Alan Modra <amodra@gmail.com>
665 * testsuite/ld-elfvers/vers.exp: Replace case statements with
667 * testsuite/ld-ifunc/ifunc.exp: Likewise.
668 * testsuite/ld-unique/unique.exp: Likewise.
670 2020-01-27 H.J. Lu <hongjiu.lu@intel.com>
671 Alan Modra <amodra@gmail.com>
674 * testsuite/ld-elf/pr25458.map: New file.
675 * testsuite/ld-elf/pr25458.rd: Likewise.
676 * testsuite/ld-elf/pr25458a.s: Likewise.
677 * testsuite/ld-elf/pr25458b.s: Likewise.
678 * testsuite/ld-elf/shared.exp: Run PR ld/25458 test.
680 2020-01-22 H.J. Lu <hongjiu.lu@intel.com>
683 * testsuite/ld-x86-64/tls.exp: Skip GNU2 TLS tests only without
686 2020-01-22 Alan Modra <amodra@gmail.com>
688 * testsuite/ld-powerpc/tlsdesc3.d,
689 * testsuite/ld-powerpc/tlsdesc3.wf,
690 * testsuite/ld-powerpc/tlsdesc4.d,
691 * testsuite/ld-powerpc/tlsdesc4.s,
692 * testsuite/ld-powerpc/tlsdesc4.wf: New tests.
693 * testsuite/ld-powerpc/powerpc.exp: Run them.
695 2020-01-22 Alan Modra <amodra@gmail.com>
697 * emultempl/ppc64elf.em (ppc64_opt, PARSE_AND_LIST_LONGOPTS),
698 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Support
699 --tls-get-addr-regsave and --no-tls-get-addr-regsave.
700 (params): Init new field.
701 * ld.texi (--tls-get-addr-regsave, --no-tls-get-addr-regsave):
703 * testsuite/ld-powerpc/tlsdesc.s,
704 * testsuite/ld-powerpc/tlsdesc.d,
705 * testsuite/ld-powerpc/tlsdesc.wf,
706 * testsuite/ld-powerpc/tlsdesc2.d,
707 * testsuite/ld-powerpc/tlsdesc2.wf,
708 * testsuite/ld-powerpc/tlsexenors.d,
709 * testsuite/ld-powerpc/tlsexenors.r,
710 * testsuite/ld-powerpc/tlsexers.d,
711 * testsuite/ld-powerpc/tlsexers.r,
712 * testsuite/ld-powerpc/tlsexetocnors.d,
713 * testsuite/ld-powerpc/tlsexetocrs.d,
714 * testsuite/ld-powerpc/tlsexetocrs.r,
715 * testsuite/ld-powerpc/tlsopt6.d,
716 * testsuite/ld-powerpc/tlsopt6.wf: New.
717 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
719 2020-01-22 Yuri Chornoivan <yurchor@mageia.org>
722 * ldlang.c (ldlang_open_ctf): Fix error message typo.
723 * emultempl/z80elf.em (z80_elf_after_open): Likewise.
725 2020-01-21 H.J. Lu <hongjiu.lu@intel.com>
727 * testsuite/ld-elf/pr23900-1.d: Adjusted.
729 2020-01-21 H.J. Lu <hongjiu.lu@intel.com>
731 * testsuite/ld-elf/pr23900-1.d: Also pass -l to readelf.
733 2020-01-20 Nick Clifton <nickc@redhat.com>
735 * po/pt_BR.po: Updated Brazilian Portuguese translation.
736 * po/uk.po: Updated Ukranian translation.
738 2020-01-20 H.J. Lu <hongjiu.lu@intel.com>
741 * testsuite/ld-x86-64/pr25416-1.s: New file
742 * testsuite/ld-x86-64/pr25416-1a.d: Likewise.
743 * testsuite/ld-x86-64/pr25416-1b.d: Likewise.
744 * testsuite/ld-x86-64/pr25416-1.s: Likewise.
745 * testsuite/ld-x86-64/pr25416-2.s: Likewise.
746 * testsuite/ld-x86-64/pr25416-2a.d: Likewise.
747 * testsuite/ld-x86-64/pr25416-2b.d: Likewise.
748 * testsuite/ld-x86-64/pr25416-3.d: Likewise.
749 * testsuite/ld-x86-64/pr25416-3.s: Likewise.
750 * testsuite/ld-x86-64/pr25416-4.d: Likewise.
751 * testsuite/ld-x86-64/pr25416-4.s: Likewise.
752 * testsuite/ld-x86-64/pr25416-5a.c: Likewise.
753 * testsuite/ld-x86-64/pr25416-5b.s: Likewise.
754 * testsuite/ld-x86-64/pr25416-5c.s: Likewise.
755 * testsuite/ld-x86-64/pr25416-5d.s: Likewise.
756 * testsuite/ld-x86-64/pr25416-5e.s: Likewise.
757 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/25416 tests.
759 2020-01-20 Alan Modra <amodra@gmail.com>
761 * testsuite/ld-powerpc/tlsexe.d: Match new __tls_get_addr stub.
762 * testsuite/ld-powerpc/tlsexeno.d: Likewise.
763 * testsuite/ld-powerpc/tlsexetoc.d: Likewise.
764 * testsuite/ld-powerpc/tlsexetocno.d: Likewise.
765 * testsuite/ld-powerpc/tlsopt5.d: Likewise.
767 2020-01-18 Roland McGrath <mcgrathr@google.com>
769 * testsuite/ld-x86-64/align-branch-1.d: Loosen instruction regexps
770 to admit whatever absolute address. The label-relative address is
771 what the test needs to verify.
773 2020-01-18 Nick Clifton <nickc@redhat.com>
775 * configure: Regenerate.
776 * po/ld.pot: Regenerate.
778 2020-01-18 Nick Clifton <nickc@redhat.com>
780 Binutils 2.34 branch created.
782 2020-01-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
784 * scripttempl/elf32msp430_3.sc: Remove.
786 2020-01-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
788 * scripttempl/elf32msp430.sc: Add input section rules for
789 .upper.{text,data,rodata,bss}.
790 * testsuite/ld-msp430-elf/msp430-elf.exp: Run new test.
791 * testsuite/ld-msp430-elf/upper-input-sections.s: New test.
793 2020-01-15 Lars Brinkhoff <lars@nocrew.org>
796 * temulparams/pdp11.sh (TARGET_PAGE_SIZE): Set to 8192.
798 2020-01-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
800 * testsuite/ld-msp430-elf/msp430-elf.exp: Run new test.
801 * testsuite/ld-msp430-elf/reloc-lo-430x.s: New test.
803 2020-01-15 Alan Modra <amodra@gmail.com>
805 * testsuite/ld-powerpc/ambiguousv1b.d: Adjust expected output.
806 * testsuite/ld-powerpc/funref.s: Align func_tab.
807 * testsuite/ld-powerpc/funref2.s: Likewise.
808 * testsuite/ld-powerpc/funv1.s: Add dot symbols.
810 2020-01-14 Lili Cui <lili.cui@intel.com>
812 * testsuite/ld-i386/align-branch-1.d: Updated for i686-pc-elf.
814 2020-01-13 Alan Modra <amodra@gmail.com>
816 * po/BLD-POTFILES.in: Regenerate.
818 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
820 * testsuite/ld-arc/relax-local-pic.d: Improve matching patterns.
822 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
824 * Makefile.am: Remove earcelf_prof.c and earclinux_prof.c
826 * configure.tgt: Likewise.
827 * Makefile.in: Regenerate.
828 * emulparams/arcelf_prof.sh: Remove file.
829 * emulparams/arclinux_prof.sh: Likewise.
831 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
833 * scripttempl/elfarcv2.sc : Allow interrupt vector table to be
834 located at an arbitrary address. Use DWARF.sc file.
835 * scripttempl/elfarc.sc: Use DWARF.sc file.
837 2020-01-07 Alan Modra <amodra@gmail.com>
839 * testsuite/ld-mips-elf/eh-frame5.s,
840 * testsuite/ld-mips-elf/ehdr_start-new.s,
841 * testsuite/ld-mips-elf/ehdr_start-o32.s,
842 * testsuite/ld-mips-elf/mips16-call-global-1.s,
843 * testsuite/ld-mips-elf/mips16-intermix-1.s,
844 * testsuite/ld-mips-elf/mips16-pic-1b.s,
845 * testsuite/ld-mips-elf/mips16-pic-4c.s,
846 * testsuite/ld-mips-elf/no-shared-1-n64.s,
847 * testsuite/ld-mips-elf/no-shared-1-o32.s,
848 * testsuite/ld-mips-elf/pic-and-nonpic-1b-micromips.s,
849 * testsuite/ld-mips-elf/pic-and-nonpic-1b.s,
850 * testsuite/ld-mips-elf/pic-and-nonpic-2a.s,
851 * testsuite/ld-mips-elf/pic-and-nonpic-3b.s,
852 * testsuite/ld-mips-elf/pic-and-nonpic-4b.s,
853 * testsuite/ld-mips-elf/pic-and-nonpic-5a.s,
854 * testsuite/ld-mips-elf/pic-and-nonpic-6-n32c.s,
855 * testsuite/ld-mips-elf/pic-and-nonpic-6-n64c.s,
856 * testsuite/ld-mips-elf/pic-and-nonpic-6-o32c.s,
857 * testsuite/ld-mips-elf/pie.s,
858 * testsuite/ld-mips-elf/relax-jalr.s: Revert 2019-12-17 change.
860 2020-01-06 Nick Clifton <nickc@redhat.com>
863 * testsuite/ld-elf/shared.exp: Add -fcommon option to compiler
864 command line when building libcomm1.o and pr13250 tests.
865 * testsuite/ld-plugin/lto.exp: Likewise for pr20267 tests.
867 2020-01-06 Nick Clifton <nickc@redhat.com>
870 * testsuite/ld-elf/shared.exp: Add -fcommon option to compiler
871 command line when building pr19579 binaries.
873 2020-01-03 Hannes Domani <ssbssa@yahoo.de>
875 * emultempl/pe.em: Add new option --enable-reloc-section.
876 * emultempl/pep.em: Likewise.
877 * ld.texi: Document --enable-reloc-section.
878 * pe-dll.c (pe_dll_build_sections): Use pe_dll_enable_reloc_section.
879 (pe_dll_fill_sections): Simplify by calling pe_exe_fill_sections.
880 * pe-dll.h: Add extern declaration of option flag.
881 * pep-dll.c (pe_dll_enable_reloc_section):
882 Add alias define for pep_dll_enable_reloc_section.
883 * pep-dll.h: Add extern declaration of option flag.
885 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
887 * Makefile.am: Add new target z80-elf
888 * configure.tgt: Likewise.
889 * Makefile.in: Regenerate.
890 * emultempl/z80.em: Add support for eZ80 and Z180 architectures.
891 * emulparams/elf32z80.sh: New file.
892 * emultempl/z80elf.em: Likewise.
893 * testsuite/ld-elf/comm-data4.s: Fix for Z80.
894 * testsuite/ld-elf/comm-data5.s: Fix for Z80.
895 * testsuite/ld-scripts/fill16.d: Fix for Z80.
896 * testsuite/ld-z80/arch_ez80_adl.d: Likewise.
897 * testsuite/ld-z80/arch_ez80_z80.d: Likewise.
898 * testsuite/ld-z80/arch_r800.d: Likewise.
899 * testsuite/ld-z80/arch_z180.d: Likewise.
900 * testsuite/ld-z80/arch_z80.d: Likewise.
901 * testsuite/ld-z80/comb_arch_ez80_z80.d: Likewise.
902 * testsuite/ld-z80/comb_arch_z180.d: Likewise.
903 * testsuite/ld-z80/labels.s: Likewise.
904 * testsuite/ld-z80/relocs.s: Likewise.
905 * testsuite/ld-z80/relocs_b_ez80.d: Likewise.
906 * testsuite/ld-z80/relocs_b_z80.d: Likewise.
907 * testsuite/ld-z80/relocs_f_z80.d: Likewise.
908 * testsuite/ld-z80/z80.exp: Likewise.
909 * NEWS: Mention the new support.
911 2020-01-02 Tamar Christina <tamar.christina@arm.com>
915 * emultempl/aarch64elf.em (elf${ELFSIZE}_aarch64_add_stub_section):
916 Remove SEC_LINKER_CREATED.
917 * testsuite/ld-aarch64/aarch64-elf.exp: Add erratum835769-843419.
918 * testsuite/ld-aarch64/erratum835769-843419.d: New test.
920 2020-01-01 Alan Modra <amodra@gmail.com>
922 Update year range in copyright notice of all files.
924 For older changes see ChangeLog-2019
926 Copyright (C) 2020 Free Software Foundation, Inc.
928 Copying and distribution of this file, with or without modification,
929 are permitted in any medium without royalty provided the copyright
930 notice and this notice are preserved.
936 version-control: never