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