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