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