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