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