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