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