1 2019-10-02 Alan Modra <amodra@gmail.com>
3 * ld.texi (-Bsymbolic, -Bsymbolic-functions): Don't mention PIEs.
4 * ld.h (symbolic_enum, dynamic_list_enum),
5 (args_type <symbolic, dynamic_list>): Move to..
6 * lexsup.c (parse_args): ..here, using auto vars opt_symbolic
7 and opt_dynamic_list rather than command_line fields. Only
8 act on -Bsymbolic and -Bsymbolic-functions for shared library
9 output. Free dynamic_list.
11 2019-09-26 Alan Modra <amodra@gmail.com>
14 * ld.texi (-plugin): Revert 2019-03-15 change.
16 2019-09-25 Alan Modra <amodra@gmail.com>
18 * ld.texi (SORT_BY_ALIGNMENT): Reword slightly.
19 (SORT_BY_INIT_PRIORITY): Elucidate.
20 * ldlang.c: Include limits.h.
21 (get_init_priority): Comment. Change param to a section,
22 return an int. Sanity check priority digits. Support sorting
23 more sections with trailing digits. Return -1 on error.
24 (compare_section): Adjust.
26 2019-09-25 Nick Clifton <nickc@redhat.com>
28 * emultempl/avrelf.em (_before_allocation): Silence build warning
31 2019-09-23 H.J. Lu <hongjiu.lu@intel.com>
33 * testsuite/ld-plugin/pr24406-1.c (main): Correct buffer size
36 2019-09-23 Alan Modra <amodra@gmail.com>
38 * deffilep.y: Include bfdlink.h.
40 * ldelfgen.c: Likewise.
43 * emultempl/irix.em: Don't include ld.h, ldmain.h, libiberty.h.
46 2019-09-23 Alan Modra <amodra@gmail.com>
48 * emultempl/m68kelf.em: Include elf32-m68k.h.
50 2019-09-23 Alan Modra <amodra@gmail.com>
52 * emultempl/bfin.em: Include elf32-bfin.h.
54 2019-09-23 Alan Modra <amodra@gmail.com>
56 * emultempl/cr16elf.em: Include elf32-cr16.h.
58 2019-09-23 Alan Modra <amodra@gmail.com>
60 * emultempl/aix.em: Include xcofflink.h.
62 2019-09-23 Alan Modra <amodra@gmail.com>
64 * emultempl/armelf.em: Include elf32-arm.h.
65 * emultempl/pe.em: Move func defines later and include coff-arm.h.
67 2019-09-23 Alan Modra <amodra@gmail.com>
69 * emultempl/aarch64elf.em: Include elfxx-aarch64.h.
71 2019-09-23 Alan Modra <amodra@gmail.com>
73 * emultempl/ia64elf.em: Include elfxx-ia64.h.
75 2019-09-23 Alan Modra <amodra@gmail.com>
77 * emultempl/v850elf.em: Include elf32-v850.h.
79 2019-09-23 Alan Modra <amodra@gmail.com>
81 * emultempl/cskyelf.em: Include elf32-csky.h.
83 2019-09-22 Alan Modra <amodra@gmail.com>
85 * testsuite/ld-srec/sr3.cc (FOO_MSG_LEN): Set to 4.
87 2019-09-20 Nelson Chu <nelson.chu@sifive.com>
89 * testsuite/ld-riscv-elf/weakref32.s: Add relaxable undef weak code.
90 * testsuite/ld-riscv-elf/weakref64.s: Likewise.
91 * testsuite/ld-riscv-elf/weakref32.d: Updated.
92 * testsuite/ld-riscv-elf/weakref64.d: Updated.
94 2019-09-20 Alan Modra <amodra@gmail.com>
96 * emultempl/xtensaelf.em (xtensa_get_section_deps): Comment.
97 Use bfd_section_userdata.
98 (xtensa_set_section_deps): Use bfd_set_section_userdata.
99 * ldlang.c (lang_output_section_get): Use bfd_section_userdata.
100 (sort_def_symbol): Likewise, and bfd_set_section_userdata.
101 (init_os): Use bfd_set_section_userdata.
102 (print_all_symbols): Use bfd_section_userdata.
103 * ldlang.h (get_userdata): Delete.
105 2019-09-20 Alan Modra <amodra@gmail.com>
107 * ldelf.c (ldelf_after_open, ldelf_place_orphan
108 * ldlang.c (walk_wild_file, lang_process): Use bfd_usrdata.
109 (load_symbols, ldlang_add_file): Use bfd_set_usrdata.
110 * ldmain.c (add_archive_element): Use bfd_usrdata.
111 * ldlang.h (bfd_input_just_syms): New inline function.
112 * emultempl/aarch64elf.em (build_section_lists): Use it.
113 * emultempl/mmo.em (mmo_place_orphan): Likewise.
114 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
115 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
116 * emultempl/ppc64elf.em (build_section_lists): Likewise.
118 2019-09-18 Alan Modra <amodra@gmail.com>
120 * ldcref.c, * ldctor.c, * ldelf.c, * ldlang.c, * pe-dll.c,
121 * emultempl/aarch64elf.em, * emultempl/aix.em,
122 * emultempl/armcoff.em, * emultempl/armelf.em,
123 * emultempl/cr16elf.em, * emultempl/cskyelf.em,
124 * emultempl/m68hc1xelf.em, * emultempl/m68kelf.em,
125 * emultempl/mipself.em, * emultempl/mmix-elfnmmo.em,
126 * emultempl/mmo.em, * emultempl/msp430.em,
127 * emultempl/nios2elf.em, * emultempl/pe.em, * emultempl/pep.em,
128 * emultempl/ppc64elf.em, * emultempl/xtensaelf.em: Update
129 throughout for bfd section macro and function changes.
131 2019-09-18 Alan Modra <amodra@gmail.com>
133 * ldcref.c (check_reloc_refs): Update bfd_get_section to
136 2019-09-18 Simon Marchi <simon.marchi@polymtl.ca>
138 * Makefile.in: Re-generate.
139 * configure: Re-generate.
141 2019-09-18 Alan Modra <amodra@gmail.com>
143 * ldlang.c (stricpy, strcut, name_compare): Constify params.
144 (get_first_input_target): Make return and "target" const.
146 2019-09-18 Alan Modra <amodra@gmail.com>
148 * emultempl/pe.em (after_open): Use bfd_set_filename.
149 * emultempl/pep.em (after_open): Use bfd_set_filename.
151 2019-09-16 Alan Modra <amodra@gmail.com>
154 * ldelf.c: Include safe-ctype.h.
156 2019-09-16 Phil Blundell <pb@pbcl.net>
158 * Makefile.in, configure: Regenerated.
160 2019-09-13 Alan Modra <amodra@gmail.com>
162 * ldlang.c (new_afile): Remove add_to_list parameter.
163 (lang_add_input_file): Update new_afile calls.
164 (lookup_name): Splice input_statement added by new_afile into
165 statement_list after current input_file_chain entry.
166 (lang_process): Update comment.
168 2019-09-12 Alan Modra <amodra@gmail.com>
170 * ldlang.c (print_input_statement): Do not exclude linker created
173 2019-09-12 Alan Modra <amodra@gmail.com>
176 * ldlang.c (lang_process): Remove assertion. Comment.
178 2019-09-11 Alan Modra <amodra@gmail.com>
180 * emultempl/elf32.em: Remove "misnamed" comment. Rename to..
181 * emultempl/elf.em: ..this.
182 * configure.ac (elf_list_options): Adjust TEMPLATE_NAME grep.
183 * emulparams/aarch64cloudabi.sh (TEMPLATE_NAME): Set to elf.
184 * emulparams/aarch64elf.sh: Likewise.
185 * emulparams/aarch64elf32.sh: Likewise.
186 * emulparams/aarch64fbsd.sh: Likewise.
187 * emulparams/aarch64linux.sh: Likewise.
188 * emulparams/aarch64linux32.sh: Likewise.
189 * emulparams/arcelf.sh: Likewise.
190 * emulparams/arcelf_prof.sh: Likewise.
191 * emulparams/arclinux.sh: Likewise.
192 * emulparams/arclinux_prof.sh: Likewise.
193 * emulparams/arcv2elf.sh: Likewise.
194 * emulparams/arcv2elfx.sh: Likewise.
195 * emulparams/armelf.sh: Likewise.
196 * emulparams/armelf_fuchsia.sh: Likewise.
197 * emulparams/armelf_linux.sh: Likewise.
198 * emulparams/armelf_phoenix.sh: Likewise.
199 * emulparams/armnto.sh: Likewise.
200 * emulparams/avr1.sh: Likewise.
201 * emulparams/avr2.sh: Likewise.
202 * emulparams/avr25.sh: Likewise.
203 * emulparams/avr3.sh: Likewise.
204 * emulparams/avr31.sh: Likewise.
205 * emulparams/avr35.sh: Likewise.
206 * emulparams/avr4.sh: Likewise.
207 * emulparams/avr5.sh: Likewise.
208 * emulparams/avr51.sh: Likewise.
209 * emulparams/avr6.sh: Likewise.
210 * emulparams/avrtiny.sh: Likewise.
211 * emulparams/avrxmega1.sh: Likewise.
212 * emulparams/avrxmega2.sh: Likewise.
213 * emulparams/avrxmega3.sh: Likewise.
214 * emulparams/avrxmega4.sh: Likewise.
215 * emulparams/avrxmega5.sh: Likewise.
216 * emulparams/avrxmega6.sh: Likewise.
217 * emulparams/avrxmega7.sh: Likewise.
218 * emulparams/criself.sh: Likewise.
219 * emulparams/crislinux.sh: Likewise.
220 * emulparams/cskyelf.sh: Likewise.
221 * emulparams/d10velf.sh: Likewise.
222 * emulparams/elf32_sparc.sh: Likewise.
223 * emulparams/elf32_spu.sh: Likewise.
224 * emulparams/elf32_tic6x_le.sh: Likewise.
225 * emulparams/elf32_x86_64.sh: Likewise.
226 * emulparams/elf32am33lin.sh: Likewise.
227 * emulparams/elf32bfin.sh: Likewise.
228 * emulparams/elf32bfinfd.sh: Likewise.
229 * emulparams/elf32bmip.sh: Likewise.
230 * emulparams/elf32bmipn32-defs.sh: Likewise.
231 * emulparams/elf32cr16.sh: Likewise.
232 * emulparams/elf32cr16c.sh: Likewise.
233 * emulparams/elf32crx.sh: Likewise.
234 * emulparams/elf32epiphany.sh: Likewise.
235 * emulparams/elf32epiphany_4x4.sh: Likewise.
236 * emulparams/elf32frvfd.sh: Likewise.
237 * emulparams/elf32ip2k.sh: Likewise.
238 * emulparams/elf32lm32.sh: Likewise.
239 * emulparams/elf32lm32fd.sh: Likewise.
240 * emulparams/elf32lriscv-defs.sh: Likewise.
241 * emulparams/elf32m32c.sh: Likewise.
242 * emulparams/elf32mb_linux.sh: Likewise.
243 * emulparams/elf32mbel_linux.sh: Likewise.
244 * emulparams/elf32mcore.sh: Likewise.
245 * emulparams/elf32mep.sh: Likewise.
246 * emulparams/elf32metag.sh: Likewise.
247 * emulparams/elf32microblaze.sh: Likewise.
248 * emulparams/elf32mipswindiss.sh: Likewise.
249 * emulparams/elf32or1k.sh: Likewise.
250 * emulparams/elf32ppccommon.sh: Likewise.
251 * emulparams/elf32rl78.sh: Likewise.
252 * emulparams/elf32rx.sh: Likewise.
253 * emulparams/elf32tilegx.sh: Likewise.
254 * emulparams/elf32tilepro.sh: Likewise.
255 * emulparams/elf32vax.sh: Likewise.
256 * emulparams/elf32visium.sh: Likewise.
257 * emulparams/elf32xc16x.sh: Likewise.
258 * emulparams/elf32xc16xl.sh: Likewise.
259 * emulparams/elf32xc16xs.sh: Likewise.
260 * emulparams/elf32xstormy16.sh: Likewise.
261 * emulparams/elf32xtensa.sh: Likewise.
262 * emulparams/elf64_aix.sh: Likewise.
263 * emulparams/elf64_ia64.sh: Likewise.
264 * emulparams/elf64_s390.sh: Likewise.
265 * emulparams/elf64_sparc.sh: Likewise.
266 * emulparams/elf64alpha.sh: Likewise.
267 * emulparams/elf64bpf.sh: Likewise.
268 * emulparams/elf64hppa.sh: Likewise.
269 * emulparams/elf64mmix.sh: Likewise.
270 * emulparams/elf64rdos.sh: Likewise.
271 * emulparams/elf64tilegx.sh: Likewise.
272 * emulparams/elf_i386.sh: Likewise.
273 * emulparams/elf_i386_be.sh: Likewise.
274 * emulparams/elf_i386_ldso.sh: Likewise.
275 * emulparams/elf_i386_vxworks.sh: Likewise.
276 * emulparams/elf_iamcu.sh: Likewise.
277 * emulparams/elf_k1om.sh: Likewise.
278 * emulparams/elf_l1om.sh: Likewise.
279 * emulparams/elf_s390.sh: Likewise.
280 * emulparams/elf_x86_64.sh: Likewise.
281 * emulparams/h8300elf.sh: Likewise.
282 * emulparams/h8300elf_linux.sh: Likewise.
283 * emulparams/hppa64linux.sh: Likewise.
284 * emulparams/hppaelf.sh: Likewise.
285 * emulparams/hppalinux.sh: Likewise.
286 * emulparams/i386lynx.sh: Likewise.
287 * emulparams/i386moss.sh: Likewise.
288 * emulparams/i386nto.sh: Likewise.
289 * emulparams/m32relf.sh: Likewise.
290 * emulparams/m32relf_linux.sh: Likewise.
291 * emulparams/m68hc11elf.sh: Likewise.
292 * emulparams/m68hc11elfb.sh: Likewise.
293 * emulparams/m68hc12elf.sh: Likewise.
294 * emulparams/m68hc12elfb.sh: Likewise.
295 * emulparams/m68kelf.sh: Likewise.
296 * emulparams/mn10300.sh: Likewise.
297 * emulparams/nds32elf.sh: Likewise.
298 * emulparams/nds32elf16m.sh: Likewise.
299 * emulparams/nds32elf_linux.sh: Likewise.
300 * emulparams/nios2elf.sh: Likewise.
301 * emulparams/nios2linux.sh: Likewise.
302 * emulparams/pruelf.sh: Likewise.
303 * emulparams/score3_elf.sh: Likewise.
304 * emulparams/shelf.sh: Likewise.
305 * emulparams/shelf_nto.sh: Likewise.
306 * emulparams/shelf_vxworks.sh: Likewise.
307 * emulparams/shlelf_linux.sh: Likewise.
308 * emulparams/shlelf_nto.sh: Likewise.
309 * emulparams/v850.sh: Likewise.
310 * emulparams/v850_rh850.sh: Likewise.
311 * ldelf.c: Update comment.
313 * emultempl/aarch64elf.em: Likewise.
314 * emultempl/alphaelf.em: Likewise.
315 * emultempl/arclinux.em: Likewise.
316 * emultempl/armelf.em: Likewise.
317 * emultempl/avrelf.em: Likewise.
318 * emultempl/bfin.em: Likewise.
319 * emultempl/cr16elf.em: Likewise.
320 * emultempl/crxelf.em: Likewise.
321 * emultempl/cskyelf.em: Likewise.
322 * emultempl/elf-generic.em: Likewise.
323 * emultempl/elf-x86.em: Likewise.
324 * emultempl/epiphanyelf_4x4.em: Likewise.
325 * emultempl/hppaelf.em: Likewise.
326 * emultempl/ia64elf.em: Likewise.
327 * emultempl/m68hc1xelf.em: Likewise.
328 * emultempl/m68kelf.em: Likewise.
329 * emultempl/metagelf.em: Likewise.
330 * emultempl/mmix-elfnmmo.em: Likewise.
331 * emultempl/mmixelf.em: Likewise.
332 * emultempl/mmo.em: Likewise.
333 * emultempl/needrelax.em: Likewise.
334 * emultempl/nios2elf.em: Likewise.
335 * emultempl/ppc32elf.em: Likewise.
336 * emultempl/ppc64elf.em: Likewise.
337 * emultempl/pruelf.em: Likewise.
338 * emultempl/rxelf.em: Likewise.
339 * emultempl/scoreelf.em: Likewise.
340 * emultempl/spuelf.em: Likewise.
341 * emultempl/tic6xdsbt.em: Likewise.
342 * emultempl/v850elf.em: Likewise.
343 * emultempl/vms.em: Likewise.
344 * emultempl/vxworks.em: Likewise.
345 * emultempl/xtensaelf.em: Likewise.
346 * scripttempl/arclinux.sc: Likewise.
347 * scripttempl/armbpabi.sc: Likewise.
348 * scripttempl/elf.sc: Likewise.
349 * scripttempl/elf64bpf.sc: Likewise.
350 * scripttempl/elf64hppa.sc: Likewise.
351 * scripttempl/elf_chaos.sc: Likewise.
352 * scripttempl/elfarc.sc: Likewise.
353 * scripttempl/elfarcv2.sc: Likewise.
354 * scripttempl/elfd10v.sc: Likewise.
355 * scripttempl/elfm68hc11.sc: Likewise.
356 * scripttempl/elfm68hc12.sc: Likewise.
357 * scripttempl/elfm9s12z.sc: Likewise.
358 * scripttempl/elfxgate.sc: Likewise.
359 * scripttempl/elfxtensa.sc: Likewise.
360 * scripttempl/epiphany_4x4.sc: Likewise.
361 * scripttempl/iq2000.sc: Likewise.
362 * scripttempl/mep.sc: Likewise.
363 * scripttempl/nds32elf.sc: Likewise.
364 * scripttempl/v850.sc: Likewise.
365 * scripttempl/v850_rh850.sc: Likewise.
366 * scripttempl/xstormy16.sc: Likewise.
367 * testsuite/ld-arm/arm-dyn.ld: Likewise.
368 * testsuite/ld-arm/arm-lib.ld: Likewise.
369 * testsuite/ld-arm/arm-no-rel-plt.ld: Likewise.
370 * testsuite/ld-arm/fdpic-main.ld: Likewise.
371 * testsuite/ld-arm/fdpic-shared.ld: Likewise.
372 * testsuite/ld-elf/elf.exp: Likewise.
373 * testsuite/ld-elf/orphan-region.d: Likewise.
374 * testsuite/ld-elf/orphan.d: Likewise.
375 * testsuite/ld-elf/pr349.d: Likewise.
376 * testsuite/ld-elf/warn2.d: Likewise.
377 * testsuite/ld-elfvsb/elf-offset.ld: Likewise.
378 * testsuite/ld-mips-elf/mips-dyn.ld: Likewise.
379 * testsuite/ld-mips-elf/mips-lib.ld: Likewise.
380 * testsuite/ld-scripts/dynamic-sections.t: Likewise.
381 * testsuite/ld-shared/elf-offset.ld: Likewise.
382 * configure: Regenerate.
384 2019-09-11 Alan Modra <amodra@gmail.com>
386 * Makefile.am (ALL_EMUL_EXTRA_OFILES): Add ldelf and ldelfgen.
387 (CFILES, HFILES, EXTRA_ld_new_SOURCES): Likewise.
388 * configure.tgt: Formatting.
389 (targ_extra_ofiles): Init to ldelf.o ldelfgen.o, reset to just
390 ldelfgen.o for generic ELF targets, and empty for non-ELF.
391 * emultempl/aarch64elf.em (gldaarch64_layout_sections_again): Use
393 (gld${EMULATION_NAME}_after_allocation): Likewise.
394 (real_func, aarch64_for_each_input_file_wrapper),
395 (aarch64_lang_for_each_input_file): Delete.
396 (lang_for_each_input_file): Don't define.
397 * emultempl/alphaelf.em (alpha_after_parse): Use ldelf_map_segments.
398 * emultempl/armelf.em (gldarm_layout_sections_again): Likewise.
399 (gld${EMULATION_NAME}_after_allocation): Likewise.
400 (real_func, arm_for_each_input_file_wrapper),
401 (arm_lang_for_each_input_file): Delete.
402 (lang_for_each_input_file): Don't define.
403 * emultempl/cr16elf.em (cr16elf_after_parse): Use ldelf_map_segments.
404 * emultempl/crxelf.em (crxelf_after_parse): Likewise. Delete
406 * emultempl/cskyelf.em (gldcsky_layout_sections_again): Use
408 (gld${EMULATION_NAME}_after_allocation): Likewise.
409 (real_func, csky_for_each_input_file_wrapper),
410 (csky_lang_for_each_input_file): Delete.
411 (lang_for_each_input_file): Don't define.
412 * emultempl/genelf.em: Include ldelfgen.h.
413 (gld${EMULATION_NAME}_before_allocation): Use ldelf_map_segments.
414 * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
415 (hppaelf_layout_sections_again): Likewise.
416 (gld${EMULATION_NAME}_after_allocation): Likewise.
417 (real_func, hppa_for_each_input_file_wrapper),
418 (hppa_lang_for_each_input_file): Delete.
419 (lang_for_each_input_file): Don't define.
420 * emultempl/ia64elf.em (ia64elf_after_parse): Use ldelf_map_segments.
421 * emultempl/m68hc1xelf.em (real_func),
422 (m68hc11_for_each_input_file_wrapper),
423 (m68hc11_lang_for_each_input_file): Delete.
424 (lang_for_each_input_file): Don't define.
425 * emultempl/metagelf.em (metagelf_layout_sections_again): Use
427 (gld${EMULATION_NAME}_after_allocation): Likewise.
428 (real_func, metag_for_each_input_file_wrapper),
429 (metag_lang_for_each_input_file): Delete.
430 (lang_for_each_input_file): Don't define.
431 * emultempl/mipself.em (real_func),
432 (mips_for_each_input_file_wrapper),
433 (mips_lang_for_each_input_file): Delete.
434 (lang_for_each_input_file): Don't define.
435 * emultempl/mmo.em: Don't include elf-bfd.h, do include ldelfgen.h.
436 (gld${EMULATION_NAME}_after_allocation): Use ldelf_map_segments.
437 * emultempl/nds32elf.em (nds32_elf_after_parse): Use ldelf_after_parse.
438 (nds32_elf_after_allocation): Comment fix.
439 * emultempl/nios2elf.em (nios2elf_layout_sections_again): Use
441 (gld${EMULATION_NAME}_after_allocation): Likewise.
442 (real_func, nios2_for_each_input_file_wrapper),
443 (nios2_lang_for_each_input_file): Delete.
444 (lang_for_each_input_file): Don't define.
445 * emultempl/ppc32elf.em (gld${EMULATION_NAME}_load_symbols): Delete
447 (ppc_recognized_file): Call ldelf_load_symbols.
448 * emultempl/ppc64elf.em (ppc_layout_sections_again): Likewise.
449 (gld${EMULATION_NAME}_after_allocation): Likewise.
450 (real_func, ppc_for_each_input_file_wrapper),
451 (ppc_lang_for_each_input_file): Delete.
452 (lang_for_each_input_file): Don't define.
453 (gld${EMULATION_NAME}_load_symbols): Don't declare.
454 (ppc64_recognized_file): Call ldelf_load_symbols.
455 * emultempl/riscvelf.em (gld${EMULATION_NAME}_after_allocation):
456 Use ldelf_map_segments.
457 * emultempl/spuelf.em (spu_place_special_section): Use
459 * emultempl/tic6xdsbt.em (gld${EMULATION_NAME}_after_allocation):
460 Use ldelf_map_segments.
461 * emultempl/vms.em: Include ldelfgen.h.
462 (gld${EMULATION_NAME}_after_allocation): Use ldelf_map_segments.
463 * emultempl/elf32.em: Remove unnecessary headers, include ldelf.h
464 and ldelfgen.h. Move much of file content to..
465 * ldelf.c: ..here. New file.
467 * emultempl/elf-generic.em: Move gld${EMULATION_NAME}_map_segments..
468 * ldelfgen.c: ..to here.
469 * ldelfgen.h: New file.
470 * ldlang.c (lang_for_each_input_file): Adjust to only call func
472 (lang_for_each_file): Likewise.
473 * po/SRC-POTFILES.in: Regenerate.
474 * Makefile.in: Regenerate.
476 2019-09-11 Alan Modra <amodra@gmail.com>
478 * ldmisc.c: Don't #include elf-bfd.h or coff-bfd.h.
479 (vfinfo): Use bfd_group_name.
481 2019-09-11 Alan Modra <amodra@gmail.com>
483 * plugin.c (asymbol_from_plugin_symbol): Move code handling
484 ELF common symbols to block handling ELF visibility. Simplify
487 2019-09-09 H.J. Lu <hongjiu.lu@intel.com>
490 * testsuite/ld-i386/property-1.r: Adjust for new output format
492 * testsuite/ld-i386/property-1a.r: Likewise.
493 * testsuite/ld-i386/property-2.r: Likewise.
494 * testsuite/ld-i386/property-2a.r: Likewise.
495 * testsuite/ld-i386/property-3.r: Likewise.
496 * testsuite/ld-i386/property-3a.r: Likewise.
497 * testsuite/ld-i386/property-4.r: Likewise.
498 * testsuite/ld-i386/property-4a.r: Likewise.
499 * testsuite/ld-i386/property-5.r: Likewise.
500 * testsuite/ld-i386/property-5a.r: Likewise.
501 * testsuite/ld-i386/property-6.r: Likewise.
502 * testsuite/ld-i386/property-7.r: Likewise.
503 * testsuite/ld-i386/property-7a.r: Likewise.
504 * testsuite/ld-i386/property-1.r: Likewise.
505 * testsuite/ld-i386/property-1a.r: Likewise.
506 * testsuite/ld-i386/property-2.r: Likewise.
507 * testsuite/ld-i386/property-2a.r: Likewise.
508 * testsuite/ld-i386/property-3.r: Likewise.
509 * testsuite/ld-i386/property-3a.r: Likewise.
510 * testsuite/ld-i386/property-4.r: Likewise.
511 * testsuite/ld-i386/property-4a.r: Likewise.
512 * testsuite/ld-i386/property-5.r: Likewise.
513 * testsuite/ld-i386/property-5a.r: Likewise.
514 * testsuite/ld-i386/property-6.r: Likewise.
515 * testsuite/ld-i386/property-7.r: Likewise.
516 * testsuite/ld-i386/property-7a.r: Likewise.
518 2019-09-09 Phil Blundell <pb@pbcl.net>
520 binutils 2.33 branch created.
522 2019-09-06 Alan Modra <amodra@gmail.com>
524 * emultempl/beos.em (sort_by_file_name): Use appropriate
525 intermediary variables.
526 (sort_by_section_name): Likewise.
528 2019-09-06 Alan Modra <amodra@gmail.com>
530 * emultempl/elf32.em (gld${EMULATION_NAME}_search_needed): Constify
532 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Likewise.
533 * emultempl/pep.em (gld_${EMULATION_NAME}_after_open): Likewise.
535 2019-09-05 Eric Botcazou <ebotcazou@adacore.com>
538 * pe-dll.c (pe_find_data_imports): Replace again the original name of
539 the undefined symbol with the __imp_ prefixed one after it is resolved.
541 2019-09-05 Alan Modra <amodra@gmail.com>
543 * testsuite/ld-powerpc/pcrelopt.s,
544 * testsuite/ld-powerpc/pcrelopt.d: Test offset and prefix in
547 2019-08-29 Alan Modra <amodra@gmail.com>
550 * plugin.c (get_symbols): Test link_info.wrap_hash before calling
553 2019-08-22 Tamar Christina <tamar.christina@arm.com>
556 * testsuite/ld-aarch64/aarch64-elf.exp (undef-tls, weak-tls): New.
557 * testsuite/ld-aarch64/undef-tls.d: New test.
558 * testsuite/ld-aarch64/undef-tls.s: New test.
559 * testsuite/ld-aarch64/weak-tls.d: New test.
560 * testsuite/ld-aarch64/weak-tls.s: New test.
562 2019-08-20 Tamar Christina <tamar.christina@arm.com>
564 * testsuite/ld-arm/cortex-a8-fix-b-plt.d: Update Testcase.
565 * testsuite/ld-arm/cortex-a8-fix-b-rel-arm.d: Likewise.
566 * testsuite/ld-arm/cortex-a8-fix-bcc-plt.d: Likewise.
567 * testsuite/ld-arm/farcall-cond-thumb-arm.d: Likewise.
568 * testsuite/ld-arm/farcall-mixed-app.d: Likewise.
569 * testsuite/ld-arm/farcall-mixed-app2.d: Likewise.
570 * testsuite/ld-arm/farcall-mixed-lib-v4t.d: Likewise.
571 * testsuite/ld-arm/farcall-thumb-arm-pic-veneer.d: Likewise.
572 * testsuite/ld-arm/farcall-thumb-arm-short.d: Likewise.
573 * testsuite/ld-arm/farcall-thumb-arm.d: Likewise.
574 * testsuite/ld-arm/farcall-thumb-thumb-pic-veneer.d: Likewise.
575 * testsuite/ld-arm/farcall-thumb-thumb.d: Likewise.
576 * testsuite/ld-arm/fix-arm1176-on.d: Likewise.
577 * testsuite/ld-arm/ifunc-10.dd: Likewise.
578 * testsuite/ld-arm/ifunc-2.dd: Likewise.
579 * testsuite/ld-arm/ifunc-4.dd: Likewise.
580 * testsuite/ld-arm/ifunc-6.dd: Likewise.
581 * testsuite/ld-arm/ifunc-8.dd: Likewise.
582 * testsuite/ld-arm/jump-reloc-veneers-long.d: Likewise.
583 * testsuite/ld-arm/mixed-app.d: Likewise.
584 * testsuite/ld-arm/thumb2-b-interwork.d: Likewise.
585 * testsuite/ld-arm/tls-longplt.d: Likewise.
586 * testsuite/ld-arm/tls-thumb1.d: Likewise.
588 2019-08-16 H.J. Lu <hongjiu.lu@intel.com>
591 * testsuite/ld-x86-64/pr24905-x32.d: New file.
592 * testsuite/ld-x86-64/pr24905.d: Likewise.
593 * testsuite/ld-x86-64/pr24905.s: Likewise.
594 * testsuite/ld-x86-64/pr24905.t: Likewise.
595 * testsuite/ld-x86-64/x86-64.exp: Run pr24905 and pr24905-x32.
597 2019-08-16 Christophe Lyon <christophe.lyon@linaro.org>
599 * emulparams/armelf.sh (OTHER_SECTIONS): Add support for noinit
602 2019-08-16 Alan Modra <amodra@gmail.com>
604 * emultempl/ppc32elf.em (ppc_before_allocation): Force running
605 prelim_size_sections before deciding whether branch trampolines
608 2019-08-15 Jim Wilson <jimw@sifive.com>
610 * testsuite/ld-riscv-elf/c-lui-2.d: New.
611 * testsuite/ld-riscv-elf/c-lui-2.ld: New.
612 * testsuite/ld-riscv-elf/c-lui-2.s: New.
613 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run the c-lui-2 test.
615 2019-08-10 Alan Modra <amodra@gmail.com>
617 * ldlang.h (enum statement_enum): Sort.
618 (union lang_statement_union): Sort.
620 2019-08-10 Alan Modra <amodra@gmail.com>
622 * ldlang.h (lang_common_statement_type): Delete.
623 (lang_object_symbols_statement_type): Delete.
624 (union lang_statement_union): Remove common_statement and
625 object_symbols_statement.
627 2019-08-10 Alan Modra <amodra@gmail.com>
629 * ldexp.c (exp_intop, exp_bigintop, exp_relop, exp_binop, exp_trinop),
630 (exp_unop, exp_nameop, exp_assop, exp_assert): Remove casts of
631 stat_alloc return value.
632 * ldlang.c (new_statement, new_afile, sort_def_symbol),
633 (lang_memory_region_lookup, lang_memory_region_alias),
634 (ldlang_add_undef, ldlang_add_require_defined, insert_pad),
635 (lang_add_gc_name, lang_new_phdr): Likewise.
636 * lexsup.c (set_segment_start): Likewise.
638 2019-08-10 Alan Modra <amodra@gmail.com>
640 * ldlang.h (lang_input_statement_type): Make next
641 and next_real_file a lang_input_statement_type pointer.
642 (lang_statement_append): Delete prototype.
643 (LANG_FOR_EACH_INPUT_STATEMENT): Update for lang_input_statement_type
645 * ldmain.c (add_archive_element): Likewise.
646 * ldlang.c: Likewise throughout.
647 (lang_statement_append): Make static. Make element and field
648 void pointers. Remove casts in calls.
649 (lang_check): Use a lang_input_statement_type pointer for "file".
650 (find_rescan_insertion): Similarly for "iter" and return value.
651 (lang_process): Similarly for "insert", "iter" and "temp".
652 * emultempl/spuelf.em (embedded_spu_file): Likewise.
653 * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Expand
654 lang_statment_append call.
656 2019-08-09 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
658 * emulparams/elf32bmip.sh: Add .MIPS.xhash section.
659 * emulparams/elf32bmipn32-defs.sh: Add .MIPS.xhash section.
660 * emulparams/elf64bmip-defs.sh: Add .MIPS.xhash section.
661 * emultempl/mipself.em: Remove mips_after_parse function.
662 * testsuite/ld-elf/hash.d: Update comment.
663 * testsuite/ld-mips-elf/hash1.d: New test.
664 * testsuite/ld-mips-elf/hash1.s: Ditto.
665 * testsuite/ld-mips-elf/hash1a.d: Remove.
666 * testsuite/ld-mips-elf/hash1b.d: Ditto.
667 * testsuite/ld-mips-elf/hash1c.d: Ditto
668 * testsuite/ld-mips-elf/hash2.d: New test.
669 * testsuite/ld-mips-elf/mips-elf.exp: New tests.
670 * testsuite/ld-mips-elf/start.s: New test.
672 2019-08-08 Nick Clifton <nickc@redhat.com>
675 * testsuite/ld-aarch64/bti-plt-2.d: Adjust for new output format
677 * testsuite/ld-aarch64/bti-plt-4.d: Likewise.
678 * testsuite/ld-aarch64/bti-plt-6.d: Likewise.
679 * testsuite/ld-aarch64/bti-plt-7.d: Likewise.
680 * testsuite/ld-aarch64/bti-warn.d: Likewise.
681 * testsuite/ld-aarch64/property-bti-pac1.d: Likewise.
682 * testsuite/ld-aarch64/property-bti-pac2.d: Likewise.
683 * testsuite/ld-aarch64/property-bti-pac3.d: Likewise.
684 * testsuite/ld-elf/x86-feature-1a.rd: Likewise.
685 * testsuite/ld-elf/x86-feature-1b.rd: Likewise.
686 * testsuite/ld-elf/x86-feature-1c.rd: Likewise.
687 * testsuite/ld-elf/x86-feature-1d.rd: Likewise.
688 * testsuite/ld-elf/x86-feature-1e.rd: Likewise.
689 * testsuite/ld-i386/ibt-plt-2d.d: Likewise.
690 * testsuite/ld-i386/ibt-plt-3d.d: Likewise.
691 * testsuite/ld-i386/pr23372a.d: Likewise.
692 * testsuite/ld-i386/pr23372c.d: Likewise.
693 * testsuite/ld-i386/pr23486a.d: Likewise.
694 * testsuite/ld-i386/pr23486b.d: Likewise.
695 * testsuite/ld-i386/pr23486c.d: Likewise.
696 * testsuite/ld-i386/pr23486d.d: Likewise.
697 * testsuite/ld-i386/pr24322a.d: Likewise.
698 * testsuite/ld-i386/pr24322b.d: Likewise.
699 * testsuite/ld-i386/property-x86-3.d: Likewise.
700 * testsuite/ld-i386/property-x86-4a.d: Likewise.
701 * testsuite/ld-i386/property-x86-5.d: Likewise.
702 * testsuite/ld-i386/property-x86-cet1.d: Likewise.
703 * testsuite/ld-i386/property-x86-cet2a.d: Likewise.
704 * testsuite/ld-i386/property-x86-cet5a.d: Likewise.
705 * testsuite/ld-i386/property-x86-cet5b.d: Likewise.
706 * testsuite/ld-i386/property-x86-ibt1a.d: Likewise.
707 * testsuite/ld-i386/property-x86-ibt1b.d: Likewise.
708 * testsuite/ld-i386/property-x86-ibt2.d: Likewise.
709 * testsuite/ld-i386/property-x86-ibt3a.d: Likewise.
710 * testsuite/ld-i386/property-x86-ibt3b.d: Likewise.
711 * testsuite/ld-i386/property-x86-ibt4.d: Likewise.
712 * testsuite/ld-i386/property-x86-ibt5.d: Likewise.
713 * testsuite/ld-i386/property-x86-shstk1a.d: Likewise.
714 * testsuite/ld-i386/property-x86-shstk1b.d: Likewise.
715 * testsuite/ld-i386/property-x86-shstk2.d: Likewise.
716 * testsuite/ld-i386/property-x86-shstk3a.d: Likewise.
717 * testsuite/ld-i386/property-x86-shstk3b.d: Likewise.
718 * testsuite/ld-i386/property-x86-shstk4.d: Likewise.
719 * testsuite/ld-i386/property-x86-shstk5.d: Likewise.
720 * testsuite/ld-x86-64/ibt-plt-2d-x32.d: Likewise.
721 * testsuite/ld-x86-64/ibt-plt-2d.d: Likewise.
722 * testsuite/ld-x86-64/ibt-plt-3d-x32.d: Likewise.
723 * testsuite/ld-x86-64/ibt-plt-3d.d: Likewise.
724 * testsuite/ld-x86-64/pr23372a-x32.d: Likewise.
725 * testsuite/ld-x86-64/pr23372a.d: Likewise.
726 * testsuite/ld-x86-64/pr23372c-x32.d: Likewise.
727 * testsuite/ld-x86-64/pr23372c.d: Likewise.
728 * testsuite/ld-x86-64/pr23486a-x32.d: Likewise.
729 * testsuite/ld-x86-64/pr23486a.d: Likewise.
730 * testsuite/ld-x86-64/pr23486b-x32.d: Likewise.
731 * testsuite/ld-x86-64/pr23486b.d: Likewise.
732 * testsuite/ld-x86-64/pr23486c-x32.d: Likewise.
733 * testsuite/ld-x86-64/pr23486c.d: Likewise.
734 * testsuite/ld-x86-64/pr23486d-x32.d: Likewise.
735 * testsuite/ld-x86-64/pr23486d.d: Likewise.
736 * testsuite/ld-x86-64/pr24322a-x32.d: Likewise.
737 * testsuite/ld-x86-64/pr24322a.d: Likewise.
738 * testsuite/ld-x86-64/pr24322b-x32.d: Likewise.
739 * testsuite/ld-x86-64/pr24322b.d: Likewise.
740 * testsuite/ld-x86-64/pr24458a-x32.d: Likewise.
741 * testsuite/ld-x86-64/pr24458a.d: Likewise.
742 * testsuite/ld-x86-64/pr24458b-x32.d: Likewise.
743 * testsuite/ld-x86-64/pr24458b.d: Likewise.
744 * testsuite/ld-x86-64/pr24458c-x32.d: Likewise.
745 * testsuite/ld-x86-64/pr24458c.d: Likewise.
746 * testsuite/ld-x86-64/property-1.r: Likewise.
747 * testsuite/ld-x86-64/property-1a.r: Likewise.
748 * testsuite/ld-x86-64/property-2.r: Likewise.
749 * testsuite/ld-x86-64/property-2a.r: Likewise.
750 * testsuite/ld-x86-64/property-3.r: Likewise.
751 * testsuite/ld-x86-64/property-3a.r: Likewise.
752 * testsuite/ld-x86-64/property-4.r: Likewise.
753 * testsuite/ld-x86-64/property-4a.r: Likewise.
754 * testsuite/ld-x86-64/property-5.r: Likewise.
755 * testsuite/ld-x86-64/property-5a.r: Likewise.
756 * testsuite/ld-x86-64/property-6.r: Likewise.
757 * testsuite/ld-x86-64/property-7.r: Likewise.
758 * testsuite/ld-x86-64/property-7a.r: Likewise.
759 * testsuite/ld-x86-64/property-x86-3-x32.d: Likewise.
760 * testsuite/ld-x86-64/property-x86-3.d: Likewise.
761 * testsuite/ld-x86-64/property-x86-4a-x32.d: Likewise.
762 * testsuite/ld-x86-64/property-x86-4a.d: Likewise.
763 * testsuite/ld-x86-64/property-x86-5-x32.d: Likewise.
764 * testsuite/ld-x86-64/property-x86-5.d: Likewise.
765 * testsuite/ld-x86-64/property-x86-cet1-x32.d: Likewise.
766 * testsuite/ld-x86-64/property-x86-cet1.d: Likewise.
767 * testsuite/ld-x86-64/property-x86-cet2a-x32.d: Likewise.
768 * testsuite/ld-x86-64/property-x86-cet2a.d: Likewise.
769 * testsuite/ld-x86-64/property-x86-cet5a-x32.d: Likewise.
770 * testsuite/ld-x86-64/property-x86-cet5a.d: Likewise.
771 * testsuite/ld-x86-64/property-x86-cet5b-x32.d: Likewise.
772 * testsuite/ld-x86-64/property-x86-cet5b.d: Likewise.
773 * testsuite/ld-x86-64/property-x86-ibt1a-x32.d: Likewise.
774 * testsuite/ld-x86-64/property-x86-ibt1a.d: Likewise.
775 * testsuite/ld-x86-64/property-x86-ibt1b-x32.d: Likewise.
776 * testsuite/ld-x86-64/property-x86-ibt1b.d: Likewise.
777 * testsuite/ld-x86-64/property-x86-ibt2-x32.d: Likewise.
778 * testsuite/ld-x86-64/property-x86-ibt2.d: Likewise.
779 * testsuite/ld-x86-64/property-x86-ibt3a-x32.d: Likewise.
780 * testsuite/ld-x86-64/property-x86-ibt3a.d: Likewise.
781 * testsuite/ld-x86-64/property-x86-ibt3b-x32.d: Likewise.
782 * testsuite/ld-x86-64/property-x86-ibt3b.d: Likewise.
783 * testsuite/ld-x86-64/property-x86-ibt4-x32.d: Likewise.
784 * testsuite/ld-x86-64/property-x86-ibt4.d: Likewise.
785 * testsuite/ld-x86-64/property-x86-ibt5-x32.d: Likewise.
786 * testsuite/ld-x86-64/property-x86-ibt5.d: Likewise.
787 * testsuite/ld-x86-64/property-x86-shstk1a-x32.d: Likewise.
788 * testsuite/ld-x86-64/property-x86-shstk1a.d: Likewise.
789 * testsuite/ld-x86-64/property-x86-shstk1b-x32.d: Likewise.
790 * testsuite/ld-x86-64/property-x86-shstk1b.d: Likewise.
791 * testsuite/ld-x86-64/property-x86-shstk2-x32.d: Likewise.
792 * testsuite/ld-x86-64/property-x86-shstk2.d: Likewise.
793 * testsuite/ld-x86-64/property-x86-shstk3a-x32.d: Likewise.
794 * testsuite/ld-x86-64/property-x86-shstk3a.d: Likewise.
795 * testsuite/ld-x86-64/property-x86-shstk3b-x32.d: Likewise.
796 * testsuite/ld-x86-64/property-x86-shstk3b.d: Likewise.
797 * testsuite/ld-x86-64/property-x86-shstk4-x32.d: Likewise.
798 * testsuite/ld-x86-64/property-x86-shstk4.d: Likewise.
799 * testsuite/ld-x86-64/property-x86-shstk5-x32.d: Likewise.
800 * testsuite/ld-x86-64/property-x86-shstk5.d: Likewise.
802 2019-08-07 Jose E. Marchesi <jose.marchesi@oracle.com>
804 * scripttempl/elf64bpf.sc: Adapted from elf.sc.
805 * emulparams/elf64bpf.sh (SCRIPT_NAME): Use elf64bpf.
807 * testsuite/ld-bpf/call-1.d: Do not expect a warning regarding an
808 undefined entry symbol.
809 * testsuite/ld-bpf/jump-1.d: Likewise.
810 * testsuite/ld-undefined/undefined.exp: Do not pass '-e entry' to
811 ld in BPF targets, and do not expect line number information.
812 * testsuite/ld-srec/srec.exp (run_srec_test): xfail s-record tests
815 2019-08-06 Alan Modra <amodra@gmail.com>
818 * ldlang.c (find_replacements_insert_point): Return "before" flag.
819 (find_next_input_statement): New function.
820 (lang_process): When placing recompiled LTO objects before a
821 claimed archive, place them immediately before in the statement
824 2019-08-06 Alan Modra <amodra@gmail.com>
827 * ldlang.c (plugin_undefs): New static var.
828 (open_input_bfds <lang_group_statement_enum>): Loop on
829 plugin_undefs and hitting plugin_insert point.
830 (lang_process <lto_plugin_active>): Set plugin_undefs.
832 2019-08-02 Alan Modra <amodra@gmail.com>
834 * testsuite/ld-powerpc/tlsie.s: Correct medium model ELF sequence.
836 2019-08-01 Alan Modra <amodra@gmail.com>
839 * ldlang.c (process_insert_statements): Add start of list
840 parameter. Use rather than lang_os_list.head. Process insert
841 statements inside group statements with a recursive call.
842 (lang_process): Adjust process_insert_statements call.
843 * lexsup.c (parse_args): Warn when adding missing --end-group.
845 2019-08-01 Alan Modra <amodra@gmail.com>
847 * ldlang.h (lang_os_list): Rename from lang_output_section_statement.
848 * ldlang.c: Likewise throughout file.
849 * emultempl/alphaelf.em: Likewise.
850 * emultempl/elf32.em: Likewise.
851 * emultempl/mmo.em: Likewise.
852 * emultempl/pe.em: Likewise.
853 * emultempl/pep.em: Likewise.
854 * emultempl/ppc32elf.em: Likewise.
855 * emultempl/spuelf.em: Likewise.
857 2019-07-26 Alan Modra <amodra@gmail.com>
859 * testsuite/ld-plugin/lto-3r.d: Accept D for powerpc64 descriptors.
860 * testsuite/ld-plugin/lto-5r.d: Likewise.
862 2019-07-24 H.J. Lu <hongjiu.lu@intel.com>
864 * testsuite/ld-plugin/lto-3r.d: Restored. Check foo instead
866 * testsuite/ld-plugin/lto-5r.d: Likewise.
867 * testsuite/ld-plugin/lto.exp: Run lto-3r and lto-5r tests.
869 2019-07-24 Claudiu Zissulescu <claziss@synopsys.com>
871 * ld-arc/relax-local-pic.d: New test.
872 * ld-arc/relax-local-pic.s: New file.
874 2019-07-22 Martin Liska <mliska@suse.cz>
876 * testsuite/ld-plugin/lto-3r.d: Remove.
877 * testsuite/ld-plugin/lto-5r.d: Remove.
878 * testsuite/ld-plugin/lto.exp: Do not run lto-3r and lto-5r
881 2019-07-23 Alan Modra <amodra@gmail.com>
883 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Condition
884 SHF_GNU_MBIND on osabi. Set output elf_gnu_osabi_mbind.
886 2019-07-23 Alan Modra <amodra@gmail.com>
888 * testsuite/ld-elf/size-1.d,
889 * testsuite/ld-elf/size-1.s,
890 * testsuite/ld-elf/size-1.t: New test.
891 * testsuite/ld-elf/size-2.d,
892 * testsuite/ld-elf/size-2.s,
893 * testsuite/ld-elf/size-2.t: New test.
894 * testsuite/ld-scripts/size-1.d,
895 * testsuite/ld-scripts/size-1.s,
896 * testsuite/ld-scripts/size-1.t,
897 * testsuite/ld-scripts/size-2.s,
898 * testsuite/ld-scripts/size-2.d,
899 * testsuite/ld-scripts/size-2.t,
900 * testsuite/ld-scripts/size.exp: Delete.
902 2019-07-22 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
904 * ld/testsuite/ld-arm/cmse_main_sec_debug.d: Modify regexps to
905 allow for output from a arm-none-linux-gnueabihf target.
907 2019-07-20 Alan Modra <amodra@gmail.com>
910 * ldlex.l (comment): Check for 0 return from YY_INPUT, not EOF.
912 2019-07-19 Alan Modra <amodra@gmail.com>
914 * testsuite/ld-powerpc/tlsgd.d,
915 * testsuite/ld-powerpc/tlsgd.s,
916 * testsuite/ld-powerpc/tlsie.d,
917 * testsuite/ld-powerpc/tlsie.s,
918 * testsuite/ld-powerpc/tlsld.d,
919 * testsuite/ld-powerpc/tlsld.s: New tests.
920 * testsuite/ld-powerpc/powerpc.exp: Run them.
922 2019-07-19 Alan Modra <amodra@gmail.com>
924 * testsuite/ld-powerpc/tlsldopt.d: Rename from tlsld.d.
925 * testsuite/ld-powerpc/tlsldopt.s: Rename from tlsld.s.
926 * testsuite/ld-powerpc/tlsldopt32.d: Rename from tlsld32.d.
927 * testsuite/ld-powerpc/tlsldopt32.s: Rename from tlsld32.s.
928 * testsuite/ld-powerpc/powerpc.exp: Update.
930 2019-07-19 Alan Modra <amodra@gmail.com>
933 * testsuite/ld-elf/pr24819.d: xfail for genelf targets.
935 2019-07-18 H.J. Lu <hongjiu.lu@intel.com>
938 * emultempl/elf32.em (elf_orphan_compatible): Return FALSE for
939 member of output section group when doing a relocatable link.
940 * testsuite/ld-elf/pr24819.d: New file.
941 * testsuite/ld-elf/pr24819.s: Likewise.
943 2019-07-13 Alan Modra <amodra@gmail.com>
945 * testsuite/ld-powerpc/tlsso.r: Update.
946 * testsuite/ld-powerpc/tlsso32.g: Update.
947 * testsuite/ld-powerpc/tlsso32.r: Update.
948 * testsuite/ld-powerpc/tlstocso.r: Update.
949 * testsuite/ld-cris/tls-dso-dtpoffd2.d: Update.
950 * testsuite/ld-cris/tls-dso-dtpoffd4.d: Update.
951 * testsuite/ld-cris/tls-dso-tpoffgotcomm1.d: Update.
952 * testsuite/ld-cris/tls-gd-1.d: Update.
953 * testsuite/ld-cris/tls-gd-1h.d: Update.
954 * testsuite/ld-cris/tls-gd-2.d: Update.
955 * testsuite/ld-cris/tls-gd-2h.d: Update.
956 * testsuite/ld-cris/tls-ie-10.d: Update.
957 * testsuite/ld-cris/tls-ie-11.d: Update.
958 * testsuite/ld-cris/tls-ie-8.d: Update.
959 * testsuite/ld-cris/tls-ie-9.d: Update.
960 * testsuite/ld-cris/tls-js1.d: Update.
961 * testsuite/ld-cris/tls-ld-4.d: Update.
962 * testsuite/ld-cris/tls-ld-5.d: Update.
963 * testsuite/ld-cris/tls-ld-6.d: Update.
964 * testsuite/ld-cris/tls-ld-7.d: Update.
965 * testsuite/ld-cris/tls-ldgd-14.d: Update.
966 * testsuite/ld-cris/tls-ldgd-15.d: Update.
967 * testsuite/ld-cris/tls-ldgdx-14.d: Update.
968 * testsuite/ld-cris/tls-ldgdx-15.d: Update.
969 * testsuite/ld-cris/tls-local-54.d: Update.
970 * testsuite/ld-cris/tls-local-60.d: Update.
971 * testsuite/ld-cris/tls-local-61.d: Update.
972 * testsuite/ld-cris/tls-local-63.d: Update.
973 * testsuite/ld-cris/tls-local-64.d: Update.
974 * testsuite/ld-cris/tls-ok-30.d: Update.
975 * testsuite/ld-cris/tls-ok-32.d: Update.
976 * testsuite/ld-cris/tls-ok-34.d: Update.
977 * testsuite/ld-mips-elf/tls-multi-got-1.got: Update.
978 * testsuite/ld-mips-elf/tls-multi-got-1.r: Update.
979 * testsuite/ld-mips-elf/tlsdyn-pie-o32.d: Update.
980 * testsuite/ld-mips-elf/tlsdyn-pie-o32.got: Update.
981 * testsuite/ld-mips-elf/tlslib-o32-hidden.got: Update.
982 * testsuite/ld-mips-elf/tlslib-o32-ver.got: Update.
983 * testsuite/ld-mips-elf/tlslib-o32.got: Update.
984 * testsuite/ld-s390/tlspic.rd: Update.
985 * testsuite/ld-s390/tlspic_64.rd: Update.
986 * testsuite/ld-sparc/tlssunnopic32.rd: Update.
987 * testsuite/ld-sparc/tlssunnopic64.rd: Update.
988 * testsuite/ld-sparc/tlssunpic32.rd: Update.
989 * testsuite/ld-sparc/tlssunpic64.rd: Update.
991 2019-07-13 Alan Modra <amodra@gmail.com>
994 * ldlang.h (enum section_type): Add first_overlay_section.
995 * ldlang.c (lang_add_section): Adjust switch statement.
996 (map_input_to_output_sections): Likewise.
997 (lang_size_sections_1): Always set last_os for first overlay section.
998 (lang_leave_overlay): Set sectype to first_overlay_section.
1000 2019-07-08 Alan Modra <amodra@gmail.com>
1002 * testsuite/ld-powerpc/callstub-1.d: Pass -melf64ppc to ld.
1003 * testsuite/ld-powerpc/callstub-2.d: Likewise.
1005 2019-07-04 Jan Beulich <jbeulich@suse.com>
1007 * testsuite/ld-elf/group9.s: Correct argument of .type.
1009 2019-07-02 Nick Clifton <nickc@redhat.com>
1012 * emultempl/aarch64elf.em (_aarch64_add_stub_section): Include the
1013 LINKER_CREATED section flag when creating the stub section.
1015 2019-07-02 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1017 * testsuite/ld-arm/arm-elf.exp: Add tests.
1018 * testsuite/ld-arm/cmse_main.s: New test.
1019 * testsuite/ld-arm/cmse_main_sec_debug.d: Likewise.
1020 * testsuite/ld-arm/cmse_sec_debug.s: Likewise.
1022 2019-07-01 Nick Clifton <nickc@redhat.com>
1025 * testsuite/ld-arm/unwind-4.d: Adjust for corrected calculation of
1028 2019-06-28 Alan Modra <amodra@gmail.com>
1030 * testsuite/ld-powerpc/callstub-1.d,
1031 * testsuite/ld-powerpc/callstub-1.s: New test.
1032 * testsuite/ld-powerpc/callstub-2.d,
1033 * testsuite/ld-powerpc/callstub-2.s: New test.
1034 * testsuite/ld-powerpc/powerpc.exp: Run them.
1036 2019-06-25 Jan Beulich <jbeulich@suse.com>
1038 * plugin.c (get_lto_kind, get_lto_resolution,
1039 get_lto_visibility): Rename "index" to "idx".
1041 2019-06-24 H.J. Lu <hongjiu.lu@intel.com>
1044 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/24721 tests.
1045 * testsuite/ld-x86-64/pr24721-x32.d: New file.
1046 * testsuite/ld-x86-64/pr24721.d: Likewise.
1047 * testsuite/ld-x86-64/pr24721.map: Likewise.
1048 * testsuite/ld-x86-64/pr24721a.s: Likewise.
1049 * testsuite/ld-x86-64/pr24721b.s: Likewise.
1051 2019-06-23 Alan Modra <amodra@gmail.com>
1054 * testsuite/ld-powerpc/elfv2exe.d: Update.
1055 * testsuite/ld-powerpc/elfv2so.d: Update.
1057 2019-06-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
1059 * testsuite/ld-aarch64/aarch64-elf.exp: Add emit-relocs-22 and -23.
1060 * testsuite/ld-aarch64/emit-relocs-22.d: New test.
1061 * testsuite/ld-aarch64/emit-relocs-22.s: New test.
1062 * testsuite/ld-aarch64/emit-relocs-23.d: New test.
1063 * testsuite/ld-aarch64/emit-relocs-23.s: New test.
1065 2019-06-14 Alan Modra <amodra@gmail.com>
1067 * Makefile.in: Regenerate.
1068 * configure: Regenerate.
1070 2019-06-14 Alan Modra <amodra@gmail.com>
1073 * testsuite/ld-alpha/tlsbin.rd: Update.
1074 * testsuite/ld-alpha/tlsbinr.rd: Update.
1075 * testsuite/ld-alpha/tlspic.rd: Update.
1077 2019-06-07 Maciej W. Rozycki <macro@wdc.com>
1079 * ld.texi (Options): Also document `-rpath' option restrictions
1080 in the description of the option itself.
1082 2019-06-06 Sudakshina Das <sudi.das@arm.com>
1084 * testsuite/ld-aarch64/aarch64-elf.exp: Add new tests.
1085 * testsuite/ld-aarch64/property-bti-pac4-a.d: New test.
1086 * testsuite/ld-aarch64/property-bti-pac4-b.d: New test.
1087 * testsuite/ld-aarch64/property-bti-pac4.s: New test.
1089 2019-06-06 Sudakshina Das <sudi.das@arm.com>
1091 * NEWS: Update options names.
1092 * emultempl/aarch64elf.em (OPTION_FORCE_BTI, OPTION_PAC_PLT): Remove.
1093 (PARSE_AND_LIST_LONGOPTS): Remove force-bti and pac-plt.
1094 (PARSE_AND_LIST_OPTIONS): Update to -z.
1095 (PARSE_AND_LIST_ARGS_CASE_Z_AARCH64): New.
1096 (PARSE_AND_LIST_ARGS_CASE_Z): Add PARSE_AND_LIST_ARGS_CASE_Z_AARCH64.
1097 (PARSE_AND_LIST_ARGS_CASES): Move cases for these options.
1098 * testsuite/ld-aarch64/bti-pac-plt-1.d: Update option.
1099 * testsuite/ld-aarch64/bti-pac-plt-2.d: Likewise.
1100 * testsuite/ld-aarch64/bti-plt-1.d: Likewise.
1101 * testsuite/ld-aarch64/bti-plt-2.d: Likewise.
1102 * testsuite/ld-aarch64/bti-plt-3.d: Likewise.
1103 * testsuite/ld-aarch64/bti-plt-4.d: Likewise.
1104 * testsuite/ld-aarch64/bti-plt-6.d: Likewise.
1105 * testsuite/ld-aarch64/bti-plt-7.d: Likewise.
1106 * testsuite/ld-aarch64/bti-warn.d: Likewise.
1107 * testsuite/ld-aarch64/pac-plt-1.d: Likewise.
1108 * testsuite/ld-aarch64/pac-plt-2.d: Likewise.
1110 2019-05-30 Nick Clifton <nickc@redhat.com>
1113 * testsuite/ld-elf/ver_def.vd: Update expected output.
1115 2019-05-30 Alan Modra <amodra@gmail.com>
1118 * emulparams/m9s12zelf.sh (TEMPLATE_NAME): Set to generic.
1119 (EXTRA_EM_FILE): Define to genelf.
1120 * testsuite/lib/ld-lib.exp (uses_genelf): Add s12z.
1122 2019-05-30 Alan Modra <amodra@gmail.com>
1124 * testsuite/lib/ld-lib.exp (run_ld_link_tests): Support procedure
1125 calls in optional "xfail" args.
1126 (run_ld_link_exec_tests): Likewise.
1128 (uses_genelf): Rename from is_generic_elf. Delete bogus semicolons.
1129 * testsuite/ld-scripts/align.exp: Rename is_generic_elf call.
1130 * testsuite/ld-elf/elf.exp: Use is_generic and uses_genelf. Delete
1132 * testsuite/ld-elf/sec64k.exp: Use is_generic.
1133 * testsuite/ld-elf/shared.exp: Likewise.
1134 * testsuite/ld-discard/extern.d: Use is_generic in xfail.
1135 * testsuite/ld-discard/start.d: Likewise.
1136 * testsuite/ld-discard/static.d: Likewise.
1137 * testsuite/ld-elf/attributes.d: Likewise.
1138 * testsuite/ld-elf/group1.d: Likewise.
1139 * testsuite/ld-elf/group3b.d: Likewise.
1140 * testsuite/ld-elf/group8a.d: Likewise.
1141 * testsuite/ld-elf/group8b.d: Likewise.
1142 * testsuite/ld-elf/group9a.d: Likewise.
1143 * testsuite/ld-elf/group9b.d: Likewise.
1144 * testsuite/ld-elf/linkonce2.d: Likewise.
1145 * testsuite/ld-elf/merge2.d: Likewise.
1146 * testsuite/ld-elf/merge3.d: Likewise.
1147 * testsuite/ld-elf/pr12851.d: Likewise.
1148 * testsuite/ld-elf/pr12975.d: Likewise.
1149 * testsuite/ld-elf/pr13177.d: Likewise.
1150 * testsuite/ld-elf/pr13195.d: Likewise.
1151 * testsuite/ld-elf/pr17550c.d: Likewise.
1152 * testsuite/ld-elf/pr17550d.d: Likewise.
1153 * testsuite/ld-elf/pr17615.d: Likewise.
1154 * testsuite/ld-elf/pr21562a.d: Likewise.
1155 * testsuite/ld-elf/pr21562b.d: Likewise.
1156 * testsuite/ld-elf/pr21562c.d: Likewise.
1157 * testsuite/ld-elf/pr21562d.d: Likewise.
1158 * testsuite/ld-elf/pr21562i.d: Likewise.
1159 * testsuite/ld-elf/pr21562j.d: Likewise.
1160 * testsuite/ld-elf/pr21562k.d: Likewise.
1161 * testsuite/ld-elf/pr21562l.d: Likewise.
1162 * testsuite/ld-elf/pr21562m.d: Likewise.
1163 * testsuite/ld-elf/pr21562n.d: Likewise.
1164 * testsuite/ld-elf/pr22677.d: Likewise.
1165 * testsuite/ld-elf/pr22836-1a.d: Likewise.
1166 * testsuite/ld-elf/pr22836-1b.d: Likewise.
1167 * testsuite/ld-elf/warn3.d: Likewise.
1168 * testsuite/ld-elf/warn1.d: Likewise and xfail sparc solaris
1169 targets rather than notarget.
1170 * testsuite/ld-elf/compressed1d.d: Use uses_genelf in xfail.
1171 * testsuite/ld-elf/orphan-10.d: Likewise.
1172 * testsuite/ld-elf/orphan-9.d: Likewise.
1173 * testsuite/ld-elf/orphan-region.d: Likewise.
1174 * testsuite/ld-elf/orphan.d: Likewise.
1175 * testsuite/ld-elf/orphan3.d: Likewise.
1176 * testsuite/ld-elf/pr20528a.d: Likewise.
1177 * testsuite/ld-elf/pr20528b.d: Likewise.
1178 * testsuite/ld-elf/pr23658-1a.d: Likewise.
1179 * testsuite/ld-elf/pr23658-1b.d: Likewise.
1180 * testsuite/ld-elf/pr349.d: Likewise.
1181 * testsuite/ld-elf/warn2.d: Likewise and xfail sparc solaris
1182 targets rather than notarget.
1183 * testsuite/ld-elf/merge.d: Correct ms1-*-* to mt-*-*.
1185 2019-05-28 Faraz Shahbazker <fshahbazker@wavecomp.com>
1187 * testsuite/ld-mips-elf/undefweak-overflow.s: Remove test case
1188 for pcrel_hi/pcrel_lo.
1189 * testsuite/ld-mips-elf/undefweak-overflow.d: Update to match.
1190 * testsuite/ld-mips-elf/reloc-pcrel-r6.s: New test source.
1191 * testsuite/ld-mips-elf/reloc-pcrel-r6.d: New test linker script.
1192 * testsuite/ld-mips-elf/reloc-pcrel-r6.ld: New test.
1193 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
1195 2019-05-28 Alan Modra <amodra@gmail.com>
1198 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Check that
1199 the output is coff before accessing coff tdata.
1200 * emultempl/pep.em (gld_${EMULATION_NAME}_after_open): Likewise.
1202 2019-05-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
1204 * testsuite/ld-aarch64/variant_pcs-now.d: Use --hash-style=sysv.
1205 * testsuite/ld-aarch64/variant_pcs-shared.d: Likewise.
1207 2019-05-27 Alan Modra <amodra@gmail.com>
1210 * emultempl/genelf.em (gld${EMULATION_NAME}_after_open): Set
1211 BFS_KEEP on group signature symbol.
1213 2019-04-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
1215 * testsuite/ld-aarch64/aarch64-elf.exp: Add new tests.
1216 * testsuite/ld-aarch64/variant_pcs-1.s: New asm for tests.
1217 * testsuite/ld-aarch64/variant_pcs-2.s: New asm for tests.
1218 * testsuite/ld-aarch64/variant_pcs-now.d: New test.
1219 * testsuite/ld-aarch64/variant_pcs-r.d: New test.
1220 * testsuite/ld-aarch64/variant_pcs-shared.d: New test.
1221 * testsuite/ld-aarch64/variant_pcs.ld: New linker script for tests.
1223 2019-05-24 Alan Modra <amodra@gmail.com>
1225 * po/BLD-POTFILES.in: Regenerate.
1227 2019-05-24 Alan Modra <amodra@gmail.com>
1229 * testsuite/ld-powerpc/notoc2.d,
1230 * testsuite/ld-powerpc/notoc2.s: New test.
1231 * testsuite/ld-powerpc/powerpc.exp: Run it.
1233 2019-05-24 Alan Modra <amodra@gmail.com>
1235 * testsuite/ld-powerpc/pcrelopt.s,
1236 * testsuite/ld-powerpc/pcrelopt.d,
1237 * testsuite/ld-powerpc/pcrelopt.sec: New test.
1238 * testsuite/ld-powerpc/powerpc.exp: Run it.
1240 2019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com>
1242 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64bpf.c.
1243 * Makefile.in (prefix): Regenerate.
1244 * configure.tgt (targ_extra_ofiles): Add case for bpf-*-* targets.
1245 * emulparams/elf64bpf.sh: New file.
1246 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Add
1247 bpf-*-* to the list of targets not supporting gc-sections.
1248 * testsuite/ld-bpf/bar.s: New file.
1249 * testsuite/ld-bpf/jump-1.d: Likewise.
1250 * testsuite/ld-bpf/foo.s: Likewise.
1251 * testsuite/ld-bpf/call-1.d: Likewise.
1252 * testsuite/ld-bpf/bpf.exp: Likewise.
1253 * testsuite/ld-bpf/baz.s: Likewise.
1255 2019-05-23 Alan Modra <amodra@gmail.com>
1258 * ldfile.c (enum script_open_style): New.
1259 (struct script_name_list): New.
1260 (ldfile_open_command_file_1): Take a script_open_style param
1261 rather than booleans. Adjust callers. Only fail when -T or
1262 default -T script is invoked twice.
1263 (ldfile_try_open_bfd): Revert last change.
1265 2019-05-22 Julius Werner <jwerner@chromium.org>
1266 Nick Clifton <nickc@redhat.com>
1269 * ld/ldfile.c: (ldfile_open_command_file_1): Add new parameter -
1270 is_script. If true check that the file has not already been
1271 parsed as a linker script.
1272 (ldfile_open_script_file): New function.
1273 (ldfile_try_open_bfd): Use the new function in place of
1274 ldfile_open_command_line.
1275 * ldmain.c (main): Likewise.
1276 * lexsup.c (parse_args): Use the new function for opening linker
1277 scripts with the -T option.
1278 * ldfile.h (ldfile_open_script_file): Add prototype.
1280 2019-05-21 Faraz Shahbazker <fshahbazker@wavecomp.com>
1282 * testsuite/ld-mips-elf/pic-reloc-5.s: Add tests for
1283 %tprel_hi and %tprel_lo relocations.
1284 * testsuite/ld-mips-elf/pic-reloc-6.s: Likewise.
1285 * testsuite/ld-mips-elf/pic-reloc-5.d: Update accordingly.
1286 * testsuite/ld-mips-elf/pic-reloc-6.d: Likewise.
1287 * testsuite/ld-mips-elf/pic-reloc-tls.ld: New test linker
1290 2019-05-21 Faraz Shahbazker <fshahbazker@wavecomp.com>
1292 * testsuite/ld-mips-elf/pic-reloc-5.d: New test.
1293 * testsuite/ld-mips-elf/pic-reloc-6.d: New test.
1294 * testsuite/ld-mips-elf/pic-reloc-7.d: New test.
1295 * testsuite/ld-mips-elf/pic-reloc-5.s: New test source.
1296 * testsuite/ld-mips-elf/pic-reloc-6.s: New test source.
1297 * testsuite/ld-mips-elf/pic-reloc-7.s: New test source.
1298 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1300 2019-05-21 Matthew Fortune <matthew.fortune@mips.com>
1301 Faraz Shahbazker <fshahbazker@wavecomp.com>
1303 * emultempl/mipself.em (compact_branches): New static variable.
1304 (mips_create_output_section_statements): Call
1305 _bfd_mips_elf_compact_branches.
1306 (PARSE_AND_LIST_PROLOGUE): Add OPTION_COMPACT_BRANCHES and
1307 OPTION_NO_COMPACT_BRANCHES.
1308 (PARSE_AND_LIST_LONGOPTS): Add compact-branches,
1309 no-compact-branches.
1310 (PARSE_AND_LIST_OPTIONS): Add --compact-branches,
1311 --no-compact-branches.
1312 (PARSE_AND_LIST_ARGS_CASES): Handle the above.
1313 * ld.texinfo: Document --compact-branches, --no-compact-branches.
1314 * testsuite/ld-mips-elf/pic-and-nonpic-1-r6.dd: New test.
1315 * testsuite/ld-mips-elf/pic-and-nonpic-1-r6.nd: New test.
1316 * testsuite/ld-mips-elf/pic-and-nonpic-3a-r6.dd: New test.
1317 * testsuite/ld-mips-elf/pic-and-nonpic-3a-r6.gd: New test.
1318 * testsuite/ld-mips-elf/pic-and-nonpic-1a-r6.s: New test source.
1319 * testsuite/ld-mips-elf/pic-and-nonpic-3a-r6.s: New test source.
1320 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1322 2019-05-21 Andre Vieira <andre.simoesdiasvieira@arm.com>
1324 * testsuite/ld-arm/arm-elf.exp: Add tests
1325 * testsuite/ld-arm/bfs-0.s: New test.
1326 * testsuite/ld-arm/bfs-1.s: New test.
1327 * testsuite/ld-arm/branch-futures.d: New test.
1329 2019-05-21 Tamar Christina <tamar.christina@arm.com>
1332 * emultempl/aarch64elf.em (PARSE_AND_LIST_LONGOPTS): Add optional args
1334 * NEWS: Add changes to flag.
1335 (PARSE_AND_LIST_OPTIONS): Update help descriptions.
1336 (PARSE_AND_LIST_ARGS_CASES): Add new options to parser.
1337 * testsuite/ld-aarch64/aarch64-elf.exp: Add new run_dump_tests.
1338 * testsuite/ld-aarch64/erratum843419-adr.d: New test.
1339 * testsuite/ld-aarch64/erratum843419-adrp.d: New test.
1340 * testsuite/ld-aarch64/erratum843419-far-adr.d: New test.
1341 * testsuite/ld-aarch64/erratum843419-far-full.d: New test.
1342 * testsuite/ld-aarch64/erratum843419-far.s: New test.
1343 * testsuite/ld-aarch64/erratum843419-full.d: New test.
1344 * testsuite/ld-aarch64/erratum843419-near.s: New test.
1345 * testsuite/ld-aarch64/erratum843419-no-args.d: New test.
1347 2019-05-21 Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com>
1350 * ld/testsuite/ld-avr/relax-insn-at-range-boundary.d: New test.
1351 * ld/testsuite/ld-avr/relax-insn-at-range-boundary.s: New test.
1353 2019-05-21 Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com>
1356 * testsuite/ld-avr/wraparound-range-boundary.d: New test.
1357 * testsuite/ld-avr/wraparound-range-boundary.s: New test.
1359 2019-05-20 Faraz Shahbazker <fshahbazker@wavecomp.com>
1362 * testsuite/ld-mips-elf/reloc-6a.s: Specify .text section for
1363 global code symbols.
1364 * testsuite/ld-mips-elf/reloc-6b.s: Likewise.
1366 2019-05-17 Alan Modra <amodra@gmail.com>
1369 * plugin.c (plugin_notice): Do not let a common symbol override
1370 a non-common definition in IR.
1372 2019-05-09 Dimitar Dimitrov <dimitar@dinux.eu>
1374 * scripttempl/pru.sc (__init_array_begin, __init_array_begin):
1377 2019-05-08 Pekka Seppänen <pexu@sourceware.mail.kapsi.fi>
1380 * ldbuildid.c (generate_build_id): Cast return value from
1381 GetProcAddress in order to avoid a compile time warning.
1383 2019-05-06 Alan Modra <amodra@gmail.com>
1385 * testsuite/ld-undefined/weak-undef.exp: Don't xfail pj.
1387 2019-05-04 Alan Modra <amodra@gmail.com>
1389 * testsuite/ld-scripts/fill.d: Don't xfail m32c
1390 * testsuite/ld-scripts/fill16.d: Likewise.
1392 2019-05-04 Alan Modra <amodra@gmail.com>
1395 * testsuite/ld-elf/pr14156a.d: Allow for .init/.fini being a
1396 data section on hppa64.
1397 * testsuite/ld-elf/pr14156b.d: Likewise.
1398 * testsuite/ld-scripts/pr18963.t: Map standard sections to set
1399 output section flags.
1400 * testsuite/ld-scripts/sane1.t: Likewise.
1401 * testsuite/ld-elf/init-fini-arrays.s: Reference __init_array_start
1402 and __fini_array_start. Define __start et al.
1403 * testsuite/ld-elf/pr24511.d: New test.
1405 2019-04-30 Alan Modra <amodra@gmail.com>
1407 * testsuite/ld-powerpc/elfv2exe.d: Update.
1408 * testsuite/ld-powerpc/elfv2so.d: Update.
1409 * testsuite/ld-powerpc/tocopt.d: Update.
1410 * testsuite/ld-powerpc/tocopt.s: Update.
1411 * testsuite/ld-powerpc/tocopt5.d: Update.
1412 * testsuite/ld-powerpc/tocopt5.s: Update.
1413 * testsuite/ld-powerpc/tocopt7.d: Update.
1414 * testsuite/ld-powerpc/tocopt7.s: Update.
1415 * testsuite/ld-powerpc/tocopt8.d: Update.
1416 * testsuite/ld-powerpc/tocopt8.s: Update.
1418 2019-04-30 Alan Modra <amodra@gmail.com>
1420 * ld.texi (How GNU properties are merged): Avoid pod2man error.
1423 2019-04-26 H.J. Lu <hongjiu.lu@intel.com>
1426 * testsuite/ld-plugin/lto.exp: Run PR ld/24486 tests.
1427 * testsuite/ld-plugin/pr24486a.c: New file.
1428 * testsuite/ld-plugin/pr24486b.c: Likewise.
1429 * testsuite/ld-plugin/pr24486c.c: Likewise.
1431 2019-04-26 Nick Clifton <nickc@redhat.com>
1433 * po/ru.po: Updated Russian translation.
1435 2019-04-26 Christopher Yeleighton <giecrilj@stegny.2a.pl>
1437 * ld.texi: Properly hyphenate the word "specific".
1439 2019-04-25 H.J. Lu <hongjiu.lu@intel.com>
1442 * ld.texi: Remove LTO warning from --wrap.
1443 * plugin.c (get_symbols): Update resolution for wrapper and
1445 * testsuite/ld-plugin/lto.exp: Run ld/24406 tests.
1446 * testsuite/ld-plugin/pr24406-1.c: New file.
1447 * testsuite/ld-plugin/pr24406-2a.c: Likewise.
1448 * testsuite/ld-plugin/pr24406-2b.c: Likewise.
1450 2019-04-25 Sudakshina Das <sudi.das@arm.com>
1452 * testsuite/ld-aarch64/bti-pac-plt-1.d: Update.
1453 * testsuite/ld-aarch64/bti-pac-plt-2.d: Update.
1454 * testsuite/ld-aarch64/bti-plt-1.d: Update.
1455 * testsuite/ld-aarch64/bti-plt-3.d: Update.
1456 * testsuite/ld-aarch64/bti-plt-5.d: Update.
1457 * testsuite/ld-aarch64/pac-plt-1.d: Update.
1458 * testsuite/ld-aarch64/pac-plt-2.d: Update.
1460 2019-04-24 Sandra Loosemore <sandra@codesourcery.com>
1462 * testsuite/config/default.exp: Use [check_compiler_available]
1463 instead of [which $CC].
1464 * testsuite/ld-auto-import/auto-import.exp: Likewise.
1465 * testsuite/ld-cygwin/exe-export.exp: Likewise.
1466 * testsuite/ld-elf/audit.exp: Likewise.
1467 * testsuite/ld-elf/compress.exp: Likewise.
1468 * testsuite/ld-elf/dwarf.exp: Likewise.
1469 * testsuite/ld-elf/elf.exp: Likewise.
1470 * testsuite/ld-elf/indirect.exp: Likewise.
1471 * testsuite/ld-elf/linux-x86.exp: Likewise.
1472 * testsuite/ld-elf/shared.exp: Likewise.
1473 * testsuite/ld-elf/tls.exp: Likewise.
1474 * testsuite/ld-elf/wrap.exp: Likewise.
1475 * testsuite/ld-elfcomm/elfcomm.exp: Likewise.
1476 * testsuite/ld-elfvers/vers.exp: Likewise.
1477 * testsuite/ld-elfvsb/elfvsb.exp: Likewise.
1478 * testsuite/ld-elfweak/elfweak.exp: Likewise.
1479 * testsuite/ld-gc/gc.exp: Likewise.
1480 * testsuite/ld-i386/i386.exp: Likewise.
1481 * testsuite/ld-i386/no-plt.exp: Likewise.
1482 * testsuite/ld-i386/tls.exp: Likewise.
1483 * testsuite/ld-ifunc/ifunc.exp: Likewise.
1484 * testsuite/ld-mn10300/mn10300.exp: Likewise.
1485 * testsuite/ld-pe/pe-compile.exp: Likewise.
1486 * testsuite/ld-pe/pe-run.exp: Likewise.
1487 * testsuite/ld-pe/pe-run2.exp: Likewise.
1488 * testsuite/ld-pie/pie.exp: Likewise.
1489 * testsuite/ld-plugin/lto.exp: Likewise.
1490 * testsuite/ld-plugin/plugin.exp: Likewise.
1491 * testsuite/ld-scripts/crossref.exp: Likewise.
1492 * testsuite/ld-sh/sh.exp: Likewise.
1493 * testsuite/ld-shared/shared.exp: Likewise.
1494 * testsuite/ld-size/size.exp: Likewise.
1495 * testsuite/ld-srec/srec.exp: Likewise.
1496 * testsuite/ld-undefined/undefined.exp: Likewise.
1497 * testsuite/ld-unique/unique.exp: Likewise.
1498 * testsuite/ld-x86-64/mpx.exp: Likewise.
1499 * testsuite/ld-x86-64/no-plt.exp: Likewise.
1500 * testsuite/ld-x86-64/tls.exp: Likewise.
1501 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1502 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Call
1503 check_compiler_available before trying to use the compiler.
1504 (run_cc_link_tests): Likewise.
1505 (check_compiler_available): New. Use it instead of [which $CC].
1507 2019-04-23 Alan Modra <amodra@gmail.com>
1509 * Makefile.am (GENDEPDIR): New var, used..
1510 (GENSCRIPTS): ..here.
1511 * Makefile.in: Regenerate.
1512 * genscripts.sh: Test for $DEPDIR set before every use.
1514 2019-04-22 Matthew Fortune <matthew.fortune@mips.com>
1516 * testsuite/ld-mips-elf/mips-elf-flags.exp: Fix expected ASEs
1519 2019-04-19 Alan Modra <amodra@gmail.com>
1521 * testsuite/ld-gc/skip-map-discarded.s: Add section attributes.
1522 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Add
1523 s12z to list of targets not supporting --gc-sections.
1525 2019-04-17 H.J. Lu <hongjiu.lu@intel.com>
1527 * testsuite/ld-i386/i386.exp: Run pr18801a and pr18801b instead
1529 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1530 * testsuite/ld-i386/pr18801.d: Removed.
1531 * testsuite/ld-x86-64/pr18801.d: Likewise.
1532 * testsuite/ld-i386/pr18801a.d: New file.
1533 * testsuite/ld-i386/pr18801b.d: Likewise.
1534 * testsuite/ld-x86-64/pr18801a.d: Likewise.
1535 * testsuite/ld-x86-64/pr18801b.d: Likewise.
1536 * testsuite/ld-x86-64/pie2.d: Suggest -fPIE instead of -fPIC.
1537 * testsuite/ld-x86-64/pie2.d: Likewise.
1538 * testsuite/ld-x86-64/pr19719.d: Likewise.
1539 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
1540 * testsuite/ld-x86-64/pr19969.d: Likewise.
1541 * testsuite/ld-x86-64/pr21997-1a.err: Likewise.
1542 * testsuite/ld-x86-64/pr21997-1b.err: Likewise.
1543 * testsuite/ld-x86-64/pr22001-1a.err: Likewise.
1544 * testsuite/ld-x86-64/pr22001-1b.err: Likewise.
1545 * testsuite/ld-x86-64/pr22791-1.err: Likewise.
1547 2019-04-17 H.J. Lu <hongjiu.lu@intel.com>
1550 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/24458 tests.
1551 * testsuite/ld-x86-64/pr24458.s: New file.
1552 * testsuite/ld-x86-64/pr24458a-x32.d: Likewise.
1553 * testsuite/ld-x86-64/pr24458a.d: Likewise.
1554 * testsuite/ld-x86-64/pr24458b-x32.d: Likewise.
1555 * testsuite/ld-x86-64/pr24458b.d: Likewise.
1556 * testsuite/ld-x86-64/pr24458c-x32.d: Likewise.
1557 * testsuite/ld-x86-64/pr24458c.d: Likewise.
1559 2019-04-17 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1561 * config/tc-msp430.c (msp430_make_init_symbols): Define __crt0_init_bss
1562 symbol when .lower.bss or .either.bss sections exist.
1563 Define __crt0_movedata when .lower.data or .either.data sections exist.
1564 * testsuite/gas/msp430/either-data-bss-sym.d: New test.
1565 * testsuite/gas/msp430/low-data-bss-sym.d: New test.
1566 * testsuite/gas/msp430/either-data-bss-sym.s: New test source.
1567 * testsuite/gas/msp430/low-data-bss-sym.s: New test source.
1568 * testsuite/gas/msp430/msp430.exp: Run new tests.
1569 Enable large code model when running -mdata-region={upper,either}
1572 2019-04-16 Alan Modra <amodra@gmail.com>
1574 * testsuite/ld-scripts/pr20302.d: Don't run for ns32k-*-*.
1575 * testsuite/ld-scripts/section-match-1.d: Likewise.
1576 * testsuite/ld-undefined/require-defined.exp: Likewise.
1578 2019-04-15 Faraz Shahbazker <fshahbazker@wavecomp.com>
1580 * testsuite/ld-gc/gc.exp: Skip print-map-discarded test for non-ELF
1583 2019-04-15 Sudakshina Das <sudi.das@arm.com>
1585 * testsuite/ld-arm/bfcsel.s: New.
1586 * testsuite/ld-arm/bfcsel.d: New.
1587 * testsuite/ld-arm/arm-elf.exp: Add above test.
1589 2019-04-15 Sudakshina Das <sudi.das@arm.com>
1591 * testsuite/ld-arm/bfl.s: New.
1592 * testsuite/ld-arm/bfl.d: New.
1593 * testsuite/ld-arm/arm-elf.exp: Add above test.
1595 2019-04-15 Sudakshina Das <sudi.das@arm.com>
1597 * testsuite/ld-arm/bf.s: New.
1598 * testsuite/ld-arm/bf.d: New.
1599 * testsuite/ld-arm/arm-elf.exp: Add above test.
1601 2019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
1603 * testsuite/ld-arm/attr-merge-13.attr: New test.
1604 * testsuite/ld-arm/attr-merge-13a.s: New test.
1605 * testsuite/ld-arm/attr-merge-13b.s: New test.
1607 2019-04-13 Alan Modra <amodra@gmail.com>
1609 * Makefile.am (GENSCRIPTS): Pass LIB_PATH as a parameter. Add
1611 (ELF_DEPS, ELF_GEN_DEPS, ELF_X86_DEPS): Delete.
1612 (ALL_EMULATION_SOURCES, ALL_64_EMULATION_SOURCES): Depend on
1614 (e*.c): Delete all dependencies, instead include dependencies
1616 * Makefile.in: Regenerate.
1617 * configure.ac (source_sh): Define and use function.
1618 * configure: Regenerate.
1619 * emulparams/aarch64cloudabib.sh, * emulparams/aarch64elf32b.sh,
1620 * emulparams/aarch64elfb.sh, * emulparams/aarch64fbsdb.sh,
1621 * emulparams/aarch64linux32b.sh, * emulparams/aarch64linuxb.sh,
1622 * emulparams/arcelf.sh, * emulparams/arcelf_prof.sh,
1623 * emulparams/arclinux.sh, * emulparams/arclinux_nps.sh,
1624 * emulparams/arclinux_prof.sh, * emulparams/arcv2elf.sh,
1625 * emulparams/arcv2elfx.sh, * emulparams/armelf_fbsd.sh,
1626 * emulparams/armelf_linux_eabi.sh,
1627 * emulparams/armelf_linux_fdpiceabi.sh,
1628 * emulparams/armelf_nacl.sh, * emulparams/armelf_nbsd.sh,
1629 * emulparams/armelf_vxworks.sh, * emulparams/armelfb.sh,
1630 * emulparams/armelfb_fbsd.sh, * emulparams/armelfb_fuchsia.sh,
1631 * emulparams/armelfb_linux.sh, * emulparams/armelfb_linux_eabi.sh,
1632 * emulparams/armelfb_linux_fdpiceabi.sh,
1633 * emulparams/armelfb_nacl.sh, * emulparams/armelfb_nbsd.sh,
1634 * emulparams/armsymbian.sh, * emulparams/cskyelf_linux.sh,
1635 * emulparams/elf32_sparc_sol2.sh,
1636 * emulparams/elf32_sparc_vxworks.sh, * emulparams/elf32_tic6x_be.sh,
1637 * emulparams/elf32_tic6x_elf_be.sh,
1638 * emulparams/elf32_tic6x_elf_le.sh,
1639 * emulparams/elf32_tic6x_linux_be.sh,
1640 * emulparams/elf32_tic6x_linux_le.sh,
1641 * emulparams/elf32_x86_64.sh, * emulparams/elf32_x86_64_nacl.sh,
1642 * emulparams/elf32b4300.sh, * emulparams/elf32bfinfd.sh,
1643 * emulparams/elf32bmipn32.sh, * emulparams/elf32bsmip.sh,
1644 * emulparams/elf32btsmip.sh, * emulparams/elf32btsmip_fbsd.sh,
1645 * emulparams/elf32btsmipn32.sh, * emulparams/elf32btsmipn32_fbsd.sh,
1646 * emulparams/elf32ebmip.sh, * emulparams/elf32ebmipvxworks.sh,
1647 * emulparams/elf32elmip.sh, * emulparams/elf32elmipvxworks.sh,
1648 * emulparams/elf32frvfd.sh, * emulparams/elf32l4300.sh,
1649 * emulparams/elf32lm32fd.sh, * emulparams/elf32lmip.sh,
1650 * emulparams/elf32lppc.sh, * emulparams/elf32lppclinux.sh,
1651 * emulparams/elf32lppcnto.sh, * emulparams/elf32lppcsim.sh,
1652 * emulparams/elf32lr5900.sh, * emulparams/elf32lr5900n32.sh,
1653 * emulparams/elf32lriscv.sh, * emulparams/elf32lriscv_ilp32.sh,
1654 * emulparams/elf32lriscv_ilp32f.sh, * emulparams/elf32lsmip.sh,
1655 * emulparams/elf32ltsmip.sh, * emulparams/elf32ltsmip_fbsd.sh,
1656 * emulparams/elf32ltsmipn32.sh, * emulparams/elf32ltsmipn32_fbsd.sh,
1657 * emulparams/elf32microblazeel.sh, * emulparams/elf32or1k_linux.sh,
1658 * emulparams/elf32ppc.sh, * emulparams/elf32ppc_fbsd.sh,
1659 * emulparams/elf32ppccommon.sh, * emulparams/elf32ppclinux.sh,
1660 * emulparams/elf32ppcnto.sh, * emulparams/elf32ppcsim.sh,
1661 * emulparams/elf32ppcvxworks.sh, * emulparams/elf32ppcwindiss.sh,
1662 * emulparams/elf32tilegx_be.sh, * emulparams/elf64_ia64_fbsd.sh,
1663 * emulparams/elf64_sparc_fbsd.sh, * emulparams/elf64_sparc_sol2.sh,
1664 * emulparams/elf64alpha_fbsd.sh, * emulparams/elf64alpha_nbsd.sh,
1665 * emulparams/elf64bmip-defs.sh, * emulparams/elf64bmip.sh,
1666 * emulparams/elf64btsmip.sh, * emulparams/elf64btsmip_fbsd.sh,
1667 * emulparams/elf64lppc.sh, * emulparams/elf64lriscv-defs.sh,
1668 * emulparams/elf64lriscv.sh, * emulparams/elf64lriscv_lp64.sh,
1669 * emulparams/elf64lriscv_lp64f.sh, * emulparams/elf64ltsmip.sh,
1670 * emulparams/elf64ltsmip_fbsd.sh, * emulparams/elf64ppc.sh,
1671 * emulparams/elf64ppc_fbsd.sh, * emulparams/elf64rdos.sh,
1672 * emulparams/elf64tilegx_be.sh, * emulparams/elf_i386.sh,
1673 * emulparams/elf_i386_be.sh, * emulparams/elf_i386_fbsd.sh,
1674 * emulparams/elf_i386_ldso.sh, * emulparams/elf_i386_nacl.sh,
1675 * emulparams/elf_i386_sol2.sh, * emulparams/elf_i386_vxworks.sh,
1676 * emulparams/elf_iamcu.sh, * emulparams/elf_k1om.sh,
1677 * emulparams/elf_k1om_fbsd.sh, * emulparams/elf_l1om.sh,
1678 * emulparams/elf_l1om_fbsd.sh, * emulparams/elf_x86_64.sh,
1679 * emulparams/elf_x86_64_cloudabi.sh,
1680 * emulparams/elf_x86_64_fbsd.sh, * emulparams/elf_x86_64_nacl.sh,
1681 * emulparams/elf_x86_64_sol2.sh, * emulparams/h8300helf.sh,
1682 * emulparams/h8300helf_linux.sh, * emulparams/h8300hnelf.sh,
1683 * emulparams/h8300self.sh, * emulparams/h8300self_linux.sh,
1684 * emulparams/h8300snelf.sh, * emulparams/h8300sxelf.sh,
1685 * emulparams/h8300sxelf_linux.sh, * emulparams/h8300sxnelf.sh,
1686 * emulparams/hppanbsd.sh, * emulparams/hppaobsd.sh,
1687 * emulparams/m32rlelf.sh, * emulparams/m32rlelf_linux.sh,
1688 * emulparams/m68kelfnbsd.sh, * emulparams/mn10300.sh,
1689 * emulparams/msp430X.sh, * emulparams/nds32belf.sh,
1690 * emulparams/nds32belf16m.sh, * emulparams/nds32belf_linux.sh,
1691 * emulparams/pjlelf.sh, * emulparams/ppclynx.sh,
1692 * emulparams/score7_elf.sh, * emulparams/shelf_fd.sh,
1693 * emulparams/shelf_linux.sh, * emulparams/shelf_nbsd.sh,
1694 * emulparams/shelf_uclinux.sh, * emulparams/shelf_vxworks.sh,
1695 * emulparams/shl.sh, * emulparams/shlelf.sh,
1696 * emulparams/shlelf_fd.sh, * emulparams/shlelf_nbsd.sh,
1697 * emulparams/shlelf_vxworks.sh: Use source_sh.
1698 * genscripts.sh: Adjust for changed parameters. Emit dependencies
1699 for e*.c to .deps/*.Pc.
1700 (source_sh): New function, use it throughout to source scripts.
1701 * genscrba.sh (source_em): Use source_sh.
1703 2019-04-13 Alan Modra <amodra@gmail.com>
1705 * configure.ac (TDIRS): Build up tdirs in this variable and
1706 AC_SUBST, also using AM_SUBST_NOTMAKE.
1707 * configure: Regenerate.
1708 * Makefile.am (DISTCLEANFILES): Remove tdirs.
1709 * Makefile.in: Regenerate.
1711 2019-04-12 Nick Clifton <nickc@redhat.com>
1714 * ld.texi (Output Section Attributes): Add ALIGN_WITH_INPUT to
1715 example of section attributes.
1717 2019-04-11 Faraz Shahbazker <fshahbazker@wavecomp.com>
1719 * NEWS: Mention new option --no-print-map-discarded.
1720 * ld.h (ld_config_type) <print_map_discarded>: New field.
1721 * ldlang.c (lang_map): Conditionally output discarded sections
1722 in map files based on configuration option.
1723 * ldlex.h (option_values) <OPTION_PRINT_MAP_DISCARDED,
1724 OPTION_NO_PRINT_MAP_DISCARDED>: New.
1725 * ldmain.c (main): Enabled print_map_discarded by default.
1726 * lexsup.c (ld_options): Add new command-line options.
1727 (parse_args) <OPTION_NO_PRINT_MAP_DISCARDED,
1728 OPTION_PRINT_MAP_DISCARDED>: New cases.
1729 * ld.texi: Document new options.
1730 * testsuite/ld-gc/gc.exp: Add new test.
1731 * testsuite/ld-gc/skip-map-discarded.s: New file.
1732 * testsuite/ld-gc/skip-map-discarded.d: New file.
1733 * testsuite/ld-gc/skip-map-discarded.map: New file.
1735 2019-04-11 H.J. Lu <hongjiu.lu@intel.com>
1737 * ld.texi: Document -z cet-report=[none|warning|error].
1738 * emulparams/cet.sh: Add -z cet-report=[none|warning|error].
1739 * testsuite/ld-i386/i386.exp: Run -z cet-report=[warning|error]
1741 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1742 * testsuite/ld-i386/property-x86-cet1.d: New file.
1743 * testsuite/ld-i386/property-x86-cet2a.d: Likewise.
1744 * testsuite/ld-i386/property-x86-cet2b.d: Likewise.
1745 * testsuite/ld-i386/property-x86-cet3a.d: Likewise.
1746 * testsuite/ld-i386/property-x86-cet3b.d: Likewise.
1747 * testsuite/ld-i386/property-x86-cet4a.d: Likewise.
1748 * testsuite/ld-i386/property-x86-cet4b.d: Likewise.
1749 * testsuite/ld-i386/property-x86-cet5a.d: Likewise.
1750 * testsuite/ld-i386/property-x86-cet5b.d: Likewise.
1751 * testsuite/ld-i386/property-x86-cet6.d: Likewise.
1752 * testsuite/ld-x86-64/property-x86-cet.s: Likewise.
1753 * testsuite/ld-x86-64/property-x86-cet1-x32.d: Likewise.
1754 * testsuite/ld-x86-64/property-x86-cet1.d: Likewise.
1755 * testsuite/ld-x86-64/property-x86-cet2a-x32.d: Likewise.
1756 * testsuite/ld-x86-64/property-x86-cet2a.d: Likewise.
1757 * testsuite/ld-x86-64/property-x86-cet2b-x32.d: Likewise.
1758 * testsuite/ld-x86-64/property-x86-cet2b.d: Likewise.
1759 * testsuite/ld-x86-64/property-x86-cet3a-x32.d: Likewise.
1760 * testsuite/ld-x86-64/property-x86-cet3a.d: Likewise.
1761 * testsuite/ld-x86-64/property-x86-cet3b-x32.d: Likewise.
1762 * testsuite/ld-x86-64/property-x86-cet3b.d: Likewise.
1763 * testsuite/ld-x86-64/property-x86-cet4a-x32.d: Likewise.
1764 * testsuite/ld-x86-64/property-x86-cet4a.d: Likewise.
1765 * testsuite/ld-x86-64/property-x86-cet4b-x32.d: Likewise.
1766 * testsuite/ld-x86-64/property-x86-cet4b.d: Likewise.
1767 * testsuite/ld-x86-64/property-x86-cet5a-x32.d: Likewise.
1768 * testsuite/ld-x86-64/property-x86-cet5a.d: Likewise.
1769 * testsuite/ld-x86-64/property-x86-cet5b-x32.d: Likewise.
1770 * testsuite/ld-x86-64/property-x86-cet5b.d: Likewise.
1771 * testsuite/ld-x86-64/property-x86-cet6-x32.d: Likewise.
1772 * testsuite/ld-x86-64/property-x86-cet6.d: Likewise.
1774 2019-04-11 H.J. Lu <hongjiu.lu@intel.com>
1776 * testsuite/config/default.exp (STATIC_PIE_LDFLAGS): New. Set
1777 to "-static-pie" if target compiler supports it.
1778 * testsuite/ld-elf/elf.exp: Run -static-pie tests if
1779 $STATIC_PIE_LDFLAGS isn't empty.
1780 * testsuite/ld-ifunc/ifunc.exp: Likewise.
1782 2019-04-11 Tamar Christina <tamar.christina@arm.com>
1785 * testsuite/ld-aarch64/aarch64-elf.exp: Add new test.
1786 * testsuite/ld-aarch64/tls-relax-gdesc-le-now.d: New test.
1788 2019-04-10 H.J. Lu <hongjiu.lu@intel.com>
1790 * scripttempl/elf.sc (CREATE_PIC): New. Set for CREATE_SHLIB or
1792 (__rel_iplt_start): Don't define for CREATE_PIC.
1793 (__rel_iplt_end): Likewise.
1794 (__rela_iplt_start): Likewise.
1795 (__rela_iplt_end): Likewise.
1797 2019-04-10 Alan Modra <amodra@gmail.com>
1799 * testsuite/ld-elf/shared.exp: Don't xfail PR ld/20995 for
1802 2019-04-10 Alan Modra <amodra@gmail.com>
1804 * emultempl/cskyelf.em (csk_elf_before_parse): New function,
1805 setting use_branch_stub false for linux.
1806 (csky_elf_create_output_section_statements): Do emit this
1807 function and all others in the file for linux, plus the branch
1808 option control. Disable branch stubs when non-ELF.
1810 2019-04-10 Alan Modra <amodra@gmail.com>
1812 * Makefile.am (eskyelf.c, eskyelf_linux.c): Depend on cskyelf.em.
1813 (ecskyelf_linux.c): Depend on cskyelf.sh.
1814 (eelf32microblazeel.c): Depend on elf32microblaze.sh.
1815 * Makefile.in: Regenerate.
1816 * emulparams/cskyelf.sh: Comment regarding cskelf_linux.sh.
1817 (PAGE_SIZE): Don't define.
1818 * emulparams/cskyelf_linux.sh: Source sckyelf.sh, leaving just
1819 the differing variable defs/undefs.
1820 * emulparams/elf32mcore.sh (PAGE_SIZE): Don't define.
1821 * emulparams/elf32microblaze.sh: Comment re. elf32microblazeel.sh.
1822 (OUTPUT_FORMAT): Use BIG_OUTPUT_FORMAT.
1823 (PAGE_SIZE): Don't define.
1824 * emulparams/elf32microblazeel.sh: Source elf32microblaze.sh,
1825 leaving just the differing OUTPUT_FORMAT.
1827 2019-04-10 Alan Modra <amodra@gmail.com>
1829 * po/BLD-POTFILES.in: Regenerate.
1831 2019-04-08 H.J. Lu <hongjiu.lu@intel.com>
1833 * testsuite/ld-elf/shared.exp: XFAIL PR ld/20995 tests for
1834 lynxos and nto targets.
1836 2019-04-08 H.J. Lu <hongjiu.lu@intel.com>
1838 * Makefile.am (ALL_EMULATION_SOURCES): Remove eelf_i386_chaos.c.
1839 (eelf_i386_chaos.c): Removed.
1840 * Makefile.in: Regenerated.
1841 * configure.tgt: Remove i[3-7]86-*-kaos*.
1842 * emulparams/elf_i386_chaos.sh: Removed.
1844 2019-04-08 H.J. Lu <hongjiu.lu@intel.com>
1846 * emulparams/elf_i386_be.sh (EXTRA_EM_FILE): New.
1847 * emulparams/i386moss.sh (EXTRA_EM_FILE): Likewise.
1849 2019-04-08 Alan Modra <amodra@gmail.com>
1851 * emulparams/elf64rdos.sh (EXTRA_EM_FILE): Define.
1852 * emulparams/i386lynx.sh (EXTRA_EM_FILE): Define.
1853 * emulparams/i386nto.sh (EXTRA_EM_FILE): Define.
1855 2019-04-06 H.J. Lu <hongjiu.lu@intel.com>
1857 * Makefile.am (ELF_X86_DEPS): Add $(srcdir)/emultempl/elf-x86.em.
1858 (eelf_i386_sol2.c): Also depend on
1859 $(srcdir)/emultempl/solaris2-x86.em.
1860 (eelf_x86_64_sol2.c): Likewise.
1861 * Makefile.in: Regenerated.
1862 * emulparams/call_nop.sh: Set x86-specific linker options via
1864 * emulparams/cet.sh: Likewise.
1865 * emulparams/reloc_overflow.sh: Likewise.
1866 * emulparams/elf32_x86_64.sh (EXTRA_EM_FILE): New. Set to
1868 * emulparams/elf_i386.sh: Likewise.
1869 * emulparams/elf_i386_be.sh: Likewise.
1870 * emulparams/elf_i386_chaos.sh: Likewise.
1871 * emulparams/elf_i386_ldso.sh: Likewise.
1872 * emulparams/elf_i386_vxworks.sh: Likewise.
1873 * emulparams/elf_iamcu.sh: Likewise.
1874 * emulparams/elf_k1om.sh: Likewise.
1875 * emulparams/elf_l1om.sh: Likewise.
1876 * emulparams/elf_x86_64.sh: Likewise.
1877 * emulparams/elf_i386_sol2.sh (EXTRA_EM_FILE): Changed to
1879 * emulparams/elf_x86_64_sol2.sh: Likewise.
1880 * emultempl/elf-x86.em: New file.
1881 * emultempl/solaris2-x86.em: Likewise.
1882 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
1883 set link_info.call_nop_byte.
1885 2019-04-05 Alan Modra <amodra@gmail.com>
1887 * testsuite/ld-powerpc/tlsexe32.d: Remove trailing spaces.
1888 * testsuite/ld-powerpc/tlsopt5.d: Likewise.
1889 * testsuite/ld-powerpc/tlsopt5_32.d: Likewise.
1891 2019-04-03 Alan Modra <amodra@gmail.com>
1894 ldlex.l (SYMBOLNAMECHAR1): Don't match '/'.
1895 (<EXPRESSION>"/DISCARD/"): New.
1897 2019-04-03 Alan Modra <amodra@gmail.com>
1899 * ldlex.l: Formatting.
1900 (CMDFILENAMECHAR, CMDFILENAMECHAR1): Delete.
1901 (FILENAMECHAR1, SYMBOLNAMECHAR1, FILENAMECHAR, WILDCHAR),
1902 (NOCFILENAMECHAR): Remove duplicate chars. Reorder.
1903 (SYMBOLCHARN): Likewise. Rename to SYMBOLNAMECHAR.
1904 (<INPUTLIST>"$SYSROOT"..): Delete rule.
1906 2019-03-29 Max Filippov <jcmvbkbc@gmail.com>
1908 * testsuite/ld-xtensa/relax-undef-weak-pie-export-dynamic.d: New
1910 * testsuite/ld-xtensa/xtensa.exp
1911 (relax-undef-weak-pie-export-dynamic): Add new test.
1913 2019-03-26 Martin Liska <mliska@suse.cz>
1915 * plugin.c (get_symbols): Add lto_kind_str, lto_resolution_str,
1916 lto_visibility_str and use then to inform about plugin-symbols.
1917 * testsuite/ld-plugin/plugin-12.d: Adjust expected pattern.
1919 2019-03-25 Tamar Christina <tamar.christina@arm.com>
1921 * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Update disassembly.
1922 * testsuite/ld-arm/jump-reloc-veneers-long.d: Update disassembly.
1924 2019-03-21 Sudakshina Das <sudi.das@arm.com>
1926 * testsuite/ld-aarch64/aarch64-elf.exp: Add new test.
1927 * testsuite/ld-aarch64/bti-plt-1.s: Add .ifdef for PAC note section.
1928 * testsuite/ld-aarch64/bti-plt-6.d: Update warning.
1929 * testsuite/ld-aarch64/bti-plt-7.d: Likewise.
1930 * testsuite/ld-aarch64/bti-warn.d: New test.
1932 2019-03-21 Alan Modra <amodra@gmail.com>
1934 * testsuite/ld-elf/fini2.s: Reduce alignment.
1935 * testsuite/ld-elf/fini3.s: Likewise.
1936 * testsuite/ld-elf/finin.s: Likewise.
1937 * testsuite/ld-elf/init2.s: Likewise.
1938 * testsuite/ld-elf/init3.s: Likewise.
1939 * testsuite/ld-elf/initn.s: Likewise.
1940 * testsuite/ld-elf/pr14156a.d: Don't xfail m68hc1*-* or xgate-*.
1941 * testsuite/ld-elf/pr14156b.d: Don't xfail xgate-*.
1943 2019-03-21 Alan Modra <amodra@gmail.com>
1945 * scripttempl/alpha.sc, * scripttempl/armbpabi.sc,
1946 * scripttempl/crisaout.sc, * scripttempl/elf32cr16.sc,
1947 * scripttempl/elf32crx.sc, * scripttempl/elf32xc16x.sc,
1948 * scripttempl/elf32xc16xl.sc, * scripttempl/elf32xc16xs.sc,
1949 * scripttempl/elf64hppa.sc, * scripttempl/elf_chaos.sc,
1950 * scripttempl/elfarc.sc, * scripttempl/elfarcv2.sc,
1951 * scripttempl/elfd30v.sc, * scripttempl/elfm68hc11.sc,
1952 * scripttempl/elfm68hc12.sc, * scripttempl/elfm9s12z.sc,
1953 * scripttempl/elfmicroblaze.sc, * scripttempl/elfxgate.sc,
1954 * scripttempl/elfxtensa.sc, * scripttempl/epiphany_4x4.sc,
1955 * scripttempl/ft32.sc, * scripttempl/i386beos.sc,
1956 * scripttempl/iq2000.sc, * scripttempl/mcorepe.sc,
1957 * scripttempl/mep.sc, * scripttempl/mips.sc, * scripttempl/moxie.sc,
1958 * scripttempl/pe.sc, * scripttempl/pep.sc, * scripttempl/ppcpe.sc,
1959 * scripttempl/tic4xcoff.sc, * scripttempl/tic80coff.sc,
1960 * scripttempl/v850.sc, * scripttempl/v850_rh850.sc,
1961 * scripttempl/visium.sc, * scripttempl/xstormy16.sc: Add KEEP and
1962 SORT_NONE to .init and .fini wildcards.
1963 * scripttempl/elf32xc16x.sc,
1964 * scripttempl/elf32xc16xl.sc,
1965 * scripttempl/elf32xc16xs.sc: Add .fini wildcard.
1966 * scripttempl/elf_chaos.sc: Add .init output section.
1967 * scripttempl/elfd30v.sc: Remove duplicate .init.
1968 * scripttempl/elfm68hc11.sc, * scripttempl/elfm68hc12.sc,
1969 * scripttempl/elfm9s12z.sc, * scripttempl/elfxgate.sc: Remove
1970 duplicate .init, and add .fini wildcard.
1971 * scripttempl/ppcpe.sc (INIT, FINI): Delete.
1972 * ldlang.c (update_wild_statements): Special case .init and
1973 .fini in the wildcard, not the output section.
1975 2019-03-21 Alan Modra <amodra@gmail.com>
1977 * emulparams/elf32lm32fd.sh (DYNAMIC_LINK): Undef.
1979 2019-03-21 Alan Modra <amodra@gmail.com>
1981 * ldlang.c (lang_size_sections_1): Set SEC_KEEP on
1982 create_object_symbols_section.
1983 * testsuite/ld-elf/pr22319.d: Don't xfail dlx.
1985 2019-03-18 Alan Modra <amodra@gmail.com>
1987 * testsuite/ld-elf/merge.d: Remove csky from xfails, add moxie.
1988 * testsuite/ld-elf/pr21884.d: Remove csky from xfails.
1989 * testsuite/ld-elf/shared.exp: Add csky to list not xfailing pr22374.
1990 * testsuite/ld-unique/pr21529.d: Remove csky from xfails
1992 2019-03-15 Nick Clifton <nickc@redhat.com>
1995 * ld.texi (-plugin): Correct the path used to locate linker
1998 2019-03-13 Sudakshina Das <sudi.das@arm.com>
2000 * NEWS: Document --pac-plt.
2001 * emultempl/aarch64elf.em (OPTION_PAC_PLT): New.
2002 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add pac-plt.
2003 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_PAC_PLT.
2004 * testsuite/ld-aarch64/aarch64-elf.exp: Add the following tests.
2005 * testsuite/ld-aarch64/bti-pac-plt-1.d: New test.
2006 * testsuite/ld-aarch64/bti-pac-plt-2.d: New test.
2007 * testsuite/ld-aarch64/pac-plt-1.d: New test.
2008 * testsuite/ld-aarch64/pac-plt-2.d: New test.
2009 * testsuite/ld-aarch64/bti-plt-1.s: Add .ifndef directive.
2011 2019-03-13 Sudakshina Das <sudi.das@arm.com>
2012 Szabolcs Nagy <szabolcs.nagy@arm.com>
2014 * NEWS: Document --force-bti.
2015 * emultempl/aarch64elf.em (plt_type, bti_type, OPTION_FORCE_BTI): New.
2016 (PARSE_AND_LIST_SHORTOPTS, PARSE_AND_LIST_OPTIONS): Add force-bti.
2017 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_FORCE_BTI.
2018 * testsuite/ld-aarch64/aarch64-elf.exp: Add all the tests below.
2019 * testsuite/ld-aarch64/bti-plt-1.d: New test.
2020 * testsuite/ld-aarch64/bti-plt-1.s: New test.
2021 * testsuite/ld-aarch64/bti-plt-2.d: New test.
2022 * testsuite/ld-aarch64/bti-plt-3.d: New test.
2023 * testsuite/ld-aarch64/bti-plt-4.d: New test.
2024 * testsuite/ld-aarch64/bti-plt-5.d: New test.
2025 * testsuite/ld-aarch64/bti-plt-6.d: New test.
2026 * testsuite/ld-aarch64/bti-plt-7.d: New test.
2027 * testsuite/ld-aarch64/bti-plt-so.s: New test.
2028 * testsuite/ld-aarch64/bti-plt.ld: New test.
2030 2019-03-13 Sudakshina Das <sudi.das@arm.com>
2032 * NEWS: Document GNU_PROPERTY_AARCH64_FEATURE_1_BTI and
2033 GNU_PROPERTY_AARCH64_FEATURE_1_PAC.
2034 * testsuite/ld-aarch64/aarch64-elf.exp: Add run commands for new tests.
2035 * testsuite/ld-aarch64/property-bti-pac1.d: New test.
2036 * testsuite/ld-aarch64/property-bti-pac1.s: New test.
2037 * testsuite/ld-aarch64/property-bti-pac2.d: New test.
2038 * testsuite/ld-aarch64/property-bti-pac2.s: New test.
2039 * testsuite/ld-aarch64/property-bti-pac3.d: New test.
2041 2019-03-13 H.J. Lu <hongjiu.lu@intel.com>
2044 * testsuite/ld-i386/i386.exp: Run PR ld/24322 tests.
2045 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2046 * testsuite/ld-i386/pr24322a.d: New file.
2047 * testsuite/ld-i386/pr24322b.d: Likewise.
2048 * testsuite/ld-x86-64/pr24322a-x32.d: Likewise.
2049 * testsuite/ld-x86-64/pr24322a.d: Likewise.
2050 * testsuite/ld-x86-64/pr24322b-x32.d: Likewise.
2051 * testsuite/ld-x86-64/pr24322b.d: Likewise.
2052 * testsuite/ld-x86-64/pr24322a.s: Likewise.
2053 * testsuite/ld-x86-64/pr24322b.s: Likewise.
2054 * testsuite/ld-x86-64/pr24322c.s: Likewise.
2056 2019-03-06 Nick Bowler <nbowler@draconx.ca>
2059 * ldexp.c (fold_name): Allow lookups of the LENGTH and ORIGIN
2060 attributes during the first phase.
2062 2019-03-01 Andreas Krebbel <krebbel@linux.ibm.com>
2064 This reverts commit 5a12586d44fa8d5dfc74cbca4f2f36a273a16335.
2065 2019-01-14 Maamoun Tarsha <maamountk@hotmail.com>
2068 * emulparams/elf64_s390.sh (SEPARATE_GOTPLT): Define.
2069 * emulparams/elf_s390.sh (SEPARATE_GOTPLT): Define.
2070 * testsuite/ld-s390/gotreloc_31-1.dd: Update expected output.
2071 * testsuite/ld-s390/tlsbin.dd: Likewise.
2072 * testsuite/ld-s390/tlsbin.rd: Likewise.
2073 * testsuite/ld-s390/tlsbin.sd: Likewise.
2074 * testsuite/ld-s390/tlsbin_64.dd: Likewise.
2075 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
2076 * testsuite/ld-s390/tlsbin_64.sd: Likewise.
2077 * testsuite/ld-s390/tlspic.dd: Likewise.
2078 * testsuite/ld-s390/tlspic.rd: Likewise.
2079 * testsuite/ld-s390/tlspic.sd: Likewise.
2080 * testsuite/ld-s390/tlspic_64.dd: Likewise.
2081 * testsuite/ld-s390/tlspic_64.rd: Likewise.
2082 * testsuite/ld-s390/tlspic_64.sd: Likewise.
2083 * testsuite/ld-s390/s390.exp: Skip s390 tests for tpf targets.
2085 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
2088 * testsuite/ld-i386/i386.exp: Run PR ld/24276 test.
2089 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2090 * testsuite/ld-i386/pr24276.dso: New file.
2091 * testsuite/ld-i386/pr24276.warn: Likewise.
2092 * testsuite/ld-x86-64/pr24276.dso: Likewise.
2093 * testsuite/ld-x86-64/pr24276.warn: Likewise.
2095 2019-02-20 Eric Tsai <erictsai@cadence.com>
2097 * testsuite/ld-xtensa/call_overflow.d: New test definition.
2098 * testsuite/ld-xtensa/call_overflow1.s: New test source.
2099 * testsuite/ld-xtensa/call_overflow2.s: New test source.
2100 * testsuite/ld-xtensa/call_overflow3.s: New test source.
2101 * testsuite/ld-xtensa/xtensa.exp: Add call_overflow test.
2103 2019-02-14 Thomas Schwinge <thomas@codesourcery.com>
2105 * testsuite/ld-elf/elf.exp: Remove Hurd XFAILs.
2107 2019-02-12 Nick Clifton <nickc@redhat.com>
2109 * po/fr.po: Updated French translation.
2111 2019-02-09 Vineet Gupta <vgupta@synopsys.com>
2113 * emultempl/arclinux.em: Delete special INIT/FINI handling.
2115 2019-02-07 Nick Clifton <nickc@redhat.com>
2118 * ld.texi (Options): Add missing word to the description of the
2119 --start-group option.
2121 2019-02-06 Alan Modra <amodra@gmail.com>
2124 * testsuite/ld-scripts/pr24008.d: Pass with extra target
2127 2019-02-05 H.J. Lu <hongjiu.lu@intel.com>
2130 * testsuite/ld-x86-64/pr24151a-x32.d: New file.
2131 * testsuite/ld-x86-64/pr24151a.d: Likewise.
2132 * testsuite/ld-x86-64/pr24151a.s: Likewise.
2133 * testsuite/ld-x86-64/x86-64.exp: Run pr24151a and pr24151a-x32.
2135 2019-01-31 Alan Modra <amodra@gmail.com>
2137 * NEWS: Mention -t change.
2138 * ld.texi (--trace/-t): Expand documentation a little.
2140 2019-01-29 H.J. Lu <hongjiu.lu@intel.com>
2143 * testsuite/ld-scripts/defined.exp: Run pr24008.
2144 * testsuite/ld-scripts/pr24008.d: New file.
2145 * testsuite/ld-scripts/pr24008.map: Likewise.
2146 * testsuite/ld-scripts/pr24008.s: Likewise.
2147 * testsuite/ld-scripts/pr24008.t: Likewise.
2149 2019-01-29 Eric Botcazou <ebotcazou@adacore.com>
2151 * testsuite/ld-ifunc/ifunc.exp: Skip pr23169 on SPARC.
2153 2019-01-28 Alan Modra <amodra@gmail.com>
2156 * ldexp.h (lang_phase_type): Add lang_fixed_phase_enum.
2157 * ldexp.c (fold_name): Move expld.assign_name check later to
2158 avoid an extra lookup.
2159 (exp_fold_tree_1): When lang_fixed_phase_enum, don't change symbol
2160 values, and don't clear expld.assign_name.
2161 * ldlang.c (lang_map): Set expld.phase to lang_fixed_phase_enum.
2162 (print_assignment): Resolve entire assignment expression.
2163 Don't access symbol u.def unless symbol is defined.
2165 2019-01-25 Nick Clifton <nickc@redhat.com>
2167 * po/bg.po: Updated Bulgarian translation.
2169 2019-01-23 Sebastian Huber <sebastian.huber@embedded-brains.de>
2171 * ld.texi (--wrap): Add warning that LTO may make this feature
2174 2019-01-21 Nick Clifton <nickc@redhat.com>
2176 * po/uk.po: Updated Ukranian translation.
2177 * po/pr_BR.po: Updated Brazilian Portuguese translation.
2179 2019-01-21 Nick Clifton <nickc@redhat.com>
2182 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Update
2183 expected error message.
2185 2019-01-19 Nick Clifton <nickc@redhat.com>
2187 * configure: Regenerate.
2188 * po/ld.pot: Regenerate.
2190 2018-06-24 Nick Clifton <nickc@redhat.com>
2192 2.32 branch created.
2194 2019-01-16 Kito Cheng <kito@andestech.com>
2196 * testsuite/ld-elf/orphan-region.d: XFAIL for RISC-V, because add new
2198 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Add new tests.
2199 * testsuite/ld-riscv-elf/attr-merge-arch-01.d: New test.
2200 * testsuite/ld-riscv-elf/attr-merge-arch-01a.s: Likewise.
2201 * testsuite/ld-riscv-elf/attr-merge-arch-01b.s: Likewise.
2202 * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
2203 * testsuite/ld-riscv-elf/attr-merge-arch-02a.s: Likewise.
2204 * testsuite/ld-riscv-elf/attr-merge-arch-02b.s: Likewise.
2205 * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
2206 * testsuite/ld-riscv-elf/attr-merge-arch-03a.s: Likewise.
2207 * testsuite/ld-riscv-elf/attr-merge-arch-03b.s: Likewise.
2208 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Likewise.
2209 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01a.s: Likewise.
2210 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01b.s: Likewise.
2211 * testsuite/ld-riscv-elf/attr-merge-priv-spec-a.s: Likewise.
2212 * testsuite/ld-riscv-elf/attr-merge-priv-spec-b.s: Likewise.
2213 * testsuite/ld-riscv-elf/attr-merge-priv-spec.d: Likewise.
2214 * testsuite/ld-riscv-elf/attr-merge-stack-align-a.s: Likewise.
2215 * testsuite/ld-riscv-elf/attr-merge-stack-align-b.s: Likewise.
2216 * testsuite/ld-riscv-elf/attr-merge-stack-align-failed-a.s: Likewise.
2217 * testsuite/ld-riscv-elf/attr-merge-stack-align-failed-b.s: Likewise.
2218 * testsuite/ld-riscv-elf/attr-merge-stack-align-failed.d: Likewise.
2219 * testsuite/ld-riscv-elf/attr-merge-stack-align.d: Likewise.
2220 * testsuite/ld-riscv-elf/attr-merge-strict-align-01.d: Likewise.
2221 * testsuite/ld-riscv-elf/attr-merge-strict-align-01a.s: Likewise.
2222 * testsuite/ld-riscv-elf/attr-merge-strict-align-01b.s: Likewise.
2223 * testsuite/ld-riscv-elf/attr-merge-strict-align-02.d: Likewise.
2224 * testsuite/ld-riscv-elf/attr-merge-strict-align-02a.s: Likewise.
2225 * testsuite/ld-riscv-elf/attr-merge-strict-align-02b.s: Likewise.
2226 * testsuite/ld-riscv-elf/attr-merge-strict-align-03.d: Likewise.
2227 * testsuite/ld-riscv-elf/attr-merge-strict-align-03a.s: Likewise.
2228 * testsuite/ld-riscv-elf/attr-merge-strict-align-03b.s: Likewise.
2229 * testsuite/ld-riscv-elf/attr-merge-strict-align-04.d: Likewise.
2230 * testsuite/ld-riscv-elf/attr-merge-strict-align-04a.s: Likewise.
2231 * testsuite/ld-riscv-elf/attr-merge-strict-align-04b.s: Likewise.
2232 * testsuite/ld-riscv-elf/attr-merge-strict-align-05.d: Likewise.
2233 * testsuite/ld-riscv-elf/attr-merge-strict-align-05a.s: Likewise.
2234 * testsuite/ld-riscv-elf/attr-merge-strict-align-05b.s: Likewise.
2236 2019-01-14 Maamoun Tarsha <maamountk@hotmail.com>
2239 * emulparams/elf64_s390.sh (SEPARATE_GOTPLT): Define.
2240 * emulparams/elf_s390.sh (SEPARATE_GOTPLT): Define.
2241 * testsuite/ld-s390/gotreloc_31-1.dd: Update expected output.
2242 * testsuite/ld-s390/tlsbin.dd: Likewise.
2243 * testsuite/ld-s390/tlsbin.rd: Likewise.
2244 * testsuite/ld-s390/tlsbin.sd: Likewise.
2245 * testsuite/ld-s390/tlsbin_64.dd: Likewise.
2246 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
2247 * testsuite/ld-s390/tlsbin_64.sd: Likewise.
2248 * testsuite/ld-s390/tlspic.dd: Likewise.
2249 * testsuite/ld-s390/tlspic.rd: Likewise.
2250 * testsuite/ld-s390/tlspic.sd: Likewise.
2251 * testsuite/ld-s390/tlspic_64.dd: Likewise.
2252 * testsuite/ld-s390/tlspic_64.rd: Likewise.
2253 * testsuite/ld-s390/tlspic_64.sd: Likewise.
2254 * testsuite/ld-s390/s390.exp: Skip s390 tests for tpf targets.
2256 2019-01-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
2258 * ld.texi (--wrap): Add example to emphasise that only undefined
2259 references are replaced by the linker.
2261 2019-01-09 Nick Clifton <nickc@redhat.com>
2263 * po/es.po: Updated Spanish translation.
2265 2019-01-09 Andrew Paprocki <andrew@ishiboo.com>
2267 * configure: Regenerate.
2269 2019-01-08 Alan Modra <amodra@gmail.com>
2271 * testsuite/ld-elf/sec64k.exp: Use . rather than $objdir in
2272 generated source file names.
2273 * testsuite/ld-m68k/m68k-got.exp: Likewise.
2275 2019-01-01 Alan Modra <amodra@gmail.com>
2277 Update year range in copyright notice of all files.
2279 For older changes see ChangeLog-2018
2281 Copyright (C) 2019 Free Software Foundation, Inc.
2283 Copying and distribution of this file, with or without modification,
2284 are permitted in any medium without royalty provided the copyright
2285 notice and this notice are preserved.
2291 version-control: never