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