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