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