1 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
2 Mickaël Guêné <mickael.guene@st.com>
4 * testsuite/ld-elf/pr2404b.c (main): Rename time variable into
7 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
8 Mickaël Guêné <mickael.guene@st.com>
10 * scripttempl/elf.sc: Define __tdata_start for .tdata section.
12 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
13 Mickaël Guêné <mickael.guene@st.com>
15 * emulparams/armelf_linux_fdpiceabi.sh: Add .rofixup section.
17 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
18 Mickaël Guêné <mickael.guene@st.com>
20 * Makefile.am (ALL_EMULATION_SOURCES): Add
21 earmelf_linux_fdpiceabi.c and earmelfb_linux_fdpiceabi.c.
22 (earmelf_linux_fdpiceabi.c, earmelfb_linux_fdpiceabi.c): New rules.
23 * Makefile.in: Regenerate.
24 * configure.tgt (arm*-*-uclinuxfdpiceabi): Handle new target.
25 * emulparams/armelf_linux_fdpiceabi.sh: New.
26 * emulparams/armelfb_linux_fdpiceabi.sh: New.
28 2018-04-25 Alan Modra <amodra@gmail.com>
30 * Makefile.am: Remove arm-aout and arm-coff support.
31 * configure.tgt: Likewise.
32 * testsuite/ld-arm/attr-merge-div-00.d: Likewise.
33 * testsuite/ld-arm/attr-merge-div-01-m3.d: Likewise.
34 * testsuite/ld-arm/attr-merge-div-01.d: Likewise.
35 * testsuite/ld-arm/attr-merge-div-02.d: Likewise.
36 * testsuite/ld-arm/attr-merge-div-10-m3.d: Likewise.
37 * testsuite/ld-arm/attr-merge-div-10.d: Likewise.
38 * testsuite/ld-arm/attr-merge-div-11.d: Likewise.
39 * testsuite/ld-arm/attr-merge-div-12.d: Likewise.
40 * testsuite/ld-arm/attr-merge-div-120.d: Likewise.
41 * testsuite/ld-arm/attr-merge-div-20.d: Likewise.
42 * testsuite/ld-arm/attr-merge-div-21.d: Likewise.
43 * testsuite/ld-arm/attr-merge-div-22.d: Likewise.
44 * testsuite/ld-arm/attr-merge-hardfp-use-1.d: Likewise.
45 * testsuite/ld-arm/attr-merge-hardfp-use-2.d: Likewise.
46 * testsuite/ld-arm/attr-merge-nosection-1.d: Likewise.
47 * testsuite/ld-arm/attr-merge-unknown-2.d: Likewise.
48 * testsuite/ld-arm/attr-merge-unknown-2r.d: Likewise.
49 * testsuite/ld-arm/attr-merge-unknown-3.d: Likewise.
50 * testsuite/ld-arm/attr-merge-vfp-1.d: Likewise.
51 * testsuite/ld-arm/attr-merge-vfp-10.d: Likewise.
52 * testsuite/ld-arm/attr-merge-vfp-10r.d: Likewise.
53 * testsuite/ld-arm/attr-merge-vfp-11.d: Likewise.
54 * testsuite/ld-arm/attr-merge-vfp-11r.d: Likewise.
55 * testsuite/ld-arm/attr-merge-vfp-12.d: Likewise.
56 * testsuite/ld-arm/attr-merge-vfp-12r.d: Likewise.
57 * testsuite/ld-arm/attr-merge-vfp-13.d: Likewise.
58 * testsuite/ld-arm/attr-merge-vfp-13r.d: Likewise.
59 * testsuite/ld-arm/attr-merge-vfp-14.d: Likewise.
60 * testsuite/ld-arm/attr-merge-vfp-14r.d: Likewise.
61 * testsuite/ld-arm/attr-merge-vfp-1r.d: Likewise.
62 * testsuite/ld-arm/attr-merge-vfp-2.d: Likewise.
63 * testsuite/ld-arm/attr-merge-vfp-2r.d: Likewise.
64 * testsuite/ld-arm/attr-merge-vfp-3.d: Likewise.
65 * testsuite/ld-arm/attr-merge-vfp-3r.d: Likewise.
66 * testsuite/ld-arm/attr-merge-vfp-4.d: Likewise.
67 * testsuite/ld-arm/attr-merge-vfp-4r.d: Likewise.
68 * testsuite/ld-arm/attr-merge-vfp-5.d: Likewise.
69 * testsuite/ld-arm/attr-merge-vfp-5r.d: Likewise.
70 * testsuite/ld-arm/attr-merge-vfp-6.d: Likewise.
71 * testsuite/ld-arm/attr-merge-vfp-6r.d: Likewise.
72 * testsuite/ld-arm/attr-merge-vfp-7.d: Likewise.
73 * testsuite/ld-arm/attr-merge-vfp-7r.d: Likewise.
74 * testsuite/ld-arm/attr-merge-vfp-8.d: Likewise.
75 * testsuite/ld-arm/attr-merge-vfp-8r.d: Likewise.
76 * testsuite/ld-arm/attr-merge-vfp-9.d: Likewise.
77 * testsuite/ld-arm/attr-merge-vfp-9r.d: Likewise.
78 * testsuite/ld-arm/attr-merge-wchar-00-nowarn.d: Likewise.
79 * testsuite/ld-arm/attr-merge-wchar-00.d: Likewise.
80 * testsuite/ld-arm/attr-merge-wchar-02-nowarn.d: Likewise.
81 * testsuite/ld-arm/attr-merge-wchar-02.d: Likewise.
82 * testsuite/ld-arm/attr-merge-wchar-04-nowarn.d: Likewise.
83 * testsuite/ld-arm/attr-merge-wchar-04.d: Likewise.
84 * testsuite/ld-arm/attr-merge-wchar-20-nowarn.d: Likewise.
85 * testsuite/ld-arm/attr-merge-wchar-20.d: Likewise.
86 * testsuite/ld-arm/attr-merge-wchar-22-nowarn.d: Likewise.
87 * testsuite/ld-arm/attr-merge-wchar-22.d: Likewise.
88 * testsuite/ld-arm/attr-merge-wchar-24-nowarn.d: Likewise.
89 * testsuite/ld-arm/attr-merge-wchar-40-nowarn.d: Likewise.
90 * testsuite/ld-arm/attr-merge-wchar-40.d: Likewise.
91 * testsuite/ld-arm/attr-merge-wchar-42-nowarn.d: Likewise.
92 * testsuite/ld-arm/attr-merge-wchar-44-nowarn.d: Likewise.
93 * testsuite/ld-arm/attr-merge-wchar-44.d: Likewise.
94 * testsuite/ld-arm/eabi-hard-float.d: Likewise.
95 * testsuite/ld-arm/eabi-soft-float-ABI4.d: Likewise.
96 * testsuite/ld-arm/eabi-soft-float-r.d: Likewise.
97 * testsuite/ld-arm/eabi-soft-float.d: Likewise.
98 * testsuite/ld-arm/gc-hidden-1.d: Likewise.
99 * emulparams/armaoutb.sh: Delete.
100 * emulparams/armaoutl.sh: Delete.
101 * emulparams/armcoff.sh: Delete.
102 * emulparams/armnbsd.sh: Delete.
103 * emulparams/riscix.sh: Delete.
104 * scripttempl/armaout.sc: Delete.
105 * scripttempl/armcoff.sc: Delete.
106 * scripttempl/riscix.sc: Delete.
107 * Makefile.in: Regenerate.
108 * po/BLD-POTFILES.in: Regenerate.
110 2018-04-21 Alan Modra <amodra@gmail.com>
112 * testsuite/lib/ld-lib.exp (run_host_cmd): Check that gcc -B
115 2018-04-18 Alan Modra <amodra@gmail.com>
117 * Makefile.am: Remove support for assorted i386 aout and coff targets.
118 * configure.tgt: Likewise.
119 * testsuite/ld-discard/discard.exp: Likewise.
120 * testsuite/ld-elf/binutils.exp: Likewise.
121 * testsuite/ld-elf/tls.exp: Likewise.
122 * testsuite/ld-elf/tls_common.exp: Likewise.
123 * testsuite/ld-elfvers/vers.exp: Likewise.
124 * testsuite/ld-elfvsb/elfvsb.exp: Likewise.
125 * testsuite/ld-elfweak/elfweak.exp: Likewise.
126 * testsuite/ld-gc/abi-note.d: Likewise.
127 * testsuite/ld-gc/pr19167.d: Likewise.
128 * testsuite/ld-gc/pr20022.d: Likewise.
129 * testsuite/ld-gc/start.d: Likewise.
130 * testsuite/ld-gc/stop.d: Likewise.
131 * testsuite/ld-i386/i386.exp: Likewise.
132 * testsuite/ld-ifunc/binutils.exp: Likewise.
133 * testsuite/ld-ifunc/ifunc.exp: Likewise.
134 * testsuite/ld-linkonce/linkonce.exp: Likewise.
135 * testsuite/ld-plugin/lto.exp: Likewise.
136 * testsuite/ld-scripts/empty-address-2a.d: Likewise.
137 * testsuite/ld-scripts/empty-address-2b.d: Likewise.
138 * testsuite/ld-scripts/phdrs2.exp: Likewise.
139 * testsuite/ld-scripts/section-match-1.d: Likewise.
140 * testsuite/ld-shared/shared.exp: Likewise.
141 * testsuite/ld-size/size.exp: Likewise.
142 * testsuite/ld-sparc/sparc.exp: Likewise.
143 * emulparams/i386coff.sh: Delete.
144 * emulparams/i386linux.sh: Delete.
145 * emulparams/i386mach.sh: Delete.
146 * emulparams/i386nbsd.sh: Delete.
147 * emulparams/vsta.sh: Delete.
148 * scripttempl/i386coff.sc: Delete.
149 * Makefile.in: Regenerate.
150 * po/BLD-POTFILES.in: Regenerate.
152 2018-04-17 Andrew Sadek <andrew.sadek.se@gmail.com>
154 Microblaze Target: PIC data text relative
156 * ld/lexsup.c (Add 2 ld options):
157 (ld_options): add disable-multiple-abs-defs @ 'ld_options' array
158 (parse_args): parse new option and pass flag to 'link_info' struct.
159 * ld/ldlex.h (Add enum): add new enum @ 'option_values' enum.
160 * ld/ld.texinfo (Add new option): Add description for
161 'disable-multiple-abs-defs'
162 * ld/main.c: Initialize flags with false @ 'main'. Handle
163 disable-multiple-abs-defs @ 'mutiple_definition'.
165 2018-04-16 Alan Modra <amodra@gmail.com>
167 * emultempl/sunos.em: Delete.
169 2018-04-16 Alan Modra <amodra@gmail.com>
171 * Makefile.am: Remove arm-epoc-pe support.
172 * configure.tgt: Likewise.
173 * emultempl/pe.em: Likewise.
174 * pe-dll.c: Likewise.
175 * testsuite/ld-scripts/fill.d: Likewise.
176 * testsuite/ld-scripts/fill16.d: Likewise.
177 * emulparams/arm_epoc_pe.sh: Delete.
178 * scripttempl/epocpe.sc: Delete.
179 * Makefile.in: Regenerate.
180 * po/BLD-POTFILES.in: Regenerate.
182 2018-04-16 Alan Modra <amodra@gmail.com>
184 * Makefile.am: Remove sparc-aout and sparc-coff support.
185 * configure.tgt: Likewise.
186 * testsuite/ld-elfvers/vers.exp: Likewise.
187 * testsuite/ld-elfvsb/elfvsb.exp: Likewise.
188 * testsuite/ld-elfweak/elfweak.exp: Likewise.
189 * testsuite/ld-shared/shared.exp: Likewise.
190 * emulparams/coff_sparc.sh: Delete.
191 * emulparams/sparcaout.sh: Delete.
192 * emulparams/sparclinux.sh: Delete.
193 * emulparams/sparcnbsd.sh: Delete.
194 * emulparams/sun4.sh: Delete.
195 * scripttempl/sparccoff.sc: Delete.
196 * Makefile.in: Regenerate.
197 * po/BLD-POTFILES.in: Regenerate.
199 2018-04-16 Alan Modra <amodra@gmail.com>
201 * Makefile.am: Remove m68k-aout and m68k-coff support.
202 * configure.tgt: Likewise.
203 * emultempl/m68kelf.em: Likewise.
204 * ld.texinfo: Likewise.
206 * emulparams/delta68.sh: Delete.
207 * emulparams/hp300bsd.sh: Delete.
208 * emulparams/hp3hpux.sh: Delete.
209 * emulparams/m68k4knbsd.sh: Delete.
210 * emulparams/m68kaout.sh: Delete.
211 * emulparams/m68kaux.sh: Delete.
212 * emulparams/m68kcoff.sh: Delete.
213 * emulparams/m68klinux.sh: Delete.
214 * emulparams/m68knbsd.sh: Delete.
215 * emulparams/m68kpsos.sh: Delete.
216 * emulparams/sun3.sh: Delete.
217 * emultempl/m68kcoff.em: Delete.
218 * scripttempl/delta68.sc: Delete.
219 * scripttempl/m68kaux.sc: Delete.
220 * scripttempl/m68kcoff.sc: Delete.
221 * scripttempl/psos.sc: Delete.
222 * testsuite/ld-versados/t1-1.ro: Delete.
223 * testsuite/ld-versados/t1-2.ro: Delete.
224 * testsuite/ld-versados/t1.ld: Delete.
225 * testsuite/ld-versados/t1.ook: Delete.
226 * testsuite/ld-versados/t2-1.ro: Delete.
227 * testsuite/ld-versados/t2-2.ro: Delete.
228 * testsuite/ld-versados/t2-3.ro: Delete.
229 * testsuite/ld-versados/t2.ld: Delete.
230 * testsuite/ld-versados/t2.ook: Delete.
231 * testsuite/ld-versados/versados.exp: Delete.
232 * Makefile.in: Regenerate.
233 * po/BLD-POTFILES.in: Regenerate.
235 2018-04-16 Alan Modra <amodra@gmail.com>
237 * Makefile.am: Remove sh5 and sh64 support.
238 * configure.tgt: Likewise.
239 * ldlang.c: Likewise.
240 * testsuite/ld-elfcomm/elfcomm.exp: Likewise.
241 * testsuite/ld-gc/gc.exp: Likewise.
242 * testsuite/ld-gc/pr13683.d: Likewise.
243 * testsuite/ld-scripts/crossref.exp: Likewise.
244 * testsuite/ld-selective/selective.exp: Likewise.
245 * testsuite/ld-sh/ld-r-1.d: Likewise.
246 * testsuite/ld-sh/rd-sh.exp: Likewise.
247 * testsuite/ld-sh/sh.exp: Likewise.
248 * testsuite/ld-srec/srec.exp: Likewise.
249 * testsuite/ld-undefined/undefined.exp: Likewise.
250 * emulparams/shelf32.sh: Delete.
251 * emulparams/shelf32_linux.sh: Delete.
252 * emulparams/shelf32_nbsd.sh: Delete.
253 * emulparams/shelf64.sh: Delete.
254 * emulparams/shelf64_nbsd.sh: Delete.
255 * emulparams/shlelf32.sh: Delete.
256 * emulparams/shlelf32_linux.sh: Delete.
257 * emulparams/shlelf32_nbsd.sh: Delete.
258 * emulparams/shlelf64.sh: Delete.
259 * emulparams/shlelf64_nbsd.sh: Delete.
260 * emultempl/sh64elf.em: Delete.
261 * testsuite/ld-sh/sh64/abi32.sd: Delete.
262 * testsuite/ld-sh/sh64/abi32.xd: Delete.
263 * testsuite/ld-sh/sh64/abi64.sd: Delete.
264 * testsuite/ld-sh/sh64/abi64.xd: Delete.
265 * testsuite/ld-sh/sh64/abixx-noexp.sd: Delete.
266 * testsuite/ld-sh/sh64/cmpct1.sd: Delete.
267 * testsuite/ld-sh/sh64/cmpct1.xd: Delete.
268 * testsuite/ld-sh/sh64/crange-1.s: Delete.
269 * testsuite/ld-sh/sh64/crange-2a.s: Delete.
270 * testsuite/ld-sh/sh64/crange-2b.s: Delete.
271 * testsuite/ld-sh/sh64/crange-2c.s: Delete.
272 * testsuite/ld-sh/sh64/crange-2d.s: Delete.
273 * testsuite/ld-sh/sh64/crange-2e.s: Delete.
274 * testsuite/ld-sh/sh64/crange-2f.s: Delete.
275 * testsuite/ld-sh/sh64/crange-2g.s: Delete.
276 * testsuite/ld-sh/sh64/crange-2h.s: Delete.
277 * testsuite/ld-sh/sh64/crange-2i.s: Delete.
278 * testsuite/ld-sh/sh64/crange1.rd: Delete.
279 * testsuite/ld-sh/sh64/crange2.rd: Delete.
280 * testsuite/ld-sh/sh64/crange3-cmpct.rd: Delete.
281 * testsuite/ld-sh/sh64/crange3-media.rd: Delete.
282 * testsuite/ld-sh/sh64/crange3.dd: Delete.
283 * testsuite/ld-sh/sh64/crange3.rd: Delete.
284 * testsuite/ld-sh/sh64/crangerel1.rd: Delete.
285 * testsuite/ld-sh/sh64/crangerel2.rd: Delete.
286 * testsuite/ld-sh/sh64/dlsection-1.s: Delete.
287 * testsuite/ld-sh/sh64/dlsection.sd: Delete.
288 * testsuite/ld-sh/sh64/endian.dbd: Delete.
289 * testsuite/ld-sh/sh64/endian.dld: Delete.
290 * testsuite/ld-sh/sh64/endian.ld: Delete.
291 * testsuite/ld-sh/sh64/endian.s: Delete.
292 * testsuite/ld-sh/sh64/endian.sbd: Delete.
293 * testsuite/ld-sh/sh64/endian.sld: Delete.
294 * testsuite/ld-sh/sh64/gotplt.d: Delete.
295 * testsuite/ld-sh/sh64/gotplt.map: Delete.
296 * testsuite/ld-sh/sh64/gotplt.s: Delete.
297 * testsuite/ld-sh/sh64/init-cmpct.d: Delete.
298 * testsuite/ld-sh/sh64/init-media.d: Delete.
299 * testsuite/ld-sh/sh64/init.s: Delete.
300 * testsuite/ld-sh/sh64/init64.d: Delete.
301 * testsuite/ld-sh/sh64/mix1-noexp.sd: Delete.
302 * testsuite/ld-sh/sh64/mix1.sd: Delete.
303 * testsuite/ld-sh/sh64/mix1.xd: Delete.
304 * testsuite/ld-sh/sh64/mix2-noexp.sd: Delete.
305 * testsuite/ld-sh/sh64/mix2.sd: Delete.
306 * testsuite/ld-sh/sh64/mix2.xd: Delete.
307 * testsuite/ld-sh/sh64/rd-sh64.exp: Delete.
308 * testsuite/ld-sh/sh64/rel-1.s: Delete.
309 * testsuite/ld-sh/sh64/rel-2.s: Delete.
310 * testsuite/ld-sh/sh64/rel32.xd: Delete.
311 * testsuite/ld-sh/sh64/rel64.xd: Delete.
312 * testsuite/ld-sh/sh64/relax.exp: Delete.
313 * testsuite/ld-sh/sh64/relax1.s: Delete.
314 * testsuite/ld-sh/sh64/relax2.s: Delete.
315 * testsuite/ld-sh/sh64/relax3.s: Delete.
316 * testsuite/ld-sh/sh64/relax4.s: Delete.
317 * testsuite/ld-sh/sh64/reldl-1.s: Delete.
318 * testsuite/ld-sh/sh64/reldl-2.s: Delete.
319 * testsuite/ld-sh/sh64/reldl32.rd: Delete.
320 * testsuite/ld-sh/sh64/reldl64.rd: Delete.
321 * testsuite/ld-sh/sh64/relfail.exp: Delete.
322 * testsuite/ld-sh/sh64/relfail.s: Delete.
323 * testsuite/ld-sh/sh64/sh64-1.s: Delete.
324 * testsuite/ld-sh/sh64/sh64-2.s: Delete.
325 * testsuite/ld-sh/sh64/sh64.exp: Delete.
326 * testsuite/ld-sh/sh64/shcmp-1.s: Delete.
327 * testsuite/ld-sh/sh64/shdl-1.s: Delete.
328 * testsuite/ld-sh/sh64/shdl-2.s: Delete.
329 * testsuite/ld-sh/sh64/shdl32.xd: Delete.
330 * testsuite/ld-sh/sh64/shdl64.sd: Delete.
331 * testsuite/ld-sh/sh64/shdl64.xd: Delete.
332 * testsuite/ld-sh/sh64/shmix-1.s: Delete.
333 * testsuite/ld-sh/sh64/shmix-2.s: Delete.
334 * testsuite/ld-sh/sh64/shmix-3.s: Delete.
335 * testsuite/ld-sh/sh64/stobin-0-dso.d: Delete.
336 * testsuite/ld-sh/sh64/stobin-1.d: Delete.
337 * testsuite/ld-sh/sh64/stobin.s: Delete.
338 * testsuite/ld-sh/sh64/stolib.s: Delete.
339 * Makefile.in: Regenerate.
340 * po/BLD-POTFILES.in: Regenerate.
342 2018-04-16 Alan Modra <amodra@gmail.com>
344 * Makefile.am: Remove sh-symbianelf support.
345 * configure.tgt: Likewise.
346 * emulparams/shlsymbian.sh: Delete.
347 * scripttempl/elf32sh-symbian.sc: Delete.
348 * Makefile.in: Regenerate.
349 * po/BLD-POTFILES.in: Regenerate.
351 2018-04-16 Alan Modra <amodra@gmail.com>
353 * Makefile.am: Remove vax-bsd and vax-ultrix support.
354 * configure.tgt: Likewise.
355 * emulparams/vax.sh: Delete.
356 * Makefile.in: Regenerate.
357 * po/BLD-POTFILES.in: Regenerate.
359 2018-04-16 Alan Modra <amodra@gmail.com>
361 * Makefile.am: Remove w65 support.
362 * configure.tgt: Likewise.
363 * emulparams/w65.sh: Delete.
364 * scripttempl/w65.sc: Delete.
365 * Makefile.in: Regenerate.
366 * po/BLD-POTFILES.in: Regenerate.
368 2018-04-16 Alan Modra <amodra@gmail.com>
370 * Makefile.am: Remove m88k support.
371 * configure.host: Likewise.
372 * configure.tgt: Likewise.
373 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
374 * emulparams/m88kbcs.sh: Delete.
375 * scripttempl/m88kbcs.sc: Delete.
376 * Makefile.in: Regenerate.
377 * po/BLD-POTFILES.in: Regenerate.
379 2018-04-16 Alan Modra <amodra@gmail.com>
381 * Makefile.am: Remove i370 support.
382 * configure.tgt: Likewise.
383 * testsuite/ld-elf/compressed1d.d: Likewise.
384 * testsuite/ld-elf/group8a.d: Likewise.
385 * testsuite/ld-elf/group8b.d: Likewise.
386 * testsuite/ld-elf/group9a.d: Likewise.
387 * testsuite/ld-elf/group9b.d: Likewise.
388 * testsuite/ld-elf/merge.d: Likewise.
389 * testsuite/ld-elf/pr12851.d: Likewise.
390 * testsuite/ld-elf/pr12975.d: Likewise.
391 * testsuite/ld-elf/pr13177.d: Likewise.
392 * testsuite/ld-elf/pr13195.d: Likewise.
393 * testsuite/ld-elf/pr17615.d: Likewise.
394 * testsuite/ld-elf/pr21562a.d: Likewise.
395 * testsuite/ld-elf/pr21562b.d: Likewise.
396 * testsuite/ld-elf/pr21562c.d: Likewise.
397 * testsuite/ld-elf/pr21562d.d: Likewise.
398 * testsuite/ld-elf/pr21562i.d: Likewise.
399 * testsuite/ld-elf/pr21562j.d: Likewise.
400 * testsuite/ld-elf/pr21562k.d: Likewise.
401 * testsuite/ld-elf/pr21562l.d: Likewise.
402 * testsuite/ld-elf/pr21562m.d: Likewise.
403 * testsuite/ld-elf/pr21562n.d: Likewise.
404 * testsuite/ld-elf/pr22677.d: Likewise.
405 * testsuite/lib/ld-lib.exp: Likewise.
406 * emulparams/elf32i370.sh: Delete.
407 * scripttempl/elfi370.sc: Delete.
408 * Makefile.in: Regenerate.
409 * po/BLD-POTFILES.in: Regenerate.
411 2018-04-16 Alan Modra <amodra@gmail.com>
413 * Makefile.am: Remove h8500 support.
414 * configure.tgt: Likewise.
415 * emulparams/h8500.sh: Delete.
416 * emulparams/h8500b.sh: Delete.
417 * emulparams/h8500c.sh: Delete.
418 * emulparams/h8500m.sh: Delete.
419 * emulparams/h8500s.sh: Delete.
420 * scripttempl/h8500.sc: Delete.
421 * scripttempl/h8500b.sc: Delete.
422 * scripttempl/h8500c.sc: Delete.
423 * scripttempl/h8500m.sc: Delete.
424 * scripttempl/h8500s.sc: Delete.
425 * Makefile.in: Regenerate.
426 * po/BLD-POTFILES.in: Regenerate.
428 2018-04-16 Alan Modra <amodra@gmail.com>
430 * Makefile.am: Remove h8300-coff support.
431 * configure.tgt: Likewise.
432 * testsuite/ld-h8300/h8300.exp: Likewise.
433 * emulparams/h8300.sh: Delete.
434 * emulparams/h8300h.sh: Delete.
435 * emulparams/h8300hn.sh: Delete.
436 * emulparams/h8300s.sh: Delete.
437 * emulparams/h8300sn.sh: Delete.
438 * emulparams/h8300sx.sh: Delete.
439 * emulparams/h8300sxn.sh: Delete.
440 * scripttempl/h8300.sc: Delete.
441 * scripttempl/h8300h.sc: Delete.
442 * scripttempl/h8300hn.sc: Delete.
443 * scripttempl/h8300s.sc: Delete.
444 * scripttempl/h8300sn.sc: Delete.
445 * scripttempl/h8300sx.sc: Delete.
446 * scripttempl/h8300sxn.sc: Delete.
447 * testsuite/ld-h8300/relax-3-coff.d: Delete.
448 * testsuite/ld-h8300/relax-4-coff.d: Delete.
449 * testsuite/ld-h8300/relax-5-coff.d: Delete.
450 * testsuite/ld-h8300/relax-6-coff.d: Delete.
451 * Makefile.in: Regenerate.
452 * po/BLD-POTFILES.in: Regenerate.
454 2018-04-16 Alan Modra <amodra@gmail.com>
456 * ld.texinfo: Remove IEEE 695 support.
459 2018-04-16 Alan Modra <amodra@gmail.com>
461 * Makefile.am: Remove tandem support.
462 * configure.tgt: Likewise.
463 * emulparams/st2000.sh: Delete.
464 * scripttempl/st2000.sc: Delete.
465 * Makefile.in: Regenerate.
466 * po/BLD-POTFILES.in: Regenerate.
468 2018-04-16 Alan Modra <amodra@gmail.com>
470 * Makefile.am: Remove newsos3 support.
471 * configure.tgt: Likewise.
472 * emulparams/news.sh: Delete.
473 * Makefile.in: Regenerate.
474 * po/BLD-POTFILES.in: Regenerate.
476 2018-04-16 Alan Modra <amodra@gmail.com>
478 * Makefile.am: Remove netware support.
479 * configure.tgt: Likewise.
480 * testsuite/ld-powerpc/powerpc.exp: Likewise.
481 * emulparams/i386nw.sh: Delete.
482 * emulparams/ppcnw.sh: Delete.
483 * scripttempl/nw.sc: Delete.
484 * Makefile.in: Regenerate.
485 * po/BLD-POTFILES.in: Regenerate.
487 2018-04-14 Alan Modra <amodra@gmail.com>
489 * ldmain.c (main): Move config.maxpagesize and
490 config.commonpagesize initialization to..
491 * ldemul.c (after_parse_default): ..here.
492 * testsuite/ld-powerpc/ppc476-shared.d: Pass -z common-page-size.
493 * testsuite/ld-powerpc/ppc476-shared2.d: Likewise.
495 2018-04-14 Alan Modra <amodra@gmail.com>
497 * emulparams/elf32ppcwindiss.sh: Rewrite to use elf32ppc.sh.
498 * emulparams/ppclynx.sh: Likewise.
500 2018-04-11 Alan Modra <amodra@gmail.com>
502 * emulparams/coff_i860.sh: Delete.
503 * emulparams/elf32_i860.sh: Delete.
504 * emulparams/elf32_i960.sh: Delete.
505 * emulparams/gld960.sh: Delete.
506 * emulparams/gld960coff.sh: Delete.
507 * emulparams/lnk960.sh: Delete.
508 * emultempl/gld960.em: Delete.
509 * emultempl/gld960c.em: Delete.
510 * emultempl/lnk960.em: Delete.
511 * scripttempl/i860coff.sc: Delete.
512 * scripttempl/i960.sc: Delete.
513 * ld.texinfo: Remove i960 support.
514 * Makefile.am: Remove i860 and i960 support.
515 * configure.tgt: Likewise.
516 * testsuite/ld-discard/extern.d: Likewise.
517 * testsuite/ld-discard/start.d: Likewise.
518 * testsuite/ld-discard/static.d: Likewise.
519 * testsuite/ld-elf/compressed1d.d: Likewise.
520 * testsuite/ld-elf/group1.d: Likewise.
521 * testsuite/ld-elf/group3b.d: Likewise.
522 * testsuite/ld-elf/group8a.d: Likewise.
523 * testsuite/ld-elf/group8b.d: Likewise.
524 * testsuite/ld-elf/group9a.d: Likewise.
525 * testsuite/ld-elf/group9b.d: Likewise.
526 * testsuite/ld-elf/linkonce2.d: Likewise.
527 * testsuite/ld-elf/merge.d: Likewise.
528 * testsuite/ld-elf/merge2.d: Likewise.
529 * testsuite/ld-elf/merge3.d: Likewise.
530 * testsuite/ld-elf/orphan-10.d: Likewise.
531 * testsuite/ld-elf/orphan-11.d: Likewise.
532 * testsuite/ld-elf/orphan-12.d: Likewise.
533 * testsuite/ld-elf/orphan-9.d: Likewise.
534 * testsuite/ld-elf/orphan-region.d: Likewise.
535 * testsuite/ld-elf/orphan.d: Likewise.
536 * testsuite/ld-elf/orphan3.d: Likewise.
537 * testsuite/ld-elf/pr12851.d: Likewise.
538 * testsuite/ld-elf/pr12975.d: Likewise.
539 * testsuite/ld-elf/pr13177.d: Likewise.
540 * testsuite/ld-elf/pr13195.d: Likewise.
541 * testsuite/ld-elf/pr17550a.d: Likewise.
542 * testsuite/ld-elf/pr17550b.d: Likewise.
543 * testsuite/ld-elf/pr17550c.d: Likewise.
544 * testsuite/ld-elf/pr17550d.d: Likewise.
545 * testsuite/ld-elf/pr17615.d: Likewise.
546 * testsuite/ld-elf/pr20528a.d: Likewise.
547 * testsuite/ld-elf/pr20528b.d: Likewise.
548 * testsuite/ld-elf/pr21562a.d: Likewise.
549 * testsuite/ld-elf/pr21562b.d: Likewise.
550 * testsuite/ld-elf/pr21562c.d: Likewise.
551 * testsuite/ld-elf/pr21562d.d: Likewise.
552 * testsuite/ld-elf/pr21562i.d: Likewise.
553 * testsuite/ld-elf/pr21562j.d: Likewise.
554 * testsuite/ld-elf/pr21562k.d: Likewise.
555 * testsuite/ld-elf/pr21562l.d: Likewise.
556 * testsuite/ld-elf/pr21562m.d: Likewise.
557 * testsuite/ld-elf/pr21562n.d: Likewise.
558 * testsuite/ld-elf/pr22677.d: Likewise.
559 * testsuite/ld-elf/pr22836-1a.d: Likewise.
560 * testsuite/ld-elf/pr22836-1b.d: Likewise.
561 * testsuite/ld-elf/pr349.d: Likewise.
562 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
563 * testsuite/ld-elf/sec64k.exp: Likewise.
564 * testsuite/ld-elf/warn1.d: Likewise.
565 * testsuite/ld-elf/warn2.d: Likewise.
566 * testsuite/ld-elf/warn3.d: Likewise.
567 * testsuite/lib/ld-lib.exp: Likewise.
568 * Makefile.in: Regenerate.
569 * po/BLD-POTFILES.in: Regenerate.
571 2018-04-11 Alan Modra <amodra@gmail.com>
573 * testsuite/ld-elf/shared.exp (AFLAGS_PIC): Add -mpic for nds32.
575 2018-04-09 Alan Modra <amodra@gmail.com>
577 * po/BLD-POTFILES.in: Regenerate.
579 2018-04-09 Alan Modra <amodra@gmail.com>
581 * emultempl/ppc64elf.em (no_inline_plt): New var.
582 (ppc_before_allocation): Call ppc64_elf_inline_plt.
583 (enum ppc64_opt): Add OPTION_NO_INLINE_OPT.
584 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
585 PARSE_AND_LIST_ARGS_CASES): Handle --no-inline-optimize.
586 * emultemps/ppc32elf.em (no_inline_opt): New var.
587 (prelim_size_sections): New function, extracted from..
588 (ppc_before_allocation): ..here. Call ppc_elf_inline_plt.
589 (enum ppc32_opt): Add OPTION_NO_INLINE_OPT.
590 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
591 PARSE_AND_LIST_ARGS_CASES): Handle --no-inline-optimize.
593 2018-04-09 Alan Modra <amodra@gmail.com>
595 * emulparams/elf32ppc.sh (OTHER_RELRO_SECTIONS_2): Add .branch_lt.
596 (OTHER_GOT_RELOC_SECTIONS): Add .rela.branch_lt.
597 * testsuite/ld-powerpc/elfv2so.d: Update for symbol/stub reordering.
598 * testsuite/ld-powerpc/relbrlt.d: Likewise.
599 * testsuite/ld-powerpc/relbrlt.s: Likewise.
600 * testsuite/ld-powerpc/tlsso.r: Likewise.
601 * testsuite/ld-powerpc/tlstocso.r: Likewise.
603 2018-04-09 Alan Modra <amodra@gmail.com>
605 * ppc32elf.em (ppc_finish): Call ppc_finish_symbols.
607 2018-04-05 H.J. Lu <hongjiu.lu@intel.com>
610 * configure: Regenerated.
612 2018-04-05 Nick Clifton <nickc@redhat.com>
615 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Make sure
616 that the .IA_64.unwind_info and .IA_64.unwind sections are not
617 subject to garbage collection.
619 2018-04-04 Eric Botcazou <ebotcazou@adacore.com>
621 * deffile.h (def_file_add_import_from): Declare.
622 (def_file_add_import_at): Likewise.
623 * deffilep.y (fill_in_import): New function extracted from...
624 (def_file_add_import): ...here. Call it.
625 (def_file_add_import_from): New function.
626 (def_file_add_import_at): Likewise.
627 * pe-dll.c (pe_implied_import_dll): Use an optimized version of the
628 insertion loop for imported symbols if possible.
630 2018-04-04 Eric Botcazou <ebotcazou@adacore.com>
632 * emultempl/pe.em (U_SIZE): Delete.
633 (pe_data_import_dll): Likewise.
634 (make_import_fixup): Return void, take 4th parameter and pass it down
635 in call to pe_create_import_fixup.
636 (pe_find_data_imports): Move to...
637 (gld_${EMULATION_NAME}_after_open): Run the stdcall fixup pass after
638 the auto-import pass and add a guard before running the latter.
639 * emultempl/pep.em (U_SIZE): Delete.
640 (pep_data_import_dll): Likewise.
641 (make_import_fixup): Return void, take 4th parameter and pass it down
642 in call to pe_create_import_fixup.
643 (pep_find_data_imports): Move to...
644 (gld_${EMULATION_NAME}_after_open): Run the stdcall fixup pass after
645 the auto-import pass and add a guard before running the latter.
646 * pe-dll.c (runtime_pseudp_reloc_v2_init): Change type to bfd_boolean.
647 (pe_walk_relocs_of_symbol): Rename into...
648 (pe_walk_relocs): ...this. Add 2 more parameters,4th parameter to the
649 callback prototype and pass 4th parameter in calls to the callback.
650 If the import hash table is present, invoke the callback on the reloc
651 if the symbol name is in the table.
652 (pe_find_data_imports): ...here. Take 2 parameters. Build an import
653 hash table for the pseudo-relocation support version 2. When it is
654 built, walk the relocations only once at the end; when it is not, do
655 not build a fixup when the symbol isn't part of an import table.
656 Issue the associated warning only after a first fixup is built.
658 (make_singleton_name_imp): Likewise.
659 (make_import_fixup_mark): Return const char * and a stable string.
660 (make_import_fixup_entry): Do not deal with the pseudo-relocation
662 (make_runtime_pseudo_reloc): Factor out code and fix formatting.
663 (pe_create_import_fixup): Add 5th parameter. Clearly separate the
664 pseudo-relocation support version 2 from the rest. Fix formatting.
665 * pe-dll.h (pe_walk_relocs_of_symbol): Delete.
666 (pe_find_data_imports): Declare.
667 (pe_create_import_fixup): Add 5th parameter.
668 * pep-dll.c (pe_data_import_dll): Delete.
669 (pe_find_data_imports): Define.
670 (pe_walk_relocs_of_symbol): Delete.
671 * pep-dll.h (pep_walk_relocs_of_symbol): Delete.
672 (pep_find_data_imports): Declare.
673 (pep_create_import_fixup): Add 5th parameter.
674 * ld.texinfo (--enable-auto-import): Adjust to new implementation.
676 2018-04-04 Nick Clifton <nickc@redhat.com>
678 * po/es.po: Updated Spanish translation.
680 2018-04-03 Maciej W. Rozycki <macro@mips.com>
682 * testsuite/ld-mips-elf/comm-data.exp: Correct support for
683 `mips*-*-kfreebsd*-gnu' targets.
685 2018-03-23 Renlin Li <renlin.li@arm.com>
688 * testsuite/ld-aarch64/aarch64-elf.exp: Update to run new tests.
689 * testsuite/ld-aarch64/emit-relocs-552-overflow.d: New.
690 * testsuite/ld-aarch64/emit-relocs-552-overflow.s: New.
691 * testsuite/ld-aarch64/emit-relocs-552.d: New.
692 * testsuite/ld-aarch64/emit-relocs-552.s: New.
693 * testsuite/ld-aarch64/emit-relocs-553.d: New.
694 * testsuite/ld-aarch64/emit-relocs-553.s: New.
695 * testsuite/ld-aarch64/emit-relocs-554-overflow.d: New.
696 * testsuite/ld-aarch64/emit-relocs-554-overflow.s: New.
697 * testsuite/ld-aarch64/emit-relocs-554.d: New.
698 * testsuite/ld-aarch64/emit-relocs-554.s: New.
699 * testsuite/ld-aarch64/emit-relocs-555.d: New.
700 * testsuite/ld-aarch64/emit-relocs-555.s: New.
701 * testsuite/ld-aarch64/emit-relocs-556-overflow.d: New.
702 * testsuite/ld-aarch64/emit-relocs-556-overflow.s: New.
703 * testsuite/ld-aarch64/emit-relocs-556.d: New.
704 * testsuite/ld-aarch64/emit-relocs-556.s: New.
705 * testsuite/ld-aarch64/emit-relocs-557.d: New.
706 * testsuite/ld-aarch64/emit-relocs-557.s: New.
707 * testsuite/ld-aarch64/emit-relocs-558-overflow.d: New.
708 * testsuite/ld-aarch64/emit-relocs-558-overflow.s: New.
709 * testsuite/ld-aarch64/emit-relocs-558.d: New.
710 * testsuite/ld-aarch64/emit-relocs-558.s: New.
711 * testsuite/ld-aarch64/emit-relocs-559.d: New.
712 * testsuite/ld-aarch64/emit-relocs-559.s: New.
713 * testsuite/ld-aarch64/emit-relocs-112-overflow.d: New.
714 * testsuite/ld-aarch64/emit-relocs-112-overflow.s: New.
715 * testsuite/ld-aarch64/emit-relocs-112.d: New.
716 * testsuite/ld-aarch64/emit-relocs-112.s: New.
717 * testsuite/ld-aarch64/emit-relocs-113.d: New.
718 * testsuite/ld-aarch64/emit-relocs-113.s: New.
719 * testsuite/ld-aarch64/emit-relocs-114-overflow.d: New.
720 * testsuite/ld-aarch64/emit-relocs-114-overflow.s: New.
721 * testsuite/ld-aarch64/emit-relocs-114.d: New.
722 * testsuite/ld-aarch64/emit-relocs-114.s: New.
723 * testsuite/ld-aarch64/emit-relocs-115.d: New.
724 * testsuite/ld-aarch64/emit-relocs-115.s: New.
725 * testsuite/ld-aarch64/emit-relocs-116-overflow.d: New.
726 * testsuite/ld-aarch64/emit-relocs-116-overflow.s: New.
727 * testsuite/ld-aarch64/emit-relocs-116.d: New.
728 * testsuite/ld-aarch64/emit-relocs-116.s: New.
729 * testsuite/ld-aarch64/emit-relocs-117.d: New.
730 * testsuite/ld-aarch64/emit-relocs-117.s: New.
731 * testsuite/ld-aarch64/emit-relocs-118-overflow.d: New.
732 * testsuite/ld-aarch64/emit-relocs-118-overflow.s: New.
733 * testsuite/ld-aarch64/emit-relocs-118.d: New.
734 * testsuite/ld-aarch64/emit-relocs-118.s: New.
735 * testsuite/ld-aarch64/emit-relocs-119.d: New.
736 * testsuite/ld-aarch64/emit-relocs-119.s: New.
738 2018-03-28 Eric Botcazou <ebotcazou@adacore.com>
741 * testsuite/ld-sparc/sparc.exp: Add test for mixed GOTDATA/GOT relocs.
742 * testsuite/ld-sparc/gotop-hidden.c: New file.
743 * testsuite/ld-sparc/got-hidden32.s: Likewise.
744 * testsuite/ld-sparc/got-hidden64.s: Likewise.
745 * testsuite/ld-sparc/pass.out: Likewise.
747 2018-03-25 H.J. Lu <hongjiu.lu@intel.com>
750 * testsuite/ld-x86-64/tlsdesc.pd: Updated.
752 2018-03-23 Nick Clifton <nickc@redhat.com>
755 * emultempl/pe.em (open_dynamic_archive): Add libXXX.lib template
756 to library name list.
757 * emultempl/pep.em (open_dynamic_archive): Likewise.
758 * ld.texinfo (WIN32): Update documentation.
760 2018-03-20 Roland McGrath <mcgrathr@google.com>
762 * testsuite/ld-elf/shared.exp (pr20995-2): XFAIL on aarch64*-*-elf*,
763 another target without RELRO.
765 2018-03-20 H.J. Lu <hongjiu.lu@intel.com>
767 * testsuite/ld-plugin/pr22983.d: Allow leading underscore as
768 well as extra lines between symbols.
770 2018-03-20 Maciej W. Rozycki <macro@mips.com>
772 * testsuite/ld-gc/gc.exp: Remove extraneous LD flags from the
775 2018-03-20 H.J. Lu <hongjiu.lu@intel.com>
778 * testsuite/ld-plugin/lto.exp: Run PR ld/22983 test.
779 * testsuite/ld-plugin/pr22983.d: New file.
780 * testsuite/ld-plugin/pr22983.t: Likewise.
781 * testsuite/ld-plugin/pr22983a.c: Likewise.
782 * testsuite/ld-plugin/pr22983b.c: Likewise.
784 2018-03-15 Andreas Schwab <schwab@suse.de>
787 * emultempl/riscvelf.em (riscv_elf_before_allocation): Don't
788 enable relaxation in relocatable link.
790 2018-03-15 Kuan-Lin Chen <kuanlinchentw@gmail.com>
792 * emultempl/nds32elf.em (nds32_elf_after_allocation): Remove
793 unsupported target feature.
795 2018-03-14 H.J. Lu <hongjiu.lu@intel.com>
798 * testsuite/ld-gc/pr20882.d: Also dump and check .debug_abbrev
800 * testsuite/ld-gc/pr20882b.s: Add .debug_abbrev section.
802 2018-03-14 H.J. Lu <hongjiu.lu@intel.com>
804 * testsuite/ld-gc/gc.exp: Fix a typo: $LFLAGS -> $LDFLAGS.
806 2018-03-13 Nick Clifton <nickc@redhat.com>
808 * po/pt_BR.po: Updated Brazilian Portuguese translation.
810 2018-03-09 Nick Clifton <nickc@redhat.com>
812 * testsuite/ld-ifunc/ifuncmod5.s: New test. Checks that targets
813 that support IFUNC symbols can handle relocations against those
814 symbols in NOTE sections.
815 * testsuite/ld-ifunc/ifuncmod5.d: New file: Driver for the new
817 * testsuite/ld-ifunc/ifunc.exp: Run the new test.
819 2018-03-08 H.J. Lu <hongjiu.lu@intel.com>
822 * testsuite/ld-i386/i386.exp: Run PR ld/22929 test.
823 * testsuite/ld-x86-64/x86-64.exp: Likewise.
824 * testsuite/ld-i386/pr22929.d: New file.
825 * testsuite/ld-i386/pr22929.s: Likewise.
826 * testsuite/ld-x86-64/pr22929.d: Likewise.
827 * testsuite/ld-x86-64/pr22929.s: Likewise.
829 2018-03-07 Max Filippov <jcmvbkbc@gmail.com>
831 * emulparams/elf32xtensa.sh (COMMONPAGESIZE): Define.
833 2018-03-07 Renlin Li <renlin.li@arm.com>
836 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
837 * testsuite/ld-aarch64/pr20402.s: New.
838 * testsuite/ld-aarch64/pr20402.d: New.
840 2018-03-06 Jim Wilson <jimw@sifive.com>
843 * emultempl/riscvelf.em (riscv_create_output_section_statements): New.
844 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): New.
845 * testsuite/ld-elf/pr21884.d (#notarget): Add riscv*-*-*.
846 * testsuite/ld-unique/pr21529.d (#notarget): Likewise.
847 * testsuite/ld-srec/srec.exp (run_srec_test): For riscv*-*-* target,
850 2018-03-03 James Cowgill <james.cowgill@mips.com>
851 Maciej W. Rozycki <macro@mips.com>
854 * testsuite/ld-mips-elf/undefined-warn.d: New test.
855 * testsuite/ld-mips-elf/undefined.s: Add padding at the end.
856 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
858 2018-03-02 Jim Wilson <jimw@sifive.com>
861 * emultempl/aarch64elf.em (elf${ELFSIZE}_aarch64_add_stub_section):
862 Give stub_sec 8 byte alignment.
863 * emulparams/aarch64cloudabi.sh (NOP): Set to 0x1f2003d5.
864 * emulparams/aarch64elf.sh (NOP): Likewise.
865 * emulparams/aarch64elf32.sh (NOP): Likewise.
866 * emulparams/aarch64fbsd.sh (NOP): Likewise.
867 * emulparams/aarch64linux.sh (NOP): Likewise.
868 * emulparams/aarch64linux32.sh (NOP): Likewise.
869 * testsuite/ld-aarch64/erratum835769.d: Adjust for added nop.
870 * testsuite/ld-aarch64/erratum843419.d: Likewise.
871 * testsuite/ld-aarch64/farcall-b-defsym.d: Likewise.
872 * testsuite/ld-aarch64/farcall-b-none-function.d: Likewise.
873 * testsuite/ld-aarch64/farcall-b-plt.d: Likewise.
874 * testsuite/ld-aarch64/farcall-b-section.d: Likewise.
875 * testsuite/ld-aarch64/farcall-b.d: Likewise.
876 * testsuite/ld-aarch64/farcall-back.d: Likewise.
877 * testsuite/ld-aarch64/farcall-bl-defsym.d: Likewise.
878 * testsuite/ld-aarch64/farcall-bl-none-function.d: Likewise.
879 * testsuite/ld-aarch64/farcall-bl-plt.d: Likewise.
880 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
881 * testsuite/ld-aarch64/farcall-bl.d: Likewise.
883 2018-03-01 Alan Modra <amodra@gmail.com>
885 * configure.ac (ALL_LINGUAS): Add ja. Sort.
886 * configure: Regenerate.
888 2018-02-28 Douglas B Rupp <rupp@adacore.com>
890 * ldmain.c (main): Remove directory separator, if any, from the
891 end of the canonicalized sysroot.
893 2018-02-27 H.J. Lu <hongjiu.lu@intel.com>
895 * NEWS: Mention --enable-separate-code.
896 * configure.ac: Add --enable-separate-code.
897 (DEFAULT_LD_Z_SEPARATE_CODE): New AC_DEFINE_UNQUOTED.
898 * configure.tgt: Default ac_default_ld_z_separate_code to 1 for
900 * config.in: Regenerated.
901 * configure: Likewise.
902 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
903 link_info.separate_code DEFAULT_LD_Z_SEPARATE_CODE.
905 2018-02-26 Alan Modra <amodra@gmail.com>
907 * emulparams/call_nop.sh, * emulparams/cet.sh,
908 * emulparams/elf32mcore.sh, * emultempl/aarch64elf.em
909 * emultempl/aix.em, * emultempl/alphaelf.em, * emultempl/armcoff.em,
910 * emultempl/armelf.em, * emultempl/avrelf.em, * emultempl/beos.em,
911 * emultempl/bfin.em, * emultempl/cr16elf.em, * emultempl/elf32.em,
912 * emultempl/elf-generic.em, * emultempl/hppaelf.em,
913 * emultempl/linux.em, * emultempl/lnk960.em,
914 * emultempl/m68hc1xelf.em, * emultempl/m68kcoff.em,
915 * emultempl/m68kelf.em, * emultempl/metagelf.em,
916 * emultempl/mipself.em, * emultempl/mmix-elfnmmo.em,
917 * emultempl/mmo.em, * emultempl/msp430.em, * emultempl/nds32elf.em,
918 * emultempl/nios2elf.em, * emultempl/pe.em, * emultempl/pep.em,
919 * emultempl/ppc32elf.em, * emultempl/ppc64elf.em,
920 * emultempl/scoreelf.em, * emultempl/sh64elf.em,
921 * emultempl/spuelf.em, * emultempl/sunos.em, * emultempl/tic6xdsbt.em,
922 * emultempl/ticoff.em, * emultempl/v850elf.em, * emultempl/vms.em,
923 * emultempl/vxworks.em, * emultempl/xtensaelf.em, * ldcref.c,
924 * ldctor.c, * ldexp.c, * ldfile.c, * ldgram.y, * ldlang.c,
925 * ldmain.c, * ldmisc.c, * ldwrite.c, * lexsup.c, * mri.c, * pe-dll.c,
926 * plugin.c: Standardize error/warning messages.
927 * testsuite/ld-arc/jli-overflow.err,
928 * testsuite/ld-arm/cmse-implib-errors.out,
929 * testsuite/ld-arm/cmse-new-earlier-later-implib.out,
930 * testsuite/ld-arm/cmse-new-implib-not-sg-in-implib.out,
931 * testsuite/ld-arm/cmse-new-wrong-implib.out,
932 * testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out,
933 * testsuite/ld-arm/cmse-veneers-wrong-entryfct.out,
934 * testsuite/ld-arm/vxworks1-static.d,
935 * testsuite/ld-cris/tls-err-20x.d, * testsuite/ld-cris/tls-err-29.d,
936 * testsuite/ld-cris/tls-err-31.d, * testsuite/ld-cris/tls-err-33.d,
937 * testsuite/ld-cris/tls-err-35.d, * testsuite/ld-cris/tls-err-37.d,
938 * testsuite/ld-cris/tls-err-39.d, * testsuite/ld-cris/tls-err-41.d,
939 * testsuite/ld-cris/tls-err-43.d, * testsuite/ld-cris/tls-err-45.d,
940 * testsuite/ld-cris/tls-err-47.d, * testsuite/ld-cris/tls-err-49.d,
941 * testsuite/ld-cris/tls-err-51.d, * testsuite/ld-cris/tls-err-67.d,
942 * testsuite/ld-elf/dwarf2.err, * testsuite/ld-elf/dwarf3.err,
943 * testsuite/ld-elf/orphan-5.l, * testsuite/ld-elf/orphan-6.l,
944 * testsuite/ld-i386/vxworks1-static.d,
945 * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n32.d,
946 * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n64.d,
947 * testsuite/ld-mips-elf/bal-jalx-pic-micromips.d,
948 * testsuite/ld-mips-elf/bal-jalx-pic-n32.d,
949 * testsuite/ld-mips-elf/bal-jalx-pic-n64.d,
950 * testsuite/ld-mips-elf/bal-jalx-pic.d,
951 * testsuite/ld-mips-elf/jal-global-overflow-1.d,
952 * testsuite/ld-mips-elf/jal-local-overflow-1.d,
953 * testsuite/ld-mips-elf/mode-change-error-1.d,
954 * testsuite/ld-mips-elf/unaligned-branch-2.d,
955 * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d,
956 * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips.d,
957 * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16.d,
958 * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1.d,
959 * testsuite/ld-mips-elf/unaligned-branch-micromips.d,
960 * testsuite/ld-mips-elf/unaligned-branch-mips16.d,
961 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d,
962 * testsuite/ld-mips-elf/unaligned-branch-r6-2.d,
963 * testsuite/ld-mips-elf/unaligned-branch.d,
964 * testsuite/ld-mips-elf/unaligned-jalx-1.d,
965 * testsuite/ld-mips-elf/unaligned-jalx-3.d,
966 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d,
967 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d,
968 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d,
969 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d,
970 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d,
971 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d,
972 * testsuite/ld-mips-elf/unaligned-jump-micromips.d,
973 * testsuite/ld-mips-elf/unaligned-jump-mips16.d,
974 * testsuite/ld-mips-elf/unaligned-jump.d,
975 * testsuite/ld-mips-elf/unaligned-ldpc-1.d,
976 * testsuite/ld-mips-elf/unaligned-lwpc-1.d,
977 * testsuite/ld-mips-elf/undefined.d,
978 * testsuite/ld-mips-elf/vxworks1-static.d,
979 * testsuite/ld-mmix/bpo-20.d, * testsuite/ld-mmix/bpo-20m.d,
980 * testsuite/ld-mmix/bpo-7.d, * testsuite/ld-mmix/bpo-7m.d,
981 * testsuite/ld-mmix/bpo-8.d, * testsuite/ld-mmix/bpo-8m.d,
982 * testsuite/ld-mmix/greg-17.d, * testsuite/ld-mmix/greg-18.d,
983 * testsuite/ld-mmix/greg-8.d, * testsuite/ld-mmix/greg-9.d,
984 * testsuite/ld-plugin/plugin-14.d, * testsuite/ld-plugin/plugin-15.d,
985 * testsuite/ld-plugin/plugin-16.d, * testsuite/ld-plugin/plugin-20.d,
986 * testsuite/ld-plugin/plugin-21.d, * testsuite/ld-plugin/plugin-22.d,
987 * testsuite/ld-plugin/plugin-23.d, * testsuite/ld-plugin/plugin-6.d,
988 * testsuite/ld-plugin/plugin-7.d, * testsuite/ld-plugin/plugin-8.d,
989 * testsuite/ld-powerpc/aix-weak-3-32.d,
990 * testsuite/ld-powerpc/aix-weak-3-64.d,
991 * testsuite/ld-powerpc/vxworks1-static.d,
992 * testsuite/ld-sh/vxworks1-static.d,
993 * testsuite/ld-sparc/vxworks1-static.d,
994 * testsuite/ld-undefined/undefined.exp,
995 * testsuite/ld-x86-64/pie1.d: Update for changed errors and warnings.
996 * testsuite/ld-elf/warn1.d, * testsuite/ld-elf/warn2.d: Correct regex.
998 2018-02-26 Alan Modra <amodra@gmail.com>
1000 * Makefile.am (EMULATION_FILES, POTFILES): Delete.
1001 (SRC_POTFILES, BLD_POTFILES): Define.
1002 (po/POTFILES.in): Delete rule.
1003 (po/SRC-POTFILES.in, po/BLD-POTFILES.in): New rules.
1004 * configure.ac: Add AC_CONFIG_COMMANDS to create po/Makefile.
1005 * po/Make-in (DISTFILES): Remove POTFILES.in, add SRC-POTFILES.in
1006 and BLD-POTFILES.in.
1008 (SRC-POTFILES, BLD-POTFILES): Define place marker.
1009 (ld.pot): Build from SRC-POTFILES plus BLD-POTFILES.
1010 (distclean, maintainer-clean): Tidy up new files.
1011 (POTFILES, POTFILES.in): Delete rules.
1012 (SRC-POTFILES, BLD-POTFILES, SRC-POTFILES.in, BLD-POTFILES.in):
1014 (Makefile): Depend on SRC-POTFILES and BLD-POTFILES.
1015 * po/SRC-POTFILES.in: Rename from po/POTFILES.in.
1016 * po/BLD-POTFILES.in: New file.
1017 * Makefile.in: Regenerate.
1018 * configure: Regenerate.
1020 2018-02-26 Alan Modra <amodra@gmail.com>
1022 * testsuite/ld-cris/pcrelcp-1.d,
1023 * testsuite/ld-mmix/start-2.d: Update.
1025 2018-02-26 Alan Modra <amodra@gmail.com>
1027 * testsuite/ld-arm/cmse-implib-errors.out,
1028 * testsuite/ld-arm/cmse-new-earlier-later-implib.out,
1029 * testsuite/ld-arm/cmse-new-implib-not-sg-in-implib.out,
1030 * testsuite/ld-arm/cmse-new-wrong-implib.out,
1031 * testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out,
1032 * testsuite/ld-arm/cmse-veneers-wrong-entryfct.out,
1033 * testsuite/ld-cris/badgotr1.d,
1034 * testsuite/ld-cris/tls-err-24.d,
1035 * testsuite/ld-cris/tls-err-25.d,
1036 * testsuite/ld-cris/tls-err-26.d,
1037 * testsuite/ld-cris/tls-err-27.d,
1038 * testsuite/ld-cris/tls-err-28.d,
1039 * testsuite/ld-cris/tls-err-40.d,
1040 * testsuite/ld-cris/tls-err-44.d,
1041 * testsuite/ld-cris/tls-err-48.d,
1042 * testsuite/ld-cris/tls-err-52.d,
1043 * testsuite/ld-cris/tls-err-53.d,
1044 * testsuite/ld-cris/tls-err-55.d,
1045 * testsuite/ld-cris/tls-err-56.d,
1046 * testsuite/ld-cris/tls-err-62.d,
1047 * testsuite/ld-cris/tls-err-65.d,
1048 * testsuite/ld-cris/tls-err-77.d,
1049 * testsuite/ld-elf/empty-implib.out,
1050 * testsuite/ld-elf/indirect.exp: Update.
1052 2018-02-26 Alan Modra <amodra@gmail.com>
1054 * testsuite/ld-aarch64/reloc-overflow-bad.d,
1055 * testsuite/ld-arm/attr-merge-9.out,
1056 * testsuite/ld-arm/attr-merge-arch-2.d,
1057 * testsuite/ld-arm/attr-merge-unknown-1.d,
1058 * testsuite/ld-arm/attr-merge-unknown-2.d,
1059 * testsuite/ld-arm/attr-merge-unknown-2r.d,
1060 * testsuite/ld-arm/attr-merge-unknown-3.d,
1061 * testsuite/ld-arm/cmse-implib-errors.out,
1062 * testsuite/ld-arm/cmse-new-earlier-later-implib.out,
1063 * testsuite/ld-arm/cmse-new-implib-no-output.out,
1064 * testsuite/ld-arm/cmse-new-implib-not-sg-in-implib.out,
1065 * testsuite/ld-arm/cmse-new-implib.out,
1066 * testsuite/ld-arm/cmse-new-wrong-implib.out,
1067 * testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out,
1068 * testsuite/ld-arm/cmse-veneers-wrong-entryfct.out,
1069 * testsuite/ld-arm/group-relocs-alu-bad-2.d,
1070 * testsuite/ld-arm/group-relocs-alu-bad.d,
1071 * testsuite/ld-arm/group-relocs-ldc-bad-2.d,
1072 * testsuite/ld-arm/group-relocs-ldc-bad.d,
1073 * testsuite/ld-arm/group-relocs-ldr-bad-2.d,
1074 * testsuite/ld-arm/group-relocs-ldr-bad.d,
1075 * testsuite/ld-arm/group-relocs-ldrs-bad-2.d,
1076 * testsuite/ld-arm/group-relocs-ldrs-bad.d,
1077 * testsuite/ld-arm/stm32l4xx-cannot-fix-far-ldm.d: Update.
1079 2018-02-26 Alan Modra <amodra@gmail.com>
1081 * testsuite/ld-mips-elf/attr-gnu-4-12.d,
1082 * testsuite/ld-mips-elf/attr-gnu-4-13.d,
1083 * testsuite/ld-mips-elf/attr-gnu-4-14.d,
1084 * testsuite/ld-mips-elf/attr-gnu-4-16.d,
1085 * testsuite/ld-mips-elf/attr-gnu-4-17.d,
1086 * testsuite/ld-mips-elf/attr-gnu-4-18.d,
1087 * testsuite/ld-mips-elf/attr-gnu-4-19.d,
1088 * testsuite/ld-mips-elf/attr-gnu-4-21.d,
1089 * testsuite/ld-mips-elf/attr-gnu-4-23.d,
1090 * testsuite/ld-mips-elf/attr-gnu-4-24.d,
1091 * testsuite/ld-mips-elf/attr-gnu-4-25.d,
1092 * testsuite/ld-mips-elf/attr-gnu-4-26.d,
1093 * testsuite/ld-mips-elf/attr-gnu-4-27.d,
1094 * testsuite/ld-mips-elf/attr-gnu-4-28.d,
1095 * testsuite/ld-mips-elf/attr-gnu-4-29.d,
1096 * testsuite/ld-mips-elf/attr-gnu-4-31.d,
1097 * testsuite/ld-mips-elf/attr-gnu-4-32.d,
1098 * testsuite/ld-mips-elf/attr-gnu-4-34.d,
1099 * testsuite/ld-mips-elf/attr-gnu-4-35.d,
1100 * testsuite/ld-mips-elf/attr-gnu-4-36.d,
1101 * testsuite/ld-mips-elf/attr-gnu-4-37.d,
1102 * testsuite/ld-mips-elf/attr-gnu-4-38.d,
1103 * testsuite/ld-mips-elf/attr-gnu-4-39.d,
1104 * testsuite/ld-mips-elf/attr-gnu-4-41.d,
1105 * testsuite/ld-mips-elf/attr-gnu-4-42.d,
1106 * testsuite/ld-mips-elf/attr-gnu-4-43.d,
1107 * testsuite/ld-mips-elf/attr-gnu-4-45.d,
1108 * testsuite/ld-mips-elf/attr-gnu-4-46.d,
1109 * testsuite/ld-mips-elf/attr-gnu-4-47.d,
1110 * testsuite/ld-mips-elf/attr-gnu-4-48.d,
1111 * testsuite/ld-mips-elf/attr-gnu-4-49.d,
1112 * testsuite/ld-mips-elf/attr-gnu-4-52.d,
1113 * testsuite/ld-mips-elf/attr-gnu-4-53.d,
1114 * testsuite/ld-mips-elf/attr-gnu-4-54.d,
1115 * testsuite/ld-mips-elf/attr-gnu-4-58.d,
1116 * testsuite/ld-mips-elf/attr-gnu-4-59.d,
1117 * testsuite/ld-mips-elf/attr-gnu-4-61.d,
1118 * testsuite/ld-mips-elf/attr-gnu-4-62.d,
1119 * testsuite/ld-mips-elf/attr-gnu-4-63.d,
1120 * testsuite/ld-mips-elf/attr-gnu-4-64.d,
1121 * testsuite/ld-mips-elf/attr-gnu-4-68.d,
1122 * testsuite/ld-mips-elf/attr-gnu-4-69.d,
1123 * testsuite/ld-mips-elf/attr-gnu-4-71.d,
1124 * testsuite/ld-mips-elf/attr-gnu-4-72.d,
1125 * testsuite/ld-mips-elf/attr-gnu-4-73.d,
1126 * testsuite/ld-mips-elf/attr-gnu-4-74.d,
1127 * testsuite/ld-mips-elf/attr-gnu-4-78.d,
1128 * testsuite/ld-mips-elf/attr-gnu-4-79.d,
1129 * testsuite/ld-mips-elf/attr-gnu-4-81.d,
1130 * testsuite/ld-mips-elf/attr-gnu-4-89.d,
1131 * testsuite/ld-mips-elf/attr-gnu-8-12.d,
1132 * testsuite/ld-mips-elf/attr-gnu-8-21.d,
1133 * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n32.d,
1134 * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n64.d,
1135 * testsuite/ld-mips-elf/bal-jalx-pic-micromips.d,
1136 * testsuite/ld-mips-elf/bal-jalx-pic-n32.d,
1137 * testsuite/ld-mips-elf/bal-jalx-pic-n64.d,
1138 * testsuite/ld-mips-elf/bal-jalx-pic.d,
1139 * testsuite/ld-mips-elf/mode-change-error-1.d,
1140 * testsuite/ld-mips-elf/unaligned-branch-2.d,
1141 * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d,
1142 * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips.d,
1143 * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16.d,
1144 * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1.d,
1145 * testsuite/ld-mips-elf/unaligned-branch-micromips.d,
1146 * testsuite/ld-mips-elf/unaligned-branch-mips16.d,
1147 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d,
1148 * testsuite/ld-mips-elf/unaligned-branch-r6-2.d,
1149 * testsuite/ld-mips-elf/unaligned-branch.d,
1150 * testsuite/ld-mips-elf/unaligned-jalx-1.d,
1151 * testsuite/ld-mips-elf/unaligned-jalx-3.d,
1152 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d,
1153 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d,
1154 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d,
1155 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d,
1156 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d,
1157 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d,
1158 * testsuite/ld-mips-elf/unaligned-jump-micromips.d,
1159 * testsuite/ld-mips-elf/unaligned-jump-mips16.d,
1160 * testsuite/ld-mips-elf/unaligned-jump.d: Update.
1162 2018-02-26 Alan Modra <amodra@gmail.com>
1164 * testsuite/ld-elf/indirect.exp,
1165 * testsuite/ld-elf/pr22649-2ab-mips.msg,
1166 * testsuite/ld-elf/pr22649-2cd-mips.msg,
1167 * testsuite/ld-elf/pr22649.msg,
1168 * testsuite/ld-elf/tls_common.exp,
1169 * testsuite/ld-elfcomm/elfcomm.exp,
1170 * testsuite/ld-arm/attr-merge-incompatible.d,
1171 * testsuite/ld-tic6x/attr-compatibility-gnu-other.d,
1172 * testsuite/ld-tic6x/attr-compatibility-other-gnu.d,
1173 * testsuite/ld-tic6x/attr-compatibility-other-other.d,
1174 * testsuite/ld-i386/warn1.d: Update expected error/warning messages.
1176 2018-02-26 Alan Modra <amodra@gmail.com>
1178 * testsuite/ld-powerpc/attr-gnu-12-21.d,
1179 * testsuite/ld-powerpc/attr-gnu-4-12.d,
1180 * testsuite/ld-powerpc/attr-gnu-4-13.d,
1181 * testsuite/ld-powerpc/attr-gnu-4-21.d,
1182 * testsuite/ld-powerpc/attr-gnu-4-23.d,
1183 * testsuite/ld-powerpc/attr-gnu-4-31.d,
1184 * testsuite/ld-powerpc/attr-gnu-4-32.d,
1185 * testsuite/ld-powerpc/attr-gnu-8-23.d: Update.
1187 2018-02-21 Alan Modra <amodra@gmail.com>
1189 * testsuite/ld-elf/group8b.d: Run test on ia64. Use xfail rather
1191 * testsuite/ld-elf/pr12851.d: Likewise.
1192 * testsuite/ld-elf/pr12975.d: Likewise.
1193 * testsuite/ld-elf/pr13177.d: Likewise.
1194 * testsuite/ld-elf/pr13195.d: Likewise.
1195 * testsuite/ld-elf/pr17615.d: Likewise.
1196 * testsuite/ld-elf/pr21562a.d: Likewise.
1197 * testsuite/ld-elf/pr21562b.d: Likewise.
1198 * testsuite/ld-elf/pr21562c.d: Likewise.
1199 * testsuite/ld-elf/pr21562d.d: Likewise.
1200 * testsuite/ld-elf/pr21562i.d: Likewise.
1201 * testsuite/ld-elf/pr21562j.d: Likewise.
1202 * testsuite/ld-elf/pr21562k.d: Likewise.
1203 * testsuite/ld-elf/pr21562l.d: Likewise.
1204 * testsuite/ld-elf/pr21562m.d: Likewise.
1205 * testsuite/ld-elf/pr21562n.d: Likewise.
1206 * testsuite/ld-elf/group9a.d: Run test on ia64 and alpha. Use xfail
1207 rather than notarget.
1208 * testsuite/ld-elf/group9b.d: Likewise.
1209 * testsuite/ld-elf/pr22677.d: Likewise.
1211 2018-02-19 Maciej W. Rozycki <macro@mips.com>
1213 * testsuite/ld-mips-elf/reginfo-0.d: New test.
1214 * testsuite/ld-mips-elf/reginfo-0r.d: New test.
1215 * testsuite/ld-mips-elf/reginfo-1.d: New test.
1216 * testsuite/ld-mips-elf/reginfo-1r.d: New test.
1217 * testsuite/ld-mips-elf/reginfo-2.d: New test.
1218 * testsuite/ld-mips-elf/reginfo-2r.d: New test.
1219 * testsuite/ld-mips-elf/mips-abiflags-0.d: New test.
1220 * testsuite/ld-mips-elf/mips-abiflags-0r.d: New test.
1221 * testsuite/ld-mips-elf/mips-abiflags-1.d: New test.
1222 * testsuite/ld-mips-elf/mips-abiflags-1r.d: New test.
1223 * testsuite/ld-mips-elf/mips-abiflags-2.d: New test.
1224 * testsuite/ld-mips-elf/mips-abiflags-2r.d: New test.
1225 * testsuite/ld-mips-elf/reginfo-0.ld: New test linker script.
1226 * testsuite/ld-mips-elf/reginfo-1.ld: New test linker script.
1227 * testsuite/ld-mips-elf/mips-abiflags-0.ld: New test linker
1229 * testsuite/ld-mips-elf/mips-abiflags-1.ld: New test linker
1231 * testsuite/ld-mips-elf/reginfo-1.s: New test source.
1232 * testsuite/ld-mips-elf/reginfo-2.s: New test source.
1233 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1235 2018-02-19 Maciej W. Rozycki <macro@mips.com>
1237 * ldlang.c (insert_pad): Do not change output section's size if
1238 SEC_FIXED_SIZE is set in the flags.
1239 (size_input_section): Likewise.
1240 (lang_size_sections_1): Likewise.
1241 (lang_reset_memory_regions): Likewise.
1243 2018-02-19 Alan Modra <amodra@gmail.com>
1245 * ldmisc.c (vfinfo) Handle %pI, %pR, %pS and %pT in place of
1247 * ldcref.c, * ldctor.c, * ldemul.c, * ldexp.c, * ldgram.y,
1248 * ldlang.c, * ldlex.l, * ldmain.c, * ldmisc.c, * pe-dll.c,
1249 * emultempl/sh64elf.em: Replace use of of %I, %R, %S and %T in
1250 format strings passed to einfo and friends by %pI, %pR, %pS and %pT.
1252 2018-02-19 Alan Modra <amodra@gmail.com>
1254 * ldmisc.c (vfinfo): Handle %pA and %pB in place of %A and %B.
1255 * ldcref.c: Update all messages using %A and %B.
1256 * ldexp.c: Likewise.
1257 * ldlang.c: Likewise.
1258 * ldmain.c: Likewise.
1259 * ldmisc.c: Likewise.
1260 * pe-dll.c: Likewise.
1261 * plugin.c: Likewise.
1262 * emultempl/beos.em: Likewise.
1263 * emultempl/cr16elf.em: Likewise.
1264 * emultempl/elf32.em: Likewise.
1265 * emultempl/m68kcoff.em: Likewise.
1266 * emultempl/m68kelf.em: Likewise.
1267 * emultempl/mmo.em: Likewise.
1268 * emultempl/nds32elf.em: Likewise.
1269 * emultempl/pe.em: Likewise.
1270 * emultempl/pep.em: Likewise.
1271 * emultempl/spuelf.em: Likewise.
1272 * emultempl/sunos.em: Likewise.
1273 * emultempl/xtensaelf.em: Likewise.
1275 2018-02-19 H.J. Lu <hongjiu.lu@intel.com>
1278 * testsuite/ld-elf/frame.exp: Skip if -shared isn't supported.
1279 Add tests for "-z noseparate-code" and "-z separate-code".
1280 Remove unsupported -shared check.
1282 2018-02-17 H.J. Lu <hongjiu.lu@intel.com>
1285 * testsuite/ld-elf/ehdr_start.d: Pass --build-id to ld.
1287 2018-02-17 H.J. Lu <hongjiu.lu@intel.com>
1290 * testsuite/ld-elf/binutils.exp (tls_opts): Add tests for
1291 "-z noseparate-code" and "-z separate-code".
1293 2018-02-17 H.J. Lu <hongjiu.lu@intel.com>
1296 * ld-elf/eh4.d: Pass -z max-page-size=0x200000 -z noseparate-code
1299 2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
1301 * testsuite/ld-x86-64/bnd-branch-1-now.d: Add -z
1302 max-page-size=0x200000 -z noseparate-code.
1303 * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise.
1304 * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise.
1305 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
1306 * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise.
1307 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
1308 * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise.
1309 * testsuite/ld-x86-64/ibt-plt-1.d: Likewise.
1310 * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise.
1311 * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise.
1312 * testsuite/ld-x86-64/ibt-plt-2b-x32.d: Likewise.
1313 * testsuite/ld-x86-64/ibt-plt-2b.d: Likewise.
1314 * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise.
1315 * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise.
1316 * testsuite/ld-x86-64/ibt-plt-2d-x32.d: Likewise.
1317 * testsuite/ld-x86-64/ibt-plt-2d.d: Likewise.
1318 * testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise.
1319 * testsuite/ld-x86-64/ibt-plt-3a.d: Likewise.
1320 * testsuite/ld-x86-64/ibt-plt-3b-x32.d: Likewise.
1321 * testsuite/ld-x86-64/ibt-plt-3b.d: Likewise.
1322 * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise.
1323 * testsuite/ld-x86-64/ibt-plt-3c.d: Likewise.
1324 * testsuite/ld-x86-64/ibt-plt-3d-x32.d: Likewise.
1325 * testsuite/ld-x86-64/ibt-plt-3d.d: Likewise.
1326 * testsuite/ld-x86-64/load1a.d: Likewise.
1327 * testsuite/ld-x86-64/load1b.d: Likewise.
1328 * testsuite/ld-x86-64/load1c.d: Likewise.
1329 * testsuite/ld-x86-64/load1d.d: Likewise.
1330 * testsuite/ld-x86-64/pie3.d: Likewise.
1331 * testsuite/ld-x86-64/pr14207.d: Likewise.
1332 * testsuite/ld-x86-64/pr17618.d: Likewise.
1333 * testsuite/ld-x86-64/pr19162.d: Likewise.
1334 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
1335 * testsuite/ld-x86-64/pr19636-2l.d: Likewise.
1336 * testsuite/ld-x86-64/pr20253-1b.d: Likewise.
1337 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
1338 * testsuite/ld-x86-64/pr20253-1f.d: Likewise.
1339 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
1340 * testsuite/ld-x86-64/pr20253-1j.d: Likewise.
1341 * testsuite/ld-x86-64/pr20253-1l.d: Likewise.
1342 * testsuite/ld-x86-64/pr20830a-now.d: Likewise.
1343 * testsuite/ld-x86-64/pr20830a.d: Likewise.
1344 * testsuite/ld-x86-64/pr20830b-now.d: Likewise.
1345 * testsuite/ld-x86-64/pr20830b.d: Likewise.
1346 * testsuite/ld-x86-64/pr21038a-now.d: Likewise.
1347 * testsuite/ld-x86-64/pr21038a.d: Likewise.
1348 * testsuite/ld-x86-64/pr21038b-now.d: Likewise.
1349 * testsuite/ld-x86-64/pr21038b.d: Likewise.
1350 * testsuite/ld-x86-64/pr21038c-now.d: Likewise.
1351 * testsuite/ld-x86-64/pr21038c.d: Likewise.
1353 2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
1355 * testsuite/ld-x86-64/bnd-ifunc-1.d: Updated.
1356 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
1358 2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
1360 * testsuite/ld-x86-64/mpx.exp: Add -z max-page-size=0x200000
1363 2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
1365 * testsuite/ld-x86-64/x86-64.exp: Add -z noseparate-code
1366 -z max-page-size=0x200000, excluding NaCl target.
1368 2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
1370 * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise.
1371 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise.
1372 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
1373 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
1374 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
1375 * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise.
1376 * testsuite/ld-ifunc/pr17154-i386.d: Likewise.
1378 2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
1380 * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Add
1381 -z max-page-size=0x200000 -z noseparate-code.
1382 * testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise.
1383 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
1384 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1385 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1386 * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
1387 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
1389 2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
1391 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated for i386.
1392 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
1393 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
1395 2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
1397 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
1398 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
1399 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
1401 2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
1403 * testsuite/ld-i386/ibt-plt-1.d: Add -z noseparate-code.
1404 * testsuite/ld-i386/ibt-plt-2a.d: Likewise.
1405 * testsuite/ld-i386/ibt-plt-2b.d: Likewise.
1406 * testsuite/ld-i386/ibt-plt-2c.d: Likewise.
1407 * testsuite/ld-i386/ibt-plt-2d.d: Likewise.
1408 * testsuite/ld-i386/ibt-plt-3a.d: Likewise.
1409 * testsuite/ld-i386/ibt-plt-3b.d: Likewise.
1410 * testsuite/ld-i386/ibt-plt-3c.d: Likewise.
1411 * testsuite/ld-i386/ibt-plt-3d.d: Likewise.
1412 * testsuite/ld-i386/load1.d: Likewise.
1413 * testsuite/ld-i386/pie1.d: Likewise.
1414 * testsuite/ld-i386/pr20244-1a.d: Likewise.
1415 * testsuite/ld-i386/pr20244-1b.d: Likewise.
1416 * testsuite/ld-i386/pr20244-2a.d: Likewise.
1417 * testsuite/ld-i386/pr20244-2b.d: Likewise.
1418 * testsuite/ld-i386/pr20244-2c.d: Likewise.
1419 * testsuite/ld-i386/pr20244-4a.d: Likewise.
1420 * testsuite/ld-i386/pr20244-4b.d: Likewise.
1421 * testsuite/ld-i386/pr20830.d: Likewise.
1423 2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
1425 * testsuite/ld-i386/pr19636-1a.d: Updated.
1426 * testsuite/ld-i386/pr19636-1b.d: Likewise.
1427 * testsuite/ld-i386/pr19636-1j.d: Likewise.
1428 * testsuite/ld-i386/pr19636-1k.d: Likewise.
1429 * testsuite/ld-i386/pr19636-2a.d: Likewise.
1430 * testsuite/ld-i386/pr19636-2b.d: Likewise.
1432 2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
1434 * testsuite/ld-i386/i386.exp: Add -z noseparate-code.
1436 2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
1438 * testsuite/ld-elf/pr19162.d: Add -z noseparate-code.
1439 * testsuite/ld-elf/textaddr1.d: Likewise.
1440 * testsuite/ld-elf/textaddr2.d: Likewise.
1441 * testsuite/ld-elf/textaddr4.d: Likewise.
1442 * testsuite/ld-elf/textaddr6.d: Likewise.
1444 2018-02-15 Jim Wilson <jimw@sifive.com>
1446 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run pcrel-lo-addend test.
1447 * testsuite/ld-riscv-elf/pcrel-lo-addend.d: New.
1448 * testsuite/ld-riscv-elf/pcrel-lo-addend.s: New.
1450 2018-02-14 H.J. Lu <hongjiu.lu@intel.com>
1453 * testsuite/ld-i386/i386.exp: Run PR ld/22842 tests.
1454 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1455 * testsuite/ld-i386/pr22842a.c: New file.
1456 * testsuite/ld-i386/pr22842b.S: Likewise.
1457 * testsuite/ld-x86-64/pr22842a.c: Likewise.
1458 * testsuite/ld-x86-64/pr22842a.rd: Likewise.
1459 * testsuite/ld-x86-64/pr22842b.S: Likewise.
1460 * testsuite/ld-x86-64/pr22842b.rd: Likewise.
1462 2018-02-14 Maciej W. Rozycki <macro@mips.com>
1464 * ldlex.h (ldlex_command): Remove prototype.
1466 2018-02-13 H.J. Lu <hongjiu.lu@intel.com>
1468 * testsuite/ld-x86-64/x86-64.exp: Replace pr22393-2a.so and
1469 pr22393-2a-now.so with pr22393-3a.so and pr22393-3a-now.so.
1471 2018-02-14 H.J. Lu <hongjiu.lu@intel.com>
1474 * testsuite/ld-elf/pr22836-1.s: New file.
1475 * testsuite/ld-elf/pr22836-1a.d: Likewise.
1476 * testsuite/ld-elf/pr22836-1b.d: Likewise.
1478 2018-02-13 H.J. Lu <hongjiu.lu@intel.com>
1481 * testsuite/ld-x86-64/mpx1c.rd: Updated.
1482 * testsuite/ld-x86-64/pr22791-1.err: New file.
1483 * testsuite/ld-x86-64/pr22791-1a.c: Likewise.
1484 * testsuite/ld-x86-64/pr22791-1b.s: Likewise.
1485 * testsuite/ld-x86-64/pr22791-2.rd: Likewise.
1486 * testsuite/ld-x86-64/pr22791-2a.s: Likewise.
1487 * testsuite/ld-x86-64/pr22791-2b.c: Likewise.
1488 * testsuite/ld-x86-64/pr22791-2c.s: Likewise.
1489 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/22791 tests.
1491 2018-02-13 Alan Modra <amodra@gmail.com>
1494 * testsuite/ld-elf/pr22836-2.d,
1495 * testsuite/ld-elf/pr22836-2.s: New test.
1497 2018-02-13 Alan Modra <amodra@gmail.com>
1499 * testsuite/ld-x86-64/pr14207.d: Adjust relro p_filesz.
1501 2018-02-07 Alan Modra <amodra@gmail.com>
1503 Revert 2018-01-17 Alan Modra <amodra@gmail.com>
1504 * emultempl/ppc32elf.em: Remove --speculate-indirect-jumps support.
1505 * emultempl/ppc64elf.em: Likesize
1506 * ld.texinfo: Likewise
1507 * testsuite/ld-powerpc/elfv2exe.d,
1508 * testsuite/ld-powerpc/elfv2so.d,
1509 * testsuite/ld-powerpc/relbrlt.d,
1510 * testsuite/ld-powerpc/powerpc.exp: Likewise.
1512 2018-02-06 Eric Botcazou <ebotcazou@adacore.com>
1514 * testsuite/ld-elf/tls.exp (AFLAGS_PIC): Define on SPARC.
1515 (pr22263-1): Pass AFLAGS_PIC to the assembler.
1516 * testsuite/ld-sparc/tlspie32.s: Add test for other 3 transitions.
1517 * testsuite/ld-sparc/tlspie32.dd: Adjust to above.
1518 * testsuite/ld-sparc/tlspie64.s: Add test for other 3 transitions.
1519 * testsuite/ld-sparc/tlspie64.dd: Adjust to above.
1521 2018-02-05 Renlin Li <renlin.li@arm.com>
1524 * testsuite/ld-aarch64/emit-relocs-258.s: Define symbol as an address.
1525 * testsuite/ld-aarch64/emit-relocs-259.s: Likewise.
1526 * testsuite/ld-aarch64/pr22764.s: New.
1527 * testsuite/ld-aarch64/pr22764.d: New.
1529 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
1532 * testsuite/ld-i386/discarded1.s: Replace mov with div.
1533 * testsuite/ld-x86-64/discarded1.s: Likewise.
1534 * testsuite/ld-i386/i386.exp: Run pr22782.
1535 * testsuite/ld-i386/load1-nacl.d: Updated for removing
1536 _GLOBAL_OFFSET_TABLE_ from output.
1537 * testsuite/ld-i386/load1.d: Likewise.
1538 * testsuite/ld-x86-64/load1a-nacl.d: Likewise.
1539 * testsuite/ld-x86-64/load1a.d: Likewise.
1540 * testsuite/ld-x86-64/load1b-nacl.d: Likewise.
1541 * testsuite/ld-x86-64/load1b.d: Likewise.
1542 * testsuite/ld-i386/pr22782.d: New file.
1543 * testsuite/ld-i386/pr22782.s: Likewise.
1544 * testsuite/ld-x86-64/pr22782.s: Likewise.
1545 * testsuite/ld-x86-64/pr22782a.d: Likewise.
1546 * testsuite/ld-x86-64/pr22782b.d: Likewise.
1547 * testsuite/ld-x86-64/x86-64.exp: Run pr22782a and pr22782b.
1549 2018-02-05 Nick Clifton <nickc@redhat.com>
1551 * po/pt_BR.po: Updated Brazilian Portuguese translation.
1553 2018-02-04 H.J. Lu <hongjiu.lu@intel.com>
1555 * testsuite/ld-i386/lea1d.d: Replace -Sw with -SW.
1556 * testsuite/ld-i386/lea1e.d: Likewise.
1557 * testsuite/ld-i386/lea1f.d: Likewise.
1558 * testsuite/ld-x86-64/lea1g.d: Likewise.
1559 * testsuite/ld-x86-64/lea1h.d: Likewise.
1560 * testsuite/ld-x86-64/lea1i.d: Likewise.
1561 * testsuite/ld-x86-64/lea1j.d: Likewise.
1562 * testsuite/ld-x86-64/lea1k.d: Likewise.
1563 * testsuite/ld-x86-64/lea1l.d: Likewise.
1565 2018-02-03 Nick Clifton <nickc@redhat.com>
1568 * scripttempl/pe.sc: Remove PROVIDE()s from __CTOR_LIST__ and
1569 __DTOR_LIST__ symbols. Add a comment explaining why this is
1571 * scripttemp/pep.sc: Likewise.
1572 * ld.texinfo (PROVIDE): Add a note about the effect of common
1575 2018-02-03 Sandra Loosemore <sandra@codesourcery.com>
1577 * emulparams/nios2elf.sh (GENERATE_SHLIB_SCRIPT): Don't set.
1579 2018-02-02 Maciej W. Rozycki <macro@mips.com>
1581 * testsuite/ld-elf/shared.exp: Add $AFLAGS_PIC throughout to PIC
1582 assembly builds where missing and remove `tic6x-*-*' XFAIL
1583 markings accordingly.
1585 2018-02-01 Simon Marchi <simon.marchi@ericsson.com>
1587 * ldexp.c (fold_name, exp_fold_tree_1): Avoid pointer arithmetic
1590 2018-01-31 H.J. Lu <hongjiu.lu@intel.com>
1592 * testsuite/ld-elf/pr21964-5.c (my_var): Mark as used.
1594 2018-01-31 Maciej W. Rozycki <macro@mips.com>
1596 * testsuite/ld-elf/shared.exp: Fix a typo s/scrip/script/.
1598 2018-01-31 Maciej W. Rozycki <macro@mips.com>
1600 * testsuite/ld-elf/comm-data.exp: Pass `-call_shared' to links
1601 involving a shared library for `mips*vr4100*-*-elf*',
1602 `mips*vr4300*-*-elf*' and `mips*vr5000*-*-elf*' targets.
1603 * testsuite/ld-elf/provide-hidden.exp: Likewise.
1604 * testsuite/ld-elf/shared.exp: Likewise.
1605 * testsuite/ld-gc/gc.exp: Likewise.
1606 * testsuite/ld-mips-elf/comm-data.exp: Likewise.
1608 2018-01-31 Maciej W. Rozycki <macro@mips.com>
1610 * testsuite/ld-elf/elf.exp: Move shared library tests over to...
1611 * testsuite/ld-elf/shared.exp: ... here.
1613 2018-01-31 Michael Matz <matz@suse.de>
1615 * testsuite/ld-elf/pr21964-5.c: New test.
1616 * testsuite/ld-elf/shared.exp: Run it.
1618 2018-01-31 H.J. Lu <hongjiu.lu@intel.com>
1621 * testsuite/ld-elf/pr21964-4.c: New file.
1622 * testsuite/ld-elf/shared.exp: Run pr21964-4 test on Linux.
1624 2018-01-30 Alan Modra <amodra@gmail.com>
1626 * testsuite/ld-gc/stop.d,
1627 * testsuite/ld-gc/stop.s: New test.
1628 * testsuite/ld-gc/gc.exp: Run it.
1630 2018-01-30 Maciej W. Rozycki <macro@mips.com>
1633 * testsuite/ld-elf/pr22649-2ab-mips.msg: New stderr output.
1634 * testsuite/ld-elf/pr22649-2cd-mips.msg: New stderr output.
1635 * testsuite/ld-elf/shared.exp: Use the new outputs with
1636 `mips*-*-*' targets.
1638 2018-01-30 Maciej W. Rozycki <macro@mips.com>
1640 * testsuite/ld-elf/comm-data1.sd: Alternatively accept
1641 `PRC[0xff02]' in place of a regular section index.
1642 * testsuite/ld-elf/pr21703-shared.sd: Likewise `PRC[0xff01]'.
1644 2018-01-29 Alan Modra <amodra@gmail.com>
1646 * testsuite/ld-elf/pr21964-3a.c: New file.
1647 * testsuite/ld-elf/pr21964-3c.c: New file.
1648 * testsuite/ld-elf/shared.exp: Run new __start/__stop testcase.
1650 2018-01-29 Eric Botcazou <ebotcazou@adacore.com>
1652 * testsuite/ld-elf/shared.exp (AFLAGS_PIC): Define on SPARC.
1653 (pr22269-1): Pass AFLAGS_PIC to the assembler.
1655 2018-01-29 Eric Botcazou <ebotcazou@adacore.com>
1657 * testsuite/ld-elf/pr22450.d: Remove reference to SPARC64.
1659 2018-01-29 Maciej W. Rozycki <macro@mips.com>
1661 * testsuite/ld-mips-elf/comm-data.exp: Correct support for
1662 targets using non-traditional MIPS emulation or having a limited
1663 selection of ABIs available. Don't force big endianness, use
1666 2018-01-29 H.J. Lu <hongjiu.lu@intel.com>
1669 * testsuite/config/default.exp (STATIC_LDFLAGS): New. Set to
1670 "-static" if target compiler supports it.
1671 * testsuite/ld-bootstrap/bootstrap.exp: Skip static executable
1672 tests if target compiler doesn't support it.
1673 * testsuite/ld-ifunc/ifunc.exp: Likewise.
1674 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Likewise.
1675 (run_cc_link_tests): Likewise.
1677 2018-01-27 H.J. Lu <hongjiu.lu@intel.com>
1680 * testsuite/config/default.exp (INT128_CFLAGS): New.
1681 * testsuite/ld-plugin/lto.exp (INT128_CFLAGS): New.
1683 * testsuite/ld-plugin/pr22751.c: New file.
1684 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Add
1685 ld trailing options.
1687 2018-01-28 Alan Modra <amodra@gmail.com>
1690 * ldlang.c (find_rescan_insertion): Look past bfds with claim_archive
1693 2018-01-26 Maciej W. Rozycki <macro@mips.com>
1695 * emulparams/elf32mipswindiss.sh (EXTRA_EM_FILE): Set to
1698 2018-01-25 Eric Botcazou <ebotcazou@adacore.com>
1700 * testsuite/ld-sparc/sparc.exp (32-bit: Helper shared library):
1701 Link with a version script.
1702 (32-bit: TLS -fpie): New test.
1703 (64-bit: Helper shared library): Link with a version script.
1704 (64-bit: TLS -fpie): New test.
1705 (64-bit: GOTDATA relocations): Pass -Av9 to the assembler.
1706 * testsuite/ld-sparc/tlslib.ver: New file.
1707 * testsuite/ld-sparc/tlspie32.dd: Likewise.
1708 * testsuite/ld-sparc/tlspie32.s: Likewise.
1709 * testsuite/ld-sparc/tlspie64.dd: Likewise.
1710 * testsuite/ld-sparc/tlspie64.s: Likewise.
1711 * testsuite/ld-sparc/tlssunbin32.dd: Adjust for versioned symbol.
1712 * testsuite/ld-sparc/tlssunbin32.rd: Likewise.
1713 * testsuite/ld-sparc/tlssunbin32.sd: Likewise.
1714 * testsuite/ld-sparc/tlssunbin64.dd: Likewise.
1715 * testsuite/ld-sparc/tlssunbin64.rd: Likewise.
1716 * testsuite/ld-sparc/tlssunbin64.sd: Likewise.
1718 2018-01-24 Renlin Li <renlin.li@arm.com>
1720 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testes.
1721 * testsuite/ld-aarch64/emit-relocs-287.s: Fix test case.
1722 * testsuite/ld-aarch64/emit-relocs-287.d: Fix expected output.
1723 * testsuite/ld-aarch64/emit-relocs-287-overflow.s: New.
1724 * testsuite/ld-aarch64/emit-relocs-287-overflow.d: New.
1725 * testsuite/ld-aarch64/emit-relocs-288.d: New.
1726 * testsuite/ld-aarch64/emit-relocs-288.s: New.
1727 * testsuite/ld-aarch64/emit-relocs-289.d: New.
1728 * testsuite/ld-aarch64/emit-relocs-289.s: New.
1729 * testsuite/ld-aarch64/emit-relocs-289-overflow.s: New.
1730 * testsuite/ld-aarch64/emit-relocs-289-overflow.d: New.
1731 * testsuite/ld-aarch64/emit-relocs-290.d: New.
1732 * testsuite/ld-aarch64/emit-relocs-290.s: New.
1733 * testsuite/ld-aarch64/emit-relocs-291.d: New.
1734 * testsuite/ld-aarch64/emit-relocs-291.s: New.
1735 * testsuite/ld-aarch64/emit-relocs-291-overflow.s: New.
1736 * testsuite/ld-aarch64/emit-relocs-291-overflow.d: New.
1737 * testsuite/ld-aarch64/emit-relocs-292.d: New.
1738 * testsuite/ld-aarch64/emit-relocs-292.s: New.
1739 * testsuite/ld-aarch64/emit-relocs-293.d: New.
1740 * testsuite/ld-aarch64/emit-relocs-293.s: New.
1742 2018-01-20 H.J. Lu <hongjiu.lu@intel.com>
1745 * testsuite/ld-plugin/lto.exp: Run PR ld/22721 tests.
1746 * testsuite/ld-plugin/pr22721.t: New file.
1747 * testsuite/ld-plugin/pr22721a.s: Likewise.
1748 * testsuite/ld-plugin/pr22721b.c: Likewise.
1750 2018-01-18 H.J. Lu <hongjiu.lu@intel.com>
1752 * testsuite/ld-elf/group1.d: Also xfail Solaris.
1754 2018-01-18 H.J. Lu <hongjiu.lu@intel.com>
1756 * testsuite/ld-elf/linkinfo1a.d: Updated for slightly different
1757 PLT/GOT order/layout for Solaris/x86 targets.
1758 * testsuite/ld-elf/linkinfo1b.d: Likewise.
1760 2018-01-18 H.J. Lu <hongjiu.lu@intel.com>
1763 * emultempl/solaris2.em (elf_solaris2_after_allocation): Fold
1765 (elf_solaris2_before_allocation): This.
1766 (LDEMUL_AFTER_ALLOCATION): Removed.
1768 2018-01-18 Alan Modra <amodra@gmail.com>
1770 * emultempl/ppc32elf.em: Support optional --plt-align arg.
1771 * emultempl/ppc64elf.em: Support negative --plt-align arg.
1773 2018-01-17 Alan Modra <amodra@gmail.com>
1775 * emultempl/ppc32elf.em (params): Init new field.
1776 (OPTION_SPECULATE_INDIRECT_JUMPS): Define.
1777 (OPTION_NO_SPECULATE_INDIRECT_JUMPS): Define.
1778 (PARSE_AND_LIST_LONGOPTS): Handle new options.
1779 (PARSE_AND_LIST_ARGS_CASES): Likewise.
1780 (PARSE_AND_LIST_OPTIONS): Likewise.
1781 * emultempl/ppc64elf.em (params): Init new field.
1782 (OPTION_SPECULATE_INDIRECT_JUMPS): Define.
1783 (OPTION_NO_SPECULATE_INDIRECT_JUMPS): Define.
1784 (PARSE_AND_LIST_LONGOPTS): Handle --speculate-indirect-jumps.
1785 (PARSE_AND_LIST_OPTIONS): Likewise.
1786 (PARSE_AND_LIST_ARGS_CASES): Likewise.
1787 * ld.texinfo (--no-plt-thread-safe): Correct itemx.
1788 (--speculate-indirect-jumps): Document.
1789 * testsuite/ld-powerpc/elfv2exe.d,
1790 * testsuite/ld-powerpc/elfv2so.d,
1791 * testsuite/ld-powerpc/relbrlt.d,
1792 * testsuite/ld-powerpc/powerpc.exp: Disable plt alignment and
1793 speculation barriers on various tests.
1795 2018-01-17 Alan Modra <amodra@gmail.com>
1797 * emultempl/ppc32elf.em (params): Init new field.
1798 (enum ppc32_opt): New enum to define OPTION_* values. Add
1799 OPTION_PLT_ALIGN and OPTION_NO_PLT_ALIGN.
1800 (PARSE_AND_LIST_LONGOPTS): Handle new options.
1801 (PARSE_AND_LIST_ARGS_CASES): Likewise.
1802 (PARSE_AND_LIST_OPTIONS): Likewise. Break up help output.
1803 * emultempl/ppc64elf.em (ppc_add_stub_section): Init alignment
1804 correctly for negative --plt-stub-align.
1805 * testsuite/ld-powerpc/elfv2exe.d,
1806 * testsuite/ld-powerpc/elfv2so.d,
1807 * testsuite/ld-powerpc/relbrlt.d,
1808 * testsuite/ld-powerpc/relbrlt.s,
1809 * testsuite/ld-powerpc/tlsexe.d,
1810 * testsuite/ld-powerpc/tlsexe.r,
1811 * testsuite/ld-powerpc/tlsexe32.d,
1812 * testsuite/ld-powerpc/tlsexe32.g,
1813 * testsuite/ld-powerpc/tlsexe32.r,
1814 * testsuite/ld-powerpc/tlsexetoc.d,
1815 * testsuite/ld-powerpc/tlsexetoc.r,
1816 * testsuite/ld-powerpc/tlsopt5_32.d,
1817 * testsuite/ld-powerpc/tlsso.d,
1818 * testsuite/ld-powerpc/tlstocso.d: Update for changed stub order.
1820 2018-01-16 Nick Clifton <nickc@redhat.com>
1822 * po/pt_BR.po: Updated Brazilian Portuguese translation.
1824 2018-01-15 Nick Clifton <nickc@redhat.com>
1826 * po/uk.po: Updated Ukranian translation.
1828 2018-01-13 Nick Clifton <nickc@redhat.com>
1830 * po/ld.pot: Regenerated.
1832 2018-01-13 Nick Clifton <nickc@redhat.com>
1834 * configure: Regenerate.
1836 2018-01-13 Nick Clifton <nickc@redhat.com>
1838 2.30 branch created.
1839 * NEWS: Add marker for 2.30.
1841 2018-01-12 Alan Modra <amodra@gmail.com>
1843 * testsuite/ld-elf/elf.exp: xfail "pr22374 function pointer
1844 initialization" for currently failing targets.
1846 2018-01-12 Alan Modra <amodra@gmail.com>
1849 * testsuite/ld-elf/pr22649.msg: Allow other messages.
1850 * testsuite/ld-elf/shared.exp: Check that --gc-sections is
1851 supported before running ld/22649 tests.
1853 2018-01-12 Nick Clifton <nickc@redhat.com>
1855 * emultempl/elf32.em (_handle_option): Add support for "-z undefs"
1856 as the opposite of "-z defs".
1857 * ld.texinfo: Document the new option. Update the description of
1858 the -z defs option to make it clear that it does generate an error
1859 if an undefined symbol reference is found in an object file whilst
1860 creating a shared library.
1861 * NEWS: Document this new feature.
1863 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
1865 * testsuite/ld-elf/pr22393-2a.rd: Replace "-z textonly" with
1867 * testsuite/ld-elf/pr22393-2b.rd: Likewise.
1868 * testsuite/ld-x86-64/pr22393-3a.rd: Likewise.
1869 * testsuite/ld-x86-64/pr22393-3b.rd: Likewise.
1871 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
1874 * testsuite/ld-x86-64/pr22393-3a.c: New file.
1875 * testsuite/ld-x86-64/pr22393-3a.rd: Likewise.
1876 * testsuite/ld-x86-64/pr22393-3b.c: Likewise.
1877 * testsuite/ld-x86-64/pr22393-3b.rd: Likewise.
1878 * testsuite/ld-x86-64/x86-64.exp: Run tests for -z separate-code
1879 -z max-page-size=0x1000.
1881 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
1884 * testsuite/ld-elf/pr16322.d: Add -z noseparate-code.
1885 * testsuite/ld-elf/pr22393-1.s: New file.
1886 * testsuite/ld-elf/pr22393-1a.d: Likewise.
1887 * testsuite/ld-elf/pr22393-1b.d: Likewise.
1888 * testsuite/ld-elf/pr22393-1c.d: Likewise.
1889 * testsuite/ld-elf/pr22393-1d.d: Likewise.
1890 * testsuite/ld-elf/pr22393-1e.d: Likewise.
1891 * testsuite/ld-elf/pr22393-1f.d: Likewise.
1892 * testsuite/ld-elf/pr22393-2a.c: Likewise.
1893 * testsuite/ld-elf/pr22393-2a.rd: Likewise.
1894 * testsuite/ld-elf/pr22393-2b.c: Likewise.
1895 * testsuite/ld-elf/pr22393-2b.rd: Likewise.
1896 * testsuite/ld-elf/shared.exp: Run tests for -z separate-code.
1898 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
1901 * NEWS: Mention "-z separate-code".
1902 * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): Get
1903 builtin linker scripts and return linker scripts from disk for
1905 (gld${EMULATION_NAME}_handle_option): Handle "-z separate-code"
1906 and "-z noseparate-code".
1907 * genscripts.sh: Generate linker scripts for "-z separate-code".
1908 (LD_FLAG): Set to *textonly for "-z separate-code".
1909 * ld.texinfo: Document "-z separate-code".
1910 * lexsup.c (elf_shlib_list_options): Add linker help messsages
1911 for "-z separate-code" and "-z noseparate-code".
1912 * scripttempl/elf.sc (SEPARATE_TEXT): New
1913 (TEXT_SEGMENT_ALIGN): Likewise.
1914 Use ${TEXT_SEGMENT_ALIGN} to align and pad text segment to
1917 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
1920 * testsuite/ld-elf/pr22649-1.s: New file.
1921 * testsuite/ld-elf/pr22649-2a.s: Likewise.
1922 * testsuite/ld-elf/pr22649-2b.s: Likewise.
1923 * testsuite/ld-elf/pr22649.msg: Likewise.
1924 * testsuite/ld-elf/shared.exp: Run ld/22649 tests.
1926 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
1929 * scripttempl/elf.sc (PREINIT_ARRAY): New.
1930 Don't add .preinit_array for ld -r.
1931 * testsuite/ld-elf/pr22677.d: New file.
1932 * testsuite/ld-elf/pr22677.s: Likewise.
1934 2018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
1936 * ldexp.h (union etree_union): Remove defsym field.
1937 * ldexp.c (exp_assop): Remove defsym parameter, and use of defsym
1939 (exp_assign): Remove passing of defsym parameter.
1940 (exp_defsym): Likewise.
1941 (exp_provide): Likewise.
1943 2018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
1945 * ldexp.c (exp_fold_tree_1): Rework condition underwhich provide
1946 nodes are ignored in the tree walk, and move the location at which
1947 we change provide nodes into provided nodes.
1948 (exp_init_os): Add etree_provided.
1949 * testsuite/ld-scripts/provide-6.d: New file.
1950 * testsuite/ld-scripts/provide-6.t: New file.
1951 * testsuite/ld-scripts/provide-7.d: New file.
1952 * testsuite/ld-scripts/provide-7.t: New file.
1953 * testsuite/ld-scripts/provide-8.d: New file.
1954 * testsuite/ld-scripts/provide-8.t: New file.
1956 2018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
1958 * testsuite/ld-scripts/provide-3.d: Add xfail directive.
1959 * testsuite/ld-scripts/provide-4.d: Use new map file name.
1960 * testsuite/ld-scripts/provide-5.d: Use new map file name.
1961 * testsuite/ld-scripts/provide-4-map.d: Renamed to...
1962 * testsuite/ld-scripts/provide-4.map: ...this.
1963 * testsuite/ld-scripts/provide-5-map.d: Renamed to...
1964 * testsuite/ld-scripts/provide-5.map: ...this.
1965 * testsuite/ld-scripts/provide.exp: Move xfail into provide-3.d
1966 file, and run tests in a loop.
1968 2018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
1970 * ldexp.c (exp_print_tree): Use '=' instead of ',' when printing
1972 * testsuite/ld-scripts/provide-4.map: Update expected output.
1973 * testsuite/ld-scripts/provide-5.map: Likewise.
1975 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
1978 * scripttempl/elf.sc: Fix the order of SHLIB_RODATA_ADDR.
1980 2018-01-09 Jim Wilson <jimw@sifive.com>
1982 * testsuite/ld-elf/eh-frame-hdr.d (#xfail): Delete
1983 (#alltargets): Renamed from #target. Add shared.
1984 * testsuite/lib/ld-lib.exp (run_dump_test): Document shared target.
1985 Document alltargets option. Add support for alltargets option.
1986 (istarget): Add support for shared target.
1988 2018-01-08 Jim Wilson <jimw@sifive.com>
1990 * testsuite/ld-riscv-elf/c-lui.d: Don't use -shared. Check for _start
1992 * testsuite/ld-riscv-elf/c-lui.s: Add _start label.
1993 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Before __global_pointer$
1994 tests, add call to check_shared_lib_support.
1996 2018-01-05 Jim Wilson <jimw@sifive.com>
1998 * testsuite/ld-riscv-elf/disas-jalr.d: New.
1999 * testsuite/ld-riscv-elf/disas-jalr.s: New.
2000 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run new testcase.
2002 * emulparams/elf32lriscv-defs.sh (GENERATE_SHLIB_SCRIPT): Move inside
2003 case on $target, and don't set for riscv*-elf targets.
2004 (GENERATE_PIE_SCRIPT): Likewise.
2006 2018-01-03 Alan Modra <amodra@gmail.com>
2008 Update year range in copyright notice of all files.
2010 For older changes see ChangeLog-2017
2012 Copyright (C) 2018 Free Software Foundation, Inc.
2014 Copying and distribution of this file, with or without modification,
2015 are permitted in any medium without royalty provided the copyright
2016 notice and this notice are preserved.
2022 version-control: never