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