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