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