PR25662, invalid sh_offset for first section in segment with phdrs
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
7e6e972f
L
12020-03-24 H.J. Lu <hongjiu.lu@intel.com>
2
3 PR binutils/25708
4 * testsuite/ld-elf/pr25708.d: New file.
5
5e737279
AM
62020-03-23 Alan Modra <amodra@gmail.com>
7
8 * Makefile.am (ALL_EMULATION_SOURCES): Reinstate ei386aout.c.
9 Include ei386aout dep file.
10 * Makefile.in: Regenerate.
11 * po/BLD-POTFILES.in: Regenerate.
12
3d98c460
L
132020-03-20 H.J. Lu <hongjiu.lu@intel.com>
14
15 * testsuite/ld-plugin/lto.exp (lto_link_tests): Run PR ld/25355
16 test only for GCC 10 or newer.
17
c02d6661
AM
182020-03-20 Alan Modra <amodra@gmail.com>
19
20 * testplug.c (parse_symdefstr): Use %hhi to read sym->def, and
21 clear new fields.
22 * testplug2.c (parse_symdefstr): Likewise.
23 * testplug3.c (parse_symdefstr): Likewise.
24 * testplug4.c (parse_symdefstr): Likewise.
25
aef397a1
CL
262020-03-18 Christophe Lyon <christophe.lyon@linaro.org>
27
28 * testsuite/ld-arm/non-contiguous-arm4.d: Fix expected output.
29 * testsuite/ld-powerpc/non-contiguous-powerpc.d: Likewise.
30
53215f21
CL
312020-03-18 Christophe Lyon <christophe.lyon@linaro.org>
32
33 * emultempl/xtensaelf.em: Emit a fatal error message
34 instead of calling abort.
35 * ldlang.c: Likewise.
36
02a8180e
AM
372020-03-14 Alan Modra <amodra@gmail.com>
38
39 * testsuite/ld-elf/non-contiguous.d: Don't xfail generic ELF
40 targets. Don't skip xtensa, xfail instead.
41
abf874aa
CL
422020-03-13 Christophe Lyon <christophe.lyon@linaro.org>
43
44 * ldlang.c (lang_add_section): Add support for
45 non_contiguous_regions.
46 (size_input_section): Likewise.
47 (lang_size_sections_1): Likewise.
48 (process_insert_statements): Likewise.
49 * ldlex.h (option_values): Add OPTION_NON_CONTIGUOUS_REGIONS and
50 OPTION_NON_CONTIGUOUS_REGIONS_WARNINGS.
51 * lexsup.c (ld_options): Add entries for
52 --enable-non-contiguous-regions and
53 --enable-non-contiguous-regions-warnings.
54 (parse_args): Handle it.
55 * NEWS: Add --enable-non-contiguous-regions and
56 --enable-non-contiguous-regions-warnings.
57 * ld.texi: Add --enable-non-contiguous-regions and
58 --enable-non-contiguous-regions-warnings documentation.
59 * emultempl/armelf.em (elf32_arm_add_stub_section): Add
60 SEC_LINKER_CREATED flag.
61 * emultempl/xtensaelf.em (ld_build_required_section_dependence):
62 Emit an error when --enable-non-contiguous-regions is used.
63 * testsuite/ld-elf/non-contiguous.d: New.
64 * testsuite/ld-elf/non-contiguous.ld: New.
65 * testsuite/ld-elf/non-contiguous.s: New.
66 * testsuite/ld-arm/arm-elf.exp: Run the new tests.
67 * testsuite/ld-arm/arm-elf/non-contiguous-arm.s: New.
68 * testsuite/ld-arm/arm-elf/non-contiguous-arm.d: New.
69 * testsuite/ld-arm/arm-elf/non-contiguous-arm.ld: New.
70 * testsuite/ld-arm/arm-elf/non-contiguous-arm2.d: New.
71 * testsuite/ld-arm/arm-elf/non-contiguous-arm3.ld: New.
72 * testsuite/ld-arm/arm-elf/non-contiguous-arm3.d: New.
73 * testsuite/ld-arm/arm-elf/non-contiguous-arm3.ld: New.
74 * testsuite/ld-arm/arm-elf/non-contiguous-arm4.d: New.
75 * testsuite/ld-arm/arm-elf/non-contiguous-arm4.ld: New.
76 * testsuite/ld-arm/arm-elf/non-contiguous-arm5.d: New.
77 * testsuite/ld-arm/arm-elf/non-contiguous-arm5.ld: New.
78 * testsuite/ld-arm/arm-elf/non-contiguous-arm6.d: New.
79 * testsuite/ld-arm/arm-elf/non-contiguous-arm6.ld: New.
80 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
81 * testsuite/ld-powerpc/non-contiguous-powerpc.d: New.
82 * testsuite/ld-powerpc/non-contiguous-powerpc.ld: New.
83 * testsuite/ld-powerpc/non-contiguous-powerpc.sd: New.
84 * testsuite/ld-powerpc/non-contiguous-powerpc64.d: New.
85
74e10d17
L
862020-03-13 H.J. Lu <hongjiu.lu@intel.com>
87
88 PR ld/24920
89 * emulparams/elf32_x86_64.sh: Use static.sh.
90 * emulparams/elf_i386.sh: Likewise.
91 * emulparams/elf_x86_64.sh: Likewise.
92 * emulparams/static.sh: New file.
93 * emultempl/elf-x86.em: Include "ldlex.h".
94 * testsuite/ld-elf/pr24920.err: New file.
95 * testsuite/ld-elf/linux-x86.exp: Run ld/24920 tests.
96
502794d4
CE
972020-03-13 Christian Eggers <ceggers@gmx.de>
98
99 * ldexp.c (fold_name): Return SIZEOF_HEADERS in bytes.
100
1db6f990
AM
1012020-03-11 Alan Modra <amodra@gmail.com>
102
103 * ldelf.c (elf_orphan_compatible): Return false when two sections
104 have differing SHF_MASKPROC or SHF_MASKOS flags.
105
92d4b13b
AM
1062020-03-05 Alan Modra <amodra@gmail.com>
107
108 PR 25570
109 * ldlang.c (lang_size_sections_1): Don't report changes on
110 second and subsequent iterations that make no change in
111 alignment from that already reported.
112
baf09cba
AM
1132020-03-05 Alan Modra <amodra@gmail.com>
114
115 PR 25570
116 * ldlang.c (lang_sizing_iteration): New static var.
117 (lang_size_sections_1): Warn about no memory region only on first
118 iteration. Warn about changing start address on first iteration
119 then any delta from that on subsequent iterations. Report a signed
120 delta.
121 (one_lang_size_sections_pass): Increment lang_sizing_iteration.
122
d8e4137b
NC
1232020-03-03 Nick Clifton <nickc@redhat.com>
124
125 PR 25588
126 * ld.texi (Options): Update the description of the --rpath-link
127 option.
128
cb001c0d
AM
1292020-03-02 Alan Modra <amodra@gmail.com>
130
131 * plugin.c (plugin_object_p): Return a bfd_cleanup.
132 (plugin_cleanup): New function.
133
2aa90762
L
1342020-03-01 H.J. Lu <hongjiu.lu@intel.com>
135
136 PR ld/25618
137 * plugin.c (plugin_object_p): Copy the no_export field to the IR
138 dummy object.
139 * testsuite/ld-plugin/lto.exp (lto_link_elf_tests): Add
140 PR ld/25618 tests.
141 * testsuite/ld-plugin/pr25618.d: New file.
142 * testsuite/ld-plugin/pr25618a.cc: Likewise.
143 * testsuite/ld-plugin/pr25618a.h: Likewise.
144 * testsuite/ld-plugin/pr25618b.cc: Likewise.
145 * testsuite/ld-plugin/pr25618b.h: Likewise.
146
5f602802
AM
1472020-02-27 Alan Modra <amodra@gmail.com>
148
149 PR 24511
150 * testsuite/ld-mmix/b-fixo2.d: Adjust for .data change.
151 * testsuite/ld-mmix/sec-2.d: Likewise.
152 * testsuite/ld-mmix/sec-3.d: Likewise.
153 * testsuite/ld-mmix/sec-4.d: Likewise.
154 * testsuite/ld-mmix/spec802.d: Likewise.
155 * testsuite/ld-mmix/spec803.d: Likewise.
156 * testsuite/ld-mmix/spec804.d: Likewise.
157 * testsuite/ld-mmix/spec805.d: Likewise.
158 * testsuite/ld-mmix/spec806.d: Likewise.
159 * testsuite/ld-mmix/spec807.d: Likewise.
160 * testsuite/ld-mmix/spec808.d: Likewise.
161
3312f67c
L
1622020-02-26 H.J. Lu <hongjiu.lu@intel.com>
163
164 PR ld/25593
165 * testsuite/ld-plugin/lto.exp: Run PR ld/25593 tests.
166 * testsuite/ld-plugin/pr25593.d: New file.
167 * testsuite/ld-plugin/pr25593a-1.c: Likewise.
168 * testsuite/ld-plugin/pr25593a-2.c: Likewise.
169 * testsuite/ld-plugin/pr25593b.c: Likewise.
170 * testsuite/ld-plugin/pr25593c.c: Likewise.
171 * testsuite/ld-plugin/pr25593d.c: Likewise.
172 * testsuite/ld-plugin/pr25593e.c: Likewise.
173
dc1e8a47
AM
1742020-02-26 Alan Modra <amodra@gmail.com>
175
176 * emultempl/cskyelf.em: Indent labels correctly.
177 * ldfile.c: Likewise.
178 * ldlang.c: Likewise.
179 * plugin.c: Likewise.
180
e310298c
AM
1812020-02-26 Alan Modra <amodra@gmail.com>
182
183 PR 25593
184 * ldelf.c (ldelf_try_needed): Add DT_NEEDED lib to input_bfds.
185 (ldelf_after_open): Save state of input_bfds list before loading
186 DT_NEEDED libs. Traverse input_bfds list adding DT_NEEDED tags.
187 Restore input_bfds list.
188 * testsuite/ld-cris/gotplt1.d: Adjust for changed .dynstr order.
189
45c63c0f
NC
1902020-02-24 Nick Clifton <nickc@redhat.com>
191
192 * po/fr.po: Update French translation.
193
7b3c2715
AM
1942020-02-22 Alan Modra <amodra@gmail.com>
195
196 PR 25585
197 * NEWS: Mention better "PHDR segment not covered by LOAD segment"
198 checking.
199
fcaaac0a
SB
2002020-02-19 Sergey Belyashov <sergey.belyashov@gmail.com>
201
202 PR 25537
203 * emultempl/z80.em: Remove machine compatability checking.
204
2052020-02-19 Sergey Belyashov <sergey.belyashov@gmail.com>
206
207 PR 25517
208 * testsuite/ld-z80/arch_ez80_adl.d: Update command line.
209 * testsuite/ld-z80/arch_ez80_z80.d: Likewise.
210 * testsuite/ld-z80/arch_r800.d: Likewise.
211 * testsuite/ld-z80/arch_z180.d: Likewise.
212 * testsuite/ld-z80/arch_z80n.d: Likewise.
213 * testsuite/ld-z80/comb_arch_ez80_z80.d: Likewise.
214 * testsuite/ld-z80/comb_arch_z180_z80.d: Likewise.
215 * testsuite/ld-z80/comb_arch_z80_ez80.d: Likewise.
216 * testsuite/ld-z80/comb_arch_z80_z180.d: Likewise.
217 * testsuite/ld-z80/comb_arch_z80_z80n.d: Likewise.
218 * testsuite/ld-z80/relocs_b_ez80.d: Likewise.
219 * testsuite/ld-z80/relocs_b_z80.d: Likewise.
220 * testsuite/ld-z80/relocs_f_ez80.d: Likewise.
221 * testsuite/ld-z80/relocs_f_z80.d: Likewise.
222 * testsuite/ld-z80/relocs_f_z80n.d: Likewise.
223
2e3cd5d0
AM
2242020-02-19 Alan Modra <amodra@gmail.com>
225
226 * testsuite/ld-plugin/pr25355.d: Allow alpha-linux nm result.
227
0aa99dcd
L
2282020-02-10 H.J. Lu <hongjiu.lu@intel.com>
229
230 PR binutils/25355
231 * testsuite/ld-plugin/lto.exp: Run PR binutils/25355 test.
232 * testsuite/ld-plugin/pr25355.c: New file.
233 * testsuite/ld-plugin/pr25355.d: Likewise.
234 * testsuite/lib/ld-lib.exp (run_cc_link_tests): Support compile
235 only dump.
236
6e569656
L
2372020-02-07 H.J. Lu <hongjiu.lu@intel.com>
238
239 * testsuite/ld-unique/unique.exp (contains_unique_symbol): Updated.
240
9fc0b501
SB
2412020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
242
243 PR 25469
244 * emulparams/elf32z80.sh: Use z80 emulation.
245 * emultempl/z80.em: Make generic to both COFF and ELF Z80 emulations.
246 * emultempl/z80elf.em: Delete.
247 * testsuite/ld-elf/pr22450.d: Expect to fail for the Z80.
248 * testsuite/ld-elf/sec64k.exp: Fix Z80 assembly.
249 * testsuite/ld-unique/pr21529.s: Avoid register name conflict.
250 * testsuite/ld-unique/unique.s: Likewise.
251 * testsuite/ld-unique/unique_empty.s: Likewise.
252 * testsuite/ld-unique/unique_shared.s: Likewise.
253 * testsuite/ld-unique/unique.d: Updated expected output.
254 * testsuite/ld-z80/arch_z80n.d: New file.
255 * testsuite/ld-z80/comb_arch_z80_z80n.d: New file.
256 * testsuite/ld-z80/labels.s: Add more labels.
257 * testsuite/ld-z80/relocs.s: Add more reloc tests.
258 * testsuite/ld-z80/relocs_f_z80n.d: New file
259
adb8754e
L
2602020-02-07 H.J. Lu <hongjiu.lu@intel.com>
261
262 PR ld/25022
263 * testsuite/ld-elf/pr25022.d: Xfail more targets which don't use
264 ldelf_before_place_orphans.
265
9b538ba7
L
2662020-02-06 H.J. Lu <hongjiu.lu@intel.com>
267
268 PR ld/25022
269 * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Add
270 before_place_orphans_default.
271 * emultempl/armcoff.em (ld_${EMULATION_NAME}_emulation): Likewise.
272 * emultempl/beos.em (ld_${EMULATION_NAME}_emulation): Likewise.
273 * emultempl/generic.em (ld_${EMULATION_NAME}_emulation): Likewise.
274 * emultempl/linux.em (ld_${EMULATION_NAME}_emulation): Likewise.
275 * emultempl/msp430.em (ld_${EMULATION_NAME}_emulation): Likewise.
276 * emultempl/pe.em (ld_${EMULATION_NAME}_emulation): Likewise.
277 * emultempl/pep.em (ld_${EMULATION_NAME}_emulation): Likewise.
278 * emultempl/ticoff.em (ld_${EMULATION_NAME}_emulation): Likewise.
279 * emultempl/vanilla.em (ld_${EMULATION_NAME}_emulation): Likewise.
280 * emultempl/elf.em (ld_${EMULATION_NAME}_emulation): Use
281 ldelf_before_place_orphans.
282 * ldelf.c (ldelf_before_place_orphans): New.
283 * ldelf.h (ldelf_before_place_orphans): Likewise.
284 * ldemul.c (ldemul_before_place_orphans): Likewise.
285 (before_place_orphans_default): Likewise.
286 * ldemul.h (ldemul_before_place_orphans): Likewise.
287 (before_place_orphans_default): Likewise.
288 (ld_emulation_xfer_struct): Add before_place_orphans.
289 * ldlang.c (lang_process): Call ldemul_before_place_orphans
290 before lang_place_orphans.
291 * testsuite/ld-elf/pr25022.d: New file.
292 * testsuite/ld-elf/pr25022.s: Likewise.
293 * testsuite/ld-elf/pr25022.t: Likewise.
294
5242a0a0
L
2952020-02-06 H.J. Lu <hongjiu.lu@intel.com>
296
297 PR ld/25490
298 * testsuite/ld-elf/pr25490-1.d: New file.
299 * testsuite/ld-elf/pr25490-1.s: Likewise.
300
b7d07216
L
3012020-02-06 H.J. Lu <hongjiu.lu@intel.com>
302
303 PR ld/24526
304 PR ld/25021
305 PR ld/25490
306 * testsuite/ld-elf/elf.exp: Run PR ld/25490 tests.
307 * testsuite/ld-elf/pr24526.d: New file.
308 * testsuite/ld-elf/pr24526.s: Likewise.
309 * testsuite/ld-elf/pr25021.d: Likewise.
310 * testsuite/ld-elf/pr25021.s: Likewise.
311 * testsuite/ld-elf/pr25490-2-16.rd: Likewise.
312 * testsuite/ld-elf/pr25490-2-32.rd: Likewise.
313 * testsuite/ld-elf/pr25490-2-64.rd: Likewise.
314 * testsuite/ld-elf/pr25490-2.s: Likewise.
315 * testsuite/ld-elf/pr25490-3-16.rd: Likewise.
316 * testsuite/ld-elf/pr25490-3-32.rd: Likewise.
317 * testsuite/ld-elf/pr25490-3-64.rd: Likewise.
318 * testsuite/ld-elf/pr25490-3.s: Likewise.
319 * testsuite/ld-elf/pr25490-4-16.rd: Likewise.
320 * testsuite/ld-elf/pr25490-4-32.rd: Likewise.
321 * testsuite/ld-elf/pr25490-4-64.rd: Likewise.
322 * testsuite/ld-elf/pr25490-4.s: Likewise.
323 * testsuite/ld-elf/pr25490-5-16.rd: Likewise.
324 * testsuite/ld-elf/pr25490-5-32.rd: Likewise.
325 * testsuite/ld-elf/pr25490-5-64.rd: Likewise.
326 * testsuite/ld-elf/pr25490-5.s: Likewise.
327 * testsuite/ld-elf/pr25490-6-16.rd: Likewise.
328 * testsuite/ld-elf/pr25490-6-32.rd: Likewise.
329 * testsuite/ld-elf/pr25490-6-64.rd: Likewise.
330 * testsuite/ld-elf/pr25490-6.s: Likewise.
331
3322020-02-06 H.J. Lu <hongjiu.lu@intel.com>
9e4d08bb
L
333
334 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark
335 z80 as not supported.
336
bb4e012c
AM
3372020-02-06 Alan Modra <amodra@gmail.com>
338
339 * testsuite/ld-ifunc/ifunc.exp: Enable for more targets, specifying
340 targets that don't support ifunc rather than ones that do.
341 (contains_irelative_reloc): Match R_PARISC_IPLT.
342 * testsuite/ld-ifunc/lib.c: Don't use .set in asm.
343 * testsuite/ld-ifunc/ifunc-23-x86.s,
344 * testsuite/ld-ifunc/ifunc-24-x86.s,
345 * testsuite/ld-ifunc/ifunc-25-x86.s,
346 * testsuite/ld-ifunc/ifunc-4-local-x86.s,
347 * testsuite/ld-ifunc/ifunc-4-x86.s: Define _main.
348 * testsuite/ld-ifunc/ifunc-10-i386.d,
349 * testsuite/ld-ifunc/ifunc-11-i386.d,
350 * testsuite/ld-ifunc/ifunc-12-i386.d,
351 * testsuite/ld-ifunc/ifunc-13-i386.d,
352 * testsuite/ld-ifunc/ifunc-14a-i386.d,
353 * testsuite/ld-ifunc/ifunc-14b-i386.d,
354 * testsuite/ld-ifunc/ifunc-14c-i386.d,
355 * testsuite/ld-ifunc/ifunc-14d-i386.d,
356 * testsuite/ld-ifunc/ifunc-14e-i386.d,
357 * testsuite/ld-ifunc/ifunc-14f-i386.d,
358 * testsuite/ld-ifunc/ifunc-15-i386.d,
359 * testsuite/ld-ifunc/ifunc-16-i386-now.d,
360 * testsuite/ld-ifunc/ifunc-16-i386.d,
361 * testsuite/ld-ifunc/ifunc-17a-i386.d,
362 * testsuite/ld-ifunc/ifunc-17b-i386.d,
363 * testsuite/ld-ifunc/ifunc-18a-i386.d,
364 * testsuite/ld-ifunc/ifunc-18b-i386.d,
365 * testsuite/ld-ifunc/ifunc-19a-i386.d,
366 * testsuite/ld-ifunc/ifunc-19b-i386.d,
367 * testsuite/ld-ifunc/ifunc-2-i386-now.d,
368 * testsuite/ld-ifunc/ifunc-2-i386.d,
369 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d,
370 * testsuite/ld-ifunc/ifunc-2-local-i386.d,
371 * testsuite/ld-ifunc/ifunc-20-i386.d,
372 * testsuite/ld-ifunc/ifunc-21-i386.d,
373 * testsuite/ld-ifunc/ifunc-22-i386.d,
374 * testsuite/ld-ifunc/ifunc-26.d,
375 * testsuite/ld-ifunc/ifunc-5a-i386.d,
376 * testsuite/ld-ifunc/ifunc-5a-local-i386.d,
377 * testsuite/ld-ifunc/ifunc-5b-i386.d,
378 * testsuite/ld-ifunc/ifunc-5b-local-i386.d,
379 * testsuite/ld-ifunc/ifunc-5r-local-i386.d,
380 * testsuite/ld-ifunc/ifunc-6a-i386.d,
381 * testsuite/ld-ifunc/ifunc-6b-i386.d,
382 * testsuite/ld-ifunc/ifunc-7a-i386.d,
383 * testsuite/ld-ifunc/ifunc-7b-i386.d,
384 * testsuite/ld-ifunc/ifunc-8-i386.d,
385 * testsuite/ld-ifunc/ifunc-9-i386.d,
386 * testsuite/ld-ifunc/pr17154-i386-now.d,
387 * testsuite/ld-ifunc/pr17154-i386.d: xfail lynxos, nto, and solaris.
388
02e0be69
AM
3892020-02-06 Alan Modra <amodra@gmail.com>
390
391 * testsuite/lib/ld-lib.exp (is_generic): Delete.
392 * testsuite/ld-unique/unique.exp: Exclude tic6x.
393
b88237bc
AM
3942020-02-06 Alan Modra <amodra@gmail.com>
395
396 * configure.tgt (i[3-7]86-*-moss*): Don't clear targ_extra_ofiles.
397 (i[3-7]86-*-openbsd*, x86_64-*-openbsd*): Add.
398
a8c4d40b
L
3992020-02-02 H.J. Lu <hongjiu.lu@intel.com>
400
401 PR gas/25380
402 * testsuite/ld-i386/pr22001-1c.S: Use "unique,N" in .section
403 directives.
404 * testsuite/ld-i386/tls-gd1.S: Likewise.
405 * testsuite/ld-x86-64/pr21481b.S: Likewise.
406
5cebc931
JB
4072020-01-30 Jan Beulich <jbeulich@suse.com>
408
409 * ld.texi: Remove space between @option and brace.
410
ef8f08ca
AM
4112020-01-29 Alan Modra <amodra@gmail.com>
412
413 PR 25477
414 * ldelf.c (ldelf_check_ld_so_conf): Add prefix parameter and
415 correct concat.
416 (ldelf_after_open): Add prefix parameter.
417 * ldelf.h (ldelf_after_open): Update prototype.
418 * emultempl/elf.em (gld${EMULATION_NAME}_after_open): Pass $prefix
419 to ldelf_after_open.
420 * Makefile.am: Correct z80 dependencies.
421 * Makefile.in: Regenerate.
422
738174e1
AM
4232020-01-28 Alan Modra <amodra@gmail.com>
424
425 * ldexp.c (fold_name): Don't print bfd_link_hash_lookup failed
426 in first phase.
427
e3696f67
AM
4282020-01-27 Alan Modra <amodra@gmail.com>
429
430 * testsuite/ld-elfvers/vers.exp: Replace case statements with
431 switch statements.
432 * testsuite/ld-ifunc/ifunc.exp: Likewise.
433 * testsuite/ld-unique/unique.exp: Likewise.
434
3024a17a
AM
4352020-01-27 H.J. Lu <hongjiu.lu@intel.com>
436 Alan Modra <amodra@gmail.com>
437
438 PR ld/25458
439 * testsuite/ld-elf/pr25458.map: New file.
440 * testsuite/ld-elf/pr25458.rd: Likewise.
441 * testsuite/ld-elf/pr25458a.s: Likewise.
442 * testsuite/ld-elf/pr25458b.s: Likewise.
443 * testsuite/ld-elf/shared.exp: Run PR ld/25458 test.
444
6a462ad4
L
4452020-01-22 H.J. Lu <hongjiu.lu@intel.com>
446
447 PR ld/25416
448 * testsuite/ld-x86-64/tls.exp: Skip GNU2 TLS tests only without
449 compiler support.
450
a804e476
AM
4512020-01-22 Alan Modra <amodra@gmail.com>
452
453 * testsuite/ld-powerpc/tlsdesc3.d,
454 * testsuite/ld-powerpc/tlsdesc3.wf,
455 * testsuite/ld-powerpc/tlsdesc4.d,
456 * testsuite/ld-powerpc/tlsdesc4.s,
457 * testsuite/ld-powerpc/tlsdesc4.wf: New tests.
458 * testsuite/ld-powerpc/powerpc.exp: Run them.
459
9e7028aa
AM
4602020-01-22 Alan Modra <amodra@gmail.com>
461
462 * emultempl/ppc64elf.em (ppc64_opt, PARSE_AND_LIST_LONGOPTS),
463 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Support
464 --tls-get-addr-regsave and --no-tls-get-addr-regsave.
465 (params): Init new field.
466 * ld.texi (--tls-get-addr-regsave, --no-tls-get-addr-regsave):
467 Document.
468 * testsuite/ld-powerpc/tlsdesc.s,
469 * testsuite/ld-powerpc/tlsdesc.d,
470 * testsuite/ld-powerpc/tlsdesc.wf,
471 * testsuite/ld-powerpc/tlsdesc2.d,
472 * testsuite/ld-powerpc/tlsdesc2.wf,
473 * testsuite/ld-powerpc/tlsexenors.d,
474 * testsuite/ld-powerpc/tlsexenors.r,
475 * testsuite/ld-powerpc/tlsexers.d,
476 * testsuite/ld-powerpc/tlsexers.r,
477 * testsuite/ld-powerpc/tlsexetocnors.d,
478 * testsuite/ld-powerpc/tlsexetocrs.d,
479 * testsuite/ld-powerpc/tlsexetocrs.r,
480 * testsuite/ld-powerpc/tlsopt6.d,
481 * testsuite/ld-powerpc/tlsopt6.wf: New.
482 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
483
c48acf6f
YC
4842020-01-22 Yuri Chornoivan <yurchor@mageia.org>
485
486 PR 25417
487 * ldlang.c (ldlang_open_ctf): Fix error message typo.
488 * emultempl/z80elf.em (z80_elf_after_open): Likewise.
489
1e161364
L
4902020-01-21 H.J. Lu <hongjiu.lu@intel.com>
491
492 * testsuite/ld-elf/pr23900-1.d: Adjusted.
493
b4654b10
L
4942020-01-21 H.J. Lu <hongjiu.lu@intel.com>
495
496 * testsuite/ld-elf/pr23900-1.d: Also pass -l to readelf.
497
26916852
NC
4982020-01-20 Nick Clifton <nickc@redhat.com>
499
500 * po/pt_BR.po: Updated Brazilian Portuguese translation.
501 * po/uk.po: Updated Ukranian translation.
502
14470f07
L
5032020-01-20 H.J. Lu <hongjiu.lu@intel.com>
504
505 PR ld/25416
506 * testsuite/ld-x86-64/pr25416-1.s: New file
507 * testsuite/ld-x86-64/pr25416-1a.d: Likewise.
508 * testsuite/ld-x86-64/pr25416-1b.d: Likewise.
509 * testsuite/ld-x86-64/pr25416-1.s: Likewise.
510 * testsuite/ld-x86-64/pr25416-2.s: Likewise.
511 * testsuite/ld-x86-64/pr25416-2a.d: Likewise.
512 * testsuite/ld-x86-64/pr25416-2b.d: Likewise.
513 * testsuite/ld-x86-64/pr25416-3.d: Likewise.
514 * testsuite/ld-x86-64/pr25416-3.s: Likewise.
515 * testsuite/ld-x86-64/pr25416-4.d: Likewise.
516 * testsuite/ld-x86-64/pr25416-4.s: Likewise.
517 * testsuite/ld-x86-64/pr25416-5a.c: Likewise.
518 * testsuite/ld-x86-64/pr25416-5b.s: Likewise.
519 * testsuite/ld-x86-64/pr25416-5c.s: Likewise.
520 * testsuite/ld-x86-64/pr25416-5d.s: Likewise.
521 * testsuite/ld-x86-64/pr25416-5e.s: Likewise.
522 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/25416 tests.
523
b9ca1af6
AM
5242020-01-20 Alan Modra <amodra@gmail.com>
525
526 * testsuite/ld-powerpc/tlsexe.d: Match new __tls_get_addr stub.
527 * testsuite/ld-powerpc/tlsexeno.d: Likewise.
528 * testsuite/ld-powerpc/tlsexetoc.d: Likewise.
529 * testsuite/ld-powerpc/tlsexetocno.d: Likewise.
530 * testsuite/ld-powerpc/tlsopt5.d: Likewise.
531
69d24618
RM
5322020-01-18 Roland McGrath <mcgrathr@google.com>
533
534 * testsuite/ld-x86-64/align-branch-1.d: Loosen instruction regexps
535 to admit whatever absolute address. The label-relative address is
536 what the test needs to verify.
537
1b1bb2c6
NC
5382020-01-18 Nick Clifton <nickc@redhat.com>
539
540 * configure: Regenerate.
541 * po/ld.pot: Regenerate.
542
ae774686
NC
5432020-01-18 Nick Clifton <nickc@redhat.com>
544
545 Binutils 2.34 branch created.
546
6d0be74b
JL
5472020-01-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
548
549 * scripttempl/elf32msp430_3.sc: Remove.
550
0c3d9485
JL
5512020-01-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
552
553 * scripttempl/elf32msp430.sc: Add input section rules for
554 .upper.{text,data,rodata,bss}.
555 * testsuite/ld-msp430-elf/msp430-elf.exp: Run new test.
556 * testsuite/ld-msp430-elf/upper-input-sections.s: New test.
557
0d1cc75d
LB
5582020-01-15 Lars Brinkhoff <lars@nocrew.org>
559
560 PR 20694
561 * temulparams/pdp11.sh (TARGET_PAGE_SIZE): Set to 8192.
562
131cb553
JL
5632020-01-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
564
565 * testsuite/ld-msp430-elf/msp430-elf.exp: Run new test.
566 * testsuite/ld-msp430-elf/reloc-lo-430x.s: New test.
567
e1c6cf61
AM
5682020-01-15 Alan Modra <amodra@gmail.com>
569
570 * testsuite/ld-powerpc/ambiguousv1b.d: Adjust expected output.
571 * testsuite/ld-powerpc/funref.s: Align func_tab.
572 * testsuite/ld-powerpc/funref2.s: Likewise.
573 * testsuite/ld-powerpc/funv1.s: Add dot symbols.
574
e44925ae
LC
5752020-01-14 Lili Cui <lili.cui@intel.com>
576
577 * testsuite/ld-i386/align-branch-1.d: Updated for i686-pc-elf.
578
8c7e1c04
AM
5792020-01-13 Alan Modra <amodra@gmail.com>
580
581 * po/BLD-POTFILES.in: Regenerate.
582
4f18d742
CZ
5832020-01-13 Claudiu Zissulescu <claziss@gmail.com>
584
585 * testsuite/ld-arc/relax-local-pic.d: Improve matching patterns.
586
5e4f7e05
CZ
5872020-01-13 Claudiu Zissulescu <claziss@gmail.com>
588
589 * Makefile.am: Remove earcelf_prof.c and earclinux_prof.c
590 emulations.
591 * configure.tgt: Likewise.
592 * Makefile.in: Regenerate.
593 * emulparams/arcelf_prof.sh: Remove file.
594 * emulparams/arclinux_prof.sh: Likewise.
595
8cb31bad
CZ
5962020-01-13 Claudiu Zissulescu <claziss@gmail.com>
597
598 * scripttempl/elfarcv2.sc : Allow interrupt vector table to be
599 located at an arbitrary address. Use DWARF.sc file.
600 * scripttempl/elfarc.sc: Use DWARF.sc file.
601
85e290dc
AM
6022020-01-07 Alan Modra <amodra@gmail.com>
603
604 * testsuite/ld-mips-elf/eh-frame5.s,
605 * testsuite/ld-mips-elf/ehdr_start-new.s,
606 * testsuite/ld-mips-elf/ehdr_start-o32.s,
607 * testsuite/ld-mips-elf/mips16-call-global-1.s,
608 * testsuite/ld-mips-elf/mips16-intermix-1.s,
609 * testsuite/ld-mips-elf/mips16-pic-1b.s,
610 * testsuite/ld-mips-elf/mips16-pic-4c.s,
611 * testsuite/ld-mips-elf/no-shared-1-n64.s,
612 * testsuite/ld-mips-elf/no-shared-1-o32.s,
613 * testsuite/ld-mips-elf/pic-and-nonpic-1b-micromips.s,
614 * testsuite/ld-mips-elf/pic-and-nonpic-1b.s,
615 * testsuite/ld-mips-elf/pic-and-nonpic-2a.s,
616 * testsuite/ld-mips-elf/pic-and-nonpic-3b.s,
617 * testsuite/ld-mips-elf/pic-and-nonpic-4b.s,
618 * testsuite/ld-mips-elf/pic-and-nonpic-5a.s,
619 * testsuite/ld-mips-elf/pic-and-nonpic-6-n32c.s,
620 * testsuite/ld-mips-elf/pic-and-nonpic-6-n64c.s,
621 * testsuite/ld-mips-elf/pic-and-nonpic-6-o32c.s,
622 * testsuite/ld-mips-elf/pie.s,
623 * testsuite/ld-mips-elf/relax-jalr.s: Revert 2019-12-17 change.
624
0e1f1593
NC
6252020-01-06 Nick Clifton <nickc@redhat.com>
626
627 PR 25327
628 * testsuite/ld-elf/shared.exp: Add -fcommon option to compiler
629 command line when building libcomm1.o and pr13250 tests.
630 * testsuite/ld-plugin/lto.exp: Likewise for pr20267 tests.
631
d2dbcb18
NC
6322020-01-06 Nick Clifton <nickc@redhat.com>
633
634 PR 25326
635 * testsuite/ld-elf/shared.exp: Add -fcommon option to compiler
636 command line when building pr19579 binaries.
637
dc9bd8c9
HD
6382020-01-03 Hannes Domani <ssbssa@yahoo.de>
639
640 * emultempl/pe.em: Add new option --enable-reloc-section.
641 * emultempl/pep.em: Likewise.
642 * ld.texi: Document --enable-reloc-section.
643 * pe-dll.c (pe_dll_build_sections): Use pe_dll_enable_reloc_section.
644 (pe_dll_fill_sections): Simplify by calling pe_exe_fill_sections.
645 * pe-dll.h: Add extern declaration of option flag.
646 * pep-dll.c (pe_dll_enable_reloc_section):
647 Add alias define for pep_dll_enable_reloc_section.
648 * pep-dll.h: Add extern declaration of option flag.
649
6655dba2
SB
6502020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
651
652 * Makefile.am: Add new target z80-elf
653 * configure.tgt: Likewise.
654 * Makefile.in: Regenerate.
655 * emultempl/z80.em: Add support for eZ80 and Z180 architectures.
656 * emulparams/elf32z80.sh: New file.
657 * emultempl/z80elf.em: Likewise.
658 * testsuite/ld-elf/comm-data4.s: Fix for Z80.
659 * testsuite/ld-elf/comm-data5.s: Fix for Z80.
660 * testsuite/ld-scripts/fill16.d: Fix for Z80.
661 * testsuite/ld-z80/arch_ez80_adl.d: Likewise.
662 * testsuite/ld-z80/arch_ez80_z80.d: Likewise.
663 * testsuite/ld-z80/arch_r800.d: Likewise.
664 * testsuite/ld-z80/arch_z180.d: Likewise.
665 * testsuite/ld-z80/arch_z80.d: Likewise.
666 * testsuite/ld-z80/comb_arch_ez80_z80.d: Likewise.
667 * testsuite/ld-z80/comb_arch_z180.d: Likewise.
668 * testsuite/ld-z80/labels.s: Likewise.
669 * testsuite/ld-z80/relocs.s: Likewise.
670 * testsuite/ld-z80/relocs_b_ez80.d: Likewise.
671 * testsuite/ld-z80/relocs_b_z80.d: Likewise.
672 * testsuite/ld-z80/relocs_f_z80.d: Likewise.
673 * testsuite/ld-z80/z80.exp: Likewise.
674 * NEWS: Mention the new support.
675
0db131fb
TC
6762020-01-02 Tamar Christina <tamar.christina@arm.com>
677
678 PR 25210
679 PR 24753
680 * emultempl/aarch64elf.em (elf${ELFSIZE}_aarch64_add_stub_section):
681 Remove SEC_LINKER_CREATED.
682 * testsuite/ld-aarch64/aarch64-elf.exp: Add erratum835769-843419.
683 * testsuite/ld-aarch64/erratum835769-843419.d: New test.
684
b14ce8bf
AM
6852020-01-01 Alan Modra <amodra@gmail.com>
686
687 Update year range in copyright notice of all files.
688
0b114740 689For older changes see ChangeLog-2019
3499769a 690\f
0b114740 691Copyright (C) 2020 Free Software Foundation, Inc.
3499769a
AM
692
693Copying and distribution of this file, with or without modification,
694are permitted in any medium without royalty provided the copyright
695notice and this notice are preserved.
696
697Local Variables:
698mode: change-log
699left-margin: 8
700fill-column: 74
701version-control: never
702End:
This page took 0.329077 seconds and 4 git commands to generate.