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