]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/ChangeLog
gdb/testsuite: Remove hard coded addresses from expected results
[thirdparty/binutils-gdb.git] / ld / ChangeLog
CommitLineData
3d98c460
L
12020-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
c02d6661
AM
62020-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
aef397a1
CL
142020-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
53215f21
CL
192020-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
02a8180e
AM
252020-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
abf874aa
CL
302020-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
74e10d17
L
742020-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
502794d4
CE
852020-03-13 Christian Eggers <ceggers@gmx.de>
86
87 * ldexp.c (fold_name): Return SIZEOF_HEADERS in bytes.
88
1db6f990
AM
892020-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
92d4b13b
AM
942020-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
baf09cba
AM
1012020-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
d8e4137b
NC
1112020-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
cb001c0d
AM
1172020-03-02 Alan Modra <amodra@gmail.com>
118
119 * plugin.c (plugin_object_p): Return a bfd_cleanup.
120 (plugin_cleanup): New function.
121
2aa90762
L
1222020-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
5f602802
AM
1352020-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
3312f67c
L
1502020-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
dc1e8a47
AM
1622020-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
e310298c
AM
1692020-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
45c63c0f
NC
1782020-02-24 Nick Clifton <nickc@redhat.com>
179
180 * po/fr.po: Update French translation.
181
7b3c2715
AM
1822020-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
fcaaac0a
SB
1882020-02-19 Sergey Belyashov <sergey.belyashov@gmail.com>
189
190 PR 25537
191 * emultempl/z80.em: Remove machine compatability checking.
192
1932020-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
2e3cd5d0
AM
2122020-02-19 Alan Modra <amodra@gmail.com>
213
214 * testsuite/ld-plugin/pr25355.d: Allow alpha-linux nm result.
215
0aa99dcd
L
2162020-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
6e569656
L
2252020-02-07 H.J. Lu <hongjiu.lu@intel.com>
226
227 * testsuite/ld-unique/unique.exp (contains_unique_symbol): Updated.
228
9fc0b501
SB
2292020-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
adb8754e
L
2482020-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
9b538ba7
L
2542020-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
5242a0a0
L
2832020-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
b7d07216
L
2892020-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
3202020-02-06 H.J. Lu <hongjiu.lu@intel.com>
9e4d08bb
L
321
322 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark
323 z80 as not supported.
324
bb4e012c
AM
3252020-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
02e0be69
AM
3772020-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
b88237bc
AM
3822020-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
a8c4d40b
L
3872020-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
5cebc931
JB
3952020-01-30 Jan Beulich <jbeulich@suse.com>
396
397 * ld.texi: Remove space between @option and brace.
398
ef8f08ca
AM
3992020-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
738174e1
AM
4112020-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
e3696f67
AM
4162020-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
3024a17a
AM
4232020-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
6a462ad4
L
4332020-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
a804e476
AM
4392020-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
9e7028aa
AM
4482020-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
c48acf6f
YC
4722020-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
1e161364
L
4782020-01-21 H.J. Lu <hongjiu.lu@intel.com>
479
480 * testsuite/ld-elf/pr23900-1.d: Adjusted.
481
b4654b10
L
4822020-01-21 H.J. Lu <hongjiu.lu@intel.com>
483
484 * testsuite/ld-elf/pr23900-1.d: Also pass -l to readelf.
485
26916852
NC
4862020-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
14470f07
L
4912020-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
b9ca1af6
AM
5122020-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
69d24618
RM
5202020-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
1b1bb2c6
NC
5262020-01-18 Nick Clifton <nickc@redhat.com>
527
528 * configure: Regenerate.
529 * po/ld.pot: Regenerate.
530
ae774686
NC
5312020-01-18 Nick Clifton <nickc@redhat.com>
532
533 Binutils 2.34 branch created.
534
6d0be74b
JL
5352020-01-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
536
537 * scripttempl/elf32msp430_3.sc: Remove.
538
0c3d9485
JL
5392020-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
0d1cc75d
LB
5462020-01-15 Lars Brinkhoff <lars@nocrew.org>
547
548 PR 20694
549 * temulparams/pdp11.sh (TARGET_PAGE_SIZE): Set to 8192.
550
131cb553
JL
5512020-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
e1c6cf61
AM
5562020-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
e44925ae
LC
5632020-01-14 Lili Cui <lili.cui@intel.com>
564
565 * testsuite/ld-i386/align-branch-1.d: Updated for i686-pc-elf.
566
8c7e1c04
AM
5672020-01-13 Alan Modra <amodra@gmail.com>
568
569 * po/BLD-POTFILES.in: Regenerate.
570
4f18d742
CZ
5712020-01-13 Claudiu Zissulescu <claziss@gmail.com>
572
573 * testsuite/ld-arc/relax-local-pic.d: Improve matching patterns.
574
5e4f7e05
CZ
5752020-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
8cb31bad
CZ
5842020-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
85e290dc
AM
5902020-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
0e1f1593
NC
6132020-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
d2dbcb18
NC
6202020-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
dc9bd8c9
HD
6262020-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
6655dba2
SB
6382020-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
0db131fb
TC
6642020-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
b14ce8bf
AM
6732020-01-01 Alan Modra <amodra@gmail.com>
674
675 Update year range in copyright notice of all files.
676
0b114740 677For older changes see ChangeLog-2019
3499769a 678\f
0b114740 679Copyright (C) 2020 Free Software Foundation, Inc.
3499769a
AM
680
681Copying and distribution of this file, with or without modification,
682are permitted in any medium without royalty provided the copyright
683notice and this notice are preserved.
684
685Local Variables:
686mode: change-log
687left-margin: 8
688fill-column: 74
689version-control: never
690End: