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