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