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