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