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