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