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