ELF linker messages
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
9793eb77
AM
12018-02-26 Alan Modra <amodra@gmail.com>
2
3 * testsuite/ld-elf/indirect.exp,
4 * testsuite/ld-elf/pr22649-2ab-mips.msg,
5 * testsuite/ld-elf/pr22649-2cd-mips.msg,
6 * testsuite/ld-elf/pr22649.msg,
7 * testsuite/ld-elf/tls_common.exp,
8 * testsuite/ld-elfcomm/elfcomm.exp,
9 * testsuite/ld-arm/attr-merge-incompatible.d,
10 * testsuite/ld-tic6x/attr-compatibility-gnu-other.d,
11 * testsuite/ld-tic6x/attr-compatibility-other-gnu.d,
12 * testsuite/ld-tic6x/attr-compatibility-other-other.d,
13 * testsuite/ld-i386/warn1.d: Update expected error/warning messages.
14
cf97bcb0
AM
152018-02-26 Alan Modra <amodra@gmail.com>
16
17 * testsuite/ld-powerpc/attr-gnu-12-21.d,
18 * testsuite/ld-powerpc/attr-gnu-4-12.d,
19 * testsuite/ld-powerpc/attr-gnu-4-13.d,
20 * testsuite/ld-powerpc/attr-gnu-4-21.d,
21 * testsuite/ld-powerpc/attr-gnu-4-23.d,
22 * testsuite/ld-powerpc/attr-gnu-4-31.d,
23 * testsuite/ld-powerpc/attr-gnu-4-32.d,
24 * testsuite/ld-powerpc/attr-gnu-8-23.d: Update.
25
bbad9962
AM
262018-02-21 Alan Modra <amodra@gmail.com>
27
28 * testsuite/ld-elf/group8b.d: Run test on ia64. Use xfail rather
29 than notarget.
30 * testsuite/ld-elf/pr12851.d: Likewise.
31 * testsuite/ld-elf/pr12975.d: Likewise.
32 * testsuite/ld-elf/pr13177.d: Likewise.
33 * testsuite/ld-elf/pr13195.d: Likewise.
34 * testsuite/ld-elf/pr17615.d: Likewise.
35 * testsuite/ld-elf/pr21562a.d: Likewise.
36 * testsuite/ld-elf/pr21562b.d: Likewise.
37 * testsuite/ld-elf/pr21562c.d: Likewise.
38 * testsuite/ld-elf/pr21562d.d: Likewise.
39 * testsuite/ld-elf/pr21562i.d: Likewise.
40 * testsuite/ld-elf/pr21562j.d: Likewise.
41 * testsuite/ld-elf/pr21562k.d: Likewise.
42 * testsuite/ld-elf/pr21562l.d: Likewise.
43 * testsuite/ld-elf/pr21562m.d: Likewise.
44 * testsuite/ld-elf/pr21562n.d: Likewise.
45 * testsuite/ld-elf/group9a.d: Run test on ia64 and alpha. Use xfail
46 rather than notarget.
47 * testsuite/ld-elf/group9b.d: Likewise.
48 * testsuite/ld-elf/pr22677.d: Likewise.
49
6798f8bf
MR
502018-02-19 Maciej W. Rozycki <macro@mips.com>
51
52 * testsuite/ld-mips-elf/reginfo-0.d: New test.
53 * testsuite/ld-mips-elf/reginfo-0r.d: New test.
54 * testsuite/ld-mips-elf/reginfo-1.d: New test.
55 * testsuite/ld-mips-elf/reginfo-1r.d: New test.
56 * testsuite/ld-mips-elf/reginfo-2.d: New test.
57 * testsuite/ld-mips-elf/reginfo-2r.d: New test.
58 * testsuite/ld-mips-elf/mips-abiflags-0.d: New test.
59 * testsuite/ld-mips-elf/mips-abiflags-0r.d: New test.
60 * testsuite/ld-mips-elf/mips-abiflags-1.d: New test.
61 * testsuite/ld-mips-elf/mips-abiflags-1r.d: New test.
62 * testsuite/ld-mips-elf/mips-abiflags-2.d: New test.
63 * testsuite/ld-mips-elf/mips-abiflags-2r.d: New test.
64 * testsuite/ld-mips-elf/reginfo-0.ld: New test linker script.
65 * testsuite/ld-mips-elf/reginfo-1.ld: New test linker script.
66 * testsuite/ld-mips-elf/mips-abiflags-0.ld: New test linker
67 script.
68 * testsuite/ld-mips-elf/mips-abiflags-1.ld: New test linker
69 script.
70 * testsuite/ld-mips-elf/reginfo-1.s: New test source.
71 * testsuite/ld-mips-elf/reginfo-2.s: New test source.
72 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
73
8772de11
MR
742018-02-19 Maciej W. Rozycki <macro@mips.com>
75
76 * ldlang.c (insert_pad): Do not change output section's size if
77 SEC_FIXED_SIZE is set in the flags.
78 (size_input_section): Likewise.
79 (lang_size_sections_1): Likewise.
80 (lang_reset_memory_regions): Likewise.
81
c1c8c1ef
AM
822018-02-19 Alan Modra <amodra@gmail.com>
83
84 * ldmisc.c (vfinfo) Handle %pI, %pR, %pS and %pT in place of
85 %I, %R, %S and %T.
86 * ldcref.c, * ldctor.c, * ldemul.c, * ldexp.c, * ldgram.y,
87 * ldlang.c, * ldlex.l, * ldmain.c, * ldmisc.c, * pe-dll.c,
88 * emultempl/sh64elf.em: Replace use of of %I, %R, %S and %T in
89 format strings passed to einfo and friends by %pI, %pR, %pS and %pT.
90
871b3ab2
AM
912018-02-19 Alan Modra <amodra@gmail.com>
92
93 * ldmisc.c (vfinfo): Handle %pA and %pB in place of %A and %B.
94 * ldcref.c: Update all messages using %A and %B.
95 * ldexp.c: Likewise.
96 * ldlang.c: Likewise.
97 * ldmain.c: Likewise.
98 * ldmisc.c: Likewise.
99 * pe-dll.c: Likewise.
100 * plugin.c: Likewise.
101 * emultempl/beos.em: Likewise.
102 * emultempl/cr16elf.em: Likewise.
103 * emultempl/elf32.em: Likewise.
104 * emultempl/m68kcoff.em: Likewise.
105 * emultempl/m68kelf.em: Likewise.
106 * emultempl/mmo.em: Likewise.
107 * emultempl/nds32elf.em: Likewise.
108 * emultempl/pe.em: Likewise.
109 * emultempl/pep.em: Likewise.
110 * emultempl/spuelf.em: Likewise.
111 * emultempl/sunos.em: Likewise.
112 * emultempl/xtensaelf.em: Likewise.
113
f61f94ec
L
1142018-02-19 H.J. Lu <hongjiu.lu@intel.com>
115
116 PR ld/22845
117 * testsuite/ld-elf/frame.exp: Skip if -shared isn't supported.
118 Add tests for "-z noseparate-code" and "-z separate-code".
119 Remove unsupported -shared check.
120
d85502cf
L
1212018-02-17 H.J. Lu <hongjiu.lu@intel.com>
122
123 PR ld/22845
124 * testsuite/ld-elf/ehdr_start.d: Pass --build-id to ld.
125
34b00afa
L
1262018-02-17 H.J. Lu <hongjiu.lu@intel.com>
127
128 PR ld/22845
129 * testsuite/ld-elf/binutils.exp (tls_opts): Add tests for
130 "-z noseparate-code" and "-z separate-code".
131
92d9e363
L
1322018-02-17 H.J. Lu <hongjiu.lu@intel.com>
133
134 PR ld/22845
135 * ld-elf/eh4.d: Pass -z max-page-size=0x200000 -z noseparate-code
136 to ld.
137
c2596c4a
L
1382018-02-16 H.J. Lu <hongjiu.lu@intel.com>
139
140 * testsuite/ld-x86-64/bnd-branch-1-now.d: Add -z
141 max-page-size=0x200000 -z noseparate-code.
142 * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise.
143 * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise.
144 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
145 * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise.
146 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
147 * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise.
148 * testsuite/ld-x86-64/ibt-plt-1.d: Likewise.
149 * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise.
150 * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise.
151 * testsuite/ld-x86-64/ibt-plt-2b-x32.d: Likewise.
152 * testsuite/ld-x86-64/ibt-plt-2b.d: Likewise.
153 * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise.
154 * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise.
155 * testsuite/ld-x86-64/ibt-plt-2d-x32.d: Likewise.
156 * testsuite/ld-x86-64/ibt-plt-2d.d: Likewise.
157 * testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise.
158 * testsuite/ld-x86-64/ibt-plt-3a.d: Likewise.
159 * testsuite/ld-x86-64/ibt-plt-3b-x32.d: Likewise.
160 * testsuite/ld-x86-64/ibt-plt-3b.d: Likewise.
161 * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise.
162 * testsuite/ld-x86-64/ibt-plt-3c.d: Likewise.
163 * testsuite/ld-x86-64/ibt-plt-3d-x32.d: Likewise.
164 * testsuite/ld-x86-64/ibt-plt-3d.d: Likewise.
165 * testsuite/ld-x86-64/load1a.d: Likewise.
166 * testsuite/ld-x86-64/load1b.d: Likewise.
167 * testsuite/ld-x86-64/load1c.d: Likewise.
168 * testsuite/ld-x86-64/load1d.d: Likewise.
169 * testsuite/ld-x86-64/pie3.d: Likewise.
170 * testsuite/ld-x86-64/pr14207.d: Likewise.
171 * testsuite/ld-x86-64/pr17618.d: Likewise.
172 * testsuite/ld-x86-64/pr19162.d: Likewise.
173 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
174 * testsuite/ld-x86-64/pr19636-2l.d: Likewise.
175 * testsuite/ld-x86-64/pr20253-1b.d: Likewise.
176 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
177 * testsuite/ld-x86-64/pr20253-1f.d: Likewise.
178 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
179 * testsuite/ld-x86-64/pr20253-1j.d: Likewise.
180 * testsuite/ld-x86-64/pr20253-1l.d: Likewise.
181 * testsuite/ld-x86-64/pr20830a-now.d: Likewise.
182 * testsuite/ld-x86-64/pr20830a.d: Likewise.
183 * testsuite/ld-x86-64/pr20830b-now.d: Likewise.
184 * testsuite/ld-x86-64/pr20830b.d: Likewise.
185 * testsuite/ld-x86-64/pr21038a-now.d: Likewise.
186 * testsuite/ld-x86-64/pr21038a.d: Likewise.
187 * testsuite/ld-x86-64/pr21038b-now.d: Likewise.
188 * testsuite/ld-x86-64/pr21038b.d: Likewise.
189 * testsuite/ld-x86-64/pr21038c-now.d: Likewise.
190 * testsuite/ld-x86-64/pr21038c.d: Likewise.
191
c441b623
L
1922018-02-16 H.J. Lu <hongjiu.lu@intel.com>
193
194 * testsuite/ld-x86-64/bnd-ifunc-1.d: Updated.
195 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
196
197741f1
L
1972018-02-16 H.J. Lu <hongjiu.lu@intel.com>
198
199 * testsuite/ld-x86-64/mpx.exp: Add -z max-page-size=0x200000
200 -z noseparate-code.
201
7c9f387a
L
2022018-02-16 H.J. Lu <hongjiu.lu@intel.com>
203
204 * testsuite/ld-x86-64/x86-64.exp: Add -z noseparate-code
205 -z max-page-size=0x200000, excluding NaCl target.
206
c9d3eb5f
L
2072018-02-16 H.J. Lu <hongjiu.lu@intel.com>
208
209 * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise.
210 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise.
211 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
212 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
213 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
214 * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise.
215 * testsuite/ld-ifunc/pr17154-i386.d: Likewise.
216
679a5bc8
L
2172018-02-16 H.J. Lu <hongjiu.lu@intel.com>
218
219 * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Add
220 -z max-page-size=0x200000 -z noseparate-code.
221 * testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise.
222 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
223 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
224 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
225 * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
226 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
227
62e2b91b
L
2282018-02-16 H.J. Lu <hongjiu.lu@intel.com>
229
230 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated for i386.
231 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
232 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
233
9f4aec8d
L
2342018-02-16 H.J. Lu <hongjiu.lu@intel.com>
235
236 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
237 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
238 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
239
410a69a0
L
2402018-02-16 H.J. Lu <hongjiu.lu@intel.com>
241
242 * testsuite/ld-i386/ibt-plt-1.d: Add -z noseparate-code.
243 * testsuite/ld-i386/ibt-plt-2a.d: Likewise.
244 * testsuite/ld-i386/ibt-plt-2b.d: Likewise.
245 * testsuite/ld-i386/ibt-plt-2c.d: Likewise.
246 * testsuite/ld-i386/ibt-plt-2d.d: Likewise.
247 * testsuite/ld-i386/ibt-plt-3a.d: Likewise.
248 * testsuite/ld-i386/ibt-plt-3b.d: Likewise.
249 * testsuite/ld-i386/ibt-plt-3c.d: Likewise.
250 * testsuite/ld-i386/ibt-plt-3d.d: Likewise.
251 * testsuite/ld-i386/load1.d: Likewise.
252 * testsuite/ld-i386/pie1.d: Likewise.
253 * testsuite/ld-i386/pr20244-1a.d: Likewise.
254 * testsuite/ld-i386/pr20244-1b.d: Likewise.
255 * testsuite/ld-i386/pr20244-2a.d: Likewise.
256 * testsuite/ld-i386/pr20244-2b.d: Likewise.
257 * testsuite/ld-i386/pr20244-2c.d: Likewise.
258 * testsuite/ld-i386/pr20244-4a.d: Likewise.
259 * testsuite/ld-i386/pr20244-4b.d: Likewise.
260 * testsuite/ld-i386/pr20830.d: Likewise.
261
75bd00e8
L
2622018-02-16 H.J. Lu <hongjiu.lu@intel.com>
263
264 * testsuite/ld-i386/pr19636-1a.d: Updated.
265 * testsuite/ld-i386/pr19636-1b.d: Likewise.
266 * testsuite/ld-i386/pr19636-1j.d: Likewise.
267 * testsuite/ld-i386/pr19636-1k.d: Likewise.
268 * testsuite/ld-i386/pr19636-2a.d: Likewise.
269 * testsuite/ld-i386/pr19636-2b.d: Likewise.
270
760b2893
L
2712018-02-16 H.J. Lu <hongjiu.lu@intel.com>
272
273 * testsuite/ld-i386/i386.exp: Add -z noseparate-code.
274
75cdede0
L
2752018-02-16 H.J. Lu <hongjiu.lu@intel.com>
276
277 * testsuite/ld-elf/pr19162.d: Add -z noseparate-code.
278 * testsuite/ld-elf/textaddr1.d: Likewise.
279 * testsuite/ld-elf/textaddr2.d: Likewise.
280 * testsuite/ld-elf/textaddr4.d: Likewise.
281 * testsuite/ld-elf/textaddr6.d: Likewise.
282
2a0d9853
JW
2832018-02-15 Jim Wilson <jimw@sifive.com>
284
285 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run pcrel-lo-addend test.
286 * testsuite/ld-riscv-elf/pcrel-lo-addend.d: New.
287 * testsuite/ld-riscv-elf/pcrel-lo-addend.s: New.
288
451875b4
L
2892018-02-14 H.J. Lu <hongjiu.lu@intel.com>
290
291 PR ld/22842
292 * testsuite/ld-i386/i386.exp: Run PR ld/22842 tests.
293 * testsuite/ld-x86-64/x86-64.exp: Likewise.
294 * testsuite/ld-i386/pr22842a.c: New file.
295 * testsuite/ld-i386/pr22842b.S: Likewise.
296 * testsuite/ld-x86-64/pr22842a.c: Likewise.
297 * testsuite/ld-x86-64/pr22842a.rd: Likewise.
298 * testsuite/ld-x86-64/pr22842b.S: Likewise.
299 * testsuite/ld-x86-64/pr22842b.rd: Likewise.
300
d4dd94f8
MR
3012018-02-14 Maciej W. Rozycki <macro@mips.com>
302
303 * ldlex.h (ldlex_command): Remove prototype.
304
85f2093d
L
3052018-02-13 H.J. Lu <hongjiu.lu@intel.com>
306
307 * testsuite/ld-x86-64/x86-64.exp: Replace pr22393-2a.so and
308 pr22393-2a-now.so with pr22393-3a.so and pr22393-3a-now.so.
309
60f763ee
AM
3102018-02-14 H.J. Lu <hongjiu.lu@intel.com>
311
312 PR 22836
313 * testsuite/ld-elf/pr22836-1.s: New file.
314 * testsuite/ld-elf/pr22836-1a.d: Likewise.
315 * testsuite/ld-elf/pr22836-1b.d: Likewise.
316
bd7ab16b
L
3172018-02-13 H.J. Lu <hongjiu.lu@intel.com>
318
319 PR gas/22791
320 * testsuite/ld-x86-64/mpx1c.rd: Updated.
321 * testsuite/ld-x86-64/pr22791-1.err: New file.
322 * testsuite/ld-x86-64/pr22791-1a.c: Likewise.
323 * testsuite/ld-x86-64/pr22791-1b.s: Likewise.
324 * testsuite/ld-x86-64/pr22791-2.rd: Likewise.
325 * testsuite/ld-x86-64/pr22791-2a.s: Likewise.
326 * testsuite/ld-x86-64/pr22791-2b.c: Likewise.
327 * testsuite/ld-x86-64/pr22791-2c.s: Likewise.
328 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/22791 tests.
329
6e5e9d58
AM
3302018-02-13 Alan Modra <amodra@gmail.com>
331
332 PR 22836
333 * testsuite/ld-elf/pr22836-2.d,
334 * testsuite/ld-elf/pr22836-2.s: New test.
335
f2731e0c
AM
3362018-02-13 Alan Modra <amodra@gmail.com>
337
338 * testsuite/ld-x86-64/pr14207.d: Adjust relro p_filesz.
339
407aa07c
AM
3402018-02-07 Alan Modra <amodra@gmail.com>
341
342 Revert 2018-01-17 Alan Modra <amodra@gmail.com>
343 * emultempl/ppc32elf.em: Remove --speculate-indirect-jumps support.
344 * emultempl/ppc64elf.em: Likesize
345 * ld.texinfo: Likewise
346 * testsuite/ld-powerpc/elfv2exe.d,
347 * testsuite/ld-powerpc/elfv2so.d,
348 * testsuite/ld-powerpc/relbrlt.d,
349 * testsuite/ld-powerpc/powerpc.exp: Likewise.
350
c20c30f6
EB
3512018-02-06 Eric Botcazou <ebotcazou@adacore.com>
352
353 * testsuite/ld-elf/tls.exp (AFLAGS_PIC): Define on SPARC.
354 (pr22263-1): Pass AFLAGS_PIC to the assembler.
355 * testsuite/ld-sparc/tlspie32.s: Add test for other 3 transitions.
356 * testsuite/ld-sparc/tlspie32.dd: Adjust to above.
357 * testsuite/ld-sparc/tlspie64.s: Add test for other 3 transitions.
358 * testsuite/ld-sparc/tlspie64.dd: Adjust to above.
359
279b2f94
RL
3602018-02-05 Renlin Li <renlin.li@arm.com>
361
362 PR ld/22764
363 * testsuite/ld-aarch64/emit-relocs-258.s: Define symbol as an address.
364 * testsuite/ld-aarch64/emit-relocs-259.s: Likewise.
365 * testsuite/ld-aarch64/pr22764.s: New.
366 * testsuite/ld-aarch64/pr22764.d: New.
367
cd048363
L
3682018-02-05 H.J. Lu <hongjiu.lu@intel.com>
369
370 PR ld/22782
371 * testsuite/ld-i386/discarded1.s: Replace mov with div.
372 * testsuite/ld-x86-64/discarded1.s: Likewise.
373 * testsuite/ld-i386/i386.exp: Run pr22782.
374 * testsuite/ld-i386/load1-nacl.d: Updated for removing
375 _GLOBAL_OFFSET_TABLE_ from output.
376 * testsuite/ld-i386/load1.d: Likewise.
377 * testsuite/ld-x86-64/load1a-nacl.d: Likewise.
378 * testsuite/ld-x86-64/load1a.d: Likewise.
379 * testsuite/ld-x86-64/load1b-nacl.d: Likewise.
380 * testsuite/ld-x86-64/load1b.d: Likewise.
381 * testsuite/ld-i386/pr22782.d: New file.
382 * testsuite/ld-i386/pr22782.s: Likewise.
383 * testsuite/ld-x86-64/pr22782.s: Likewise.
384 * testsuite/ld-x86-64/pr22782a.d: Likewise.
385 * testsuite/ld-x86-64/pr22782b.d: Likewise.
386 * testsuite/ld-x86-64/x86-64.exp: Run pr22782a and pr22782b.
387
f174ef9f
NC
3882018-02-05 Nick Clifton <nickc@redhat.com>
389
390 * po/pt_BR.po: Updated Brazilian Portuguese translation.
391
9f7393d8
L
3922018-02-04 H.J. Lu <hongjiu.lu@intel.com>
393
394 * testsuite/ld-i386/lea1d.d: Replace -Sw with -SW.
395 * testsuite/ld-i386/lea1e.d: Likewise.
396 * testsuite/ld-i386/lea1f.d: Likewise.
397 * testsuite/ld-x86-64/lea1g.d: Likewise.
398 * testsuite/ld-x86-64/lea1h.d: Likewise.
399 * testsuite/ld-x86-64/lea1i.d: Likewise.
400 * testsuite/ld-x86-64/lea1j.d: Likewise.
401 * testsuite/ld-x86-64/lea1k.d: Likewise.
402 * testsuite/ld-x86-64/lea1l.d: Likewise.
403
b0daac83
NC
4042018-02-03 Nick Clifton <nickc@redhat.com>
405
406 PR 22762
407 * scripttempl/pe.sc: Remove PROVIDE()s from __CTOR_LIST__ and
408 __DTOR_LIST__ symbols. Add a comment explaining why this is
409 necessary.
410 * scripttemp/pep.sc: Likewise.
411 * ld.texinfo (PROVIDE): Add a note about the effect of common
412 symbols.
413
138a158f
SL
4142018-02-03 Sandra Loosemore <sandra@codesourcery.com>
415
416 * emulparams/nios2elf.sh (GENERATE_SHLIB_SCRIPT): Don't set.
417
e54d3c94
MR
4182018-02-02 Maciej W. Rozycki <macro@mips.com>
419
420 * testsuite/ld-elf/shared.exp: Add $AFLAGS_PIC throughout to PIC
421 assembly builds where missing and remove `tic6x-*-*' XFAIL
422 markings accordingly.
423
e99955cd
SM
4242018-02-01 Simon Marchi <simon.marchi@ericsson.com>
425
426 * ldexp.c (fold_name, exp_fold_tree_1): Avoid pointer arithmetic
427 on NULL pointer.
428
f000c2b9
L
4292018-01-31 H.J. Lu <hongjiu.lu@intel.com>
430
431 * testsuite/ld-elf/pr21964-5.c (my_var): Mark as used.
432
450b6317
MR
4332018-01-31 Maciej W. Rozycki <macro@mips.com>
434
435 * testsuite/ld-elf/shared.exp: Fix a typo s/scrip/script/.
436
8988502d
MR
4372018-01-31 Maciej W. Rozycki <macro@mips.com>
438
439 * testsuite/ld-elf/comm-data.exp: Pass `-call_shared' to links
440 involving a shared library for `mips*vr4100*-*-elf*',
441 `mips*vr4300*-*-elf*' and `mips*vr5000*-*-elf*' targets.
442 * testsuite/ld-elf/provide-hidden.exp: Likewise.
443 * testsuite/ld-elf/shared.exp: Likewise.
444 * testsuite/ld-gc/gc.exp: Likewise.
445 * testsuite/ld-mips-elf/comm-data.exp: Likewise.
446
f3a9baf1
MR
4472018-01-31 Maciej W. Rozycki <macro@mips.com>
448
449 * testsuite/ld-elf/elf.exp: Move shared library tests over to...
450 * testsuite/ld-elf/shared.exp: ... here.
451
bf3077a6
MM
4522018-01-31 Michael Matz <matz@suse.de>
453
454 * testsuite/ld-elf/pr21964-5.c: New test.
455 * testsuite/ld-elf/shared.exp: Run it.
456
823143c6
L
4572018-01-31 H.J. Lu <hongjiu.lu@intel.com>
458
459 PR ld/21964
460 * testsuite/ld-elf/pr21964-4.c: New file.
461 * testsuite/ld-elf/shared.exp: Run pr21964-4 test on Linux.
462
040b4a9e
AM
4632018-01-30 Alan Modra <amodra@gmail.com>
464
465 * testsuite/ld-gc/stop.d,
466 * testsuite/ld-gc/stop.s: New test.
467 * testsuite/ld-gc/gc.exp: Run it.
468
af667f22
MR
4692018-01-30 Maciej W. Rozycki <macro@mips.com>
470
471 PR ld/22649
472 * testsuite/ld-elf/pr22649-2ab-mips.msg: New stderr output.
473 * testsuite/ld-elf/pr22649-2cd-mips.msg: New stderr output.
474 * testsuite/ld-elf/shared.exp: Use the new outputs with
475 `mips*-*-*' targets.
476
82252033
MR
4772018-01-30 Maciej W. Rozycki <macro@mips.com>
478
479 * testsuite/ld-elf/comm-data1.sd: Alternatively accept
480 `PRC[0xff02]' in place of a regular section index.
481 * testsuite/ld-elf/pr21703-shared.sd: Likewise `PRC[0xff01]'.
482
36b8fda5
AM
4832018-01-29 Alan Modra <amodra@gmail.com>
484
485 * testsuite/ld-elf/pr21964-3a.c: New file.
486 * testsuite/ld-elf/pr21964-3c.c: New file.
487 * testsuite/ld-elf/shared.exp: Run new __start/__stop testcase.
488
185cdb8c
EB
4892018-01-29 Eric Botcazou <ebotcazou@adacore.com>
490
491 * testsuite/ld-elf/shared.exp (AFLAGS_PIC): Define on SPARC.
492 (pr22269-1): Pass AFLAGS_PIC to the assembler.
493
d85815e2
EB
4942018-01-29 Eric Botcazou <ebotcazou@adacore.com>
495
496 * testsuite/ld-elf/pr22450.d: Remove reference to SPARC64.
497
86b24e15
MR
4982018-01-29 Maciej W. Rozycki <macro@mips.com>
499
500 * testsuite/ld-mips-elf/comm-data.exp: Correct support for
501 targets using non-traditional MIPS emulation or having a limited
502 selection of ABIs available. Don't force big endianness, use
503 defaults.
504
98d72909
L
5052018-01-29 H.J. Lu <hongjiu.lu@intel.com>
506
507 PR ld/22732
508 * testsuite/config/default.exp (STATIC_LDFLAGS): New. Set to
509 "-static" if target compiler supports it.
510 * testsuite/ld-bootstrap/bootstrap.exp: Skip static executable
511 tests if target compiler doesn't support it.
512 * testsuite/ld-ifunc/ifunc.exp: Likewise.
513 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Likewise.
514 (run_cc_link_tests): Likewise.
515
fef75122
L
5162018-01-27 H.J. Lu <hongjiu.lu@intel.com>
517
518 PR ld/22751
519 * testsuite/config/default.exp (INT128_CFLAGS): New.
520 * testsuite/ld-plugin/lto.exp (INT128_CFLAGS): New.
521 Run ld/22751 tests.
522 * testsuite/ld-plugin/pr22751.c: New file.
523 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Add
524 ld trailing options.
525
d580dcc7
AM
5262018-01-28 Alan Modra <amodra@gmail.com>
527
528 PR 22751
529 * ldlang.c (find_rescan_insertion): Look past bfds with claim_archive
530 set.
531
2ebd05b8
MR
5322018-01-26 Maciej W. Rozycki <macro@mips.com>
533
534 * emulparams/elf32mipswindiss.sh (EXTRA_EM_FILE): Set to
535 `mipself'.
536
bb363086
EB
5372018-01-25 Eric Botcazou <ebotcazou@adacore.com>
538
539 * testsuite/ld-sparc/sparc.exp (32-bit: Helper shared library):
540 Link with a version script.
541 (32-bit: TLS -fpie): New test.
542 (64-bit: Helper shared library): Link with a version script.
543 (64-bit: TLS -fpie): New test.
544 (64-bit: GOTDATA relocations): Pass -Av9 to the assembler.
545 * testsuite/ld-sparc/tlslib.ver: New file.
546 * testsuite/ld-sparc/tlspie32.dd: Likewise.
547 * testsuite/ld-sparc/tlspie32.s: Likewise.
548 * testsuite/ld-sparc/tlspie64.dd: Likewise.
549 * testsuite/ld-sparc/tlspie64.s: Likewise.
550 * testsuite/ld-sparc/tlssunbin32.dd: Adjust for versioned symbol.
551 * testsuite/ld-sparc/tlssunbin32.rd: Likewise.
552 * testsuite/ld-sparc/tlssunbin32.sd: Likewise.
553 * testsuite/ld-sparc/tlssunbin64.dd: Likewise.
554 * testsuite/ld-sparc/tlssunbin64.rd: Likewise.
555 * testsuite/ld-sparc/tlssunbin64.sd: Likewise.
556
1daf502a
RL
5572018-01-24 Renlin Li <renlin.li@arm.com>
558
559 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testes.
560 * testsuite/ld-aarch64/emit-relocs-287.s: Fix test case.
561 * testsuite/ld-aarch64/emit-relocs-287.d: Fix expected output.
562 * testsuite/ld-aarch64/emit-relocs-287-overflow.s: New.
563 * testsuite/ld-aarch64/emit-relocs-287-overflow.d: New.
564 * testsuite/ld-aarch64/emit-relocs-288.d: New.
565 * testsuite/ld-aarch64/emit-relocs-288.s: New.
566 * testsuite/ld-aarch64/emit-relocs-289.d: New.
567 * testsuite/ld-aarch64/emit-relocs-289.s: New.
568 * testsuite/ld-aarch64/emit-relocs-289-overflow.s: New.
569 * testsuite/ld-aarch64/emit-relocs-289-overflow.d: New.
570 * testsuite/ld-aarch64/emit-relocs-290.d: New.
571 * testsuite/ld-aarch64/emit-relocs-290.s: New.
572 * testsuite/ld-aarch64/emit-relocs-291.d: New.
573 * testsuite/ld-aarch64/emit-relocs-291.s: New.
574 * testsuite/ld-aarch64/emit-relocs-291-overflow.s: New.
575 * testsuite/ld-aarch64/emit-relocs-291-overflow.d: New.
576 * testsuite/ld-aarch64/emit-relocs-292.d: New.
577 * testsuite/ld-aarch64/emit-relocs-292.s: New.
578 * testsuite/ld-aarch64/emit-relocs-293.d: New.
579 * testsuite/ld-aarch64/emit-relocs-293.s: New.
580
8a1b824a
L
5812018-01-20 H.J. Lu <hongjiu.lu@intel.com>
582
583 PR ld/22721
584 * testsuite/ld-plugin/lto.exp: Run PR ld/22721 tests.
585 * testsuite/ld-plugin/pr22721.t: New file.
586 * testsuite/ld-plugin/pr22721a.s: Likewise.
587 * testsuite/ld-plugin/pr22721b.c: Likewise.
588
1ebfa86a
L
5892018-01-18 H.J. Lu <hongjiu.lu@intel.com>
590
591 * testsuite/ld-elf/group1.d: Also xfail Solaris.
592
f7968f08
L
5932018-01-18 H.J. Lu <hongjiu.lu@intel.com>
594
595 * testsuite/ld-elf/linkinfo1a.d: Updated for slightly different
596 PLT/GOT order/layout for Solaris/x86 targets.
597 * testsuite/ld-elf/linkinfo1b.d: Likewise.
598
c5bdb022
L
5992018-01-18 H.J. Lu <hongjiu.lu@intel.com>
600
601 PR ld/22728
602 * emultempl/solaris2.em (elf_solaris2_after_allocation): Fold
603 into ...
604 (elf_solaris2_before_allocation): This.
605 (LDEMUL_AFTER_ALLOCATION): Removed.
606
691d2e9a
AM
6072018-01-18 Alan Modra <amodra@gmail.com>
608
609 * emultempl/ppc32elf.em: Support optional --plt-align arg.
610 * emultempl/ppc64elf.em: Support negative --plt-align arg.
611
1be5d8d3
AM
6122018-01-17 Alan Modra <amodra@gmail.com>
613
614 * emultempl/ppc32elf.em (params): Init new field.
615 (OPTION_SPECULATE_INDIRECT_JUMPS): Define.
616 (OPTION_NO_SPECULATE_INDIRECT_JUMPS): Define.
617 (PARSE_AND_LIST_LONGOPTS): Handle new options.
618 (PARSE_AND_LIST_ARGS_CASES): Likewise.
619 (PARSE_AND_LIST_OPTIONS): Likewise.
620 * emultempl/ppc64elf.em (params): Init new field.
621 (OPTION_SPECULATE_INDIRECT_JUMPS): Define.
622 (OPTION_NO_SPECULATE_INDIRECT_JUMPS): Define.
623 (PARSE_AND_LIST_LONGOPTS): Handle --speculate-indirect-jumps.
624 (PARSE_AND_LIST_OPTIONS): Likewise.
625 (PARSE_AND_LIST_ARGS_CASES): Likewise.
626 * ld.texinfo (--no-plt-thread-safe): Correct itemx.
627 (--speculate-indirect-jumps): Document.
628 * testsuite/ld-powerpc/elfv2exe.d,
629 * testsuite/ld-powerpc/elfv2so.d,
630 * testsuite/ld-powerpc/relbrlt.d,
631 * testsuite/ld-powerpc/powerpc.exp: Disable plt alignment and
632 speculation barriers on various tests.
633
9e390558
AM
6342018-01-17 Alan Modra <amodra@gmail.com>
635
636 * emultempl/ppc32elf.em (params): Init new field.
637 (enum ppc32_opt): New enum to define OPTION_* values. Add
638 OPTION_PLT_ALIGN and OPTION_NO_PLT_ALIGN.
639 (PARSE_AND_LIST_LONGOPTS): Handle new options.
640 (PARSE_AND_LIST_ARGS_CASES): Likewise.
641 (PARSE_AND_LIST_OPTIONS): Likewise. Break up help output.
642 * emultempl/ppc64elf.em (ppc_add_stub_section): Init alignment
643 correctly for negative --plt-stub-align.
644 * testsuite/ld-powerpc/elfv2exe.d,
645 * testsuite/ld-powerpc/elfv2so.d,
646 * testsuite/ld-powerpc/relbrlt.d,
647 * testsuite/ld-powerpc/relbrlt.s,
648 * testsuite/ld-powerpc/tlsexe.d,
649 * testsuite/ld-powerpc/tlsexe.r,
650 * testsuite/ld-powerpc/tlsexe32.d,
651 * testsuite/ld-powerpc/tlsexe32.g,
652 * testsuite/ld-powerpc/tlsexe32.r,
653 * testsuite/ld-powerpc/tlsexetoc.d,
654 * testsuite/ld-powerpc/tlsexetoc.r,
655 * testsuite/ld-powerpc/tlsopt5_32.d,
656 * testsuite/ld-powerpc/tlsso.d,
657 * testsuite/ld-powerpc/tlstocso.d: Update for changed stub order.
658
f6efed01
NC
6592018-01-16 Nick Clifton <nickc@redhat.com>
660
f174ef9f 661 * po/pt_BR.po: Updated Brazilian Portuguese translation.
f6efed01 662
616dcb87
NC
6632018-01-15 Nick Clifton <nickc@redhat.com>
664
665 * po/uk.po: Updated Ukranian translation.
666
3957a496
NC
6672018-01-13 Nick Clifton <nickc@redhat.com>
668
669 * po/ld.pot: Regenerated.
670
769c7ea5
NC
6712018-01-13 Nick Clifton <nickc@redhat.com>
672
673 * configure: Regenerate.
674
9176ac5b
NC
6752018-01-13 Nick Clifton <nickc@redhat.com>
676
faf766e3 677 2.30 branch created.
9176ac5b
NC
678 * NEWS: Add marker for 2.30.
679
5ae5d3fd
AM
6802018-01-12 Alan Modra <amodra@gmail.com>
681
682 * testsuite/ld-elf/elf.exp: xfail "pr22374 function pointer
683 initialization" for currently failing targets.
684
87e79a65
AM
6852018-01-12 Alan Modra <amodra@gmail.com>
686
687 PR ld/22649
688 * testsuite/ld-elf/pr22649.msg: Allow other messages.
689 * testsuite/ld-elf/shared.exp: Check that --gc-sections is
690 supported before running ld/22649 tests.
691
97a232d7
NC
6922018-01-12 Nick Clifton <nickc@redhat.com>
693
694 * emultempl/elf32.em (_handle_option): Add support for "-z undefs"
695 as the opposite of "-z defs".
696 * ld.texinfo: Document the new option. Update the description of
697 the -z defs option to make it clear that it does generate an error
698 if an undefined symbol reference is found in an object file whilst
699 creating a shared library.
700 * NEWS: Document this new feature.
701
33eff4ce
L
7022018-01-11 H.J. Lu <hongjiu.lu@intel.com>
703
704 * testsuite/ld-elf/pr22393-2a.rd: Replace "-z textonly" with
705 "-z separate-code".
706 * testsuite/ld-elf/pr22393-2b.rd: Likewise.
707 * testsuite/ld-x86-64/pr22393-3a.rd: Likewise.
708 * testsuite/ld-x86-64/pr22393-3b.rd: Likewise.
709
cf9e7f1f
L
7102018-01-11 H.J. Lu <hongjiu.lu@intel.com>
711
712 PR ld/22393
713 * testsuite/ld-x86-64/pr22393-3a.c: New file.
714 * testsuite/ld-x86-64/pr22393-3a.rd: Likewise.
715 * testsuite/ld-x86-64/pr22393-3b.c: Likewise.
716 * testsuite/ld-x86-64/pr22393-3b.rd: Likewise.
717 * testsuite/ld-x86-64/x86-64.exp: Run tests for -z separate-code
718 -z max-page-size=0x1000.
719
d346bb27
L
7202018-01-11 H.J. Lu <hongjiu.lu@intel.com>
721
722 PR ld/22393
723 * testsuite/ld-elf/pr16322.d: Add -z noseparate-code.
724 * testsuite/ld-elf/pr22393-1.s: New file.
725 * testsuite/ld-elf/pr22393-1a.d: Likewise.
726 * testsuite/ld-elf/pr22393-1b.d: Likewise.
727 * testsuite/ld-elf/pr22393-1c.d: Likewise.
728 * testsuite/ld-elf/pr22393-1d.d: Likewise.
729 * testsuite/ld-elf/pr22393-1e.d: Likewise.
730 * testsuite/ld-elf/pr22393-1f.d: Likewise.
731 * testsuite/ld-elf/pr22393-2a.c: Likewise.
732 * testsuite/ld-elf/pr22393-2a.rd: Likewise.
733 * testsuite/ld-elf/pr22393-2b.c: Likewise.
734 * testsuite/ld-elf/pr22393-2b.rd: Likewise.
735 * testsuite/ld-elf/shared.exp: Run tests for -z separate-code.
736
47acac12
L
7372018-01-11 H.J. Lu <hongjiu.lu@intel.com>
738
739 PR ld/22393
740 * NEWS: Mention "-z separate-code".
741 * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): Get
742 builtin linker scripts and return linker scripts from disk for
743 "-z separate-code".
744 (gld${EMULATION_NAME}_handle_option): Handle "-z separate-code"
745 and "-z noseparate-code".
746 * genscripts.sh: Generate linker scripts for "-z separate-code".
747 (LD_FLAG): Set to *textonly for "-z separate-code".
748 * ld.texinfo: Document "-z separate-code".
749 * lexsup.c (elf_shlib_list_options): Add linker help messsages
750 for "-z separate-code" and "-z noseparate-code".
751 * scripttempl/elf.sc (SEPARATE_TEXT): New
752 (TEXT_SEGMENT_ALIGN): Likewise.
753 Use ${TEXT_SEGMENT_ALIGN} to align and pad text segment to
754 ${MAXPAGESIZE}.
755
d664fd41
L
7562018-01-11 H.J. Lu <hongjiu.lu@intel.com>
757
758 PR ld/22649
759 * testsuite/ld-elf/pr22649-1.s: New file.
760 * testsuite/ld-elf/pr22649-2a.s: Likewise.
761 * testsuite/ld-elf/pr22649-2b.s: Likewise.
762 * testsuite/ld-elf/pr22649.msg: Likewise.
763 * testsuite/ld-elf/shared.exp: Run ld/22649 tests.
764
8b6f4cd3
L
7652018-01-11 H.J. Lu <hongjiu.lu@intel.com>
766
767 PR ld/22677
768 * scripttempl/elf.sc (PREINIT_ARRAY): New.
769 Don't add .preinit_array for ld -r.
770 * testsuite/ld-elf/pr22677.d: New file.
771 * testsuite/ld-elf/pr22677.s: Likewise.
772
65f14869
AB
7732018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
774
775 * ldexp.h (union etree_union): Remove defsym field.
776 * ldexp.c (exp_assop): Remove defsym parameter, and use of defsym
777 parameter.
778 (exp_assign): Remove passing of defsym parameter.
779 (exp_defsym): Likewise.
780 (exp_provide): Likewise.
781
eab62f2f
AB
7822018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
783
784 * ldexp.c (exp_fold_tree_1): Rework condition underwhich provide
785 nodes are ignored in the tree walk, and move the location at which
786 we change provide nodes into provided nodes.
787 (exp_init_os): Add etree_provided.
788 * testsuite/ld-scripts/provide-6.d: New file.
789 * testsuite/ld-scripts/provide-6.t: New file.
790 * testsuite/ld-scripts/provide-7.d: New file.
791 * testsuite/ld-scripts/provide-7.t: New file.
792 * testsuite/ld-scripts/provide-8.d: New file.
793 * testsuite/ld-scripts/provide-8.t: New file.
794
8be965c5
AB
7952018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
796
797 * testsuite/ld-scripts/provide-3.d: Add xfail directive.
798 * testsuite/ld-scripts/provide-4.d: Use new map file name.
799 * testsuite/ld-scripts/provide-5.d: Use new map file name.
800 * testsuite/ld-scripts/provide-4-map.d: Renamed to...
801 * testsuite/ld-scripts/provide-4.map: ...this.
802 * testsuite/ld-scripts/provide-5-map.d: Renamed to...
803 * testsuite/ld-scripts/provide-5.map: ...this.
804 * testsuite/ld-scripts/provide.exp: Move xfail into provide-3.d
805 file, and run tests in a loop.
806
b3b9f8d3
AB
8072018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
808
809 * ldexp.c (exp_print_tree): Use '=' instead of ',' when printing
810 PROVIDE statements.
811 * testsuite/ld-scripts/provide-4.map: Update expected output.
812 * testsuite/ld-scripts/provide-5.map: Likewise.
813
6bd0a312
L
8142018-01-11 H.J. Lu <hongjiu.lu@intel.com>
815
816 PR ld/22696
817 * scripttempl/elf.sc: Fix the order of SHLIB_RODATA_ADDR.
818
74ccf6db
JW
8192018-01-09 Jim Wilson <jimw@sifive.com>
820
821 * testsuite/ld-elf/eh-frame-hdr.d (#xfail): Delete
822 (#alltargets): Renamed from #target. Add shared.
823 * testsuite/lib/ld-lib.exp (run_dump_test): Document shared target.
824 Document alltargets option. Add support for alltargets option.
825 (istarget): Add support for shared target.
826
7615ca1d
JW
8272018-01-08 Jim Wilson <jimw@sifive.com>
828
829 * testsuite/ld-riscv-elf/c-lui.d: Don't use -shared. Check for _start
830 instead of .text.
831 * testsuite/ld-riscv-elf/c-lui.s: Add _start label.
832 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Before __global_pointer$
833 tests, add call to check_shared_lib_support.
834
be1dce26
JW
8352018-01-05 Jim Wilson <jimw@sifive.com>
836
35eeb78f
JW
837 * testsuite/ld-riscv-elf/disas-jalr.d: New.
838 * testsuite/ld-riscv-elf/disas-jalr.s: New.
839 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run new testcase.
840
be1dce26
JW
841 * emulparams/elf32lriscv-defs.sh (GENERATE_SHLIB_SCRIPT): Move inside
842 case on $target, and don't set for riscv*-elf targets.
843 (GENERATE_PIE_SCRIPT): Likewise.
844
219d1afa
AM
8452018-01-03 Alan Modra <amodra@gmail.com>
846
847 Update year range in copyright notice of all files.
848
1e563868 849For older changes see ChangeLog-2017
3499769a 850\f
1e563868 851Copyright (C) 2018 Free Software Foundation, Inc.
3499769a
AM
852
853Copying and distribution of this file, with or without modification,
854are permitted in any medium without royalty provided the copyright
855notice and this notice are preserved.
856
857Local Variables:
858mode: change-log
859left-margin: 8
860fill-column: 74
861version-control: never
862End:
This page took 0.165873 seconds and 4 git commands to generate.