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