ia64 bfd.h tidy
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
3352ae99
AM
12019-09-23 Alan Modra <amodra@gmail.com>
2
3 * emultempl/ia64elf.em: Include elfxx-ia64.h.
4
d48d68b6
AM
52019-09-23 Alan Modra <amodra@gmail.com>
6
7 * emultempl/v850elf.em: Include elf32-v850.h.
8
6e67e6b0
AM
92019-09-23 Alan Modra <amodra@gmail.com>
10
11 * emultempl/cskyelf.em: Include elf32-csky.h.
12
a13ba308
AM
132019-09-22 Alan Modra <amodra@gmail.com>
14
15 * testsuite/ld-srec/sr3.cc (FOO_MSG_LEN): Set to 4.
16
9d1da81b
JW
172019-09-20 Nelson Chu <nelson.chu@sifive.com>
18
19 * testsuite/ld-riscv-elf/weakref32.s: Add relaxable undef weak code.
20 * testsuite/ld-riscv-elf/weakref64.s: Likewise.
21 * testsuite/ld-riscv-elf/weakref32.d: Updated.
22 * testsuite/ld-riscv-elf/weakref64.d: Updated.
23
a48931cc
AM
242019-09-20 Alan Modra <amodra@gmail.com>
25
26 * emultempl/xtensaelf.em (xtensa_get_section_deps): Comment.
27 Use bfd_section_userdata.
28 (xtensa_set_section_deps): Use bfd_set_section_userdata.
29 * ldlang.c (lang_output_section_get): Use bfd_section_userdata.
30 (sort_def_symbol): Likewise, and bfd_set_section_userdata.
31 (init_os): Use bfd_set_section_userdata.
32 (print_all_symbols): Use bfd_section_userdata.
33 * ldlang.h (get_userdata): Delete.
34
00f93c44
AM
352019-09-20 Alan Modra <amodra@gmail.com>
36
37 * ldelf.c (ldelf_after_open, ldelf_place_orphan
38 * ldlang.c (walk_wild_file, lang_process): Use bfd_usrdata.
39 (load_symbols, ldlang_add_file): Use bfd_set_usrdata.
40 * ldmain.c (add_archive_element): Use bfd_usrdata.
41 * ldlang.h (bfd_input_just_syms): New inline function.
42 * emultempl/aarch64elf.em (build_section_lists): Use it.
43 * emultempl/mmo.em (mmo_place_orphan): Likewise.
44 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
45 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
46 * emultempl/ppc64elf.em (build_section_lists): Likewise.
47
fd361982
AM
482019-09-18 Alan Modra <amodra@gmail.com>
49
50 * ldcref.c, * ldctor.c, * ldelf.c, * ldlang.c, * pe-dll.c,
51 * emultempl/aarch64elf.em, * emultempl/aix.em,
52 * emultempl/armcoff.em, * emultempl/armelf.em,
53 * emultempl/cr16elf.em, * emultempl/cskyelf.em,
54 * emultempl/m68hc1xelf.em, * emultempl/m68kelf.em,
55 * emultempl/mipself.em, * emultempl/mmix-elfnmmo.em,
56 * emultempl/mmo.em, * emultempl/msp430.em,
57 * emultempl/nios2elf.em, * emultempl/pe.em, * emultempl/pep.em,
58 * emultempl/ppc64elf.em, * emultempl/xtensaelf.em: Update
59 throughout for bfd section macro and function changes.
60
e6f7f6d1
AM
612019-09-18 Alan Modra <amodra@gmail.com>
62
63 * ldcref.c (check_reloc_refs): Update bfd_get_section to
64 bfd_asymbol_section.
65
e0b2a78c
SM
662019-09-18 Simon Marchi <simon.marchi@polymtl.ca>
67
68 * Makefile.in: Re-generate.
69 * configure: Re-generate.
70
1d38e9d1
AM
712019-09-18 Alan Modra <amodra@gmail.com>
72
73 * ldlang.c (stricpy, strcut, name_compare): Constify params.
74 (get_first_input_target): Make return and "target" const.
75
90d92a63
AM
762019-09-18 Alan Modra <amodra@gmail.com>
77
78 * emultempl/pe.em (after_open): Use bfd_set_filename.
79 * emultempl/pep.em (after_open): Use bfd_set_filename.
80
0aa0727c
AM
812019-09-16 Alan Modra <amodra@gmail.com>
82
83 PR 25002
84 * ldelf.c: Include safe-ctype.h.
85
bb695960
PB
862019-09-16 Phil Blundell <pb@pbcl.net>
87
88 * Makefile.in, configure: Regenerated.
89
1f1f5b92
AM
902019-09-13 Alan Modra <amodra@gmail.com>
91
92 * ldlang.c (new_afile): Remove add_to_list parameter.
93 (lang_add_input_file): Update new_afile calls.
94 (lookup_name): Splice input_statement added by new_afile into
95 statement_list after current input_file_chain entry.
96 (lang_process): Update comment.
97
0d41d9a2
AM
982019-09-12 Alan Modra <amodra@gmail.com>
99
100 * ldlang.c (print_input_statement): Do not exclude linker created
101 BFDs.
102
a19826f4
AM
1032019-09-12 Alan Modra <amodra@gmail.com>
104
105 PR 24981
106 * ldlang.c (lang_process): Remove assertion. Comment.
107
075a2b89
AM
1082019-09-11 Alan Modra <amodra@gmail.com>
109
110 * emultempl/elf32.em: Remove "misnamed" comment. Rename to..
111 * emultempl/elf.em: ..this.
112 * configure.ac (elf_list_options): Adjust TEMPLATE_NAME grep.
113 * emulparams/aarch64cloudabi.sh (TEMPLATE_NAME): Set to elf.
114 * emulparams/aarch64elf.sh: Likewise.
115 * emulparams/aarch64elf32.sh: Likewise.
116 * emulparams/aarch64fbsd.sh: Likewise.
117 * emulparams/aarch64linux.sh: Likewise.
118 * emulparams/aarch64linux32.sh: Likewise.
119 * emulparams/arcelf.sh: Likewise.
120 * emulparams/arcelf_prof.sh: Likewise.
121 * emulparams/arclinux.sh: Likewise.
122 * emulparams/arclinux_prof.sh: Likewise.
123 * emulparams/arcv2elf.sh: Likewise.
124 * emulparams/arcv2elfx.sh: Likewise.
125 * emulparams/armelf.sh: Likewise.
126 * emulparams/armelf_fuchsia.sh: Likewise.
127 * emulparams/armelf_linux.sh: Likewise.
128 * emulparams/armelf_phoenix.sh: Likewise.
129 * emulparams/armnto.sh: Likewise.
130 * emulparams/avr1.sh: Likewise.
131 * emulparams/avr2.sh: Likewise.
132 * emulparams/avr25.sh: Likewise.
133 * emulparams/avr3.sh: Likewise.
134 * emulparams/avr31.sh: Likewise.
135 * emulparams/avr35.sh: Likewise.
136 * emulparams/avr4.sh: Likewise.
137 * emulparams/avr5.sh: Likewise.
138 * emulparams/avr51.sh: Likewise.
139 * emulparams/avr6.sh: Likewise.
140 * emulparams/avrtiny.sh: Likewise.
141 * emulparams/avrxmega1.sh: Likewise.
142 * emulparams/avrxmega2.sh: Likewise.
143 * emulparams/avrxmega3.sh: Likewise.
144 * emulparams/avrxmega4.sh: Likewise.
145 * emulparams/avrxmega5.sh: Likewise.
146 * emulparams/avrxmega6.sh: Likewise.
147 * emulparams/avrxmega7.sh: Likewise.
148 * emulparams/criself.sh: Likewise.
149 * emulparams/crislinux.sh: Likewise.
150 * emulparams/cskyelf.sh: Likewise.
151 * emulparams/d10velf.sh: Likewise.
152 * emulparams/elf32_sparc.sh: Likewise.
153 * emulparams/elf32_spu.sh: Likewise.
154 * emulparams/elf32_tic6x_le.sh: Likewise.
155 * emulparams/elf32_x86_64.sh: Likewise.
156 * emulparams/elf32am33lin.sh: Likewise.
157 * emulparams/elf32bfin.sh: Likewise.
158 * emulparams/elf32bfinfd.sh: Likewise.
159 * emulparams/elf32bmip.sh: Likewise.
160 * emulparams/elf32bmipn32-defs.sh: Likewise.
161 * emulparams/elf32cr16.sh: Likewise.
162 * emulparams/elf32cr16c.sh: Likewise.
163 * emulparams/elf32crx.sh: Likewise.
164 * emulparams/elf32epiphany.sh: Likewise.
165 * emulparams/elf32epiphany_4x4.sh: Likewise.
166 * emulparams/elf32frvfd.sh: Likewise.
167 * emulparams/elf32ip2k.sh: Likewise.
168 * emulparams/elf32lm32.sh: Likewise.
169 * emulparams/elf32lm32fd.sh: Likewise.
170 * emulparams/elf32lriscv-defs.sh: Likewise.
171 * emulparams/elf32m32c.sh: Likewise.
172 * emulparams/elf32mb_linux.sh: Likewise.
173 * emulparams/elf32mbel_linux.sh: Likewise.
174 * emulparams/elf32mcore.sh: Likewise.
175 * emulparams/elf32mep.sh: Likewise.
176 * emulparams/elf32metag.sh: Likewise.
177 * emulparams/elf32microblaze.sh: Likewise.
178 * emulparams/elf32mipswindiss.sh: Likewise.
179 * emulparams/elf32or1k.sh: Likewise.
180 * emulparams/elf32ppccommon.sh: Likewise.
181 * emulparams/elf32rl78.sh: Likewise.
182 * emulparams/elf32rx.sh: Likewise.
183 * emulparams/elf32tilegx.sh: Likewise.
184 * emulparams/elf32tilepro.sh: Likewise.
185 * emulparams/elf32vax.sh: Likewise.
186 * emulparams/elf32visium.sh: Likewise.
187 * emulparams/elf32xc16x.sh: Likewise.
188 * emulparams/elf32xc16xl.sh: Likewise.
189 * emulparams/elf32xc16xs.sh: Likewise.
190 * emulparams/elf32xstormy16.sh: Likewise.
191 * emulparams/elf32xtensa.sh: Likewise.
192 * emulparams/elf64_aix.sh: Likewise.
193 * emulparams/elf64_ia64.sh: Likewise.
194 * emulparams/elf64_s390.sh: Likewise.
195 * emulparams/elf64_sparc.sh: Likewise.
196 * emulparams/elf64alpha.sh: Likewise.
197 * emulparams/elf64bpf.sh: Likewise.
198 * emulparams/elf64hppa.sh: Likewise.
199 * emulparams/elf64mmix.sh: Likewise.
200 * emulparams/elf64rdos.sh: Likewise.
201 * emulparams/elf64tilegx.sh: Likewise.
202 * emulparams/elf_i386.sh: Likewise.
203 * emulparams/elf_i386_be.sh: Likewise.
204 * emulparams/elf_i386_ldso.sh: Likewise.
205 * emulparams/elf_i386_vxworks.sh: Likewise.
206 * emulparams/elf_iamcu.sh: Likewise.
207 * emulparams/elf_k1om.sh: Likewise.
208 * emulparams/elf_l1om.sh: Likewise.
209 * emulparams/elf_s390.sh: Likewise.
210 * emulparams/elf_x86_64.sh: Likewise.
211 * emulparams/h8300elf.sh: Likewise.
212 * emulparams/h8300elf_linux.sh: Likewise.
213 * emulparams/hppa64linux.sh: Likewise.
214 * emulparams/hppaelf.sh: Likewise.
215 * emulparams/hppalinux.sh: Likewise.
216 * emulparams/i386lynx.sh: Likewise.
217 * emulparams/i386moss.sh: Likewise.
218 * emulparams/i386nto.sh: Likewise.
219 * emulparams/m32relf.sh: Likewise.
220 * emulparams/m32relf_linux.sh: Likewise.
221 * emulparams/m68hc11elf.sh: Likewise.
222 * emulparams/m68hc11elfb.sh: Likewise.
223 * emulparams/m68hc12elf.sh: Likewise.
224 * emulparams/m68hc12elfb.sh: Likewise.
225 * emulparams/m68kelf.sh: Likewise.
226 * emulparams/mn10300.sh: Likewise.
227 * emulparams/nds32elf.sh: Likewise.
228 * emulparams/nds32elf16m.sh: Likewise.
229 * emulparams/nds32elf_linux.sh: Likewise.
230 * emulparams/nios2elf.sh: Likewise.
231 * emulparams/nios2linux.sh: Likewise.
232 * emulparams/pruelf.sh: Likewise.
233 * emulparams/score3_elf.sh: Likewise.
234 * emulparams/shelf.sh: Likewise.
235 * emulparams/shelf_nto.sh: Likewise.
236 * emulparams/shelf_vxworks.sh: Likewise.
237 * emulparams/shlelf_linux.sh: Likewise.
238 * emulparams/shlelf_nto.sh: Likewise.
239 * emulparams/v850.sh: Likewise.
240 * emulparams/v850_rh850.sh: Likewise.
241 * ldelf.c: Update comment.
242 * ldelf.h: Likewise.
243 * emultempl/aarch64elf.em: Likewise.
244 * emultempl/alphaelf.em: Likewise.
245 * emultempl/arclinux.em: Likewise.
246 * emultempl/armelf.em: Likewise.
247 * emultempl/avrelf.em: Likewise.
248 * emultempl/bfin.em: Likewise.
249 * emultempl/cr16elf.em: Likewise.
250 * emultempl/crxelf.em: Likewise.
251 * emultempl/cskyelf.em: Likewise.
252 * emultempl/elf-generic.em: Likewise.
253 * emultempl/elf-x86.em: Likewise.
254 * emultempl/epiphanyelf_4x4.em: Likewise.
255 * emultempl/hppaelf.em: Likewise.
256 * emultempl/ia64elf.em: Likewise.
257 * emultempl/m68hc1xelf.em: Likewise.
258 * emultempl/m68kelf.em: Likewise.
259 * emultempl/metagelf.em: Likewise.
260 * emultempl/mmix-elfnmmo.em: Likewise.
261 * emultempl/mmixelf.em: Likewise.
262 * emultempl/mmo.em: Likewise.
263 * emultempl/needrelax.em: Likewise.
264 * emultempl/nios2elf.em: Likewise.
265 * emultempl/ppc32elf.em: Likewise.
266 * emultempl/ppc64elf.em: Likewise.
267 * emultempl/pruelf.em: Likewise.
268 * emultempl/rxelf.em: Likewise.
269 * emultempl/scoreelf.em: Likewise.
270 * emultempl/spuelf.em: Likewise.
271 * emultempl/tic6xdsbt.em: Likewise.
272 * emultempl/v850elf.em: Likewise.
273 * emultempl/vms.em: Likewise.
274 * emultempl/vxworks.em: Likewise.
275 * emultempl/xtensaelf.em: Likewise.
276 * scripttempl/arclinux.sc: Likewise.
277 * scripttempl/armbpabi.sc: Likewise.
278 * scripttempl/elf.sc: Likewise.
279 * scripttempl/elf64bpf.sc: Likewise.
280 * scripttempl/elf64hppa.sc: Likewise.
281 * scripttempl/elf_chaos.sc: Likewise.
282 * scripttempl/elfarc.sc: Likewise.
283 * scripttempl/elfarcv2.sc: Likewise.
284 * scripttempl/elfd10v.sc: Likewise.
285 * scripttempl/elfm68hc11.sc: Likewise.
286 * scripttempl/elfm68hc12.sc: Likewise.
287 * scripttempl/elfm9s12z.sc: Likewise.
288 * scripttempl/elfxgate.sc: Likewise.
289 * scripttempl/elfxtensa.sc: Likewise.
290 * scripttempl/epiphany_4x4.sc: Likewise.
291 * scripttempl/iq2000.sc: Likewise.
292 * scripttempl/mep.sc: Likewise.
293 * scripttempl/nds32elf.sc: Likewise.
294 * scripttempl/v850.sc: Likewise.
295 * scripttempl/v850_rh850.sc: Likewise.
296 * scripttempl/xstormy16.sc: Likewise.
297 * testsuite/ld-arm/arm-dyn.ld: Likewise.
298 * testsuite/ld-arm/arm-lib.ld: Likewise.
299 * testsuite/ld-arm/arm-no-rel-plt.ld: Likewise.
300 * testsuite/ld-arm/fdpic-main.ld: Likewise.
301 * testsuite/ld-arm/fdpic-shared.ld: Likewise.
302 * testsuite/ld-elf/elf.exp: Likewise.
303 * testsuite/ld-elf/orphan-region.d: Likewise.
304 * testsuite/ld-elf/orphan.d: Likewise.
305 * testsuite/ld-elf/pr349.d: Likewise.
306 * testsuite/ld-elf/warn2.d: Likewise.
307 * testsuite/ld-elfvsb/elf-offset.ld: Likewise.
308 * testsuite/ld-mips-elf/mips-dyn.ld: Likewise.
309 * testsuite/ld-mips-elf/mips-lib.ld: Likewise.
310 * testsuite/ld-scripts/dynamic-sections.t: Likewise.
311 * testsuite/ld-shared/elf-offset.ld: Likewise.
312 * configure: Regenerate.
313
d871d478
AM
3142019-09-11 Alan Modra <amodra@gmail.com>
315
316 * Makefile.am (ALL_EMUL_EXTRA_OFILES): Add ldelf and ldelfgen.
317 (CFILES, HFILES, EXTRA_ld_new_SOURCES): Likewise.
318 * configure.tgt: Formatting.
319 (targ_extra_ofiles): Init to ldelf.o ldelfgen.o, reset to just
320 ldelfgen.o for generic ELF targets, and empty for non-ELF.
321 * emultempl/aarch64elf.em (gldaarch64_layout_sections_again): Use
322 ldelf_map_segments.
323 (gld${EMULATION_NAME}_after_allocation): Likewise.
324 (real_func, aarch64_for_each_input_file_wrapper),
325 (aarch64_lang_for_each_input_file): Delete.
326 (lang_for_each_input_file): Don't define.
327 * emultempl/alphaelf.em (alpha_after_parse): Use ldelf_map_segments.
328 * emultempl/armelf.em (gldarm_layout_sections_again): Likewise.
329 (gld${EMULATION_NAME}_after_allocation): Likewise.
330 (real_func, arm_for_each_input_file_wrapper),
331 (arm_lang_for_each_input_file): Delete.
332 (lang_for_each_input_file): Don't define.
333 * emultempl/cr16elf.em (cr16elf_after_parse): Use ldelf_map_segments.
334 * emultempl/crxelf.em (crxelf_after_parse): Likewise. Delete
335 declaration.
336 * emultempl/cskyelf.em (gldcsky_layout_sections_again): Use
337 ldelf_map_segments.
338 (gld${EMULATION_NAME}_after_allocation): Likewise.
339 (real_func, csky_for_each_input_file_wrapper),
340 (csky_lang_for_each_input_file): Delete.
341 (lang_for_each_input_file): Don't define.
342 * emultempl/genelf.em: Include ldelfgen.h.
343 (gld${EMULATION_NAME}_before_allocation): Use ldelf_map_segments.
344 * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
345 (hppaelf_layout_sections_again): Likewise.
346 (gld${EMULATION_NAME}_after_allocation): Likewise.
347 (real_func, hppa_for_each_input_file_wrapper),
348 (hppa_lang_for_each_input_file): Delete.
349 (lang_for_each_input_file): Don't define.
350 * emultempl/ia64elf.em (ia64elf_after_parse): Use ldelf_map_segments.
351 * emultempl/m68hc1xelf.em (real_func),
352 (m68hc11_for_each_input_file_wrapper),
353 (m68hc11_lang_for_each_input_file): Delete.
354 (lang_for_each_input_file): Don't define.
355 * emultempl/metagelf.em (metagelf_layout_sections_again): Use
356 ldelf_map_segments.
357 (gld${EMULATION_NAME}_after_allocation): Likewise.
358 (real_func, metag_for_each_input_file_wrapper),
359 (metag_lang_for_each_input_file): Delete.
360 (lang_for_each_input_file): Don't define.
361 * emultempl/mipself.em (real_func),
362 (mips_for_each_input_file_wrapper),
363 (mips_lang_for_each_input_file): Delete.
364 (lang_for_each_input_file): Don't define.
365 * emultempl/mmo.em: Don't include elf-bfd.h, do include ldelfgen.h.
366 (gld${EMULATION_NAME}_after_allocation): Use ldelf_map_segments.
367 * emultempl/nds32elf.em (nds32_elf_after_parse): Use ldelf_after_parse.
368 (nds32_elf_after_allocation): Comment fix.
369 * emultempl/nios2elf.em (nios2elf_layout_sections_again): Use
370 ldelf_map_segments.
371 (gld${EMULATION_NAME}_after_allocation): Likewise.
372 (real_func, nios2_for_each_input_file_wrapper),
373 (nios2_lang_for_each_input_file): Delete.
374 (lang_for_each_input_file): Don't define.
375 * emultempl/ppc32elf.em (gld${EMULATION_NAME}_load_symbols): Delete
376 declaration.
377 (ppc_recognized_file): Call ldelf_load_symbols.
378 * emultempl/ppc64elf.em (ppc_layout_sections_again): Likewise.
379 (gld${EMULATION_NAME}_after_allocation): Likewise.
380 (real_func, ppc_for_each_input_file_wrapper),
381 (ppc_lang_for_each_input_file): Delete.
382 (lang_for_each_input_file): Don't define.
383 (gld${EMULATION_NAME}_load_symbols): Don't declare.
384 (ppc64_recognized_file): Call ldelf_load_symbols.
385 * emultempl/riscvelf.em (gld${EMULATION_NAME}_after_allocation):
386 Use ldelf_map_segments.
387 * emultempl/spuelf.em (spu_place_special_section): Use
388 ldelf_place_orphan.
389 * emultempl/tic6xdsbt.em (gld${EMULATION_NAME}_after_allocation):
390 Use ldelf_map_segments.
391 * emultempl/vms.em: Include ldelfgen.h.
392 (gld${EMULATION_NAME}_after_allocation): Use ldelf_map_segments.
393 * emultempl/elf32.em: Remove unnecessary headers, include ldelf.h
394 and ldelfgen.h. Move much of file content to..
395 * ldelf.c: ..here. New file.
396 * ldelf.h: New file.
397 * emultempl/elf-generic.em: Move gld${EMULATION_NAME}_map_segments..
398 * ldelfgen.c: ..to here.
399 * ldelfgen.h: New file.
400 * ldlang.c (lang_for_each_input_file): Adjust to only call func
401 on real files.
402 (lang_for_each_file): Likewise.
403 * po/SRC-POTFILES.in: Regenerate.
404 * Makefile.in: Regenerate.
405
cb7f4b29
AM
4062019-09-11 Alan Modra <amodra@gmail.com>
407
408 * ldmisc.c: Don't #include elf-bfd.h or coff-bfd.h.
409 (vfinfo): Use bfd_group_name.
410
0410b450
AM
4112019-09-11 Alan Modra <amodra@gmail.com>
412
413 * plugin.c (asymbol_from_plugin_symbol): Move code handling
414 ELF common symbols to block handling ELF visibility. Simplify
415 visibility setting.
416
6715fe29
L
4172019-09-09 H.J. Lu <hongjiu.lu@intel.com>
418
419 PR binutils/24887
420 * testsuite/ld-i386/property-1.r: Adjust for new output format
421 from readelf.
422 * testsuite/ld-i386/property-1a.r: Likewise.
423 * testsuite/ld-i386/property-2.r: Likewise.
424 * testsuite/ld-i386/property-2a.r: Likewise.
425 * testsuite/ld-i386/property-3.r: Likewise.
426 * testsuite/ld-i386/property-3a.r: Likewise.
427 * testsuite/ld-i386/property-4.r: Likewise.
428 * testsuite/ld-i386/property-4a.r: Likewise.
429 * testsuite/ld-i386/property-5.r: Likewise.
430 * testsuite/ld-i386/property-5a.r: Likewise.
431 * testsuite/ld-i386/property-6.r: Likewise.
432 * testsuite/ld-i386/property-7.r: Likewise.
433 * testsuite/ld-i386/property-7a.r: Likewise.
434 * testsuite/ld-i386/property-1.r: Likewise.
435 * testsuite/ld-i386/property-1a.r: Likewise.
436 * testsuite/ld-i386/property-2.r: Likewise.
437 * testsuite/ld-i386/property-2a.r: Likewise.
438 * testsuite/ld-i386/property-3.r: Likewise.
439 * testsuite/ld-i386/property-3a.r: Likewise.
440 * testsuite/ld-i386/property-4.r: Likewise.
441 * testsuite/ld-i386/property-4a.r: Likewise.
442 * testsuite/ld-i386/property-5.r: Likewise.
443 * testsuite/ld-i386/property-5a.r: Likewise.
444 * testsuite/ld-i386/property-6.r: Likewise.
445 * testsuite/ld-i386/property-7.r: Likewise.
446 * testsuite/ld-i386/property-7a.r: Likewise.
447
60391a25
PB
4482019-09-09 Phil Blundell <pb@pbcl.net>
449
450 binutils 2.33 branch created.
451
f5c3a9e3
AM
4522019-09-06 Alan Modra <amodra@gmail.com>
453
454 * emultempl/beos.em (sort_by_file_name): Use appropriate
455 intermediary variables.
456 (sort_by_section_name): Likewise.
457
b16c44de
AM
4582019-09-06 Alan Modra <amodra@gmail.com>
459
460 * emultempl/elf32.em (gld${EMULATION_NAME}_search_needed): Constify
461 variable.
462 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Likewise.
463 * emultempl/pep.em (gld_${EMULATION_NAME}_after_open): Likewise.
464
de07a745
EB
4652019-09-05 Eric Botcazou <ebotcazou@adacore.com>
466
467 PR ld/24574
468 * pe-dll.c (pe_find_data_imports): Replace again the original name of
469 the undefined symbol with the __imp_ prefixed one after it is resolved.
470
77486630
AM
4712019-09-05 Alan Modra <amodra@gmail.com>
472
473 * testsuite/ld-powerpc/pcrelopt.s,
474 * testsuite/ld-powerpc/pcrelopt.d: Test offset and prefix in
475 second instruction.
476
a78fca7b
AM
4772019-08-29 Alan Modra <amodra@gmail.com>
478
479 PR ld/24406
480 * plugin.c (get_symbols): Test link_info.wrap_hash before calling
481 unwrap_hash_lookup.
482
652afeef
TC
4832019-08-22 Tamar Christina <tamar.christina@arm.com>
484
485 PR ld/24601
486 * testsuite/ld-aarch64/aarch64-elf.exp (undef-tls, weak-tls): New.
487 * testsuite/ld-aarch64/undef-tls.d: New test.
488 * testsuite/ld-aarch64/undef-tls.s: New test.
489 * testsuite/ld-aarch64/weak-tls.d: New test.
490 * testsuite/ld-aarch64/weak-tls.s: New test.
491
b4e87f2c
TC
4922019-08-20 Tamar Christina <tamar.christina@arm.com>
493
494 * testsuite/ld-arm/cortex-a8-fix-b-plt.d: Update Testcase.
495 * testsuite/ld-arm/cortex-a8-fix-b-rel-arm.d: Likewise.
496 * testsuite/ld-arm/cortex-a8-fix-bcc-plt.d: Likewise.
497 * testsuite/ld-arm/farcall-cond-thumb-arm.d: Likewise.
498 * testsuite/ld-arm/farcall-mixed-app.d: Likewise.
499 * testsuite/ld-arm/farcall-mixed-app2.d: Likewise.
500 * testsuite/ld-arm/farcall-mixed-lib-v4t.d: Likewise.
501 * testsuite/ld-arm/farcall-thumb-arm-pic-veneer.d: Likewise.
502 * testsuite/ld-arm/farcall-thumb-arm-short.d: Likewise.
503 * testsuite/ld-arm/farcall-thumb-arm.d: Likewise.
504 * testsuite/ld-arm/farcall-thumb-thumb-pic-veneer.d: Likewise.
505 * testsuite/ld-arm/farcall-thumb-thumb.d: Likewise.
506 * testsuite/ld-arm/fix-arm1176-on.d: Likewise.
507 * testsuite/ld-arm/ifunc-10.dd: Likewise.
508 * testsuite/ld-arm/ifunc-2.dd: Likewise.
509 * testsuite/ld-arm/ifunc-4.dd: Likewise.
510 * testsuite/ld-arm/ifunc-6.dd: Likewise.
511 * testsuite/ld-arm/ifunc-8.dd: Likewise.
512 * testsuite/ld-arm/jump-reloc-veneers-long.d: Likewise.
513 * testsuite/ld-arm/mixed-app.d: Likewise.
514 * testsuite/ld-arm/thumb2-b-interwork.d: Likewise.
515 * testsuite/ld-arm/tls-longplt.d: Likewise.
516 * testsuite/ld-arm/tls-thumb1.d: Likewise.
517
81e8046d
L
5182019-08-16 H.J. Lu <hongjiu.lu@intel.com>
519
520 PR ld/24905
521 * testsuite/ld-x86-64/pr24905-x32.d: New file.
522 * testsuite/ld-x86-64/pr24905.d: Likewise.
523 * testsuite/ld-x86-64/pr24905.s: Likewise.
524 * testsuite/ld-x86-64/pr24905.t: Likewise.
525 * testsuite/ld-x86-64/x86-64.exp: Run pr24905 and pr24905-x32.
526
fdfc8cf7
CL
5272019-08-16 Christophe Lyon <christophe.lyon@linaro.org>
528
529 * emulparams/armelf.sh (OTHER_SECTIONS): Add support for noinit
530 section.
531
7df6aecc
AM
5322019-08-16 Alan Modra <amodra@gmail.com>
533
534 * emultempl/ppc32elf.em (ppc_before_allocation): Force running
535 prelim_size_sections before deciding whether branch trampolines
536 might be needed.
537
080a4883
JW
5382019-08-15 Jim Wilson <jimw@sifive.com>
539
540 * testsuite/ld-riscv-elf/c-lui-2.d: New.
541 * testsuite/ld-riscv-elf/c-lui-2.ld: New.
542 * testsuite/ld-riscv-elf/c-lui-2.s: New.
543 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run the c-lui-2 test.
544
dc02848a
AM
5452019-08-10 Alan Modra <amodra@gmail.com>
546
547 * ldlang.h (enum statement_enum): Sort.
548 (union lang_statement_union): Sort.
549
4cfbdbfd
AM
5502019-08-10 Alan Modra <amodra@gmail.com>
551
552 * ldlang.h (lang_common_statement_type): Delete.
553 (lang_object_symbols_statement_type): Delete.
554 (union lang_statement_union): Remove common_statement and
555 object_symbols_statement.
556
988de25b
AM
5572019-08-10 Alan Modra <amodra@gmail.com>
558
559 * ldexp.c (exp_intop, exp_bigintop, exp_relop, exp_binop, exp_trinop),
560 (exp_unop, exp_nameop, exp_assop, exp_assert): Remove casts of
561 stat_alloc return value.
562 * ldlang.c (new_statement, new_afile, sort_def_symbol),
563 (lang_memory_region_lookup, lang_memory_region_alias),
564 (ldlang_add_undef, ldlang_add_require_defined, insert_pad),
565 (lang_add_gc_name, lang_new_phdr): Likewise.
566 * lexsup.c (set_segment_start): Likewise.
567
36983a93
AM
5682019-08-10 Alan Modra <amodra@gmail.com>
569
570 * ldlang.h (lang_input_statement_type): Make next
571 and next_real_file a lang_input_statement_type pointer.
572 (lang_statement_append): Delete prototype.
573 (LANG_FOR_EACH_INPUT_STATEMENT): Update for lang_input_statement_type
574 change.
575 * ldmain.c (add_archive_element): Likewise.
576 * ldlang.c: Likewise throughout.
577 (lang_statement_append): Make static. Make element and field
578 void pointers. Remove casts in calls.
579 (lang_check): Use a lang_input_statement_type pointer for "file".
580 (find_rescan_insertion): Similarly for "iter" and return value.
581 (lang_process): Similarly for "insert", "iter" and "temp".
582 * emultempl/spuelf.em (embedded_spu_file): Likewise.
583 * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Expand
584 lang_statment_append call.
585
f16a9783
MS
5862019-08-09 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
587
588 * emulparams/elf32bmip.sh: Add .MIPS.xhash section.
589 * emulparams/elf32bmipn32-defs.sh: Add .MIPS.xhash section.
590 * emulparams/elf64bmip-defs.sh: Add .MIPS.xhash section.
591 * emultempl/mipself.em: Remove mips_after_parse function.
592 * testsuite/ld-elf/hash.d: Update comment.
593 * testsuite/ld-mips-elf/hash1.d: New test.
594 * testsuite/ld-mips-elf/hash1.s: Ditto.
595 * testsuite/ld-mips-elf/hash1a.d: Remove.
596 * testsuite/ld-mips-elf/hash1b.d: Ditto.
597 * testsuite/ld-mips-elf/hash1c.d: Ditto
598 * testsuite/ld-mips-elf/hash2.d: New test.
599 * testsuite/ld-mips-elf/mips-elf.exp: New tests.
600 * testsuite/ld-mips-elf/start.s: New test.
601
dbe15e4e
NC
6022019-08-08 Nick Clifton <nickc@redhat.com>
603
604 PR 24887
605 * testsuite/ld-aarch64/bti-plt-2.d: Adjust for new output format
606 from readelf.
607 * testsuite/ld-aarch64/bti-plt-4.d: Likewise.
608 * testsuite/ld-aarch64/bti-plt-6.d: Likewise.
609 * testsuite/ld-aarch64/bti-plt-7.d: Likewise.
610 * testsuite/ld-aarch64/bti-warn.d: Likewise.
611 * testsuite/ld-aarch64/property-bti-pac1.d: Likewise.
612 * testsuite/ld-aarch64/property-bti-pac2.d: Likewise.
613 * testsuite/ld-aarch64/property-bti-pac3.d: Likewise.
614 * testsuite/ld-elf/x86-feature-1a.rd: Likewise.
615 * testsuite/ld-elf/x86-feature-1b.rd: Likewise.
616 * testsuite/ld-elf/x86-feature-1c.rd: Likewise.
617 * testsuite/ld-elf/x86-feature-1d.rd: Likewise.
618 * testsuite/ld-elf/x86-feature-1e.rd: Likewise.
619 * testsuite/ld-i386/ibt-plt-2d.d: Likewise.
620 * testsuite/ld-i386/ibt-plt-3d.d: Likewise.
621 * testsuite/ld-i386/pr23372a.d: Likewise.
622 * testsuite/ld-i386/pr23372c.d: Likewise.
623 * testsuite/ld-i386/pr23486a.d: Likewise.
624 * testsuite/ld-i386/pr23486b.d: Likewise.
625 * testsuite/ld-i386/pr23486c.d: Likewise.
626 * testsuite/ld-i386/pr23486d.d: Likewise.
627 * testsuite/ld-i386/pr24322a.d: Likewise.
628 * testsuite/ld-i386/pr24322b.d: Likewise.
629 * testsuite/ld-i386/property-x86-3.d: Likewise.
630 * testsuite/ld-i386/property-x86-4a.d: Likewise.
631 * testsuite/ld-i386/property-x86-5.d: Likewise.
632 * testsuite/ld-i386/property-x86-cet1.d: Likewise.
633 * testsuite/ld-i386/property-x86-cet2a.d: Likewise.
634 * testsuite/ld-i386/property-x86-cet5a.d: Likewise.
635 * testsuite/ld-i386/property-x86-cet5b.d: Likewise.
636 * testsuite/ld-i386/property-x86-ibt1a.d: Likewise.
637 * testsuite/ld-i386/property-x86-ibt1b.d: Likewise.
638 * testsuite/ld-i386/property-x86-ibt2.d: Likewise.
639 * testsuite/ld-i386/property-x86-ibt3a.d: Likewise.
640 * testsuite/ld-i386/property-x86-ibt3b.d: Likewise.
641 * testsuite/ld-i386/property-x86-ibt4.d: Likewise.
642 * testsuite/ld-i386/property-x86-ibt5.d: Likewise.
643 * testsuite/ld-i386/property-x86-shstk1a.d: Likewise.
644 * testsuite/ld-i386/property-x86-shstk1b.d: Likewise.
645 * testsuite/ld-i386/property-x86-shstk2.d: Likewise.
646 * testsuite/ld-i386/property-x86-shstk3a.d: Likewise.
647 * testsuite/ld-i386/property-x86-shstk3b.d: Likewise.
648 * testsuite/ld-i386/property-x86-shstk4.d: Likewise.
649 * testsuite/ld-i386/property-x86-shstk5.d: Likewise.
650 * testsuite/ld-x86-64/ibt-plt-2d-x32.d: Likewise.
651 * testsuite/ld-x86-64/ibt-plt-2d.d: Likewise.
652 * testsuite/ld-x86-64/ibt-plt-3d-x32.d: Likewise.
653 * testsuite/ld-x86-64/ibt-plt-3d.d: Likewise.
654 * testsuite/ld-x86-64/pr23372a-x32.d: Likewise.
655 * testsuite/ld-x86-64/pr23372a.d: Likewise.
656 * testsuite/ld-x86-64/pr23372c-x32.d: Likewise.
657 * testsuite/ld-x86-64/pr23372c.d: Likewise.
658 * testsuite/ld-x86-64/pr23486a-x32.d: Likewise.
659 * testsuite/ld-x86-64/pr23486a.d: Likewise.
660 * testsuite/ld-x86-64/pr23486b-x32.d: Likewise.
661 * testsuite/ld-x86-64/pr23486b.d: Likewise.
662 * testsuite/ld-x86-64/pr23486c-x32.d: Likewise.
663 * testsuite/ld-x86-64/pr23486c.d: Likewise.
664 * testsuite/ld-x86-64/pr23486d-x32.d: Likewise.
665 * testsuite/ld-x86-64/pr23486d.d: Likewise.
666 * testsuite/ld-x86-64/pr24322a-x32.d: Likewise.
667 * testsuite/ld-x86-64/pr24322a.d: Likewise.
668 * testsuite/ld-x86-64/pr24322b-x32.d: Likewise.
669 * testsuite/ld-x86-64/pr24322b.d: Likewise.
670 * testsuite/ld-x86-64/pr24458a-x32.d: Likewise.
671 * testsuite/ld-x86-64/pr24458a.d: Likewise.
672 * testsuite/ld-x86-64/pr24458b-x32.d: Likewise.
673 * testsuite/ld-x86-64/pr24458b.d: Likewise.
674 * testsuite/ld-x86-64/pr24458c-x32.d: Likewise.
675 * testsuite/ld-x86-64/pr24458c.d: Likewise.
676 * testsuite/ld-x86-64/property-1.r: Likewise.
677 * testsuite/ld-x86-64/property-1a.r: Likewise.
678 * testsuite/ld-x86-64/property-2.r: Likewise.
679 * testsuite/ld-x86-64/property-2a.r: Likewise.
680 * testsuite/ld-x86-64/property-3.r: Likewise.
681 * testsuite/ld-x86-64/property-3a.r: Likewise.
682 * testsuite/ld-x86-64/property-4.r: Likewise.
683 * testsuite/ld-x86-64/property-4a.r: Likewise.
684 * testsuite/ld-x86-64/property-5.r: Likewise.
685 * testsuite/ld-x86-64/property-5a.r: Likewise.
686 * testsuite/ld-x86-64/property-6.r: Likewise.
687 * testsuite/ld-x86-64/property-7.r: Likewise.
688 * testsuite/ld-x86-64/property-7a.r: Likewise.
689 * testsuite/ld-x86-64/property-x86-3-x32.d: Likewise.
690 * testsuite/ld-x86-64/property-x86-3.d: Likewise.
691 * testsuite/ld-x86-64/property-x86-4a-x32.d: Likewise.
692 * testsuite/ld-x86-64/property-x86-4a.d: Likewise.
693 * testsuite/ld-x86-64/property-x86-5-x32.d: Likewise.
694 * testsuite/ld-x86-64/property-x86-5.d: Likewise.
695 * testsuite/ld-x86-64/property-x86-cet1-x32.d: Likewise.
696 * testsuite/ld-x86-64/property-x86-cet1.d: Likewise.
697 * testsuite/ld-x86-64/property-x86-cet2a-x32.d: Likewise.
698 * testsuite/ld-x86-64/property-x86-cet2a.d: Likewise.
699 * testsuite/ld-x86-64/property-x86-cet5a-x32.d: Likewise.
700 * testsuite/ld-x86-64/property-x86-cet5a.d: Likewise.
701 * testsuite/ld-x86-64/property-x86-cet5b-x32.d: Likewise.
702 * testsuite/ld-x86-64/property-x86-cet5b.d: Likewise.
703 * testsuite/ld-x86-64/property-x86-ibt1a-x32.d: Likewise.
704 * testsuite/ld-x86-64/property-x86-ibt1a.d: Likewise.
705 * testsuite/ld-x86-64/property-x86-ibt1b-x32.d: Likewise.
706 * testsuite/ld-x86-64/property-x86-ibt1b.d: Likewise.
707 * testsuite/ld-x86-64/property-x86-ibt2-x32.d: Likewise.
708 * testsuite/ld-x86-64/property-x86-ibt2.d: Likewise.
709 * testsuite/ld-x86-64/property-x86-ibt3a-x32.d: Likewise.
710 * testsuite/ld-x86-64/property-x86-ibt3a.d: Likewise.
711 * testsuite/ld-x86-64/property-x86-ibt3b-x32.d: Likewise.
712 * testsuite/ld-x86-64/property-x86-ibt3b.d: Likewise.
713 * testsuite/ld-x86-64/property-x86-ibt4-x32.d: Likewise.
714 * testsuite/ld-x86-64/property-x86-ibt4.d: Likewise.
715 * testsuite/ld-x86-64/property-x86-ibt5-x32.d: Likewise.
716 * testsuite/ld-x86-64/property-x86-ibt5.d: Likewise.
717 * testsuite/ld-x86-64/property-x86-shstk1a-x32.d: Likewise.
718 * testsuite/ld-x86-64/property-x86-shstk1a.d: Likewise.
719 * testsuite/ld-x86-64/property-x86-shstk1b-x32.d: Likewise.
720 * testsuite/ld-x86-64/property-x86-shstk1b.d: Likewise.
721 * testsuite/ld-x86-64/property-x86-shstk2-x32.d: Likewise.
722 * testsuite/ld-x86-64/property-x86-shstk2.d: Likewise.
723 * testsuite/ld-x86-64/property-x86-shstk3a-x32.d: Likewise.
724 * testsuite/ld-x86-64/property-x86-shstk3a.d: Likewise.
725 * testsuite/ld-x86-64/property-x86-shstk3b-x32.d: Likewise.
726 * testsuite/ld-x86-64/property-x86-shstk3b.d: Likewise.
727 * testsuite/ld-x86-64/property-x86-shstk4-x32.d: Likewise.
728 * testsuite/ld-x86-64/property-x86-shstk4.d: Likewise.
729 * testsuite/ld-x86-64/property-x86-shstk5-x32.d: Likewise.
730 * testsuite/ld-x86-64/property-x86-shstk5.d: Likewise.
731
fca8e23c
JM
7322019-08-07 Jose E. Marchesi <jose.marchesi@oracle.com>
733
734 * scripttempl/elf64bpf.sc: Adapted from elf.sc.
735 * emulparams/elf64bpf.sh (SCRIPT_NAME): Use elf64bpf.
736 (EMBEDDED): Define.
737 * testsuite/ld-bpf/call-1.d: Do not expect a warning regarding an
738 undefined entry symbol.
739 * testsuite/ld-bpf/jump-1.d: Likewise.
740 * testsuite/ld-undefined/undefined.exp: Do not pass '-e entry' to
741 ld in BPF targets, and do not expect line number information.
742 * testsuite/ld-srec/srec.exp (run_srec_test): xfail s-record tests
743 in BPF targets.
744
128bf1fe
AM
7452019-08-06 Alan Modra <amodra@gmail.com>
746
747 PR 24873
748 * ldlang.c (find_replacements_insert_point): Return "before" flag.
749 (find_next_input_statement): New function.
750 (lang_process): When placing recompiled LTO objects before a
751 claimed archive, place them immediately before in the statement
752 list.
753
b02c4f16
AM
7542019-08-06 Alan Modra <amodra@gmail.com>
755
756 PR 24873
757 * ldlang.c (plugin_undefs): New static var.
758 (open_input_bfds <lang_group_statement_enum>): Loop on
759 plugin_undefs and hitting plugin_insert point.
760 (lang_process <lto_plugin_active>): Set plugin_undefs.
761
1b611b2d
AM
7622019-08-02 Alan Modra <amodra@gmail.com>
763
764 * testsuite/ld-powerpc/tlsie.s: Correct medium model ELF sequence.
765
776ab89f
AM
7662019-08-01 Alan Modra <amodra@gmail.com>
767
768 PR 24806
769 * ldlang.c (process_insert_statements): Add start of list
770 parameter. Use rather than lang_os_list.head. Process insert
771 statements inside group statements with a recursive call.
772 (lang_process): Adjust process_insert_statements call.
773 * lexsup.c (parse_args): Warn when adding missing --end-group.
774
5c1e6d53
AM
7752019-08-01 Alan Modra <amodra@gmail.com>
776
777 * ldlang.h (lang_os_list): Rename from lang_output_section_statement.
778 * ldlang.c: Likewise throughout file.
779 * emultempl/alphaelf.em: Likewise.
780 * emultempl/elf32.em: Likewise.
781 * emultempl/mmo.em: Likewise.
782 * emultempl/pe.em: Likewise.
783 * emultempl/pep.em: Likewise.
784 * emultempl/ppc32elf.em: Likewise.
785 * emultempl/spuelf.em: Likewise.
786
6e99a238
AM
7872019-07-26 Alan Modra <amodra@gmail.com>
788
789 * testsuite/ld-plugin/lto-3r.d: Accept D for powerpc64 descriptors.
790 * testsuite/ld-plugin/lto-5r.d: Likewise.
791
8f79c107
L
7922019-07-24 H.J. Lu <hongjiu.lu@intel.com>
793
794 * testsuite/ld-plugin/lto-3r.d: Restored. Check foo instead
795 of __gnu_lto_v.*.
796 * testsuite/ld-plugin/lto-5r.d: Likewise.
797 * testsuite/ld-plugin/lto.exp: Run lto-3r and lto-5r tests.
798
ef551643
CZ
7992019-07-24 Claudiu Zissulescu <claziss@synopsys.com>
800
801 * ld-arc/relax-local-pic.d: New test.
802 * ld-arc/relax-local-pic.s: New file.
803
19889a58
L
8042019-07-22 Martin Liska <mliska@suse.cz>
805
806 * testsuite/ld-plugin/lto-3r.d: Remove.
807 * testsuite/ld-plugin/lto-5r.d: Remove.
808 * testsuite/ld-plugin/lto.exp: Do not run lto-3r and lto-5r
809 tests.
810
df3a023b
AM
8112019-07-23 Alan Modra <amodra@gmail.com>
812
813 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Condition
814 SHF_GNU_MBIND on osabi. Set output elf_gnu_osabi_mbind.
815
ec49711a
AM
8162019-07-23 Alan Modra <amodra@gmail.com>
817
818 * testsuite/ld-elf/size-1.d,
819 * testsuite/ld-elf/size-1.s,
820 * testsuite/ld-elf/size-1.t: New test.
821 * testsuite/ld-elf/size-2.d,
822 * testsuite/ld-elf/size-2.s,
823 * testsuite/ld-elf/size-2.t: New test.
824 * testsuite/ld-scripts/size-1.d,
825 * testsuite/ld-scripts/size-1.s,
826 * testsuite/ld-scripts/size-1.t,
827 * testsuite/ld-scripts/size-2.s,
828 * testsuite/ld-scripts/size-2.d,
829 * testsuite/ld-scripts/size-2.t,
830 * testsuite/ld-scripts/size.exp: Delete.
831
0c628bba
SP
8322019-07-22 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
833
834 * ld/testsuite/ld-arm/cmse_main_sec_debug.d: Modify regexps to
835 allow for output from a arm-none-linux-gnueabihf target.
836
9ab3a744
AM
8372019-07-20 Alan Modra <amodra@gmail.com>
838
839 PR 24827
840 * ldlex.l (comment): Check for 0 return from YY_INPUT, not EOF.
841
c213164a
AM
8422019-07-19 Alan Modra <amodra@gmail.com>
843
844 * testsuite/ld-powerpc/tlsgd.d,
845 * testsuite/ld-powerpc/tlsgd.s,
846 * testsuite/ld-powerpc/tlsie.d,
847 * testsuite/ld-powerpc/tlsie.s,
848 * testsuite/ld-powerpc/tlsld.d,
849 * testsuite/ld-powerpc/tlsld.s: New tests.
850 * testsuite/ld-powerpc/powerpc.exp: Run them.
851
7a708984
AM
8522019-07-19 Alan Modra <amodra@gmail.com>
853
854 * testsuite/ld-powerpc/tlsldopt.d: Rename from tlsld.d.
855 * testsuite/ld-powerpc/tlsldopt.s: Rename from tlsld.s.
856 * testsuite/ld-powerpc/tlsldopt32.d: Rename from tlsld32.d.
857 * testsuite/ld-powerpc/tlsldopt32.s: Rename from tlsld32.s.
858 * testsuite/ld-powerpc/powerpc.exp: Update.
859
88468fe0
AM
8602019-07-19 Alan Modra <amodra@gmail.com>
861
862 PR 24819
863 * testsuite/ld-elf/pr24819.d: xfail for genelf targets.
864
54d7dae5
L
8652019-07-18 H.J. Lu <hongjiu.lu@intel.com>
866
867 PR ld/24819
868 * emultempl/elf32.em (elf_orphan_compatible): Return FALSE for
869 member of output section group when doing a relocatable link.
870 * testsuite/ld-elf/pr24819.d: New file.
871 * testsuite/ld-elf/pr24819.s: Likewise.
872
f26a3287
AM
8732019-07-13 Alan Modra <amodra@gmail.com>
874
875 * testsuite/ld-powerpc/tlsso.r: Update.
876 * testsuite/ld-powerpc/tlsso32.g: Update.
877 * testsuite/ld-powerpc/tlsso32.r: Update.
878 * testsuite/ld-powerpc/tlstocso.r: Update.
879 * testsuite/ld-cris/tls-dso-dtpoffd2.d: Update.
880 * testsuite/ld-cris/tls-dso-dtpoffd4.d: Update.
881 * testsuite/ld-cris/tls-dso-tpoffgotcomm1.d: Update.
882 * testsuite/ld-cris/tls-gd-1.d: Update.
883 * testsuite/ld-cris/tls-gd-1h.d: Update.
884 * testsuite/ld-cris/tls-gd-2.d: Update.
885 * testsuite/ld-cris/tls-gd-2h.d: Update.
886 * testsuite/ld-cris/tls-ie-10.d: Update.
887 * testsuite/ld-cris/tls-ie-11.d: Update.
888 * testsuite/ld-cris/tls-ie-8.d: Update.
889 * testsuite/ld-cris/tls-ie-9.d: Update.
890 * testsuite/ld-cris/tls-js1.d: Update.
891 * testsuite/ld-cris/tls-ld-4.d: Update.
892 * testsuite/ld-cris/tls-ld-5.d: Update.
893 * testsuite/ld-cris/tls-ld-6.d: Update.
894 * testsuite/ld-cris/tls-ld-7.d: Update.
895 * testsuite/ld-cris/tls-ldgd-14.d: Update.
896 * testsuite/ld-cris/tls-ldgd-15.d: Update.
897 * testsuite/ld-cris/tls-ldgdx-14.d: Update.
898 * testsuite/ld-cris/tls-ldgdx-15.d: Update.
899 * testsuite/ld-cris/tls-local-54.d: Update.
900 * testsuite/ld-cris/tls-local-60.d: Update.
901 * testsuite/ld-cris/tls-local-61.d: Update.
902 * testsuite/ld-cris/tls-local-63.d: Update.
903 * testsuite/ld-cris/tls-local-64.d: Update.
904 * testsuite/ld-cris/tls-ok-30.d: Update.
905 * testsuite/ld-cris/tls-ok-32.d: Update.
906 * testsuite/ld-cris/tls-ok-34.d: Update.
907 * testsuite/ld-mips-elf/tls-multi-got-1.got: Update.
908 * testsuite/ld-mips-elf/tls-multi-got-1.r: Update.
909 * testsuite/ld-mips-elf/tlsdyn-pie-o32.d: Update.
910 * testsuite/ld-mips-elf/tlsdyn-pie-o32.got: Update.
911 * testsuite/ld-mips-elf/tlslib-o32-hidden.got: Update.
912 * testsuite/ld-mips-elf/tlslib-o32-ver.got: Update.
913 * testsuite/ld-mips-elf/tlslib-o32.got: Update.
914 * testsuite/ld-s390/tlspic.rd: Update.
915 * testsuite/ld-s390/tlspic_64.rd: Update.
916 * testsuite/ld-sparc/tlssunnopic32.rd: Update.
917 * testsuite/ld-sparc/tlssunnopic64.rd: Update.
918 * testsuite/ld-sparc/tlssunpic32.rd: Update.
919 * testsuite/ld-sparc/tlssunpic64.rd: Update.
920
7b243801
AM
9212019-07-13 Alan Modra <amodra@gmail.com>
922
923 PR 24786
924 * ldlang.h (enum section_type): Add first_overlay_section.
925 * ldlang.c (lang_add_section): Adjust switch statement.
926 (map_input_to_output_sections): Likewise.
927 (lang_size_sections_1): Always set last_os for first overlay section.
928 (lang_leave_overlay): Set sectype to first_overlay_section.
929
3836e1d1
AM
9302019-07-08 Alan Modra <amodra@gmail.com>
931
932 * testsuite/ld-powerpc/callstub-1.d: Pass -melf64ppc to ld.
933 * testsuite/ld-powerpc/callstub-2.d: Likewise.
934
f2d4ba38
JB
9352019-07-04 Jan Beulich <jbeulich@suse.com>
936
937 * testsuite/ld-elf/group9.s: Correct argument of .type.
938
125f83f6
NC
9392019-07-02 Nick Clifton <nickc@redhat.com>
940
941 PR 24753
942 * emultempl/aarch64elf.em (_aarch64_add_stub_section): Include the
943 LINKER_CREATED section flag when creating the stub section.
944
bb32413f
SP
9452019-07-02 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
946
947 * testsuite/ld-arm/arm-elf.exp: Add tests.
948 * testsuite/ld-arm/cmse_main.s: New test.
949 * testsuite/ld-arm/cmse_main_sec_debug.d: Likewise.
950 * testsuite/ld-arm/cmse_sec_debug.s: Likewise.
951
539300fb
NC
9522019-07-01 Nick Clifton <nickc@redhat.com>
953
954 PR 23839
955 * testsuite/ld-arm/unwind-4.d: Adjust for corrected calculation of
956 exidx relocs.
957
60d53d7f
AM
9582019-06-28 Alan Modra <amodra@gmail.com>
959
960 * testsuite/ld-powerpc/callstub-1.d,
961 * testsuite/ld-powerpc/callstub-1.s: New test.
962 * testsuite/ld-powerpc/callstub-2.d,
963 * testsuite/ld-powerpc/callstub-2.s: New test.
964 * testsuite/ld-powerpc/powerpc.exp: Run them.
965
8e5cb9a5
JB
9662019-06-25 Jan Beulich <jbeulich@suse.com>
967
968 * plugin.c (get_lto_kind, get_lto_resolution,
969 get_lto_visibility): Rename "index" to "idx".
970
f93ab3a0
L
9712019-06-24 H.J. Lu <hongjiu.lu@intel.com>
972
973 PR ld/24721
974 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/24721 tests.
975 * testsuite/ld-x86-64/pr24721-x32.d: New file.
976 * testsuite/ld-x86-64/pr24721.d: Likewise.
977 * testsuite/ld-x86-64/pr24721.map: Likewise.
978 * testsuite/ld-x86-64/pr24721a.s: Likewise.
979 * testsuite/ld-x86-64/pr24721b.s: Likewise.
980
bb22a418
AM
9812019-06-23 Alan Modra <amodra@gmail.com>
982
983 PR 24704
984 * testsuite/ld-powerpc/elfv2exe.d: Update.
985 * testsuite/ld-powerpc/elfv2so.d: Update.
986
e30d1fa1
SN
9872019-06-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
988
989 * testsuite/ld-aarch64/aarch64-elf.exp: Add emit-relocs-22 and -23.
990 * testsuite/ld-aarch64/emit-relocs-22.d: New test.
991 * testsuite/ld-aarch64/emit-relocs-22.s: New test.
992 * testsuite/ld-aarch64/emit-relocs-23.d: New test.
993 * testsuite/ld-aarch64/emit-relocs-23.s: New test.
994
3a3a077c
AM
9952019-06-14 Alan Modra <amodra@gmail.com>
996
997 * Makefile.in: Regenerate.
998 * configure: Regenerate.
999
e3fa7860
AM
10002019-06-14 Alan Modra <amodra@gmail.com>
1001
1002 PR 24662
1003 * testsuite/ld-alpha/tlsbin.rd: Update.
1004 * testsuite/ld-alpha/tlsbinr.rd: Update.
1005 * testsuite/ld-alpha/tlspic.rd: Update.
1006
c1b00498
MR
10072019-06-07 Maciej W. Rozycki <macro@wdc.com>
1008
1009 * ld.texi (Options): Also document `-rpath' option restrictions
1010 in the description of the option itself.
1011
237df8fe
SD
10122019-06-06 Sudakshina Das <sudi.das@arm.com>
1013
1014 * testsuite/ld-aarch64/aarch64-elf.exp: Add new tests.
1015 * testsuite/ld-aarch64/property-bti-pac4-a.d: New test.
1016 * testsuite/ld-aarch64/property-bti-pac4-b.d: New test.
1017 * testsuite/ld-aarch64/property-bti-pac4.s: New test.
1018
8bf6d176
SD
10192019-06-06 Sudakshina Das <sudi.das@arm.com>
1020
1021 * NEWS: Update options names.
1022 * emultempl/aarch64elf.em (OPTION_FORCE_BTI, OPTION_PAC_PLT): Remove.
1023 (PARSE_AND_LIST_LONGOPTS): Remove force-bti and pac-plt.
1024 (PARSE_AND_LIST_OPTIONS): Update to -z.
1025 (PARSE_AND_LIST_ARGS_CASE_Z_AARCH64): New.
1026 (PARSE_AND_LIST_ARGS_CASE_Z): Add PARSE_AND_LIST_ARGS_CASE_Z_AARCH64.
1027 (PARSE_AND_LIST_ARGS_CASES): Move cases for these options.
1028 * testsuite/ld-aarch64/bti-pac-plt-1.d: Update option.
1029 * testsuite/ld-aarch64/bti-pac-plt-2.d: Likewise.
1030 * testsuite/ld-aarch64/bti-plt-1.d: Likewise.
1031 * testsuite/ld-aarch64/bti-plt-2.d: Likewise.
1032 * testsuite/ld-aarch64/bti-plt-3.d: Likewise.
1033 * testsuite/ld-aarch64/bti-plt-4.d: Likewise.
1034 * testsuite/ld-aarch64/bti-plt-6.d: Likewise.
1035 * testsuite/ld-aarch64/bti-plt-7.d: Likewise.
1036 * testsuite/ld-aarch64/bti-warn.d: Likewise.
1037 * testsuite/ld-aarch64/pac-plt-1.d: Likewise.
1038 * testsuite/ld-aarch64/pac-plt-2.d: Likewise.
1039
ae9ac79e
NC
10402019-05-30 Nick Clifton <nickc@redhat.com>
1041
1042 PR 24627
1043 * testsuite/ld-elf/ver_def.vd: Update expected output.
1044
6ff185b8
AM
10452019-05-30 Alan Modra <amodra@gmail.com>
1046
1047 PR 24596
1048 * emulparams/m9s12zelf.sh (TEMPLATE_NAME): Set to generic.
1049 (EXTRA_EM_FILE): Define to genelf.
1050 * testsuite/lib/ld-lib.exp (uses_genelf): Add s12z.
1051
1336939d
AM
10522019-05-30 Alan Modra <amodra@gmail.com>
1053
1054 * testsuite/lib/ld-lib.exp (run_ld_link_tests): Support procedure
1055 calls in optional "xfail" args.
1056 (run_ld_link_exec_tests): Likewise.
1057 (is_generic): New.
1058 (uses_genelf): Rename from is_generic_elf. Delete bogus semicolons.
1059 * testsuite/ld-scripts/align.exp: Rename is_generic_elf call.
1060 * testsuite/ld-elf/elf.exp: Use is_generic and uses_genelf. Delete
1061 xfail_implib var.
1062 * testsuite/ld-elf/sec64k.exp: Use is_generic.
1063 * testsuite/ld-elf/shared.exp: Likewise.
1064 * testsuite/ld-discard/extern.d: Use is_generic in xfail.
1065 * testsuite/ld-discard/start.d: Likewise.
1066 * testsuite/ld-discard/static.d: Likewise.
1067 * testsuite/ld-elf/attributes.d: Likewise.
1068 * testsuite/ld-elf/group1.d: Likewise.
1069 * testsuite/ld-elf/group3b.d: Likewise.
1070 * testsuite/ld-elf/group8a.d: Likewise.
1071 * testsuite/ld-elf/group8b.d: Likewise.
1072 * testsuite/ld-elf/group9a.d: Likewise.
1073 * testsuite/ld-elf/group9b.d: Likewise.
1074 * testsuite/ld-elf/linkonce2.d: Likewise.
1075 * testsuite/ld-elf/merge2.d: Likewise.
1076 * testsuite/ld-elf/merge3.d: Likewise.
1077 * testsuite/ld-elf/pr12851.d: Likewise.
1078 * testsuite/ld-elf/pr12975.d: Likewise.
1079 * testsuite/ld-elf/pr13177.d: Likewise.
1080 * testsuite/ld-elf/pr13195.d: Likewise.
1081 * testsuite/ld-elf/pr17550c.d: Likewise.
1082 * testsuite/ld-elf/pr17550d.d: Likewise.
1083 * testsuite/ld-elf/pr17615.d: Likewise.
1084 * testsuite/ld-elf/pr21562a.d: Likewise.
1085 * testsuite/ld-elf/pr21562b.d: Likewise.
1086 * testsuite/ld-elf/pr21562c.d: Likewise.
1087 * testsuite/ld-elf/pr21562d.d: Likewise.
1088 * testsuite/ld-elf/pr21562i.d: Likewise.
1089 * testsuite/ld-elf/pr21562j.d: Likewise.
1090 * testsuite/ld-elf/pr21562k.d: Likewise.
1091 * testsuite/ld-elf/pr21562l.d: Likewise.
1092 * testsuite/ld-elf/pr21562m.d: Likewise.
1093 * testsuite/ld-elf/pr21562n.d: Likewise.
1094 * testsuite/ld-elf/pr22677.d: Likewise.
1095 * testsuite/ld-elf/pr22836-1a.d: Likewise.
1096 * testsuite/ld-elf/pr22836-1b.d: Likewise.
1097 * testsuite/ld-elf/warn3.d: Likewise.
1098 * testsuite/ld-elf/warn1.d: Likewise and xfail sparc solaris
1099 targets rather than notarget.
1100 * testsuite/ld-elf/compressed1d.d: Use uses_genelf in xfail.
1101 * testsuite/ld-elf/orphan-10.d: Likewise.
1102 * testsuite/ld-elf/orphan-9.d: Likewise.
1103 * testsuite/ld-elf/orphan-region.d: Likewise.
1104 * testsuite/ld-elf/orphan.d: Likewise.
1105 * testsuite/ld-elf/orphan3.d: Likewise.
1106 * testsuite/ld-elf/pr20528a.d: Likewise.
1107 * testsuite/ld-elf/pr20528b.d: Likewise.
1108 * testsuite/ld-elf/pr23658-1a.d: Likewise.
1109 * testsuite/ld-elf/pr23658-1b.d: Likewise.
1110 * testsuite/ld-elf/pr349.d: Likewise.
1111 * testsuite/ld-elf/warn2.d: Likewise and xfail sparc solaris
1112 targets rather than notarget.
1113 * testsuite/ld-elf/merge.d: Correct ms1-*-* to mt-*-*.
1114
1e129bbe
FS
11152019-05-28 Faraz Shahbazker <fshahbazker@wavecomp.com>
1116
1117 * testsuite/ld-mips-elf/undefweak-overflow.s: Remove test case
1118 for pcrel_hi/pcrel_lo.
1119 * testsuite/ld-mips-elf/undefweak-overflow.d: Update to match.
1120 * testsuite/ld-mips-elf/reloc-pcrel-r6.s: New test source.
1121 * testsuite/ld-mips-elf/reloc-pcrel-r6.d: New test linker script.
1122 * testsuite/ld-mips-elf/reloc-pcrel-r6.ld: New test.
1123 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
1124
eabf307f
AM
11252019-05-28 Alan Modra <amodra@gmail.com>
1126
1127 PR 24596
1128 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Check that
1129 the output is coff before accessing coff tdata.
1130 * emultempl/pep.em (gld_${EMULATION_NAME}_after_open): Likewise.
1131
65f381e7
SN
11322019-05-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
1133
1134 * testsuite/ld-aarch64/variant_pcs-now.d: Use --hash-style=sysv.
1135 * testsuite/ld-aarch64/variant_pcs-shared.d: Likewise.
1136
3d7d6a6f
AM
11372019-05-27 Alan Modra <amodra@gmail.com>
1138
1139 PR 24596
1140 * emultempl/genelf.em (gld${EMULATION_NAME}_after_open): Set
1141 BFS_KEEP on group signature symbol.
1142
823710d5
SN
11432019-04-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
1144
1145 * testsuite/ld-aarch64/aarch64-elf.exp: Add new tests.
1146 * testsuite/ld-aarch64/variant_pcs-1.s: New asm for tests.
1147 * testsuite/ld-aarch64/variant_pcs-2.s: New asm for tests.
1148 * testsuite/ld-aarch64/variant_pcs-now.d: New test.
1149 * testsuite/ld-aarch64/variant_pcs-r.d: New test.
1150 * testsuite/ld-aarch64/variant_pcs-shared.d: New test.
1151 * testsuite/ld-aarch64/variant_pcs.ld: New linker script for tests.
1152
405b5bd8
AM
11532019-05-24 Alan Modra <amodra@gmail.com>
1154
1155 * po/BLD-POTFILES.in: Regenerate.
1156
04bdff6a
AM
11572019-05-24 Alan Modra <amodra@gmail.com>
1158
1159 * testsuite/ld-powerpc/notoc2.d,
1160 * testsuite/ld-powerpc/notoc2.s: New test.
1161 * testsuite/ld-powerpc/powerpc.exp: Run it.
1162
4a421c53
AM
11632019-05-24 Alan Modra <amodra@gmail.com>
1164
1165 * testsuite/ld-powerpc/pcrelopt.s,
1166 * testsuite/ld-powerpc/pcrelopt.d,
1167 * testsuite/ld-powerpc/pcrelopt.sec: New test.
1168 * testsuite/ld-powerpc/powerpc.exp: Run it.
1169
8376927b
JM
11702019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com>
1171
1172 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64bpf.c.
1173 * Makefile.in (prefix): Regenerate.
1174 * configure.tgt (targ_extra_ofiles): Add case for bpf-*-* targets.
1175 * emulparams/elf64bpf.sh: New file.
1176 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Add
1177 bpf-*-* to the list of targets not supporting gc-sections.
1178 * testsuite/ld-bpf/bar.s: New file.
1179 * testsuite/ld-bpf/jump-1.d: Likewise.
1180 * testsuite/ld-bpf/foo.s: Likewise.
1181 * testsuite/ld-bpf/call-1.d: Likewise.
1182 * testsuite/ld-bpf/bpf.exp: Likewise.
1183 * testsuite/ld-bpf/baz.s: Likewise.
1184
82d7a6f4
AM
11852019-05-23 Alan Modra <amodra@gmail.com>
1186
1187 PR 24576
1188 * ldfile.c (enum script_open_style): New.
1189 (struct script_name_list): New.
1190 (ldfile_open_command_file_1): Take a script_open_style param
1191 rather than booleans. Adjust callers. Only fail when -T or
1192 default -T script is invoked twice.
1193 (ldfile_try_open_bfd): Revert last change.
1194
6ec6968b
NC
11952019-05-22 Julius Werner <jwerner@chromium.org>
1196 Nick Clifton <nickc@redhat.com>
1197
1198 PR 24576
1199 * ld/ldfile.c: (ldfile_open_command_file_1): Add new parameter -
1200 is_script. If true check that the file has not already been
1201 parsed as a linker script.
1202 (ldfile_open_script_file): New function.
1203 (ldfile_try_open_bfd): Use the new function in place of
1204 ldfile_open_command_line.
1205 * ldmain.c (main): Likewise.
1206 * lexsup.c (parse_args): Use the new function for opening linker
1207 scripts with the -T option.
1208 * ldfile.h (ldfile_open_script_file): Add prototype.
1209
b474a202
FS
12102019-05-21 Faraz Shahbazker <fshahbazker@wavecomp.com>
1211
1212 * testsuite/ld-mips-elf/pic-reloc-5.s: Add tests for
1213 %tprel_hi and %tprel_lo relocations.
1214 * testsuite/ld-mips-elf/pic-reloc-6.s: Likewise.
1215 * testsuite/ld-mips-elf/pic-reloc-5.d: Update accordingly.
1216 * testsuite/ld-mips-elf/pic-reloc-6.d: Likewise.
1217 * testsuite/ld-mips-elf/pic-reloc-tls.ld: New test linker
1218 script file.
1219
304f09d0
FS
12202019-05-21 Faraz Shahbazker <fshahbazker@wavecomp.com>
1221
1222 * testsuite/ld-mips-elf/pic-reloc-5.d: New test.
1223 * testsuite/ld-mips-elf/pic-reloc-6.d: New test.
1224 * testsuite/ld-mips-elf/pic-reloc-7.d: New test.
1225 * testsuite/ld-mips-elf/pic-reloc-5.s: New test source.
1226 * testsuite/ld-mips-elf/pic-reloc-6.s: New test source.
1227 * testsuite/ld-mips-elf/pic-reloc-7.s: New test source.
1228 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1229
3734320d
MF
12302019-05-21 Matthew Fortune <matthew.fortune@mips.com>
1231 Faraz Shahbazker <fshahbazker@wavecomp.com>
1232
1233 * emultempl/mipself.em (compact_branches): New static variable.
1234 (mips_create_output_section_statements): Call
1235 _bfd_mips_elf_compact_branches.
1236 (PARSE_AND_LIST_PROLOGUE): Add OPTION_COMPACT_BRANCHES and
1237 OPTION_NO_COMPACT_BRANCHES.
1238 (PARSE_AND_LIST_LONGOPTS): Add compact-branches,
1239 no-compact-branches.
1240 (PARSE_AND_LIST_OPTIONS): Add --compact-branches,
1241 --no-compact-branches.
1242 (PARSE_AND_LIST_ARGS_CASES): Handle the above.
1243 * ld.texinfo: Document --compact-branches, --no-compact-branches.
1244 * testsuite/ld-mips-elf/pic-and-nonpic-1-r6.dd: New test.
1245 * testsuite/ld-mips-elf/pic-and-nonpic-1-r6.nd: New test.
1246 * testsuite/ld-mips-elf/pic-and-nonpic-3a-r6.dd: New test.
1247 * testsuite/ld-mips-elf/pic-and-nonpic-3a-r6.gd: New test.
1248 * testsuite/ld-mips-elf/pic-and-nonpic-1a-r6.s: New test source.
1249 * testsuite/ld-mips-elf/pic-and-nonpic-3a-r6.s: New test source.
1250 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1251
e6f65e75
AV
12522019-05-21 Andre Vieira <andre.simoesdiasvieira@arm.com>
1253
1254 * testsuite/ld-arm/arm-elf.exp: Add tests
1255 * testsuite/ld-arm/bfs-0.s: New test.
1256 * testsuite/ld-arm/bfs-1.s: New test.
1257 * testsuite/ld-arm/branch-futures.d: New test.
1258
739b5c9c
TC
12592019-05-21 Tamar Christina <tamar.christina@arm.com>
1260
1261 PR ld/24373
1262 * emultempl/aarch64elf.em (PARSE_AND_LIST_LONGOPTS): Add optional args
1263 to flags.
1264 * NEWS: Add changes to flag.
1265 (PARSE_AND_LIST_OPTIONS): Update help descriptions.
1266 (PARSE_AND_LIST_ARGS_CASES): Add new options to parser.
1267 * testsuite/ld-aarch64/aarch64-elf.exp: Add new run_dump_tests.
1268 * testsuite/ld-aarch64/erratum843419-adr.d: New test.
1269 * testsuite/ld-aarch64/erratum843419-adrp.d: New test.
1270 * testsuite/ld-aarch64/erratum843419-far-adr.d: New test.
1271 * testsuite/ld-aarch64/erratum843419-far-full.d: New test.
1272 * testsuite/ld-aarch64/erratum843419-far.s: New test.
1273 * testsuite/ld-aarch64/erratum843419-full.d: New test.
1274 * testsuite/ld-aarch64/erratum843419-near.s: New test.
1275 * testsuite/ld-aarch64/erratum843419-no-args.d: New test.
1276
7622049e
SKS
12772019-05-21 Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com>
1278
1279 PR ld/24571
1280 * ld/testsuite/ld-avr/relax-insn-at-range-boundary.d: New test.
1281 * ld/testsuite/ld-avr/relax-insn-at-range-boundary.s: New test.
1282
338ba755
SKS
12832019-05-21 Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com>
1284
1285 PR ld/24564
1286 * testsuite/ld-avr/wraparound-range-boundary.d: New test.
1287 * testsuite/ld-avr/wraparound-range-boundary.s: New test.
1288
d8734380
FS
12892019-05-20 Faraz Shahbazker <fshahbazker@wavecomp.com>
1290
1291 PR 14798
1292 * testsuite/ld-mips-elf/reloc-6a.s: Specify .text section for
1293 global code symbols.
1294 * testsuite/ld-mips-elf/reloc-6b.s: Likewise.
1295
af4fa23f
AM
12962019-05-17 Alan Modra <amodra@gmail.com>
1297
1298 PR 24567
1299 * plugin.c (plugin_notice): Do not let a common symbol override
1300 a non-common definition in IR.
1301
dd318999
DD
13022019-05-09 Dimitar Dimitrov <dimitar@dinux.eu>
1303
1304 * scripttempl/pru.sc (__init_array_begin, __init_array_begin):
1305 Rename.
1306
46752c37
PS
13072019-05-08 Pekka Seppänen <pexu@sourceware.mail.kapsi.fi>
1308
1309 PR 24536
1310 * ldbuildid.c (generate_build_id): Cast return value from
1311 GetProcAddress in order to avoid a compile time warning.
1312
e1cbf07a
AM
13132019-05-06 Alan Modra <amodra@gmail.com>
1314
1315 * testsuite/ld-undefined/weak-undef.exp: Don't xfail pj.
1316
27cdfa03
AM
13172019-05-04 Alan Modra <amodra@gmail.com>
1318
1319 * testsuite/ld-scripts/fill.d: Don't xfail m32c
1320 * testsuite/ld-scripts/fill16.d: Likewise.
1321
a288c270
AM
13222019-05-04 Alan Modra <amodra@gmail.com>
1323
1324 PR 24511
1325 * testsuite/ld-elf/pr14156a.d: Allow for .init/.fini being a
1326 data section on hppa64.
1327 * testsuite/ld-elf/pr14156b.d: Likewise.
1328 * testsuite/ld-scripts/pr18963.t: Map standard sections to set
1329 output section flags.
1330 * testsuite/ld-scripts/sane1.t: Likewise.
1331 * testsuite/ld-elf/init-fini-arrays.s: Reference __init_array_start
1332 and __fini_array_start. Define __start et al.
1333 * testsuite/ld-elf/pr24511.d: New test.
1334
066f4018
AM
13352019-04-30 Alan Modra <amodra@gmail.com>
1336
1337 * testsuite/ld-powerpc/elfv2exe.d: Update.
1338 * testsuite/ld-powerpc/elfv2so.d: Update.
1339 * testsuite/ld-powerpc/tocopt.d: Update.
1340 * testsuite/ld-powerpc/tocopt.s: Update.
1341 * testsuite/ld-powerpc/tocopt5.d: Update.
1342 * testsuite/ld-powerpc/tocopt5.s: Update.
1343 * testsuite/ld-powerpc/tocopt7.d: Update.
1344 * testsuite/ld-powerpc/tocopt7.s: Update.
1345 * testsuite/ld-powerpc/tocopt8.d: Update.
1346 * testsuite/ld-powerpc/tocopt8.s: Update.
1347
06ddcada
AM
13482019-04-30 Alan Modra <amodra@gmail.com>
1349
1350 * ld.texi (How GNU properties are merged): Avoid pod2man error.
1351 Correct example.
1352
c54f1524
L
13532019-04-26 H.J. Lu <hongjiu.lu@intel.com>
1354
1355 PR ld/24486
1356 * testsuite/ld-plugin/lto.exp: Run PR ld/24486 tests.
1357 * testsuite/ld-plugin/pr24486a.c: New file.
1358 * testsuite/ld-plugin/pr24486b.c: Likewise.
1359 * testsuite/ld-plugin/pr24486c.c: Likewise.
1360
8e1920d6
NC
13612019-04-26 Nick Clifton <nickc@redhat.com>
1362
1363 * po/ru.po: Updated Russian translation.
1364
a094d01f
CY
13652019-04-26 Christopher Yeleighton <giecrilj@stegny.2a.pl>
1366
1367 * ld.texi: Properly hyphenate the word "specific".
1368
6fe014bc
L
13692019-04-25 H.J. Lu <hongjiu.lu@intel.com>
1370
1371 PR ld/24406
1372 * ld.texi: Remove LTO warning from --wrap.
1373 * plugin.c (get_symbols): Update resolution for wrapper and
1374 wrapped symbols.
1375 * testsuite/ld-plugin/lto.exp: Run ld/24406 tests.
1376 * testsuite/ld-plugin/pr24406-1.c: New file.
1377 * testsuite/ld-plugin/pr24406-2a.c: Likewise.
1378 * testsuite/ld-plugin/pr24406-2b.c: Likewise.
1379
68bb0359
SD
13802019-04-25 Sudakshina Das <sudi.das@arm.com>
1381
1382 * testsuite/ld-aarch64/bti-pac-plt-1.d: Update.
1383 * testsuite/ld-aarch64/bti-pac-plt-2.d: Update.
1384 * testsuite/ld-aarch64/bti-plt-1.d: Update.
1385 * testsuite/ld-aarch64/bti-plt-3.d: Update.
1386 * testsuite/ld-aarch64/bti-plt-5.d: Update.
1387 * testsuite/ld-aarch64/pac-plt-1.d: Update.
1388 * testsuite/ld-aarch64/pac-plt-2.d: Update.
1389
44ed8092
SL
13902019-04-24 Sandra Loosemore <sandra@codesourcery.com>
1391
1392 * testsuite/config/default.exp: Use [check_compiler_available]
1393 instead of [which $CC].
1394 * testsuite/ld-auto-import/auto-import.exp: Likewise.
1395 * testsuite/ld-cygwin/exe-export.exp: Likewise.
1396 * testsuite/ld-elf/audit.exp: Likewise.
1397 * testsuite/ld-elf/compress.exp: Likewise.
1398 * testsuite/ld-elf/dwarf.exp: Likewise.
1399 * testsuite/ld-elf/elf.exp: Likewise.
1400 * testsuite/ld-elf/indirect.exp: Likewise.
1401 * testsuite/ld-elf/linux-x86.exp: Likewise.
1402 * testsuite/ld-elf/shared.exp: Likewise.
1403 * testsuite/ld-elf/tls.exp: Likewise.
1404 * testsuite/ld-elf/wrap.exp: Likewise.
1405 * testsuite/ld-elfcomm/elfcomm.exp: Likewise.
1406 * testsuite/ld-elfvers/vers.exp: Likewise.
1407 * testsuite/ld-elfvsb/elfvsb.exp: Likewise.
1408 * testsuite/ld-elfweak/elfweak.exp: Likewise.
1409 * testsuite/ld-gc/gc.exp: Likewise.
1410 * testsuite/ld-i386/i386.exp: Likewise.
1411 * testsuite/ld-i386/no-plt.exp: Likewise.
1412 * testsuite/ld-i386/tls.exp: Likewise.
1413 * testsuite/ld-ifunc/ifunc.exp: Likewise.
1414 * testsuite/ld-mn10300/mn10300.exp: Likewise.
1415 * testsuite/ld-pe/pe-compile.exp: Likewise.
1416 * testsuite/ld-pe/pe-run.exp: Likewise.
1417 * testsuite/ld-pe/pe-run2.exp: Likewise.
1418 * testsuite/ld-pie/pie.exp: Likewise.
1419 * testsuite/ld-plugin/lto.exp: Likewise.
1420 * testsuite/ld-plugin/plugin.exp: Likewise.
1421 * testsuite/ld-scripts/crossref.exp: Likewise.
1422 * testsuite/ld-sh/sh.exp: Likewise.
1423 * testsuite/ld-shared/shared.exp: Likewise.
1424 * testsuite/ld-size/size.exp: Likewise.
1425 * testsuite/ld-srec/srec.exp: Likewise.
1426 * testsuite/ld-undefined/undefined.exp: Likewise.
1427 * testsuite/ld-unique/unique.exp: Likewise.
1428 * testsuite/ld-x86-64/mpx.exp: Likewise.
1429 * testsuite/ld-x86-64/no-plt.exp: Likewise.
1430 * testsuite/ld-x86-64/tls.exp: Likewise.
1431 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1432 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Call
1433 check_compiler_available before trying to use the compiler.
1434 (run_cc_link_tests): Likewise.
1435 (check_compiler_available): New. Use it instead of [which $CC].
1436
cc9519e7
AM
14372019-04-23 Alan Modra <amodra@gmail.com>
1438
1439 * Makefile.am (GENDEPDIR): New var, used..
1440 (GENSCRIPTS): ..here.
1441 * Makefile.in: Regenerate.
1442 * genscripts.sh: Test for $DEPDIR set before every use.
1443
6f38008b
MF
14442019-04-22 Matthew Fortune <matthew.fortune@mips.com>
1445
1446 * testsuite/ld-mips-elf/mips-elf-flags.exp: Fix expected ASEs
1447 for M5100.
1448
fce97736
AM
14492019-04-19 Alan Modra <amodra@gmail.com>
1450
1451 * testsuite/ld-gc/skip-map-discarded.s: Add section attributes.
1452 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Add
1453 s12z to list of targets not supporting --gc-sections.
1454
9a7f0679
L
14552019-04-17 H.J. Lu <hongjiu.lu@intel.com>
1456
1457 * testsuite/ld-i386/i386.exp: Run pr18801a and pr18801b instead
1458 of pr18801.
1459 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1460 * testsuite/ld-i386/pr18801.d: Removed.
1461 * testsuite/ld-x86-64/pr18801.d: Likewise.
1462 * testsuite/ld-i386/pr18801a.d: New file.
1463 * testsuite/ld-i386/pr18801b.d: Likewise.
1464 * testsuite/ld-x86-64/pr18801a.d: Likewise.
1465 * testsuite/ld-x86-64/pr18801b.d: Likewise.
1466 * testsuite/ld-x86-64/pie2.d: Suggest -fPIE instead of -fPIC.
1467 * testsuite/ld-x86-64/pie2.d: Likewise.
1468 * testsuite/ld-x86-64/pr19719.d: Likewise.
1469 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
1470 * testsuite/ld-x86-64/pr19969.d: Likewise.
1471 * testsuite/ld-x86-64/pr21997-1a.err: Likewise.
1472 * testsuite/ld-x86-64/pr21997-1b.err: Likewise.
1473 * testsuite/ld-x86-64/pr22001-1a.err: Likewise.
1474 * testsuite/ld-x86-64/pr22001-1b.err: Likewise.
1475 * testsuite/ld-x86-64/pr22791-1.err: Likewise.
1476
4e84a8f8
L
14772019-04-17 H.J. Lu <hongjiu.lu@intel.com>
1478
1479 PR ld/24458
1480 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/24458 tests.
1481 * testsuite/ld-x86-64/pr24458.s: New file.
1482 * testsuite/ld-x86-64/pr24458a-x32.d: Likewise.
1483 * testsuite/ld-x86-64/pr24458a.d: Likewise.
1484 * testsuite/ld-x86-64/pr24458b-x32.d: Likewise.
1485 * testsuite/ld-x86-64/pr24458b.d: Likewise.
1486 * testsuite/ld-x86-64/pr24458c-x32.d: Likewise.
1487 * testsuite/ld-x86-64/pr24458c.d: Likewise.
1488
e25de718
JL
14892019-04-17 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1490
1491 * config/tc-msp430.c (msp430_make_init_symbols): Define __crt0_init_bss
1492 symbol when .lower.bss or .either.bss sections exist.
1493 Define __crt0_movedata when .lower.data or .either.data sections exist.
1494 * testsuite/gas/msp430/either-data-bss-sym.d: New test.
1495 * testsuite/gas/msp430/low-data-bss-sym.d: New test.
1496 * testsuite/gas/msp430/either-data-bss-sym.s: New test source.
1497 * testsuite/gas/msp430/low-data-bss-sym.s: New test source.
1498 * testsuite/gas/msp430/msp430.exp: Run new tests.
1499 Enable large code model when running -mdata-region={upper,either}
1500 tests.
1501
a0fb9615
AM
15022019-04-16 Alan Modra <amodra@gmail.com>
1503
1504 * testsuite/ld-scripts/pr20302.d: Don't run for ns32k-*-*.
1505 * testsuite/ld-scripts/section-match-1.d: Likewise.
1506 * testsuite/ld-undefined/require-defined.exp: Likewise.
1507
86333705
FS
15082019-04-15 Faraz Shahbazker <fshahbazker@wavecomp.com>
1509
1510 * testsuite/ld-gc/gc.exp: Skip print-map-discarded test for non-ELF
1511 targets.
1512
f6b2b12d
AV
15132019-04-15 Sudakshina Das <sudi.das@arm.com>
1514
1515 * testsuite/ld-arm/bfcsel.s: New.
1516 * testsuite/ld-arm/bfcsel.d: New.
1517 * testsuite/ld-arm/arm-elf.exp: Add above test.
1518
65d1bc05
AV
15192019-04-15 Sudakshina Das <sudi.das@arm.com>
1520
1521 * testsuite/ld-arm/bfl.s: New.
1522 * testsuite/ld-arm/bfl.d: New.
1523 * testsuite/ld-arm/arm-elf.exp: Add above test.
1524
4389b29a
AV
15252019-04-15 Sudakshina Das <sudi.das@arm.com>
1526
1527 * testsuite/ld-arm/bf.s: New.
1528 * testsuite/ld-arm/bf.d: New.
1529 * testsuite/ld-arm/arm-elf.exp: Add above test.
1530
031254f2
AV
15312019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
1532
1533 * testsuite/ld-arm/attr-merge-13.attr: New test.
1534 * testsuite/ld-arm/attr-merge-13a.s: New test.
1535 * testsuite/ld-arm/attr-merge-13b.s: New test.
1536
c40e31a1
AM
15372019-04-13 Alan Modra <amodra@gmail.com>
1538
1539 * Makefile.am (GENSCRIPTS): Pass LIB_PATH as a parameter. Add
1540 DEPDIR parameter.
1541 (ELF_DEPS, ELF_GEN_DEPS, ELF_X86_DEPS): Delete.
1542 (ALL_EMULATION_SOURCES, ALL_64_EMULATION_SOURCES): Depend on
1543 $GEN_DEPENDS.
1544 (e*.c): Delete all dependencies, instead include dependencies
1545 from $DEPDIR/*.Pc.
1546 * Makefile.in: Regenerate.
1547 * configure.ac (source_sh): Define and use function.
1548 * configure: Regenerate.
1549 * emulparams/aarch64cloudabib.sh, * emulparams/aarch64elf32b.sh,
1550 * emulparams/aarch64elfb.sh, * emulparams/aarch64fbsdb.sh,
1551 * emulparams/aarch64linux32b.sh, * emulparams/aarch64linuxb.sh,
1552 * emulparams/arcelf.sh, * emulparams/arcelf_prof.sh,
1553 * emulparams/arclinux.sh, * emulparams/arclinux_nps.sh,
1554 * emulparams/arclinux_prof.sh, * emulparams/arcv2elf.sh,
1555 * emulparams/arcv2elfx.sh, * emulparams/armelf_fbsd.sh,
1556 * emulparams/armelf_linux_eabi.sh,
1557 * emulparams/armelf_linux_fdpiceabi.sh,
1558 * emulparams/armelf_nacl.sh, * emulparams/armelf_nbsd.sh,
1559 * emulparams/armelf_vxworks.sh, * emulparams/armelfb.sh,
1560 * emulparams/armelfb_fbsd.sh, * emulparams/armelfb_fuchsia.sh,
1561 * emulparams/armelfb_linux.sh, * emulparams/armelfb_linux_eabi.sh,
1562 * emulparams/armelfb_linux_fdpiceabi.sh,
1563 * emulparams/armelfb_nacl.sh, * emulparams/armelfb_nbsd.sh,
1564 * emulparams/armsymbian.sh, * emulparams/cskyelf_linux.sh,
1565 * emulparams/elf32_sparc_sol2.sh,
1566 * emulparams/elf32_sparc_vxworks.sh, * emulparams/elf32_tic6x_be.sh,
1567 * emulparams/elf32_tic6x_elf_be.sh,
1568 * emulparams/elf32_tic6x_elf_le.sh,
1569 * emulparams/elf32_tic6x_linux_be.sh,
1570 * emulparams/elf32_tic6x_linux_le.sh,
1571 * emulparams/elf32_x86_64.sh, * emulparams/elf32_x86_64_nacl.sh,
1572 * emulparams/elf32b4300.sh, * emulparams/elf32bfinfd.sh,
1573 * emulparams/elf32bmipn32.sh, * emulparams/elf32bsmip.sh,
1574 * emulparams/elf32btsmip.sh, * emulparams/elf32btsmip_fbsd.sh,
1575 * emulparams/elf32btsmipn32.sh, * emulparams/elf32btsmipn32_fbsd.sh,
1576 * emulparams/elf32ebmip.sh, * emulparams/elf32ebmipvxworks.sh,
1577 * emulparams/elf32elmip.sh, * emulparams/elf32elmipvxworks.sh,
1578 * emulparams/elf32frvfd.sh, * emulparams/elf32l4300.sh,
1579 * emulparams/elf32lm32fd.sh, * emulparams/elf32lmip.sh,
1580 * emulparams/elf32lppc.sh, * emulparams/elf32lppclinux.sh,
1581 * emulparams/elf32lppcnto.sh, * emulparams/elf32lppcsim.sh,
1582 * emulparams/elf32lr5900.sh, * emulparams/elf32lr5900n32.sh,
1583 * emulparams/elf32lriscv.sh, * emulparams/elf32lriscv_ilp32.sh,
1584 * emulparams/elf32lriscv_ilp32f.sh, * emulparams/elf32lsmip.sh,
1585 * emulparams/elf32ltsmip.sh, * emulparams/elf32ltsmip_fbsd.sh,
1586 * emulparams/elf32ltsmipn32.sh, * emulparams/elf32ltsmipn32_fbsd.sh,
1587 * emulparams/elf32microblazeel.sh, * emulparams/elf32or1k_linux.sh,
1588 * emulparams/elf32ppc.sh, * emulparams/elf32ppc_fbsd.sh,
1589 * emulparams/elf32ppccommon.sh, * emulparams/elf32ppclinux.sh,
1590 * emulparams/elf32ppcnto.sh, * emulparams/elf32ppcsim.sh,
1591 * emulparams/elf32ppcvxworks.sh, * emulparams/elf32ppcwindiss.sh,
1592 * emulparams/elf32tilegx_be.sh, * emulparams/elf64_ia64_fbsd.sh,
1593 * emulparams/elf64_sparc_fbsd.sh, * emulparams/elf64_sparc_sol2.sh,
1594 * emulparams/elf64alpha_fbsd.sh, * emulparams/elf64alpha_nbsd.sh,
1595 * emulparams/elf64bmip-defs.sh, * emulparams/elf64bmip.sh,
1596 * emulparams/elf64btsmip.sh, * emulparams/elf64btsmip_fbsd.sh,
1597 * emulparams/elf64lppc.sh, * emulparams/elf64lriscv-defs.sh,
1598 * emulparams/elf64lriscv.sh, * emulparams/elf64lriscv_lp64.sh,
1599 * emulparams/elf64lriscv_lp64f.sh, * emulparams/elf64ltsmip.sh,
1600 * emulparams/elf64ltsmip_fbsd.sh, * emulparams/elf64ppc.sh,
1601 * emulparams/elf64ppc_fbsd.sh, * emulparams/elf64rdos.sh,
1602 * emulparams/elf64tilegx_be.sh, * emulparams/elf_i386.sh,
1603 * emulparams/elf_i386_be.sh, * emulparams/elf_i386_fbsd.sh,
1604 * emulparams/elf_i386_ldso.sh, * emulparams/elf_i386_nacl.sh,
1605 * emulparams/elf_i386_sol2.sh, * emulparams/elf_i386_vxworks.sh,
1606 * emulparams/elf_iamcu.sh, * emulparams/elf_k1om.sh,
1607 * emulparams/elf_k1om_fbsd.sh, * emulparams/elf_l1om.sh,
1608 * emulparams/elf_l1om_fbsd.sh, * emulparams/elf_x86_64.sh,
1609 * emulparams/elf_x86_64_cloudabi.sh,
1610 * emulparams/elf_x86_64_fbsd.sh, * emulparams/elf_x86_64_nacl.sh,
1611 * emulparams/elf_x86_64_sol2.sh, * emulparams/h8300helf.sh,
1612 * emulparams/h8300helf_linux.sh, * emulparams/h8300hnelf.sh,
1613 * emulparams/h8300self.sh, * emulparams/h8300self_linux.sh,
1614 * emulparams/h8300snelf.sh, * emulparams/h8300sxelf.sh,
1615 * emulparams/h8300sxelf_linux.sh, * emulparams/h8300sxnelf.sh,
1616 * emulparams/hppanbsd.sh, * emulparams/hppaobsd.sh,
1617 * emulparams/m32rlelf.sh, * emulparams/m32rlelf_linux.sh,
1618 * emulparams/m68kelfnbsd.sh, * emulparams/mn10300.sh,
1619 * emulparams/msp430X.sh, * emulparams/nds32belf.sh,
1620 * emulparams/nds32belf16m.sh, * emulparams/nds32belf_linux.sh,
1621 * emulparams/pjlelf.sh, * emulparams/ppclynx.sh,
1622 * emulparams/score7_elf.sh, * emulparams/shelf_fd.sh,
1623 * emulparams/shelf_linux.sh, * emulparams/shelf_nbsd.sh,
1624 * emulparams/shelf_uclinux.sh, * emulparams/shelf_vxworks.sh,
1625 * emulparams/shl.sh, * emulparams/shlelf.sh,
1626 * emulparams/shlelf_fd.sh, * emulparams/shlelf_nbsd.sh,
1627 * emulparams/shlelf_vxworks.sh: Use source_sh.
1628 * genscripts.sh: Adjust for changed parameters. Emit dependencies
1629 for e*.c to .deps/*.Pc.
1630 (source_sh): New function, use it throughout to source scripts.
1631 * genscrba.sh (source_em): Use source_sh.
1632
50ff67e6
AM
16332019-04-13 Alan Modra <amodra@gmail.com>
1634
1635 * configure.ac (TDIRS): Build up tdirs in this variable and
1636 AC_SUBST, also using AM_SUBST_NOTMAKE.
1637 * configure: Regenerate.
1638 * Makefile.am (DISTCLEANFILES): Remove tdirs.
1639 * Makefile.in: Regenerate.
1640
3bbec4bd
NC
16412019-04-12 Nick Clifton <nickc@redhat.com>
1642
1643 PR 24450
1644 * ld.texi (Output Section Attributes): Add ALIGN_WITH_INPUT to
1645 example of section attributes.
1646
035801ce
FS
16472019-04-11 Faraz Shahbazker <fshahbazker@wavecomp.com>
1648
1649 * NEWS: Mention new option --no-print-map-discarded.
1650 * ld.h (ld_config_type) <print_map_discarded>: New field.
1651 * ldlang.c (lang_map): Conditionally output discarded sections
1652 in map files based on configuration option.
1653 * ldlex.h (option_values) <OPTION_PRINT_MAP_DISCARDED,
1654 OPTION_NO_PRINT_MAP_DISCARDED>: New.
1655 * ldmain.c (main): Enabled print_map_discarded by default.
1656 * lexsup.c (ld_options): Add new command-line options.
1657 (parse_args) <OPTION_NO_PRINT_MAP_DISCARDED,
1658 OPTION_PRINT_MAP_DISCARDED>: New cases.
1659 * ld.texi: Document new options.
1660 * testsuite/ld-gc/gc.exp: Add new test.
1661 * testsuite/ld-gc/skip-map-discarded.s: New file.
1662 * testsuite/ld-gc/skip-map-discarded.d: New file.
1663 * testsuite/ld-gc/skip-map-discarded.map: New file.
1664
233a0083
L
16652019-04-11 H.J. Lu <hongjiu.lu@intel.com>
1666
1667 * ld.texi: Document -z cet-report=[none|warning|error].
1668 * emulparams/cet.sh: Add -z cet-report=[none|warning|error].
1669 * testsuite/ld-i386/i386.exp: Run -z cet-report=[warning|error]
1670 tests.
1671 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1672 * testsuite/ld-i386/property-x86-cet1.d: New file.
1673 * testsuite/ld-i386/property-x86-cet2a.d: Likewise.
1674 * testsuite/ld-i386/property-x86-cet2b.d: Likewise.
1675 * testsuite/ld-i386/property-x86-cet3a.d: Likewise.
1676 * testsuite/ld-i386/property-x86-cet3b.d: Likewise.
1677 * testsuite/ld-i386/property-x86-cet4a.d: Likewise.
1678 * testsuite/ld-i386/property-x86-cet4b.d: Likewise.
1679 * testsuite/ld-i386/property-x86-cet5a.d: Likewise.
1680 * testsuite/ld-i386/property-x86-cet5b.d: Likewise.
1681 * testsuite/ld-i386/property-x86-cet6.d: Likewise.
1682 * testsuite/ld-x86-64/property-x86-cet.s: Likewise.
1683 * testsuite/ld-x86-64/property-x86-cet1-x32.d: Likewise.
1684 * testsuite/ld-x86-64/property-x86-cet1.d: Likewise.
1685 * testsuite/ld-x86-64/property-x86-cet2a-x32.d: Likewise.
1686 * testsuite/ld-x86-64/property-x86-cet2a.d: Likewise.
1687 * testsuite/ld-x86-64/property-x86-cet2b-x32.d: Likewise.
1688 * testsuite/ld-x86-64/property-x86-cet2b.d: Likewise.
1689 * testsuite/ld-x86-64/property-x86-cet3a-x32.d: Likewise.
1690 * testsuite/ld-x86-64/property-x86-cet3a.d: Likewise.
1691 * testsuite/ld-x86-64/property-x86-cet3b-x32.d: Likewise.
1692 * testsuite/ld-x86-64/property-x86-cet3b.d: Likewise.
1693 * testsuite/ld-x86-64/property-x86-cet4a-x32.d: Likewise.
1694 * testsuite/ld-x86-64/property-x86-cet4a.d: Likewise.
1695 * testsuite/ld-x86-64/property-x86-cet4b-x32.d: Likewise.
1696 * testsuite/ld-x86-64/property-x86-cet4b.d: Likewise.
1697 * testsuite/ld-x86-64/property-x86-cet5a-x32.d: Likewise.
1698 * testsuite/ld-x86-64/property-x86-cet5a.d: Likewise.
1699 * testsuite/ld-x86-64/property-x86-cet5b-x32.d: Likewise.
1700 * testsuite/ld-x86-64/property-x86-cet5b.d: Likewise.
1701 * testsuite/ld-x86-64/property-x86-cet6-x32.d: Likewise.
1702 * testsuite/ld-x86-64/property-x86-cet6.d: Likewise.
1703
b3d7a867
L
17042019-04-11 H.J. Lu <hongjiu.lu@intel.com>
1705
1706 * testsuite/config/default.exp (STATIC_PIE_LDFLAGS): New. Set
1707 to "-static-pie" if target compiler supports it.
1708 * testsuite/ld-elf/elf.exp: Run -static-pie tests if
1709 $STATIC_PIE_LDFLAGS isn't empty.
1710 * testsuite/ld-ifunc/ifunc.exp: Likewise.
1711
ce12121b
TC
17122019-04-11 Tamar Christina <tamar.christina@arm.com>
1713
1714 PR ld/24302
1715 * testsuite/ld-aarch64/aarch64-elf.exp: Add new test.
1716 * testsuite/ld-aarch64/tls-relax-gdesc-le-now.d: New test.
1717
795e3bb7
L
17182019-04-10 H.J. Lu <hongjiu.lu@intel.com>
1719
1720 * scripttempl/elf.sc (CREATE_PIC): New. Set for CREATE_SHLIB or
1721 CREATE_PIE.
1722 (__rel_iplt_start): Don't define for CREATE_PIC.
1723 (__rel_iplt_end): Likewise.
1724 (__rela_iplt_start): Likewise.
1725 (__rela_iplt_end): Likewise.
1726
e6aded7c
AM
17272019-04-10 Alan Modra <amodra@gmail.com>
1728
1729 * testsuite/ld-elf/shared.exp: Don't xfail PR ld/20995 for
1730 powerpc-nto.
1731
53b81c6d
AM
17322019-04-10 Alan Modra <amodra@gmail.com>
1733
1734 * emultempl/cskyelf.em (csk_elf_before_parse): New function,
1735 setting use_branch_stub false for linux.
1736 (csky_elf_create_output_section_statements): Do emit this
1737 function and all others in the file for linux, plus the branch
1738 option control. Disable branch stubs when non-ELF.
1739
c55b17b8
AM
17402019-04-10 Alan Modra <amodra@gmail.com>
1741
1742 * Makefile.am (eskyelf.c, eskyelf_linux.c): Depend on cskyelf.em.
1743 (ecskyelf_linux.c): Depend on cskyelf.sh.
1744 (eelf32microblazeel.c): Depend on elf32microblaze.sh.
1745 * Makefile.in: Regenerate.
1746 * emulparams/cskyelf.sh: Comment regarding cskelf_linux.sh.
1747 (PAGE_SIZE): Don't define.
1748 * emulparams/cskyelf_linux.sh: Source sckyelf.sh, leaving just
1749 the differing variable defs/undefs.
1750 * emulparams/elf32mcore.sh (PAGE_SIZE): Don't define.
1751 * emulparams/elf32microblaze.sh: Comment re. elf32microblazeel.sh.
1752 (OUTPUT_FORMAT): Use BIG_OUTPUT_FORMAT.
1753 (PAGE_SIZE): Don't define.
1754 * emulparams/elf32microblazeel.sh: Source elf32microblaze.sh,
1755 leaving just the differing OUTPUT_FORMAT.
1756
6feda627
AM
17572019-04-10 Alan Modra <amodra@gmail.com>
1758
1759 * po/BLD-POTFILES.in: Regenerate.
1760
c93c0e7f
L
17612019-04-08 H.J. Lu <hongjiu.lu@intel.com>
1762
1763 * testsuite/ld-elf/shared.exp: XFAIL PR ld/20995 tests for
1764 lynxos and nto targets.
1765
3ae61bb6
L
17662019-04-08 H.J. Lu <hongjiu.lu@intel.com>
1767
1768 * Makefile.am (ALL_EMULATION_SOURCES): Remove eelf_i386_chaos.c.
1769 (eelf_i386_chaos.c): Removed.
1770 * Makefile.in: Regenerated.
1771 * configure.tgt: Remove i[3-7]86-*-kaos*.
1772 * emulparams/elf_i386_chaos.sh: Removed.
1773
da9b5f7b
L
17742019-04-08 H.J. Lu <hongjiu.lu@intel.com>
1775
1776 * emulparams/elf_i386_be.sh (EXTRA_EM_FILE): New.
1777 * emulparams/i386moss.sh (EXTRA_EM_FILE): Likewise.
1778
d970ee2b
AM
17792019-04-08 Alan Modra <amodra@gmail.com>
1780
1781 * emulparams/elf64rdos.sh (EXTRA_EM_FILE): Define.
1782 * emulparams/i386lynx.sh (EXTRA_EM_FILE): Define.
1783 * emulparams/i386nto.sh (EXTRA_EM_FILE): Define.
1784
5b9c07b2
L
17852019-04-06 H.J. Lu <hongjiu.lu@intel.com>
1786
1787 * Makefile.am (ELF_X86_DEPS): Add $(srcdir)/emultempl/elf-x86.em.
1788 (eelf_i386_sol2.c): Also depend on
1789 $(srcdir)/emultempl/solaris2-x86.em.
1790 (eelf_x86_64_sol2.c): Likewise.
1791 * Makefile.in: Regenerated.
1792 * emulparams/call_nop.sh: Set x86-specific linker options via
1793 params.
1794 * emulparams/cet.sh: Likewise.
1795 * emulparams/reloc_overflow.sh: Likewise.
1796 * emulparams/elf32_x86_64.sh (EXTRA_EM_FILE): New. Set to
1797 "elf-x86".
1798 * emulparams/elf_i386.sh: Likewise.
1799 * emulparams/elf_i386_be.sh: Likewise.
1800 * emulparams/elf_i386_chaos.sh: Likewise.
1801 * emulparams/elf_i386_ldso.sh: Likewise.
1802 * emulparams/elf_i386_vxworks.sh: Likewise.
1803 * emulparams/elf_iamcu.sh: Likewise.
1804 * emulparams/elf_k1om.sh: Likewise.
1805 * emulparams/elf_l1om.sh: Likewise.
1806 * emulparams/elf_x86_64.sh: Likewise.
1807 * emulparams/elf_i386_sol2.sh (EXTRA_EM_FILE): Changed to
1808 "solaris2-x86".
1809 * emulparams/elf_x86_64_sol2.sh: Likewise.
1810 * emultempl/elf-x86.em: New file.
1811 * emultempl/solaris2-x86.em: Likewise.
1812 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
1813 set link_info.call_nop_byte.
1814
c2b1c275
AM
18152019-04-05 Alan Modra <amodra@gmail.com>
1816
1817 * testsuite/ld-powerpc/tlsexe32.d: Remove trailing spaces.
1818 * testsuite/ld-powerpc/tlsopt5.d: Likewise.
1819 * testsuite/ld-powerpc/tlsopt5_32.d: Likewise.
1820
1c6aafe8
AM
18212019-04-03 Alan Modra <amodra@gmail.com>
1822
1823 PR 24411
1824 ldlex.l (SYMBOLNAMECHAR1): Don't match '/'.
1825 (<EXPRESSION>"/DISCARD/"): New.
1826
092da96a
AM
18272019-04-03 Alan Modra <amodra@gmail.com>
1828
1829 * ldlex.l: Formatting.
1830 (CMDFILENAMECHAR, CMDFILENAMECHAR1): Delete.
1831 (FILENAMECHAR1, SYMBOLNAMECHAR1, FILENAMECHAR, WILDCHAR),
1832 (NOCFILENAMECHAR): Remove duplicate chars. Reorder.
1833 (SYMBOLCHARN): Likewise. Rename to SYMBOLNAMECHAR.
1834 (<INPUTLIST>"$SYSROOT"..): Delete rule.
1835
2487ef07
MF
18362019-03-29 Max Filippov <jcmvbkbc@gmail.com>
1837
1838 * testsuite/ld-xtensa/relax-undef-weak-pie-export-dynamic.d: New
1839 test definition.
1840 * testsuite/ld-xtensa/xtensa.exp
1841 (relax-undef-weak-pie-export-dynamic): Add new test.
1842
7ea79cb3 18432019-03-26 Martin Liska <mliska@suse.cz>
1844
1845 * plugin.c (get_symbols): Add lto_kind_str, lto_resolution_str,
1846 lto_visibility_str and use then to inform about plugin-symbols.
1847 * testsuite/ld-plugin/plugin-12.d: Adjust expected pattern.
1848
796d6298
TC
18492019-03-25 Tamar Christina <tamar.christina@arm.com>
1850
1851 * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Update disassembly.
1852 * testsuite/ld-arm/jump-reloc-veneers-long.d: Update disassembly.
1853
4e539114
SD
18542019-03-21 Sudakshina Das <sudi.das@arm.com>
1855
1856 * testsuite/ld-aarch64/aarch64-elf.exp: Add new test.
1857 * testsuite/ld-aarch64/bti-plt-1.s: Add .ifdef for PAC note section.
1858 * testsuite/ld-aarch64/bti-plt-6.d: Update warning.
1859 * testsuite/ld-aarch64/bti-plt-7.d: Likewise.
1860 * testsuite/ld-aarch64/bti-warn.d: New test.
1861
f84bd465
AM
18622019-03-21 Alan Modra <amodra@gmail.com>
1863
1864 * testsuite/ld-elf/fini2.s: Reduce alignment.
1865 * testsuite/ld-elf/fini3.s: Likewise.
1866 * testsuite/ld-elf/finin.s: Likewise.
1867 * testsuite/ld-elf/init2.s: Likewise.
1868 * testsuite/ld-elf/init3.s: Likewise.
1869 * testsuite/ld-elf/initn.s: Likewise.
1870 * testsuite/ld-elf/pr14156a.d: Don't xfail m68hc1*-* or xgate-*.
1871 * testsuite/ld-elf/pr14156b.d: Don't xfail xgate-*.
1872
2d3181c7
AM
18732019-03-21 Alan Modra <amodra@gmail.com>
1874
1875 * scripttempl/alpha.sc, * scripttempl/armbpabi.sc,
1876 * scripttempl/crisaout.sc, * scripttempl/elf32cr16.sc,
1877 * scripttempl/elf32crx.sc, * scripttempl/elf32xc16x.sc,
1878 * scripttempl/elf32xc16xl.sc, * scripttempl/elf32xc16xs.sc,
1879 * scripttempl/elf64hppa.sc, * scripttempl/elf_chaos.sc,
1880 * scripttempl/elfarc.sc, * scripttempl/elfarcv2.sc,
1881 * scripttempl/elfd30v.sc, * scripttempl/elfm68hc11.sc,
1882 * scripttempl/elfm68hc12.sc, * scripttempl/elfm9s12z.sc,
1883 * scripttempl/elfmicroblaze.sc, * scripttempl/elfxgate.sc,
1884 * scripttempl/elfxtensa.sc, * scripttempl/epiphany_4x4.sc,
1885 * scripttempl/ft32.sc, * scripttempl/i386beos.sc,
1886 * scripttempl/iq2000.sc, * scripttempl/mcorepe.sc,
1887 * scripttempl/mep.sc, * scripttempl/mips.sc, * scripttempl/moxie.sc,
1888 * scripttempl/pe.sc, * scripttempl/pep.sc, * scripttempl/ppcpe.sc,
1889 * scripttempl/tic4xcoff.sc, * scripttempl/tic80coff.sc,
1890 * scripttempl/v850.sc, * scripttempl/v850_rh850.sc,
1891 * scripttempl/visium.sc, * scripttempl/xstormy16.sc: Add KEEP and
1892 SORT_NONE to .init and .fini wildcards.
1893 * scripttempl/elf32xc16x.sc,
1894 * scripttempl/elf32xc16xl.sc,
1895 * scripttempl/elf32xc16xs.sc: Add .fini wildcard.
1896 * scripttempl/elf_chaos.sc: Add .init output section.
1897 * scripttempl/elfd30v.sc: Remove duplicate .init.
1898 * scripttempl/elfm68hc11.sc, * scripttempl/elfm68hc12.sc,
1899 * scripttempl/elfm9s12z.sc, * scripttempl/elfxgate.sc: Remove
1900 duplicate .init, and add .fini wildcard.
1901 * scripttempl/ppcpe.sc (INIT, FINI): Delete.
1902 * ldlang.c (update_wild_statements): Special case .init and
1903 .fini in the wildcard, not the output section.
1904
980a2e42
AM
19052019-03-21 Alan Modra <amodra@gmail.com>
1906
1907 * emulparams/elf32lm32fd.sh (DYNAMIC_LINK): Undef.
1908
3b6c1966
AM
19092019-03-21 Alan Modra <amodra@gmail.com>
1910
1911 * ldlang.c (lang_size_sections_1): Set SEC_KEEP on
1912 create_object_symbols_section.
1913 * testsuite/ld-elf/pr22319.d: Don't xfail dlx.
1914
28a66f07
AM
19152019-03-18 Alan Modra <amodra@gmail.com>
1916
1917 * testsuite/ld-elf/merge.d: Remove csky from xfails, add moxie.
1918 * testsuite/ld-elf/pr21884.d: Remove csky from xfails.
1919 * testsuite/ld-elf/shared.exp: Add csky to list not xfailing pr22374.
1920 * testsuite/ld-unique/pr21529.d: Remove csky from xfails
1921
1c82ed74
NC
19222019-03-15 Nick Clifton <nickc@redhat.com>
1923
1924 PR 24262
1925 * ld.texi (-plugin): Correct the path used to locate linker
1926 plugins.
1927
1dbade74
SD
19282019-03-13 Sudakshina Das <sudi.das@arm.com>
1929
1930 * NEWS: Document --pac-plt.
1931 * emultempl/aarch64elf.em (OPTION_PAC_PLT): New.
1932 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add pac-plt.
1933 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_PAC_PLT.
1934 * testsuite/ld-aarch64/aarch64-elf.exp: Add the following tests.
1935 * testsuite/ld-aarch64/bti-pac-plt-1.d: New test.
1936 * testsuite/ld-aarch64/bti-pac-plt-2.d: New test.
1937 * testsuite/ld-aarch64/pac-plt-1.d: New test.
1938 * testsuite/ld-aarch64/pac-plt-2.d: New test.
1939 * testsuite/ld-aarch64/bti-plt-1.s: Add .ifndef directive.
1940
37c18eed
SD
19412019-03-13 Sudakshina Das <sudi.das@arm.com>
1942 Szabolcs Nagy <szabolcs.nagy@arm.com>
1943
1944 * NEWS: Document --force-bti.
1945 * emultempl/aarch64elf.em (plt_type, bti_type, OPTION_FORCE_BTI): New.
1946 (PARSE_AND_LIST_SHORTOPTS, PARSE_AND_LIST_OPTIONS): Add force-bti.
1947 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_FORCE_BTI.
1948 * testsuite/ld-aarch64/aarch64-elf.exp: Add all the tests below.
1949 * testsuite/ld-aarch64/bti-plt-1.d: New test.
1950 * testsuite/ld-aarch64/bti-plt-1.s: New test.
1951 * testsuite/ld-aarch64/bti-plt-2.d: New test.
1952 * testsuite/ld-aarch64/bti-plt-3.d: New test.
1953 * testsuite/ld-aarch64/bti-plt-4.d: New test.
1954 * testsuite/ld-aarch64/bti-plt-5.d: New test.
1955 * testsuite/ld-aarch64/bti-plt-6.d: New test.
1956 * testsuite/ld-aarch64/bti-plt-7.d: New test.
1957 * testsuite/ld-aarch64/bti-plt-so.s: New test.
1958 * testsuite/ld-aarch64/bti-plt.ld: New test.
1959
cd702818
SD
19602019-03-13 Sudakshina Das <sudi.das@arm.com>
1961
1962 * NEWS: Document GNU_PROPERTY_AARCH64_FEATURE_1_BTI and
1963 GNU_PROPERTY_AARCH64_FEATURE_1_PAC.
1964 * testsuite/ld-aarch64/aarch64-elf.exp: Add run commands for new tests.
1965 * testsuite/ld-aarch64/property-bti-pac1.d: New test.
1966 * testsuite/ld-aarch64/property-bti-pac1.s: New test.
1967 * testsuite/ld-aarch64/property-bti-pac2.d: New test.
1968 * testsuite/ld-aarch64/property-bti-pac2.s: New test.
1969 * testsuite/ld-aarch64/property-bti-pac3.d: New test.
1970
44b27f95
L
19712019-03-13 H.J. Lu <hongjiu.lu@intel.com>
1972
1973 PR ld/24322
1974 * testsuite/ld-i386/i386.exp: Run PR ld/24322 tests.
1975 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1976 * testsuite/ld-i386/pr24322a.d: New file.
1977 * testsuite/ld-i386/pr24322b.d: Likewise.
1978 * testsuite/ld-x86-64/pr24322a-x32.d: Likewise.
1979 * testsuite/ld-x86-64/pr24322a.d: Likewise.
1980 * testsuite/ld-x86-64/pr24322b-x32.d: Likewise.
1981 * testsuite/ld-x86-64/pr24322b.d: Likewise.
1982 * testsuite/ld-x86-64/pr24322a.s: Likewise.
1983 * testsuite/ld-x86-64/pr24322b.s: Likewise.
1984 * testsuite/ld-x86-64/pr24322c.s: Likewise.
1985
912ebfa0
NB
19862019-03-06 Nick Bowler <nbowler@draconx.ca>
1987
1988 PR 24289
1989 * ldexp.c (fold_name): Allow lookups of the LENGTH and ORIGIN
1990 attributes during the first phase.
1991
24801b15
AK
19922019-03-01 Andreas Krebbel <krebbel@linux.ibm.com>
1993
1994 This reverts commit 5a12586d44fa8d5dfc74cbca4f2f36a273a16335.
1995 2019-01-14 Maamoun Tarsha <maamountk@hotmail.com>
1996
1997 PR 20113
1998 * emulparams/elf64_s390.sh (SEPARATE_GOTPLT): Define.
1999 * emulparams/elf_s390.sh (SEPARATE_GOTPLT): Define.
2000 * testsuite/ld-s390/gotreloc_31-1.dd: Update expected output.
2001 * testsuite/ld-s390/tlsbin.dd: Likewise.
2002 * testsuite/ld-s390/tlsbin.rd: Likewise.
2003 * testsuite/ld-s390/tlsbin.sd: Likewise.
2004 * testsuite/ld-s390/tlsbin_64.dd: Likewise.
2005 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
2006 * testsuite/ld-s390/tlsbin_64.sd: Likewise.
2007 * testsuite/ld-s390/tlspic.dd: Likewise.
2008 * testsuite/ld-s390/tlspic.rd: Likewise.
2009 * testsuite/ld-s390/tlspic.sd: Likewise.
2010 * testsuite/ld-s390/tlspic_64.dd: Likewise.
2011 * testsuite/ld-s390/tlspic_64.rd: Likewise.
2012 * testsuite/ld-s390/tlspic_64.sd: Likewise.
2013 * testsuite/ld-s390/s390.exp: Skip s390 tests for tpf targets.
2014
5cfe428c
L
20152019-02-27 H.J. Lu <hongjiu.lu@intel.com>
2016
2017 PR ld/24276
2018 * testsuite/ld-i386/i386.exp: Run PR ld/24276 test.
2019 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2020 * testsuite/ld-i386/pr24276.dso: New file.
2021 * testsuite/ld-i386/pr24276.warn: Likewise.
2022 * testsuite/ld-x86-64/pr24276.dso: Likewise.
2023 * testsuite/ld-x86-64/pr24276.warn: Likewise.
2024
eed62915
MF
20252019-02-20 Eric Tsai <erictsai@cadence.com>
2026
2027 * testsuite/ld-xtensa/call_overflow.d: New test definition.
2028 * testsuite/ld-xtensa/call_overflow1.s: New test source.
2029 * testsuite/ld-xtensa/call_overflow2.s: New test source.
2030 * testsuite/ld-xtensa/call_overflow3.s: New test source.
2031 * testsuite/ld-xtensa/xtensa.exp: Add call_overflow test.
2032
abc163a4
TS
20332019-02-14 Thomas Schwinge <thomas@codesourcery.com>
2034
2035 * testsuite/ld-elf/elf.exp: Remove Hurd XFAILs.
2036
e4865945
NC
20372019-02-12 Nick Clifton <nickc@redhat.com>
2038
2039 * po/fr.po: Updated French translation.
2040
a0e90a73
CZ
20412019-02-09 Vineet Gupta <vgupta@synopsys.com>
2042
2043 * emultempl/arclinux.em: Delete special INIT/FINI handling.
2044
5d3db3e2
NC
20452019-02-07 Nick Clifton <nickc@redhat.com>
2046
2047 PR 24175
2048 * ld.texi (Options): Add missing word to the description of the
2049 --start-group option.
2050
4249a53c
AM
20512019-02-06 Alan Modra <amodra@gmail.com>
2052
2053 PR ld/24008
2054 * testsuite/ld-scripts/pr24008.d: Pass with extra target
2055 defined symbols.
2056
83924b38
L
20572019-02-05 H.J. Lu <hongjiu.lu@intel.com>
2058
2059 PR ld/24151
2060 * testsuite/ld-x86-64/pr24151a-x32.d: New file.
2061 * testsuite/ld-x86-64/pr24151a.d: Likewise.
2062 * testsuite/ld-x86-64/pr24151a.s: Likewise.
2063 * testsuite/ld-x86-64/x86-64.exp: Run pr24151a and pr24151a-x32.
2064
4f4690cd
AM
20652019-01-31 Alan Modra <amodra@gmail.com>
2066
2067 * NEWS: Mention -t change.
2068 * ld.texi (--trace/-t): Expand documentation a little.
2069
ad0f979c
L
20702019-01-29 H.J. Lu <hongjiu.lu@intel.com>
2071
2072 PR ld/24008
2073 * testsuite/ld-scripts/defined.exp: Run pr24008.
2074 * testsuite/ld-scripts/pr24008.d: New file.
2075 * testsuite/ld-scripts/pr24008.map: Likewise.
2076 * testsuite/ld-scripts/pr24008.s: Likewise.
2077 * testsuite/ld-scripts/pr24008.t: Likewise.
2078
c49829c3
EB
20792019-01-29 Eric Botcazou <ebotcazou@adacore.com>
2080
2081 * testsuite/ld-ifunc/ifunc.exp: Skip pr23169 on SPARC.
2082
6a846243
AM
20832019-01-28 Alan Modra <amodra@gmail.com>
2084
2085 PR 24008
2086 * ldexp.h (lang_phase_type): Add lang_fixed_phase_enum.
2087 * ldexp.c (fold_name): Move expld.assign_name check later to
2088 avoid an extra lookup.
2089 (exp_fold_tree_1): When lang_fixed_phase_enum, don't change symbol
2090 values, and don't clear expld.assign_name.
2091 * ldlang.c (lang_map): Set expld.phase to lang_fixed_phase_enum.
2092 (print_assignment): Resolve entire assignment expression.
2093 Don't access symbol u.def unless symbol is defined.
2094
9ed1348c
NC
20952019-01-25 Nick Clifton <nickc@redhat.com>
2096
2097 * po/bg.po: Updated Bulgarian translation.
2098
6406a270
SH
20992019-01-23 Sebastian Huber <sebastian.huber@embedded-brains.de>
2100
2101 * ld.texi (--wrap): Add warning that LTO may make this feature
2102 ineffective.
2103
375cd423
NC
21042019-01-21 Nick Clifton <nickc@redhat.com>
2105
2106 * po/uk.po: Updated Ukranian translation.
a6c9b404 2107 * po/pr_BR.po: Updated Brazilian Portuguese translation.
375cd423 2108
acef8081
YC
21092019-01-21 Nick Clifton <nickc@redhat.com>
2110
2111 PR 24108
2112 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Update
2113 expected error message.
2114
f48dfe41
NC
21152019-01-19 Nick Clifton <nickc@redhat.com>
2116
2117 * configure: Regenerate.
2118 * po/ld.pot: Regenerate.
2119
f974f26c
NC
21202018-06-24 Nick Clifton <nickc@redhat.com>
2121
2122 2.32 branch created.
2123
7d7a7d7c
JW
21242019-01-16 Kito Cheng <kito@andestech.com>
2125
2126 * testsuite/ld-elf/orphan-region.d: XFAIL for RISC-V, because add new
2127 section.
2128 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Add new tests.
2129 * testsuite/ld-riscv-elf/attr-merge-arch-01.d: New test.
2130 * testsuite/ld-riscv-elf/attr-merge-arch-01a.s: Likewise.
2131 * testsuite/ld-riscv-elf/attr-merge-arch-01b.s: Likewise.
2132 * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
2133 * testsuite/ld-riscv-elf/attr-merge-arch-02a.s: Likewise.
2134 * testsuite/ld-riscv-elf/attr-merge-arch-02b.s: Likewise.
2135 * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
2136 * testsuite/ld-riscv-elf/attr-merge-arch-03a.s: Likewise.
2137 * testsuite/ld-riscv-elf/attr-merge-arch-03b.s: Likewise.
2138 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Likewise.
2139 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01a.s: Likewise.
2140 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01b.s: Likewise.
2141 * testsuite/ld-riscv-elf/attr-merge-priv-spec-a.s: Likewise.
2142 * testsuite/ld-riscv-elf/attr-merge-priv-spec-b.s: Likewise.
2143 * testsuite/ld-riscv-elf/attr-merge-priv-spec.d: Likewise.
2144 * testsuite/ld-riscv-elf/attr-merge-stack-align-a.s: Likewise.
2145 * testsuite/ld-riscv-elf/attr-merge-stack-align-b.s: Likewise.
2146 * testsuite/ld-riscv-elf/attr-merge-stack-align-failed-a.s: Likewise.
2147 * testsuite/ld-riscv-elf/attr-merge-stack-align-failed-b.s: Likewise.
2148 * testsuite/ld-riscv-elf/attr-merge-stack-align-failed.d: Likewise.
2149 * testsuite/ld-riscv-elf/attr-merge-stack-align.d: Likewise.
2150 * testsuite/ld-riscv-elf/attr-merge-strict-align-01.d: Likewise.
2151 * testsuite/ld-riscv-elf/attr-merge-strict-align-01a.s: Likewise.
2152 * testsuite/ld-riscv-elf/attr-merge-strict-align-01b.s: Likewise.
2153 * testsuite/ld-riscv-elf/attr-merge-strict-align-02.d: Likewise.
2154 * testsuite/ld-riscv-elf/attr-merge-strict-align-02a.s: Likewise.
2155 * testsuite/ld-riscv-elf/attr-merge-strict-align-02b.s: Likewise.
2156 * testsuite/ld-riscv-elf/attr-merge-strict-align-03.d: Likewise.
2157 * testsuite/ld-riscv-elf/attr-merge-strict-align-03a.s: Likewise.
2158 * testsuite/ld-riscv-elf/attr-merge-strict-align-03b.s: Likewise.
2159 * testsuite/ld-riscv-elf/attr-merge-strict-align-04.d: Likewise.
2160 * testsuite/ld-riscv-elf/attr-merge-strict-align-04a.s: Likewise.
2161 * testsuite/ld-riscv-elf/attr-merge-strict-align-04b.s: Likewise.
2162 * testsuite/ld-riscv-elf/attr-merge-strict-align-05.d: Likewise.
2163 * testsuite/ld-riscv-elf/attr-merge-strict-align-05a.s: Likewise.
2164 * testsuite/ld-riscv-elf/attr-merge-strict-align-05b.s: Likewise.
2165
5a12586d
MT
21662019-01-14 Maamoun Tarsha <maamountk@hotmail.com>
2167
f466c305 2168 PR 20113
5a12586d
MT
2169 * emulparams/elf64_s390.sh (SEPARATE_GOTPLT): Define.
2170 * emulparams/elf_s390.sh (SEPARATE_GOTPLT): Define.
2171 * testsuite/ld-s390/gotreloc_31-1.dd: Update expected output.
2172 * testsuite/ld-s390/tlsbin.dd: Likewise.
2173 * testsuite/ld-s390/tlsbin.rd: Likewise.
2174 * testsuite/ld-s390/tlsbin.sd: Likewise.
2175 * testsuite/ld-s390/tlsbin_64.dd: Likewise.
2176 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
2177 * testsuite/ld-s390/tlsbin_64.sd: Likewise.
2178 * testsuite/ld-s390/tlspic.dd: Likewise.
2179 * testsuite/ld-s390/tlspic.rd: Likewise.
2180 * testsuite/ld-s390/tlspic.sd: Likewise.
2181 * testsuite/ld-s390/tlspic_64.dd: Likewise.
2182 * testsuite/ld-s390/tlspic_64.rd: Likewise.
2183 * testsuite/ld-s390/tlspic_64.sd: Likewise.
f466c305 2184 * testsuite/ld-s390/s390.exp: Skip s390 tests for tpf targets.
5a12586d 2185
4ea904ed
SH
21862019-01-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
2187
2188 * ld.texi (--wrap): Add example to emphasise that only undefined
2189 references are replaced by the linker.
2190
8379fac6
NC
21912019-01-09 Nick Clifton <nickc@redhat.com>
2192
2193 * po/es.po: Updated Spanish translation.
2194
3107326d
AP
21952019-01-09 Andrew Paprocki <andrew@ishiboo.com>
2196
2197 * configure: Regenerate.
2198
171b8e19
AM
21992019-01-08 Alan Modra <amodra@gmail.com>
2200
2201 * testsuite/ld-elf/sec64k.exp: Use . rather than $objdir in
2202 generated source file names.
2203 * testsuite/ld-m68k/m68k-got.exp: Likewise.
2204
82704155
AM
22052019-01-01 Alan Modra <amodra@gmail.com>
2206
2207 Update year range in copyright notice of all files.
2208
d5c04e1b 2209For older changes see ChangeLog-2018
3499769a 2210\f
d5c04e1b 2211Copyright (C) 2019 Free Software Foundation, Inc.
3499769a
AM
2212
2213Copying and distribution of this file, with or without modification,
2214are permitted in any medium without royalty provided the copyright
2215notice and this notice are preserved.
2216
2217Local Variables:
2218mode: change-log
2219left-margin: 8
2220fill-column: 74
2221version-control: never
2222End:
This page took 0.456827 seconds and 4 git commands to generate.