Automatic date update in version.in
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
1c1a69dc
JDA
12019-10-19 Alan Modra <amodra@gmail.com>
2
3 PR ld/25110
4 * testsuite/ld-gc/gc.exp: Adjust LDFLAGS for pr19161 dump test on
5 hppa*-*-linux*.
6
330a6637
JW
72019-10-17 Nelson Chu <nelson.chu@sifive.com>
8
9 * testsuite/ld-riscv-elf/lib-nopic-01b.d: Update the error message.
10
11 * testsuite/ld-riscv-elf/lib-nopic-01a.s: Create the shared library
12 lib-nopic-01a.so, it will be linked with lib-nopic-01b.s.
13 * testsuite/ld-riscv-elf/lib-nopic-01b.s: Add new test for the
14 unresolved relocation. Link the non-pic code into a shared library
15 may cause the error.
16 * testsuite/ld-riscv-elf/lib-nopic-01b.d: Likewise.
17 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run the new test only when
18 the shared library is supported.
19
22216541
AM
202019-10-16 Alan Modra <amodra@gmail.com>
21
22 PR 13616
23 * emulparams/elf64lppc.sh (NOP): Don't define.
24 * emulparams/elf64ppc.sh (NOP): Don't define.
25 * ldwrite.c (build_link_order): Use link_info.big_endian. Move
26 code determining endian to use for data_statement to..
27 * ldemul.c (after_open_default): ..here. Set link_info.big_endian.
28
dfde93ab
AM
292019-10-16 Alan Modra <amodra@gmail.com>
30
31 * genscripts.sh: Correct comments. Remove outdated comment block
32 saying "Generate 5 or 6 script files..". Remove description of
33 ld options from comment emitted to script files, and order options
34 as per comment block in genscripts.sh saying which scripts are
35 generated.
36
3d9ee7d2
AM
372019-10-14 Alan Modra <amodra@gmail.com>
38
39 * ldctor.h (struct set_element): Make next field a union, adding
40 idx field.
41 * ldctor.c (ctor_cmp): Dereference pointer and lose unnecessary
42 const. Replace final sort on pointer value with final sort on idx.
43 (ldctor_add_set_entry): Adjust next field access.
44 (ldctor_build_sets): Likewise. Set u.idx field for sort.
45
08dec09d
AM
462019-10-14 Alan Modra <amodra@gmail.com>
47
48 * pe-dll.c (reloc_data_type): Add idx field.
49 (reloc_sort): Perform final sort by idx.
50 (generate_reloc): Set idx.
51
4786fbf3
NC
522019-10-13 Nick Clifton <nickc@redhat.com>
53
54 * NEWS: Delete superflous "Changes in 2.33" comment.
55
8610e0fd
AM
562019-10-09 Alan Modra <amodra@gmail.com>
57
58 PR 25081
59 * ldlang.c (lang_size_sections_1): Set lma from section vma
60 rather than dot.
61
64465112
AM
622019-10-08 Alan Modra <amodra@gmail.com>
63
64 * testsuite/ld-powerpc/localgot.s,
65 * testsuite/ld-powerpc/localgot.d: New test.
66 * testsuite/ld-powerpc/powerpc.exp: Run it.
67
c0ea7c52
JL
682019-10-07 Jozef Lawrynowicz <jozef.l@mittosystems.com>
69
70 * testsuite/ld-msp430-elf/attr-gnu-main.s: New test.
71 * testsuite/ld-msp430-elf/attr-gnu-obj.s: New test.
72 * testsuite/ld-msp430-elf/attr-gnu-region-lower-upper.d: New test.
73 * testsuite/ld-msp430-elf/attr-gnu-region-lower.d: New test.
74 * testsuite/ld-msp430-elf/attr-gnu-region-upper.d: New test.
75 * testsuite/ld-msp430-elf/msp430-elf.exp: Run new tests.
76
847d5183
AM
772019-10-07 Alan Modra <amodra@gmail.com>
78
79 * ldmisc.c (vfinfo): Save and restore bfd_error around bfd
80 function calls that might set it.
81 * testsuite/ld-elf/indirect.exp: Don't expect "nonrepresentable
82 section" message.
83
c3614cff
AM
842019-10-07 Alan Modra <amodra@gmail.com>
85
86 * testsuite/ld-powerpc/tlsexe.r: Adjust for added TLSMARK symbol.
87 * testsuite/ld-powerpc/tlsexe32.r: Likewise.
88 * testsuite/ld-powerpc/tlsso.r: Likewise.
89 * testsuite/ld-powerpc/tlsso32.r: Likewise.
90 * testsuite/ld-powerpc/tls32no.d,
91 * testsuite/ld-powerpc/tls32no.g: New test files.
92 * testsuite/ld-powerpc/tlsexe32no.d,
93 * testsuite/ld-powerpc/tlsexe32no.g,
94 * testsuite/ld-powerpc/tlsexe32no.r: New test files.
95 * testsuite/ld-powerpc/tlsexeno.d,
96 * testsuite/ld-powerpc/tlsexeno.g,
97 * testsuite/ld-powerpc/tlsexeno.r: New test files.
98 * testsuite/ld-powerpc/tlsexetocno.d,
99 * testsuite/ld-powerpc/tlsexetocno.g: New test files.
100 * testsuite/ld-powerpc/tlsno.d,
101 * testsuite/ld-powerpc/tlsno.g: New test files.
102 * testsuite/ld-powerpc/tlstocno.d,
103 * testsuite/ld-powerpc/tlstocno.g: New test files.
104 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
105
8154f49c
AM
1062019-10-07 Alan Modra <amodra@gmail.com>
107
108 * testsuite/ld-arm/tls-gdesc-neg.d: Relax target match.
109
f749f26e
AM
1102019-10-04 Alan Modra <amodra@gmail.com>
111
112 * testsuite/ld-powerpc/tlsso.d: Adjust to suit tlsld_got usage change.
113 * testsuite/ld-powerpc/tlsso.g: Likewise.
114 * testsuite/ld-powerpc/tlsso.r: Likewise.
115 * testsuite/ld-powerpc/tlsso32.d: Likewise.
116 * testsuite/ld-powerpc/tlsso32.g: Likewise.
117 * testsuite/ld-powerpc/tlsso32.r: Likewise.
118
b627f562
SN
1192019-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
120
121 PR ld/25062
122 * testsuite/ld-arm/arm-elf.exp: Update.
123 * testsuite/ld-arm/tls-gdesc-neg.d: New test.
124 * testsuite/ld-arm/tls-gdesc-neg.s: New test.
125
87279e3c
NA
1262019-09-23 Nick Alcock <nick.alcock@oracle.com>
127
128 * configure.ac (TESTCTFLIB): Set to the .so or .a, like TESTBFDLIB.
129 * Makefile.am (TESTCTFLIB): Use it.
130 (LIBCTF): Use the .la file.
131 (check-DEJAGNU): Use it.
132 * Makefile.in: Regenerated.
133 * configure: Likewise.
134
1ff6de03
NA
1352019-09-30 Nick Alcock <nick.alcock@oracle.com>
136
137 * ldlang.h: (struct lang_input_statement_struct): Add the_ctf.
138 (struct elf_sym_strtab): Add forward.
139 (struct elf_strtab_hash): Likewise.
140 (ldlang_ctf_apply_strsym): Declare.
141 (ldlang_write_ctf_late): Likewise.
142 * ldemul.h (ldemul_emit_ctf_early): New.
143 (ldemul_examine_strtab_for_ctf): Likewise.
144 (ld_emulation_xfer_type) <emit_ctf_early>: Likewise.
145 (ld_emulation_xfer_type) <examine_strtab_for_ctf>: Likewise.
146 * ldemul.c (ldemul_emit_ctf_early): New.
147 (ldemul_examine_strtab_for_ctf): Likewise.
148 * ldlang.c: Include ctf-api.h.
149 (CTF_COMPRESSION_THRESHOLD): New.
150 (ctf_output): New. Initialized in...
151 (ldlang_open_ctf): ... this new function. Open all the CTF
152 sections in the input files: mark them non-loaded and empty
153 so as not to copy their contents to the output, but linker-created
154 so the section gets created in the target.
155 (ldlang_merge_ctf): New, merge types via ctf_link_add_ctf and
156 ctf_link.
157 (ldlang_ctf_apply_strsym): New, an examine_strtab callback: wrap
158 ldemul_examine_strtab_for_ctf.
159 (lang_write_ctf): New, write out the CTF section.
160 (ldlang_write_ctf_late): New, late call via bfd's emit_ctf hook.
161 (lang_process): Call ldlang_open_ctf, ldlang_merge_ctf, and
162 lang_write_ctf.
163 * ldmain.c (link_callbacks): Add ldlang_ctf_apply_strsym,
164 ldlang_write_ctf_late.
165 * emultempl/aix.em: Add ctf-api.h.
166 * emultempl/armcoff.em: Likewise.
167 * emultempl/beos.em: Likewise.
168 * emultempl/elf.em: Likewise.
169 * emultempl/generic.em: Likewise.
170 * emultempl/linux.em: Likewise.
171 * emultempl/msp430.em: Likewise.
172 * emultempl/pe.em: Likewise.
173 * emultempl/pep.em: Likewise.
174 * emultempl/ticoff.em: Likewise.
175 * emultempl/vanilla.em: Likewise.
176 * ldcref.c: Likewise.
177 * ldctor.c: Likewise.
178 * ldelf.c: Likewise.
179 * ldelfgen.c: Likewise.
180 * ldemul.c: Likewise.
181 * ldexp.c: Likewise.
182 * ldfile.c: Likewise.
183 * ldgram.c: Likewise.
184 * ldlex.l: Likewise.
185 * ldmain.c: Likewise.
186 * ldmisc.c: Likewise.
187 * ldver.c: Likewise.
188 * ldwrite.c: Likewise.
189 * lexsup.c: Likewise.
190 * mri.c: Likewise.
191 * pe-dll.c: Likewise.
192 * plugin.c: Likewise.
193
194 * ldelfgen.c (ldelf_emit_ctf_early): New.
195 (ldelf_examine_strtab_for_ctf): tell libctf about the symtab and
196 strtab.
197 (struct ctf_strsym_iter_cb_arg): New, state to do so.
198 (ldelf_ctf_strtab_iter_cb): New: tell libctf about
199 each string in the strtab in turn.
200 (ldelf_ctf_symbols_iter_cb): New, tell libctf
201 about each symbol in the symtab in turn.
202 * ldelfgen.h (struct elf_sym_strtab): Add forward.
203 (struct elf_strtab_hash): Likewise.
204 (struct ctf_file): Likewise.
205 (ldelf_emit_ctf_early): Declare.
206 (ldelf_examine_strtab_for_ctf): Likewise.
207 * emultempl/elf-generic.em (LDEMUL_EMIT_CTF_EARLY): Set it.
208 (LDEMUL_EXAMINE_STRTAB_FOR_CTF): Likewise.
209 * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Add
210 emit_ctf_early and examine_strtab_for_ctf, NULL by default.
211 * emultempl/armcoff.em (ld_${EMULATION_NAME}_emulation): Likewise.
212 * emultempl/beos.em (ld_${EMULATION_NAME}_emulation): Likewise.
213 * emultempl/elf.em (ld_${EMULATION_NAME}_emulation): Likewise.
214 * emultempl/generic.em (ld_${EMULATION_NAME}_emulation): Likewise.
215 * emultempl/linux.em (ld_${EMULATION_NAME}_emulation): Likewise.
216 * emultempl/msp430.em (ld_${EMULATION_NAME}_emulation): Likewise.
217 * emultempl/pe.em (ld_${EMULATION_NAME}_emulation): Likewise.
218 * emultempl/pep.em (ld_${EMULATION_NAME}_emulation): Likewise.
219 * emultempl/ticoff.em (ld_${EMULATION_NAME}_emulation): Likewise.
220 * emultempl/vanilla.em (ld_vanilla_emulation): Likewise.
221
222 * Makefile.am: Pull in libctf (and zlib, a transitive requirement
223 for compressed CTF section emission). Pass it on to DejaGNU.
224 * configure.ac: Add AM_ZLIB.
225 * aclocal.m4: Added zlib.m4.
226 * Makefile.in: Regenerated.
227 * testsuite/ld-bootstrap/bootstrap.exp: Use it when relinking ld.
228
1914e264
AM
2292019-10-02 Alan Modra <amodra@gmail.com>
230
231 * ld.texi (-Bsymbolic, -Bsymbolic-functions): Don't mention PIEs.
232 * ld.h (symbolic_enum, dynamic_list_enum),
233 (args_type <symbolic, dynamic_list>): Move to..
234 * lexsup.c (parse_args): ..here, using auto vars opt_symbolic
235 and opt_dynamic_list rather than command_line fields. Only
236 act on -Bsymbolic and -Bsymbolic-functions for shared library
237 output. Free dynamic_list.
238
41f37a6f
AM
2392019-09-26 Alan Modra <amodra@gmail.com>
240
241 PR 24262
242 * ld.texi (-plugin): Revert 2019-03-15 change.
243
9a24a276
AM
2442019-09-25 Alan Modra <amodra@gmail.com>
245
246 * ld.texi (SORT_BY_ALIGNMENT): Reword slightly.
247 (SORT_BY_INIT_PRIORITY): Elucidate.
248 * ldlang.c: Include limits.h.
249 (get_init_priority): Comment. Change param to a section,
250 return an int. Sanity check priority digits. Support sorting
251 more sections with trailing digits. Return -1 on error.
252 (compare_section): Adjust.
253
6ba2ed48
NC
2542019-09-25 Nick Clifton <nickc@redhat.com>
255
256 * emultempl/avrelf.em (_before_allocation): Silence build warning
257 using clang.
258
4a41f3fa
L
2592019-09-23 H.J. Lu <hongjiu.lu@intel.com>
260
261 * testsuite/ld-plugin/pr24406-1.c (main): Correct buffer size
262 to read.
263
0b4453c7
AM
2642019-09-23 Alan Modra <amodra@gmail.com>
265
266 * deffilep.y: Include bfdlink.h.
267 * ldelf.c: Likewise.
268 * ldelfgen.c: Likewise.
269 * ldver.c: Likewise.
270 * mri.c: Likewise.
271 * emultempl/irix.em: Don't include ld.h, ldmain.h, libiberty.h.
272 Comment.
273
f5c5b7c1
AM
2742019-09-23 Alan Modra <amodra@gmail.com>
275
276 * emultempl/m68kelf.em: Include elf32-m68k.h.
277
8410a658
AM
2782019-09-23 Alan Modra <amodra@gmail.com>
279
280 * emultempl/bfin.em: Include elf32-bfin.h.
281
ca05ca5e
AM
2822019-09-23 Alan Modra <amodra@gmail.com>
283
284 * emultempl/cr16elf.em: Include elf32-cr16.h.
285
6ea7de32
AM
2862019-09-23 Alan Modra <amodra@gmail.com>
287
288 * emultempl/aix.em: Include xcofflink.h.
289
f37164d7
AM
2902019-09-23 Alan Modra <amodra@gmail.com>
291
292 * emultempl/armelf.em: Include elf32-arm.h.
293 * emultempl/pe.em: Move func defines later and include coff-arm.h.
294
a8bfaadb
AM
2952019-09-23 Alan Modra <amodra@gmail.com>
296
297 * emultempl/aarch64elf.em: Include elfxx-aarch64.h.
298
3352ae99
AM
2992019-09-23 Alan Modra <amodra@gmail.com>
300
301 * emultempl/ia64elf.em: Include elfxx-ia64.h.
302
d48d68b6
AM
3032019-09-23 Alan Modra <amodra@gmail.com>
304
305 * emultempl/v850elf.em: Include elf32-v850.h.
306
6e67e6b0
AM
3072019-09-23 Alan Modra <amodra@gmail.com>
308
309 * emultempl/cskyelf.em: Include elf32-csky.h.
310
a13ba308
AM
3112019-09-22 Alan Modra <amodra@gmail.com>
312
313 * testsuite/ld-srec/sr3.cc (FOO_MSG_LEN): Set to 4.
314
9d1da81b
JW
3152019-09-20 Nelson Chu <nelson.chu@sifive.com>
316
317 * testsuite/ld-riscv-elf/weakref32.s: Add relaxable undef weak code.
318 * testsuite/ld-riscv-elf/weakref64.s: Likewise.
319 * testsuite/ld-riscv-elf/weakref32.d: Updated.
320 * testsuite/ld-riscv-elf/weakref64.d: Updated.
321
a48931cc
AM
3222019-09-20 Alan Modra <amodra@gmail.com>
323
324 * emultempl/xtensaelf.em (xtensa_get_section_deps): Comment.
325 Use bfd_section_userdata.
326 (xtensa_set_section_deps): Use bfd_set_section_userdata.
327 * ldlang.c (lang_output_section_get): Use bfd_section_userdata.
328 (sort_def_symbol): Likewise, and bfd_set_section_userdata.
329 (init_os): Use bfd_set_section_userdata.
330 (print_all_symbols): Use bfd_section_userdata.
331 * ldlang.h (get_userdata): Delete.
332
00f93c44
AM
3332019-09-20 Alan Modra <amodra@gmail.com>
334
335 * ldelf.c (ldelf_after_open, ldelf_place_orphan
336 * ldlang.c (walk_wild_file, lang_process): Use bfd_usrdata.
337 (load_symbols, ldlang_add_file): Use bfd_set_usrdata.
338 * ldmain.c (add_archive_element): Use bfd_usrdata.
339 * ldlang.h (bfd_input_just_syms): New inline function.
340 * emultempl/aarch64elf.em (build_section_lists): Use it.
341 * emultempl/mmo.em (mmo_place_orphan): Likewise.
342 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
343 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
344 * emultempl/ppc64elf.em (build_section_lists): Likewise.
345
fd361982
AM
3462019-09-18 Alan Modra <amodra@gmail.com>
347
348 * ldcref.c, * ldctor.c, * ldelf.c, * ldlang.c, * pe-dll.c,
349 * emultempl/aarch64elf.em, * emultempl/aix.em,
350 * emultempl/armcoff.em, * emultempl/armelf.em,
351 * emultempl/cr16elf.em, * emultempl/cskyelf.em,
352 * emultempl/m68hc1xelf.em, * emultempl/m68kelf.em,
353 * emultempl/mipself.em, * emultempl/mmix-elfnmmo.em,
354 * emultempl/mmo.em, * emultempl/msp430.em,
355 * emultempl/nios2elf.em, * emultempl/pe.em, * emultempl/pep.em,
356 * emultempl/ppc64elf.em, * emultempl/xtensaelf.em: Update
357 throughout for bfd section macro and function changes.
358
e6f7f6d1
AM
3592019-09-18 Alan Modra <amodra@gmail.com>
360
361 * ldcref.c (check_reloc_refs): Update bfd_get_section to
362 bfd_asymbol_section.
363
e0b2a78c
SM
3642019-09-18 Simon Marchi <simon.marchi@polymtl.ca>
365
366 * Makefile.in: Re-generate.
367 * configure: Re-generate.
368
1d38e9d1
AM
3692019-09-18 Alan Modra <amodra@gmail.com>
370
371 * ldlang.c (stricpy, strcut, name_compare): Constify params.
372 (get_first_input_target): Make return and "target" const.
373
90d92a63
AM
3742019-09-18 Alan Modra <amodra@gmail.com>
375
376 * emultempl/pe.em (after_open): Use bfd_set_filename.
377 * emultempl/pep.em (after_open): Use bfd_set_filename.
378
0aa0727c
AM
3792019-09-16 Alan Modra <amodra@gmail.com>
380
381 PR 25002
382 * ldelf.c: Include safe-ctype.h.
383
bb695960
PB
3842019-09-16 Phil Blundell <pb@pbcl.net>
385
386 * Makefile.in, configure: Regenerated.
387
1f1f5b92
AM
3882019-09-13 Alan Modra <amodra@gmail.com>
389
390 * ldlang.c (new_afile): Remove add_to_list parameter.
391 (lang_add_input_file): Update new_afile calls.
392 (lookup_name): Splice input_statement added by new_afile into
393 statement_list after current input_file_chain entry.
394 (lang_process): Update comment.
395
0d41d9a2
AM
3962019-09-12 Alan Modra <amodra@gmail.com>
397
398 * ldlang.c (print_input_statement): Do not exclude linker created
399 BFDs.
400
a19826f4
AM
4012019-09-12 Alan Modra <amodra@gmail.com>
402
403 PR 24981
404 * ldlang.c (lang_process): Remove assertion. Comment.
405
075a2b89
AM
4062019-09-11 Alan Modra <amodra@gmail.com>
407
408 * emultempl/elf32.em: Remove "misnamed" comment. Rename to..
409 * emultempl/elf.em: ..this.
410 * configure.ac (elf_list_options): Adjust TEMPLATE_NAME grep.
411 * emulparams/aarch64cloudabi.sh (TEMPLATE_NAME): Set to elf.
412 * emulparams/aarch64elf.sh: Likewise.
413 * emulparams/aarch64elf32.sh: Likewise.
414 * emulparams/aarch64fbsd.sh: Likewise.
415 * emulparams/aarch64linux.sh: Likewise.
416 * emulparams/aarch64linux32.sh: Likewise.
417 * emulparams/arcelf.sh: Likewise.
418 * emulparams/arcelf_prof.sh: Likewise.
419 * emulparams/arclinux.sh: Likewise.
420 * emulparams/arclinux_prof.sh: Likewise.
421 * emulparams/arcv2elf.sh: Likewise.
422 * emulparams/arcv2elfx.sh: Likewise.
423 * emulparams/armelf.sh: Likewise.
424 * emulparams/armelf_fuchsia.sh: Likewise.
425 * emulparams/armelf_linux.sh: Likewise.
426 * emulparams/armelf_phoenix.sh: Likewise.
427 * emulparams/armnto.sh: Likewise.
428 * emulparams/avr1.sh: Likewise.
429 * emulparams/avr2.sh: Likewise.
430 * emulparams/avr25.sh: Likewise.
431 * emulparams/avr3.sh: Likewise.
432 * emulparams/avr31.sh: Likewise.
433 * emulparams/avr35.sh: Likewise.
434 * emulparams/avr4.sh: Likewise.
435 * emulparams/avr5.sh: Likewise.
436 * emulparams/avr51.sh: Likewise.
437 * emulparams/avr6.sh: Likewise.
438 * emulparams/avrtiny.sh: Likewise.
439 * emulparams/avrxmega1.sh: Likewise.
440 * emulparams/avrxmega2.sh: Likewise.
441 * emulparams/avrxmega3.sh: Likewise.
442 * emulparams/avrxmega4.sh: Likewise.
443 * emulparams/avrxmega5.sh: Likewise.
444 * emulparams/avrxmega6.sh: Likewise.
445 * emulparams/avrxmega7.sh: Likewise.
446 * emulparams/criself.sh: Likewise.
447 * emulparams/crislinux.sh: Likewise.
448 * emulparams/cskyelf.sh: Likewise.
449 * emulparams/d10velf.sh: Likewise.
450 * emulparams/elf32_sparc.sh: Likewise.
451 * emulparams/elf32_spu.sh: Likewise.
452 * emulparams/elf32_tic6x_le.sh: Likewise.
453 * emulparams/elf32_x86_64.sh: Likewise.
454 * emulparams/elf32am33lin.sh: Likewise.
455 * emulparams/elf32bfin.sh: Likewise.
456 * emulparams/elf32bfinfd.sh: Likewise.
457 * emulparams/elf32bmip.sh: Likewise.
458 * emulparams/elf32bmipn32-defs.sh: Likewise.
459 * emulparams/elf32cr16.sh: Likewise.
460 * emulparams/elf32cr16c.sh: Likewise.
461 * emulparams/elf32crx.sh: Likewise.
462 * emulparams/elf32epiphany.sh: Likewise.
463 * emulparams/elf32epiphany_4x4.sh: Likewise.
464 * emulparams/elf32frvfd.sh: Likewise.
465 * emulparams/elf32ip2k.sh: Likewise.
466 * emulparams/elf32lm32.sh: Likewise.
467 * emulparams/elf32lm32fd.sh: Likewise.
468 * emulparams/elf32lriscv-defs.sh: Likewise.
469 * emulparams/elf32m32c.sh: Likewise.
470 * emulparams/elf32mb_linux.sh: Likewise.
471 * emulparams/elf32mbel_linux.sh: Likewise.
472 * emulparams/elf32mcore.sh: Likewise.
473 * emulparams/elf32mep.sh: Likewise.
474 * emulparams/elf32metag.sh: Likewise.
475 * emulparams/elf32microblaze.sh: Likewise.
476 * emulparams/elf32mipswindiss.sh: Likewise.
477 * emulparams/elf32or1k.sh: Likewise.
478 * emulparams/elf32ppccommon.sh: Likewise.
479 * emulparams/elf32rl78.sh: Likewise.
480 * emulparams/elf32rx.sh: Likewise.
481 * emulparams/elf32tilegx.sh: Likewise.
482 * emulparams/elf32tilepro.sh: Likewise.
483 * emulparams/elf32vax.sh: Likewise.
484 * emulparams/elf32visium.sh: Likewise.
485 * emulparams/elf32xc16x.sh: Likewise.
486 * emulparams/elf32xc16xl.sh: Likewise.
487 * emulparams/elf32xc16xs.sh: Likewise.
488 * emulparams/elf32xstormy16.sh: Likewise.
489 * emulparams/elf32xtensa.sh: Likewise.
490 * emulparams/elf64_aix.sh: Likewise.
491 * emulparams/elf64_ia64.sh: Likewise.
492 * emulparams/elf64_s390.sh: Likewise.
493 * emulparams/elf64_sparc.sh: Likewise.
494 * emulparams/elf64alpha.sh: Likewise.
495 * emulparams/elf64bpf.sh: Likewise.
496 * emulparams/elf64hppa.sh: Likewise.
497 * emulparams/elf64mmix.sh: Likewise.
498 * emulparams/elf64rdos.sh: Likewise.
499 * emulparams/elf64tilegx.sh: Likewise.
500 * emulparams/elf_i386.sh: Likewise.
501 * emulparams/elf_i386_be.sh: Likewise.
502 * emulparams/elf_i386_ldso.sh: Likewise.
503 * emulparams/elf_i386_vxworks.sh: Likewise.
504 * emulparams/elf_iamcu.sh: Likewise.
505 * emulparams/elf_k1om.sh: Likewise.
506 * emulparams/elf_l1om.sh: Likewise.
507 * emulparams/elf_s390.sh: Likewise.
508 * emulparams/elf_x86_64.sh: Likewise.
509 * emulparams/h8300elf.sh: Likewise.
510 * emulparams/h8300elf_linux.sh: Likewise.
511 * emulparams/hppa64linux.sh: Likewise.
512 * emulparams/hppaelf.sh: Likewise.
513 * emulparams/hppalinux.sh: Likewise.
514 * emulparams/i386lynx.sh: Likewise.
515 * emulparams/i386moss.sh: Likewise.
516 * emulparams/i386nto.sh: Likewise.
517 * emulparams/m32relf.sh: Likewise.
518 * emulparams/m32relf_linux.sh: Likewise.
519 * emulparams/m68hc11elf.sh: Likewise.
520 * emulparams/m68hc11elfb.sh: Likewise.
521 * emulparams/m68hc12elf.sh: Likewise.
522 * emulparams/m68hc12elfb.sh: Likewise.
523 * emulparams/m68kelf.sh: Likewise.
524 * emulparams/mn10300.sh: Likewise.
525 * emulparams/nds32elf.sh: Likewise.
526 * emulparams/nds32elf16m.sh: Likewise.
527 * emulparams/nds32elf_linux.sh: Likewise.
528 * emulparams/nios2elf.sh: Likewise.
529 * emulparams/nios2linux.sh: Likewise.
530 * emulparams/pruelf.sh: Likewise.
531 * emulparams/score3_elf.sh: Likewise.
532 * emulparams/shelf.sh: Likewise.
533 * emulparams/shelf_nto.sh: Likewise.
534 * emulparams/shelf_vxworks.sh: Likewise.
535 * emulparams/shlelf_linux.sh: Likewise.
536 * emulparams/shlelf_nto.sh: Likewise.
537 * emulparams/v850.sh: Likewise.
538 * emulparams/v850_rh850.sh: Likewise.
539 * ldelf.c: Update comment.
540 * ldelf.h: Likewise.
541 * emultempl/aarch64elf.em: Likewise.
542 * emultempl/alphaelf.em: Likewise.
543 * emultempl/arclinux.em: Likewise.
544 * emultempl/armelf.em: Likewise.
545 * emultempl/avrelf.em: Likewise.
546 * emultempl/bfin.em: Likewise.
547 * emultempl/cr16elf.em: Likewise.
548 * emultempl/crxelf.em: Likewise.
549 * emultempl/cskyelf.em: Likewise.
550 * emultempl/elf-generic.em: Likewise.
551 * emultempl/elf-x86.em: Likewise.
552 * emultempl/epiphanyelf_4x4.em: Likewise.
553 * emultempl/hppaelf.em: Likewise.
554 * emultempl/ia64elf.em: Likewise.
555 * emultempl/m68hc1xelf.em: Likewise.
556 * emultempl/m68kelf.em: Likewise.
557 * emultempl/metagelf.em: Likewise.
558 * emultempl/mmix-elfnmmo.em: Likewise.
559 * emultempl/mmixelf.em: Likewise.
560 * emultempl/mmo.em: Likewise.
561 * emultempl/needrelax.em: Likewise.
562 * emultempl/nios2elf.em: Likewise.
563 * emultempl/ppc32elf.em: Likewise.
564 * emultempl/ppc64elf.em: Likewise.
565 * emultempl/pruelf.em: Likewise.
566 * emultempl/rxelf.em: Likewise.
567 * emultempl/scoreelf.em: Likewise.
568 * emultempl/spuelf.em: Likewise.
569 * emultempl/tic6xdsbt.em: Likewise.
570 * emultempl/v850elf.em: Likewise.
571 * emultempl/vms.em: Likewise.
572 * emultempl/vxworks.em: Likewise.
573 * emultempl/xtensaelf.em: Likewise.
574 * scripttempl/arclinux.sc: Likewise.
575 * scripttempl/armbpabi.sc: Likewise.
576 * scripttempl/elf.sc: Likewise.
577 * scripttempl/elf64bpf.sc: Likewise.
578 * scripttempl/elf64hppa.sc: Likewise.
579 * scripttempl/elf_chaos.sc: Likewise.
580 * scripttempl/elfarc.sc: Likewise.
581 * scripttempl/elfarcv2.sc: Likewise.
582 * scripttempl/elfd10v.sc: Likewise.
583 * scripttempl/elfm68hc11.sc: Likewise.
584 * scripttempl/elfm68hc12.sc: Likewise.
585 * scripttempl/elfm9s12z.sc: Likewise.
586 * scripttempl/elfxgate.sc: Likewise.
587 * scripttempl/elfxtensa.sc: Likewise.
588 * scripttempl/epiphany_4x4.sc: Likewise.
589 * scripttempl/iq2000.sc: Likewise.
590 * scripttempl/mep.sc: Likewise.
591 * scripttempl/nds32elf.sc: Likewise.
592 * scripttempl/v850.sc: Likewise.
593 * scripttempl/v850_rh850.sc: Likewise.
594 * scripttempl/xstormy16.sc: Likewise.
595 * testsuite/ld-arm/arm-dyn.ld: Likewise.
596 * testsuite/ld-arm/arm-lib.ld: Likewise.
597 * testsuite/ld-arm/arm-no-rel-plt.ld: Likewise.
598 * testsuite/ld-arm/fdpic-main.ld: Likewise.
599 * testsuite/ld-arm/fdpic-shared.ld: Likewise.
600 * testsuite/ld-elf/elf.exp: Likewise.
601 * testsuite/ld-elf/orphan-region.d: Likewise.
602 * testsuite/ld-elf/orphan.d: Likewise.
603 * testsuite/ld-elf/pr349.d: Likewise.
604 * testsuite/ld-elf/warn2.d: Likewise.
605 * testsuite/ld-elfvsb/elf-offset.ld: Likewise.
606 * testsuite/ld-mips-elf/mips-dyn.ld: Likewise.
607 * testsuite/ld-mips-elf/mips-lib.ld: Likewise.
608 * testsuite/ld-scripts/dynamic-sections.t: Likewise.
609 * testsuite/ld-shared/elf-offset.ld: Likewise.
610 * configure: Regenerate.
611
d871d478
AM
6122019-09-11 Alan Modra <amodra@gmail.com>
613
614 * Makefile.am (ALL_EMUL_EXTRA_OFILES): Add ldelf and ldelfgen.
615 (CFILES, HFILES, EXTRA_ld_new_SOURCES): Likewise.
616 * configure.tgt: Formatting.
617 (targ_extra_ofiles): Init to ldelf.o ldelfgen.o, reset to just
618 ldelfgen.o for generic ELF targets, and empty for non-ELF.
619 * emultempl/aarch64elf.em (gldaarch64_layout_sections_again): Use
620 ldelf_map_segments.
621 (gld${EMULATION_NAME}_after_allocation): Likewise.
622 (real_func, aarch64_for_each_input_file_wrapper),
623 (aarch64_lang_for_each_input_file): Delete.
624 (lang_for_each_input_file): Don't define.
625 * emultempl/alphaelf.em (alpha_after_parse): Use ldelf_map_segments.
626 * emultempl/armelf.em (gldarm_layout_sections_again): Likewise.
627 (gld${EMULATION_NAME}_after_allocation): Likewise.
628 (real_func, arm_for_each_input_file_wrapper),
629 (arm_lang_for_each_input_file): Delete.
630 (lang_for_each_input_file): Don't define.
631 * emultempl/cr16elf.em (cr16elf_after_parse): Use ldelf_map_segments.
632 * emultempl/crxelf.em (crxelf_after_parse): Likewise. Delete
633 declaration.
634 * emultempl/cskyelf.em (gldcsky_layout_sections_again): Use
635 ldelf_map_segments.
636 (gld${EMULATION_NAME}_after_allocation): Likewise.
637 (real_func, csky_for_each_input_file_wrapper),
638 (csky_lang_for_each_input_file): Delete.
639 (lang_for_each_input_file): Don't define.
640 * emultempl/genelf.em: Include ldelfgen.h.
641 (gld${EMULATION_NAME}_before_allocation): Use ldelf_map_segments.
642 * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
643 (hppaelf_layout_sections_again): Likewise.
644 (gld${EMULATION_NAME}_after_allocation): Likewise.
645 (real_func, hppa_for_each_input_file_wrapper),
646 (hppa_lang_for_each_input_file): Delete.
647 (lang_for_each_input_file): Don't define.
648 * emultempl/ia64elf.em (ia64elf_after_parse): Use ldelf_map_segments.
649 * emultempl/m68hc1xelf.em (real_func),
650 (m68hc11_for_each_input_file_wrapper),
651 (m68hc11_lang_for_each_input_file): Delete.
652 (lang_for_each_input_file): Don't define.
653 * emultempl/metagelf.em (metagelf_layout_sections_again): Use
654 ldelf_map_segments.
655 (gld${EMULATION_NAME}_after_allocation): Likewise.
656 (real_func, metag_for_each_input_file_wrapper),
657 (metag_lang_for_each_input_file): Delete.
658 (lang_for_each_input_file): Don't define.
659 * emultempl/mipself.em (real_func),
660 (mips_for_each_input_file_wrapper),
661 (mips_lang_for_each_input_file): Delete.
662 (lang_for_each_input_file): Don't define.
663 * emultempl/mmo.em: Don't include elf-bfd.h, do include ldelfgen.h.
664 (gld${EMULATION_NAME}_after_allocation): Use ldelf_map_segments.
665 * emultempl/nds32elf.em (nds32_elf_after_parse): Use ldelf_after_parse.
666 (nds32_elf_after_allocation): Comment fix.
667 * emultempl/nios2elf.em (nios2elf_layout_sections_again): Use
668 ldelf_map_segments.
669 (gld${EMULATION_NAME}_after_allocation): Likewise.
670 (real_func, nios2_for_each_input_file_wrapper),
671 (nios2_lang_for_each_input_file): Delete.
672 (lang_for_each_input_file): Don't define.
673 * emultempl/ppc32elf.em (gld${EMULATION_NAME}_load_symbols): Delete
674 declaration.
675 (ppc_recognized_file): Call ldelf_load_symbols.
676 * emultempl/ppc64elf.em (ppc_layout_sections_again): Likewise.
677 (gld${EMULATION_NAME}_after_allocation): Likewise.
678 (real_func, ppc_for_each_input_file_wrapper),
679 (ppc_lang_for_each_input_file): Delete.
680 (lang_for_each_input_file): Don't define.
681 (gld${EMULATION_NAME}_load_symbols): Don't declare.
682 (ppc64_recognized_file): Call ldelf_load_symbols.
683 * emultempl/riscvelf.em (gld${EMULATION_NAME}_after_allocation):
684 Use ldelf_map_segments.
685 * emultempl/spuelf.em (spu_place_special_section): Use
686 ldelf_place_orphan.
687 * emultempl/tic6xdsbt.em (gld${EMULATION_NAME}_after_allocation):
688 Use ldelf_map_segments.
689 * emultempl/vms.em: Include ldelfgen.h.
690 (gld${EMULATION_NAME}_after_allocation): Use ldelf_map_segments.
691 * emultempl/elf32.em: Remove unnecessary headers, include ldelf.h
692 and ldelfgen.h. Move much of file content to..
693 * ldelf.c: ..here. New file.
694 * ldelf.h: New file.
695 * emultempl/elf-generic.em: Move gld${EMULATION_NAME}_map_segments..
696 * ldelfgen.c: ..to here.
697 * ldelfgen.h: New file.
698 * ldlang.c (lang_for_each_input_file): Adjust to only call func
699 on real files.
700 (lang_for_each_file): Likewise.
701 * po/SRC-POTFILES.in: Regenerate.
702 * Makefile.in: Regenerate.
703
cb7f4b29
AM
7042019-09-11 Alan Modra <amodra@gmail.com>
705
706 * ldmisc.c: Don't #include elf-bfd.h or coff-bfd.h.
707 (vfinfo): Use bfd_group_name.
708
0410b450
AM
7092019-09-11 Alan Modra <amodra@gmail.com>
710
711 * plugin.c (asymbol_from_plugin_symbol): Move code handling
712 ELF common symbols to block handling ELF visibility. Simplify
713 visibility setting.
714
6715fe29
L
7152019-09-09 H.J. Lu <hongjiu.lu@intel.com>
716
717 PR binutils/24887
718 * testsuite/ld-i386/property-1.r: Adjust for new output format
719 from readelf.
720 * testsuite/ld-i386/property-1a.r: Likewise.
721 * testsuite/ld-i386/property-2.r: Likewise.
722 * testsuite/ld-i386/property-2a.r: Likewise.
723 * testsuite/ld-i386/property-3.r: Likewise.
724 * testsuite/ld-i386/property-3a.r: Likewise.
725 * testsuite/ld-i386/property-4.r: Likewise.
726 * testsuite/ld-i386/property-4a.r: Likewise.
727 * testsuite/ld-i386/property-5.r: Likewise.
728 * testsuite/ld-i386/property-5a.r: Likewise.
729 * testsuite/ld-i386/property-6.r: Likewise.
730 * testsuite/ld-i386/property-7.r: Likewise.
731 * testsuite/ld-i386/property-7a.r: Likewise.
732 * testsuite/ld-i386/property-1.r: Likewise.
733 * testsuite/ld-i386/property-1a.r: Likewise.
734 * testsuite/ld-i386/property-2.r: Likewise.
735 * testsuite/ld-i386/property-2a.r: Likewise.
736 * testsuite/ld-i386/property-3.r: Likewise.
737 * testsuite/ld-i386/property-3a.r: Likewise.
738 * testsuite/ld-i386/property-4.r: Likewise.
739 * testsuite/ld-i386/property-4a.r: Likewise.
740 * testsuite/ld-i386/property-5.r: Likewise.
741 * testsuite/ld-i386/property-5a.r: Likewise.
742 * testsuite/ld-i386/property-6.r: Likewise.
743 * testsuite/ld-i386/property-7.r: Likewise.
744 * testsuite/ld-i386/property-7a.r: Likewise.
745
60391a25
PB
7462019-09-09 Phil Blundell <pb@pbcl.net>
747
748 binutils 2.33 branch created.
749
f5c3a9e3
AM
7502019-09-06 Alan Modra <amodra@gmail.com>
751
752 * emultempl/beos.em (sort_by_file_name): Use appropriate
753 intermediary variables.
754 (sort_by_section_name): Likewise.
755
b16c44de
AM
7562019-09-06 Alan Modra <amodra@gmail.com>
757
758 * emultempl/elf32.em (gld${EMULATION_NAME}_search_needed): Constify
759 variable.
760 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Likewise.
761 * emultempl/pep.em (gld_${EMULATION_NAME}_after_open): Likewise.
762
de07a745
EB
7632019-09-05 Eric Botcazou <ebotcazou@adacore.com>
764
765 PR ld/24574
766 * pe-dll.c (pe_find_data_imports): Replace again the original name of
767 the undefined symbol with the __imp_ prefixed one after it is resolved.
768
77486630
AM
7692019-09-05 Alan Modra <amodra@gmail.com>
770
771 * testsuite/ld-powerpc/pcrelopt.s,
772 * testsuite/ld-powerpc/pcrelopt.d: Test offset and prefix in
773 second instruction.
774
a78fca7b
AM
7752019-08-29 Alan Modra <amodra@gmail.com>
776
777 PR ld/24406
778 * plugin.c (get_symbols): Test link_info.wrap_hash before calling
779 unwrap_hash_lookup.
780
652afeef
TC
7812019-08-22 Tamar Christina <tamar.christina@arm.com>
782
783 PR ld/24601
784 * testsuite/ld-aarch64/aarch64-elf.exp (undef-tls, weak-tls): New.
785 * testsuite/ld-aarch64/undef-tls.d: New test.
786 * testsuite/ld-aarch64/undef-tls.s: New test.
787 * testsuite/ld-aarch64/weak-tls.d: New test.
788 * testsuite/ld-aarch64/weak-tls.s: New test.
789
b4e87f2c
TC
7902019-08-20 Tamar Christina <tamar.christina@arm.com>
791
792 * testsuite/ld-arm/cortex-a8-fix-b-plt.d: Update Testcase.
793 * testsuite/ld-arm/cortex-a8-fix-b-rel-arm.d: Likewise.
794 * testsuite/ld-arm/cortex-a8-fix-bcc-plt.d: Likewise.
795 * testsuite/ld-arm/farcall-cond-thumb-arm.d: Likewise.
796 * testsuite/ld-arm/farcall-mixed-app.d: Likewise.
797 * testsuite/ld-arm/farcall-mixed-app2.d: Likewise.
798 * testsuite/ld-arm/farcall-mixed-lib-v4t.d: Likewise.
799 * testsuite/ld-arm/farcall-thumb-arm-pic-veneer.d: Likewise.
800 * testsuite/ld-arm/farcall-thumb-arm-short.d: Likewise.
801 * testsuite/ld-arm/farcall-thumb-arm.d: Likewise.
802 * testsuite/ld-arm/farcall-thumb-thumb-pic-veneer.d: Likewise.
803 * testsuite/ld-arm/farcall-thumb-thumb.d: Likewise.
804 * testsuite/ld-arm/fix-arm1176-on.d: Likewise.
805 * testsuite/ld-arm/ifunc-10.dd: Likewise.
806 * testsuite/ld-arm/ifunc-2.dd: Likewise.
807 * testsuite/ld-arm/ifunc-4.dd: Likewise.
808 * testsuite/ld-arm/ifunc-6.dd: Likewise.
809 * testsuite/ld-arm/ifunc-8.dd: Likewise.
810 * testsuite/ld-arm/jump-reloc-veneers-long.d: Likewise.
811 * testsuite/ld-arm/mixed-app.d: Likewise.
812 * testsuite/ld-arm/thumb2-b-interwork.d: Likewise.
813 * testsuite/ld-arm/tls-longplt.d: Likewise.
814 * testsuite/ld-arm/tls-thumb1.d: Likewise.
815
81e8046d
L
8162019-08-16 H.J. Lu <hongjiu.lu@intel.com>
817
818 PR ld/24905
819 * testsuite/ld-x86-64/pr24905-x32.d: New file.
820 * testsuite/ld-x86-64/pr24905.d: Likewise.
821 * testsuite/ld-x86-64/pr24905.s: Likewise.
822 * testsuite/ld-x86-64/pr24905.t: Likewise.
823 * testsuite/ld-x86-64/x86-64.exp: Run pr24905 and pr24905-x32.
824
fdfc8cf7
CL
8252019-08-16 Christophe Lyon <christophe.lyon@linaro.org>
826
827 * emulparams/armelf.sh (OTHER_SECTIONS): Add support for noinit
828 section.
829
7df6aecc
AM
8302019-08-16 Alan Modra <amodra@gmail.com>
831
832 * emultempl/ppc32elf.em (ppc_before_allocation): Force running
833 prelim_size_sections before deciding whether branch trampolines
834 might be needed.
835
080a4883
JW
8362019-08-15 Jim Wilson <jimw@sifive.com>
837
838 * testsuite/ld-riscv-elf/c-lui-2.d: New.
839 * testsuite/ld-riscv-elf/c-lui-2.ld: New.
840 * testsuite/ld-riscv-elf/c-lui-2.s: New.
841 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run the c-lui-2 test.
842
dc02848a
AM
8432019-08-10 Alan Modra <amodra@gmail.com>
844
845 * ldlang.h (enum statement_enum): Sort.
846 (union lang_statement_union): Sort.
847
4cfbdbfd
AM
8482019-08-10 Alan Modra <amodra@gmail.com>
849
850 * ldlang.h (lang_common_statement_type): Delete.
851 (lang_object_symbols_statement_type): Delete.
852 (union lang_statement_union): Remove common_statement and
853 object_symbols_statement.
854
988de25b
AM
8552019-08-10 Alan Modra <amodra@gmail.com>
856
857 * ldexp.c (exp_intop, exp_bigintop, exp_relop, exp_binop, exp_trinop),
858 (exp_unop, exp_nameop, exp_assop, exp_assert): Remove casts of
859 stat_alloc return value.
860 * ldlang.c (new_statement, new_afile, sort_def_symbol),
861 (lang_memory_region_lookup, lang_memory_region_alias),
862 (ldlang_add_undef, ldlang_add_require_defined, insert_pad),
863 (lang_add_gc_name, lang_new_phdr): Likewise.
864 * lexsup.c (set_segment_start): Likewise.
865
36983a93
AM
8662019-08-10 Alan Modra <amodra@gmail.com>
867
868 * ldlang.h (lang_input_statement_type): Make next
869 and next_real_file a lang_input_statement_type pointer.
870 (lang_statement_append): Delete prototype.
871 (LANG_FOR_EACH_INPUT_STATEMENT): Update for lang_input_statement_type
872 change.
873 * ldmain.c (add_archive_element): Likewise.
874 * ldlang.c: Likewise throughout.
875 (lang_statement_append): Make static. Make element and field
876 void pointers. Remove casts in calls.
877 (lang_check): Use a lang_input_statement_type pointer for "file".
878 (find_rescan_insertion): Similarly for "iter" and return value.
879 (lang_process): Similarly for "insert", "iter" and "temp".
880 * emultempl/spuelf.em (embedded_spu_file): Likewise.
881 * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Expand
882 lang_statment_append call.
883
f16a9783
MS
8842019-08-09 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
885
886 * emulparams/elf32bmip.sh: Add .MIPS.xhash section.
887 * emulparams/elf32bmipn32-defs.sh: Add .MIPS.xhash section.
888 * emulparams/elf64bmip-defs.sh: Add .MIPS.xhash section.
889 * emultempl/mipself.em: Remove mips_after_parse function.
890 * testsuite/ld-elf/hash.d: Update comment.
891 * testsuite/ld-mips-elf/hash1.d: New test.
892 * testsuite/ld-mips-elf/hash1.s: Ditto.
893 * testsuite/ld-mips-elf/hash1a.d: Remove.
894 * testsuite/ld-mips-elf/hash1b.d: Ditto.
895 * testsuite/ld-mips-elf/hash1c.d: Ditto
896 * testsuite/ld-mips-elf/hash2.d: New test.
897 * testsuite/ld-mips-elf/mips-elf.exp: New tests.
898 * testsuite/ld-mips-elf/start.s: New test.
899
dbe15e4e
NC
9002019-08-08 Nick Clifton <nickc@redhat.com>
901
902 PR 24887
903 * testsuite/ld-aarch64/bti-plt-2.d: Adjust for new output format
904 from readelf.
905 * testsuite/ld-aarch64/bti-plt-4.d: Likewise.
906 * testsuite/ld-aarch64/bti-plt-6.d: Likewise.
907 * testsuite/ld-aarch64/bti-plt-7.d: Likewise.
908 * testsuite/ld-aarch64/bti-warn.d: Likewise.
909 * testsuite/ld-aarch64/property-bti-pac1.d: Likewise.
910 * testsuite/ld-aarch64/property-bti-pac2.d: Likewise.
911 * testsuite/ld-aarch64/property-bti-pac3.d: Likewise.
912 * testsuite/ld-elf/x86-feature-1a.rd: Likewise.
913 * testsuite/ld-elf/x86-feature-1b.rd: Likewise.
914 * testsuite/ld-elf/x86-feature-1c.rd: Likewise.
915 * testsuite/ld-elf/x86-feature-1d.rd: Likewise.
916 * testsuite/ld-elf/x86-feature-1e.rd: Likewise.
917 * testsuite/ld-i386/ibt-plt-2d.d: Likewise.
918 * testsuite/ld-i386/ibt-plt-3d.d: Likewise.
919 * testsuite/ld-i386/pr23372a.d: Likewise.
920 * testsuite/ld-i386/pr23372c.d: Likewise.
921 * testsuite/ld-i386/pr23486a.d: Likewise.
922 * testsuite/ld-i386/pr23486b.d: Likewise.
923 * testsuite/ld-i386/pr23486c.d: Likewise.
924 * testsuite/ld-i386/pr23486d.d: Likewise.
925 * testsuite/ld-i386/pr24322a.d: Likewise.
926 * testsuite/ld-i386/pr24322b.d: Likewise.
927 * testsuite/ld-i386/property-x86-3.d: Likewise.
928 * testsuite/ld-i386/property-x86-4a.d: Likewise.
929 * testsuite/ld-i386/property-x86-5.d: Likewise.
930 * testsuite/ld-i386/property-x86-cet1.d: Likewise.
931 * testsuite/ld-i386/property-x86-cet2a.d: Likewise.
932 * testsuite/ld-i386/property-x86-cet5a.d: Likewise.
933 * testsuite/ld-i386/property-x86-cet5b.d: Likewise.
934 * testsuite/ld-i386/property-x86-ibt1a.d: Likewise.
935 * testsuite/ld-i386/property-x86-ibt1b.d: Likewise.
936 * testsuite/ld-i386/property-x86-ibt2.d: Likewise.
937 * testsuite/ld-i386/property-x86-ibt3a.d: Likewise.
938 * testsuite/ld-i386/property-x86-ibt3b.d: Likewise.
939 * testsuite/ld-i386/property-x86-ibt4.d: Likewise.
940 * testsuite/ld-i386/property-x86-ibt5.d: Likewise.
941 * testsuite/ld-i386/property-x86-shstk1a.d: Likewise.
942 * testsuite/ld-i386/property-x86-shstk1b.d: Likewise.
943 * testsuite/ld-i386/property-x86-shstk2.d: Likewise.
944 * testsuite/ld-i386/property-x86-shstk3a.d: Likewise.
945 * testsuite/ld-i386/property-x86-shstk3b.d: Likewise.
946 * testsuite/ld-i386/property-x86-shstk4.d: Likewise.
947 * testsuite/ld-i386/property-x86-shstk5.d: Likewise.
948 * testsuite/ld-x86-64/ibt-plt-2d-x32.d: Likewise.
949 * testsuite/ld-x86-64/ibt-plt-2d.d: Likewise.
950 * testsuite/ld-x86-64/ibt-plt-3d-x32.d: Likewise.
951 * testsuite/ld-x86-64/ibt-plt-3d.d: Likewise.
952 * testsuite/ld-x86-64/pr23372a-x32.d: Likewise.
953 * testsuite/ld-x86-64/pr23372a.d: Likewise.
954 * testsuite/ld-x86-64/pr23372c-x32.d: Likewise.
955 * testsuite/ld-x86-64/pr23372c.d: Likewise.
956 * testsuite/ld-x86-64/pr23486a-x32.d: Likewise.
957 * testsuite/ld-x86-64/pr23486a.d: Likewise.
958 * testsuite/ld-x86-64/pr23486b-x32.d: Likewise.
959 * testsuite/ld-x86-64/pr23486b.d: Likewise.
960 * testsuite/ld-x86-64/pr23486c-x32.d: Likewise.
961 * testsuite/ld-x86-64/pr23486c.d: Likewise.
962 * testsuite/ld-x86-64/pr23486d-x32.d: Likewise.
963 * testsuite/ld-x86-64/pr23486d.d: Likewise.
964 * testsuite/ld-x86-64/pr24322a-x32.d: Likewise.
965 * testsuite/ld-x86-64/pr24322a.d: Likewise.
966 * testsuite/ld-x86-64/pr24322b-x32.d: Likewise.
967 * testsuite/ld-x86-64/pr24322b.d: Likewise.
968 * testsuite/ld-x86-64/pr24458a-x32.d: Likewise.
969 * testsuite/ld-x86-64/pr24458a.d: Likewise.
970 * testsuite/ld-x86-64/pr24458b-x32.d: Likewise.
971 * testsuite/ld-x86-64/pr24458b.d: Likewise.
972 * testsuite/ld-x86-64/pr24458c-x32.d: Likewise.
973 * testsuite/ld-x86-64/pr24458c.d: Likewise.
974 * testsuite/ld-x86-64/property-1.r: Likewise.
975 * testsuite/ld-x86-64/property-1a.r: Likewise.
976 * testsuite/ld-x86-64/property-2.r: Likewise.
977 * testsuite/ld-x86-64/property-2a.r: Likewise.
978 * testsuite/ld-x86-64/property-3.r: Likewise.
979 * testsuite/ld-x86-64/property-3a.r: Likewise.
980 * testsuite/ld-x86-64/property-4.r: Likewise.
981 * testsuite/ld-x86-64/property-4a.r: Likewise.
982 * testsuite/ld-x86-64/property-5.r: Likewise.
983 * testsuite/ld-x86-64/property-5a.r: Likewise.
984 * testsuite/ld-x86-64/property-6.r: Likewise.
985 * testsuite/ld-x86-64/property-7.r: Likewise.
986 * testsuite/ld-x86-64/property-7a.r: Likewise.
987 * testsuite/ld-x86-64/property-x86-3-x32.d: Likewise.
988 * testsuite/ld-x86-64/property-x86-3.d: Likewise.
989 * testsuite/ld-x86-64/property-x86-4a-x32.d: Likewise.
990 * testsuite/ld-x86-64/property-x86-4a.d: Likewise.
991 * testsuite/ld-x86-64/property-x86-5-x32.d: Likewise.
992 * testsuite/ld-x86-64/property-x86-5.d: Likewise.
993 * testsuite/ld-x86-64/property-x86-cet1-x32.d: Likewise.
994 * testsuite/ld-x86-64/property-x86-cet1.d: Likewise.
995 * testsuite/ld-x86-64/property-x86-cet2a-x32.d: Likewise.
996 * testsuite/ld-x86-64/property-x86-cet2a.d: Likewise.
997 * testsuite/ld-x86-64/property-x86-cet5a-x32.d: Likewise.
998 * testsuite/ld-x86-64/property-x86-cet5a.d: Likewise.
999 * testsuite/ld-x86-64/property-x86-cet5b-x32.d: Likewise.
1000 * testsuite/ld-x86-64/property-x86-cet5b.d: Likewise.
1001 * testsuite/ld-x86-64/property-x86-ibt1a-x32.d: Likewise.
1002 * testsuite/ld-x86-64/property-x86-ibt1a.d: Likewise.
1003 * testsuite/ld-x86-64/property-x86-ibt1b-x32.d: Likewise.
1004 * testsuite/ld-x86-64/property-x86-ibt1b.d: Likewise.
1005 * testsuite/ld-x86-64/property-x86-ibt2-x32.d: Likewise.
1006 * testsuite/ld-x86-64/property-x86-ibt2.d: Likewise.
1007 * testsuite/ld-x86-64/property-x86-ibt3a-x32.d: Likewise.
1008 * testsuite/ld-x86-64/property-x86-ibt3a.d: Likewise.
1009 * testsuite/ld-x86-64/property-x86-ibt3b-x32.d: Likewise.
1010 * testsuite/ld-x86-64/property-x86-ibt3b.d: Likewise.
1011 * testsuite/ld-x86-64/property-x86-ibt4-x32.d: Likewise.
1012 * testsuite/ld-x86-64/property-x86-ibt4.d: Likewise.
1013 * testsuite/ld-x86-64/property-x86-ibt5-x32.d: Likewise.
1014 * testsuite/ld-x86-64/property-x86-ibt5.d: Likewise.
1015 * testsuite/ld-x86-64/property-x86-shstk1a-x32.d: Likewise.
1016 * testsuite/ld-x86-64/property-x86-shstk1a.d: Likewise.
1017 * testsuite/ld-x86-64/property-x86-shstk1b-x32.d: Likewise.
1018 * testsuite/ld-x86-64/property-x86-shstk1b.d: Likewise.
1019 * testsuite/ld-x86-64/property-x86-shstk2-x32.d: Likewise.
1020 * testsuite/ld-x86-64/property-x86-shstk2.d: Likewise.
1021 * testsuite/ld-x86-64/property-x86-shstk3a-x32.d: Likewise.
1022 * testsuite/ld-x86-64/property-x86-shstk3a.d: Likewise.
1023 * testsuite/ld-x86-64/property-x86-shstk3b-x32.d: Likewise.
1024 * testsuite/ld-x86-64/property-x86-shstk3b.d: Likewise.
1025 * testsuite/ld-x86-64/property-x86-shstk4-x32.d: Likewise.
1026 * testsuite/ld-x86-64/property-x86-shstk4.d: Likewise.
1027 * testsuite/ld-x86-64/property-x86-shstk5-x32.d: Likewise.
1028 * testsuite/ld-x86-64/property-x86-shstk5.d: Likewise.
1029
fca8e23c
JM
10302019-08-07 Jose E. Marchesi <jose.marchesi@oracle.com>
1031
1032 * scripttempl/elf64bpf.sc: Adapted from elf.sc.
1033 * emulparams/elf64bpf.sh (SCRIPT_NAME): Use elf64bpf.
1034 (EMBEDDED): Define.
1035 * testsuite/ld-bpf/call-1.d: Do not expect a warning regarding an
1036 undefined entry symbol.
1037 * testsuite/ld-bpf/jump-1.d: Likewise.
1038 * testsuite/ld-undefined/undefined.exp: Do not pass '-e entry' to
1039 ld in BPF targets, and do not expect line number information.
1040 * testsuite/ld-srec/srec.exp (run_srec_test): xfail s-record tests
1041 in BPF targets.
1042
128bf1fe
AM
10432019-08-06 Alan Modra <amodra@gmail.com>
1044
1045 PR 24873
1046 * ldlang.c (find_replacements_insert_point): Return "before" flag.
1047 (find_next_input_statement): New function.
1048 (lang_process): When placing recompiled LTO objects before a
1049 claimed archive, place them immediately before in the statement
1050 list.
1051
b02c4f16
AM
10522019-08-06 Alan Modra <amodra@gmail.com>
1053
1054 PR 24873
1055 * ldlang.c (plugin_undefs): New static var.
1056 (open_input_bfds <lang_group_statement_enum>): Loop on
1057 plugin_undefs and hitting plugin_insert point.
1058 (lang_process <lto_plugin_active>): Set plugin_undefs.
1059
1b611b2d
AM
10602019-08-02 Alan Modra <amodra@gmail.com>
1061
1062 * testsuite/ld-powerpc/tlsie.s: Correct medium model ELF sequence.
1063
776ab89f
AM
10642019-08-01 Alan Modra <amodra@gmail.com>
1065
1066 PR 24806
1067 * ldlang.c (process_insert_statements): Add start of list
1068 parameter. Use rather than lang_os_list.head. Process insert
1069 statements inside group statements with a recursive call.
1070 (lang_process): Adjust process_insert_statements call.
1071 * lexsup.c (parse_args): Warn when adding missing --end-group.
1072
5c1e6d53
AM
10732019-08-01 Alan Modra <amodra@gmail.com>
1074
1075 * ldlang.h (lang_os_list): Rename from lang_output_section_statement.
1076 * ldlang.c: Likewise throughout file.
1077 * emultempl/alphaelf.em: Likewise.
1078 * emultempl/elf32.em: Likewise.
1079 * emultempl/mmo.em: Likewise.
1080 * emultempl/pe.em: Likewise.
1081 * emultempl/pep.em: Likewise.
1082 * emultempl/ppc32elf.em: Likewise.
1083 * emultempl/spuelf.em: Likewise.
1084
6e99a238
AM
10852019-07-26 Alan Modra <amodra@gmail.com>
1086
1087 * testsuite/ld-plugin/lto-3r.d: Accept D for powerpc64 descriptors.
1088 * testsuite/ld-plugin/lto-5r.d: Likewise.
1089
8f79c107
L
10902019-07-24 H.J. Lu <hongjiu.lu@intel.com>
1091
1092 * testsuite/ld-plugin/lto-3r.d: Restored. Check foo instead
1093 of __gnu_lto_v.*.
1094 * testsuite/ld-plugin/lto-5r.d: Likewise.
1095 * testsuite/ld-plugin/lto.exp: Run lto-3r and lto-5r tests.
1096
ef551643
CZ
10972019-07-24 Claudiu Zissulescu <claziss@synopsys.com>
1098
1099 * ld-arc/relax-local-pic.d: New test.
1100 * ld-arc/relax-local-pic.s: New file.
1101
19889a58
L
11022019-07-22 Martin Liska <mliska@suse.cz>
1103
1104 * testsuite/ld-plugin/lto-3r.d: Remove.
1105 * testsuite/ld-plugin/lto-5r.d: Remove.
1106 * testsuite/ld-plugin/lto.exp: Do not run lto-3r and lto-5r
1107 tests.
1108
df3a023b
AM
11092019-07-23 Alan Modra <amodra@gmail.com>
1110
1111 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Condition
1112 SHF_GNU_MBIND on osabi. Set output elf_gnu_osabi_mbind.
1113
ec49711a
AM
11142019-07-23 Alan Modra <amodra@gmail.com>
1115
1116 * testsuite/ld-elf/size-1.d,
1117 * testsuite/ld-elf/size-1.s,
1118 * testsuite/ld-elf/size-1.t: New test.
1119 * testsuite/ld-elf/size-2.d,
1120 * testsuite/ld-elf/size-2.s,
1121 * testsuite/ld-elf/size-2.t: New test.
1122 * testsuite/ld-scripts/size-1.d,
1123 * testsuite/ld-scripts/size-1.s,
1124 * testsuite/ld-scripts/size-1.t,
1125 * testsuite/ld-scripts/size-2.s,
1126 * testsuite/ld-scripts/size-2.d,
1127 * testsuite/ld-scripts/size-2.t,
1128 * testsuite/ld-scripts/size.exp: Delete.
1129
0c628bba
SP
11302019-07-22 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1131
1132 * ld/testsuite/ld-arm/cmse_main_sec_debug.d: Modify regexps to
1133 allow for output from a arm-none-linux-gnueabihf target.
1134
9ab3a744
AM
11352019-07-20 Alan Modra <amodra@gmail.com>
1136
1137 PR 24827
1138 * ldlex.l (comment): Check for 0 return from YY_INPUT, not EOF.
1139
c213164a
AM
11402019-07-19 Alan Modra <amodra@gmail.com>
1141
1142 * testsuite/ld-powerpc/tlsgd.d,
1143 * testsuite/ld-powerpc/tlsgd.s,
1144 * testsuite/ld-powerpc/tlsie.d,
1145 * testsuite/ld-powerpc/tlsie.s,
1146 * testsuite/ld-powerpc/tlsld.d,
1147 * testsuite/ld-powerpc/tlsld.s: New tests.
1148 * testsuite/ld-powerpc/powerpc.exp: Run them.
1149
7a708984
AM
11502019-07-19 Alan Modra <amodra@gmail.com>
1151
1152 * testsuite/ld-powerpc/tlsldopt.d: Rename from tlsld.d.
1153 * testsuite/ld-powerpc/tlsldopt.s: Rename from tlsld.s.
1154 * testsuite/ld-powerpc/tlsldopt32.d: Rename from tlsld32.d.
1155 * testsuite/ld-powerpc/tlsldopt32.s: Rename from tlsld32.s.
1156 * testsuite/ld-powerpc/powerpc.exp: Update.
1157
88468fe0
AM
11582019-07-19 Alan Modra <amodra@gmail.com>
1159
1160 PR 24819
1161 * testsuite/ld-elf/pr24819.d: xfail for genelf targets.
1162
54d7dae5
L
11632019-07-18 H.J. Lu <hongjiu.lu@intel.com>
1164
1165 PR ld/24819
1166 * emultempl/elf32.em (elf_orphan_compatible): Return FALSE for
1167 member of output section group when doing a relocatable link.
1168 * testsuite/ld-elf/pr24819.d: New file.
1169 * testsuite/ld-elf/pr24819.s: Likewise.
1170
f26a3287
AM
11712019-07-13 Alan Modra <amodra@gmail.com>
1172
1173 * testsuite/ld-powerpc/tlsso.r: Update.
1174 * testsuite/ld-powerpc/tlsso32.g: Update.
1175 * testsuite/ld-powerpc/tlsso32.r: Update.
1176 * testsuite/ld-powerpc/tlstocso.r: Update.
1177 * testsuite/ld-cris/tls-dso-dtpoffd2.d: Update.
1178 * testsuite/ld-cris/tls-dso-dtpoffd4.d: Update.
1179 * testsuite/ld-cris/tls-dso-tpoffgotcomm1.d: Update.
1180 * testsuite/ld-cris/tls-gd-1.d: Update.
1181 * testsuite/ld-cris/tls-gd-1h.d: Update.
1182 * testsuite/ld-cris/tls-gd-2.d: Update.
1183 * testsuite/ld-cris/tls-gd-2h.d: Update.
1184 * testsuite/ld-cris/tls-ie-10.d: Update.
1185 * testsuite/ld-cris/tls-ie-11.d: Update.
1186 * testsuite/ld-cris/tls-ie-8.d: Update.
1187 * testsuite/ld-cris/tls-ie-9.d: Update.
1188 * testsuite/ld-cris/tls-js1.d: Update.
1189 * testsuite/ld-cris/tls-ld-4.d: Update.
1190 * testsuite/ld-cris/tls-ld-5.d: Update.
1191 * testsuite/ld-cris/tls-ld-6.d: Update.
1192 * testsuite/ld-cris/tls-ld-7.d: Update.
1193 * testsuite/ld-cris/tls-ldgd-14.d: Update.
1194 * testsuite/ld-cris/tls-ldgd-15.d: Update.
1195 * testsuite/ld-cris/tls-ldgdx-14.d: Update.
1196 * testsuite/ld-cris/tls-ldgdx-15.d: Update.
1197 * testsuite/ld-cris/tls-local-54.d: Update.
1198 * testsuite/ld-cris/tls-local-60.d: Update.
1199 * testsuite/ld-cris/tls-local-61.d: Update.
1200 * testsuite/ld-cris/tls-local-63.d: Update.
1201 * testsuite/ld-cris/tls-local-64.d: Update.
1202 * testsuite/ld-cris/tls-ok-30.d: Update.
1203 * testsuite/ld-cris/tls-ok-32.d: Update.
1204 * testsuite/ld-cris/tls-ok-34.d: Update.
1205 * testsuite/ld-mips-elf/tls-multi-got-1.got: Update.
1206 * testsuite/ld-mips-elf/tls-multi-got-1.r: Update.
1207 * testsuite/ld-mips-elf/tlsdyn-pie-o32.d: Update.
1208 * testsuite/ld-mips-elf/tlsdyn-pie-o32.got: Update.
1209 * testsuite/ld-mips-elf/tlslib-o32-hidden.got: Update.
1210 * testsuite/ld-mips-elf/tlslib-o32-ver.got: Update.
1211 * testsuite/ld-mips-elf/tlslib-o32.got: Update.
1212 * testsuite/ld-s390/tlspic.rd: Update.
1213 * testsuite/ld-s390/tlspic_64.rd: Update.
1214 * testsuite/ld-sparc/tlssunnopic32.rd: Update.
1215 * testsuite/ld-sparc/tlssunnopic64.rd: Update.
1216 * testsuite/ld-sparc/tlssunpic32.rd: Update.
1217 * testsuite/ld-sparc/tlssunpic64.rd: Update.
1218
7b243801
AM
12192019-07-13 Alan Modra <amodra@gmail.com>
1220
1221 PR 24786
1222 * ldlang.h (enum section_type): Add first_overlay_section.
1223 * ldlang.c (lang_add_section): Adjust switch statement.
1224 (map_input_to_output_sections): Likewise.
1225 (lang_size_sections_1): Always set last_os for first overlay section.
1226 (lang_leave_overlay): Set sectype to first_overlay_section.
1227
3836e1d1
AM
12282019-07-08 Alan Modra <amodra@gmail.com>
1229
1230 * testsuite/ld-powerpc/callstub-1.d: Pass -melf64ppc to ld.
1231 * testsuite/ld-powerpc/callstub-2.d: Likewise.
1232
f2d4ba38
JB
12332019-07-04 Jan Beulich <jbeulich@suse.com>
1234
1235 * testsuite/ld-elf/group9.s: Correct argument of .type.
1236
125f83f6
NC
12372019-07-02 Nick Clifton <nickc@redhat.com>
1238
1239 PR 24753
1240 * emultempl/aarch64elf.em (_aarch64_add_stub_section): Include the
1241 LINKER_CREATED section flag when creating the stub section.
1242
bb32413f
SP
12432019-07-02 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1244
1245 * testsuite/ld-arm/arm-elf.exp: Add tests.
1246 * testsuite/ld-arm/cmse_main.s: New test.
1247 * testsuite/ld-arm/cmse_main_sec_debug.d: Likewise.
1248 * testsuite/ld-arm/cmse_sec_debug.s: Likewise.
1249
539300fb
NC
12502019-07-01 Nick Clifton <nickc@redhat.com>
1251
1252 PR 23839
1253 * testsuite/ld-arm/unwind-4.d: Adjust for corrected calculation of
1254 exidx relocs.
1255
60d53d7f
AM
12562019-06-28 Alan Modra <amodra@gmail.com>
1257
1258 * testsuite/ld-powerpc/callstub-1.d,
1259 * testsuite/ld-powerpc/callstub-1.s: New test.
1260 * testsuite/ld-powerpc/callstub-2.d,
1261 * testsuite/ld-powerpc/callstub-2.s: New test.
1262 * testsuite/ld-powerpc/powerpc.exp: Run them.
1263
8e5cb9a5
JB
12642019-06-25 Jan Beulich <jbeulich@suse.com>
1265
1266 * plugin.c (get_lto_kind, get_lto_resolution,
1267 get_lto_visibility): Rename "index" to "idx".
1268
f93ab3a0
L
12692019-06-24 H.J. Lu <hongjiu.lu@intel.com>
1270
1271 PR ld/24721
1272 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/24721 tests.
1273 * testsuite/ld-x86-64/pr24721-x32.d: New file.
1274 * testsuite/ld-x86-64/pr24721.d: Likewise.
1275 * testsuite/ld-x86-64/pr24721.map: Likewise.
1276 * testsuite/ld-x86-64/pr24721a.s: Likewise.
1277 * testsuite/ld-x86-64/pr24721b.s: Likewise.
1278
bb22a418
AM
12792019-06-23 Alan Modra <amodra@gmail.com>
1280
1281 PR 24704
1282 * testsuite/ld-powerpc/elfv2exe.d: Update.
1283 * testsuite/ld-powerpc/elfv2so.d: Update.
1284
e30d1fa1
SN
12852019-06-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
1286
1287 * testsuite/ld-aarch64/aarch64-elf.exp: Add emit-relocs-22 and -23.
1288 * testsuite/ld-aarch64/emit-relocs-22.d: New test.
1289 * testsuite/ld-aarch64/emit-relocs-22.s: New test.
1290 * testsuite/ld-aarch64/emit-relocs-23.d: New test.
1291 * testsuite/ld-aarch64/emit-relocs-23.s: New test.
1292
3a3a077c
AM
12932019-06-14 Alan Modra <amodra@gmail.com>
1294
1295 * Makefile.in: Regenerate.
1296 * configure: Regenerate.
1297
e3fa7860
AM
12982019-06-14 Alan Modra <amodra@gmail.com>
1299
1300 PR 24662
1301 * testsuite/ld-alpha/tlsbin.rd: Update.
1302 * testsuite/ld-alpha/tlsbinr.rd: Update.
1303 * testsuite/ld-alpha/tlspic.rd: Update.
1304
c1b00498
MR
13052019-06-07 Maciej W. Rozycki <macro@wdc.com>
1306
1307 * ld.texi (Options): Also document `-rpath' option restrictions
1308 in the description of the option itself.
1309
237df8fe
SD
13102019-06-06 Sudakshina Das <sudi.das@arm.com>
1311
1312 * testsuite/ld-aarch64/aarch64-elf.exp: Add new tests.
1313 * testsuite/ld-aarch64/property-bti-pac4-a.d: New test.
1314 * testsuite/ld-aarch64/property-bti-pac4-b.d: New test.
1315 * testsuite/ld-aarch64/property-bti-pac4.s: New test.
1316
8bf6d176
SD
13172019-06-06 Sudakshina Das <sudi.das@arm.com>
1318
1319 * NEWS: Update options names.
1320 * emultempl/aarch64elf.em (OPTION_FORCE_BTI, OPTION_PAC_PLT): Remove.
1321 (PARSE_AND_LIST_LONGOPTS): Remove force-bti and pac-plt.
1322 (PARSE_AND_LIST_OPTIONS): Update to -z.
1323 (PARSE_AND_LIST_ARGS_CASE_Z_AARCH64): New.
1324 (PARSE_AND_LIST_ARGS_CASE_Z): Add PARSE_AND_LIST_ARGS_CASE_Z_AARCH64.
1325 (PARSE_AND_LIST_ARGS_CASES): Move cases for these options.
1326 * testsuite/ld-aarch64/bti-pac-plt-1.d: Update option.
1327 * testsuite/ld-aarch64/bti-pac-plt-2.d: Likewise.
1328 * testsuite/ld-aarch64/bti-plt-1.d: Likewise.
1329 * testsuite/ld-aarch64/bti-plt-2.d: Likewise.
1330 * testsuite/ld-aarch64/bti-plt-3.d: Likewise.
1331 * testsuite/ld-aarch64/bti-plt-4.d: Likewise.
1332 * testsuite/ld-aarch64/bti-plt-6.d: Likewise.
1333 * testsuite/ld-aarch64/bti-plt-7.d: Likewise.
1334 * testsuite/ld-aarch64/bti-warn.d: Likewise.
1335 * testsuite/ld-aarch64/pac-plt-1.d: Likewise.
1336 * testsuite/ld-aarch64/pac-plt-2.d: Likewise.
1337
ae9ac79e
NC
13382019-05-30 Nick Clifton <nickc@redhat.com>
1339
1340 PR 24627
1341 * testsuite/ld-elf/ver_def.vd: Update expected output.
1342
6ff185b8
AM
13432019-05-30 Alan Modra <amodra@gmail.com>
1344
1345 PR 24596
1346 * emulparams/m9s12zelf.sh (TEMPLATE_NAME): Set to generic.
1347 (EXTRA_EM_FILE): Define to genelf.
1348 * testsuite/lib/ld-lib.exp (uses_genelf): Add s12z.
1349
1336939d
AM
13502019-05-30 Alan Modra <amodra@gmail.com>
1351
1352 * testsuite/lib/ld-lib.exp (run_ld_link_tests): Support procedure
1353 calls in optional "xfail" args.
1354 (run_ld_link_exec_tests): Likewise.
1355 (is_generic): New.
1356 (uses_genelf): Rename from is_generic_elf. Delete bogus semicolons.
1357 * testsuite/ld-scripts/align.exp: Rename is_generic_elf call.
1358 * testsuite/ld-elf/elf.exp: Use is_generic and uses_genelf. Delete
1359 xfail_implib var.
1360 * testsuite/ld-elf/sec64k.exp: Use is_generic.
1361 * testsuite/ld-elf/shared.exp: Likewise.
1362 * testsuite/ld-discard/extern.d: Use is_generic in xfail.
1363 * testsuite/ld-discard/start.d: Likewise.
1364 * testsuite/ld-discard/static.d: Likewise.
1365 * testsuite/ld-elf/attributes.d: Likewise.
1366 * testsuite/ld-elf/group1.d: Likewise.
1367 * testsuite/ld-elf/group3b.d: Likewise.
1368 * testsuite/ld-elf/group8a.d: Likewise.
1369 * testsuite/ld-elf/group8b.d: Likewise.
1370 * testsuite/ld-elf/group9a.d: Likewise.
1371 * testsuite/ld-elf/group9b.d: Likewise.
1372 * testsuite/ld-elf/linkonce2.d: Likewise.
1373 * testsuite/ld-elf/merge2.d: Likewise.
1374 * testsuite/ld-elf/merge3.d: Likewise.
1375 * testsuite/ld-elf/pr12851.d: Likewise.
1376 * testsuite/ld-elf/pr12975.d: Likewise.
1377 * testsuite/ld-elf/pr13177.d: Likewise.
1378 * testsuite/ld-elf/pr13195.d: Likewise.
1379 * testsuite/ld-elf/pr17550c.d: Likewise.
1380 * testsuite/ld-elf/pr17550d.d: Likewise.
1381 * testsuite/ld-elf/pr17615.d: Likewise.
1382 * testsuite/ld-elf/pr21562a.d: Likewise.
1383 * testsuite/ld-elf/pr21562b.d: Likewise.
1384 * testsuite/ld-elf/pr21562c.d: Likewise.
1385 * testsuite/ld-elf/pr21562d.d: Likewise.
1386 * testsuite/ld-elf/pr21562i.d: Likewise.
1387 * testsuite/ld-elf/pr21562j.d: Likewise.
1388 * testsuite/ld-elf/pr21562k.d: Likewise.
1389 * testsuite/ld-elf/pr21562l.d: Likewise.
1390 * testsuite/ld-elf/pr21562m.d: Likewise.
1391 * testsuite/ld-elf/pr21562n.d: Likewise.
1392 * testsuite/ld-elf/pr22677.d: Likewise.
1393 * testsuite/ld-elf/pr22836-1a.d: Likewise.
1394 * testsuite/ld-elf/pr22836-1b.d: Likewise.
1395 * testsuite/ld-elf/warn3.d: Likewise.
1396 * testsuite/ld-elf/warn1.d: Likewise and xfail sparc solaris
1397 targets rather than notarget.
1398 * testsuite/ld-elf/compressed1d.d: Use uses_genelf in xfail.
1399 * testsuite/ld-elf/orphan-10.d: Likewise.
1400 * testsuite/ld-elf/orphan-9.d: Likewise.
1401 * testsuite/ld-elf/orphan-region.d: Likewise.
1402 * testsuite/ld-elf/orphan.d: Likewise.
1403 * testsuite/ld-elf/orphan3.d: Likewise.
1404 * testsuite/ld-elf/pr20528a.d: Likewise.
1405 * testsuite/ld-elf/pr20528b.d: Likewise.
1406 * testsuite/ld-elf/pr23658-1a.d: Likewise.
1407 * testsuite/ld-elf/pr23658-1b.d: Likewise.
1408 * testsuite/ld-elf/pr349.d: Likewise.
1409 * testsuite/ld-elf/warn2.d: Likewise and xfail sparc solaris
1410 targets rather than notarget.
1411 * testsuite/ld-elf/merge.d: Correct ms1-*-* to mt-*-*.
1412
1e129bbe
FS
14132019-05-28 Faraz Shahbazker <fshahbazker@wavecomp.com>
1414
1415 * testsuite/ld-mips-elf/undefweak-overflow.s: Remove test case
1416 for pcrel_hi/pcrel_lo.
1417 * testsuite/ld-mips-elf/undefweak-overflow.d: Update to match.
1418 * testsuite/ld-mips-elf/reloc-pcrel-r6.s: New test source.
1419 * testsuite/ld-mips-elf/reloc-pcrel-r6.d: New test linker script.
1420 * testsuite/ld-mips-elf/reloc-pcrel-r6.ld: New test.
1421 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
1422
eabf307f
AM
14232019-05-28 Alan Modra <amodra@gmail.com>
1424
1425 PR 24596
1426 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Check that
1427 the output is coff before accessing coff tdata.
1428 * emultempl/pep.em (gld_${EMULATION_NAME}_after_open): Likewise.
1429
65f381e7
SN
14302019-05-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
1431
1432 * testsuite/ld-aarch64/variant_pcs-now.d: Use --hash-style=sysv.
1433 * testsuite/ld-aarch64/variant_pcs-shared.d: Likewise.
1434
3d7d6a6f
AM
14352019-05-27 Alan Modra <amodra@gmail.com>
1436
1437 PR 24596
1438 * emultempl/genelf.em (gld${EMULATION_NAME}_after_open): Set
1439 BFS_KEEP on group signature symbol.
1440
823710d5
SN
14412019-04-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
1442
1443 * testsuite/ld-aarch64/aarch64-elf.exp: Add new tests.
1444 * testsuite/ld-aarch64/variant_pcs-1.s: New asm for tests.
1445 * testsuite/ld-aarch64/variant_pcs-2.s: New asm for tests.
1446 * testsuite/ld-aarch64/variant_pcs-now.d: New test.
1447 * testsuite/ld-aarch64/variant_pcs-r.d: New test.
1448 * testsuite/ld-aarch64/variant_pcs-shared.d: New test.
1449 * testsuite/ld-aarch64/variant_pcs.ld: New linker script for tests.
1450
405b5bd8
AM
14512019-05-24 Alan Modra <amodra@gmail.com>
1452
1453 * po/BLD-POTFILES.in: Regenerate.
1454
04bdff6a
AM
14552019-05-24 Alan Modra <amodra@gmail.com>
1456
1457 * testsuite/ld-powerpc/notoc2.d,
1458 * testsuite/ld-powerpc/notoc2.s: New test.
1459 * testsuite/ld-powerpc/powerpc.exp: Run it.
1460
4a421c53
AM
14612019-05-24 Alan Modra <amodra@gmail.com>
1462
1463 * testsuite/ld-powerpc/pcrelopt.s,
1464 * testsuite/ld-powerpc/pcrelopt.d,
1465 * testsuite/ld-powerpc/pcrelopt.sec: New test.
1466 * testsuite/ld-powerpc/powerpc.exp: Run it.
1467
8376927b
JM
14682019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com>
1469
1470 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64bpf.c.
1471 * Makefile.in (prefix): Regenerate.
1472 * configure.tgt (targ_extra_ofiles): Add case for bpf-*-* targets.
1473 * emulparams/elf64bpf.sh: New file.
1474 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Add
1475 bpf-*-* to the list of targets not supporting gc-sections.
1476 * testsuite/ld-bpf/bar.s: New file.
1477 * testsuite/ld-bpf/jump-1.d: Likewise.
1478 * testsuite/ld-bpf/foo.s: Likewise.
1479 * testsuite/ld-bpf/call-1.d: Likewise.
1480 * testsuite/ld-bpf/bpf.exp: Likewise.
1481 * testsuite/ld-bpf/baz.s: Likewise.
1482
82d7a6f4
AM
14832019-05-23 Alan Modra <amodra@gmail.com>
1484
1485 PR 24576
1486 * ldfile.c (enum script_open_style): New.
1487 (struct script_name_list): New.
1488 (ldfile_open_command_file_1): Take a script_open_style param
1489 rather than booleans. Adjust callers. Only fail when -T or
1490 default -T script is invoked twice.
1491 (ldfile_try_open_bfd): Revert last change.
1492
6ec6968b
NC
14932019-05-22 Julius Werner <jwerner@chromium.org>
1494 Nick Clifton <nickc@redhat.com>
1495
1496 PR 24576
1497 * ld/ldfile.c: (ldfile_open_command_file_1): Add new parameter -
1498 is_script. If true check that the file has not already been
1499 parsed as a linker script.
1500 (ldfile_open_script_file): New function.
1501 (ldfile_try_open_bfd): Use the new function in place of
1502 ldfile_open_command_line.
1503 * ldmain.c (main): Likewise.
1504 * lexsup.c (parse_args): Use the new function for opening linker
1505 scripts with the -T option.
1506 * ldfile.h (ldfile_open_script_file): Add prototype.
1507
b474a202
FS
15082019-05-21 Faraz Shahbazker <fshahbazker@wavecomp.com>
1509
1510 * testsuite/ld-mips-elf/pic-reloc-5.s: Add tests for
1511 %tprel_hi and %tprel_lo relocations.
1512 * testsuite/ld-mips-elf/pic-reloc-6.s: Likewise.
1513 * testsuite/ld-mips-elf/pic-reloc-5.d: Update accordingly.
1514 * testsuite/ld-mips-elf/pic-reloc-6.d: Likewise.
1515 * testsuite/ld-mips-elf/pic-reloc-tls.ld: New test linker
1516 script file.
1517
304f09d0
FS
15182019-05-21 Faraz Shahbazker <fshahbazker@wavecomp.com>
1519
1520 * testsuite/ld-mips-elf/pic-reloc-5.d: New test.
1521 * testsuite/ld-mips-elf/pic-reloc-6.d: New test.
1522 * testsuite/ld-mips-elf/pic-reloc-7.d: New test.
1523 * testsuite/ld-mips-elf/pic-reloc-5.s: New test source.
1524 * testsuite/ld-mips-elf/pic-reloc-6.s: New test source.
1525 * testsuite/ld-mips-elf/pic-reloc-7.s: New test source.
1526 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1527
3734320d
MF
15282019-05-21 Matthew Fortune <matthew.fortune@mips.com>
1529 Faraz Shahbazker <fshahbazker@wavecomp.com>
1530
1531 * emultempl/mipself.em (compact_branches): New static variable.
1532 (mips_create_output_section_statements): Call
1533 _bfd_mips_elf_compact_branches.
1534 (PARSE_AND_LIST_PROLOGUE): Add OPTION_COMPACT_BRANCHES and
1535 OPTION_NO_COMPACT_BRANCHES.
1536 (PARSE_AND_LIST_LONGOPTS): Add compact-branches,
1537 no-compact-branches.
1538 (PARSE_AND_LIST_OPTIONS): Add --compact-branches,
1539 --no-compact-branches.
1540 (PARSE_AND_LIST_ARGS_CASES): Handle the above.
1541 * ld.texinfo: Document --compact-branches, --no-compact-branches.
1542 * testsuite/ld-mips-elf/pic-and-nonpic-1-r6.dd: New test.
1543 * testsuite/ld-mips-elf/pic-and-nonpic-1-r6.nd: New test.
1544 * testsuite/ld-mips-elf/pic-and-nonpic-3a-r6.dd: New test.
1545 * testsuite/ld-mips-elf/pic-and-nonpic-3a-r6.gd: New test.
1546 * testsuite/ld-mips-elf/pic-and-nonpic-1a-r6.s: New test source.
1547 * testsuite/ld-mips-elf/pic-and-nonpic-3a-r6.s: New test source.
1548 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1549
e6f65e75
AV
15502019-05-21 Andre Vieira <andre.simoesdiasvieira@arm.com>
1551
1552 * testsuite/ld-arm/arm-elf.exp: Add tests
1553 * testsuite/ld-arm/bfs-0.s: New test.
1554 * testsuite/ld-arm/bfs-1.s: New test.
1555 * testsuite/ld-arm/branch-futures.d: New test.
1556
739b5c9c
TC
15572019-05-21 Tamar Christina <tamar.christina@arm.com>
1558
1559 PR ld/24373
1560 * emultempl/aarch64elf.em (PARSE_AND_LIST_LONGOPTS): Add optional args
1561 to flags.
1562 * NEWS: Add changes to flag.
1563 (PARSE_AND_LIST_OPTIONS): Update help descriptions.
1564 (PARSE_AND_LIST_ARGS_CASES): Add new options to parser.
1565 * testsuite/ld-aarch64/aarch64-elf.exp: Add new run_dump_tests.
1566 * testsuite/ld-aarch64/erratum843419-adr.d: New test.
1567 * testsuite/ld-aarch64/erratum843419-adrp.d: New test.
1568 * testsuite/ld-aarch64/erratum843419-far-adr.d: New test.
1569 * testsuite/ld-aarch64/erratum843419-far-full.d: New test.
1570 * testsuite/ld-aarch64/erratum843419-far.s: New test.
1571 * testsuite/ld-aarch64/erratum843419-full.d: New test.
1572 * testsuite/ld-aarch64/erratum843419-near.s: New test.
1573 * testsuite/ld-aarch64/erratum843419-no-args.d: New test.
1574
7622049e
SKS
15752019-05-21 Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com>
1576
1577 PR ld/24571
1578 * ld/testsuite/ld-avr/relax-insn-at-range-boundary.d: New test.
1579 * ld/testsuite/ld-avr/relax-insn-at-range-boundary.s: New test.
1580
338ba755
SKS
15812019-05-21 Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com>
1582
1583 PR ld/24564
1584 * testsuite/ld-avr/wraparound-range-boundary.d: New test.
1585 * testsuite/ld-avr/wraparound-range-boundary.s: New test.
1586
d8734380
FS
15872019-05-20 Faraz Shahbazker <fshahbazker@wavecomp.com>
1588
1589 PR 14798
1590 * testsuite/ld-mips-elf/reloc-6a.s: Specify .text section for
1591 global code symbols.
1592 * testsuite/ld-mips-elf/reloc-6b.s: Likewise.
1593
af4fa23f
AM
15942019-05-17 Alan Modra <amodra@gmail.com>
1595
1596 PR 24567
1597 * plugin.c (plugin_notice): Do not let a common symbol override
1598 a non-common definition in IR.
1599
dd318999
DD
16002019-05-09 Dimitar Dimitrov <dimitar@dinux.eu>
1601
1602 * scripttempl/pru.sc (__init_array_begin, __init_array_begin):
1603 Rename.
1604
46752c37
PS
16052019-05-08 Pekka Seppänen <pexu@sourceware.mail.kapsi.fi>
1606
1607 PR 24536
1608 * ldbuildid.c (generate_build_id): Cast return value from
1609 GetProcAddress in order to avoid a compile time warning.
1610
e1cbf07a
AM
16112019-05-06 Alan Modra <amodra@gmail.com>
1612
1613 * testsuite/ld-undefined/weak-undef.exp: Don't xfail pj.
1614
27cdfa03
AM
16152019-05-04 Alan Modra <amodra@gmail.com>
1616
1617 * testsuite/ld-scripts/fill.d: Don't xfail m32c
1618 * testsuite/ld-scripts/fill16.d: Likewise.
1619
a288c270
AM
16202019-05-04 Alan Modra <amodra@gmail.com>
1621
1622 PR 24511
1623 * testsuite/ld-elf/pr14156a.d: Allow for .init/.fini being a
1624 data section on hppa64.
1625 * testsuite/ld-elf/pr14156b.d: Likewise.
1626 * testsuite/ld-scripts/pr18963.t: Map standard sections to set
1627 output section flags.
1628 * testsuite/ld-scripts/sane1.t: Likewise.
1629 * testsuite/ld-elf/init-fini-arrays.s: Reference __init_array_start
1630 and __fini_array_start. Define __start et al.
1631 * testsuite/ld-elf/pr24511.d: New test.
1632
066f4018
AM
16332019-04-30 Alan Modra <amodra@gmail.com>
1634
1635 * testsuite/ld-powerpc/elfv2exe.d: Update.
1636 * testsuite/ld-powerpc/elfv2so.d: Update.
1637 * testsuite/ld-powerpc/tocopt.d: Update.
1638 * testsuite/ld-powerpc/tocopt.s: Update.
1639 * testsuite/ld-powerpc/tocopt5.d: Update.
1640 * testsuite/ld-powerpc/tocopt5.s: Update.
1641 * testsuite/ld-powerpc/tocopt7.d: Update.
1642 * testsuite/ld-powerpc/tocopt7.s: Update.
1643 * testsuite/ld-powerpc/tocopt8.d: Update.
1644 * testsuite/ld-powerpc/tocopt8.s: Update.
1645
06ddcada
AM
16462019-04-30 Alan Modra <amodra@gmail.com>
1647
1648 * ld.texi (How GNU properties are merged): Avoid pod2man error.
1649 Correct example.
1650
c54f1524
L
16512019-04-26 H.J. Lu <hongjiu.lu@intel.com>
1652
1653 PR ld/24486
1654 * testsuite/ld-plugin/lto.exp: Run PR ld/24486 tests.
1655 * testsuite/ld-plugin/pr24486a.c: New file.
1656 * testsuite/ld-plugin/pr24486b.c: Likewise.
1657 * testsuite/ld-plugin/pr24486c.c: Likewise.
1658
8e1920d6
NC
16592019-04-26 Nick Clifton <nickc@redhat.com>
1660
1661 * po/ru.po: Updated Russian translation.
1662
a094d01f
CY
16632019-04-26 Christopher Yeleighton <giecrilj@stegny.2a.pl>
1664
1665 * ld.texi: Properly hyphenate the word "specific".
1666
6fe014bc
L
16672019-04-25 H.J. Lu <hongjiu.lu@intel.com>
1668
1669 PR ld/24406
1670 * ld.texi: Remove LTO warning from --wrap.
1671 * plugin.c (get_symbols): Update resolution for wrapper and
1672 wrapped symbols.
1673 * testsuite/ld-plugin/lto.exp: Run ld/24406 tests.
1674 * testsuite/ld-plugin/pr24406-1.c: New file.
1675 * testsuite/ld-plugin/pr24406-2a.c: Likewise.
1676 * testsuite/ld-plugin/pr24406-2b.c: Likewise.
1677
68bb0359
SD
16782019-04-25 Sudakshina Das <sudi.das@arm.com>
1679
1680 * testsuite/ld-aarch64/bti-pac-plt-1.d: Update.
1681 * testsuite/ld-aarch64/bti-pac-plt-2.d: Update.
1682 * testsuite/ld-aarch64/bti-plt-1.d: Update.
1683 * testsuite/ld-aarch64/bti-plt-3.d: Update.
1684 * testsuite/ld-aarch64/bti-plt-5.d: Update.
1685 * testsuite/ld-aarch64/pac-plt-1.d: Update.
1686 * testsuite/ld-aarch64/pac-plt-2.d: Update.
1687
44ed8092
SL
16882019-04-24 Sandra Loosemore <sandra@codesourcery.com>
1689
1690 * testsuite/config/default.exp: Use [check_compiler_available]
1691 instead of [which $CC].
1692 * testsuite/ld-auto-import/auto-import.exp: Likewise.
1693 * testsuite/ld-cygwin/exe-export.exp: Likewise.
1694 * testsuite/ld-elf/audit.exp: Likewise.
1695 * testsuite/ld-elf/compress.exp: Likewise.
1696 * testsuite/ld-elf/dwarf.exp: Likewise.
1697 * testsuite/ld-elf/elf.exp: Likewise.
1698 * testsuite/ld-elf/indirect.exp: Likewise.
1699 * testsuite/ld-elf/linux-x86.exp: Likewise.
1700 * testsuite/ld-elf/shared.exp: Likewise.
1701 * testsuite/ld-elf/tls.exp: Likewise.
1702 * testsuite/ld-elf/wrap.exp: Likewise.
1703 * testsuite/ld-elfcomm/elfcomm.exp: Likewise.
1704 * testsuite/ld-elfvers/vers.exp: Likewise.
1705 * testsuite/ld-elfvsb/elfvsb.exp: Likewise.
1706 * testsuite/ld-elfweak/elfweak.exp: Likewise.
1707 * testsuite/ld-gc/gc.exp: Likewise.
1708 * testsuite/ld-i386/i386.exp: Likewise.
1709 * testsuite/ld-i386/no-plt.exp: Likewise.
1710 * testsuite/ld-i386/tls.exp: Likewise.
1711 * testsuite/ld-ifunc/ifunc.exp: Likewise.
1712 * testsuite/ld-mn10300/mn10300.exp: Likewise.
1713 * testsuite/ld-pe/pe-compile.exp: Likewise.
1714 * testsuite/ld-pe/pe-run.exp: Likewise.
1715 * testsuite/ld-pe/pe-run2.exp: Likewise.
1716 * testsuite/ld-pie/pie.exp: Likewise.
1717 * testsuite/ld-plugin/lto.exp: Likewise.
1718 * testsuite/ld-plugin/plugin.exp: Likewise.
1719 * testsuite/ld-scripts/crossref.exp: Likewise.
1720 * testsuite/ld-sh/sh.exp: Likewise.
1721 * testsuite/ld-shared/shared.exp: Likewise.
1722 * testsuite/ld-size/size.exp: Likewise.
1723 * testsuite/ld-srec/srec.exp: Likewise.
1724 * testsuite/ld-undefined/undefined.exp: Likewise.
1725 * testsuite/ld-unique/unique.exp: Likewise.
1726 * testsuite/ld-x86-64/mpx.exp: Likewise.
1727 * testsuite/ld-x86-64/no-plt.exp: Likewise.
1728 * testsuite/ld-x86-64/tls.exp: Likewise.
1729 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1730 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Call
1731 check_compiler_available before trying to use the compiler.
1732 (run_cc_link_tests): Likewise.
1733 (check_compiler_available): New. Use it instead of [which $CC].
1734
cc9519e7
AM
17352019-04-23 Alan Modra <amodra@gmail.com>
1736
1737 * Makefile.am (GENDEPDIR): New var, used..
1738 (GENSCRIPTS): ..here.
1739 * Makefile.in: Regenerate.
1740 * genscripts.sh: Test for $DEPDIR set before every use.
1741
6f38008b
MF
17422019-04-22 Matthew Fortune <matthew.fortune@mips.com>
1743
1744 * testsuite/ld-mips-elf/mips-elf-flags.exp: Fix expected ASEs
1745 for M5100.
1746
fce97736
AM
17472019-04-19 Alan Modra <amodra@gmail.com>
1748
1749 * testsuite/ld-gc/skip-map-discarded.s: Add section attributes.
1750 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Add
1751 s12z to list of targets not supporting --gc-sections.
1752
9a7f0679
L
17532019-04-17 H.J. Lu <hongjiu.lu@intel.com>
1754
1755 * testsuite/ld-i386/i386.exp: Run pr18801a and pr18801b instead
1756 of pr18801.
1757 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1758 * testsuite/ld-i386/pr18801.d: Removed.
1759 * testsuite/ld-x86-64/pr18801.d: Likewise.
1760 * testsuite/ld-i386/pr18801a.d: New file.
1761 * testsuite/ld-i386/pr18801b.d: Likewise.
1762 * testsuite/ld-x86-64/pr18801a.d: Likewise.
1763 * testsuite/ld-x86-64/pr18801b.d: Likewise.
1764 * testsuite/ld-x86-64/pie2.d: Suggest -fPIE instead of -fPIC.
1765 * testsuite/ld-x86-64/pie2.d: Likewise.
1766 * testsuite/ld-x86-64/pr19719.d: Likewise.
1767 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
1768 * testsuite/ld-x86-64/pr19969.d: Likewise.
1769 * testsuite/ld-x86-64/pr21997-1a.err: Likewise.
1770 * testsuite/ld-x86-64/pr21997-1b.err: Likewise.
1771 * testsuite/ld-x86-64/pr22001-1a.err: Likewise.
1772 * testsuite/ld-x86-64/pr22001-1b.err: Likewise.
1773 * testsuite/ld-x86-64/pr22791-1.err: Likewise.
1774
4e84a8f8
L
17752019-04-17 H.J. Lu <hongjiu.lu@intel.com>
1776
1777 PR ld/24458
1778 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/24458 tests.
1779 * testsuite/ld-x86-64/pr24458.s: New file.
1780 * testsuite/ld-x86-64/pr24458a-x32.d: Likewise.
1781 * testsuite/ld-x86-64/pr24458a.d: Likewise.
1782 * testsuite/ld-x86-64/pr24458b-x32.d: Likewise.
1783 * testsuite/ld-x86-64/pr24458b.d: Likewise.
1784 * testsuite/ld-x86-64/pr24458c-x32.d: Likewise.
1785 * testsuite/ld-x86-64/pr24458c.d: Likewise.
1786
e25de718
JL
17872019-04-17 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1788
1789 * config/tc-msp430.c (msp430_make_init_symbols): Define __crt0_init_bss
1790 symbol when .lower.bss or .either.bss sections exist.
1791 Define __crt0_movedata when .lower.data or .either.data sections exist.
1792 * testsuite/gas/msp430/either-data-bss-sym.d: New test.
1793 * testsuite/gas/msp430/low-data-bss-sym.d: New test.
1794 * testsuite/gas/msp430/either-data-bss-sym.s: New test source.
1795 * testsuite/gas/msp430/low-data-bss-sym.s: New test source.
1796 * testsuite/gas/msp430/msp430.exp: Run new tests.
1797 Enable large code model when running -mdata-region={upper,either}
1798 tests.
1799
a0fb9615
AM
18002019-04-16 Alan Modra <amodra@gmail.com>
1801
1802 * testsuite/ld-scripts/pr20302.d: Don't run for ns32k-*-*.
1803 * testsuite/ld-scripts/section-match-1.d: Likewise.
1804 * testsuite/ld-undefined/require-defined.exp: Likewise.
1805
86333705
FS
18062019-04-15 Faraz Shahbazker <fshahbazker@wavecomp.com>
1807
1808 * testsuite/ld-gc/gc.exp: Skip print-map-discarded test for non-ELF
1809 targets.
1810
f6b2b12d
AV
18112019-04-15 Sudakshina Das <sudi.das@arm.com>
1812
1813 * testsuite/ld-arm/bfcsel.s: New.
1814 * testsuite/ld-arm/bfcsel.d: New.
1815 * testsuite/ld-arm/arm-elf.exp: Add above test.
1816
65d1bc05
AV
18172019-04-15 Sudakshina Das <sudi.das@arm.com>
1818
1819 * testsuite/ld-arm/bfl.s: New.
1820 * testsuite/ld-arm/bfl.d: New.
1821 * testsuite/ld-arm/arm-elf.exp: Add above test.
1822
4389b29a
AV
18232019-04-15 Sudakshina Das <sudi.das@arm.com>
1824
1825 * testsuite/ld-arm/bf.s: New.
1826 * testsuite/ld-arm/bf.d: New.
1827 * testsuite/ld-arm/arm-elf.exp: Add above test.
1828
031254f2
AV
18292019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
1830
1831 * testsuite/ld-arm/attr-merge-13.attr: New test.
1832 * testsuite/ld-arm/attr-merge-13a.s: New test.
1833 * testsuite/ld-arm/attr-merge-13b.s: New test.
1834
c40e31a1
AM
18352019-04-13 Alan Modra <amodra@gmail.com>
1836
1837 * Makefile.am (GENSCRIPTS): Pass LIB_PATH as a parameter. Add
1838 DEPDIR parameter.
1839 (ELF_DEPS, ELF_GEN_DEPS, ELF_X86_DEPS): Delete.
1840 (ALL_EMULATION_SOURCES, ALL_64_EMULATION_SOURCES): Depend on
1841 $GEN_DEPENDS.
1842 (e*.c): Delete all dependencies, instead include dependencies
1843 from $DEPDIR/*.Pc.
1844 * Makefile.in: Regenerate.
1845 * configure.ac (source_sh): Define and use function.
1846 * configure: Regenerate.
1847 * emulparams/aarch64cloudabib.sh, * emulparams/aarch64elf32b.sh,
1848 * emulparams/aarch64elfb.sh, * emulparams/aarch64fbsdb.sh,
1849 * emulparams/aarch64linux32b.sh, * emulparams/aarch64linuxb.sh,
1850 * emulparams/arcelf.sh, * emulparams/arcelf_prof.sh,
1851 * emulparams/arclinux.sh, * emulparams/arclinux_nps.sh,
1852 * emulparams/arclinux_prof.sh, * emulparams/arcv2elf.sh,
1853 * emulparams/arcv2elfx.sh, * emulparams/armelf_fbsd.sh,
1854 * emulparams/armelf_linux_eabi.sh,
1855 * emulparams/armelf_linux_fdpiceabi.sh,
1856 * emulparams/armelf_nacl.sh, * emulparams/armelf_nbsd.sh,
1857 * emulparams/armelf_vxworks.sh, * emulparams/armelfb.sh,
1858 * emulparams/armelfb_fbsd.sh, * emulparams/armelfb_fuchsia.sh,
1859 * emulparams/armelfb_linux.sh, * emulparams/armelfb_linux_eabi.sh,
1860 * emulparams/armelfb_linux_fdpiceabi.sh,
1861 * emulparams/armelfb_nacl.sh, * emulparams/armelfb_nbsd.sh,
1862 * emulparams/armsymbian.sh, * emulparams/cskyelf_linux.sh,
1863 * emulparams/elf32_sparc_sol2.sh,
1864 * emulparams/elf32_sparc_vxworks.sh, * emulparams/elf32_tic6x_be.sh,
1865 * emulparams/elf32_tic6x_elf_be.sh,
1866 * emulparams/elf32_tic6x_elf_le.sh,
1867 * emulparams/elf32_tic6x_linux_be.sh,
1868 * emulparams/elf32_tic6x_linux_le.sh,
1869 * emulparams/elf32_x86_64.sh, * emulparams/elf32_x86_64_nacl.sh,
1870 * emulparams/elf32b4300.sh, * emulparams/elf32bfinfd.sh,
1871 * emulparams/elf32bmipn32.sh, * emulparams/elf32bsmip.sh,
1872 * emulparams/elf32btsmip.sh, * emulparams/elf32btsmip_fbsd.sh,
1873 * emulparams/elf32btsmipn32.sh, * emulparams/elf32btsmipn32_fbsd.sh,
1874 * emulparams/elf32ebmip.sh, * emulparams/elf32ebmipvxworks.sh,
1875 * emulparams/elf32elmip.sh, * emulparams/elf32elmipvxworks.sh,
1876 * emulparams/elf32frvfd.sh, * emulparams/elf32l4300.sh,
1877 * emulparams/elf32lm32fd.sh, * emulparams/elf32lmip.sh,
1878 * emulparams/elf32lppc.sh, * emulparams/elf32lppclinux.sh,
1879 * emulparams/elf32lppcnto.sh, * emulparams/elf32lppcsim.sh,
1880 * emulparams/elf32lr5900.sh, * emulparams/elf32lr5900n32.sh,
1881 * emulparams/elf32lriscv.sh, * emulparams/elf32lriscv_ilp32.sh,
1882 * emulparams/elf32lriscv_ilp32f.sh, * emulparams/elf32lsmip.sh,
1883 * emulparams/elf32ltsmip.sh, * emulparams/elf32ltsmip_fbsd.sh,
1884 * emulparams/elf32ltsmipn32.sh, * emulparams/elf32ltsmipn32_fbsd.sh,
1885 * emulparams/elf32microblazeel.sh, * emulparams/elf32or1k_linux.sh,
1886 * emulparams/elf32ppc.sh, * emulparams/elf32ppc_fbsd.sh,
1887 * emulparams/elf32ppccommon.sh, * emulparams/elf32ppclinux.sh,
1888 * emulparams/elf32ppcnto.sh, * emulparams/elf32ppcsim.sh,
1889 * emulparams/elf32ppcvxworks.sh, * emulparams/elf32ppcwindiss.sh,
1890 * emulparams/elf32tilegx_be.sh, * emulparams/elf64_ia64_fbsd.sh,
1891 * emulparams/elf64_sparc_fbsd.sh, * emulparams/elf64_sparc_sol2.sh,
1892 * emulparams/elf64alpha_fbsd.sh, * emulparams/elf64alpha_nbsd.sh,
1893 * emulparams/elf64bmip-defs.sh, * emulparams/elf64bmip.sh,
1894 * emulparams/elf64btsmip.sh, * emulparams/elf64btsmip_fbsd.sh,
1895 * emulparams/elf64lppc.sh, * emulparams/elf64lriscv-defs.sh,
1896 * emulparams/elf64lriscv.sh, * emulparams/elf64lriscv_lp64.sh,
1897 * emulparams/elf64lriscv_lp64f.sh, * emulparams/elf64ltsmip.sh,
1898 * emulparams/elf64ltsmip_fbsd.sh, * emulparams/elf64ppc.sh,
1899 * emulparams/elf64ppc_fbsd.sh, * emulparams/elf64rdos.sh,
1900 * emulparams/elf64tilegx_be.sh, * emulparams/elf_i386.sh,
1901 * emulparams/elf_i386_be.sh, * emulparams/elf_i386_fbsd.sh,
1902 * emulparams/elf_i386_ldso.sh, * emulparams/elf_i386_nacl.sh,
1903 * emulparams/elf_i386_sol2.sh, * emulparams/elf_i386_vxworks.sh,
1904 * emulparams/elf_iamcu.sh, * emulparams/elf_k1om.sh,
1905 * emulparams/elf_k1om_fbsd.sh, * emulparams/elf_l1om.sh,
1906 * emulparams/elf_l1om_fbsd.sh, * emulparams/elf_x86_64.sh,
1907 * emulparams/elf_x86_64_cloudabi.sh,
1908 * emulparams/elf_x86_64_fbsd.sh, * emulparams/elf_x86_64_nacl.sh,
1909 * emulparams/elf_x86_64_sol2.sh, * emulparams/h8300helf.sh,
1910 * emulparams/h8300helf_linux.sh, * emulparams/h8300hnelf.sh,
1911 * emulparams/h8300self.sh, * emulparams/h8300self_linux.sh,
1912 * emulparams/h8300snelf.sh, * emulparams/h8300sxelf.sh,
1913 * emulparams/h8300sxelf_linux.sh, * emulparams/h8300sxnelf.sh,
1914 * emulparams/hppanbsd.sh, * emulparams/hppaobsd.sh,
1915 * emulparams/m32rlelf.sh, * emulparams/m32rlelf_linux.sh,
1916 * emulparams/m68kelfnbsd.sh, * emulparams/mn10300.sh,
1917 * emulparams/msp430X.sh, * emulparams/nds32belf.sh,
1918 * emulparams/nds32belf16m.sh, * emulparams/nds32belf_linux.sh,
1919 * emulparams/pjlelf.sh, * emulparams/ppclynx.sh,
1920 * emulparams/score7_elf.sh, * emulparams/shelf_fd.sh,
1921 * emulparams/shelf_linux.sh, * emulparams/shelf_nbsd.sh,
1922 * emulparams/shelf_uclinux.sh, * emulparams/shelf_vxworks.sh,
1923 * emulparams/shl.sh, * emulparams/shlelf.sh,
1924 * emulparams/shlelf_fd.sh, * emulparams/shlelf_nbsd.sh,
1925 * emulparams/shlelf_vxworks.sh: Use source_sh.
1926 * genscripts.sh: Adjust for changed parameters. Emit dependencies
1927 for e*.c to .deps/*.Pc.
1928 (source_sh): New function, use it throughout to source scripts.
1929 * genscrba.sh (source_em): Use source_sh.
1930
50ff67e6
AM
19312019-04-13 Alan Modra <amodra@gmail.com>
1932
1933 * configure.ac (TDIRS): Build up tdirs in this variable and
1934 AC_SUBST, also using AM_SUBST_NOTMAKE.
1935 * configure: Regenerate.
1936 * Makefile.am (DISTCLEANFILES): Remove tdirs.
1937 * Makefile.in: Regenerate.
1938
3bbec4bd
NC
19392019-04-12 Nick Clifton <nickc@redhat.com>
1940
1941 PR 24450
1942 * ld.texi (Output Section Attributes): Add ALIGN_WITH_INPUT to
1943 example of section attributes.
1944
035801ce
FS
19452019-04-11 Faraz Shahbazker <fshahbazker@wavecomp.com>
1946
1947 * NEWS: Mention new option --no-print-map-discarded.
1948 * ld.h (ld_config_type) <print_map_discarded>: New field.
1949 * ldlang.c (lang_map): Conditionally output discarded sections
1950 in map files based on configuration option.
1951 * ldlex.h (option_values) <OPTION_PRINT_MAP_DISCARDED,
1952 OPTION_NO_PRINT_MAP_DISCARDED>: New.
1953 * ldmain.c (main): Enabled print_map_discarded by default.
1954 * lexsup.c (ld_options): Add new command-line options.
1955 (parse_args) <OPTION_NO_PRINT_MAP_DISCARDED,
1956 OPTION_PRINT_MAP_DISCARDED>: New cases.
1957 * ld.texi: Document new options.
1958 * testsuite/ld-gc/gc.exp: Add new test.
1959 * testsuite/ld-gc/skip-map-discarded.s: New file.
1960 * testsuite/ld-gc/skip-map-discarded.d: New file.
1961 * testsuite/ld-gc/skip-map-discarded.map: New file.
1962
233a0083
L
19632019-04-11 H.J. Lu <hongjiu.lu@intel.com>
1964
1965 * ld.texi: Document -z cet-report=[none|warning|error].
1966 * emulparams/cet.sh: Add -z cet-report=[none|warning|error].
1967 * testsuite/ld-i386/i386.exp: Run -z cet-report=[warning|error]
1968 tests.
1969 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1970 * testsuite/ld-i386/property-x86-cet1.d: New file.
1971 * testsuite/ld-i386/property-x86-cet2a.d: Likewise.
1972 * testsuite/ld-i386/property-x86-cet2b.d: Likewise.
1973 * testsuite/ld-i386/property-x86-cet3a.d: Likewise.
1974 * testsuite/ld-i386/property-x86-cet3b.d: Likewise.
1975 * testsuite/ld-i386/property-x86-cet4a.d: Likewise.
1976 * testsuite/ld-i386/property-x86-cet4b.d: Likewise.
1977 * testsuite/ld-i386/property-x86-cet5a.d: Likewise.
1978 * testsuite/ld-i386/property-x86-cet5b.d: Likewise.
1979 * testsuite/ld-i386/property-x86-cet6.d: Likewise.
1980 * testsuite/ld-x86-64/property-x86-cet.s: Likewise.
1981 * testsuite/ld-x86-64/property-x86-cet1-x32.d: Likewise.
1982 * testsuite/ld-x86-64/property-x86-cet1.d: Likewise.
1983 * testsuite/ld-x86-64/property-x86-cet2a-x32.d: Likewise.
1984 * testsuite/ld-x86-64/property-x86-cet2a.d: Likewise.
1985 * testsuite/ld-x86-64/property-x86-cet2b-x32.d: Likewise.
1986 * testsuite/ld-x86-64/property-x86-cet2b.d: Likewise.
1987 * testsuite/ld-x86-64/property-x86-cet3a-x32.d: Likewise.
1988 * testsuite/ld-x86-64/property-x86-cet3a.d: Likewise.
1989 * testsuite/ld-x86-64/property-x86-cet3b-x32.d: Likewise.
1990 * testsuite/ld-x86-64/property-x86-cet3b.d: Likewise.
1991 * testsuite/ld-x86-64/property-x86-cet4a-x32.d: Likewise.
1992 * testsuite/ld-x86-64/property-x86-cet4a.d: Likewise.
1993 * testsuite/ld-x86-64/property-x86-cet4b-x32.d: Likewise.
1994 * testsuite/ld-x86-64/property-x86-cet4b.d: Likewise.
1995 * testsuite/ld-x86-64/property-x86-cet5a-x32.d: Likewise.
1996 * testsuite/ld-x86-64/property-x86-cet5a.d: Likewise.
1997 * testsuite/ld-x86-64/property-x86-cet5b-x32.d: Likewise.
1998 * testsuite/ld-x86-64/property-x86-cet5b.d: Likewise.
1999 * testsuite/ld-x86-64/property-x86-cet6-x32.d: Likewise.
2000 * testsuite/ld-x86-64/property-x86-cet6.d: Likewise.
2001
b3d7a867
L
20022019-04-11 H.J. Lu <hongjiu.lu@intel.com>
2003
2004 * testsuite/config/default.exp (STATIC_PIE_LDFLAGS): New. Set
2005 to "-static-pie" if target compiler supports it.
2006 * testsuite/ld-elf/elf.exp: Run -static-pie tests if
2007 $STATIC_PIE_LDFLAGS isn't empty.
2008 * testsuite/ld-ifunc/ifunc.exp: Likewise.
2009
ce12121b
TC
20102019-04-11 Tamar Christina <tamar.christina@arm.com>
2011
2012 PR ld/24302
2013 * testsuite/ld-aarch64/aarch64-elf.exp: Add new test.
2014 * testsuite/ld-aarch64/tls-relax-gdesc-le-now.d: New test.
2015
795e3bb7
L
20162019-04-10 H.J. Lu <hongjiu.lu@intel.com>
2017
2018 * scripttempl/elf.sc (CREATE_PIC): New. Set for CREATE_SHLIB or
2019 CREATE_PIE.
2020 (__rel_iplt_start): Don't define for CREATE_PIC.
2021 (__rel_iplt_end): Likewise.
2022 (__rela_iplt_start): Likewise.
2023 (__rela_iplt_end): Likewise.
2024
e6aded7c
AM
20252019-04-10 Alan Modra <amodra@gmail.com>
2026
2027 * testsuite/ld-elf/shared.exp: Don't xfail PR ld/20995 for
2028 powerpc-nto.
2029
53b81c6d
AM
20302019-04-10 Alan Modra <amodra@gmail.com>
2031
2032 * emultempl/cskyelf.em (csk_elf_before_parse): New function,
2033 setting use_branch_stub false for linux.
2034 (csky_elf_create_output_section_statements): Do emit this
2035 function and all others in the file for linux, plus the branch
2036 option control. Disable branch stubs when non-ELF.
2037
c55b17b8
AM
20382019-04-10 Alan Modra <amodra@gmail.com>
2039
2040 * Makefile.am (eskyelf.c, eskyelf_linux.c): Depend on cskyelf.em.
2041 (ecskyelf_linux.c): Depend on cskyelf.sh.
2042 (eelf32microblazeel.c): Depend on elf32microblaze.sh.
2043 * Makefile.in: Regenerate.
2044 * emulparams/cskyelf.sh: Comment regarding cskelf_linux.sh.
2045 (PAGE_SIZE): Don't define.
2046 * emulparams/cskyelf_linux.sh: Source sckyelf.sh, leaving just
2047 the differing variable defs/undefs.
2048 * emulparams/elf32mcore.sh (PAGE_SIZE): Don't define.
2049 * emulparams/elf32microblaze.sh: Comment re. elf32microblazeel.sh.
2050 (OUTPUT_FORMAT): Use BIG_OUTPUT_FORMAT.
2051 (PAGE_SIZE): Don't define.
2052 * emulparams/elf32microblazeel.sh: Source elf32microblaze.sh,
2053 leaving just the differing OUTPUT_FORMAT.
2054
6feda627
AM
20552019-04-10 Alan Modra <amodra@gmail.com>
2056
2057 * po/BLD-POTFILES.in: Regenerate.
2058
c93c0e7f
L
20592019-04-08 H.J. Lu <hongjiu.lu@intel.com>
2060
2061 * testsuite/ld-elf/shared.exp: XFAIL PR ld/20995 tests for
2062 lynxos and nto targets.
2063
3ae61bb6
L
20642019-04-08 H.J. Lu <hongjiu.lu@intel.com>
2065
2066 * Makefile.am (ALL_EMULATION_SOURCES): Remove eelf_i386_chaos.c.
2067 (eelf_i386_chaos.c): Removed.
2068 * Makefile.in: Regenerated.
2069 * configure.tgt: Remove i[3-7]86-*-kaos*.
2070 * emulparams/elf_i386_chaos.sh: Removed.
2071
da9b5f7b
L
20722019-04-08 H.J. Lu <hongjiu.lu@intel.com>
2073
2074 * emulparams/elf_i386_be.sh (EXTRA_EM_FILE): New.
2075 * emulparams/i386moss.sh (EXTRA_EM_FILE): Likewise.
2076
d970ee2b
AM
20772019-04-08 Alan Modra <amodra@gmail.com>
2078
2079 * emulparams/elf64rdos.sh (EXTRA_EM_FILE): Define.
2080 * emulparams/i386lynx.sh (EXTRA_EM_FILE): Define.
2081 * emulparams/i386nto.sh (EXTRA_EM_FILE): Define.
2082
5b9c07b2
L
20832019-04-06 H.J. Lu <hongjiu.lu@intel.com>
2084
2085 * Makefile.am (ELF_X86_DEPS): Add $(srcdir)/emultempl/elf-x86.em.
2086 (eelf_i386_sol2.c): Also depend on
2087 $(srcdir)/emultempl/solaris2-x86.em.
2088 (eelf_x86_64_sol2.c): Likewise.
2089 * Makefile.in: Regenerated.
2090 * emulparams/call_nop.sh: Set x86-specific linker options via
2091 params.
2092 * emulparams/cet.sh: Likewise.
2093 * emulparams/reloc_overflow.sh: Likewise.
2094 * emulparams/elf32_x86_64.sh (EXTRA_EM_FILE): New. Set to
2095 "elf-x86".
2096 * emulparams/elf_i386.sh: Likewise.
2097 * emulparams/elf_i386_be.sh: Likewise.
2098 * emulparams/elf_i386_chaos.sh: Likewise.
2099 * emulparams/elf_i386_ldso.sh: Likewise.
2100 * emulparams/elf_i386_vxworks.sh: Likewise.
2101 * emulparams/elf_iamcu.sh: Likewise.
2102 * emulparams/elf_k1om.sh: Likewise.
2103 * emulparams/elf_l1om.sh: Likewise.
2104 * emulparams/elf_x86_64.sh: Likewise.
2105 * emulparams/elf_i386_sol2.sh (EXTRA_EM_FILE): Changed to
2106 "solaris2-x86".
2107 * emulparams/elf_x86_64_sol2.sh: Likewise.
2108 * emultempl/elf-x86.em: New file.
2109 * emultempl/solaris2-x86.em: Likewise.
2110 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
2111 set link_info.call_nop_byte.
2112
c2b1c275
AM
21132019-04-05 Alan Modra <amodra@gmail.com>
2114
2115 * testsuite/ld-powerpc/tlsexe32.d: Remove trailing spaces.
2116 * testsuite/ld-powerpc/tlsopt5.d: Likewise.
2117 * testsuite/ld-powerpc/tlsopt5_32.d: Likewise.
2118
1c6aafe8
AM
21192019-04-03 Alan Modra <amodra@gmail.com>
2120
2121 PR 24411
2122 ldlex.l (SYMBOLNAMECHAR1): Don't match '/'.
2123 (<EXPRESSION>"/DISCARD/"): New.
2124
092da96a
AM
21252019-04-03 Alan Modra <amodra@gmail.com>
2126
2127 * ldlex.l: Formatting.
2128 (CMDFILENAMECHAR, CMDFILENAMECHAR1): Delete.
2129 (FILENAMECHAR1, SYMBOLNAMECHAR1, FILENAMECHAR, WILDCHAR),
2130 (NOCFILENAMECHAR): Remove duplicate chars. Reorder.
2131 (SYMBOLCHARN): Likewise. Rename to SYMBOLNAMECHAR.
2132 (<INPUTLIST>"$SYSROOT"..): Delete rule.
2133
2487ef07
MF
21342019-03-29 Max Filippov <jcmvbkbc@gmail.com>
2135
2136 * testsuite/ld-xtensa/relax-undef-weak-pie-export-dynamic.d: New
2137 test definition.
2138 * testsuite/ld-xtensa/xtensa.exp
2139 (relax-undef-weak-pie-export-dynamic): Add new test.
2140
7ea79cb3 21412019-03-26 Martin Liska <mliska@suse.cz>
2142
2143 * plugin.c (get_symbols): Add lto_kind_str, lto_resolution_str,
2144 lto_visibility_str and use then to inform about plugin-symbols.
2145 * testsuite/ld-plugin/plugin-12.d: Adjust expected pattern.
2146
796d6298
TC
21472019-03-25 Tamar Christina <tamar.christina@arm.com>
2148
2149 * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Update disassembly.
2150 * testsuite/ld-arm/jump-reloc-veneers-long.d: Update disassembly.
2151
4e539114
SD
21522019-03-21 Sudakshina Das <sudi.das@arm.com>
2153
2154 * testsuite/ld-aarch64/aarch64-elf.exp: Add new test.
2155 * testsuite/ld-aarch64/bti-plt-1.s: Add .ifdef for PAC note section.
2156 * testsuite/ld-aarch64/bti-plt-6.d: Update warning.
2157 * testsuite/ld-aarch64/bti-plt-7.d: Likewise.
2158 * testsuite/ld-aarch64/bti-warn.d: New test.
2159
f84bd465
AM
21602019-03-21 Alan Modra <amodra@gmail.com>
2161
2162 * testsuite/ld-elf/fini2.s: Reduce alignment.
2163 * testsuite/ld-elf/fini3.s: Likewise.
2164 * testsuite/ld-elf/finin.s: Likewise.
2165 * testsuite/ld-elf/init2.s: Likewise.
2166 * testsuite/ld-elf/init3.s: Likewise.
2167 * testsuite/ld-elf/initn.s: Likewise.
2168 * testsuite/ld-elf/pr14156a.d: Don't xfail m68hc1*-* or xgate-*.
2169 * testsuite/ld-elf/pr14156b.d: Don't xfail xgate-*.
2170
2d3181c7
AM
21712019-03-21 Alan Modra <amodra@gmail.com>
2172
2173 * scripttempl/alpha.sc, * scripttempl/armbpabi.sc,
2174 * scripttempl/crisaout.sc, * scripttempl/elf32cr16.sc,
2175 * scripttempl/elf32crx.sc, * scripttempl/elf32xc16x.sc,
2176 * scripttempl/elf32xc16xl.sc, * scripttempl/elf32xc16xs.sc,
2177 * scripttempl/elf64hppa.sc, * scripttempl/elf_chaos.sc,
2178 * scripttempl/elfarc.sc, * scripttempl/elfarcv2.sc,
2179 * scripttempl/elfd30v.sc, * scripttempl/elfm68hc11.sc,
2180 * scripttempl/elfm68hc12.sc, * scripttempl/elfm9s12z.sc,
2181 * scripttempl/elfmicroblaze.sc, * scripttempl/elfxgate.sc,
2182 * scripttempl/elfxtensa.sc, * scripttempl/epiphany_4x4.sc,
2183 * scripttempl/ft32.sc, * scripttempl/i386beos.sc,
2184 * scripttempl/iq2000.sc, * scripttempl/mcorepe.sc,
2185 * scripttempl/mep.sc, * scripttempl/mips.sc, * scripttempl/moxie.sc,
2186 * scripttempl/pe.sc, * scripttempl/pep.sc, * scripttempl/ppcpe.sc,
2187 * scripttempl/tic4xcoff.sc, * scripttempl/tic80coff.sc,
2188 * scripttempl/v850.sc, * scripttempl/v850_rh850.sc,
2189 * scripttempl/visium.sc, * scripttempl/xstormy16.sc: Add KEEP and
2190 SORT_NONE to .init and .fini wildcards.
2191 * scripttempl/elf32xc16x.sc,
2192 * scripttempl/elf32xc16xl.sc,
2193 * scripttempl/elf32xc16xs.sc: Add .fini wildcard.
2194 * scripttempl/elf_chaos.sc: Add .init output section.
2195 * scripttempl/elfd30v.sc: Remove duplicate .init.
2196 * scripttempl/elfm68hc11.sc, * scripttempl/elfm68hc12.sc,
2197 * scripttempl/elfm9s12z.sc, * scripttempl/elfxgate.sc: Remove
2198 duplicate .init, and add .fini wildcard.
2199 * scripttempl/ppcpe.sc (INIT, FINI): Delete.
2200 * ldlang.c (update_wild_statements): Special case .init and
2201 .fini in the wildcard, not the output section.
2202
980a2e42
AM
22032019-03-21 Alan Modra <amodra@gmail.com>
2204
2205 * emulparams/elf32lm32fd.sh (DYNAMIC_LINK): Undef.
2206
3b6c1966
AM
22072019-03-21 Alan Modra <amodra@gmail.com>
2208
2209 * ldlang.c (lang_size_sections_1): Set SEC_KEEP on
2210 create_object_symbols_section.
2211 * testsuite/ld-elf/pr22319.d: Don't xfail dlx.
2212
28a66f07
AM
22132019-03-18 Alan Modra <amodra@gmail.com>
2214
2215 * testsuite/ld-elf/merge.d: Remove csky from xfails, add moxie.
2216 * testsuite/ld-elf/pr21884.d: Remove csky from xfails.
2217 * testsuite/ld-elf/shared.exp: Add csky to list not xfailing pr22374.
2218 * testsuite/ld-unique/pr21529.d: Remove csky from xfails
2219
1c82ed74
NC
22202019-03-15 Nick Clifton <nickc@redhat.com>
2221
2222 PR 24262
2223 * ld.texi (-plugin): Correct the path used to locate linker
2224 plugins.
2225
1dbade74
SD
22262019-03-13 Sudakshina Das <sudi.das@arm.com>
2227
2228 * NEWS: Document --pac-plt.
2229 * emultempl/aarch64elf.em (OPTION_PAC_PLT): New.
2230 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add pac-plt.
2231 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_PAC_PLT.
2232 * testsuite/ld-aarch64/aarch64-elf.exp: Add the following tests.
2233 * testsuite/ld-aarch64/bti-pac-plt-1.d: New test.
2234 * testsuite/ld-aarch64/bti-pac-plt-2.d: New test.
2235 * testsuite/ld-aarch64/pac-plt-1.d: New test.
2236 * testsuite/ld-aarch64/pac-plt-2.d: New test.
2237 * testsuite/ld-aarch64/bti-plt-1.s: Add .ifndef directive.
2238
37c18eed
SD
22392019-03-13 Sudakshina Das <sudi.das@arm.com>
2240 Szabolcs Nagy <szabolcs.nagy@arm.com>
2241
2242 * NEWS: Document --force-bti.
2243 * emultempl/aarch64elf.em (plt_type, bti_type, OPTION_FORCE_BTI): New.
2244 (PARSE_AND_LIST_SHORTOPTS, PARSE_AND_LIST_OPTIONS): Add force-bti.
2245 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_FORCE_BTI.
2246 * testsuite/ld-aarch64/aarch64-elf.exp: Add all the tests below.
2247 * testsuite/ld-aarch64/bti-plt-1.d: New test.
2248 * testsuite/ld-aarch64/bti-plt-1.s: New test.
2249 * testsuite/ld-aarch64/bti-plt-2.d: New test.
2250 * testsuite/ld-aarch64/bti-plt-3.d: New test.
2251 * testsuite/ld-aarch64/bti-plt-4.d: New test.
2252 * testsuite/ld-aarch64/bti-plt-5.d: New test.
2253 * testsuite/ld-aarch64/bti-plt-6.d: New test.
2254 * testsuite/ld-aarch64/bti-plt-7.d: New test.
2255 * testsuite/ld-aarch64/bti-plt-so.s: New test.
2256 * testsuite/ld-aarch64/bti-plt.ld: New test.
2257
cd702818
SD
22582019-03-13 Sudakshina Das <sudi.das@arm.com>
2259
2260 * NEWS: Document GNU_PROPERTY_AARCH64_FEATURE_1_BTI and
2261 GNU_PROPERTY_AARCH64_FEATURE_1_PAC.
2262 * testsuite/ld-aarch64/aarch64-elf.exp: Add run commands for new tests.
2263 * testsuite/ld-aarch64/property-bti-pac1.d: New test.
2264 * testsuite/ld-aarch64/property-bti-pac1.s: New test.
2265 * testsuite/ld-aarch64/property-bti-pac2.d: New test.
2266 * testsuite/ld-aarch64/property-bti-pac2.s: New test.
2267 * testsuite/ld-aarch64/property-bti-pac3.d: New test.
2268
44b27f95
L
22692019-03-13 H.J. Lu <hongjiu.lu@intel.com>
2270
2271 PR ld/24322
2272 * testsuite/ld-i386/i386.exp: Run PR ld/24322 tests.
2273 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2274 * testsuite/ld-i386/pr24322a.d: New file.
2275 * testsuite/ld-i386/pr24322b.d: Likewise.
2276 * testsuite/ld-x86-64/pr24322a-x32.d: Likewise.
2277 * testsuite/ld-x86-64/pr24322a.d: Likewise.
2278 * testsuite/ld-x86-64/pr24322b-x32.d: Likewise.
2279 * testsuite/ld-x86-64/pr24322b.d: Likewise.
2280 * testsuite/ld-x86-64/pr24322a.s: Likewise.
2281 * testsuite/ld-x86-64/pr24322b.s: Likewise.
2282 * testsuite/ld-x86-64/pr24322c.s: Likewise.
2283
912ebfa0
NB
22842019-03-06 Nick Bowler <nbowler@draconx.ca>
2285
2286 PR 24289
2287 * ldexp.c (fold_name): Allow lookups of the LENGTH and ORIGIN
2288 attributes during the first phase.
2289
24801b15
AK
22902019-03-01 Andreas Krebbel <krebbel@linux.ibm.com>
2291
2292 This reverts commit 5a12586d44fa8d5dfc74cbca4f2f36a273a16335.
2293 2019-01-14 Maamoun Tarsha <maamountk@hotmail.com>
2294
2295 PR 20113
2296 * emulparams/elf64_s390.sh (SEPARATE_GOTPLT): Define.
2297 * emulparams/elf_s390.sh (SEPARATE_GOTPLT): Define.
2298 * testsuite/ld-s390/gotreloc_31-1.dd: Update expected output.
2299 * testsuite/ld-s390/tlsbin.dd: Likewise.
2300 * testsuite/ld-s390/tlsbin.rd: Likewise.
2301 * testsuite/ld-s390/tlsbin.sd: Likewise.
2302 * testsuite/ld-s390/tlsbin_64.dd: Likewise.
2303 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
2304 * testsuite/ld-s390/tlsbin_64.sd: Likewise.
2305 * testsuite/ld-s390/tlspic.dd: Likewise.
2306 * testsuite/ld-s390/tlspic.rd: Likewise.
2307 * testsuite/ld-s390/tlspic.sd: Likewise.
2308 * testsuite/ld-s390/tlspic_64.dd: Likewise.
2309 * testsuite/ld-s390/tlspic_64.rd: Likewise.
2310 * testsuite/ld-s390/tlspic_64.sd: Likewise.
2311 * testsuite/ld-s390/s390.exp: Skip s390 tests for tpf targets.
2312
5cfe428c
L
23132019-02-27 H.J. Lu <hongjiu.lu@intel.com>
2314
2315 PR ld/24276
2316 * testsuite/ld-i386/i386.exp: Run PR ld/24276 test.
2317 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2318 * testsuite/ld-i386/pr24276.dso: New file.
2319 * testsuite/ld-i386/pr24276.warn: Likewise.
2320 * testsuite/ld-x86-64/pr24276.dso: Likewise.
2321 * testsuite/ld-x86-64/pr24276.warn: Likewise.
2322
eed62915
MF
23232019-02-20 Eric Tsai <erictsai@cadence.com>
2324
2325 * testsuite/ld-xtensa/call_overflow.d: New test definition.
2326 * testsuite/ld-xtensa/call_overflow1.s: New test source.
2327 * testsuite/ld-xtensa/call_overflow2.s: New test source.
2328 * testsuite/ld-xtensa/call_overflow3.s: New test source.
2329 * testsuite/ld-xtensa/xtensa.exp: Add call_overflow test.
2330
abc163a4
TS
23312019-02-14 Thomas Schwinge <thomas@codesourcery.com>
2332
2333 * testsuite/ld-elf/elf.exp: Remove Hurd XFAILs.
2334
e4865945
NC
23352019-02-12 Nick Clifton <nickc@redhat.com>
2336
2337 * po/fr.po: Updated French translation.
2338
a0e90a73
CZ
23392019-02-09 Vineet Gupta <vgupta@synopsys.com>
2340
2341 * emultempl/arclinux.em: Delete special INIT/FINI handling.
2342
5d3db3e2
NC
23432019-02-07 Nick Clifton <nickc@redhat.com>
2344
2345 PR 24175
2346 * ld.texi (Options): Add missing word to the description of the
2347 --start-group option.
2348
4249a53c
AM
23492019-02-06 Alan Modra <amodra@gmail.com>
2350
2351 PR ld/24008
2352 * testsuite/ld-scripts/pr24008.d: Pass with extra target
2353 defined symbols.
2354
83924b38
L
23552019-02-05 H.J. Lu <hongjiu.lu@intel.com>
2356
2357 PR ld/24151
2358 * testsuite/ld-x86-64/pr24151a-x32.d: New file.
2359 * testsuite/ld-x86-64/pr24151a.d: Likewise.
2360 * testsuite/ld-x86-64/pr24151a.s: Likewise.
2361 * testsuite/ld-x86-64/x86-64.exp: Run pr24151a and pr24151a-x32.
2362
4f4690cd
AM
23632019-01-31 Alan Modra <amodra@gmail.com>
2364
2365 * NEWS: Mention -t change.
2366 * ld.texi (--trace/-t): Expand documentation a little.
2367
ad0f979c
L
23682019-01-29 H.J. Lu <hongjiu.lu@intel.com>
2369
2370 PR ld/24008
2371 * testsuite/ld-scripts/defined.exp: Run pr24008.
2372 * testsuite/ld-scripts/pr24008.d: New file.
2373 * testsuite/ld-scripts/pr24008.map: Likewise.
2374 * testsuite/ld-scripts/pr24008.s: Likewise.
2375 * testsuite/ld-scripts/pr24008.t: Likewise.
2376
c49829c3
EB
23772019-01-29 Eric Botcazou <ebotcazou@adacore.com>
2378
2379 * testsuite/ld-ifunc/ifunc.exp: Skip pr23169 on SPARC.
2380
6a846243
AM
23812019-01-28 Alan Modra <amodra@gmail.com>
2382
2383 PR 24008
2384 * ldexp.h (lang_phase_type): Add lang_fixed_phase_enum.
2385 * ldexp.c (fold_name): Move expld.assign_name check later to
2386 avoid an extra lookup.
2387 (exp_fold_tree_1): When lang_fixed_phase_enum, don't change symbol
2388 values, and don't clear expld.assign_name.
2389 * ldlang.c (lang_map): Set expld.phase to lang_fixed_phase_enum.
2390 (print_assignment): Resolve entire assignment expression.
2391 Don't access symbol u.def unless symbol is defined.
2392
9ed1348c
NC
23932019-01-25 Nick Clifton <nickc@redhat.com>
2394
2395 * po/bg.po: Updated Bulgarian translation.
2396
6406a270
SH
23972019-01-23 Sebastian Huber <sebastian.huber@embedded-brains.de>
2398
2399 * ld.texi (--wrap): Add warning that LTO may make this feature
2400 ineffective.
2401
375cd423
NC
24022019-01-21 Nick Clifton <nickc@redhat.com>
2403
2404 * po/uk.po: Updated Ukranian translation.
a6c9b404 2405 * po/pr_BR.po: Updated Brazilian Portuguese translation.
375cd423 2406
acef8081
YC
24072019-01-21 Nick Clifton <nickc@redhat.com>
2408
2409 PR 24108
2410 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Update
2411 expected error message.
2412
f48dfe41
NC
24132019-01-19 Nick Clifton <nickc@redhat.com>
2414
2415 * configure: Regenerate.
2416 * po/ld.pot: Regenerate.
2417
f974f26c
NC
24182018-06-24 Nick Clifton <nickc@redhat.com>
2419
2420 2.32 branch created.
2421
7d7a7d7c
JW
24222019-01-16 Kito Cheng <kito@andestech.com>
2423
2424 * testsuite/ld-elf/orphan-region.d: XFAIL for RISC-V, because add new
2425 section.
2426 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Add new tests.
2427 * testsuite/ld-riscv-elf/attr-merge-arch-01.d: New test.
2428 * testsuite/ld-riscv-elf/attr-merge-arch-01a.s: Likewise.
2429 * testsuite/ld-riscv-elf/attr-merge-arch-01b.s: Likewise.
2430 * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
2431 * testsuite/ld-riscv-elf/attr-merge-arch-02a.s: Likewise.
2432 * testsuite/ld-riscv-elf/attr-merge-arch-02b.s: Likewise.
2433 * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
2434 * testsuite/ld-riscv-elf/attr-merge-arch-03a.s: Likewise.
2435 * testsuite/ld-riscv-elf/attr-merge-arch-03b.s: Likewise.
2436 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Likewise.
2437 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01a.s: Likewise.
2438 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01b.s: Likewise.
2439 * testsuite/ld-riscv-elf/attr-merge-priv-spec-a.s: Likewise.
2440 * testsuite/ld-riscv-elf/attr-merge-priv-spec-b.s: Likewise.
2441 * testsuite/ld-riscv-elf/attr-merge-priv-spec.d: Likewise.
2442 * testsuite/ld-riscv-elf/attr-merge-stack-align-a.s: Likewise.
2443 * testsuite/ld-riscv-elf/attr-merge-stack-align-b.s: Likewise.
2444 * testsuite/ld-riscv-elf/attr-merge-stack-align-failed-a.s: Likewise.
2445 * testsuite/ld-riscv-elf/attr-merge-stack-align-failed-b.s: Likewise.
2446 * testsuite/ld-riscv-elf/attr-merge-stack-align-failed.d: Likewise.
2447 * testsuite/ld-riscv-elf/attr-merge-stack-align.d: Likewise.
2448 * testsuite/ld-riscv-elf/attr-merge-strict-align-01.d: Likewise.
2449 * testsuite/ld-riscv-elf/attr-merge-strict-align-01a.s: Likewise.
2450 * testsuite/ld-riscv-elf/attr-merge-strict-align-01b.s: Likewise.
2451 * testsuite/ld-riscv-elf/attr-merge-strict-align-02.d: Likewise.
2452 * testsuite/ld-riscv-elf/attr-merge-strict-align-02a.s: Likewise.
2453 * testsuite/ld-riscv-elf/attr-merge-strict-align-02b.s: Likewise.
2454 * testsuite/ld-riscv-elf/attr-merge-strict-align-03.d: Likewise.
2455 * testsuite/ld-riscv-elf/attr-merge-strict-align-03a.s: Likewise.
2456 * testsuite/ld-riscv-elf/attr-merge-strict-align-03b.s: Likewise.
2457 * testsuite/ld-riscv-elf/attr-merge-strict-align-04.d: Likewise.
2458 * testsuite/ld-riscv-elf/attr-merge-strict-align-04a.s: Likewise.
2459 * testsuite/ld-riscv-elf/attr-merge-strict-align-04b.s: Likewise.
2460 * testsuite/ld-riscv-elf/attr-merge-strict-align-05.d: Likewise.
2461 * testsuite/ld-riscv-elf/attr-merge-strict-align-05a.s: Likewise.
2462 * testsuite/ld-riscv-elf/attr-merge-strict-align-05b.s: Likewise.
2463
5a12586d
MT
24642019-01-14 Maamoun Tarsha <maamountk@hotmail.com>
2465
f466c305 2466 PR 20113
5a12586d
MT
2467 * emulparams/elf64_s390.sh (SEPARATE_GOTPLT): Define.
2468 * emulparams/elf_s390.sh (SEPARATE_GOTPLT): Define.
2469 * testsuite/ld-s390/gotreloc_31-1.dd: Update expected output.
2470 * testsuite/ld-s390/tlsbin.dd: Likewise.
2471 * testsuite/ld-s390/tlsbin.rd: Likewise.
2472 * testsuite/ld-s390/tlsbin.sd: Likewise.
2473 * testsuite/ld-s390/tlsbin_64.dd: Likewise.
2474 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
2475 * testsuite/ld-s390/tlsbin_64.sd: Likewise.
2476 * testsuite/ld-s390/tlspic.dd: Likewise.
2477 * testsuite/ld-s390/tlspic.rd: Likewise.
2478 * testsuite/ld-s390/tlspic.sd: Likewise.
2479 * testsuite/ld-s390/tlspic_64.dd: Likewise.
2480 * testsuite/ld-s390/tlspic_64.rd: Likewise.
2481 * testsuite/ld-s390/tlspic_64.sd: Likewise.
f466c305 2482 * testsuite/ld-s390/s390.exp: Skip s390 tests for tpf targets.
5a12586d 2483
4ea904ed
SH
24842019-01-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
2485
2486 * ld.texi (--wrap): Add example to emphasise that only undefined
2487 references are replaced by the linker.
2488
8379fac6
NC
24892019-01-09 Nick Clifton <nickc@redhat.com>
2490
2491 * po/es.po: Updated Spanish translation.
2492
3107326d
AP
24932019-01-09 Andrew Paprocki <andrew@ishiboo.com>
2494
2495 * configure: Regenerate.
2496
171b8e19
AM
24972019-01-08 Alan Modra <amodra@gmail.com>
2498
2499 * testsuite/ld-elf/sec64k.exp: Use . rather than $objdir in
2500 generated source file names.
2501 * testsuite/ld-m68k/m68k-got.exp: Likewise.
2502
82704155
AM
25032019-01-01 Alan Modra <amodra@gmail.com>
2504
2505 Update year range in copyright notice of all files.
2506
d5c04e1b 2507For older changes see ChangeLog-2018
3499769a 2508\f
d5c04e1b 2509Copyright (C) 2019 Free Software Foundation, Inc.
3499769a
AM
2510
2511Copying and distribution of this file, with or without modification,
2512are permitted in any medium without royalty provided the copyright
2513notice and this notice are preserved.
2514
2515Local Variables:
2516mode: change-log
2517left-margin: 8
2518fill-column: 74
2519version-control: never
2520End:
This page took 0.416934 seconds and 4 git commands to generate.