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