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