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