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