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