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