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