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