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