Use %pI, %pR, %pS, %pT in place of %I, %R, %S and %T.
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2018-02-19 Alan Modra <amodra@gmail.com>
2
3 * ldmisc.c (vfinfo) Handle %pI, %pR, %pS and %pT in place of
4 %I, %R, %S and %T.
5 * ldcref.c, * ldctor.c, * ldemul.c, * ldexp.c, * ldgram.y,
6 * ldlang.c, * ldlex.l, * ldmain.c, * ldmisc.c, * pe-dll.c,
7 * emultempl/sh64elf.em: Replace use of of %I, %R, %S and %T in
8 format strings passed to einfo and friends by %pI, %pR, %pS and %pT.
9
10 2018-02-19 Alan Modra <amodra@gmail.com>
11
12 * ldmisc.c (vfinfo): Handle %pA and %pB in place of %A and %B.
13 * ldcref.c: Update all messages using %A and %B.
14 * ldexp.c: Likewise.
15 * ldlang.c: Likewise.
16 * ldmain.c: Likewise.
17 * ldmisc.c: Likewise.
18 * pe-dll.c: Likewise.
19 * plugin.c: Likewise.
20 * emultempl/beos.em: Likewise.
21 * emultempl/cr16elf.em: Likewise.
22 * emultempl/elf32.em: Likewise.
23 * emultempl/m68kcoff.em: Likewise.
24 * emultempl/m68kelf.em: Likewise.
25 * emultempl/mmo.em: Likewise.
26 * emultempl/nds32elf.em: Likewise.
27 * emultempl/pe.em: Likewise.
28 * emultempl/pep.em: Likewise.
29 * emultempl/spuelf.em: Likewise.
30 * emultempl/sunos.em: Likewise.
31 * emultempl/xtensaelf.em: Likewise.
32
33 2018-02-19 H.J. Lu <hongjiu.lu@intel.com>
34
35 PR ld/22845
36 * testsuite/ld-elf/frame.exp: Skip if -shared isn't supported.
37 Add tests for "-z noseparate-code" and "-z separate-code".
38 Remove unsupported -shared check.
39
40 2018-02-17 H.J. Lu <hongjiu.lu@intel.com>
41
42 PR ld/22845
43 * testsuite/ld-elf/ehdr_start.d: Pass --build-id to ld.
44
45 2018-02-17 H.J. Lu <hongjiu.lu@intel.com>
46
47 PR ld/22845
48 * testsuite/ld-elf/binutils.exp (tls_opts): Add tests for
49 "-z noseparate-code" and "-z separate-code".
50
51 2018-02-17 H.J. Lu <hongjiu.lu@intel.com>
52
53 PR ld/22845
54 * ld-elf/eh4.d: Pass -z max-page-size=0x200000 -z noseparate-code
55 to ld.
56
57 2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
58
59 * testsuite/ld-x86-64/bnd-branch-1-now.d: Add -z
60 max-page-size=0x200000 -z noseparate-code.
61 * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise.
62 * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise.
63 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
64 * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise.
65 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
66 * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise.
67 * testsuite/ld-x86-64/ibt-plt-1.d: Likewise.
68 * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise.
69 * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise.
70 * testsuite/ld-x86-64/ibt-plt-2b-x32.d: Likewise.
71 * testsuite/ld-x86-64/ibt-plt-2b.d: Likewise.
72 * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise.
73 * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise.
74 * testsuite/ld-x86-64/ibt-plt-2d-x32.d: Likewise.
75 * testsuite/ld-x86-64/ibt-plt-2d.d: Likewise.
76 * testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise.
77 * testsuite/ld-x86-64/ibt-plt-3a.d: Likewise.
78 * testsuite/ld-x86-64/ibt-plt-3b-x32.d: Likewise.
79 * testsuite/ld-x86-64/ibt-plt-3b.d: Likewise.
80 * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise.
81 * testsuite/ld-x86-64/ibt-plt-3c.d: Likewise.
82 * testsuite/ld-x86-64/ibt-plt-3d-x32.d: Likewise.
83 * testsuite/ld-x86-64/ibt-plt-3d.d: Likewise.
84 * testsuite/ld-x86-64/load1a.d: Likewise.
85 * testsuite/ld-x86-64/load1b.d: Likewise.
86 * testsuite/ld-x86-64/load1c.d: Likewise.
87 * testsuite/ld-x86-64/load1d.d: Likewise.
88 * testsuite/ld-x86-64/pie3.d: Likewise.
89 * testsuite/ld-x86-64/pr14207.d: Likewise.
90 * testsuite/ld-x86-64/pr17618.d: Likewise.
91 * testsuite/ld-x86-64/pr19162.d: Likewise.
92 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
93 * testsuite/ld-x86-64/pr19636-2l.d: Likewise.
94 * testsuite/ld-x86-64/pr20253-1b.d: Likewise.
95 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
96 * testsuite/ld-x86-64/pr20253-1f.d: Likewise.
97 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
98 * testsuite/ld-x86-64/pr20253-1j.d: Likewise.
99 * testsuite/ld-x86-64/pr20253-1l.d: Likewise.
100 * testsuite/ld-x86-64/pr20830a-now.d: Likewise.
101 * testsuite/ld-x86-64/pr20830a.d: Likewise.
102 * testsuite/ld-x86-64/pr20830b-now.d: Likewise.
103 * testsuite/ld-x86-64/pr20830b.d: Likewise.
104 * testsuite/ld-x86-64/pr21038a-now.d: Likewise.
105 * testsuite/ld-x86-64/pr21038a.d: Likewise.
106 * testsuite/ld-x86-64/pr21038b-now.d: Likewise.
107 * testsuite/ld-x86-64/pr21038b.d: Likewise.
108 * testsuite/ld-x86-64/pr21038c-now.d: Likewise.
109 * testsuite/ld-x86-64/pr21038c.d: Likewise.
110
111 2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
112
113 * testsuite/ld-x86-64/bnd-ifunc-1.d: Updated.
114 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
115
116 2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
117
118 * testsuite/ld-x86-64/mpx.exp: Add -z max-page-size=0x200000
119 -z noseparate-code.
120
121 2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
122
123 * testsuite/ld-x86-64/x86-64.exp: Add -z noseparate-code
124 -z max-page-size=0x200000, excluding NaCl target.
125
126 2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
127
128 * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise.
129 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise.
130 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
131 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
132 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
133 * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise.
134 * testsuite/ld-ifunc/pr17154-i386.d: Likewise.
135
136 2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
137
138 * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Add
139 -z max-page-size=0x200000 -z noseparate-code.
140 * testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise.
141 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
142 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
143 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
144 * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
145 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
146
147 2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
148
149 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated for i386.
150 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
151 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
152
153 2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
154
155 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
156 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
157 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
158
159 2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
160
161 * testsuite/ld-i386/ibt-plt-1.d: Add -z noseparate-code.
162 * testsuite/ld-i386/ibt-plt-2a.d: Likewise.
163 * testsuite/ld-i386/ibt-plt-2b.d: Likewise.
164 * testsuite/ld-i386/ibt-plt-2c.d: Likewise.
165 * testsuite/ld-i386/ibt-plt-2d.d: Likewise.
166 * testsuite/ld-i386/ibt-plt-3a.d: Likewise.
167 * testsuite/ld-i386/ibt-plt-3b.d: Likewise.
168 * testsuite/ld-i386/ibt-plt-3c.d: Likewise.
169 * testsuite/ld-i386/ibt-plt-3d.d: Likewise.
170 * testsuite/ld-i386/load1.d: Likewise.
171 * testsuite/ld-i386/pie1.d: Likewise.
172 * testsuite/ld-i386/pr20244-1a.d: Likewise.
173 * testsuite/ld-i386/pr20244-1b.d: Likewise.
174 * testsuite/ld-i386/pr20244-2a.d: Likewise.
175 * testsuite/ld-i386/pr20244-2b.d: Likewise.
176 * testsuite/ld-i386/pr20244-2c.d: Likewise.
177 * testsuite/ld-i386/pr20244-4a.d: Likewise.
178 * testsuite/ld-i386/pr20244-4b.d: Likewise.
179 * testsuite/ld-i386/pr20830.d: Likewise.
180
181 2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
182
183 * testsuite/ld-i386/pr19636-1a.d: Updated.
184 * testsuite/ld-i386/pr19636-1b.d: Likewise.
185 * testsuite/ld-i386/pr19636-1j.d: Likewise.
186 * testsuite/ld-i386/pr19636-1k.d: Likewise.
187 * testsuite/ld-i386/pr19636-2a.d: Likewise.
188 * testsuite/ld-i386/pr19636-2b.d: Likewise.
189
190 2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
191
192 * testsuite/ld-i386/i386.exp: Add -z noseparate-code.
193
194 2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
195
196 * testsuite/ld-elf/pr19162.d: Add -z noseparate-code.
197 * testsuite/ld-elf/textaddr1.d: Likewise.
198 * testsuite/ld-elf/textaddr2.d: Likewise.
199 * testsuite/ld-elf/textaddr4.d: Likewise.
200 * testsuite/ld-elf/textaddr6.d: Likewise.
201
202 2018-02-15 Jim Wilson <jimw@sifive.com>
203
204 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run pcrel-lo-addend test.
205 * testsuite/ld-riscv-elf/pcrel-lo-addend.d: New.
206 * testsuite/ld-riscv-elf/pcrel-lo-addend.s: New.
207
208 2018-02-14 H.J. Lu <hongjiu.lu@intel.com>
209
210 PR ld/22842
211 * testsuite/ld-i386/i386.exp: Run PR ld/22842 tests.
212 * testsuite/ld-x86-64/x86-64.exp: Likewise.
213 * testsuite/ld-i386/pr22842a.c: New file.
214 * testsuite/ld-i386/pr22842b.S: Likewise.
215 * testsuite/ld-x86-64/pr22842a.c: Likewise.
216 * testsuite/ld-x86-64/pr22842a.rd: Likewise.
217 * testsuite/ld-x86-64/pr22842b.S: Likewise.
218 * testsuite/ld-x86-64/pr22842b.rd: Likewise.
219
220 2018-02-14 Maciej W. Rozycki <macro@mips.com>
221
222 * ldlex.h (ldlex_command): Remove prototype.
223
224 2018-02-13 H.J. Lu <hongjiu.lu@intel.com>
225
226 * testsuite/ld-x86-64/x86-64.exp: Replace pr22393-2a.so and
227 pr22393-2a-now.so with pr22393-3a.so and pr22393-3a-now.so.
228
229 2018-02-14 H.J. Lu <hongjiu.lu@intel.com>
230
231 PR 22836
232 * testsuite/ld-elf/pr22836-1.s: New file.
233 * testsuite/ld-elf/pr22836-1a.d: Likewise.
234 * testsuite/ld-elf/pr22836-1b.d: Likewise.
235
236 2018-02-13 H.J. Lu <hongjiu.lu@intel.com>
237
238 PR gas/22791
239 * testsuite/ld-x86-64/mpx1c.rd: Updated.
240 * testsuite/ld-x86-64/pr22791-1.err: New file.
241 * testsuite/ld-x86-64/pr22791-1a.c: Likewise.
242 * testsuite/ld-x86-64/pr22791-1b.s: Likewise.
243 * testsuite/ld-x86-64/pr22791-2.rd: Likewise.
244 * testsuite/ld-x86-64/pr22791-2a.s: Likewise.
245 * testsuite/ld-x86-64/pr22791-2b.c: Likewise.
246 * testsuite/ld-x86-64/pr22791-2c.s: Likewise.
247 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/22791 tests.
248
249 2018-02-13 Alan Modra <amodra@gmail.com>
250
251 PR 22836
252 * testsuite/ld-elf/pr22836-2.d,
253 * testsuite/ld-elf/pr22836-2.s: New test.
254
255 2018-02-13 Alan Modra <amodra@gmail.com>
256
257 * testsuite/ld-x86-64/pr14207.d: Adjust relro p_filesz.
258
259 2018-02-07 Alan Modra <amodra@gmail.com>
260
261 Revert 2018-01-17 Alan Modra <amodra@gmail.com>
262 * emultempl/ppc32elf.em: Remove --speculate-indirect-jumps support.
263 * emultempl/ppc64elf.em: Likesize
264 * ld.texinfo: Likewise
265 * testsuite/ld-powerpc/elfv2exe.d,
266 * testsuite/ld-powerpc/elfv2so.d,
267 * testsuite/ld-powerpc/relbrlt.d,
268 * testsuite/ld-powerpc/powerpc.exp: Likewise.
269
270 2018-02-06 Eric Botcazou <ebotcazou@adacore.com>
271
272 * testsuite/ld-elf/tls.exp (AFLAGS_PIC): Define on SPARC.
273 (pr22263-1): Pass AFLAGS_PIC to the assembler.
274 * testsuite/ld-sparc/tlspie32.s: Add test for other 3 transitions.
275 * testsuite/ld-sparc/tlspie32.dd: Adjust to above.
276 * testsuite/ld-sparc/tlspie64.s: Add test for other 3 transitions.
277 * testsuite/ld-sparc/tlspie64.dd: Adjust to above.
278
279 2018-02-05 Renlin Li <renlin.li@arm.com>
280
281 PR ld/22764
282 * testsuite/ld-aarch64/emit-relocs-258.s: Define symbol as an address.
283 * testsuite/ld-aarch64/emit-relocs-259.s: Likewise.
284 * testsuite/ld-aarch64/pr22764.s: New.
285 * testsuite/ld-aarch64/pr22764.d: New.
286
287 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
288
289 PR ld/22782
290 * testsuite/ld-i386/discarded1.s: Replace mov with div.
291 * testsuite/ld-x86-64/discarded1.s: Likewise.
292 * testsuite/ld-i386/i386.exp: Run pr22782.
293 * testsuite/ld-i386/load1-nacl.d: Updated for removing
294 _GLOBAL_OFFSET_TABLE_ from output.
295 * testsuite/ld-i386/load1.d: Likewise.
296 * testsuite/ld-x86-64/load1a-nacl.d: Likewise.
297 * testsuite/ld-x86-64/load1a.d: Likewise.
298 * testsuite/ld-x86-64/load1b-nacl.d: Likewise.
299 * testsuite/ld-x86-64/load1b.d: Likewise.
300 * testsuite/ld-i386/pr22782.d: New file.
301 * testsuite/ld-i386/pr22782.s: Likewise.
302 * testsuite/ld-x86-64/pr22782.s: Likewise.
303 * testsuite/ld-x86-64/pr22782a.d: Likewise.
304 * testsuite/ld-x86-64/pr22782b.d: Likewise.
305 * testsuite/ld-x86-64/x86-64.exp: Run pr22782a and pr22782b.
306
307 2018-02-05 Nick Clifton <nickc@redhat.com>
308
309 * po/pt_BR.po: Updated Brazilian Portuguese translation.
310
311 2018-02-04 H.J. Lu <hongjiu.lu@intel.com>
312
313 * testsuite/ld-i386/lea1d.d: Replace -Sw with -SW.
314 * testsuite/ld-i386/lea1e.d: Likewise.
315 * testsuite/ld-i386/lea1f.d: Likewise.
316 * testsuite/ld-x86-64/lea1g.d: Likewise.
317 * testsuite/ld-x86-64/lea1h.d: Likewise.
318 * testsuite/ld-x86-64/lea1i.d: Likewise.
319 * testsuite/ld-x86-64/lea1j.d: Likewise.
320 * testsuite/ld-x86-64/lea1k.d: Likewise.
321 * testsuite/ld-x86-64/lea1l.d: Likewise.
322
323 2018-02-03 Nick Clifton <nickc@redhat.com>
324
325 PR 22762
326 * scripttempl/pe.sc: Remove PROVIDE()s from __CTOR_LIST__ and
327 __DTOR_LIST__ symbols. Add a comment explaining why this is
328 necessary.
329 * scripttemp/pep.sc: Likewise.
330 * ld.texinfo (PROVIDE): Add a note about the effect of common
331 symbols.
332
333 2018-02-03 Sandra Loosemore <sandra@codesourcery.com>
334
335 * emulparams/nios2elf.sh (GENERATE_SHLIB_SCRIPT): Don't set.
336
337 2018-02-02 Maciej W. Rozycki <macro@mips.com>
338
339 * testsuite/ld-elf/shared.exp: Add $AFLAGS_PIC throughout to PIC
340 assembly builds where missing and remove `tic6x-*-*' XFAIL
341 markings accordingly.
342
343 2018-02-01 Simon Marchi <simon.marchi@ericsson.com>
344
345 * ldexp.c (fold_name, exp_fold_tree_1): Avoid pointer arithmetic
346 on NULL pointer.
347
348 2018-01-31 H.J. Lu <hongjiu.lu@intel.com>
349
350 * testsuite/ld-elf/pr21964-5.c (my_var): Mark as used.
351
352 2018-01-31 Maciej W. Rozycki <macro@mips.com>
353
354 * testsuite/ld-elf/shared.exp: Fix a typo s/scrip/script/.
355
356 2018-01-31 Maciej W. Rozycki <macro@mips.com>
357
358 * testsuite/ld-elf/comm-data.exp: Pass `-call_shared' to links
359 involving a shared library for `mips*vr4100*-*-elf*',
360 `mips*vr4300*-*-elf*' and `mips*vr5000*-*-elf*' targets.
361 * testsuite/ld-elf/provide-hidden.exp: Likewise.
362 * testsuite/ld-elf/shared.exp: Likewise.
363 * testsuite/ld-gc/gc.exp: Likewise.
364 * testsuite/ld-mips-elf/comm-data.exp: Likewise.
365
366 2018-01-31 Maciej W. Rozycki <macro@mips.com>
367
368 * testsuite/ld-elf/elf.exp: Move shared library tests over to...
369 * testsuite/ld-elf/shared.exp: ... here.
370
371 2018-01-31 Michael Matz <matz@suse.de>
372
373 * testsuite/ld-elf/pr21964-5.c: New test.
374 * testsuite/ld-elf/shared.exp: Run it.
375
376 2018-01-31 H.J. Lu <hongjiu.lu@intel.com>
377
378 PR ld/21964
379 * testsuite/ld-elf/pr21964-4.c: New file.
380 * testsuite/ld-elf/shared.exp: Run pr21964-4 test on Linux.
381
382 2018-01-30 Alan Modra <amodra@gmail.com>
383
384 * testsuite/ld-gc/stop.d,
385 * testsuite/ld-gc/stop.s: New test.
386 * testsuite/ld-gc/gc.exp: Run it.
387
388 2018-01-30 Maciej W. Rozycki <macro@mips.com>
389
390 PR ld/22649
391 * testsuite/ld-elf/pr22649-2ab-mips.msg: New stderr output.
392 * testsuite/ld-elf/pr22649-2cd-mips.msg: New stderr output.
393 * testsuite/ld-elf/shared.exp: Use the new outputs with
394 `mips*-*-*' targets.
395
396 2018-01-30 Maciej W. Rozycki <macro@mips.com>
397
398 * testsuite/ld-elf/comm-data1.sd: Alternatively accept
399 `PRC[0xff02]' in place of a regular section index.
400 * testsuite/ld-elf/pr21703-shared.sd: Likewise `PRC[0xff01]'.
401
402 2018-01-29 Alan Modra <amodra@gmail.com>
403
404 * testsuite/ld-elf/pr21964-3a.c: New file.
405 * testsuite/ld-elf/pr21964-3c.c: New file.
406 * testsuite/ld-elf/shared.exp: Run new __start/__stop testcase.
407
408 2018-01-29 Eric Botcazou <ebotcazou@adacore.com>
409
410 * testsuite/ld-elf/shared.exp (AFLAGS_PIC): Define on SPARC.
411 (pr22269-1): Pass AFLAGS_PIC to the assembler.
412
413 2018-01-29 Eric Botcazou <ebotcazou@adacore.com>
414
415 * testsuite/ld-elf/pr22450.d: Remove reference to SPARC64.
416
417 2018-01-29 Maciej W. Rozycki <macro@mips.com>
418
419 * testsuite/ld-mips-elf/comm-data.exp: Correct support for
420 targets using non-traditional MIPS emulation or having a limited
421 selection of ABIs available. Don't force big endianness, use
422 defaults.
423
424 2018-01-29 H.J. Lu <hongjiu.lu@intel.com>
425
426 PR ld/22732
427 * testsuite/config/default.exp (STATIC_LDFLAGS): New. Set to
428 "-static" if target compiler supports it.
429 * testsuite/ld-bootstrap/bootstrap.exp: Skip static executable
430 tests if target compiler doesn't support it.
431 * testsuite/ld-ifunc/ifunc.exp: Likewise.
432 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Likewise.
433 (run_cc_link_tests): Likewise.
434
435 2018-01-27 H.J. Lu <hongjiu.lu@intel.com>
436
437 PR ld/22751
438 * testsuite/config/default.exp (INT128_CFLAGS): New.
439 * testsuite/ld-plugin/lto.exp (INT128_CFLAGS): New.
440 Run ld/22751 tests.
441 * testsuite/ld-plugin/pr22751.c: New file.
442 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Add
443 ld trailing options.
444
445 2018-01-28 Alan Modra <amodra@gmail.com>
446
447 PR 22751
448 * ldlang.c (find_rescan_insertion): Look past bfds with claim_archive
449 set.
450
451 2018-01-26 Maciej W. Rozycki <macro@mips.com>
452
453 * emulparams/elf32mipswindiss.sh (EXTRA_EM_FILE): Set to
454 `mipself'.
455
456 2018-01-25 Eric Botcazou <ebotcazou@adacore.com>
457
458 * testsuite/ld-sparc/sparc.exp (32-bit: Helper shared library):
459 Link with a version script.
460 (32-bit: TLS -fpie): New test.
461 (64-bit: Helper shared library): Link with a version script.
462 (64-bit: TLS -fpie): New test.
463 (64-bit: GOTDATA relocations): Pass -Av9 to the assembler.
464 * testsuite/ld-sparc/tlslib.ver: New file.
465 * testsuite/ld-sparc/tlspie32.dd: Likewise.
466 * testsuite/ld-sparc/tlspie32.s: Likewise.
467 * testsuite/ld-sparc/tlspie64.dd: Likewise.
468 * testsuite/ld-sparc/tlspie64.s: Likewise.
469 * testsuite/ld-sparc/tlssunbin32.dd: Adjust for versioned symbol.
470 * testsuite/ld-sparc/tlssunbin32.rd: Likewise.
471 * testsuite/ld-sparc/tlssunbin32.sd: Likewise.
472 * testsuite/ld-sparc/tlssunbin64.dd: Likewise.
473 * testsuite/ld-sparc/tlssunbin64.rd: Likewise.
474 * testsuite/ld-sparc/tlssunbin64.sd: Likewise.
475
476 2018-01-24 Renlin Li <renlin.li@arm.com>
477
478 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testes.
479 * testsuite/ld-aarch64/emit-relocs-287.s: Fix test case.
480 * testsuite/ld-aarch64/emit-relocs-287.d: Fix expected output.
481 * testsuite/ld-aarch64/emit-relocs-287-overflow.s: New.
482 * testsuite/ld-aarch64/emit-relocs-287-overflow.d: New.
483 * testsuite/ld-aarch64/emit-relocs-288.d: New.
484 * testsuite/ld-aarch64/emit-relocs-288.s: New.
485 * testsuite/ld-aarch64/emit-relocs-289.d: New.
486 * testsuite/ld-aarch64/emit-relocs-289.s: New.
487 * testsuite/ld-aarch64/emit-relocs-289-overflow.s: New.
488 * testsuite/ld-aarch64/emit-relocs-289-overflow.d: New.
489 * testsuite/ld-aarch64/emit-relocs-290.d: New.
490 * testsuite/ld-aarch64/emit-relocs-290.s: New.
491 * testsuite/ld-aarch64/emit-relocs-291.d: New.
492 * testsuite/ld-aarch64/emit-relocs-291.s: New.
493 * testsuite/ld-aarch64/emit-relocs-291-overflow.s: New.
494 * testsuite/ld-aarch64/emit-relocs-291-overflow.d: New.
495 * testsuite/ld-aarch64/emit-relocs-292.d: New.
496 * testsuite/ld-aarch64/emit-relocs-292.s: New.
497 * testsuite/ld-aarch64/emit-relocs-293.d: New.
498 * testsuite/ld-aarch64/emit-relocs-293.s: New.
499
500 2018-01-20 H.J. Lu <hongjiu.lu@intel.com>
501
502 PR ld/22721
503 * testsuite/ld-plugin/lto.exp: Run PR ld/22721 tests.
504 * testsuite/ld-plugin/pr22721.t: New file.
505 * testsuite/ld-plugin/pr22721a.s: Likewise.
506 * testsuite/ld-plugin/pr22721b.c: Likewise.
507
508 2018-01-18 H.J. Lu <hongjiu.lu@intel.com>
509
510 * testsuite/ld-elf/group1.d: Also xfail Solaris.
511
512 2018-01-18 H.J. Lu <hongjiu.lu@intel.com>
513
514 * testsuite/ld-elf/linkinfo1a.d: Updated for slightly different
515 PLT/GOT order/layout for Solaris/x86 targets.
516 * testsuite/ld-elf/linkinfo1b.d: Likewise.
517
518 2018-01-18 H.J. Lu <hongjiu.lu@intel.com>
519
520 PR ld/22728
521 * emultempl/solaris2.em (elf_solaris2_after_allocation): Fold
522 into ...
523 (elf_solaris2_before_allocation): This.
524 (LDEMUL_AFTER_ALLOCATION): Removed.
525
526 2018-01-18 Alan Modra <amodra@gmail.com>
527
528 * emultempl/ppc32elf.em: Support optional --plt-align arg.
529 * emultempl/ppc64elf.em: Support negative --plt-align arg.
530
531 2018-01-17 Alan Modra <amodra@gmail.com>
532
533 * emultempl/ppc32elf.em (params): Init new field.
534 (OPTION_SPECULATE_INDIRECT_JUMPS): Define.
535 (OPTION_NO_SPECULATE_INDIRECT_JUMPS): Define.
536 (PARSE_AND_LIST_LONGOPTS): Handle new options.
537 (PARSE_AND_LIST_ARGS_CASES): Likewise.
538 (PARSE_AND_LIST_OPTIONS): Likewise.
539 * emultempl/ppc64elf.em (params): Init new field.
540 (OPTION_SPECULATE_INDIRECT_JUMPS): Define.
541 (OPTION_NO_SPECULATE_INDIRECT_JUMPS): Define.
542 (PARSE_AND_LIST_LONGOPTS): Handle --speculate-indirect-jumps.
543 (PARSE_AND_LIST_OPTIONS): Likewise.
544 (PARSE_AND_LIST_ARGS_CASES): Likewise.
545 * ld.texinfo (--no-plt-thread-safe): Correct itemx.
546 (--speculate-indirect-jumps): Document.
547 * testsuite/ld-powerpc/elfv2exe.d,
548 * testsuite/ld-powerpc/elfv2so.d,
549 * testsuite/ld-powerpc/relbrlt.d,
550 * testsuite/ld-powerpc/powerpc.exp: Disable plt alignment and
551 speculation barriers on various tests.
552
553 2018-01-17 Alan Modra <amodra@gmail.com>
554
555 * emultempl/ppc32elf.em (params): Init new field.
556 (enum ppc32_opt): New enum to define OPTION_* values. Add
557 OPTION_PLT_ALIGN and OPTION_NO_PLT_ALIGN.
558 (PARSE_AND_LIST_LONGOPTS): Handle new options.
559 (PARSE_AND_LIST_ARGS_CASES): Likewise.
560 (PARSE_AND_LIST_OPTIONS): Likewise. Break up help output.
561 * emultempl/ppc64elf.em (ppc_add_stub_section): Init alignment
562 correctly for negative --plt-stub-align.
563 * testsuite/ld-powerpc/elfv2exe.d,
564 * testsuite/ld-powerpc/elfv2so.d,
565 * testsuite/ld-powerpc/relbrlt.d,
566 * testsuite/ld-powerpc/relbrlt.s,
567 * testsuite/ld-powerpc/tlsexe.d,
568 * testsuite/ld-powerpc/tlsexe.r,
569 * testsuite/ld-powerpc/tlsexe32.d,
570 * testsuite/ld-powerpc/tlsexe32.g,
571 * testsuite/ld-powerpc/tlsexe32.r,
572 * testsuite/ld-powerpc/tlsexetoc.d,
573 * testsuite/ld-powerpc/tlsexetoc.r,
574 * testsuite/ld-powerpc/tlsopt5_32.d,
575 * testsuite/ld-powerpc/tlsso.d,
576 * testsuite/ld-powerpc/tlstocso.d: Update for changed stub order.
577
578 2018-01-16 Nick Clifton <nickc@redhat.com>
579
580 * po/pt_BR.po: Updated Brazilian Portuguese translation.
581
582 2018-01-15 Nick Clifton <nickc@redhat.com>
583
584 * po/uk.po: Updated Ukranian translation.
585
586 2018-01-13 Nick Clifton <nickc@redhat.com>
587
588 * po/ld.pot: Regenerated.
589
590 2018-01-13 Nick Clifton <nickc@redhat.com>
591
592 * configure: Regenerate.
593
594 2018-01-13 Nick Clifton <nickc@redhat.com>
595
596 2.30 branch created.
597 * NEWS: Add marker for 2.30.
598
599 2018-01-12 Alan Modra <amodra@gmail.com>
600
601 * testsuite/ld-elf/elf.exp: xfail "pr22374 function pointer
602 initialization" for currently failing targets.
603
604 2018-01-12 Alan Modra <amodra@gmail.com>
605
606 PR ld/22649
607 * testsuite/ld-elf/pr22649.msg: Allow other messages.
608 * testsuite/ld-elf/shared.exp: Check that --gc-sections is
609 supported before running ld/22649 tests.
610
611 2018-01-12 Nick Clifton <nickc@redhat.com>
612
613 * emultempl/elf32.em (_handle_option): Add support for "-z undefs"
614 as the opposite of "-z defs".
615 * ld.texinfo: Document the new option. Update the description of
616 the -z defs option to make it clear that it does generate an error
617 if an undefined symbol reference is found in an object file whilst
618 creating a shared library.
619 * NEWS: Document this new feature.
620
621 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
622
623 * testsuite/ld-elf/pr22393-2a.rd: Replace "-z textonly" with
624 "-z separate-code".
625 * testsuite/ld-elf/pr22393-2b.rd: Likewise.
626 * testsuite/ld-x86-64/pr22393-3a.rd: Likewise.
627 * testsuite/ld-x86-64/pr22393-3b.rd: Likewise.
628
629 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
630
631 PR ld/22393
632 * testsuite/ld-x86-64/pr22393-3a.c: New file.
633 * testsuite/ld-x86-64/pr22393-3a.rd: Likewise.
634 * testsuite/ld-x86-64/pr22393-3b.c: Likewise.
635 * testsuite/ld-x86-64/pr22393-3b.rd: Likewise.
636 * testsuite/ld-x86-64/x86-64.exp: Run tests for -z separate-code
637 -z max-page-size=0x1000.
638
639 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
640
641 PR ld/22393
642 * testsuite/ld-elf/pr16322.d: Add -z noseparate-code.
643 * testsuite/ld-elf/pr22393-1.s: New file.
644 * testsuite/ld-elf/pr22393-1a.d: Likewise.
645 * testsuite/ld-elf/pr22393-1b.d: Likewise.
646 * testsuite/ld-elf/pr22393-1c.d: Likewise.
647 * testsuite/ld-elf/pr22393-1d.d: Likewise.
648 * testsuite/ld-elf/pr22393-1e.d: Likewise.
649 * testsuite/ld-elf/pr22393-1f.d: Likewise.
650 * testsuite/ld-elf/pr22393-2a.c: Likewise.
651 * testsuite/ld-elf/pr22393-2a.rd: Likewise.
652 * testsuite/ld-elf/pr22393-2b.c: Likewise.
653 * testsuite/ld-elf/pr22393-2b.rd: Likewise.
654 * testsuite/ld-elf/shared.exp: Run tests for -z separate-code.
655
656 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
657
658 PR ld/22393
659 * NEWS: Mention "-z separate-code".
660 * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): Get
661 builtin linker scripts and return linker scripts from disk for
662 "-z separate-code".
663 (gld${EMULATION_NAME}_handle_option): Handle "-z separate-code"
664 and "-z noseparate-code".
665 * genscripts.sh: Generate linker scripts for "-z separate-code".
666 (LD_FLAG): Set to *textonly for "-z separate-code".
667 * ld.texinfo: Document "-z separate-code".
668 * lexsup.c (elf_shlib_list_options): Add linker help messsages
669 for "-z separate-code" and "-z noseparate-code".
670 * scripttempl/elf.sc (SEPARATE_TEXT): New
671 (TEXT_SEGMENT_ALIGN): Likewise.
672 Use ${TEXT_SEGMENT_ALIGN} to align and pad text segment to
673 ${MAXPAGESIZE}.
674
675 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
676
677 PR ld/22649
678 * testsuite/ld-elf/pr22649-1.s: New file.
679 * testsuite/ld-elf/pr22649-2a.s: Likewise.
680 * testsuite/ld-elf/pr22649-2b.s: Likewise.
681 * testsuite/ld-elf/pr22649.msg: Likewise.
682 * testsuite/ld-elf/shared.exp: Run ld/22649 tests.
683
684 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
685
686 PR ld/22677
687 * scripttempl/elf.sc (PREINIT_ARRAY): New.
688 Don't add .preinit_array for ld -r.
689 * testsuite/ld-elf/pr22677.d: New file.
690 * testsuite/ld-elf/pr22677.s: Likewise.
691
692 2018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
693
694 * ldexp.h (union etree_union): Remove defsym field.
695 * ldexp.c (exp_assop): Remove defsym parameter, and use of defsym
696 parameter.
697 (exp_assign): Remove passing of defsym parameter.
698 (exp_defsym): Likewise.
699 (exp_provide): Likewise.
700
701 2018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
702
703 * ldexp.c (exp_fold_tree_1): Rework condition underwhich provide
704 nodes are ignored in the tree walk, and move the location at which
705 we change provide nodes into provided nodes.
706 (exp_init_os): Add etree_provided.
707 * testsuite/ld-scripts/provide-6.d: New file.
708 * testsuite/ld-scripts/provide-6.t: New file.
709 * testsuite/ld-scripts/provide-7.d: New file.
710 * testsuite/ld-scripts/provide-7.t: New file.
711 * testsuite/ld-scripts/provide-8.d: New file.
712 * testsuite/ld-scripts/provide-8.t: New file.
713
714 2018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
715
716 * testsuite/ld-scripts/provide-3.d: Add xfail directive.
717 * testsuite/ld-scripts/provide-4.d: Use new map file name.
718 * testsuite/ld-scripts/provide-5.d: Use new map file name.
719 * testsuite/ld-scripts/provide-4-map.d: Renamed to...
720 * testsuite/ld-scripts/provide-4.map: ...this.
721 * testsuite/ld-scripts/provide-5-map.d: Renamed to...
722 * testsuite/ld-scripts/provide-5.map: ...this.
723 * testsuite/ld-scripts/provide.exp: Move xfail into provide-3.d
724 file, and run tests in a loop.
725
726 2018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
727
728 * ldexp.c (exp_print_tree): Use '=' instead of ',' when printing
729 PROVIDE statements.
730 * testsuite/ld-scripts/provide-4.map: Update expected output.
731 * testsuite/ld-scripts/provide-5.map: Likewise.
732
733 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
734
735 PR ld/22696
736 * scripttempl/elf.sc: Fix the order of SHLIB_RODATA_ADDR.
737
738 2018-01-09 Jim Wilson <jimw@sifive.com>
739
740 * testsuite/ld-elf/eh-frame-hdr.d (#xfail): Delete
741 (#alltargets): Renamed from #target. Add shared.
742 * testsuite/lib/ld-lib.exp (run_dump_test): Document shared target.
743 Document alltargets option. Add support for alltargets option.
744 (istarget): Add support for shared target.
745
746 2018-01-08 Jim Wilson <jimw@sifive.com>
747
748 * testsuite/ld-riscv-elf/c-lui.d: Don't use -shared. Check for _start
749 instead of .text.
750 * testsuite/ld-riscv-elf/c-lui.s: Add _start label.
751 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Before __global_pointer$
752 tests, add call to check_shared_lib_support.
753
754 2018-01-05 Jim Wilson <jimw@sifive.com>
755
756 * testsuite/ld-riscv-elf/disas-jalr.d: New.
757 * testsuite/ld-riscv-elf/disas-jalr.s: New.
758 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run new testcase.
759
760 * emulparams/elf32lriscv-defs.sh (GENERATE_SHLIB_SCRIPT): Move inside
761 case on $target, and don't set for riscv*-elf targets.
762 (GENERATE_PIE_SCRIPT): Likewise.
763
764 2018-01-03 Alan Modra <amodra@gmail.com>
765
766 Update year range in copyright notice of all files.
767
768 For older changes see ChangeLog-2017
769 \f
770 Copyright (C) 2018 Free Software Foundation, Inc.
771
772 Copying and distribution of this file, with or without modification,
773 are permitted in any medium without royalty provided the copyright
774 notice and this notice are preserved.
775
776 Local Variables:
777 mode: change-log
778 left-margin: 8
779 fill-column: 74
780 version-control: never
781 End:
This page took 0.067198 seconds and 4 git commands to generate.