MIPS/BFD: Don't stop processing on a cross-mode jump conversion error
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
2
3 * testsuite/ld-mips-elf/mode-change-error-1a.s: Trigger an error
4 twice rather than once.
5 * testsuite/ld-mips-elf/mode-change-error-1.d: Adjust
6 accordingly. Remove the full stop from the end of the message.
7
8 2016-06-21 Graham Markall <graham.markall@embecosm.com>
9
10 * testsuite/ld-arc/nps-1a.d: Use -mcpu=arc700 -mnps400.
11 * testsuite/ld-arc/nps-1b.d: Likewise.
12
13 2016-06-20 H.J. Lu <hongjiu.lu@intel.com>
14
15 PR ld/20267
16 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
17 PR ld/20267.
18 (lto_run_tests): Likewise.
19 * testsuite/ld-plugin/pr20267a.c: New file.
20 * testsuite/ld-plugin/pr20267b.c: Likewise.
21
22 2016-06-20 H.J. Lu <hongjiu.lu@intel.com>
23 Alan Modra <amodra@gmail.com>
24
25 PR ld/20276
26 * plugin.c (plugin_notice): Set non_ir_ref on common symbols.
27 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
28 PR ld/20276.
29 (lto_run_tests): Likewise.
30 * testsuite/ld-plugin/pass.out: New file.
31 * testsuite/ld-plugin/pr20276a.c: Likewise.
32 * testsuite/ld-plugin/pr20276b.c: Likewise.
33
34 2016-06-18 H.J. Lu <hongjiu.lu@intel.com>
35
36 * plugin.c (plugin_object_p): Replace bfd_plugin_uknown
37 with bfd_plugin_unknown.
38
39 2016-06-18 H.J. Lu <hongjiu.lu@intel.com>
40
41 PR ld/20253
42 * testsuite/ld-i386/i386.exp: Run PR ld/20253 tests.
43 * testsuite/ld-i386/no-plt.exp: Likewise.
44 * testsuite/ld-x86-64/no-plt.exp: Likewise.
45 * testsuite/ld-i386/pr13302.d: Remove .rel.plt section.
46 * testsuite/ld-ifunc/ifunc-13-i386.d: Likewise.
47 * testsuite/ld-ifunc/ifunc-13-x86-64.d: Likewise.
48 * testsuite/ld-ifunc/ifunc-15-i386.d: Likewise.
49 * testsuite/ld-ifunc/ifunc-15-x86-64.d: Likewise.
50 * testsuite/ld-x86-64/pr13082-5a.d: Likewise.
51 * testsuite/ld-x86-64/pr13082-5b.d: Likewise.
52 * testsuite/ld-x86-64/pr13082-6a.d: Likewise.
53 * testsuite/ld-x86-64/pr13082-6b.d: Likewise.
54 * testsuite/ld-i386/pr20244-2a.d: Remove .plt section.
55 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
56 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
57 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
58 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
59 * testsuite/ld-i386/pr20244-2b.d: Updated.
60 * testsuite/ld-i386/pr20244-2c.d: Likewise.
61 * testsuite/ld-ifunc/ifunc-18a-i386.d: Likewise.
62 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
63 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
64 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
65 * testsuite/ld-i386/pr20253-1a.c: New file.
66 * testsuite/ld-i386/pr20253-1b.S: Likewise.
67 * testsuite/ld-i386/pr20253-1c.S: Likewise.
68 * testsuite/ld-i386/pr20253-1d.S: Likewise.
69 * testsuite/ld-i386/pr20253-2a.c: Likewise.
70 * testsuite/ld-i386/pr20253-2b.S: Likewise.
71 * testsuite/ld-i386/pr20253-2c.S: Likewise.
72 * testsuite/ld-i386/pr20253-2d.S: Likewise.
73 * testsuite/ld-i386/pr20253-3.d: Likewise.
74 * testsuite/ld-i386/pr20253-3.s: Likewise.
75 * testsuite/ld-i386/pr20253-4.s: Likewise.
76 * testsuite/ld-i386/pr20253-4a.d: Likewise.
77 * testsuite/ld-i386/pr20253-4b.d: Likewise.
78 * testsuite/ld-i386/pr20253-4c.d: Likewise.
79 * testsuite/ld-i386/pr20253-5.d: Likewise.
80 * testsuite/ld-i386/pr20253-5.s: Likewise.
81 * testsuite/ld-ifunc/ifunc-23-x86.s: Likewise.
82 * testsuite/ld-ifunc/ifunc-23a-x86.d: Likewise.
83 * testsuite/ld-ifunc/ifunc-23b-x86.d: Likewise.
84 * testsuite/ld-ifunc/ifunc-23c-x86.d: Likewise.
85 * testsuite/ld-ifunc/ifunc-24-x86.s: Likewise.
86 * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise.
87 * testsuite/ld-ifunc/ifunc-24b-x86.d: Likewise.
88 * testsuite/ld-ifunc/ifunc-24c-x86.d: Likewise.
89 * testsuite/ld-ifunc/ifunc-25-x86.s: Likewise.
90 * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
91 * testsuite/ld-ifunc/ifunc-25b-x86.d: Likewise.
92 * testsuite/ld-ifunc/ifunc-25c-x86.d: Likewise.
93 * testsuite/ld-x86-64/pr20253-1.s: Likewise.
94 * testsuite/ld-x86-64/pr20253-1a.d: Likewise.
95 * testsuite/ld-x86-64/pr20253-1b.d: Likewise.
96 * testsuite/ld-x86-64/pr20253-1c.d: Likewise.
97 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
98 * testsuite/ld-x86-64/pr20253-1e.d: Likewise.
99 * testsuite/ld-x86-64/pr20253-1f.d: Likewise.
100 * testsuite/ld-x86-64/pr20253-1g.d: Likewise.
101 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
102 * testsuite/ld-x86-64/pr20253-1i.d: Likewise.
103 * testsuite/ld-x86-64/pr20253-1j.d: Likewise.
104 * testsuite/ld-x86-64/pr20253-1k.d: Likewise.
105 * testsuite/ld-x86-64/pr20253-1l.d: Likewise.
106 * testsuite/ld-x86-64/pr20253-2a.c: Likewise.
107 * testsuite/ld-x86-64/pr20253-2b.S: Likewise.
108 * testsuite/ld-x86-64/pr20253-2c.S: Likewise.
109 * testsuite/ld-x86-64/pr20253-2d.S: Likewise.
110 * testsuite/ld-x86-64/pr20253-3.d: Likewise.
111 * testsuite/ld-x86-64/pr20253-3.s: Likewise.
112 * testsuite/ld-x86-64/pr20253-4.s: Likewise.
113 * testsuite/ld-x86-64/pr20253-4a.d: Likewise.
114 * testsuite/ld-x86-64/pr20253-4b.d: Likewise.
115 * testsuite/ld-x86-64/pr20253-4c.d: Likewise.
116 * testsuite/ld-x86-64/pr20253-4d.d: Likewise.
117 * testsuite/ld-x86-64/pr20253-4e.d: Likewise.
118 * testsuite/ld-x86-64/pr20253-4f.d: Likewise.
119 * testsuite/ld-x86-64/pr20253-5.s: Likewise.
120 * testsuite/ld-x86-64/pr20253-5a.d: Likewise.
121 * testsuite/ld-x86-64/pr20253-5b.d: Likewise.
122 * testsuite/ld-ifunc/ifunc-18a-i386.d: Remove extra IRELATIVE
123 relocation.
124 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
125 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
126 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
127 * testsuite/ld-ifunc/ifunc-18a.s: Fix a typo.
128 * testsuite/ld-x86-64/x86-64.exp: Run pr20253-1 tests.
129
130 2016-06-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
131 Tony Wang <tony.wang@arm.com>
132
133 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall M profile):
134 Assemble for ARMv6-M.
135 (Thumb2-Thumb2 farcall M profile): New testcase.
136 * testsuite/ld-arm/farcall-thumb2-thumb2-m.d: New file.
137 * testsuite/ld-arm/jump-reloc-veneers-cond-long-backward.d: Update to
138 reflect the use of Thumb-2 veneers for Thumb-2 capable targets.
139 * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Likewise.
140
141 2016-06-16 H.J. Lu <hongjiu.lu@intel.com>
142
143 * testsuite/ld-i386/i386.exp: Run pr19636-2e-nacl.
144 * testsuite/ld-i386/pr19636-2e.d: Skip for NaCl targets.
145 Remove .rel.plt section.
146 * testsuite/ld-i386/pr19636-2e-nacl.d: New file.
147
148 2016-06-15 H.J. Lu <hongjiu.lu@intel.com>
149
150 * testsuite/ld-i386/no-plt-check1a.S (check): Test static
151 function pointer.
152 * testsuite/ld-i386/no-plt-check1b.S (check): Likewise.
153 * testsuite/ld-x86-64/no-plt-check1.S (check): Likewise.
154 * testsuite/ld-i386/no-plt-extern1a.S (func_p): New. Static
155 function pointer.
156 * testsuite/ld-i386/no-plt-extern1b.S (func_p): Likewise.
157 * testsuite/ld-x86-64/no-plt-extern1.S (func_p): Likewise.
158 * testsuite/ld-i386/no-plt-1a.dd: Updated.
159 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
160 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
161 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
162 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
163 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
164 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
165 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
166 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
167 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
168 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
169 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
170 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
171 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
172 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
173 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
174 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
175
176 2016-06-14 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
177
178 PR ld/20254
179 * testsuite/ld-avr/avr-prop-6.d: New test.
180 * testsuite/ld-avr/avr-prop-6.s: New test.
181
182 2016-06-14 Alan Modra <amodra@gmail.com>
183
184 * ldbuildid.c: Formatting.
185 * ldcref.c: Formatting.
186 * ldctor.c: Formatting.
187 * ldemul.c: Formatting.
188 * ldexp.c: Formatting.
189 * ldfile.c: Formatting.
190 * ldlang.c: Formatting.
191 * ldmain.c: Formatting.
192 * ldwrite.c: Formatting.
193
194 2016-06-14 Alan Modra <amodra@gmail.com>
195
196 * ldlang.c: Expand uses of bfd_my_archive.
197 * ldmain.c: Likewise.
198 * ldmisc.c: Likewise.
199 * plugin.c: Likewise.
200
201 2016-06-14 Alan Modra <amodra@gmail.com>
202
203 PR ld/20241
204 * ldmain.c (add_archive_element): Just print file name of file within
205 thin archives.
206 * ldmisc.c (vfinfo): Likewise.
207 * plugin.c (plugin_object_p): Open file within thin archives.
208 (plugin_maybe_claim): Expand comment.
209
210 2016-06-13 H.J. Lu <hongjiu.lu@intel.com>
211
212 PR ld/20244
213 * testsuite/ld-i386/i386.exp: Run pr20244-2a, pr20244-2b,
214 pr20244-2c and pr20244-2d.
215 * testsuite/ld-i386/no-plt.exp: Run pr20244-3a and pr20244-3b.
216 * testsuite/ld-i386/pr20244-2.s: New file.
217 * testsuite/ld-i386/pr20244-2a.d: Likewise.
218 * testsuite/ld-i386/pr20244-2b.d: Likewise.
219 * testsuite/ld-i386/pr20244-2c.d: Likewise.
220 * testsuite/ld-i386/pr20244-2d.d: Likewise.
221 * testsuite/ld-i386/pr20244-3a.c: Likewise.
222 * testsuite/ld-i386/pr20244-3b.S: Likewise.
223 * testsuite/ld-i386/pr20244-3c.S: Likewise.
224 * testsuite/ld-i386/pr20244-3d.S: Likewise.
225
226 2016-06-13 H.J. Lu <hongjiu.lu@intel.com>
227
228 * testsuite/ld-i386/i386.exp: Run ifunc-1a and ifunc-1b.
229 * testsuite/ld-i386/ifunc-1a.c: New file.
230 * testsuite/ld-i386/ifunc-1b.S: Likewise.
231 * testsuite/ld-i386/ifunc-1c.S: Likewise.
232 * testsuite/ld-i386/ifunc-1d.S: Likewise.
233
234 2016-06-13 Cupertino Miranda <cmiranda@synospsy.com>
235
236 * testsuite/ld-srec/srec.exp: Changed to XFAIL on both little and
237 big endian ARC targets.
238
239 2016-06-12 H.J. Lu <hongjiu.lu@intel.com>
240
241 * testsuite/ld-x86-64/libno-plt-1b.dd: Updated for x32.
242 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
243 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
244 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
245 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
246 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
247 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
248 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
249 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
250 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
251 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
252 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
253 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
254 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
255 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
256
257 2016-06-11 H.J. Lu <hongjiu.lu@intel.com>
258
259 PR ld/20244
260 * testsuite/ld-i386/i386.exp: Run pr20244-1a and pr20244-1b.
261 * testsuite/ld-i386/pr20244-1.s: New file.
262 * testsuite/ld-i386/pr20244-1a.d: Likewise.
263 * testsuite/ld-i386/pr20244-1b.d: Likewise.
264 * testsuite/ld-i386/pr20244-1c.d: Likewise.
265
266 2016-06-08 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
267
268 PR ld/20221
269 * testsuite/ld-avr/avr-prop-5.d: New.
270 * testsuite/ld-avr/avr-prop-5.s: New.
271
272 2016-06-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
273
274 * testsuite/ld-avr/lds-mega.d: New test.
275 * testsuite/ld-avr/lds-mega.s: New test source.
276 * testsuite/ld-avr/lds-tiny.d: New test.
277 * testsuite/ld-avr/lds-tiny.s: New test source.
278
279 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
280
281 * testsuite/ld-i386/libno-plt-1b.dd: New file.
282 * testsuite/ld-i386/libno-plt-1b.rd: Likewise.
283 * testsuite/ld-i386/no-plt-1a.dd: Likewise.
284 * testsuite/ld-i386/no-plt-1a.rd: Likewise.
285 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
286 * testsuite/ld-i386/no-plt-1b.rd: Likewise.
287 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
288 * testsuite/ld-i386/no-plt-1c.rd: Likewise.
289 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
290 * testsuite/ld-i386/no-plt-1d.rd: Likewise.
291 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
292 * testsuite/ld-i386/no-plt-1e.rd: Likewise.
293 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
294 * testsuite/ld-i386/no-plt-1f.rd: Likewise.
295 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
296 * testsuite/ld-i386/no-plt-1g.rd: Likewise.
297 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
298 * testsuite/ld-i386/no-plt-1h.rd: Likewise.
299 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
300 * testsuite/ld-i386/no-plt-1i.rd: Likewise.
301 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
302 * testsuite/ld-i386/no-plt-1j.rd: Likewise.
303 * testsuite/ld-i386/no-plt-check1a.S: Likewise.
304 * testsuite/ld-i386/no-plt-check1b.S: Likewise.
305 * testsuite/ld-i386/no-plt-extern1a.S: Likewise.
306 * testsuite/ld-i386/no-plt-extern1b.S: Likewise.
307 * testsuite/ld-i386/no-plt-func1.c: Likewise.
308 * testsuite/ld-i386/no-plt-main1.c: Likewise.
309 * testsuite/ld-i386/no-plt.exp: Likewise.
310
311 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
312
313 * testsuite/ld-x86-64/tls.exp (run_cc_link_tests): Update test
314 name.
315
316 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
317
318 * testsuite/ld-i386/i386.exp: Run libtlspic2.so, tlsbin2,
319 tlsgd3, tlsld2, tlsgd4, tlspie3a, tlspie3b and tlspie3c.
320 * testsuite/ld-i386/pass.out: New file.
321 * testsuite/ld-i386/tls-def1.c: Likewise.
322 * testsuite/ld-i386/tls-gd1.S: Likewise.
323 * testsuite/ld-i386/tls-ld1.S: Likewise.
324 * testsuite/ld-i386/tls-main1.c: Likewise.
325 * testsuite/ld-i386/tls.exp: Likewise.
326 * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
327 * testsuite/ld-i386/tlsbin2.dd: Likewise.
328 * testsuite/ld-i386/tlsbin2.rd: Likewise.
329 * testsuite/ld-i386/tlsbin2.sd: Likewise.
330 * testsuite/ld-i386/tlsbin2.td: Likewise.
331 * testsuite/ld-i386/tlsbinpic2.s: Likewise.
332 * testsuite/ld-i386/tlsgd3.dd: Likewise.
333 * testsuite/ld-i386/tlsgd3.s: Likewise.
334 * testsuite/ld-i386/tlsgd4.d: Likewise.
335 * testsuite/ld-i386/tlsgd4.s: Likewise.
336 * testsuite/ld-i386/tlsld2.s: Likewise.
337 * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
338 * testsuite/ld-i386/tlspic2.dd: Likewise.
339 * testsuite/ld-i386/tlspic2.rd: Likewise.
340 * testsuite/ld-i386/tlspic2.sd: Likewise.
341 * testsuite/ld-i386/tlspic2.td: Likewise.
342 * testsuite/ld-i386/tlspic3.s: Likewise.
343 * testsuite/ld-i386/tlspie3.s: Likewise.
344 * testsuite/ld-i386/tlspie3a.d: Likewise.
345 * testsuite/ld-i386/tlspie3b.d: Likewise.
346 * testsuite/ld-i386/tlspie3c.d: Likewise.
347
348 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
349
350 * testsuite/ld-x86-64/no-plt-1a.rd: Support any relocation order.
351 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
352 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
353 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
354 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
355 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
356 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
357 * testsuite/ld-x86-64/no-plt.exp: Fix a typo.
358
359 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
360
361 * testsuite/ld-x86-64/libno-plt-1b.dd: Likewise.
362 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
363 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
364 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
365 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
366 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
367 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
368 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
369 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
370 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
371 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
372 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
373 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
374 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
375 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
376 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
377 * testsuite/ld-x86-64/no-plt-check1.S: Likewise.
378 * testsuite/ld-x86-64/no-plt.exp: Likewise.
379 * testsuite/ld-x86-64/no-plt-extern1.S: Likewise.
380 * testsuite/ld-x86-64/no-plt-func1.c: Likewise.
381 * testsuite/ld-x86-64/no-plt-main1.c: Likewise.
382
383 2016-06-07 Maciej W. Rozycki <macro@imgtec.com>
384
385 * testsuite/ld-elf/init-fini-arrays.d: Remove `ft32-*-*' xfail.
386
387 2016-06-07 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
388
389 * testsuite/ld-s390/pltoffset-1.dd: New test.
390 * testsuite/ld-s390/pltoffset-1.ld: New test.
391 * testsuite/ld-s390/pltoffset-1.s: New test.
392 * testsuite/ld-s390/s390.exp: Run new test.
393
394 2016-06-07 Alan Modra <amodra@gmail.com>
395
396 * testsuite/ld-powerpc/apuinfo1.s: Delete nop.
397 * testsuite/ld-powerpc/apuinfo-vle2.s: New.
398 * testsuite/ld-powerpc/powerpc.exp: Use apuinfo-vle2.s.
399
400 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
401
402 * testsuite/ld-x86-64/pass.out: New file.
403 * testsuite/ld-x86-64/tls-def1.c: Likewise.
404 * testsuite/ld-x86-64/tls-gd1.S: Likewise.
405 * testsuite/ld-x86-64/tls-ld1.S: Likewise.
406 * testsuite/ld-x86-64/tls-main1.c: Likewise.
407 * testsuite/ld-x86-64/tls.exp: Likewise.
408 * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
409 * testsuite/ld-x86-64/tlsbin2.dd: Likewise.
410 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
411 * testsuite/ld-x86-64/tlsbin2.sd: Likewise.
412 * testsuite/ld-x86-64/tlsbin2.td: Likewise.
413 * testsuite/ld-x86-64/tlsbinpic2.s: Likewise.
414 * testsuite/ld-x86-64/tlsgd10.dd: Likewise.
415 * testsuite/ld-x86-64/tlsgd10.s: Likewise.
416 * testsuite/ld-x86-64/tlsgd11.dd: Likewise.
417 * testsuite/ld-x86-64/tlsgd11.s: Likewise.
418 * testsuite/ld-x86-64/tlsgd12.d: Likewise.
419 * testsuite/ld-x86-64/tlsgd12.s: Likewise.
420 * testsuite/ld-x86-64/tlsgd13.d: Likewise.
421 * testsuite/ld-x86-64/tlsgd13.s: Likewise.
422 * testsuite/ld-x86-64/tlsgd14.dd: Likewise.
423 * testsuite/ld-x86-64/tlsgd14.s: Likewise.
424 * testsuite/ld-x86-64/tlsgd5c.s: Likewise.
425 * testsuite/ld-x86-64/tlsgd6c.s: Likewise.
426 * testsuite/ld-x86-64/tlsgd9.dd: Likewise.
427 * testsuite/ld-x86-64/tlsgd9.s: Likewise.
428 * testsuite/ld-x86-64/tlsld4.dd: Likewise.
429 * testsuite/ld-x86-64/tlsld4.s: Likewise.
430 * testsuite/ld-x86-64/tlsld5.dd: Likewise.
431 * testsuite/ld-x86-64/tlsld5.s: Likewise.
432 * testsuite/ld-x86-64/tlsld6.dd: Likewise.
433 * testsuite/ld-x86-64/tlsld6.s: Likewise.
434 * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
435 * testsuite/ld-x86-64/tlspic2.dd: Likewise.
436 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
437 * testsuite/ld-x86-64/tlspic2.sd: Likewise.
438 * testsuite/ld-x86-64/tlspic2.td: Likewise.
439 * testsuite/ld-x86-64/tlspic3.s: Likewise.
440 * testsuite/ld-x86-64/tlspie2.s: Likewise.
441 * testsuite/ld-x86-64/tlspie2a.d: Likewise.
442 * testsuite/ld-x86-64/tlspie2b.d: Likewise.
443 * testsuite/ld-x86-64/tlspie2c.d: Likewise.
444 * testsuite/ld-x86-64/tlsgd5.dd: Updated.
445 * testsuite/ld-x86-64/tlsgd6.dd: Likewise.
446 * testsuite/ld-x86-64/x86-64.exp: Run libtlspic2.so, tlsbin2,
447 tlsgd5b, tlsgd6b, tlsld4, tlsld5, tlsld6, tlsgd9, tlsgd10,
448 tlsgd11, tlsgd14, tlsgd12, tlsgd13, tlspie2a, tlspie2b and
449 tlspie2c.
450
451 2016-06-04 Christian Groessler <chris@groessler.org>
452
453 * testsuite/ld-z8k/0filler.s: New file.
454 * testsuite/ld-z8k/branch-target.s: New file.
455 * testsuite/ld-z8k/branch-target2.s: New file.
456 * testsuite/ld-z8k/calr-back-8001.d: New file.
457 * testsuite/ld-z8k/calr-back-8002.d: New file.
458 * testsuite/ld-z8k/calr-back-fail-8001.d: New file.
459 * testsuite/ld-z8k/calr-back-fail-8002.d: New file.
460 * testsuite/ld-z8k/calr-forw-8001.d: New file.
461 * testsuite/ld-z8k/calr-forw-8002.d: New file.
462 * testsuite/ld-z8k/calr-forw-fail-8001.d: New file.
463 * testsuite/ld-z8k/calr-forw-fail-8002.d: New file.
464 * testsuite/ld-z8k/calr-opcode.s: New file.
465 * testsuite/ld-z8k/dbjnz-forw-8001.d: New file.
466 * testsuite/ld-z8k/dbjnz-forw-8002.d: New file.
467 * testsuite/ld-z8k/dbjnz-forw-fail-8001.d: New file.
468 * testsuite/ld-z8k/dbjnz-forw-fail-8002.d: New file.
469 * testsuite/ld-z8k/dbjnz-opcode.s: New file.
470 * testsuite/ld-z8k/djnz-back-8001.d: New file.
471 * testsuite/ld-z8k/djnz-back-8002.d: New file.
472 * testsuite/ld-z8k/djnz-back-fail-8001.d: New file.
473 * testsuite/ld-z8k/djnz-back-fail-8002.d: New file.
474 * testsuite/ld-z8k/djnz-forw-8001.d: New file.
475 * testsuite/ld-z8k/djnz-forw-8002.d: New file.
476 * testsuite/ld-z8k/djnz-forw-fail-8001.d: New file.
477 * testsuite/ld-z8k/djnz-forw-fail-8002.d: New file.
478 * testsuite/ld-z8k/djnz-opcode.s: New file.
479 * testsuite/ld-z8k/filler.s: New file.
480 * testsuite/ld-z8k/jr-back-8001.d: New file.
481 * testsuite/ld-z8k/jr-back-8002.d: New file.
482 * testsuite/ld-z8k/jr-back-fail-8001.d: New file.
483 * testsuite/ld-z8k/jr-back-fail-8002.d: New file.
484 * testsuite/ld-z8k/jr-forw-8001.d: New file.
485 * testsuite/ld-z8k/jr-forw-8002.d: New file.
486 * testsuite/ld-z8k/jr-forw-fail-8001.d: New file.
487 * testsuite/ld-z8k/jr-forw-fail-8002.d: New file.
488 * testsuite/ld-z8k/jr-opcode.s: New file.
489 * testsuite/ld-z8k/ldr-back-8001.d: New file.
490 * testsuite/ld-z8k/ldr-back-8002.d: New file.
491 * testsuite/ld-z8k/ldr-back-fail-8001.d: New file.
492 * testsuite/ld-z8k/ldr-back-fail-8002.d: New file.
493 * testsuite/ld-z8k/ldr-forw-8001.d: New file.
494 * testsuite/ld-z8k/ldr-forw-8002.d: New file.
495 * testsuite/ld-z8k/ldr-forw-fail-8001.d: New file.
496 * testsuite/ld-z8k/ldr-forw-fail-8002.d: New file.
497 * testsuite/ld-z8k/ldr-opcode.s: New file.
498 * testsuite/ld-z8k/ldrb-forw-8001.d: New file.
499 * testsuite/ld-z8k/ldrb-forw-8002.d: New file.
500 * testsuite/ld-z8k/ldrb-forw-fail-8001.d: New file.
501 * testsuite/ld-z8k/ldrb-forw-fail-8002.d: New file.
502 * testsuite/ld-z8k/ldrb-opcode.s: New file.
503 * testsuite/ld-z8k/ldrb-opcode2.s: New file.
504 * testsuite/ld-z8k/other-file.s: New file.
505 * testsuite/ld-z8k/reloc.dd: New file.
506 * testsuite/ld-z8k/reloc.ld: New file.
507 * testsuite/ld-z8k/relocseg.dd: New file.
508 * testsuite/ld-z8k/relocseg.ld: New file.
509 * testsuite/ld-z8k/relocseg1.dd: New file.
510 * testsuite/ld-z8k/this-file.s: New file.
511 * testsuite/ld-z8k/z8k.exp: New file.
512
513 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
514
515 * testsuite/ld-i386/i386.exp: Assemble gotpc1.o and pr19319b.o
516 with -mrelax-relocations=yes.
517 * testsuite/ld-i386/lea1a.d (as): Add -mrelax-relocations=yes.
518 * testsuite/ld-i386/lea1b.d (as): Likewise.
519 * testsuite/ld-i386/lea1d.d (as): Likewise.
520 * testsuite/ld-i386/lea1e.d (as): Likewise.
521 * testsuite/ld-i386/lea1f.d (as): Likewise.
522 * testsuite/ld-i386/load7.d (as): Likewise.
523 * testsuite/ld-i386/mov1b.d (as): Likewise.
524 * testsuite/ld-i386/pr19175.d (as): Likewise.
525 * testsuite/ld-ifunc/ifunc-13-i386.d (as): Likewise.
526 * testsuite/ld-ifunc/ifunc-21-i386.d (as): Likewise.
527 * testsuite/ld-ifunc/ifunc-22-i386.d (as): Likewise.
528 * testsuite/ld-x86-64/x86-64.exp: Assemble gotpcrel1a.o,
529 gotpcrel1b.o and gotpcrel1c.o with -mrelax-relocations=yes.
530
531 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
532
533 * configure.tgt: Replace -uclibc with *.
534
535 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
536
537 * testsuite/ld-mips-elf/unaligned-branch.d: New test.
538 * testsuite/ld-mips-elf/unaligned-branch.s: New test source.
539 * testsuite/ld-mips-elf/unaligned-text.s: New test source.
540 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
541
542 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
543
544 * testsuite/ld-mips-elf/unaligned-syms.s: Rename to...
545 * testsuite/ld-mips-elf/unaligned-data.s: ... this.
546 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Adjust accordingly.
547 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
548 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Likewise.
549 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
550
551 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
552
553 * testsuite/ld-mips-elf/jal-global-overflow-0.d: New test.
554 * testsuite/ld-mips-elf/jal-global-overflow-1.d: New test.
555 * testsuite/ld-mips-elf/jal-local-overflow-0.d: New test.
556 * testsuite/ld-mips-elf/jal-local-overflow-1.d: New test.
557 * testsuite/ld-mips-elf/jal-global-overflow.s: New test source.
558 * testsuite/ld-mips-elf/jal-local-overflow.s: New test source.
559 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
560
561 2016-05-28 Alan Modra <amodra@gmail.com>
562
563 * ldmain.c (multiple_definition, multiple_common, add_to_set,
564 constructor_callback, warning_callback, undefined_symbol,
565 reloc_overflow, reloc_dangerous, unattached_reloc): Return void.
566 * emultempl/elf32.em: Adjust callback calls.
567
568 2016-05-27 Maciej W. Rozycki <macro@imgtec.com>
569
570 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.d: New test.
571 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: New test.
572 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-0.d: New
573 test.
574 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d: New
575 test.
576 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-0.d: New
577 test.
578 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d: New
579 test.
580 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.s: New test
581 source.
582 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.s: New test
583 source.
584 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
585
586 2016-05-27 Maciej W. Rozycki <macro@imgtec.com>
587
588 * testsuite/ld-mips-elf/reloc-local-overflow.d: New test.
589 * testsuite/ld-mips-elf/reloc-local-overflow.s: Source for the
590 new test.
591 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
592
593 2016-05-26 Maciej W. Rozycki <macro@imgtec.com>
594
595 * testsuite/ld-mips-elf/unaligned-jalx-0.d: Fold
596 `unaligned-jalx-2' here.
597 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: Fold
598 `unaligned-jalx-mips16-2' here.
599 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: Fold
600 `unaligned-jalx-micromips-2' here.
601 * testsuite/ld-mips-elf/unaligned-jalx-0.s: Update accordingly.
602 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error
603 message.
604 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
605 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
606 * testsuite/ld-mips-elf/unaligned-jalx-2.d: Remove test.
607 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: Remove test.
608 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: Remove
609 test.
610 * testsuite/ld-mips-elf/unaligned-jalx-2.s: Remove test source.
611 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Fold
612 `unaligned-lwpc-3' here.
613 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: Update accordingly.
614 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Fold
615 `unaligned-lwpc-2' here.
616 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: Update accordingly.
617 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: Remove test.
618 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: Remove test source.
619 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: Remove test.
620 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: Remove test source.
621 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Fold
622 `unaligned-ldpc-4' here.
623 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: Update accordingly.
624 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Update error
625 message. Fold `unaligned-ldpc-2' and `unaligned-ldpc-3' here.
626 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: Update accordingly.
627 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: Remove test.
628 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: Remove test source.
629 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: Remove test.
630 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: Remove test source.
631 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: Remove test.
632 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: Remove test source.
633 * testsuite/ld-mips-elf/mips-elf.exp: Delete removed tests.
634
635 2016-05-26 Nick Clifton <nickc@redhat.com>
636
637 PR target/20134
638 * scripttempl/elf32msp430.sc (.bss): Provide __bssstart and
639 __bsssize.
640 * scripttempl/elf32msp430_3.sc (.bss): Likewise.
641
642 2016-05-25 Maciej W. Rozycki <macro@imgtec.com>
643
644 * testsuite/ld-mips-elf/unaligned-jalx-0.d: New test.
645 * testsuite/ld-mips-elf/unaligned-jalx-1.d: New test.
646 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
647 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: New test.
648 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: New test.
649 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: New test.
650 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: New test.
651 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: New test.
652 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: New test.
653 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: New test.
654 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: New test.
655 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: New test.
656 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: New test.
657 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: New test.
658 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: New test.
659 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: New test.
660 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: New test.
661 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: New test.
662 * testsuite/ld-mips-elf/unaligned-jalx-0.s: New test source.
663 * testsuite/ld-mips-elf/unaligned-jalx-1.s: New test source.
664 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
665 * testsuite/ld-mips-elf/unaligned-insn.s: New test source.
666 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: New test source.
667 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: New test source.
668 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: New test source.
669 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: New test source.
670 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: New test source.
671 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: New test source.
672 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: New test source.
673 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: New test source.
674 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: New test source.
675 * testsuite/ld-mips-elf/unaligned-syms.s: New test source.
676 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
677
678 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
679
680 PR ld/20103
681 * ldmain.c (add_archive_element): Don't claim new IR symbols
682 after all IR symbols have been claimed.
683 * plugin.c (plugin_call_claim_file): Remove no_more_claiming
684 check.
685 * testsuite/ld-plugin/lto.exp (pr20103): New proc.
686 Run PR ld/20103 tests.
687 * testsuite/ld-plugin/pr20103a.c: New file.
688 * testsuite/ld-plugin/pr20103b.c: Likewise.
689 * testsuite/ld-plugin/pr20103c.c: Likewise.
690
691 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
692
693 * testsuite/ld-mips-elf/jalx-local.d: New test.
694 * testsuite/ld-mips-elf/jalx-local-n32.d: New test.
695 * testsuite/ld-mips-elf/jalx-local-n64.d: New test.
696 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
697
698 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
699
700 * Makefile.am: Add earmelf_phoenix.c.
701 * Makefile.in: Regenerate.
702 * configure.tgt: Add entry for arm-phoenix.
703 * emulparams/armelf_phoenix.sh: New file.
704
705 2016-05-23 Thomas Preud'homme <thomas.preudhomme@arm.com>
706
707 * emultempl/armelf.em (arm_elf_before_allocation): Call
708 bfd_elf32_arm_keep_private_stub_output_sections before generic
709 before_allocation function.
710
711 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
712
713 * testsuite/ld-mips-elf/jalx-addend.d: New test.
714 * testsuite/ld-mips-elf/jalx-addend-n32.d: New test.
715 * testsuite/ld-mips-elf/jalx-addend-n64.d: New test.
716 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
717
718 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
719
720 PR ld/20117
721 * testsuite/ld-i386/i386.exp: Run pr20117.
722 * testsuite/ld-i386/pr19609-1i.d: Updated.
723 * testsuite/ld-i386/pr20117.d: New file.
724 * testsuite/ld-i386/pr20117.s: Likewise.
725
726 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
727
728 * testsuite/ld-elf/compressed1d.d: Removed from notarget.
729 * testsuite/ld-elf/group8a.d: Likewise.
730 * testsuite/ld-elf/group8b.d: Likewise.
731 * testsuite/ld-elf/group9a.d: Likewise.
732 * testsuite/ld-elf/group9b.d: Likewise.
733 * testsuite/ld-elf/pr12851.d: Likewise.
734 * testsuite/ld-elf/pr12975.d: Likewise.
735 * testsuite/ld-elf/pr13177.d: Likewise.
736 * testsuite/ld-elf/pr13195.d: Likewise.
737 * testsuite/ld-elf/pr17615.d: Likewise.
738 * testsuite/ld-elf/eh-frame-hdr.d: Removed from xfail.
739 * testsuite/ld-elf/group3b.d: Likewise.
740 * testsuite/ld-srec/srec.exp: Likewise.
741 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark ARC
742 as supporting gc.
743 (check_shared_lib_support): Mark ARC as supporting.
744
745 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
746
747 * emulparams/arcelf.sh: Changed.
748 * emulparams/arclinux.sh: Likewise.
749 * scripttempl/arclinux.sc: Moved to a more standard implementation
750 similar to elf.sc.
751
752 2016-05-19 Maciej W. Rozycki <macro@imgtec.com>
753
754 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Reorder
755 `ft32-*-*' behind `frv-*-*'.
756
757 2016-05-19 Maciej W. Rozycki <macro@imgtec.com>
758
759 * configure.tgt: Remove `am34-*-linux*' support.
760
761 2016-05-19 Alan Modra <amodra@gmail.com>
762
763 * testsuite/ld-scripts/crossref.exp: Remove -mcall-aixdesc hack.
764 * testsuite/ld-scripts/cross2.t: Tweak .opd and .toc placement.
765 * testsuite/ld-scripts/cross3.t: Likewise.
766 * testsuite/ld-scripts/cross4.t: Likewise.
767 * testsuite/ld-scripts/cross5.t: Likewise.
768 * testsuite/ld-scripts/cross6.t: Likewise.
769 * testsuite/ld-scripts/cross7.t: Likewise.
770
771 2016-05-19 Alan Modra <amodra@gmail.com>
772
773 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Pass in
774 exe name rather than constructing testname. Fix typo in
775 sub-test name. Log copying. Use -rpath rather than -R.
776
777 2016-05-18 Nick Clifton <nickc@redhat.com>
778
779 * scripttempl/ft32.sc: Use fixed constants for memory region
780 lengths. Include DWARF debug sections.
781 (.data .bss): Do not assign locations during relocatable links.
782 * testsuite/ld-elf/compressed1d.d: Skip for FT32.
783 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
784 * testsuite/ld-elf/sec64k.exp: Likewise.
785 * testsuite/ld-elf/init-fini-array.d: XFail for FT32.
786 * testsuite/ld-elf/merge.d: Likewise.
787 * testsuite/ld-elf/orphan-region.d: Likewise.
788 * testsuite/ld-elf/orphan.s: Likewise.
789 * testsuite/ld-elf/orphan3.d: Likewise.
790 * testsuite/ld-elf/pr349.d: Likewise.
791 * testsuite/ld-elf/warn2.d: Likewise.
792 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Note
793 that the FT32 does not support shared libraries.
794
795 2016-05-17 H.J. Lu <hongjiu.lu@intel.com>
796
797 * testsuite/lib/ld-lib.exp (at_least_gcc_version): Check
798 global CC.
799
800 2016-05-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
801
802 * scripttempl/avr.sc (text): Place .progmem.data from avr-libc
803 above .progmem*.
804 * scripttempl/avrtiny.sc (text): Likewise.
805
806 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
807
808 * testsuite/ld-unique/unique.exp: Use `is_elf_format' and
809 `supports_gnu_unique' to qualify testing.
810
811 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
812
813 * testsuite/ld-elf/flags1.d: Update the xfail list.
814
815 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
816
817 * testsuite/ld-elf/flags1.d: Update for `*-*-nacl*' xfail
818 removal.
819
820 2016-05-14 H.J. Lu <hongjiu.lu@intel.com>
821
822 PR ld/20097
823 * testplug2.c (onall_symbols_read): Remove redundant sizeof
824 on EXPECTED_VIEW_LENGTH.
825 * testplug4.c (onall_symbols_read): Likewise.
826
827 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
828
829 PR ld/20093
830 * testsuite/ld-x86-64/pr20093-1.d: New file.
831 * testsuite/ld-x86-64/pr20093-1.s: Likewise.
832 * testsuite/ld-x86-64/pr20093-2.d: Likewise.
833 * testsuite/ld-x86-64/pr20093-2.s: Likewise.
834 * testsuite/ld-x86-64/x86-64.exp: Run pr20093-1 and pr20093-2.
835
836 2016-05-13 Alan Modra <amodra@gmail.com>
837
838 * testsuite/ld-arm/arm-elf.exp: Adjust for arm-no-rel-plt now passing.
839 Use different output file name for static app without .rel.plt.
840 * testsuite/ld-arm/arm-no-rel-plt.ld: Align .rel.dyn and .rela.dyn.
841 * testsuite/ld-arm/arm-no-rel-plt.out: Delete.
842 * testsuite/ld-arm/arm-no-rel-plt.r: New.
843 * testsuite/ld-arm/arm-static-app.d: Don't check file name.
844 * testsuite/ld-arm/arm-static-app.r: Likewise.
845
846 2016-05-12 H.J. Lu <hongjiu.lu@intel.com>
847
848 PR ld/20070
849 * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug4.la.
850 (libldtestplug4_la_SOURCES): New.
851 (libldtestplug4_la_CFLAGS): Likewise.
852 (libldtestplug4_la_LDFLAGS): Likewise.
853 * Makefile.in: Regenerated.
854 * plugin.c (get_symbols): Return resolution based on IR symbol
855 kinds for symbols defined/referenced only within IR.
856 * testplug4.c: New file.
857 * ld/testsuite/ld-plugin/pr20070.d: Likewise.
858 * ld/testsuite/ld-plugin/pr20070a.c: Likewise.
859 * ld/testsuite/ld-plugin/pr20070b.c: Likewise.
860 * testsuite/ld-plugin/plugin.exp (plugin4_name): New.
861 (plugin4_path): Likewise.
862 Add a test for ld/20070.
863
864 2016-05-11 Alan Modra <amodra@gmail.com>
865
866 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
867 Call elf32_hppa_init_stub_bfd.
868
869 2016-05-11 Alan Modra <amodra@gmail.com>
870
871 PR 20060
872 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
873 * testsuite/ld-powerpc/tlsdll.s: New.
874 * testsuite/ld-powerpc/tlsdll.ver: New.
875 * testsuite/ld-powerpc/tlsdll_32.s: New.
876 * testsuite/ld-powerpc/tlsopt5.d: New.
877 * testsuite/ld-powerpc/tlsopt5.s: New.
878 * testsuite/ld-powerpc/tlsopt5_32.d: New.
879 * testsuite/ld-powerpc/tlsopt5_32.s: New.
880
881 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
882
883 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Use
884 ARM_GET_SYM_BRANCH_TYPE to get branch type of a symbol.
885
886 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
887
888 * emultempl/armelf.em (elf32_arm_add_stub_section): Add output_section
889 parameter and rename input_section parameter to after_input_section.
890 Append input stub section to the output section if after_input_section
891 is NULL.
892
893 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
894
895 * testsuite/ld-arm/arm-elf.exp (EABI attribute merging 10 (DSP)): New
896 test.
897 * testsuite/ld-arm/attr-merge-10b-dsp.s: New file.
898 * testsuite/ld-arm/attr-merge-10-dsp.attr: Likewise.
899
900 2016-05-10 Christophe Lyon <christophe.lyon@linaro.org>
901
902 * ld/testsuite/ld-elf/flags1.d (xfail): Remove *-*-nacl*".
903
904 2016-05-09 Christophe Monat <christophe.monat@st.com>
905
906 PR ld/20030
907 * testsuite/ld-arm/arm-elf.exp: Run new stm32l4xx-fix-vldm-dp
908 tests. Fix misnamed stm32l4xx-fix-all.
909 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.s: New tests for multiple
910 loads with DP registers.
911 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.d: New reference file.
912 * testsuite/ld-arm/stm32l4xx-fix-vldm.s: Add missing comment.
913 * testsuite/ld-arm/stm32l4xx-fix-all.s: Add tests for multiple
914 loads with DP registers.
915 * testsuite/ld-arm/stm32l4xx-fix-all.d: Update reference.
916
917 2016-05-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
918
919 * testsuite/ld-elf/flags1.d (readelf): Dump section header instead
920 program headers.
921 (xfail): Remove avr-*-*.
922 Update regex to check the section flags.
923 * testsuite/ld-elf/merge.d (xfail): Remove avr-*-*.
924
925 2016-05-09 Alan Modra <amodra@gmail.com>
926
927 * Makefile.am (ealphavms.c, eelf64_ia64_vms): Correct .em deps.
928 * Makefile.in: Regenerate.
929
930 2016-05-09 Alan Modra <amodra@gmail.com>
931
932 * testsuite/ld-scripts/pr14962-2.t: Match .text, not *.text.
933 * testsuite/ld-scripts/rgn-at5.t: Similarly, .sec not *.sec.
934 * testsuite/ld-scripts/section-match-1.t: Likewise.
935
936 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
937
938 PR ld/17550
939 * testsuite/ld-elf/pr17550-1.s: New file.
940 * testsuite/ld-elf/pr17550-2.s: Likewise.
941 * testsuite/ld-elf/pr17550-3.s: Likewise.
942 * testsuite/ld-elf/pr17550-4.s: Likewise.
943 * testsuite/ld-elf/pr17550a.d: Likewise.
944 * testsuite/ld-elf/pr17550b.d: Likewise.
945 * testsuite/ld-elf/pr17550c.d: Likewise.
946 * testsuite/ld-elf/pr17550d.d: Likewise.
947
948 2016-05-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
949
950 * ld/testsuite/ld-srec/srec.exp: Mark test as XFAIL for AVR.
951
952 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
953
954 * testsuite/ld-i386/i386.exp: Run load7.
955 * testsuite/ld-i386/load7.d: New file.
956 * testsuite/ld-i386/load7.map: Likewise.
957 * testsuite/ld-i386/load7.s: Likewise.
958 * testsuite/ld-x86-64/load2.d: Likewise.
959 * testsuite/ld-x86-64/load2.map: Likewise.
960 * testsuite/ld-x86-64/load2.s: Likewise.
961 * testsuite/ld-x86-64/x86-64.exp: Run load2.
962
963 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
964
965 * emulparams/elf_iamcu.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): New.
966 * emulparams/elf_k1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
967 Likewise.
968 * emulparams/elf_l1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
969 Likewise.
970
971 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
972
973 * testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld.
974
975 2016-05-04 H.J. Lu <hongjiu.lu@intel.com>
976
977 * ldlang.c (init_os): Pass %E to einfo when bfd_section == NULL.
978
979 2016-05-04 Maciej W. Rozycki <macro@imgtec.com>
980
981 * testsuite/ld-unique/unique.d: New test.
982 * testsuite/ld-unique/unique.exp: Run the new test. Adjust
983 messages for compiled tests.
984
985 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
986
987 * testsuite/ld-elf/pr18735.d: Allow other symbols.
988 * testsuite/ld-elf/sec64k.exp: Skip 64ksec for avr.
989 * testsuite/ld-gc/pr14265.d: Allow other symbols.
990 * testsuite/ld-plugin/plugin.exp: Add PR ld/17973 to
991 plugin_tests only if check_shared_lib_support is true.
992 * testsuite/ld-selective/selective.exp: Add --section-start
993 flag for avr.
994
995 2016-05-03 Maciej W. Rozycki <macro@imgtec.com>
996
997 PR 10549
998 * testsuite/ld-unique/unique.exp: Also run for `mips*-*-*'.
999
1000 2016-05-03 Jiong Wang <jiong.wang@arm.com>
1001
1002 * emultempl/aarch64elf.em (--no-apply-dynamic-relocs): New option.
1003 * NEWS: Mention --no-apply-dynamic-relocs.
1004 * ld.texinfo (ld and the ARM family): Document
1005 --no-apply-dynamic-relocs.
1006 * testsuite/ld-aarch64/rela-abs-relative.s: New test source.
1007 * testsuite/ld-aarch64/rela-abs-relative.d: New expected result.
1008 * testsuite/ld-aarch64/rela-abs-relative-be.d: Likewise for big-endian.
1009 * estsuite/ld-aarch64/rela-abs-relative-opt.d: Likewise, but enable new
1010 option.
1011
1012 2016-05-03 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1013
1014 * testsuite/ld-elfcomm/elfcomm.exp: Check for shared lib support
1015 before running STT_COMMON tests.
1016
1017 2016-04-29 H.J. Lu <hongjiu.lu@intel.com>
1018
1019 * config/default.exp (NOPIE_CFLAGS): Download source only on
1020 remote host.
1021 (NOPIE_LDFLAGS): Likewise.
1022 * testsuite/lib/ld-lib.exp (check_lto_available): Likewise.
1023 (check_lto_fat_available): Likewise.
1024 (check_lto_shared_available): Likewise.
1025 (check_ifunc_available): Likewise.
1026 (check_ifunc_attribute_available): Likewise.
1027
1028 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
1029
1030 * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.
1031
1032 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
1033
1034 PR ld/20006
1035 * testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
1036 (visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
1037 ELF targets.
1038
1039 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
1040
1041 * testsuite/ld-elf/compressed1b.d: Pass
1042 --compress-debug-sections=none to ld.
1043 * testsuite/ld-elf/compressed1c.d: Likewise.
1044
1045 2016-04-27 Alan Modra <amodra@gmail.com>
1046
1047 PR target/19985
1048 * configure.tgt: Don't use var+=.
1049
1050 2016-04-25 Nick Clifton <nickc@redhat.com>
1051
1052 PR target/19985
1053 * configure.tgt: Include big endian PPC64 emulations with little
1054 endian PPC64 targets.
1055
1056 2016-04-25 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1057
1058 * scripttempl/avrtiny.sc (.text): Do not set LMA to zero.
1059
1060 2016-04-21 Nick Clifton <nickc@redhat.com>
1061
1062 * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in
1063 prefernce to _bfd_elf_link_check_relocs. Drop test for ELF
1064 targets. Do not stop the checks when problems are encountered.
1065
1066 2016-04-21 Alan Modra <amodra@gmail.com>
1067
1068 * testsuite/ld-scripts/cross3.t: Add commonly used data
1069 and text section names to output section statements.
1070 * testsuite/ld-scripts/cross4.t: Likewise.
1071 * testsuite/ld-scripts/cross5.t: Likewise.
1072 * testsuite/ld-scripts/cross6.t: Likewise.
1073 * testsuite/ld-scripts/cross7.t: Likewise.
1074
1075 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1076
1077 * ldlang.c (lang_check_relocs): New function.
1078 (lang_process): Call lang_check_relocs after lang_gc_sections.
1079 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
1080 call _bfd_elf_link_check_relocs here.
1081
1082 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1083
1084 PR ld/19972
1085 * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for
1086 R_386_NONE or R_X86_64_NONE.
1087
1088 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1089
1090 * testsuite/ld-x86-64/pic1.d: New file.
1091 * testsuite/ld-x86-64/pic1.s: Likewise.
1092 * testsuite/ld-x86-64/x86-64.exp: Run pic1.
1093
1094 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1095
1096 * testsuite/ld-x86-64/pie2.d: New file.
1097 * testsuite/ld-x86-64/pie2.s: Likewise.
1098 * testsuite/ld-x86-64/x86-64.exp: Run pie2.
1099
1100 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1101
1102 PR ld/19969
1103 * testsuite/ld-x86-64/pr19969.d: New file.
1104 * testsuite/ld-x86-64/pr19969a.S: Likewise.
1105 * testsuite/ld-x86-64/pr19969b.S: Likewise.
1106 * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests.
1107
1108 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1109
1110 * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1111 New.
1112 * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1113 Likewise.
1114 * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1115 Likewise.
1116 * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1117 Likewise.
1118 * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1119 Likewise.
1120 * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1121 Likewise.
1122 * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1123 Likewise.
1124 * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1125 Likewise.
1126 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
1127 Set check_relocs_after_open_input to TRUE if
1128 CHECK_RELOCS_AFTER_OPEN_INPUT is yes.
1129 (gld${EMULATION_NAME}_after_open): Call
1130 _bfd_elf_link_check_relocs on all inputs if
1131 check_relocs_after_open_input is TRUE.
1132
1133 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1134
1135 * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
1136 my_personality_v0.
1137
1138 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1139
1140 * emultempl/scoreelf.em: Likewise.
1141
1142 2016-04-19 H.J. Lu <hongjiu.lu@intel.com>
1143
1144 PR ld/19719
1145 * testsuite/ld-x86-64/pr19719.d: New file.
1146 * testsuite/ld-x86-64/pr19719.s: Likewise.
1147 * testsuite/ld-x86-64/x86-64.exp: Run pr19719.
1148
1149 2016-04-18 Matthew Fortune <matthew.fortune@imgtec.com>
1150
1151 * ld.texinfo: Document NOCROSSREFS_TO script command.
1152 * ldlang.h (struct lang_nocrossrefs): Add onlyfirst field.
1153 (lang_add_nocrossref_to): New prototype.
1154 * ldcref.c (check_local_sym_xref): Use onlyfirst to only look for
1155 symbols defined in the first section.
1156 (check_nocrossref): Likewise.
1157 * ldgram.y (NOCROSSREFS_TO): New script command.
1158 * ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE.
1159 (lang_add_nocrossref_to): New function.
1160 * ldlex.l (NOCROSSREFS_TO): New token.
1161 * NEWS: Mention NOCROSSREFS_TO.
1162 * testsuite/ld-scripts/cross4.t: New file.
1163 * testsuite/ld-scripts/cross5.t: Likewise.
1164 * testsuite/ld-scripts/cross6.t: Likewise.
1165 * testsuite/ld-scripts/cross7.t: Likewise.
1166 * testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO
1167 tests.
1168
1169 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
1170
1171 * Makefile.in: Regenerated with automake 1.11.6.
1172 * aclocal.m4: Likewise.
1173
1174 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
1175
1176 * testsuite/ld-arc/arc.exp: New file.
1177 * testsuite/ld-arc/nps-1.s: New file.
1178 * testsuite/ld-arc/nps-1a.d: New file.
1179 * testsuite/ld-arc/nps-1b.d: New file.
1180 * testsuite/ld-arc/nps-1b.err: New file.
1181
1182 2016-04-14 Nick Clifton <nickc@redhat.com>
1183
1184 PR 19457
1185 * testsuite/ld-scripts/script.exp (extract_symbol_test): Add
1186 exceptions for Mingw and Cygwin.
1187
1188 2016-04-13 Andrew Burgess <andrew.burgess@embecosm.com>
1189
1190 * testsuite/lib/ld-lib.exp (run_dump_test): Initialise
1191 check_ld(terminal).
1192
1193 2016-04-13 H.J. Lu <hongjiu.lu@intel.com>
1194
1195 PR ld/19774
1196 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before
1197 tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed
1198 tests.
1199
1200 2016-04-11 H.J. Lu <hongjiu.lu@intel.com>
1201
1202 PR ld/19939
1203 * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
1204 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1205 * testsuite/ld-i386/pr19939.s: New file.
1206 * testsuite/ld-i386/pr19939a.d: Likewise.
1207 * testsuite/ld-i386/pr19939b.d: Likewise.
1208 * testsuite/ld-x86-64/pr19939.s: Likewise.
1209 * testsuite/ld-x86-64/pr19939a.d: Likewise.
1210 * testsuite/ld-x86-64/pr19939b.d: Likewise.
1211
1212 2016-04-09 Oleg Endo <olegendo@gcc.gnu.org>
1213
1214 * emulparams/shelf.sh: Set stack area to 0x3FFFFF00.
1215
1216 2016-04-08 Alan Modra <amodra@gmail.com>
1217
1218 PR 18452
1219 * ldlang.c (maybe_overlays): Delete.
1220 (lang_size_sections_1): Remove code setting maybe_overlays.
1221 (lang_check_section_addresses): Instead detect overlays by
1222 exact match of section VMAs here. Fix memory leak.
1223
1224 2016-04-08 Dan Gisselquist <dgisselq@ieee.org>
1225
1226 * ldlang.c (print_output_section_statement): Show minfo size
1227 in target machine address units.
1228 (print_reloc_statement): Likewise.
1229 (print_padding_statement): Likewise.
1230 (print_data_statement): Likewise. Ensure minimum print_dot
1231 increment of one address unit.
1232
1233 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1234
1235 * emulparams/arc-endianness.sh: Make little endian default choice.
1236
1237 2016-04-07 Nick Clifton <nickc@redhat.com>
1238
1239 * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in
1240 section name.
1241 * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise.
1242
1243 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
1244
1245 * emulparams/arc-endianness.sh: New file.
1246 * emulparams/arcebelf.sh: Deleted.
1247 * emulparams/arcebelf_prof.sh: Deleted.
1248 * emulparams/arceblinux.sh: Deleted.
1249 * emulparams/arceblinux_prof.sh: Deleted.
1250 * emulparams/arcelf.sh: Include arc-endinness.sh.
1251 * emulparams/arcelf_prof.sh: Include arc-endinness.sh.
1252 * emulparams/arclinux.sh: Include arc-endinness.sh.
1253 * emulparams/arclinux_prof.sh: Include arc-endinness.sh.
1254 * emulparams/arcv2elf.sh: Include arc-endinness.sh.
1255 * emulparams/arcv2elfx.sh: Include arc-endinness.sh.
1256 * testsuite/ld-elf/compressed1d.d: Update pattern for big and
1257 little endian arc targets.
1258 * testsuite/ld-elf/eh-frame-hdr.d: Likewise.
1259 * testsuite/ld-elf/group1.d: Likewise.
1260 * testsuite/ld-elf/group3b.d: Likewise.
1261 * testsuite/ld-elf/group8a.d: Likewise.
1262 * testsuite/ld-elf/group8b.d: Likewise.
1263 * testsuite/ld-elf/group9a.d: Likewise.
1264 * testsuite/ld-elf/group9b.d: Likewise.
1265 * testsuite/ld-elf/linkonce2.d: Likewise.
1266 * testsuite/ld-elf/pr12851.d: Likewise.
1267 * testsuite/ld-elf/pr12975.d: Likewise.
1268 * testsuite/ld-elf/pr13177.d: Likewise.
1269 * testsuite/ld-elf/pr13195.d: Likewise.
1270 * testsuite/ld-elf/pr17615.d: Likewise.
1271 * testsuite/ld-elf/pr19162.d: Likewise.
1272 * testsuite/ld-elf/sec64k.exp: Likewise.
1273 * testsuite/lib/ld-lib.exp: Likewise.
1274
1275 2016-04-05 Maciej W. Rozycki <macro@imgtec.com>
1276
1277 PR ld/19908
1278 * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol
1279 handling fix.
1280 * testsuite/ld-cris/tls-e-20a.d: Likewise.
1281 * testsuite/ld-cris/tls-e-21.d: Likewise.
1282 * testsuite/ld-cris/tls-e-23.d: Likewise.
1283 * testsuite/ld-cris/tls-e-80.d: Likewise.
1284 * testsuite/ld-cris/tls-gd-3h.d: Likewise.
1285 * testsuite/ld-cris/tls-leie-19.d: Likewise.
1286 * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test.
1287 * testsuite/ld-mips-elf/export-hidden-ref.sd: New test.
1288 * testsuite/ld-mips-elf/export-internal-ref.sd: New test.
1289 * testsuite/ld-mips-elf/export-protected-ref.sd: New test.
1290 * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source.
1291 * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source.
1292 * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source.
1293 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1294
1295 2016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
1296
1297 * testsuite/ld-discard/extern.d: Removed xfail for ARC.
1298 * testsuite/ld-discard/start.d: Likewise.
1299 * testsuite/ld-discard/static.d: Likewise.
1300 * testsuite/ld-elf/group1.d: Likewise.
1301 * testsuite/ld-elf/group3b.d: Likewise.
1302 * testsuite/ld-elf/orphan-region.d: Likewise.
1303 * testsuite/ld-elf/orphan.d: Likewise.
1304 * testsuite/ld-elf/orphan3.d: Likewise.
1305 * testsuite/ld-elf/pr349.d: Likewise.
1306 * testsuite/ld-elf/warn1.d: Likewise.
1307 * testsuite/ld-elf/warn2.d: Likewise.
1308 * testsuite/ld-elf/warn3.d: Likewise.
1309 * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol
1310 through linker flags.
1311 * testsuite/ld-srec/srec.exp: Set as xfail.
1312
1313 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
1314
1315 PR ld/19827
1316 * testsuite/ld-i386/pr19827-nacl.rd: New file.
1317 * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
1318
1319 2016-04-04 Nick Clifton <nickc@redhat.com>
1320
1321 PR 19803
1322 * emultempl/pe.em (change_undef): New function. Encapsulates
1323 duplicated code in pe_fixup_stdcalls and adds the newly defined
1324 sym to the gc root list.
1325 (pe_fixup_stdcall): Use the new function.
1326 * pe-dll.c (process_def_file_and_drectve); Add alias of exported
1327 symbol to gc root list.
1328
1329 2016-03-31 Alan Modra <amodra@gmail.com>
1330
1331 * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.
1332 (lang_insert_orphan): Use TO_ADDR in __stop sym calculation.
1333 (print_input_section): Don't use TO_ADDR when printing section
1334 size.
1335 (lang_size_sections_1): Use TO_ADDR in overlay lma calculation.
1336 (lang_size_sections): Use TO_ADDR in relro end calculation.
1337
1338 2016-03-30 Andrew Burgess <andrew.burgess@embecosm.com>
1339
1340 * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return
1341 value from regexp_diff.
1342 * testsuite/ld-elf/orphan-5.l: Fix expected output.
1343 * testsuite/ld-elf/orphan-6.l: Likewise.
1344
1345 2016-03-30 Alan Modra <amodra@gmail.com>
1346
1347 PR 18452
1348 * ldlang.c (maybe_overlays): New static var.
1349 (lang_size_sections_1): Set it here.
1350 (struct check_sec): New.
1351 (sort_sections_by_lma): Adjust for array of structs.
1352 (sort_sections_by_vma): New function.
1353 (lang_check_section_addresses): Check both LMA and VMA for overlap.
1354 * testsuite/ld-scripts/rgn-over7.d: Adjust.
1355
1356 2016-03-30 Alan Modra <amodra@gmail.com>
1357
1358 * ldlang.c (lang_size_sections_1): Correct code detecting a
1359 backward non-overlapping move.
1360
1361 2016-03-30 Alan Modra <amodra@gmail.com>
1362
1363 * ldlang.c (IS_TBSS): New macro, extracted from..
1364 (IGNORE_SECTION): ..here.
1365 (lang_size_sections_1): Use IS_TBSS and IGNORE_SECTION.
1366 (lang_size_sections, lang_do_assignments_1): Use IS_TBSS.
1367
1368 2016-03-22 Nick Clifton <nickc@redhat.com>
1369
1370 PR ld/19803
1371 * ldlang.c (lang_add_gc_name): New function. Adds the provided
1372 symbol name to the list of gc symbols.
1373 (lang_process): Call lang_add_gc_name with entry_symbol_default if
1374 entry_symbol.name is NULL. Use lang_add_gc_name to add the init
1375 and fini function names.
1376 * pe-dll.c (process_def_file_and_drectve): Add exported names to
1377 the gc symbol list.
1378 * testsuite/ld-pe/pr19803.s: Do not export _testval symbol.
1379 * testsuite/ld-pe/pr19803.d: Tweak expected output.
1380
1381 2016-03-22 Nick Clifton <nickc@redhat.com>
1382
1383 * configure: Regenerate.
1384
1385 2016-03-21 Nick Clifton <nickc@redhat.com>
1386
1387 * emultempl/msp430.em: Replace use of alloca with call to xmalloc.
1388 * plugin.c: Likewise.
1389 * pe-dll.c: Likewise.
1390
1391 2016-03-18 Awson <kyrab@mail.ru>
1392
1393 PR 19531
1394 * scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
1395 this section.
1396 * scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.
1397
1398 2016-03-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1399
1400 * ld-avr/gc-section-debugline.d: Relax regex check for CU.
1401
1402 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
1403
1404 PR ld/19827
1405 * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests.
1406 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1407 * testsuite/ld-i386/pr19827.rd: New file.
1408 * testsuite/ld-i386/pr19827a.S: Likewise.
1409 * testsuite/ld-i386/pr19827b.S: Likewise.
1410 * testsuite/ld-x86-64/pr19827.rd: Likewise.
1411 * testsuite/ld-x86-64/pr19827a.S: Likewise.
1412 * testsuite/ld-x86-64/pr19827b.S: Likewise.
1413
1414 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
1415
1416 PR ld/19807
1417 * Makefile.am (ELF_X86_DEPS): Add
1418 $(srcdir)/emulparams/reloc_overflow.sh.
1419 * Makefile.in: Regenerated.
1420 * NEWS: Mention -z noreloc-overflow.
1421 * ld.texinfo: Document -z noreloc-overflow.
1422 * emulparams/elf32_x86_64.sh: Source
1423 ${srcdir}/emulparams/reloc_overflow.sh.
1424 * emulparams/elf_x86_64.sh: Likewise.
1425 * emulparams/reloc_overflow.sh: New file.
1426 * testsuite/ld-x86-64/pr19807-1.s: New file.
1427 * testsuite/ld-x86-64/pr19807-1a.d: Likewise.
1428 * testsuite/ld-x86-64/pr19807-1b.d: Likewise.
1429 * testsuite/ld-x86-64/pr19807-2.s: Likewise.
1430 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
1431 * testsuite/ld-x86-64/pr19807-2b.d: Likewise.
1432 * testsuite/ld-x86-64/pr19807-2c.d: Likewise.
1433 * testsuite/ld-x86-64/pr19807-2d.d: Likewise.
1434 * testsuite/ld-x86-64/pr19807-2e.d: Likewise.
1435 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19807 tests.
1436
1437 2016-03-13 H.J. Lu <hongjiu.lu@intel.com>
1438
1439 PR ld/19539
1440 * testsuite/ld-i386/i386.exp: Run pr19539.
1441 * testsuite/ld-i386/pr19539.d: New file.
1442 * testsuite/ld-i386/pr19539.s: Likewise.
1443 * testsuite/ld-i386/pr19539.t: Likewise.
1444 * testsuite/ld-x86-64/pr19539.s: Likewise.
1445 * testsuite/ld-x86-64/pr19539.t: Likewise.
1446 * testsuite/ld-x86-64/pr19539a.d: Likewise.
1447 * testsuite/ld-x86-64/pr19539b.d: Likewise.
1448 * testsuite/ld-x86-64/x86-64.exp: Run pr19539a and pr19539b.
1449
1450 2016-03-10 Mickael Guene <mickael.guene@st.com>
1451
1452 PR gas/19744
1453 * testsuite/ld-arm/arm-elf.exp: New tests.
1454 * testsuite/ld-arm/thumb1-adds-armv7-m.s: New.
1455 * testsuite/ld-arm/thumb1-movs-armv7-m.s: New.
1456
1457 2016-03-10 Nick Clifton <nickc@redhat.com>
1458
1459 * scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).
1460
1461 2016-03-09 Pedro Alves <palves@redhat.com>
1462
1463 * scripttempl/v850.sc: Use "v850:old-gcc-abi" as OUTPUT_ARCH.
1464 * scripttempl/v850_rh850.sc: Use "v850:rh850" as OUTPUT_ARCH.
1465
1466 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
1467
1468 PR ld/19789
1469 * testsuite/ld-elf/pr19789.d: New file.
1470 * testsuite/ld-elf/pr19789.s: Likewise.
1471
1472 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
1473
1474 PR ld/19784
1475 * testsuite/ld-i386/i386.exp: Remove pr19636-2e-nacl test.
1476 * testsuite/ld-i386/pr19636-2e-nacl.d: Moved to ...
1477 * testsuite/ld-i386/pr19636-2e.d: Here. Remove notarget.
1478 * testsuite/ld-ifunc/ifunc.exp: Run PR ld/19784 tests.
1479 * testsuite/ld-ifunc/pass.out: New file.
1480 * testsuite/ld-ifunc/pr19784a.c: Likewise.
1481 * testsuite/ld-ifunc/pr19784b.c: Likewise.
1482 * testsuite/ld-ifunc/pr19784c.c: Likewise.
1483
1484 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
1485
1486 PR ld/19774
1487 * testsuite/ld-ifunc/ifunc.exp: Link tmpdir/pr18808a.o before
1488 tmpdir/libpr18808.so. Link tmpdir/pr18841a.o before
1489 tmpdir/libpr18841b.so and tmpdir/libpr18841c.so. Test
1490 --as-needed for pr18841c.
1491
1492 2016-03-07 H.J. Lu <hongjiu.lu@intel.com>
1493
1494 PR ld/19774
1495 * testsuite/ld-i386/i386.exp: Link tmpdir/pr18900.o before
1496 tmpdir/pr18900.so and test --as-needed. Link tmpdir/gotpc1.o
1497 before tmpdir/got1d.so and test --as-needed.
1498 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr18900.o before
1499 tmpdir/pr18900.so and test --as-needed.
1500
1501 2016-03-07 Jiong Wang <jiong.wang@arm.com>
1502
1503 * testsuite/ld-aarch64/implicit_got_section_1.s: New test source file.
1504 * testsuite/ld-aarch64/implicit_got_section_1.d: New test expected
1505 result.
1506 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
1507
1508 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
1509
1510 * testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o
1511 before tmpdir/copyreloc-lib.so and test --as-needed.
1512 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1513
1514 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
1515
1516 PR ld/19579
1517 * testsuite/ld-elf/pr19579a.c: New file.
1518 * testsuite/ld-elf/pr19579b.c: Likewise.
1519 * testsuite/ld-elf/shared.exp: Run PR ld/19579 test.
1520
1521 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1522
1523 * testsuite/ld-elf/pr19162.d: Skip hppa-*-*.
1524
1525 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1526
1527 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Add xfails.
1528 Xfail mix_pic_and_non_pic on "arm*-*-*" "aarch64*-*-*".
1529
1530 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1531
1532 PR ld/19739
1533 * emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other
1534 input sections for relocatable link.
1535 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1536 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1537
1538 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
1539
1540 PR ld/19739
1541 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
1542 merge flags of other input sections for relocatable link.
1543
1544 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
1545
1546 * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6.
1547
1548 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
1549
1550 * testsuite/ld-elf/pr19162.d: Skip arc target.
1551
1552 2016-02-29 H.J. Lu <hongjiu.lu@intel.com>
1553
1554 PR ld/19162
1555 * testsuite/ld-elf/pr19162.d: New file.
1556 * testsuite/ld-elf/pr19162a.s: Likwise.
1557 * testsuite/ld-elf/pr19162b.s: Likwise.
1558
1559 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
1560
1561 * testsuite/ld-elf/merge.d: Removed xfail for ARC.
1562 * testsuite/ld-elf/merge2.d: Likewise.
1563 * testsuite/ld-elf/merge3.d: Likewise.
1564
1565 2016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
1566
1567 * scripttempl/arclinux.sc: Force .tdata and .tbss to always be
1568 generated.
1569
1570 2016-02-26 Renlin Li <renlin.li@arm.com>
1571
1572 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
1573 * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
1574 * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
1575 * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
1576 * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
1577 * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
1578 * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
1579 * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
1580 * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
1581 * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.
1582
1583 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1584
1585 PR ld/19609
1586 * testsuite/ld-i386/got1.dd: Updated.
1587 * testsuite/ld-i386/lea1c.d: Likewise.
1588 * testsuite/ld-i386/load1-nacl.d: Likewise.
1589 * testsuite/ld-i386/load1.d: Likewise.
1590 * testsuite/ld-i386/load4b.d: Likewise.
1591 * testsuite/ld-i386/load5b.d: Likewise.
1592 * testsuite/ld-i386/mov1b.d: Likewise.
1593 * testsuite/ld-x86-64/mov1b.d: Likewise.
1594 * testsuite/ld-x86-64/mov1d.d: Likewise.
1595 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
1596 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1597 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
1598 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1599 * testsuite/ld-x86-64/gotpcrel1.dd: Likewise.
1600 * testsuite/ld-x86-64/lea1a.d: Likewise.
1601 * testsuite/ld-x86-64/lea1b.d: Likewise.
1602 * testsuite/ld-x86-64/lea1c.d: Likewise.
1603 * testsuite/ld-x86-64/lea1d.d: Likewise.
1604 * testsuite/ld-x86-64/lea1e.d: Likewise.
1605 * testsuite/ld-x86-64/lea1f.d: Likewise.
1606 * testsuite/ld-x86-64/mov1b.d: Likewise.
1607 * testsuite/ld-x86-64/mov1d.d: Likewise.
1608 * testsuite/ld-x86-64/pr13082-3b.d: Likewise.
1609 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
1610 * testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
1611 * testsuite/ld-i386/pr19609-1.s: New file.
1612 * testsuite/ld-i386/pr19609-1a.d: Likewise.
1613 * testsuite/ld-i386/pr19609-1b.d: Likewise.
1614 * testsuite/ld-i386/pr19609-1c.d: Likewise.
1615 * testsuite/ld-i386/pr19609-1d.d: Likewise.
1616 * testsuite/ld-i386/pr19609-1e.d: Likewise.
1617 * testsuite/ld-i386/pr19609-1f.d: Likewise.
1618 * testsuite/ld-i386/pr19609-1g.d: Likewise.
1619 * testsuite/ld-i386/pr19609-1h.d: Likewise.
1620 * testsuite/ld-i386/pr19609-1i.d: Likewise.
1621 * testsuite/ld-i386/pr19609-2.s: Likewise.
1622 * testsuite/ld-i386/pr19609-2a.d: Likewise.
1623 * testsuite/ld-i386/pr19609-2b.d: Likewise.
1624 * testsuite/ld-i386/pr19609-2c.d: Likewise.
1625 * testsuite/ld-i386/undefweak.s: Likewise.
1626 * testsuite/ld-i386/undefweaka.d: Likewise.
1627 * testsuite/ld-i386/undefweakb.d: Likewise.
1628 * testsuite/ld-x86-64/pr13082-3c.d: Likewise.
1629 * testsuite/ld-x86-64/pr13082-3d.d: Likewise.
1630 * testsuite/ld-x86-64/pr19609-1.s: Likewise.
1631 * testsuite/ld-x86-64/pr19609-1a.d: Likewise.
1632 * testsuite/ld-x86-64/pr19609-1b.d: Likewise.
1633 * testsuite/ld-x86-64/pr19609-1c.d: Likewise.
1634 * testsuite/ld-x86-64/pr19609-1d.d: Likewise.
1635 * testsuite/ld-x86-64/pr19609-1e.d: Likewise.
1636 * testsuite/ld-x86-64/pr19609-1f.d: Likewise.
1637 * testsuite/ld-x86-64/pr19609-1g.d: Likewise.
1638 * testsuite/ld-x86-64/pr19609-1h.d: Likewise.
1639 * testsuite/ld-x86-64/pr19609-1i.d: Likewise.
1640 * testsuite/ld-x86-64/pr19609-1j.d: Likewise.
1641 * testsuite/ld-x86-64/pr19609-1k.d: Likewise.
1642 * testsuite/ld-x86-64/pr19609-1l.d: Likewise.
1643 * testsuite/ld-x86-64/pr19609-1m.d: Likewise.
1644 * testsuite/ld-x86-64/pr19609-2.s: Likewise.
1645 * testsuite/ld-x86-64/pr19609-2a.d: Likewise.
1646 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
1647 * testsuite/ld-x86-64/pr19609-2c.d: Likewise.
1648 * testsuite/ld-x86-64/pr19609-2d.d: Likewise.
1649 * testsuite/ld-x86-64/pr19609-3.s: Likewise.
1650 * testsuite/ld-x86-64/pr19609-3a.d: Likewise.
1651 * testsuite/ld-x86-64/pr19609-3b.d: Likewise.
1652 * testsuite/ld-x86-64/pr19609-4.s: Likewise.
1653 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
1654 * testsuite/ld-x86-64/pr19609-4b.d: Likewise.
1655 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
1656 * testsuite/ld-x86-64/pr19609-4d.d: Likewise.
1657 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
1658 * testsuite/ld-x86-64/pr19609-5.s: Likewise.
1659 * testsuite/ld-x86-64/pr19609-5a.d: Likewise.
1660 * testsuite/ld-x86-64/pr19609-5b.d: Likewise.
1661 * testsuite/ld-x86-64/pr19609-5c.d: Likewise.
1662 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
1663 * testsuite/ld-x86-64/pr19609-5e.d: Likewise.
1664 * testsuite/ld-x86-64/pr19609-6.s: Likewise.
1665 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
1666 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
1667 * testsuite/ld-x86-64/pr19609-6c.d: Likewise.
1668 * testsuite/ld-x86-64/pr19609-6d.d: Likewise.
1669 * testsuite/ld-x86-64/pr19609-7.s: Likewise.
1670 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
1671 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
1672 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
1673 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
1674 * testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
1675 PR ld/19609.
1676 * testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
1677 and tests for PR ld/19609.
1678
1679 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1680
1681 PR ld/19645
1682 * NEWS: Mention -z common/-z nocommon for ELF targets.
1683 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
1684 -z common and -z nocommon.
1685 * ld.texinfo: Document -z common/-z nocommon.
1686 * lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
1687 * testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
1688 --elf-stt-common=yes with assembler.
1689 * testsuite/ld-elfcomm/common-1.s: New file.
1690 * testsuite/ld-elfcomm/common-1a.d: Likewise.
1691 * testsuite/ld-elfcomm/common-1b.d: Likewise.
1692 * testsuite/ld-elfcomm/common-1c.d: Likewise.
1693 * testsuite/ld-elfcomm/common-1d.d: Likewise.
1694 * testsuite/ld-elfcomm/common-1e.d: Likewise.
1695 * testsuite/ld-elfcomm/common-1f.d: Likewise.
1696 * testsuite/ld-elfcomm/common-2.s: Likewise.
1697 * testsuite/ld-elfcomm/common-2a.d: Likewise.
1698 * testsuite/ld-elfcomm/common-2b.d: Likewise.
1699 * testsuite/ld-elfcomm/common-2c.d: Likewise.
1700 * testsuite/ld-elfcomm/common-2d.d: Likewise.
1701 * testsuite/ld-elfcomm/common-2e.d: Likewise.
1702 * testsuite/ld-elfcomm/common-2f.d: Likewise.
1703 * testsuite/ld-elfcomm/common-3a.rd: Likewise.
1704 * testsuite/ld-elfcomm/common-3b.rd: Likewise.
1705 * testsuite/ld-i386/pr19645.d: Likewise.
1706 * testsuite/ld-i386/pr19645.s: Likewise.
1707 * testsuite/ld-x86-64/largecomm-1.s: Likewise.
1708 * testsuite/ld-x86-64/largecomm-1a.d: Likewise.
1709 * testsuite/ld-x86-64/largecomm-1b.d: Likewise.
1710 * testsuite/ld-x86-64/largecomm-1c.d: Likewise.
1711 * testsuite/ld-x86-64/largecomm-1d.d: Likewise.
1712 * testsuite/ld-x86-64/largecomm-1e.d: Likewise.
1713 * testsuite/ld-x86-64/largecomm-1f.d: Likewise.
1714 * testsuite/ld-x86-64/pr19645.d: Likewise.
1715 * testsuite/ld-x86-64/pr19645.s: Likewise.
1716 * testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
1717 with assembler.
1718 (assembler_generates_commons): Removed.
1719 Run -z common/-z nocommon tests. Run *.d tests.
1720 * testsuite/ld-i386/i386.exp: Run pr19645.
1721 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1722 * testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
1723 assembler. Test STT_COMMON with readelf.
1724
1725 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1726
1727 PR ld/19636
1728 PR ld/19704
1729 PR ld/19719
1730 * Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh.
1731 * Makefile.in: Regenerated.
1732 * NEWS: Mention -z nodynamic-undefined-weak.
1733 * ld.texinfo: Document -z nodynamic-undefined-weak.
1734 * ldmain.c (main): Initialize dynamic_undefined_weak to -1.
1735 * emulparams/dynamic_undefined_weak.sh: New file.
1736 * emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh.
1737 * emulparams/elf_i386.sh: Likewise.
1738 * emulparams/elf_i386_be.sh: Likewise.
1739 * emulparams/elf_i386_chaos.sh: Likewise.
1740 * emulparams/elf_i386_ldso.sh: Likewise.
1741 * emulparams/elf_i386_vxworks.sh: Likewise.
1742 * emulparams/elf_iamcu.sh: Likewise.
1743 * emulparams/elf_k1om.sh: Likewise.
1744 * emulparams/elf_l1om.sh: Likewise.
1745 * emulparams/elf_x86_64.sh: Likewise.
1746 * emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS):
1747 Append.
1748 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
1749 * testsuite/ld-elf/pr19719a.c: New file.
1750 * testsuite/ld-elf/pr19719b.c: Likewise.
1751 * testsuite/ld-elf/pr19719c.c: Likewise.
1752 * testsuite/ld-elf/pr19719d.c: Likewise.
1753 * testsuite/ld-i386/pr19636-1.s: Likewise.
1754 * testsuite/ld-i386/pr19636-1a.d: Likewise.
1755 * testsuite/ld-i386/pr19636-1b.d: Likewise.
1756 * testsuite/ld-i386/pr19636-1c.d: Likewise.
1757 * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
1758 * testsuite/ld-i386/pr19636-1d.d: Likewise.
1759 * testsuite/ld-i386/pr19636-1e.d: Likewise.
1760 * testsuite/ld-i386/pr19636-1f.d: Likewise.
1761 * testsuite/ld-i386/pr19636-1g.d: Likewise.
1762 * testsuite/ld-i386/pr19636-1h.d: Likewise.
1763 * testsuite/ld-i386/pr19636-1i.d: Likewise.
1764 * testsuite/ld-i386/pr19636-2.s: Likewise.
1765 * testsuite/ld-i386/pr19636-2a.d: Likewise.
1766 * testsuite/ld-i386/pr19636-2b.d: Likewise.
1767 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
1768 * testsuite/ld-i386/pr19636-2c.d: Likewise.
1769 * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
1770 * testsuite/ld-i386/pr19636-2d.d: Likewise.
1771 * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
1772 * testsuite/ld-i386/pr19636-2e.d: Likewise.
1773 * testsuite/ld-i386/pr19636-3.s: Likewise.
1774 * testsuite/ld-i386/pr19636-3a.d: Likewise.
1775 * testsuite/ld-i386/pr19636-3b.d: Likewise.
1776 * testsuite/ld-i386/pr19636-3c.d: Likewise.
1777 * testsuite/ld-i386/pr19636-3d.d: Likewise.
1778 * testsuite/ld-i386/pr19636-3e.d: Likewise.
1779 * testsuite/ld-i386/pr19636-3f.d: Likewise.
1780 * testsuite/ld-i386/pr19636-3g.d: Likewise.
1781 * testsuite/ld-i386/pr19636-4.s: Likewise.
1782 * testsuite/ld-i386/pr19636-4a.d: Likewise.
1783 * testsuite/ld-i386/pr19636-4b.d: Likewise.
1784 * testsuite/ld-i386/pr19636-4c.d: Likewise.
1785 * testsuite/ld-i386/pr19636-4d.d: Likewise.
1786 * testsuite/ld-i386/pr19704.out: Likewise.
1787 * testsuite/ld-i386/pr19704a.c: Likewise.
1788 * testsuite/ld-i386/pr19704b.c: Likewise.
1789 * testsuite/ld-x86-64/pr19636-1.s: Likewise.
1790 * testsuite/ld-x86-64/pr19636-1a.d: Likewise.
1791 * testsuite/ld-x86-64/pr19636-1b.d: Likewise.
1792 * testsuite/ld-x86-64/pr19636-1c.d: Likewise.
1793 * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
1794 * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
1795 * testsuite/ld-x86-64/pr19636-1f.d: Likewise.
1796 * testsuite/ld-x86-64/pr19636-1g.d: Likewise.
1797 * testsuite/ld-x86-64/pr19636-2.s: Likewise.
1798 * testsuite/ld-x86-64/pr19636-2a.d: Likewise.
1799 * testsuite/ld-x86-64/pr19636-2b.d: Likewise.
1800 * testsuite/ld-x86-64/pr19636-2c.d: Likewise.
1801 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
1802 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
1803 * testsuite/ld-x86-64/pr19636-2e.d: Likewise.
1804 * testsuite/ld-x86-64/pr19636-2f.d: Likewise.
1805 * testsuite/ld-x86-64/pr19636-2g.d: Likewise.
1806 * testsuite/ld-x86-64/pr19636-2h.d: Likewise.
1807 * testsuite/ld-x86-64/pr19636-2i.d: Likewise.
1808 * testsuite/ld-x86-64/pr19636-3.s: Likewise.
1809 * testsuite/ld-x86-64/pr19636-3a.d: Likewise.
1810 * testsuite/ld-x86-64/pr19636-3b.d: Likewise.
1811 * testsuite/ld-x86-64/pr19636-3c.d: Likewise.
1812 * testsuite/ld-x86-64/pr19636-3d.d: Likewise.
1813 * testsuite/ld-x86-64/pr19704.out: Likewise.
1814 * testsuite/ld-x86-64/pr19704a.c: Likewise.
1815 * testsuite/ld-x86-64/pr19704b.c: Likewise.
1816 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New.
1817 Run mix_pic_and_non_pic.
1818 * testsuite/ld-i386/i386.exp (undefined_weak): New.
1819 Run undefined_weak and PR ld/19636 tests.
1820 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1821 * testsuite/ld-x86-64/pr13082-3b.d: Updated.
1822 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
1823
1824 2016-02-25 Nick Clifton <nickc@redhat.com>
1825
1826 * ld.h (struct ld_config_type): Remove specified_data_size field.
1827
1828 2016-02-24 H.J. Lu <hongjiu.lu@intel.com>
1829
1830 PR ld/19698
1831 * testsuite/ld-elf/pr19698.d: New file.
1832 * testsuite/ld-elf/pr19698.s: Likewise.
1833 * testsuite/ld-elf/pr19698.t: Likewise.
1834
1835 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
1836
1837 * Makefile.am (ELF_X86_DEPS): New.
1838 (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS).
1839 (eelf_i386_chaos.c): Likewise.
1840 (eelf_i386_fbsd.c): Likewise.
1841 (eelf_i386_ldso.c): Likewise.
1842 (eelf_i386_nacl.c): Likewise.
1843 (eelf_i386_sol2.c): Likewise.
1844 (eelf_iamcu.c): Likewise.
1845 (eelf32_x86_64.c): Likewise.
1846 (eelf32_x86_64_nacl.c): Likewise.
1847 (eelf_l1om.c): Likewise.
1848 (eelf_l1om_fbsd.c): Likewise.
1849 (eelf_k1om.c): Likewise.
1850 (eelf_k1om_fbsd.c): Likewise.
1851 (eelf_x86_64.c): Likewise.
1852 (eelf_x86_64_cloudabi.c): Likewise.
1853 (eelf_x86_64_fbsd.c): Likewise.
1854 (eelf_x86_64_sol2.c): Likewise.
1855 * Makefile.in: Regenerated.
1856
1857 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
1858
1859 * testsuite/ld-frv/fdpic-pie-6.d: Updated.
1860 * testsuite/ld-mips-elf/pie-n32.d: Likewise.
1861 * testsuite/ld-mips-elf/pie-n64.d: Likewise.
1862 * testsuite/ld-mips-elf/pie-o32.d: Likewise.
1863
1864 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
1865
1866 * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
1867
1868 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
1869
1870 * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
1871 *-*-gnu* and *-*-solaris*.
1872 * testsuite/ld-elf/pr19617b.d: Likewise.
1873 * testsuite/ld-elf/pr19617c.d: Likewise.
1874
1875 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
1876
1877 PR ld/19617
1878 * testsuite/ld-elf/pr19617.s: New file.
1879 * testsuite/ld-elf/pr19617a.d: Likewise.
1880 * testsuite/ld-elf/pr19617b.d: Likewise.
1881 * testsuite/ld-elf/pr19617c.d: Likewise.
1882
1883 2016-02-18 Nick Clifton <nickc@redhat.com>
1884
1885 * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
1886 in-tree xg++ executable after checking for the presence of an
1887 in-tree g++ executable.
1888 * Makefile.in: Regenerate.
1889
1890 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
1891
1892 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
1893 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
1894 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
1895
1896 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
1897
1898 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
1899 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
1900 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
1901 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
1902 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
1903 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
1904 * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
1905 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
1906 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
1907 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
1908 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
1909 * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
1910 * testsuite/ld-x86-64/load1c.d: Likewise.
1911 * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
1912 * testsuite/ld-x86-64/load1d.d: Likewise.
1913 * testsuite/ld-x86-64/pr14207.d: Likewise.
1914 * testsuite/ld-x86-64/pr19162.d: Likewise.
1915 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
1916 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1917 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
1918 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
1919 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
1920 * testsuite/ld-x86-64/tlspic.rd: Likewise.
1921
1922 2016-02-17 Nick Clifton <nickc@redhat.com>
1923
1924 * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
1925
1926 2016-02-15 Nick Clifton <nickc@redhat.com>
1927
1928 * testsuite/ld-i386/pr12718.d: Remove dependency upon the
1929 description of the flags produced by readelf.
1930 * testsuite/ld-i386/pr12921.d: Likewise.
1931 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
1932 * testsuite/ld-i386/tlsbin.rd: Likewise.
1933 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
1934 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
1935 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
1936 * testsuite/ld-i386/tlsdesc.rd: Likewise.
1937 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
1938 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
1939 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
1940 * testsuite/ld-i386/tlsnopic.rd: Likewise.
1941 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
1942 * testsuite/ld-i386/tlspic.rd: Likewise.
1943 * testsuite/ld-s390/tlsbin.rd: Likewise.
1944 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
1945 * testsuite/ld-s390/tlspic.rd: Likewise.
1946 * testsuite/ld-s390/tlspic_64.rd: Likewise.
1947 * testsuite/ld-sh/tlsbin-2.d: Likewise.
1948 * testsuite/ld-sh/tlspic-2.d: Likewise.
1949 * testsuite/ld-tic6x/common.d: Likewise.
1950 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
1951 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
1952 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
1953 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
1954 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
1955 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
1956 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
1957 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
1958 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
1959 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
1960 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
1961 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
1962 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
1963 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
1964 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
1965 * testsuite/ld-x86-64/pr12718.d: Likewise.
1966 * testsuite/ld-x86-64/pr12921.d: Likewise.
1967 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
1968 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
1969 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
1970 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
1971 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
1972 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
1973 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
1974 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1975 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
1976 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
1977 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
1978 * testsuite/ld-x86-64/tlspic.rd: Likewise.
1979 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
1980 * testsuite/ld-xtensa/tlspic.rd: Likewise.
1981
1982 2016-02-11 H.J. Lu <hongjiu.lu@intel.com>
1983
1984 PR ld/19615
1985 * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
1986 PIE.
1987 * lexsup.c (parse_args): Enable -Bsymbolic and
1988 -Bsymbolic-functions for PIE.
1989 * testsuite/ld-i386/i386.exp: Run pr19615.
1990 * testsuite/ld-i386/pr19615.d: New file.
1991 * testsuite/ld-i386/pr19615.s: Likewise.
1992 * testsuite/ld-x86-64/pr19615.d: Likewise.
1993 * testsuite/ld-x86-64/pr19615.s: Likewise.
1994
1995 2016-02-09 Nick Clifton <nickc@redhat.com>
1996
1997 * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
1998 * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
1999 * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
2000 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
2001
2002 2016-02-04 Nick Clifton <nickc@redhat.com>
2003
2004 * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
2005 * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
2006 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
2007 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
2008 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
2009 * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
2010 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
2011 * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
2012 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
2013
2014 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2015
2016 PR gas/19520
2017 * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
2018 * testsuite/ld-i386/call1.d: Likewise.
2019 * testsuite/ld-i386/call2.d: Likewise.
2020 * testsuite/ld-i386/call3a.d: Likewise.
2021 * testsuite/ld-i386/call3b.d: Likewise.
2022 * testsuite/ld-i386/call3c.d: Likewise.
2023 * testsuite/ld-i386/call3d.d: Likewise.
2024 * testsuite/ld-i386/call3e.d: Likewise.
2025 * testsuite/ld-i386/call3f.d: Likewise.
2026 * testsuite/ld-i386/call3g.d: Likewise.
2027 * testsuite/ld-i386/call3h.d: Likewise.
2028 * testsuite/ld-i386/jmp1.d: Likewise.
2029 * testsuite/ld-i386/jmp2.d: Likewise.
2030 * testsuite/ld-i386/lea1c.d: Likewise.
2031 * testsuite/ld-i386/load1.d: Likewise.
2032 * testsuite/ld-i386/load2.d: Likewise.
2033 * testsuite/ld-i386/load3.d: Likewise.
2034 * testsuite/ld-i386/load4a.d: Likewise.
2035 * testsuite/ld-i386/load5a.d: Likewise.
2036 * testsuite/ld-i386/mov2b.d: Likewise.
2037 * testsuite/ld-i386/mov3.d: Likewise.
2038 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
2039 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
2040 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
2041 * testsuite/ld-x86-64/call1a.d: Likewise.
2042 * testsuite/ld-x86-64/call1b.d: Likewise.
2043 * testsuite/ld-x86-64/call1c.d: Likewise.
2044 * testsuite/ld-x86-64/call1d.d: Likewise.
2045 * testsuite/ld-x86-64/call1e.d: Likewise.
2046 * testsuite/ld-x86-64/call1f.d: Likewise.
2047 * testsuite/ld-x86-64/call1h.d: Likewise.
2048 * testsuite/ld-x86-64/call1i.d: Likewise.
2049 * testsuite/ld-x86-64/load1a.d: Likewise.
2050 * testsuite/ld-x86-64/load1b.d: Likewise.
2051 * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
2052 * testsuite/ld-i386/got1.dd: Updated.
2053 * testsuite/ld-i386/got1d.S (1): Removed.
2054 * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
2055 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2056
2057 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
2058
2059 PR ld/18591
2060 * testsuite/ld-x86-64/pr18591.d: New file.
2061 * testsuite/ld-x86-64/pr18591.s: Likewise.
2062 * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
2063
2064 2016-02-01 H.J. Lu <hongjiu.lu@intel.com>
2065
2066 PR ld/19553
2067 * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
2068 * testsuite/ld-elf/pr19553.map: New file.
2069 * testsuite/ld-elf/pr19553.map: Likewise.
2070 * testsuite/ld-elf/pr19553a.c: Likewise.
2071 * testsuite/ld-elf/pr19553b.c: Likewise.
2072 * testsuite/ld-elf/pr19553b.out: Likewise.
2073 * testsuite/ld-elf/pr19553c.c: Likewise.
2074 * testsuite/ld-elf/pr19553c.out: Likewise.
2075 * testsuite/ld-elf/pr19553d.c: Likewise.
2076 * testsuite/ld-elf/pr19553d.out: Likewise.
2077
2078 2016-01-30 H.J. Lu <hongjiu.lu@intel.com>
2079
2080 PR ld/19539
2081 * testsuite/ld-elf/pr19539.d: New file.
2082 * testsuite/ld-elf/pr19539.s: Likewise.
2083 * testsuite/ld-elf/pr19539.t: Likewise.
2084
2085 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
2086
2087 PR ld/19533
2088 * configure.ac (compressed_debug_sections): Replace == with =.
2089 * configure: Regenerated.
2090
2091 2016-01-22 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2092
2093 * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
2094 * scripttempl/avrtiny.sc (.noinit): Likewise.
2095
2096 2016-01-21 Nick Clifton <nickc@redhat.com>
2097
2098 PR ld/19453
2099 * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
2100 the arm-netbsdelf target.
2101
2102 PR ld/19455
2103 * testsuite/ld-arm/vxworks1-lib.dd: Update for current
2104 disassmebler output.
2105 * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
2106 * testsuite/ld-arm/vxworks1.dd: Likewise.
2107 * testsuite/ld-arm/vxworks1.rd: Likewise.
2108 * testsuite/ld-arm/vxworks1.ld: Set the output format.
2109
2110 2016-01-20 Jiong Wang <jiong.wang@arm.com>
2111
2112 * testsuite/ld-aarch64/farcall-section.d: Delete.
2113 * testsuite/ld-aarch64/farcall-section.s: Delete.
2114 * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
2115 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
2116 * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
2117 * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
2118 * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
2119
2120 2016-01-20 Nick Clifton <nickc@redhat.com>
2121
2122 PR 19457
2123 * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
2124 early for PE based targets.
2125 * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
2126 * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
2127
2128 2016-01-20 Mickael Guene <mickael.guene@st.com>
2129
2130 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
2131 Add 'y' attribute usage.
2132 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
2133 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
2134 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
2135
2136 2016-01-19 Nick Clifton <nickc@redhat.com>
2137
2138 * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
2139 foo@FOO and bar@@FOO.
2140
2141 2016-01-18 Alan Modra <amodra@gmail.com>
2142
2143 * configure: Regenerate.
2144
2145 2016-01-18 Nick Clifton <nickc@redhat.com>
2146
2147 * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
2148 is not configured to support plugins.
2149
2150 * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
2151 but with 16 byte section alignment.
2152 * testsuite/ld-scripts/rgn-at11.d: Use new source file. Reenable
2153 test for MIPS targets.
2154
2155 2016-01-17 Alan Modra <amodra@gmail.com>
2156
2157 * configure: Regenerate.
2158
2159 2016-01-17 Alan Modra <amodra@gmail.com>
2160
2161 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
2162 * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
2163 * testsuite/ld-elf/pr14156a.d: Likewise.
2164 * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
2165 * testsuite/ld-elf/sec64k.exp: Likewise.
2166
2167 2016-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
2168
2169 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
2170 Set address of .foo section when linking.
2171 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
2172 in .foo section.
2173 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
2174 output to the above changes.
2175
2176 2016-01-13 Nick Clifton <nickc@redhat.com>
2177
2178 * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
2179 for MIPS targets.
2180
2181 * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
2182 fail for MIPS targets.
2183
2184 * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
2185 MIPS targets.
2186
2187 2016-01-12 Yury Usishchev <y.usishchev@samsung.com>
2188
2189 * testsuite/ld-arm/arm-elf.exp: New test.
2190 * testsuite/ld-arm/unwind-mix.d: New file.
2191 * testsuite/ld-arm/unwind-mix1.s: New file.
2192 * testsuite/ld-arm/unwind-mix2.s: New file.
2193
2194 2016-01-08 Jiong Wang <jiong.wang@arm.com>
2195
2196 PR ld/19368
2197 * testsuite/ld-arm/ifunc-3.rd: Update expected result.
2198 * testsuite/ld-arm/ifunc-4.rd: Likewise.
2199 * testsuite/ld-arm/ifunc-9.rd: Likewise.
2200 * testsuite/ld-arm/ifunc-10.rd: Likewise.
2201 * testsuite/ld-arm/ifunc-12.rd: Likewise.
2202 * testsuite/ld-arm/ifunc-13.rd: Likewise.
2203
2204 2016-01-05 Nick Clifton <nickc@redhat.com>
2205
2206 * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
2207 MSP430 hardware multiply address range.
2208 * scripttempl/elf32msp430.sc (__romdatastart): Define.
2209 (__romdatacopysize): Define.
2210 * scripttempl/elf32msp430_3.sc: Likewise.
2211
2212 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
2213
2214 * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
2215 OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
2216
2217 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
2218
2219 * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
2220 messages expected according to MIPS BFD private data merge
2221 changes.
2222 * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
2223 * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
2224 * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
2225 * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
2226 * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
2227 * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
2228 * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
2229 * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
2230 * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
2231 * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
2232 * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
2233 * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
2234 * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
2235
2236 2016-01-01 Alan Modra <amodra@gmail.com>
2237
2238 Update year range in copyright notice of all files.
2239
2240 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
2241 \f
2242 Copyright (C) 2016 Free Software Foundation, Inc.
2243
2244 Copying and distribution of this file, with or without modification,
2245 are permitted in any medium without royalty provided the copyright
2246 notice and this notice are preserved.
2247
2248 Local Variables:
2249 mode: change-log
2250 left-margin: 8
2251 fill-column: 74
2252 version-control: never
2253 End:
This page took 0.079768 seconds and 4 git commands to generate.