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