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