1 2016-07-14 Claudiu Zissulescu <claziss@synopsys.com>
3 * emulparams/arcelf.sh (SDATA_START_SYMBOLS): Add offset.
4 * testsuite/ld-arc/sda-relocs.dd: New file.
5 * testsuite/ld-arc/sda-relocs.ld: Likewise.
6 * testsuite/ld-arc/sda-relocs.rd: Likewise.
7 * testsuite/ld-arc/sda-relocs.s: Likewise.
8 * testsuite/ld-arc/arc.exp: Add SDA tests.
10 2016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
12 * testsuite/ld-arc/nps-1b.err: Update test to handle more
15 2016-07-09 Alan Modra <amodra@gmail.com>
17 * testsuite/ld-powerpc/elfv2exe.d: Update.
19 2016-07-06 James Bowman <james.bowman@ftdichip.com>
21 * scripttempl/ft32.sc (__PMSIZE): Correct __PMSIZE_.
25 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
27 * testsuite/ld-plugin/lto.exp: Add -flto to PR ld/20321 test.
29 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
31 * testsuite/ld-arm/farcall-thumb2-purecode.d: New test result.
32 * testsuite/ld-arm/farcall-thumb2-purecode.s: New test.
33 * testsuite/ld-arm/arm-elf.exp: Run it.
35 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
37 * testsuite/ld-arm/arm_noread.ld: Renamed to ...
38 testsuite/ld-arm/arm_purecode.ld: ... this, and replaced
39 all noread's by purecode.
41 2016-07-05 Jan Beulich <jbeulich@suse.com>
43 * ldexp.c (exp_fold_tree_1): Set linker_def field based on
44 assignment line number.
45 * ldlex.l (lineno): Drop initializer.
46 (<<EOF>>): Set lineno to zero after reaching top of stack.
48 2016-07-04 H.J. Lu <hongjiu.lu@intel.com>
51 * plugin.c (plugin_opt_plugin): Warn and return if plugin has
53 * testsuite/ld-plugin/lto.exp: Run PR ld/20321 test.
54 * testsuite/ld-plugin/pr20321.c: New file.
56 2016-07-04 Nick Clifton <nickc@redhat.com>
58 * scripttempl/ft32.sc (__PMSIZE_): If not defined, set to 256K.
59 (__RAMSIZE): If not defined, set to 64K.
60 (MEMORY): Set the flash region size to __PMSIZE and the ram region
63 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
65 * testsuite/ld-mips-elf/branch-misc-2.d: New test.
66 * testsuite/ld-mips-elf/mips-elf.exp: Run it.
68 2016-07-01 Thomas Preud'homme <thomas.preudhomme@arm.com>
70 * testsuite/ld-arm/arm-elf.exp (Thumb-2 BL): Assemble for ARMv7.
71 (Thumb-2 BL on ARMv6-M): New testcase.
72 * testsuite/ld-arm/thumb2-bl.d: Do not try to match testcase filename.
73 * testsuite/ld-arm/thumb2-bl.s: Do not select architecture.
75 2016-07-01 Tristan Gingold <gingold@adacore.com>
77 * NEWS: Add marker for 2.27.
79 2016-06-28 H.J. Lu <hongjiu.lu@intel.com>
81 * testsuite/ld-gc/gc.exp: Run pr20306 test.
82 * ld-gc/pr20306.c: New file.
83 * ld-gc/pr20306.d: Likewise.
85 2016-06-28 Nick Clifton <nickc@redhat.com>
87 * testsuite/ld-elf/comm-data.exp: Expect comm-data2 test to fail
89 * testsuite/ld-elf/elf.exp: Expect pr14170 and symbolic function
90 tests to fail for bfin.
91 * testsuite/ld-elf/endsym.d: Expect to fail with cr16, crx, dlx,
93 * testsuite/ld-elf/var1.d: Expect to fail with d30v, dlx, ft32 and
95 * testsuite/ld-pe/pe.exp: Expect foreign symbol test to fail for
98 2016-06-28 Nick Clifton <nickc@redhat.com>
100 * testsuite/ld-elf/merge.d: Add m68hc11 to list of targets that
101 expect to fail this test.
102 * testsuite/ld-scripts/overlay-size.d: Skip the entire test for
104 * testsuite/ld-scripts/rgn-at10.d: No longer expect this test to
106 * testsuite/ld-scripts/rgn-at11.d: Likewise.
107 * testsuite/ld-scripts/rgn-at2.d: Likewise.
108 * testsuite/ld-scripts/rgn-at6.d: Likewise.
109 * testsuite/ld-scripts/rgn-at7.d: Likewise.
110 * testsuite/ld-scripts/rgn-at8.d: Likewise.
112 2016-06-28 James Clarke <jrtc27@jrtc27.com>
114 * testsuite/ld-elf/symbolic-func.r: Allow non-zero offsets from
117 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
119 * testsuite/ld-mips-elf/attr-gnu-4-10.d: Match any UNIX OS/ABI.
120 * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise.
121 * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise.
122 * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
124 2016-06-28 Alan Modra <amodra@gmail.com>
127 * testsuite/ld-scripts/pr20302.d: Exclude *-*-*aout.
129 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
131 * testsuite/ld-mips-elf/mips16-branch-2.d: New test.
132 * testsuite/ld-mips-elf/mips16-branch-3.d: New test.
133 * testsuite/ld-mips-elf/mips16-branch-addend-2.d: New test.
134 * testsuite/ld-mips-elf/mips16-branch-addend-3.d: New test.
135 * testsuite/ld-mips-elf/mips16-branch.s: New test source.
136 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
138 2016-06-27 Nick Clifton <nickc@redhat.com>
141 * lexsup.c (set_segment_start): If resetting the start address of
142 a section, remember to generate a new script element as well.
143 * testsuite/ld-scripts/pr20302.d: New test.
144 * testsuite/ld-scripts/scripts.exp: Run the new test.
146 2016-06-24 Alan Modra <amodra@gmail.com>
148 * testsuite/ld-aarch64/aarch64-elf.exp (aarch64_choose_ilp32_emul):
149 Don't error out, always return an emulation.
151 2016-06-24 Dilyan Palauzov <dilyan.palauzov@aegee.org>
152 H.J. Lu <hongjiu.lu@intel.com>
154 * lexsup.c (elf_shlib_list_options): Check DEFAULT_LD_Z_RELRO
155 for -z relro help message.
157 2016-06-22 Maciej W. Rozycki <macro@imgtec.com>
159 * testsuite/ld-mips-elf/undefweak-overflow.d: Use wildcard
162 2016-06-22 Maciej W. Rozycki <macro@imgtec.com>
164 * testsuite/ld-mips-elf/mips-elf.exp: Uniquely identify
165 `undefweak-overflow' tests.
167 2016-06-22 H.J. Lu <hongjiu.lu@intel.com>
170 * NEWS: Mention --enable-relro.
171 * configure.ac: Add --enable-relro.
172 (DEFAULT_LD_Z_RELRO): New. Set by --enable-relro.
173 * configure.tgt (ac_default_ld_z_relro): Default it to 1 for
175 * config.in: Regenerated.
176 * configure: Likewise.
177 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
178 link_info.relro to DEFAULT_LD_Z_RELRO.
179 * testsuite/config/default.exp (ld_elf_shared_opt): New.
180 * testsuite/lib/ld-lib.exp (run_dump_test): Pass
181 $ld_elf_shared_opt to ld for ELF targets with shared object
183 (run_ld_link_tests): Likewise.
185 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
187 * testsuite/ld-mips-elf/mode-change-error-1a.s: Trigger an error
188 twice rather than once.
189 * testsuite/ld-mips-elf/mode-change-error-1.d: Adjust
190 accordingly. Remove the full stop from the end of the message.
192 2016-06-21 Graham Markall <graham.markall@embecosm.com>
194 * testsuite/ld-arc/nps-1a.d: Use -mcpu=arc700 -mnps400.
195 * testsuite/ld-arc/nps-1b.d: Likewise.
197 2016-06-20 H.J. Lu <hongjiu.lu@intel.com>
200 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
202 (lto_run_tests): Likewise.
203 * testsuite/ld-plugin/pr20267a.c: New file.
204 * testsuite/ld-plugin/pr20267b.c: Likewise.
206 2016-06-20 H.J. Lu <hongjiu.lu@intel.com>
207 Alan Modra <amodra@gmail.com>
210 * plugin.c (plugin_notice): Set non_ir_ref on common symbols.
211 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
213 (lto_run_tests): Likewise.
214 * testsuite/ld-plugin/pass.out: New file.
215 * testsuite/ld-plugin/pr20276a.c: Likewise.
216 * testsuite/ld-plugin/pr20276b.c: Likewise.
218 2016-06-18 H.J. Lu <hongjiu.lu@intel.com>
220 * plugin.c (plugin_object_p): Replace bfd_plugin_uknown
221 with bfd_plugin_unknown.
223 2016-06-18 H.J. Lu <hongjiu.lu@intel.com>
226 * testsuite/ld-i386/i386.exp: Run PR ld/20253 tests.
227 * testsuite/ld-i386/no-plt.exp: Likewise.
228 * testsuite/ld-x86-64/no-plt.exp: Likewise.
229 * testsuite/ld-i386/pr13302.d: Remove .rel.plt section.
230 * testsuite/ld-ifunc/ifunc-13-i386.d: Likewise.
231 * testsuite/ld-ifunc/ifunc-13-x86-64.d: Likewise.
232 * testsuite/ld-ifunc/ifunc-15-i386.d: Likewise.
233 * testsuite/ld-ifunc/ifunc-15-x86-64.d: Likewise.
234 * testsuite/ld-x86-64/pr13082-5a.d: Likewise.
235 * testsuite/ld-x86-64/pr13082-5b.d: Likewise.
236 * testsuite/ld-x86-64/pr13082-6a.d: Likewise.
237 * testsuite/ld-x86-64/pr13082-6b.d: Likewise.
238 * testsuite/ld-i386/pr20244-2a.d: Remove .plt section.
239 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
240 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
241 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
242 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
243 * testsuite/ld-i386/pr20244-2b.d: Updated.
244 * testsuite/ld-i386/pr20244-2c.d: Likewise.
245 * testsuite/ld-ifunc/ifunc-18a-i386.d: Likewise.
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-i386/pr20253-1a.c: New file.
250 * testsuite/ld-i386/pr20253-1b.S: Likewise.
251 * testsuite/ld-i386/pr20253-1c.S: Likewise.
252 * testsuite/ld-i386/pr20253-1d.S: Likewise.
253 * testsuite/ld-i386/pr20253-2a.c: Likewise.
254 * testsuite/ld-i386/pr20253-2b.S: Likewise.
255 * testsuite/ld-i386/pr20253-2c.S: Likewise.
256 * testsuite/ld-i386/pr20253-2d.S: Likewise.
257 * testsuite/ld-i386/pr20253-3.d: Likewise.
258 * testsuite/ld-i386/pr20253-3.s: Likewise.
259 * testsuite/ld-i386/pr20253-4.s: Likewise.
260 * testsuite/ld-i386/pr20253-4a.d: Likewise.
261 * testsuite/ld-i386/pr20253-4b.d: Likewise.
262 * testsuite/ld-i386/pr20253-4c.d: Likewise.
263 * testsuite/ld-i386/pr20253-5.d: Likewise.
264 * testsuite/ld-i386/pr20253-5.s: Likewise.
265 * testsuite/ld-ifunc/ifunc-23-x86.s: Likewise.
266 * testsuite/ld-ifunc/ifunc-23a-x86.d: Likewise.
267 * testsuite/ld-ifunc/ifunc-23b-x86.d: Likewise.
268 * testsuite/ld-ifunc/ifunc-23c-x86.d: Likewise.
269 * testsuite/ld-ifunc/ifunc-24-x86.s: Likewise.
270 * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise.
271 * testsuite/ld-ifunc/ifunc-24b-x86.d: Likewise.
272 * testsuite/ld-ifunc/ifunc-24c-x86.d: Likewise.
273 * testsuite/ld-ifunc/ifunc-25-x86.s: Likewise.
274 * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
275 * testsuite/ld-ifunc/ifunc-25b-x86.d: Likewise.
276 * testsuite/ld-ifunc/ifunc-25c-x86.d: Likewise.
277 * testsuite/ld-x86-64/pr20253-1.s: Likewise.
278 * testsuite/ld-x86-64/pr20253-1a.d: Likewise.
279 * testsuite/ld-x86-64/pr20253-1b.d: Likewise.
280 * testsuite/ld-x86-64/pr20253-1c.d: Likewise.
281 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
282 * testsuite/ld-x86-64/pr20253-1e.d: Likewise.
283 * testsuite/ld-x86-64/pr20253-1f.d: Likewise.
284 * testsuite/ld-x86-64/pr20253-1g.d: Likewise.
285 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
286 * testsuite/ld-x86-64/pr20253-1i.d: Likewise.
287 * testsuite/ld-x86-64/pr20253-1j.d: Likewise.
288 * testsuite/ld-x86-64/pr20253-1k.d: Likewise.
289 * testsuite/ld-x86-64/pr20253-1l.d: Likewise.
290 * testsuite/ld-x86-64/pr20253-2a.c: Likewise.
291 * testsuite/ld-x86-64/pr20253-2b.S: Likewise.
292 * testsuite/ld-x86-64/pr20253-2c.S: Likewise.
293 * testsuite/ld-x86-64/pr20253-2d.S: Likewise.
294 * testsuite/ld-x86-64/pr20253-3.d: Likewise.
295 * testsuite/ld-x86-64/pr20253-3.s: Likewise.
296 * testsuite/ld-x86-64/pr20253-4.s: Likewise.
297 * testsuite/ld-x86-64/pr20253-4a.d: Likewise.
298 * testsuite/ld-x86-64/pr20253-4b.d: Likewise.
299 * testsuite/ld-x86-64/pr20253-4c.d: Likewise.
300 * testsuite/ld-x86-64/pr20253-4d.d: Likewise.
301 * testsuite/ld-x86-64/pr20253-4e.d: Likewise.
302 * testsuite/ld-x86-64/pr20253-4f.d: Likewise.
303 * testsuite/ld-x86-64/pr20253-5.s: Likewise.
304 * testsuite/ld-x86-64/pr20253-5a.d: Likewise.
305 * testsuite/ld-x86-64/pr20253-5b.d: Likewise.
306 * testsuite/ld-ifunc/ifunc-18a-i386.d: Remove extra IRELATIVE
308 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
309 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
310 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
311 * testsuite/ld-ifunc/ifunc-18a.s: Fix a typo.
312 * testsuite/ld-x86-64/x86-64.exp: Run pr20253-1 tests.
314 2016-06-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
315 Tony Wang <tony.wang@arm.com>
317 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall M profile):
318 Assemble for ARMv6-M.
319 (Thumb2-Thumb2 farcall M profile): New testcase.
320 * testsuite/ld-arm/farcall-thumb2-thumb2-m.d: New file.
321 * testsuite/ld-arm/jump-reloc-veneers-cond-long-backward.d: Update to
322 reflect the use of Thumb-2 veneers for Thumb-2 capable targets.
323 * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Likewise.
325 2016-06-16 H.J. Lu <hongjiu.lu@intel.com>
327 * testsuite/ld-i386/i386.exp: Run pr19636-2e-nacl.
328 * testsuite/ld-i386/pr19636-2e.d: Skip for NaCl targets.
329 Remove .rel.plt section.
330 * testsuite/ld-i386/pr19636-2e-nacl.d: New file.
332 2016-06-15 H.J. Lu <hongjiu.lu@intel.com>
334 * testsuite/ld-i386/no-plt-check1a.S (check): Test static
336 * testsuite/ld-i386/no-plt-check1b.S (check): Likewise.
337 * testsuite/ld-x86-64/no-plt-check1.S (check): Likewise.
338 * testsuite/ld-i386/no-plt-extern1a.S (func_p): New. Static
340 * testsuite/ld-i386/no-plt-extern1b.S (func_p): Likewise.
341 * testsuite/ld-x86-64/no-plt-extern1.S (func_p): Likewise.
342 * testsuite/ld-i386/no-plt-1a.dd: Updated.
343 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
344 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
345 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
346 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
347 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
348 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
349 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
350 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
351 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
352 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
353 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
354 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
355 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
356 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
357 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
358 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
360 2016-06-14 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
363 * testsuite/ld-avr/avr-prop-6.d: New test.
364 * testsuite/ld-avr/avr-prop-6.s: New test.
366 2016-06-14 Alan Modra <amodra@gmail.com>
368 * ldbuildid.c: Formatting.
369 * ldcref.c: Formatting.
370 * ldctor.c: Formatting.
371 * ldemul.c: Formatting.
372 * ldexp.c: Formatting.
373 * ldfile.c: Formatting.
374 * ldlang.c: Formatting.
375 * ldmain.c: Formatting.
376 * ldwrite.c: Formatting.
378 2016-06-14 Alan Modra <amodra@gmail.com>
380 * ldlang.c: Expand uses of bfd_my_archive.
381 * ldmain.c: Likewise.
382 * ldmisc.c: Likewise.
383 * plugin.c: Likewise.
385 2016-06-14 Alan Modra <amodra@gmail.com>
388 * ldmain.c (add_archive_element): Just print file name of file within
390 * ldmisc.c (vfinfo): Likewise.
391 * plugin.c (plugin_object_p): Open file within thin archives.
392 (plugin_maybe_claim): Expand comment.
394 2016-06-13 H.J. Lu <hongjiu.lu@intel.com>
397 * testsuite/ld-i386/i386.exp: Run pr20244-2a, pr20244-2b,
398 pr20244-2c and pr20244-2d.
399 * testsuite/ld-i386/no-plt.exp: Run pr20244-3a and pr20244-3b.
400 * testsuite/ld-i386/pr20244-2.s: New file.
401 * testsuite/ld-i386/pr20244-2a.d: Likewise.
402 * testsuite/ld-i386/pr20244-2b.d: Likewise.
403 * testsuite/ld-i386/pr20244-2c.d: Likewise.
404 * testsuite/ld-i386/pr20244-2d.d: Likewise.
405 * testsuite/ld-i386/pr20244-3a.c: Likewise.
406 * testsuite/ld-i386/pr20244-3b.S: Likewise.
407 * testsuite/ld-i386/pr20244-3c.S: Likewise.
408 * testsuite/ld-i386/pr20244-3d.S: Likewise.
410 2016-06-13 H.J. Lu <hongjiu.lu@intel.com>
412 * testsuite/ld-i386/i386.exp: Run ifunc-1a and ifunc-1b.
413 * testsuite/ld-i386/ifunc-1a.c: New file.
414 * testsuite/ld-i386/ifunc-1b.S: Likewise.
415 * testsuite/ld-i386/ifunc-1c.S: Likewise.
416 * testsuite/ld-i386/ifunc-1d.S: Likewise.
418 2016-06-13 Cupertino Miranda <cmiranda@synospsy.com>
420 * testsuite/ld-srec/srec.exp: Changed to XFAIL on both little and
421 big endian ARC targets.
423 2016-06-12 H.J. Lu <hongjiu.lu@intel.com>
425 * testsuite/ld-x86-64/libno-plt-1b.dd: Updated for x32.
426 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
427 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
428 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
429 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
430 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
431 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
432 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
433 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
434 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
435 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
436 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
437 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
438 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
439 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
441 2016-06-11 H.J. Lu <hongjiu.lu@intel.com>
444 * testsuite/ld-i386/i386.exp: Run pr20244-1a and pr20244-1b.
445 * testsuite/ld-i386/pr20244-1.s: New file.
446 * testsuite/ld-i386/pr20244-1a.d: Likewise.
447 * testsuite/ld-i386/pr20244-1b.d: Likewise.
448 * testsuite/ld-i386/pr20244-1c.d: Likewise.
450 2016-06-08 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
453 * testsuite/ld-avr/avr-prop-5.d: New.
454 * testsuite/ld-avr/avr-prop-5.s: New.
456 2016-06-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
458 * testsuite/ld-avr/lds-mega.d: New test.
459 * testsuite/ld-avr/lds-mega.s: New test source.
460 * testsuite/ld-avr/lds-tiny.d: New test.
461 * testsuite/ld-avr/lds-tiny.s: New test source.
463 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
465 * testsuite/ld-i386/libno-plt-1b.dd: New file.
466 * testsuite/ld-i386/libno-plt-1b.rd: Likewise.
467 * testsuite/ld-i386/no-plt-1a.dd: Likewise.
468 * testsuite/ld-i386/no-plt-1a.rd: Likewise.
469 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
470 * testsuite/ld-i386/no-plt-1b.rd: Likewise.
471 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
472 * testsuite/ld-i386/no-plt-1c.rd: Likewise.
473 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
474 * testsuite/ld-i386/no-plt-1d.rd: Likewise.
475 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
476 * testsuite/ld-i386/no-plt-1e.rd: Likewise.
477 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
478 * testsuite/ld-i386/no-plt-1f.rd: Likewise.
479 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
480 * testsuite/ld-i386/no-plt-1g.rd: Likewise.
481 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
482 * testsuite/ld-i386/no-plt-1h.rd: Likewise.
483 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
484 * testsuite/ld-i386/no-plt-1i.rd: Likewise.
485 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
486 * testsuite/ld-i386/no-plt-1j.rd: Likewise.
487 * testsuite/ld-i386/no-plt-check1a.S: Likewise.
488 * testsuite/ld-i386/no-plt-check1b.S: Likewise.
489 * testsuite/ld-i386/no-plt-extern1a.S: Likewise.
490 * testsuite/ld-i386/no-plt-extern1b.S: Likewise.
491 * testsuite/ld-i386/no-plt-func1.c: Likewise.
492 * testsuite/ld-i386/no-plt-main1.c: Likewise.
493 * testsuite/ld-i386/no-plt.exp: Likewise.
495 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
497 * testsuite/ld-x86-64/tls.exp (run_cc_link_tests): Update test
500 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
502 * testsuite/ld-i386/i386.exp: Run libtlspic2.so, tlsbin2,
503 tlsgd3, tlsld2, tlsgd4, tlspie3a, tlspie3b and tlspie3c.
504 * testsuite/ld-i386/pass.out: New file.
505 * testsuite/ld-i386/tls-def1.c: Likewise.
506 * testsuite/ld-i386/tls-gd1.S: Likewise.
507 * testsuite/ld-i386/tls-ld1.S: Likewise.
508 * testsuite/ld-i386/tls-main1.c: Likewise.
509 * testsuite/ld-i386/tls.exp: Likewise.
510 * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
511 * testsuite/ld-i386/tlsbin2.dd: Likewise.
512 * testsuite/ld-i386/tlsbin2.rd: Likewise.
513 * testsuite/ld-i386/tlsbin2.sd: Likewise.
514 * testsuite/ld-i386/tlsbin2.td: Likewise.
515 * testsuite/ld-i386/tlsbinpic2.s: Likewise.
516 * testsuite/ld-i386/tlsgd3.dd: Likewise.
517 * testsuite/ld-i386/tlsgd3.s: Likewise.
518 * testsuite/ld-i386/tlsgd4.d: Likewise.
519 * testsuite/ld-i386/tlsgd4.s: Likewise.
520 * testsuite/ld-i386/tlsld2.s: Likewise.
521 * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
522 * testsuite/ld-i386/tlspic2.dd: Likewise.
523 * testsuite/ld-i386/tlspic2.rd: Likewise.
524 * testsuite/ld-i386/tlspic2.sd: Likewise.
525 * testsuite/ld-i386/tlspic2.td: Likewise.
526 * testsuite/ld-i386/tlspic3.s: Likewise.
527 * testsuite/ld-i386/tlspie3.s: Likewise.
528 * testsuite/ld-i386/tlspie3a.d: Likewise.
529 * testsuite/ld-i386/tlspie3b.d: Likewise.
530 * testsuite/ld-i386/tlspie3c.d: Likewise.
532 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
534 * testsuite/ld-x86-64/no-plt-1a.rd: Support any relocation order.
535 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
536 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
537 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
538 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
539 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
540 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
541 * testsuite/ld-x86-64/no-plt.exp: Fix a typo.
543 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
545 * testsuite/ld-x86-64/libno-plt-1b.dd: Likewise.
546 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
547 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
548 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
549 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
550 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
551 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
552 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
553 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
554 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
555 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
556 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
557 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
558 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
559 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
560 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
561 * testsuite/ld-x86-64/no-plt-check1.S: Likewise.
562 * testsuite/ld-x86-64/no-plt.exp: Likewise.
563 * testsuite/ld-x86-64/no-plt-extern1.S: Likewise.
564 * testsuite/ld-x86-64/no-plt-func1.c: Likewise.
565 * testsuite/ld-x86-64/no-plt-main1.c: Likewise.
567 2016-06-07 Maciej W. Rozycki <macro@imgtec.com>
569 * testsuite/ld-elf/init-fini-arrays.d: Remove `ft32-*-*' xfail.
571 2016-06-07 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
573 * testsuite/ld-s390/pltoffset-1.dd: New test.
574 * testsuite/ld-s390/pltoffset-1.ld: New test.
575 * testsuite/ld-s390/pltoffset-1.s: New test.
576 * testsuite/ld-s390/s390.exp: Run new test.
578 2016-06-07 Alan Modra <amodra@gmail.com>
580 * testsuite/ld-powerpc/apuinfo1.s: Delete nop.
581 * testsuite/ld-powerpc/apuinfo-vle2.s: New.
582 * testsuite/ld-powerpc/powerpc.exp: Use apuinfo-vle2.s.
584 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
586 * testsuite/ld-x86-64/pass.out: New file.
587 * testsuite/ld-x86-64/tls-def1.c: Likewise.
588 * testsuite/ld-x86-64/tls-gd1.S: Likewise.
589 * testsuite/ld-x86-64/tls-ld1.S: Likewise.
590 * testsuite/ld-x86-64/tls-main1.c: Likewise.
591 * testsuite/ld-x86-64/tls.exp: Likewise.
592 * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
593 * testsuite/ld-x86-64/tlsbin2.dd: Likewise.
594 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
595 * testsuite/ld-x86-64/tlsbin2.sd: Likewise.
596 * testsuite/ld-x86-64/tlsbin2.td: Likewise.
597 * testsuite/ld-x86-64/tlsbinpic2.s: Likewise.
598 * testsuite/ld-x86-64/tlsgd10.dd: Likewise.
599 * testsuite/ld-x86-64/tlsgd10.s: Likewise.
600 * testsuite/ld-x86-64/tlsgd11.dd: Likewise.
601 * testsuite/ld-x86-64/tlsgd11.s: Likewise.
602 * testsuite/ld-x86-64/tlsgd12.d: Likewise.
603 * testsuite/ld-x86-64/tlsgd12.s: Likewise.
604 * testsuite/ld-x86-64/tlsgd13.d: Likewise.
605 * testsuite/ld-x86-64/tlsgd13.s: Likewise.
606 * testsuite/ld-x86-64/tlsgd14.dd: Likewise.
607 * testsuite/ld-x86-64/tlsgd14.s: Likewise.
608 * testsuite/ld-x86-64/tlsgd5c.s: Likewise.
609 * testsuite/ld-x86-64/tlsgd6c.s: Likewise.
610 * testsuite/ld-x86-64/tlsgd9.dd: Likewise.
611 * testsuite/ld-x86-64/tlsgd9.s: Likewise.
612 * testsuite/ld-x86-64/tlsld4.dd: Likewise.
613 * testsuite/ld-x86-64/tlsld4.s: Likewise.
614 * testsuite/ld-x86-64/tlsld5.dd: Likewise.
615 * testsuite/ld-x86-64/tlsld5.s: Likewise.
616 * testsuite/ld-x86-64/tlsld6.dd: Likewise.
617 * testsuite/ld-x86-64/tlsld6.s: Likewise.
618 * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
619 * testsuite/ld-x86-64/tlspic2.dd: Likewise.
620 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
621 * testsuite/ld-x86-64/tlspic2.sd: Likewise.
622 * testsuite/ld-x86-64/tlspic2.td: Likewise.
623 * testsuite/ld-x86-64/tlspic3.s: Likewise.
624 * testsuite/ld-x86-64/tlspie2.s: Likewise.
625 * testsuite/ld-x86-64/tlspie2a.d: Likewise.
626 * testsuite/ld-x86-64/tlspie2b.d: Likewise.
627 * testsuite/ld-x86-64/tlspie2c.d: Likewise.
628 * testsuite/ld-x86-64/tlsgd5.dd: Updated.
629 * testsuite/ld-x86-64/tlsgd6.dd: Likewise.
630 * testsuite/ld-x86-64/x86-64.exp: Run libtlspic2.so, tlsbin2,
631 tlsgd5b, tlsgd6b, tlsld4, tlsld5, tlsld6, tlsgd9, tlsgd10,
632 tlsgd11, tlsgd14, tlsgd12, tlsgd13, tlspie2a, tlspie2b and
635 2016-06-04 Christian Groessler <chris@groessler.org>
637 * testsuite/ld-z8k/0filler.s: New file.
638 * testsuite/ld-z8k/branch-target.s: New file.
639 * testsuite/ld-z8k/branch-target2.s: New file.
640 * testsuite/ld-z8k/calr-back-8001.d: New file.
641 * testsuite/ld-z8k/calr-back-8002.d: New file.
642 * testsuite/ld-z8k/calr-back-fail-8001.d: New file.
643 * testsuite/ld-z8k/calr-back-fail-8002.d: New file.
644 * testsuite/ld-z8k/calr-forw-8001.d: New file.
645 * testsuite/ld-z8k/calr-forw-8002.d: New file.
646 * testsuite/ld-z8k/calr-forw-fail-8001.d: New file.
647 * testsuite/ld-z8k/calr-forw-fail-8002.d: New file.
648 * testsuite/ld-z8k/calr-opcode.s: New file.
649 * testsuite/ld-z8k/dbjnz-forw-8001.d: New file.
650 * testsuite/ld-z8k/dbjnz-forw-8002.d: New file.
651 * testsuite/ld-z8k/dbjnz-forw-fail-8001.d: New file.
652 * testsuite/ld-z8k/dbjnz-forw-fail-8002.d: New file.
653 * testsuite/ld-z8k/dbjnz-opcode.s: New file.
654 * testsuite/ld-z8k/djnz-back-8001.d: New file.
655 * testsuite/ld-z8k/djnz-back-8002.d: New file.
656 * testsuite/ld-z8k/djnz-back-fail-8001.d: New file.
657 * testsuite/ld-z8k/djnz-back-fail-8002.d: New file.
658 * testsuite/ld-z8k/djnz-forw-8001.d: New file.
659 * testsuite/ld-z8k/djnz-forw-8002.d: New file.
660 * testsuite/ld-z8k/djnz-forw-fail-8001.d: New file.
661 * testsuite/ld-z8k/djnz-forw-fail-8002.d: New file.
662 * testsuite/ld-z8k/djnz-opcode.s: New file.
663 * testsuite/ld-z8k/filler.s: New file.
664 * testsuite/ld-z8k/jr-back-8001.d: New file.
665 * testsuite/ld-z8k/jr-back-8002.d: New file.
666 * testsuite/ld-z8k/jr-back-fail-8001.d: New file.
667 * testsuite/ld-z8k/jr-back-fail-8002.d: New file.
668 * testsuite/ld-z8k/jr-forw-8001.d: New file.
669 * testsuite/ld-z8k/jr-forw-8002.d: New file.
670 * testsuite/ld-z8k/jr-forw-fail-8001.d: New file.
671 * testsuite/ld-z8k/jr-forw-fail-8002.d: New file.
672 * testsuite/ld-z8k/jr-opcode.s: New file.
673 * testsuite/ld-z8k/ldr-back-8001.d: New file.
674 * testsuite/ld-z8k/ldr-back-8002.d: New file.
675 * testsuite/ld-z8k/ldr-back-fail-8001.d: New file.
676 * testsuite/ld-z8k/ldr-back-fail-8002.d: New file.
677 * testsuite/ld-z8k/ldr-forw-8001.d: New file.
678 * testsuite/ld-z8k/ldr-forw-8002.d: New file.
679 * testsuite/ld-z8k/ldr-forw-fail-8001.d: New file.
680 * testsuite/ld-z8k/ldr-forw-fail-8002.d: New file.
681 * testsuite/ld-z8k/ldr-opcode.s: New file.
682 * testsuite/ld-z8k/ldrb-forw-8001.d: New file.
683 * testsuite/ld-z8k/ldrb-forw-8002.d: New file.
684 * testsuite/ld-z8k/ldrb-forw-fail-8001.d: New file.
685 * testsuite/ld-z8k/ldrb-forw-fail-8002.d: New file.
686 * testsuite/ld-z8k/ldrb-opcode.s: New file.
687 * testsuite/ld-z8k/ldrb-opcode2.s: New file.
688 * testsuite/ld-z8k/other-file.s: New file.
689 * testsuite/ld-z8k/reloc.dd: New file.
690 * testsuite/ld-z8k/reloc.ld: New file.
691 * testsuite/ld-z8k/relocseg.dd: New file.
692 * testsuite/ld-z8k/relocseg.ld: New file.
693 * testsuite/ld-z8k/relocseg1.dd: New file.
694 * testsuite/ld-z8k/this-file.s: New file.
695 * testsuite/ld-z8k/z8k.exp: New file.
697 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
699 * testsuite/ld-i386/i386.exp: Assemble gotpc1.o and pr19319b.o
700 with -mrelax-relocations=yes.
701 * testsuite/ld-i386/lea1a.d (as): Add -mrelax-relocations=yes.
702 * testsuite/ld-i386/lea1b.d (as): Likewise.
703 * testsuite/ld-i386/lea1d.d (as): Likewise.
704 * testsuite/ld-i386/lea1e.d (as): Likewise.
705 * testsuite/ld-i386/lea1f.d (as): Likewise.
706 * testsuite/ld-i386/load7.d (as): Likewise.
707 * testsuite/ld-i386/mov1b.d (as): Likewise.
708 * testsuite/ld-i386/pr19175.d (as): Likewise.
709 * testsuite/ld-ifunc/ifunc-13-i386.d (as): Likewise.
710 * testsuite/ld-ifunc/ifunc-21-i386.d (as): Likewise.
711 * testsuite/ld-ifunc/ifunc-22-i386.d (as): Likewise.
712 * testsuite/ld-x86-64/x86-64.exp: Assemble gotpcrel1a.o,
713 gotpcrel1b.o and gotpcrel1c.o with -mrelax-relocations=yes.
715 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
717 * configure.tgt: Replace -uclibc with *.
719 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
721 * testsuite/ld-mips-elf/unaligned-branch.d: New test.
722 * testsuite/ld-mips-elf/unaligned-branch.s: New test source.
723 * testsuite/ld-mips-elf/unaligned-text.s: New test source.
724 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
726 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
728 * testsuite/ld-mips-elf/unaligned-syms.s: Rename to...
729 * testsuite/ld-mips-elf/unaligned-data.s: ... this.
730 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Adjust accordingly.
731 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
732 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Likewise.
733 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
735 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
737 * testsuite/ld-mips-elf/jal-global-overflow-0.d: New test.
738 * testsuite/ld-mips-elf/jal-global-overflow-1.d: New test.
739 * testsuite/ld-mips-elf/jal-local-overflow-0.d: New test.
740 * testsuite/ld-mips-elf/jal-local-overflow-1.d: New test.
741 * testsuite/ld-mips-elf/jal-global-overflow.s: New test source.
742 * testsuite/ld-mips-elf/jal-local-overflow.s: New test source.
743 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
745 2016-05-28 Alan Modra <amodra@gmail.com>
747 * ldmain.c (multiple_definition, multiple_common, add_to_set,
748 constructor_callback, warning_callback, undefined_symbol,
749 reloc_overflow, reloc_dangerous, unattached_reloc): Return void.
750 * emultempl/elf32.em: Adjust callback calls.
752 2016-05-27 Maciej W. Rozycki <macro@imgtec.com>
754 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.d: New test.
755 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: New test.
756 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-0.d: New
758 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d: New
760 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-0.d: New
762 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d: New
764 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.s: New test
766 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.s: New test
768 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
770 2016-05-27 Maciej W. Rozycki <macro@imgtec.com>
772 * testsuite/ld-mips-elf/reloc-local-overflow.d: New test.
773 * testsuite/ld-mips-elf/reloc-local-overflow.s: Source for the
775 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
777 2016-05-26 Maciej W. Rozycki <macro@imgtec.com>
779 * testsuite/ld-mips-elf/unaligned-jalx-0.d: Fold
780 `unaligned-jalx-2' here.
781 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: Fold
782 `unaligned-jalx-mips16-2' here.
783 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: Fold
784 `unaligned-jalx-micromips-2' here.
785 * testsuite/ld-mips-elf/unaligned-jalx-0.s: Update accordingly.
786 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error
788 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
789 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
790 * testsuite/ld-mips-elf/unaligned-jalx-2.d: Remove test.
791 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: Remove test.
792 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: Remove
794 * testsuite/ld-mips-elf/unaligned-jalx-2.s: Remove test source.
795 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Fold
796 `unaligned-lwpc-3' here.
797 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: Update accordingly.
798 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Fold
799 `unaligned-lwpc-2' here.
800 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: Update accordingly.
801 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: Remove test.
802 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: Remove test source.
803 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: Remove test.
804 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: Remove test source.
805 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Fold
806 `unaligned-ldpc-4' here.
807 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: Update accordingly.
808 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Update error
809 message. Fold `unaligned-ldpc-2' and `unaligned-ldpc-3' here.
810 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: Update accordingly.
811 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: Remove test.
812 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: Remove test source.
813 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: Remove test.
814 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: Remove test source.
815 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: Remove test.
816 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: Remove test source.
817 * testsuite/ld-mips-elf/mips-elf.exp: Delete removed tests.
819 2016-05-26 Nick Clifton <nickc@redhat.com>
822 * scripttempl/elf32msp430.sc (.bss): Provide __bssstart and
824 * scripttempl/elf32msp430_3.sc (.bss): Likewise.
826 2016-05-25 Maciej W. Rozycki <macro@imgtec.com>
828 * testsuite/ld-mips-elf/unaligned-jalx-0.d: New test.
829 * testsuite/ld-mips-elf/unaligned-jalx-1.d: New test.
830 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
831 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: New test.
832 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: New test.
833 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: New test.
834 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: New test.
835 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: New test.
836 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: New test.
837 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: New test.
838 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: New test.
839 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: New test.
840 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: New test.
841 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: New test.
842 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: New test.
843 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: New test.
844 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: New test.
845 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: New test.
846 * testsuite/ld-mips-elf/unaligned-jalx-0.s: New test source.
847 * testsuite/ld-mips-elf/unaligned-jalx-1.s: New test source.
848 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
849 * testsuite/ld-mips-elf/unaligned-insn.s: New test source.
850 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: New test source.
851 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: New test source.
852 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: New test source.
853 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: New test source.
854 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: New test source.
855 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: New test source.
856 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: New test source.
857 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: New test source.
858 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: New test source.
859 * testsuite/ld-mips-elf/unaligned-syms.s: New test source.
860 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
862 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
865 * ldmain.c (add_archive_element): Don't claim new IR symbols
866 after all IR symbols have been claimed.
867 * plugin.c (plugin_call_claim_file): Remove no_more_claiming
869 * testsuite/ld-plugin/lto.exp (pr20103): New proc.
870 Run PR ld/20103 tests.
871 * testsuite/ld-plugin/pr20103a.c: New file.
872 * testsuite/ld-plugin/pr20103b.c: Likewise.
873 * testsuite/ld-plugin/pr20103c.c: Likewise.
875 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
877 * testsuite/ld-mips-elf/jalx-local.d: New test.
878 * testsuite/ld-mips-elf/jalx-local-n32.d: New test.
879 * testsuite/ld-mips-elf/jalx-local-n64.d: New test.
880 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
882 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
884 * Makefile.am: Add earmelf_phoenix.c.
885 * Makefile.in: Regenerate.
886 * configure.tgt: Add entry for arm-phoenix.
887 * emulparams/armelf_phoenix.sh: New file.
889 2016-05-23 Thomas Preud'homme <thomas.preudhomme@arm.com>
891 * emultempl/armelf.em (arm_elf_before_allocation): Call
892 bfd_elf32_arm_keep_private_stub_output_sections before generic
893 before_allocation function.
895 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
897 * testsuite/ld-mips-elf/jalx-addend.d: New test.
898 * testsuite/ld-mips-elf/jalx-addend-n32.d: New test.
899 * testsuite/ld-mips-elf/jalx-addend-n64.d: New test.
900 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
902 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
905 * testsuite/ld-i386/i386.exp: Run pr20117.
906 * testsuite/ld-i386/pr19609-1i.d: Updated.
907 * testsuite/ld-i386/pr20117.d: New file.
908 * testsuite/ld-i386/pr20117.s: Likewise.
910 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
912 * testsuite/ld-elf/compressed1d.d: Removed from notarget.
913 * testsuite/ld-elf/group8a.d: Likewise.
914 * testsuite/ld-elf/group8b.d: Likewise.
915 * testsuite/ld-elf/group9a.d: Likewise.
916 * testsuite/ld-elf/group9b.d: Likewise.
917 * testsuite/ld-elf/pr12851.d: Likewise.
918 * testsuite/ld-elf/pr12975.d: Likewise.
919 * testsuite/ld-elf/pr13177.d: Likewise.
920 * testsuite/ld-elf/pr13195.d: Likewise.
921 * testsuite/ld-elf/pr17615.d: Likewise.
922 * testsuite/ld-elf/eh-frame-hdr.d: Removed from xfail.
923 * testsuite/ld-elf/group3b.d: Likewise.
924 * testsuite/ld-srec/srec.exp: Likewise.
925 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark ARC
927 (check_shared_lib_support): Mark ARC as supporting.
929 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
931 * emulparams/arcelf.sh: Changed.
932 * emulparams/arclinux.sh: Likewise.
933 * scripttempl/arclinux.sc: Moved to a more standard implementation
936 2016-05-19 Maciej W. Rozycki <macro@imgtec.com>
938 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Reorder
939 `ft32-*-*' behind `frv-*-*'.
941 2016-05-19 Maciej W. Rozycki <macro@imgtec.com>
943 * configure.tgt: Remove `am34-*-linux*' support.
945 2016-05-19 Alan Modra <amodra@gmail.com>
947 * testsuite/ld-scripts/crossref.exp: Remove -mcall-aixdesc hack.
948 * testsuite/ld-scripts/cross2.t: Tweak .opd and .toc placement.
949 * testsuite/ld-scripts/cross3.t: Likewise.
950 * testsuite/ld-scripts/cross4.t: Likewise.
951 * testsuite/ld-scripts/cross5.t: Likewise.
952 * testsuite/ld-scripts/cross6.t: Likewise.
953 * testsuite/ld-scripts/cross7.t: Likewise.
955 2016-05-19 Alan Modra <amodra@gmail.com>
957 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Pass in
958 exe name rather than constructing testname. Fix typo in
959 sub-test name. Log copying. Use -rpath rather than -R.
961 2016-05-18 Nick Clifton <nickc@redhat.com>
963 * scripttempl/ft32.sc: Use fixed constants for memory region
964 lengths. Include DWARF debug sections.
965 (.data .bss): Do not assign locations during relocatable links.
966 * testsuite/ld-elf/compressed1d.d: Skip for FT32.
967 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
968 * testsuite/ld-elf/sec64k.exp: Likewise.
969 * testsuite/ld-elf/init-fini-array.d: XFail for FT32.
970 * testsuite/ld-elf/merge.d: Likewise.
971 * testsuite/ld-elf/orphan-region.d: Likewise.
972 * testsuite/ld-elf/orphan.s: Likewise.
973 * testsuite/ld-elf/orphan3.d: Likewise.
974 * testsuite/ld-elf/pr349.d: Likewise.
975 * testsuite/ld-elf/warn2.d: Likewise.
976 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Note
977 that the FT32 does not support shared libraries.
979 2016-05-17 H.J. Lu <hongjiu.lu@intel.com>
981 * testsuite/lib/ld-lib.exp (at_least_gcc_version): Check
984 2016-05-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
986 * scripttempl/avr.sc (text): Place .progmem.data from avr-libc
988 * scripttempl/avrtiny.sc (text): Likewise.
990 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
992 * testsuite/ld-unique/unique.exp: Use `is_elf_format' and
993 `supports_gnu_unique' to qualify testing.
995 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
997 * testsuite/ld-elf/flags1.d: Update the xfail list.
999 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
1001 * testsuite/ld-elf/flags1.d: Update for `*-*-nacl*' xfail
1004 2016-05-14 H.J. Lu <hongjiu.lu@intel.com>
1007 * testplug2.c (onall_symbols_read): Remove redundant sizeof
1008 on EXPECTED_VIEW_LENGTH.
1009 * testplug4.c (onall_symbols_read): Likewise.
1011 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
1014 * testsuite/ld-x86-64/pr20093-1.d: New file.
1015 * testsuite/ld-x86-64/pr20093-1.s: Likewise.
1016 * testsuite/ld-x86-64/pr20093-2.d: Likewise.
1017 * testsuite/ld-x86-64/pr20093-2.s: Likewise.
1018 * testsuite/ld-x86-64/x86-64.exp: Run pr20093-1 and pr20093-2.
1020 2016-05-13 Alan Modra <amodra@gmail.com>
1022 * testsuite/ld-arm/arm-elf.exp: Adjust for arm-no-rel-plt now passing.
1023 Use different output file name for static app without .rel.plt.
1024 * testsuite/ld-arm/arm-no-rel-plt.ld: Align .rel.dyn and .rela.dyn.
1025 * testsuite/ld-arm/arm-no-rel-plt.out: Delete.
1026 * testsuite/ld-arm/arm-no-rel-plt.r: New.
1027 * testsuite/ld-arm/arm-static-app.d: Don't check file name.
1028 * testsuite/ld-arm/arm-static-app.r: Likewise.
1030 2016-05-12 H.J. Lu <hongjiu.lu@intel.com>
1033 * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug4.la.
1034 (libldtestplug4_la_SOURCES): New.
1035 (libldtestplug4_la_CFLAGS): Likewise.
1036 (libldtestplug4_la_LDFLAGS): Likewise.
1037 * Makefile.in: Regenerated.
1038 * plugin.c (get_symbols): Return resolution based on IR symbol
1039 kinds for symbols defined/referenced only within IR.
1040 * testplug4.c: New file.
1041 * ld/testsuite/ld-plugin/pr20070.d: Likewise.
1042 * ld/testsuite/ld-plugin/pr20070a.c: Likewise.
1043 * ld/testsuite/ld-plugin/pr20070b.c: Likewise.
1044 * testsuite/ld-plugin/plugin.exp (plugin4_name): New.
1045 (plugin4_path): Likewise.
1046 Add a test for ld/20070.
1048 2016-05-11 Alan Modra <amodra@gmail.com>
1050 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
1051 Call elf32_hppa_init_stub_bfd.
1053 2016-05-11 Alan Modra <amodra@gmail.com>
1056 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
1057 * testsuite/ld-powerpc/tlsdll.s: New.
1058 * testsuite/ld-powerpc/tlsdll.ver: New.
1059 * testsuite/ld-powerpc/tlsdll_32.s: New.
1060 * testsuite/ld-powerpc/tlsopt5.d: New.
1061 * testsuite/ld-powerpc/tlsopt5.s: New.
1062 * testsuite/ld-powerpc/tlsopt5_32.d: New.
1063 * testsuite/ld-powerpc/tlsopt5_32.s: New.
1065 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1067 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Use
1068 ARM_GET_SYM_BRANCH_TYPE to get branch type of a symbol.
1070 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1072 * emultempl/armelf.em (elf32_arm_add_stub_section): Add output_section
1073 parameter and rename input_section parameter to after_input_section.
1074 Append input stub section to the output section if after_input_section
1077 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1079 * testsuite/ld-arm/arm-elf.exp (EABI attribute merging 10 (DSP)): New
1081 * testsuite/ld-arm/attr-merge-10b-dsp.s: New file.
1082 * testsuite/ld-arm/attr-merge-10-dsp.attr: Likewise.
1084 2016-05-10 Christophe Lyon <christophe.lyon@linaro.org>
1086 * ld/testsuite/ld-elf/flags1.d (xfail): Remove *-*-nacl*".
1088 2016-05-09 Christophe Monat <christophe.monat@st.com>
1091 * testsuite/ld-arm/arm-elf.exp: Run new stm32l4xx-fix-vldm-dp
1092 tests. Fix misnamed stm32l4xx-fix-all.
1093 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.s: New tests for multiple
1094 loads with DP registers.
1095 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.d: New reference file.
1096 * testsuite/ld-arm/stm32l4xx-fix-vldm.s: Add missing comment.
1097 * testsuite/ld-arm/stm32l4xx-fix-all.s: Add tests for multiple
1098 loads with DP registers.
1099 * testsuite/ld-arm/stm32l4xx-fix-all.d: Update reference.
1101 2016-05-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
1103 * testsuite/ld-elf/flags1.d (readelf): Dump section header instead
1105 (xfail): Remove avr-*-*.
1106 Update regex to check the section flags.
1107 * testsuite/ld-elf/merge.d (xfail): Remove avr-*-*.
1109 2016-05-09 Alan Modra <amodra@gmail.com>
1111 * Makefile.am (ealphavms.c, eelf64_ia64_vms): Correct .em deps.
1112 * Makefile.in: Regenerate.
1114 2016-05-09 Alan Modra <amodra@gmail.com>
1116 * testsuite/ld-scripts/pr14962-2.t: Match .text, not *.text.
1117 * testsuite/ld-scripts/rgn-at5.t: Similarly, .sec not *.sec.
1118 * testsuite/ld-scripts/section-match-1.t: Likewise.
1120 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
1123 * testsuite/ld-elf/pr17550-1.s: New file.
1124 * testsuite/ld-elf/pr17550-2.s: Likewise.
1125 * testsuite/ld-elf/pr17550-3.s: Likewise.
1126 * testsuite/ld-elf/pr17550-4.s: Likewise.
1127 * testsuite/ld-elf/pr17550a.d: Likewise.
1128 * testsuite/ld-elf/pr17550b.d: Likewise.
1129 * testsuite/ld-elf/pr17550c.d: Likewise.
1130 * testsuite/ld-elf/pr17550d.d: Likewise.
1132 2016-05-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1134 * ld/testsuite/ld-srec/srec.exp: Mark test as XFAIL for AVR.
1136 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
1138 * testsuite/ld-i386/i386.exp: Run load7.
1139 * testsuite/ld-i386/load7.d: New file.
1140 * testsuite/ld-i386/load7.map: Likewise.
1141 * testsuite/ld-i386/load7.s: Likewise.
1142 * testsuite/ld-x86-64/load2.d: Likewise.
1143 * testsuite/ld-x86-64/load2.map: Likewise.
1144 * testsuite/ld-x86-64/load2.s: Likewise.
1145 * testsuite/ld-x86-64/x86-64.exp: Run load2.
1147 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
1149 * emulparams/elf_iamcu.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): New.
1150 * emulparams/elf_k1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1152 * emulparams/elf_l1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1155 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
1157 * testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld.
1159 2016-05-04 H.J. Lu <hongjiu.lu@intel.com>
1161 * ldlang.c (init_os): Pass %E to einfo when bfd_section == NULL.
1163 2016-05-04 Maciej W. Rozycki <macro@imgtec.com>
1165 * testsuite/ld-unique/unique.d: New test.
1166 * testsuite/ld-unique/unique.exp: Run the new test. Adjust
1167 messages for compiled tests.
1169 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1171 * testsuite/ld-elf/pr18735.d: Allow other symbols.
1172 * testsuite/ld-elf/sec64k.exp: Skip 64ksec for avr.
1173 * testsuite/ld-gc/pr14265.d: Allow other symbols.
1174 * testsuite/ld-plugin/plugin.exp: Add PR ld/17973 to
1175 plugin_tests only if check_shared_lib_support is true.
1176 * testsuite/ld-selective/selective.exp: Add --section-start
1179 2016-05-03 Maciej W. Rozycki <macro@imgtec.com>
1182 * testsuite/ld-unique/unique.exp: Also run for `mips*-*-*'.
1184 2016-05-03 Jiong Wang <jiong.wang@arm.com>
1186 * emultempl/aarch64elf.em (--no-apply-dynamic-relocs): New option.
1187 * NEWS: Mention --no-apply-dynamic-relocs.
1188 * ld.texinfo (ld and the ARM family): Document
1189 --no-apply-dynamic-relocs.
1190 * testsuite/ld-aarch64/rela-abs-relative.s: New test source.
1191 * testsuite/ld-aarch64/rela-abs-relative.d: New expected result.
1192 * testsuite/ld-aarch64/rela-abs-relative-be.d: Likewise for big-endian.
1193 * estsuite/ld-aarch64/rela-abs-relative-opt.d: Likewise, but enable new
1196 2016-05-03 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1198 * testsuite/ld-elfcomm/elfcomm.exp: Check for shared lib support
1199 before running STT_COMMON tests.
1201 2016-04-29 H.J. Lu <hongjiu.lu@intel.com>
1203 * config/default.exp (NOPIE_CFLAGS): Download source only on
1205 (NOPIE_LDFLAGS): Likewise.
1206 * testsuite/lib/ld-lib.exp (check_lto_available): Likewise.
1207 (check_lto_fat_available): Likewise.
1208 (check_lto_shared_available): Likewise.
1209 (check_ifunc_available): Likewise.
1210 (check_ifunc_attribute_available): Likewise.
1212 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
1214 * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.
1216 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
1219 * testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
1220 (visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
1223 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
1225 * testsuite/ld-elf/compressed1b.d: Pass
1226 --compress-debug-sections=none to ld.
1227 * testsuite/ld-elf/compressed1c.d: Likewise.
1229 2016-04-27 Alan Modra <amodra@gmail.com>
1232 * configure.tgt: Don't use var+=.
1234 2016-04-25 Nick Clifton <nickc@redhat.com>
1237 * configure.tgt: Include big endian PPC64 emulations with little
1238 endian PPC64 targets.
1240 2016-04-25 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1242 * scripttempl/avrtiny.sc (.text): Do not set LMA to zero.
1244 2016-04-21 Nick Clifton <nickc@redhat.com>
1246 * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in
1247 prefernce to _bfd_elf_link_check_relocs. Drop test for ELF
1248 targets. Do not stop the checks when problems are encountered.
1250 2016-04-21 Alan Modra <amodra@gmail.com>
1252 * testsuite/ld-scripts/cross3.t: Add commonly used data
1253 and text section names to output section statements.
1254 * testsuite/ld-scripts/cross4.t: Likewise.
1255 * testsuite/ld-scripts/cross5.t: Likewise.
1256 * testsuite/ld-scripts/cross6.t: Likewise.
1257 * testsuite/ld-scripts/cross7.t: Likewise.
1259 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1261 * ldlang.c (lang_check_relocs): New function.
1262 (lang_process): Call lang_check_relocs after lang_gc_sections.
1263 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
1264 call _bfd_elf_link_check_relocs here.
1266 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1269 * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for
1270 R_386_NONE or R_X86_64_NONE.
1272 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1274 * testsuite/ld-x86-64/pic1.d: New file.
1275 * testsuite/ld-x86-64/pic1.s: Likewise.
1276 * testsuite/ld-x86-64/x86-64.exp: Run pic1.
1278 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1280 * testsuite/ld-x86-64/pie2.d: New file.
1281 * testsuite/ld-x86-64/pie2.s: Likewise.
1282 * testsuite/ld-x86-64/x86-64.exp: Run pie2.
1284 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1287 * testsuite/ld-x86-64/pr19969.d: New file.
1288 * testsuite/ld-x86-64/pr19969a.S: Likewise.
1289 * testsuite/ld-x86-64/pr19969b.S: Likewise.
1290 * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests.
1292 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1294 * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1296 * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1298 * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1300 * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1302 * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1304 * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1306 * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1308 * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1310 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
1311 Set check_relocs_after_open_input to TRUE if
1312 CHECK_RELOCS_AFTER_OPEN_INPUT is yes.
1313 (gld${EMULATION_NAME}_after_open): Call
1314 _bfd_elf_link_check_relocs on all inputs if
1315 check_relocs_after_open_input is TRUE.
1317 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1319 * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
1322 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1324 * emultempl/scoreelf.em: Likewise.
1326 2016-04-19 H.J. Lu <hongjiu.lu@intel.com>
1329 * testsuite/ld-x86-64/pr19719.d: New file.
1330 * testsuite/ld-x86-64/pr19719.s: Likewise.
1331 * testsuite/ld-x86-64/x86-64.exp: Run pr19719.
1333 2016-04-18 Matthew Fortune <matthew.fortune@imgtec.com>
1335 * ld.texinfo: Document NOCROSSREFS_TO script command.
1336 * ldlang.h (struct lang_nocrossrefs): Add onlyfirst field.
1337 (lang_add_nocrossref_to): New prototype.
1338 * ldcref.c (check_local_sym_xref): Use onlyfirst to only look for
1339 symbols defined in the first section.
1340 (check_nocrossref): Likewise.
1341 * ldgram.y (NOCROSSREFS_TO): New script command.
1342 * ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE.
1343 (lang_add_nocrossref_to): New function.
1344 * ldlex.l (NOCROSSREFS_TO): New token.
1345 * NEWS: Mention NOCROSSREFS_TO.
1346 * testsuite/ld-scripts/cross4.t: New file.
1347 * testsuite/ld-scripts/cross5.t: Likewise.
1348 * testsuite/ld-scripts/cross6.t: Likewise.
1349 * testsuite/ld-scripts/cross7.t: Likewise.
1350 * testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO
1353 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
1355 * Makefile.in: Regenerated with automake 1.11.6.
1356 * aclocal.m4: Likewise.
1358 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
1360 * testsuite/ld-arc/arc.exp: New file.
1361 * testsuite/ld-arc/nps-1.s: New file.
1362 * testsuite/ld-arc/nps-1a.d: New file.
1363 * testsuite/ld-arc/nps-1b.d: New file.
1364 * testsuite/ld-arc/nps-1b.err: New file.
1366 2016-04-14 Nick Clifton <nickc@redhat.com>
1369 * testsuite/ld-scripts/script.exp (extract_symbol_test): Add
1370 exceptions for Mingw and Cygwin.
1372 2016-04-13 Andrew Burgess <andrew.burgess@embecosm.com>
1374 * testsuite/lib/ld-lib.exp (run_dump_test): Initialise
1377 2016-04-13 H.J. Lu <hongjiu.lu@intel.com>
1380 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before
1381 tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed
1384 2016-04-11 H.J. Lu <hongjiu.lu@intel.com>
1387 * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
1388 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1389 * testsuite/ld-i386/pr19939.s: New file.
1390 * testsuite/ld-i386/pr19939a.d: Likewise.
1391 * testsuite/ld-i386/pr19939b.d: Likewise.
1392 * testsuite/ld-x86-64/pr19939.s: Likewise.
1393 * testsuite/ld-x86-64/pr19939a.d: Likewise.
1394 * testsuite/ld-x86-64/pr19939b.d: Likewise.
1396 2016-04-09 Oleg Endo <olegendo@gcc.gnu.org>
1398 * emulparams/shelf.sh: Set stack area to 0x3FFFFF00.
1400 2016-04-08 Alan Modra <amodra@gmail.com>
1403 * ldlang.c (maybe_overlays): Delete.
1404 (lang_size_sections_1): Remove code setting maybe_overlays.
1405 (lang_check_section_addresses): Instead detect overlays by
1406 exact match of section VMAs here. Fix memory leak.
1408 2016-04-08 Dan Gisselquist <dgisselq@ieee.org>
1410 * ldlang.c (print_output_section_statement): Show minfo size
1411 in target machine address units.
1412 (print_reloc_statement): Likewise.
1413 (print_padding_statement): Likewise.
1414 (print_data_statement): Likewise. Ensure minimum print_dot
1415 increment of one address unit.
1417 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1419 * emulparams/arc-endianness.sh: Make little endian default choice.
1421 2016-04-07 Nick Clifton <nickc@redhat.com>
1423 * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in
1425 * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise.
1427 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
1429 * emulparams/arc-endianness.sh: New file.
1430 * emulparams/arcebelf.sh: Deleted.
1431 * emulparams/arcebelf_prof.sh: Deleted.
1432 * emulparams/arceblinux.sh: Deleted.
1433 * emulparams/arceblinux_prof.sh: Deleted.
1434 * emulparams/arcelf.sh: Include arc-endinness.sh.
1435 * emulparams/arcelf_prof.sh: Include arc-endinness.sh.
1436 * emulparams/arclinux.sh: Include arc-endinness.sh.
1437 * emulparams/arclinux_prof.sh: Include arc-endinness.sh.
1438 * emulparams/arcv2elf.sh: Include arc-endinness.sh.
1439 * emulparams/arcv2elfx.sh: Include arc-endinness.sh.
1440 * testsuite/ld-elf/compressed1d.d: Update pattern for big and
1441 little endian arc targets.
1442 * testsuite/ld-elf/eh-frame-hdr.d: Likewise.
1443 * testsuite/ld-elf/group1.d: Likewise.
1444 * testsuite/ld-elf/group3b.d: Likewise.
1445 * testsuite/ld-elf/group8a.d: Likewise.
1446 * testsuite/ld-elf/group8b.d: Likewise.
1447 * testsuite/ld-elf/group9a.d: Likewise.
1448 * testsuite/ld-elf/group9b.d: Likewise.
1449 * testsuite/ld-elf/linkonce2.d: Likewise.
1450 * testsuite/ld-elf/pr12851.d: Likewise.
1451 * testsuite/ld-elf/pr12975.d: Likewise.
1452 * testsuite/ld-elf/pr13177.d: Likewise.
1453 * testsuite/ld-elf/pr13195.d: Likewise.
1454 * testsuite/ld-elf/pr17615.d: Likewise.
1455 * testsuite/ld-elf/pr19162.d: Likewise.
1456 * testsuite/ld-elf/sec64k.exp: Likewise.
1457 * testsuite/lib/ld-lib.exp: Likewise.
1459 2016-04-05 Maciej W. Rozycki <macro@imgtec.com>
1462 * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol
1464 * testsuite/ld-cris/tls-e-20a.d: Likewise.
1465 * testsuite/ld-cris/tls-e-21.d: Likewise.
1466 * testsuite/ld-cris/tls-e-23.d: Likewise.
1467 * testsuite/ld-cris/tls-e-80.d: Likewise.
1468 * testsuite/ld-cris/tls-gd-3h.d: Likewise.
1469 * testsuite/ld-cris/tls-leie-19.d: Likewise.
1470 * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test.
1471 * testsuite/ld-mips-elf/export-hidden-ref.sd: New test.
1472 * testsuite/ld-mips-elf/export-internal-ref.sd: New test.
1473 * testsuite/ld-mips-elf/export-protected-ref.sd: New test.
1474 * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source.
1475 * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source.
1476 * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source.
1477 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1479 2016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
1481 * testsuite/ld-discard/extern.d: Removed xfail for ARC.
1482 * testsuite/ld-discard/start.d: Likewise.
1483 * testsuite/ld-discard/static.d: Likewise.
1484 * testsuite/ld-elf/group1.d: Likewise.
1485 * testsuite/ld-elf/group3b.d: Likewise.
1486 * testsuite/ld-elf/orphan-region.d: Likewise.
1487 * testsuite/ld-elf/orphan.d: Likewise.
1488 * testsuite/ld-elf/orphan3.d: Likewise.
1489 * testsuite/ld-elf/pr349.d: Likewise.
1490 * testsuite/ld-elf/warn1.d: Likewise.
1491 * testsuite/ld-elf/warn2.d: Likewise.
1492 * testsuite/ld-elf/warn3.d: Likewise.
1493 * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol
1494 through linker flags.
1495 * testsuite/ld-srec/srec.exp: Set as xfail.
1497 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
1500 * testsuite/ld-i386/pr19827-nacl.rd: New file.
1501 * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
1503 2016-04-04 Nick Clifton <nickc@redhat.com>
1506 * emultempl/pe.em (change_undef): New function. Encapsulates
1507 duplicated code in pe_fixup_stdcalls and adds the newly defined
1508 sym to the gc root list.
1509 (pe_fixup_stdcall): Use the new function.
1510 * pe-dll.c (process_def_file_and_drectve); Add alias of exported
1511 symbol to gc root list.
1513 2016-03-31 Alan Modra <amodra@gmail.com>
1515 * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.
1516 (lang_insert_orphan): Use TO_ADDR in __stop sym calculation.
1517 (print_input_section): Don't use TO_ADDR when printing section
1519 (lang_size_sections_1): Use TO_ADDR in overlay lma calculation.
1520 (lang_size_sections): Use TO_ADDR in relro end calculation.
1522 2016-03-30 Andrew Burgess <andrew.burgess@embecosm.com>
1524 * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return
1525 value from regexp_diff.
1526 * testsuite/ld-elf/orphan-5.l: Fix expected output.
1527 * testsuite/ld-elf/orphan-6.l: Likewise.
1529 2016-03-30 Alan Modra <amodra@gmail.com>
1532 * ldlang.c (maybe_overlays): New static var.
1533 (lang_size_sections_1): Set it here.
1534 (struct check_sec): New.
1535 (sort_sections_by_lma): Adjust for array of structs.
1536 (sort_sections_by_vma): New function.
1537 (lang_check_section_addresses): Check both LMA and VMA for overlap.
1538 * testsuite/ld-scripts/rgn-over7.d: Adjust.
1540 2016-03-30 Alan Modra <amodra@gmail.com>
1542 * ldlang.c (lang_size_sections_1): Correct code detecting a
1543 backward non-overlapping move.
1545 2016-03-30 Alan Modra <amodra@gmail.com>
1547 * ldlang.c (IS_TBSS): New macro, extracted from..
1548 (IGNORE_SECTION): ..here.
1549 (lang_size_sections_1): Use IS_TBSS and IGNORE_SECTION.
1550 (lang_size_sections, lang_do_assignments_1): Use IS_TBSS.
1552 2016-03-22 Nick Clifton <nickc@redhat.com>
1555 * ldlang.c (lang_add_gc_name): New function. Adds the provided
1556 symbol name to the list of gc symbols.
1557 (lang_process): Call lang_add_gc_name with entry_symbol_default if
1558 entry_symbol.name is NULL. Use lang_add_gc_name to add the init
1559 and fini function names.
1560 * pe-dll.c (process_def_file_and_drectve): Add exported names to
1562 * testsuite/ld-pe/pr19803.s: Do not export _testval symbol.
1563 * testsuite/ld-pe/pr19803.d: Tweak expected output.
1565 2016-03-22 Nick Clifton <nickc@redhat.com>
1567 * configure: Regenerate.
1569 2016-03-21 Nick Clifton <nickc@redhat.com>
1571 * emultempl/msp430.em: Replace use of alloca with call to xmalloc.
1572 * plugin.c: Likewise.
1573 * pe-dll.c: Likewise.
1575 2016-03-18 Awson <kyrab@mail.ru>
1578 * scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
1580 * scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.
1582 2016-03-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1584 * ld-avr/gc-section-debugline.d: Relax regex check for CU.
1586 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
1589 * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests.
1590 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1591 * testsuite/ld-i386/pr19827.rd: New file.
1592 * testsuite/ld-i386/pr19827a.S: Likewise.
1593 * testsuite/ld-i386/pr19827b.S: Likewise.
1594 * testsuite/ld-x86-64/pr19827.rd: Likewise.
1595 * testsuite/ld-x86-64/pr19827a.S: Likewise.
1596 * testsuite/ld-x86-64/pr19827b.S: Likewise.
1598 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
1601 * Makefile.am (ELF_X86_DEPS): Add
1602 $(srcdir)/emulparams/reloc_overflow.sh.
1603 * Makefile.in: Regenerated.
1604 * NEWS: Mention -z noreloc-overflow.
1605 * ld.texinfo: Document -z noreloc-overflow.
1606 * emulparams/elf32_x86_64.sh: Source
1607 ${srcdir}/emulparams/reloc_overflow.sh.
1608 * emulparams/elf_x86_64.sh: Likewise.
1609 * emulparams/reloc_overflow.sh: New file.
1610 * testsuite/ld-x86-64/pr19807-1.s: New file.
1611 * testsuite/ld-x86-64/pr19807-1a.d: Likewise.
1612 * testsuite/ld-x86-64/pr19807-1b.d: Likewise.
1613 * testsuite/ld-x86-64/pr19807-2.s: Likewise.
1614 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
1615 * testsuite/ld-x86-64/pr19807-2b.d: Likewise.
1616 * testsuite/ld-x86-64/pr19807-2c.d: Likewise.
1617 * testsuite/ld-x86-64/pr19807-2d.d: Likewise.
1618 * testsuite/ld-x86-64/pr19807-2e.d: Likewise.
1619 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19807 tests.
1621 2016-03-13 H.J. Lu <hongjiu.lu@intel.com>
1624 * testsuite/ld-i386/i386.exp: Run pr19539.
1625 * testsuite/ld-i386/pr19539.d: New file.
1626 * testsuite/ld-i386/pr19539.s: Likewise.
1627 * testsuite/ld-i386/pr19539.t: Likewise.
1628 * testsuite/ld-x86-64/pr19539.s: Likewise.
1629 * testsuite/ld-x86-64/pr19539.t: Likewise.
1630 * testsuite/ld-x86-64/pr19539a.d: Likewise.
1631 * testsuite/ld-x86-64/pr19539b.d: Likewise.
1632 * testsuite/ld-x86-64/x86-64.exp: Run pr19539a and pr19539b.
1634 2016-03-10 Mickael Guene <mickael.guene@st.com>
1637 * testsuite/ld-arm/arm-elf.exp: New tests.
1638 * testsuite/ld-arm/thumb1-adds-armv7-m.s: New.
1639 * testsuite/ld-arm/thumb1-movs-armv7-m.s: New.
1641 2016-03-10 Nick Clifton <nickc@redhat.com>
1643 * scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).
1645 2016-03-09 Pedro Alves <palves@redhat.com>
1647 * scripttempl/v850.sc: Use "v850:old-gcc-abi" as OUTPUT_ARCH.
1648 * scripttempl/v850_rh850.sc: Use "v850:rh850" as OUTPUT_ARCH.
1650 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
1653 * testsuite/ld-elf/pr19789.d: New file.
1654 * testsuite/ld-elf/pr19789.s: Likewise.
1656 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
1659 * testsuite/ld-i386/i386.exp: Remove pr19636-2e-nacl test.
1660 * testsuite/ld-i386/pr19636-2e-nacl.d: Moved to ...
1661 * testsuite/ld-i386/pr19636-2e.d: Here. Remove notarget.
1662 * testsuite/ld-ifunc/ifunc.exp: Run PR ld/19784 tests.
1663 * testsuite/ld-ifunc/pass.out: New file.
1664 * testsuite/ld-ifunc/pr19784a.c: Likewise.
1665 * testsuite/ld-ifunc/pr19784b.c: Likewise.
1666 * testsuite/ld-ifunc/pr19784c.c: Likewise.
1668 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
1671 * testsuite/ld-ifunc/ifunc.exp: Link tmpdir/pr18808a.o before
1672 tmpdir/libpr18808.so. Link tmpdir/pr18841a.o before
1673 tmpdir/libpr18841b.so and tmpdir/libpr18841c.so. Test
1674 --as-needed for pr18841c.
1676 2016-03-07 H.J. Lu <hongjiu.lu@intel.com>
1679 * testsuite/ld-i386/i386.exp: Link tmpdir/pr18900.o before
1680 tmpdir/pr18900.so and test --as-needed. Link tmpdir/gotpc1.o
1681 before tmpdir/got1d.so and test --as-needed.
1682 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr18900.o before
1683 tmpdir/pr18900.so and test --as-needed.
1685 2016-03-07 Jiong Wang <jiong.wang@arm.com>
1687 * testsuite/ld-aarch64/implicit_got_section_1.s: New test source file.
1688 * testsuite/ld-aarch64/implicit_got_section_1.d: New test expected
1690 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
1692 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
1694 * testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o
1695 before tmpdir/copyreloc-lib.so and test --as-needed.
1696 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1698 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
1701 * testsuite/ld-elf/pr19579a.c: New file.
1702 * testsuite/ld-elf/pr19579b.c: Likewise.
1703 * testsuite/ld-elf/shared.exp: Run PR ld/19579 test.
1705 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1707 * testsuite/ld-elf/pr19162.d: Skip hppa-*-*.
1709 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1711 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Add xfails.
1712 Xfail mix_pic_and_non_pic on "arm*-*-*" "aarch64*-*-*".
1714 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1717 * emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other
1718 input sections for relocatable link.
1719 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1720 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1722 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
1725 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
1726 merge flags of other input sections for relocatable link.
1728 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
1730 * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6.
1732 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
1734 * testsuite/ld-elf/pr19162.d: Skip arc target.
1736 2016-02-29 H.J. Lu <hongjiu.lu@intel.com>
1739 * testsuite/ld-elf/pr19162.d: New file.
1740 * testsuite/ld-elf/pr19162a.s: Likwise.
1741 * testsuite/ld-elf/pr19162b.s: Likwise.
1743 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
1745 * testsuite/ld-elf/merge.d: Removed xfail for ARC.
1746 * testsuite/ld-elf/merge2.d: Likewise.
1747 * testsuite/ld-elf/merge3.d: Likewise.
1749 2016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
1751 * scripttempl/arclinux.sc: Force .tdata and .tbss to always be
1754 2016-02-26 Renlin Li <renlin.li@arm.com>
1756 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
1757 * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
1758 * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
1759 * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
1760 * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
1761 * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
1762 * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
1763 * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
1764 * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
1765 * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.
1767 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1770 * testsuite/ld-i386/got1.dd: Updated.
1771 * testsuite/ld-i386/lea1c.d: Likewise.
1772 * testsuite/ld-i386/load1-nacl.d: Likewise.
1773 * testsuite/ld-i386/load1.d: Likewise.
1774 * testsuite/ld-i386/load4b.d: Likewise.
1775 * testsuite/ld-i386/load5b.d: Likewise.
1776 * testsuite/ld-i386/mov1b.d: Likewise.
1777 * testsuite/ld-x86-64/mov1b.d: Likewise.
1778 * testsuite/ld-x86-64/mov1d.d: Likewise.
1779 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
1780 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1781 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
1782 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1783 * testsuite/ld-x86-64/gotpcrel1.dd: Likewise.
1784 * testsuite/ld-x86-64/lea1a.d: Likewise.
1785 * testsuite/ld-x86-64/lea1b.d: Likewise.
1786 * testsuite/ld-x86-64/lea1c.d: Likewise.
1787 * testsuite/ld-x86-64/lea1d.d: Likewise.
1788 * testsuite/ld-x86-64/lea1e.d: Likewise.
1789 * testsuite/ld-x86-64/lea1f.d: Likewise.
1790 * testsuite/ld-x86-64/mov1b.d: Likewise.
1791 * testsuite/ld-x86-64/mov1d.d: Likewise.
1792 * testsuite/ld-x86-64/pr13082-3b.d: Likewise.
1793 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
1794 * testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
1795 * testsuite/ld-i386/pr19609-1.s: New file.
1796 * testsuite/ld-i386/pr19609-1a.d: Likewise.
1797 * testsuite/ld-i386/pr19609-1b.d: Likewise.
1798 * testsuite/ld-i386/pr19609-1c.d: Likewise.
1799 * testsuite/ld-i386/pr19609-1d.d: Likewise.
1800 * testsuite/ld-i386/pr19609-1e.d: Likewise.
1801 * testsuite/ld-i386/pr19609-1f.d: Likewise.
1802 * testsuite/ld-i386/pr19609-1g.d: Likewise.
1803 * testsuite/ld-i386/pr19609-1h.d: Likewise.
1804 * testsuite/ld-i386/pr19609-1i.d: Likewise.
1805 * testsuite/ld-i386/pr19609-2.s: Likewise.
1806 * testsuite/ld-i386/pr19609-2a.d: Likewise.
1807 * testsuite/ld-i386/pr19609-2b.d: Likewise.
1808 * testsuite/ld-i386/pr19609-2c.d: Likewise.
1809 * testsuite/ld-i386/undefweak.s: Likewise.
1810 * testsuite/ld-i386/undefweaka.d: Likewise.
1811 * testsuite/ld-i386/undefweakb.d: Likewise.
1812 * testsuite/ld-x86-64/pr13082-3c.d: Likewise.
1813 * testsuite/ld-x86-64/pr13082-3d.d: Likewise.
1814 * testsuite/ld-x86-64/pr19609-1.s: Likewise.
1815 * testsuite/ld-x86-64/pr19609-1a.d: Likewise.
1816 * testsuite/ld-x86-64/pr19609-1b.d: Likewise.
1817 * testsuite/ld-x86-64/pr19609-1c.d: Likewise.
1818 * testsuite/ld-x86-64/pr19609-1d.d: Likewise.
1819 * testsuite/ld-x86-64/pr19609-1e.d: Likewise.
1820 * testsuite/ld-x86-64/pr19609-1f.d: Likewise.
1821 * testsuite/ld-x86-64/pr19609-1g.d: Likewise.
1822 * testsuite/ld-x86-64/pr19609-1h.d: Likewise.
1823 * testsuite/ld-x86-64/pr19609-1i.d: Likewise.
1824 * testsuite/ld-x86-64/pr19609-1j.d: Likewise.
1825 * testsuite/ld-x86-64/pr19609-1k.d: Likewise.
1826 * testsuite/ld-x86-64/pr19609-1l.d: Likewise.
1827 * testsuite/ld-x86-64/pr19609-1m.d: Likewise.
1828 * testsuite/ld-x86-64/pr19609-2.s: Likewise.
1829 * testsuite/ld-x86-64/pr19609-2a.d: Likewise.
1830 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
1831 * testsuite/ld-x86-64/pr19609-2c.d: Likewise.
1832 * testsuite/ld-x86-64/pr19609-2d.d: Likewise.
1833 * testsuite/ld-x86-64/pr19609-3.s: Likewise.
1834 * testsuite/ld-x86-64/pr19609-3a.d: Likewise.
1835 * testsuite/ld-x86-64/pr19609-3b.d: Likewise.
1836 * testsuite/ld-x86-64/pr19609-4.s: Likewise.
1837 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
1838 * testsuite/ld-x86-64/pr19609-4b.d: Likewise.
1839 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
1840 * testsuite/ld-x86-64/pr19609-4d.d: Likewise.
1841 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
1842 * testsuite/ld-x86-64/pr19609-5.s: Likewise.
1843 * testsuite/ld-x86-64/pr19609-5a.d: Likewise.
1844 * testsuite/ld-x86-64/pr19609-5b.d: Likewise.
1845 * testsuite/ld-x86-64/pr19609-5c.d: Likewise.
1846 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
1847 * testsuite/ld-x86-64/pr19609-5e.d: Likewise.
1848 * testsuite/ld-x86-64/pr19609-6.s: Likewise.
1849 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
1850 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
1851 * testsuite/ld-x86-64/pr19609-6c.d: Likewise.
1852 * testsuite/ld-x86-64/pr19609-6d.d: Likewise.
1853 * testsuite/ld-x86-64/pr19609-7.s: Likewise.
1854 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
1855 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
1856 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
1857 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
1858 * testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
1860 * testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
1861 and tests for PR ld/19609.
1863 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1866 * NEWS: Mention -z common/-z nocommon for ELF targets.
1867 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
1868 -z common and -z nocommon.
1869 * ld.texinfo: Document -z common/-z nocommon.
1870 * lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
1871 * testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
1872 --elf-stt-common=yes with assembler.
1873 * testsuite/ld-elfcomm/common-1.s: New file.
1874 * testsuite/ld-elfcomm/common-1a.d: Likewise.
1875 * testsuite/ld-elfcomm/common-1b.d: Likewise.
1876 * testsuite/ld-elfcomm/common-1c.d: Likewise.
1877 * testsuite/ld-elfcomm/common-1d.d: Likewise.
1878 * testsuite/ld-elfcomm/common-1e.d: Likewise.
1879 * testsuite/ld-elfcomm/common-1f.d: Likewise.
1880 * testsuite/ld-elfcomm/common-2.s: Likewise.
1881 * testsuite/ld-elfcomm/common-2a.d: Likewise.
1882 * testsuite/ld-elfcomm/common-2b.d: Likewise.
1883 * testsuite/ld-elfcomm/common-2c.d: Likewise.
1884 * testsuite/ld-elfcomm/common-2d.d: Likewise.
1885 * testsuite/ld-elfcomm/common-2e.d: Likewise.
1886 * testsuite/ld-elfcomm/common-2f.d: Likewise.
1887 * testsuite/ld-elfcomm/common-3a.rd: Likewise.
1888 * testsuite/ld-elfcomm/common-3b.rd: Likewise.
1889 * testsuite/ld-i386/pr19645.d: Likewise.
1890 * testsuite/ld-i386/pr19645.s: Likewise.
1891 * testsuite/ld-x86-64/largecomm-1.s: Likewise.
1892 * testsuite/ld-x86-64/largecomm-1a.d: Likewise.
1893 * testsuite/ld-x86-64/largecomm-1b.d: Likewise.
1894 * testsuite/ld-x86-64/largecomm-1c.d: Likewise.
1895 * testsuite/ld-x86-64/largecomm-1d.d: Likewise.
1896 * testsuite/ld-x86-64/largecomm-1e.d: Likewise.
1897 * testsuite/ld-x86-64/largecomm-1f.d: Likewise.
1898 * testsuite/ld-x86-64/pr19645.d: Likewise.
1899 * testsuite/ld-x86-64/pr19645.s: Likewise.
1900 * testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
1902 (assembler_generates_commons): Removed.
1903 Run -z common/-z nocommon tests. Run *.d tests.
1904 * testsuite/ld-i386/i386.exp: Run pr19645.
1905 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1906 * testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
1907 assembler. Test STT_COMMON with readelf.
1909 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1914 * Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh.
1915 * Makefile.in: Regenerated.
1916 * NEWS: Mention -z nodynamic-undefined-weak.
1917 * ld.texinfo: Document -z nodynamic-undefined-weak.
1918 * ldmain.c (main): Initialize dynamic_undefined_weak to -1.
1919 * emulparams/dynamic_undefined_weak.sh: New file.
1920 * emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh.
1921 * emulparams/elf_i386.sh: Likewise.
1922 * emulparams/elf_i386_be.sh: Likewise.
1923 * emulparams/elf_i386_chaos.sh: Likewise.
1924 * emulparams/elf_i386_ldso.sh: Likewise.
1925 * emulparams/elf_i386_vxworks.sh: Likewise.
1926 * emulparams/elf_iamcu.sh: Likewise.
1927 * emulparams/elf_k1om.sh: Likewise.
1928 * emulparams/elf_l1om.sh: Likewise.
1929 * emulparams/elf_x86_64.sh: Likewise.
1930 * emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS):
1932 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
1933 * testsuite/ld-elf/pr19719a.c: New file.
1934 * testsuite/ld-elf/pr19719b.c: Likewise.
1935 * testsuite/ld-elf/pr19719c.c: Likewise.
1936 * testsuite/ld-elf/pr19719d.c: Likewise.
1937 * testsuite/ld-i386/pr19636-1.s: Likewise.
1938 * testsuite/ld-i386/pr19636-1a.d: Likewise.
1939 * testsuite/ld-i386/pr19636-1b.d: Likewise.
1940 * testsuite/ld-i386/pr19636-1c.d: Likewise.
1941 * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
1942 * testsuite/ld-i386/pr19636-1d.d: Likewise.
1943 * testsuite/ld-i386/pr19636-1e.d: Likewise.
1944 * testsuite/ld-i386/pr19636-1f.d: Likewise.
1945 * testsuite/ld-i386/pr19636-1g.d: Likewise.
1946 * testsuite/ld-i386/pr19636-1h.d: Likewise.
1947 * testsuite/ld-i386/pr19636-1i.d: Likewise.
1948 * testsuite/ld-i386/pr19636-2.s: Likewise.
1949 * testsuite/ld-i386/pr19636-2a.d: Likewise.
1950 * testsuite/ld-i386/pr19636-2b.d: Likewise.
1951 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
1952 * testsuite/ld-i386/pr19636-2c.d: Likewise.
1953 * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
1954 * testsuite/ld-i386/pr19636-2d.d: Likewise.
1955 * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
1956 * testsuite/ld-i386/pr19636-2e.d: Likewise.
1957 * testsuite/ld-i386/pr19636-3.s: Likewise.
1958 * testsuite/ld-i386/pr19636-3a.d: Likewise.
1959 * testsuite/ld-i386/pr19636-3b.d: Likewise.
1960 * testsuite/ld-i386/pr19636-3c.d: Likewise.
1961 * testsuite/ld-i386/pr19636-3d.d: Likewise.
1962 * testsuite/ld-i386/pr19636-3e.d: Likewise.
1963 * testsuite/ld-i386/pr19636-3f.d: Likewise.
1964 * testsuite/ld-i386/pr19636-3g.d: Likewise.
1965 * testsuite/ld-i386/pr19636-4.s: Likewise.
1966 * testsuite/ld-i386/pr19636-4a.d: Likewise.
1967 * testsuite/ld-i386/pr19636-4b.d: Likewise.
1968 * testsuite/ld-i386/pr19636-4c.d: Likewise.
1969 * testsuite/ld-i386/pr19636-4d.d: Likewise.
1970 * testsuite/ld-i386/pr19704.out: Likewise.
1971 * testsuite/ld-i386/pr19704a.c: Likewise.
1972 * testsuite/ld-i386/pr19704b.c: Likewise.
1973 * testsuite/ld-x86-64/pr19636-1.s: Likewise.
1974 * testsuite/ld-x86-64/pr19636-1a.d: Likewise.
1975 * testsuite/ld-x86-64/pr19636-1b.d: Likewise.
1976 * testsuite/ld-x86-64/pr19636-1c.d: Likewise.
1977 * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
1978 * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
1979 * testsuite/ld-x86-64/pr19636-1f.d: Likewise.
1980 * testsuite/ld-x86-64/pr19636-1g.d: Likewise.
1981 * testsuite/ld-x86-64/pr19636-2.s: Likewise.
1982 * testsuite/ld-x86-64/pr19636-2a.d: Likewise.
1983 * testsuite/ld-x86-64/pr19636-2b.d: Likewise.
1984 * testsuite/ld-x86-64/pr19636-2c.d: Likewise.
1985 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
1986 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
1987 * testsuite/ld-x86-64/pr19636-2e.d: Likewise.
1988 * testsuite/ld-x86-64/pr19636-2f.d: Likewise.
1989 * testsuite/ld-x86-64/pr19636-2g.d: Likewise.
1990 * testsuite/ld-x86-64/pr19636-2h.d: Likewise.
1991 * testsuite/ld-x86-64/pr19636-2i.d: Likewise.
1992 * testsuite/ld-x86-64/pr19636-3.s: Likewise.
1993 * testsuite/ld-x86-64/pr19636-3a.d: Likewise.
1994 * testsuite/ld-x86-64/pr19636-3b.d: Likewise.
1995 * testsuite/ld-x86-64/pr19636-3c.d: Likewise.
1996 * testsuite/ld-x86-64/pr19636-3d.d: Likewise.
1997 * testsuite/ld-x86-64/pr19704.out: Likewise.
1998 * testsuite/ld-x86-64/pr19704a.c: Likewise.
1999 * testsuite/ld-x86-64/pr19704b.c: Likewise.
2000 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New.
2001 Run mix_pic_and_non_pic.
2002 * testsuite/ld-i386/i386.exp (undefined_weak): New.
2003 Run undefined_weak and PR ld/19636 tests.
2004 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2005 * testsuite/ld-x86-64/pr13082-3b.d: Updated.
2006 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
2008 2016-02-25 Nick Clifton <nickc@redhat.com>
2010 * ld.h (struct ld_config_type): Remove specified_data_size field.
2012 2016-02-24 H.J. Lu <hongjiu.lu@intel.com>
2015 * testsuite/ld-elf/pr19698.d: New file.
2016 * testsuite/ld-elf/pr19698.s: Likewise.
2017 * testsuite/ld-elf/pr19698.t: Likewise.
2019 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
2021 * Makefile.am (ELF_X86_DEPS): New.
2022 (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS).
2023 (eelf_i386_chaos.c): Likewise.
2024 (eelf_i386_fbsd.c): Likewise.
2025 (eelf_i386_ldso.c): Likewise.
2026 (eelf_i386_nacl.c): Likewise.
2027 (eelf_i386_sol2.c): Likewise.
2028 (eelf_iamcu.c): Likewise.
2029 (eelf32_x86_64.c): Likewise.
2030 (eelf32_x86_64_nacl.c): Likewise.
2031 (eelf_l1om.c): Likewise.
2032 (eelf_l1om_fbsd.c): Likewise.
2033 (eelf_k1om.c): Likewise.
2034 (eelf_k1om_fbsd.c): Likewise.
2035 (eelf_x86_64.c): Likewise.
2036 (eelf_x86_64_cloudabi.c): Likewise.
2037 (eelf_x86_64_fbsd.c): Likewise.
2038 (eelf_x86_64_sol2.c): Likewise.
2039 * Makefile.in: Regenerated.
2041 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
2043 * testsuite/ld-frv/fdpic-pie-6.d: Updated.
2044 * testsuite/ld-mips-elf/pie-n32.d: Likewise.
2045 * testsuite/ld-mips-elf/pie-n64.d: Likewise.
2046 * testsuite/ld-mips-elf/pie-o32.d: Likewise.
2048 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
2050 * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
2052 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
2054 * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
2055 *-*-gnu* and *-*-solaris*.
2056 * testsuite/ld-elf/pr19617b.d: Likewise.
2057 * testsuite/ld-elf/pr19617c.d: Likewise.
2059 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
2062 * testsuite/ld-elf/pr19617.s: New file.
2063 * testsuite/ld-elf/pr19617a.d: Likewise.
2064 * testsuite/ld-elf/pr19617b.d: Likewise.
2065 * testsuite/ld-elf/pr19617c.d: Likewise.
2067 2016-02-18 Nick Clifton <nickc@redhat.com>
2069 * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
2070 in-tree xg++ executable after checking for the presence of an
2071 in-tree g++ executable.
2072 * Makefile.in: Regenerate.
2074 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
2076 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
2077 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
2078 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
2080 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
2082 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
2083 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
2084 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
2085 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
2086 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
2087 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
2088 * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
2089 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
2090 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
2091 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
2092 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
2093 * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
2094 * testsuite/ld-x86-64/load1c.d: Likewise.
2095 * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
2096 * testsuite/ld-x86-64/load1d.d: Likewise.
2097 * testsuite/ld-x86-64/pr14207.d: Likewise.
2098 * testsuite/ld-x86-64/pr19162.d: Likewise.
2099 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
2100 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
2101 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
2102 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
2103 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
2104 * testsuite/ld-x86-64/tlspic.rd: Likewise.
2106 2016-02-17 Nick Clifton <nickc@redhat.com>
2108 * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
2110 2016-02-15 Nick Clifton <nickc@redhat.com>
2112 * testsuite/ld-i386/pr12718.d: Remove dependency upon the
2113 description of the flags produced by readelf.
2114 * testsuite/ld-i386/pr12921.d: Likewise.
2115 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
2116 * testsuite/ld-i386/tlsbin.rd: Likewise.
2117 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
2118 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
2119 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
2120 * testsuite/ld-i386/tlsdesc.rd: Likewise.
2121 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
2122 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
2123 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
2124 * testsuite/ld-i386/tlsnopic.rd: Likewise.
2125 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
2126 * testsuite/ld-i386/tlspic.rd: Likewise.
2127 * testsuite/ld-s390/tlsbin.rd: Likewise.
2128 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
2129 * testsuite/ld-s390/tlspic.rd: Likewise.
2130 * testsuite/ld-s390/tlspic_64.rd: Likewise.
2131 * testsuite/ld-sh/tlsbin-2.d: Likewise.
2132 * testsuite/ld-sh/tlspic-2.d: Likewise.
2133 * testsuite/ld-tic6x/common.d: Likewise.
2134 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
2135 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
2136 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
2137 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
2138 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
2139 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
2140 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
2141 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
2142 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
2143 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
2144 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
2145 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
2146 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
2147 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
2148 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
2149 * testsuite/ld-x86-64/pr12718.d: Likewise.
2150 * testsuite/ld-x86-64/pr12921.d: Likewise.
2151 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
2152 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
2153 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
2154 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
2155 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
2156 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
2157 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
2158 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
2159 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
2160 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
2161 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
2162 * testsuite/ld-x86-64/tlspic.rd: Likewise.
2163 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
2164 * testsuite/ld-xtensa/tlspic.rd: Likewise.
2166 2016-02-11 H.J. Lu <hongjiu.lu@intel.com>
2169 * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
2171 * lexsup.c (parse_args): Enable -Bsymbolic and
2172 -Bsymbolic-functions for PIE.
2173 * testsuite/ld-i386/i386.exp: Run pr19615.
2174 * testsuite/ld-i386/pr19615.d: New file.
2175 * testsuite/ld-i386/pr19615.s: Likewise.
2176 * testsuite/ld-x86-64/pr19615.d: Likewise.
2177 * testsuite/ld-x86-64/pr19615.s: Likewise.
2179 2016-02-09 Nick Clifton <nickc@redhat.com>
2181 * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
2182 * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
2183 * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
2184 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
2186 2016-02-04 Nick Clifton <nickc@redhat.com>
2188 * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
2189 * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
2190 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
2191 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
2192 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
2193 * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
2194 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
2195 * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
2196 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
2198 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2201 * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
2202 * testsuite/ld-i386/call1.d: Likewise.
2203 * testsuite/ld-i386/call2.d: Likewise.
2204 * testsuite/ld-i386/call3a.d: Likewise.
2205 * testsuite/ld-i386/call3b.d: Likewise.
2206 * testsuite/ld-i386/call3c.d: Likewise.
2207 * testsuite/ld-i386/call3d.d: Likewise.
2208 * testsuite/ld-i386/call3e.d: Likewise.
2209 * testsuite/ld-i386/call3f.d: Likewise.
2210 * testsuite/ld-i386/call3g.d: Likewise.
2211 * testsuite/ld-i386/call3h.d: Likewise.
2212 * testsuite/ld-i386/jmp1.d: Likewise.
2213 * testsuite/ld-i386/jmp2.d: Likewise.
2214 * testsuite/ld-i386/lea1c.d: Likewise.
2215 * testsuite/ld-i386/load1.d: Likewise.
2216 * testsuite/ld-i386/load2.d: Likewise.
2217 * testsuite/ld-i386/load3.d: Likewise.
2218 * testsuite/ld-i386/load4a.d: Likewise.
2219 * testsuite/ld-i386/load5a.d: Likewise.
2220 * testsuite/ld-i386/mov2b.d: Likewise.
2221 * testsuite/ld-i386/mov3.d: Likewise.
2222 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
2223 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
2224 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
2225 * testsuite/ld-x86-64/call1a.d: Likewise.
2226 * testsuite/ld-x86-64/call1b.d: Likewise.
2227 * testsuite/ld-x86-64/call1c.d: Likewise.
2228 * testsuite/ld-x86-64/call1d.d: Likewise.
2229 * testsuite/ld-x86-64/call1e.d: Likewise.
2230 * testsuite/ld-x86-64/call1f.d: Likewise.
2231 * testsuite/ld-x86-64/call1h.d: Likewise.
2232 * testsuite/ld-x86-64/call1i.d: Likewise.
2233 * testsuite/ld-x86-64/load1a.d: Likewise.
2234 * testsuite/ld-x86-64/load1b.d: Likewise.
2235 * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
2236 * testsuite/ld-i386/got1.dd: Updated.
2237 * testsuite/ld-i386/got1d.S (1): Removed.
2238 * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
2239 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2241 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
2244 * testsuite/ld-x86-64/pr18591.d: New file.
2245 * testsuite/ld-x86-64/pr18591.s: Likewise.
2246 * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
2248 2016-02-01 H.J. Lu <hongjiu.lu@intel.com>
2251 * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
2252 * testsuite/ld-elf/pr19553.map: New file.
2253 * testsuite/ld-elf/pr19553.map: Likewise.
2254 * testsuite/ld-elf/pr19553a.c: Likewise.
2255 * testsuite/ld-elf/pr19553b.c: Likewise.
2256 * testsuite/ld-elf/pr19553b.out: Likewise.
2257 * testsuite/ld-elf/pr19553c.c: Likewise.
2258 * testsuite/ld-elf/pr19553c.out: Likewise.
2259 * testsuite/ld-elf/pr19553d.c: Likewise.
2260 * testsuite/ld-elf/pr19553d.out: Likewise.
2262 2016-01-30 H.J. Lu <hongjiu.lu@intel.com>
2265 * testsuite/ld-elf/pr19539.d: New file.
2266 * testsuite/ld-elf/pr19539.s: Likewise.
2267 * testsuite/ld-elf/pr19539.t: Likewise.
2269 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
2272 * configure.ac (compressed_debug_sections): Replace == with =.
2273 * configure: Regenerated.
2275 2016-01-22 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2277 * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
2278 * scripttempl/avrtiny.sc (.noinit): Likewise.
2280 2016-01-21 Nick Clifton <nickc@redhat.com>
2283 * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
2284 the arm-netbsdelf target.
2287 * testsuite/ld-arm/vxworks1-lib.dd: Update for current
2288 disassmebler output.
2289 * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
2290 * testsuite/ld-arm/vxworks1.dd: Likewise.
2291 * testsuite/ld-arm/vxworks1.rd: Likewise.
2292 * testsuite/ld-arm/vxworks1.ld: Set the output format.
2294 2016-01-20 Jiong Wang <jiong.wang@arm.com>
2296 * testsuite/ld-aarch64/farcall-section.d: Delete.
2297 * testsuite/ld-aarch64/farcall-section.s: Delete.
2298 * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
2299 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
2300 * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
2301 * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
2302 * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
2304 2016-01-20 Nick Clifton <nickc@redhat.com>
2307 * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
2308 early for PE based targets.
2309 * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
2310 * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
2312 2016-01-20 Mickael Guene <mickael.guene@st.com>
2314 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
2315 Add 'y' attribute usage.
2316 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
2317 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
2318 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
2320 2016-01-19 Nick Clifton <nickc@redhat.com>
2322 * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
2323 foo@FOO and bar@@FOO.
2325 2016-01-18 Alan Modra <amodra@gmail.com>
2327 * configure: Regenerate.
2329 2016-01-18 Nick Clifton <nickc@redhat.com>
2331 * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
2332 is not configured to support plugins.
2334 * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
2335 but with 16 byte section alignment.
2336 * testsuite/ld-scripts/rgn-at11.d: Use new source file. Reenable
2337 test for MIPS targets.
2339 2016-01-17 Alan Modra <amodra@gmail.com>
2341 * configure: Regenerate.
2343 2016-01-17 Alan Modra <amodra@gmail.com>
2345 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
2346 * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
2347 * testsuite/ld-elf/pr14156a.d: Likewise.
2348 * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
2349 * testsuite/ld-elf/sec64k.exp: Likewise.
2351 2016-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
2353 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
2354 Set address of .foo section when linking.
2355 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
2357 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
2358 output to the above changes.
2360 2016-01-13 Nick Clifton <nickc@redhat.com>
2362 * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
2365 * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
2366 fail for MIPS targets.
2368 * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
2371 2016-01-12 Yury Usishchev <y.usishchev@samsung.com>
2373 * testsuite/ld-arm/arm-elf.exp: New test.
2374 * testsuite/ld-arm/unwind-mix.d: New file.
2375 * testsuite/ld-arm/unwind-mix1.s: New file.
2376 * testsuite/ld-arm/unwind-mix2.s: New file.
2378 2016-01-08 Jiong Wang <jiong.wang@arm.com>
2381 * testsuite/ld-arm/ifunc-3.rd: Update expected result.
2382 * testsuite/ld-arm/ifunc-4.rd: Likewise.
2383 * testsuite/ld-arm/ifunc-9.rd: Likewise.
2384 * testsuite/ld-arm/ifunc-10.rd: Likewise.
2385 * testsuite/ld-arm/ifunc-12.rd: Likewise.
2386 * testsuite/ld-arm/ifunc-13.rd: Likewise.
2388 2016-01-05 Nick Clifton <nickc@redhat.com>
2390 * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
2391 MSP430 hardware multiply address range.
2392 * scripttempl/elf32msp430.sc (__romdatastart): Define.
2393 (__romdatacopysize): Define.
2394 * scripttempl/elf32msp430_3.sc: Likewise.
2396 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
2398 * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
2399 OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
2401 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
2403 * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
2404 messages expected according to MIPS BFD private data merge
2406 * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
2407 * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
2408 * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
2409 * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
2410 * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
2411 * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
2412 * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
2413 * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
2414 * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
2415 * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
2416 * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
2417 * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
2418 * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
2420 2016-01-01 Alan Modra <amodra@gmail.com>
2422 Update year range in copyright notice of all files.
2424 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
2426 Copyright (C) 2016 Free Software Foundation, Inc.
2428 Copying and distribution of this file, with or without modification,
2429 are permitted in any medium without royalty provided the copyright
2430 notice and this notice are preserved.
2436 version-control: never