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