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