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