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