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