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