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