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