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