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