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