1 2016-07-16 Alan Modra <amodra@gmail.com>
3 * plugin.c: Don't include libbfd.h. Include plugin-api.h
5 (plugin_object_p): Use bfd_plugin_open_input.
7 2016-07-16 Alan Modra <amodra@gmail.com>
9 * ldlang.c (open_output): Replace bfd_search_for_target with
10 bfd_iterate_over_targets. Localize vars.
12 2016-07-16 Alan Modra <amodra@gmail.com>
14 * ldlang.c: Don't include libbfd.h.
15 * emultempl/nds32elf.em: Likewise.
16 * emultempl/ppc64elf.em: Likewise.
17 * emultempl/ppc32elf.em: Likewise.
19 (params): Update init.
20 (ppc_after_open_output): Use params.pagesize. Don't call bfd_log2.
21 (PARSE_AND_LIST_ARGS_CASES): Use params.pagesize.
22 * emultempl/sh64elf.em: Don't include libbfd.h.
23 (after_allocation): Use ASSERT, not BFD_ASSERT.
24 * emultempl/xtensaelf.em: Don't include libbfd.h.
25 (replace_insn_sec_with_prop_sec): Use xmalloc, not bfd_malloc.
26 * Makefile.am: Update dependencies.
27 * Makefile.in: Regenerate.
29 2016-07-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
30 Nick Clifton <nickc@redhat.com>
32 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Open import
33 library file for writing and initialize implib_bfd field of link_info
35 * emultempl/pe.em (pe_implib_filename): Remove variable declaration.
36 (OPTION_IMPLIB_FILENAME): Remove macro definition.
37 (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
38 (gld_${EMULATION_NAME}_list_options): Likewise.
39 (gld${EMULATION_NAME}_handle_option): Likewise.
40 (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
41 instead of pe_implib_filename.
42 * emultempl/pep.em (pep_implib_filename): Remove variable declaration.
43 (OPTION_IMPLIB_FILENAME): Remove enumerator.
44 (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
45 (gld_${EMULATION_NAME}_list_options): Likewise.
46 (gld${EMULATION_NAME}_handle_option): Likewise.
47 (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
48 instead of pep_implib_filename.
49 * ld.h (args_type): Declare new out_implib_filename field.
50 * ld.texinfo (--out-implib): Move documentation to arch-independent
51 part and rephrase to apply to ELF targets.
52 * ldexp.c (exp_fold_tree_1): Set ldscript_def field to 1 for symbols
53 defined in linker scripts.
54 * ldlex.h (enum option_values): Declare new OPTION_OUT_IMPLIB
56 * lexsup.c (ld_options): Add entry for new --out-implib switch.
57 (parse_args): Handle OPTION_OUT_IMPLIB case.
58 * testsuite/ld-elf/elf.exp (Generate empty import library): New test.
59 (Generate import library): Likewise.
60 * testsuite/ld-elf/implib.s: Likewise.
61 * testsuite/ld-elf/implib.rd: New file.
62 * testsuite/ld-elf/empty-implib.out: Likewise
64 2016-07-15 Nick Clifton <nickc@redhat.com>
66 * testsuite/ld-arc/arc.exp: Always run the sda-relocs test in
69 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
71 * testsuite/ld-mips-elf/mips-elf.exp: Run
72 `branch-absolute-addend', `mips16-branch-absolute',
73 `mips16-branch-absolute-addend' and
74 `micromips-branch-absolute-addend'.
76 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
78 * testsuite/ld-mips-elf/mips16-branch-absolute.d: New test.
79 * testsuite/ld-mips-elf/mips16-branch-absolute-n32.d: New test.
80 * testsuite/ld-mips-elf/mips16-branch-absolute-n64.d: New test.
81 * testsuite/ld-mips-elf/mips16-branch-absolute-addend.d: New
83 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n32.d: New
85 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n64.d: New
87 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
88 from `mips16-branch-absolute' and
89 `mips16-branch-absolute-addend', referred indirectly only.
91 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
93 * testsuite/ld-mips-elf/branch-absolute.d: New test.
94 * testsuite/ld-mips-elf/branch-absolute-n32.d: New test.
95 * testsuite/ld-mips-elf/branch-absolute-n64.d: New test.
96 * testsuite/ld-mips-elf/branch-absolute-addend.d: New test.
97 * testsuite/ld-mips-elf/branch-absolute-addend-n32.d: New test.
98 * testsuite/ld-mips-elf/branch-absolute-addend-n64.d: New test.
99 * testsuite/ld-mips-elf/micromips-branch-absolute.d: New test.
100 * testsuite/ld-mips-elf/micromips-branch-absolute-n32.d: New
102 * testsuite/ld-mips-elf/micromips-branch-absolute-n64.d: New
104 * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d: New
106 * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n32.d:
108 * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n64.d:
110 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
111 from `branch-absolute-addend' and
112 `micromips-branch-absolute-addend', referred indirectly only.
114 2016-07-14 Claudiu Zissulescu <claziss@synopsys.com>
116 * emulparams/arcelf.sh (SDATA_START_SYMBOLS): Add offset.
117 * testsuite/ld-arc/sda-relocs.dd: New file.
118 * testsuite/ld-arc/sda-relocs.ld: Likewise.
119 * testsuite/ld-arc/sda-relocs.rd: Likewise.
120 * testsuite/ld-arc/sda-relocs.s: Likewise.
121 * testsuite/ld-arc/arc.exp: Add SDA tests.
123 2016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
125 * testsuite/ld-arc/nps-1b.err: Update test to handle more
128 2016-07-09 Alan Modra <amodra@gmail.com>
130 * testsuite/ld-powerpc/elfv2exe.d: Update.
132 2016-07-06 James Bowman <james.bowman@ftdichip.com>
134 * scripttempl/ft32.sc (__PMSIZE): Correct __PMSIZE_.
138 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
140 * testsuite/ld-plugin/lto.exp: Add -flto to PR ld/20321 test.
142 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
144 * testsuite/ld-arm/farcall-thumb2-purecode.d: New test result.
145 * testsuite/ld-arm/farcall-thumb2-purecode.s: New test.
146 * testsuite/ld-arm/arm-elf.exp: Run it.
148 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
150 * testsuite/ld-arm/arm_noread.ld: Renamed to ...
151 testsuite/ld-arm/arm_purecode.ld: ... this, and replaced
152 all noread's by purecode.
154 2016-07-05 Jan Beulich <jbeulich@suse.com>
156 * ldexp.c (exp_fold_tree_1): Set linker_def field based on
157 assignment line number.
158 * ldlex.l (lineno): Drop initializer.
159 (<<EOF>>): Set lineno to zero after reaching top of stack.
161 2016-07-04 H.J. Lu <hongjiu.lu@intel.com>
164 * plugin.c (plugin_opt_plugin): Warn and return if plugin has
166 * testsuite/ld-plugin/lto.exp: Run PR ld/20321 test.
167 * testsuite/ld-plugin/pr20321.c: New file.
169 2016-07-04 Nick Clifton <nickc@redhat.com>
171 * scripttempl/ft32.sc (__PMSIZE_): If not defined, set to 256K.
172 (__RAMSIZE): If not defined, set to 64K.
173 (MEMORY): Set the flash region size to __PMSIZE and the ram region
176 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
178 * testsuite/ld-mips-elf/branch-misc-2.d: New test.
179 * testsuite/ld-mips-elf/mips-elf.exp: Run it.
181 2016-07-01 Thomas Preud'homme <thomas.preudhomme@arm.com>
183 * testsuite/ld-arm/arm-elf.exp (Thumb-2 BL): Assemble for ARMv7.
184 (Thumb-2 BL on ARMv6-M): New testcase.
185 * testsuite/ld-arm/thumb2-bl.d: Do not try to match testcase filename.
186 * testsuite/ld-arm/thumb2-bl.s: Do not select architecture.
188 2016-07-01 Tristan Gingold <gingold@adacore.com>
190 * NEWS: Add marker for 2.27.
192 2016-06-28 H.J. Lu <hongjiu.lu@intel.com>
194 * testsuite/ld-gc/gc.exp: Run pr20306 test.
195 * ld-gc/pr20306.c: New file.
196 * ld-gc/pr20306.d: Likewise.
198 2016-06-28 Nick Clifton <nickc@redhat.com>
200 * testsuite/ld-elf/comm-data.exp: Expect comm-data2 test to fail
202 * testsuite/ld-elf/elf.exp: Expect pr14170 and symbolic function
203 tests to fail for bfin.
204 * testsuite/ld-elf/endsym.d: Expect to fail with cr16, crx, dlx,
206 * testsuite/ld-elf/var1.d: Expect to fail with d30v, dlx, ft32 and
208 * testsuite/ld-pe/pe.exp: Expect foreign symbol test to fail for
211 2016-06-28 Nick Clifton <nickc@redhat.com>
213 * testsuite/ld-elf/merge.d: Add m68hc11 to list of targets that
214 expect to fail this test.
215 * testsuite/ld-scripts/overlay-size.d: Skip the entire test for
217 * testsuite/ld-scripts/rgn-at10.d: No longer expect this test to
219 * testsuite/ld-scripts/rgn-at11.d: Likewise.
220 * testsuite/ld-scripts/rgn-at2.d: Likewise.
221 * testsuite/ld-scripts/rgn-at6.d: Likewise.
222 * testsuite/ld-scripts/rgn-at7.d: Likewise.
223 * testsuite/ld-scripts/rgn-at8.d: Likewise.
225 2016-06-28 James Clarke <jrtc27@jrtc27.com>
227 * testsuite/ld-elf/symbolic-func.r: Allow non-zero offsets from
230 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
232 * testsuite/ld-mips-elf/attr-gnu-4-10.d: Match any UNIX OS/ABI.
233 * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise.
234 * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise.
235 * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
237 2016-06-28 Alan Modra <amodra@gmail.com>
240 * testsuite/ld-scripts/pr20302.d: Exclude *-*-*aout.
242 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
244 * testsuite/ld-mips-elf/mips16-branch-2.d: New test.
245 * testsuite/ld-mips-elf/mips16-branch-3.d: New test.
246 * testsuite/ld-mips-elf/mips16-branch-addend-2.d: New test.
247 * testsuite/ld-mips-elf/mips16-branch-addend-3.d: New test.
248 * testsuite/ld-mips-elf/mips16-branch.s: New test source.
249 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
251 2016-06-27 Nick Clifton <nickc@redhat.com>
254 * lexsup.c (set_segment_start): If resetting the start address of
255 a section, remember to generate a new script element as well.
256 * testsuite/ld-scripts/pr20302.d: New test.
257 * testsuite/ld-scripts/scripts.exp: Run the new test.
259 2016-06-24 Alan Modra <amodra@gmail.com>
261 * testsuite/ld-aarch64/aarch64-elf.exp (aarch64_choose_ilp32_emul):
262 Don't error out, always return an emulation.
264 2016-06-24 Dilyan Palauzov <dilyan.palauzov@aegee.org>
265 H.J. Lu <hongjiu.lu@intel.com>
267 * lexsup.c (elf_shlib_list_options): Check DEFAULT_LD_Z_RELRO
268 for -z relro help message.
270 2016-06-22 Maciej W. Rozycki <macro@imgtec.com>
272 * testsuite/ld-mips-elf/undefweak-overflow.d: Use wildcard
275 2016-06-22 Maciej W. Rozycki <macro@imgtec.com>
277 * testsuite/ld-mips-elf/mips-elf.exp: Uniquely identify
278 `undefweak-overflow' tests.
280 2016-06-22 H.J. Lu <hongjiu.lu@intel.com>
283 * NEWS: Mention --enable-relro.
284 * configure.ac: Add --enable-relro.
285 (DEFAULT_LD_Z_RELRO): New. Set by --enable-relro.
286 * configure.tgt (ac_default_ld_z_relro): Default it to 1 for
288 * config.in: Regenerated.
289 * configure: Likewise.
290 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
291 link_info.relro to DEFAULT_LD_Z_RELRO.
292 * testsuite/config/default.exp (ld_elf_shared_opt): New.
293 * testsuite/lib/ld-lib.exp (run_dump_test): Pass
294 $ld_elf_shared_opt to ld for ELF targets with shared object
296 (run_ld_link_tests): Likewise.
298 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
300 * testsuite/ld-mips-elf/mode-change-error-1a.s: Trigger an error
301 twice rather than once.
302 * testsuite/ld-mips-elf/mode-change-error-1.d: Adjust
303 accordingly. Remove the full stop from the end of the message.
305 2016-06-21 Graham Markall <graham.markall@embecosm.com>
307 * testsuite/ld-arc/nps-1a.d: Use -mcpu=arc700 -mnps400.
308 * testsuite/ld-arc/nps-1b.d: Likewise.
310 2016-06-20 H.J. Lu <hongjiu.lu@intel.com>
313 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
315 (lto_run_tests): Likewise.
316 * testsuite/ld-plugin/pr20267a.c: New file.
317 * testsuite/ld-plugin/pr20267b.c: Likewise.
319 2016-06-20 H.J. Lu <hongjiu.lu@intel.com>
320 Alan Modra <amodra@gmail.com>
323 * plugin.c (plugin_notice): Set non_ir_ref on common symbols.
324 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
326 (lto_run_tests): Likewise.
327 * testsuite/ld-plugin/pass.out: New file.
328 * testsuite/ld-plugin/pr20276a.c: Likewise.
329 * testsuite/ld-plugin/pr20276b.c: Likewise.
331 2016-06-18 H.J. Lu <hongjiu.lu@intel.com>
333 * plugin.c (plugin_object_p): Replace bfd_plugin_uknown
334 with bfd_plugin_unknown.
336 2016-06-18 H.J. Lu <hongjiu.lu@intel.com>
339 * testsuite/ld-i386/i386.exp: Run PR ld/20253 tests.
340 * testsuite/ld-i386/no-plt.exp: Likewise.
341 * testsuite/ld-x86-64/no-plt.exp: Likewise.
342 * testsuite/ld-i386/pr13302.d: Remove .rel.plt section.
343 * testsuite/ld-ifunc/ifunc-13-i386.d: Likewise.
344 * testsuite/ld-ifunc/ifunc-13-x86-64.d: Likewise.
345 * testsuite/ld-ifunc/ifunc-15-i386.d: Likewise.
346 * testsuite/ld-ifunc/ifunc-15-x86-64.d: Likewise.
347 * testsuite/ld-x86-64/pr13082-5a.d: Likewise.
348 * testsuite/ld-x86-64/pr13082-5b.d: Likewise.
349 * testsuite/ld-x86-64/pr13082-6a.d: Likewise.
350 * testsuite/ld-x86-64/pr13082-6b.d: Likewise.
351 * testsuite/ld-i386/pr20244-2a.d: Remove .plt section.
352 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
353 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
354 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
355 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
356 * testsuite/ld-i386/pr20244-2b.d: Updated.
357 * testsuite/ld-i386/pr20244-2c.d: Likewise.
358 * testsuite/ld-ifunc/ifunc-18a-i386.d: Likewise.
359 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
360 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
361 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
362 * testsuite/ld-i386/pr20253-1a.c: New file.
363 * testsuite/ld-i386/pr20253-1b.S: Likewise.
364 * testsuite/ld-i386/pr20253-1c.S: Likewise.
365 * testsuite/ld-i386/pr20253-1d.S: Likewise.
366 * testsuite/ld-i386/pr20253-2a.c: Likewise.
367 * testsuite/ld-i386/pr20253-2b.S: Likewise.
368 * testsuite/ld-i386/pr20253-2c.S: Likewise.
369 * testsuite/ld-i386/pr20253-2d.S: Likewise.
370 * testsuite/ld-i386/pr20253-3.d: Likewise.
371 * testsuite/ld-i386/pr20253-3.s: Likewise.
372 * testsuite/ld-i386/pr20253-4.s: Likewise.
373 * testsuite/ld-i386/pr20253-4a.d: Likewise.
374 * testsuite/ld-i386/pr20253-4b.d: Likewise.
375 * testsuite/ld-i386/pr20253-4c.d: Likewise.
376 * testsuite/ld-i386/pr20253-5.d: Likewise.
377 * testsuite/ld-i386/pr20253-5.s: Likewise.
378 * testsuite/ld-ifunc/ifunc-23-x86.s: Likewise.
379 * testsuite/ld-ifunc/ifunc-23a-x86.d: Likewise.
380 * testsuite/ld-ifunc/ifunc-23b-x86.d: Likewise.
381 * testsuite/ld-ifunc/ifunc-23c-x86.d: Likewise.
382 * testsuite/ld-ifunc/ifunc-24-x86.s: Likewise.
383 * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise.
384 * testsuite/ld-ifunc/ifunc-24b-x86.d: Likewise.
385 * testsuite/ld-ifunc/ifunc-24c-x86.d: Likewise.
386 * testsuite/ld-ifunc/ifunc-25-x86.s: Likewise.
387 * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
388 * testsuite/ld-ifunc/ifunc-25b-x86.d: Likewise.
389 * testsuite/ld-ifunc/ifunc-25c-x86.d: Likewise.
390 * testsuite/ld-x86-64/pr20253-1.s: Likewise.
391 * testsuite/ld-x86-64/pr20253-1a.d: Likewise.
392 * testsuite/ld-x86-64/pr20253-1b.d: Likewise.
393 * testsuite/ld-x86-64/pr20253-1c.d: Likewise.
394 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
395 * testsuite/ld-x86-64/pr20253-1e.d: Likewise.
396 * testsuite/ld-x86-64/pr20253-1f.d: Likewise.
397 * testsuite/ld-x86-64/pr20253-1g.d: Likewise.
398 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
399 * testsuite/ld-x86-64/pr20253-1i.d: Likewise.
400 * testsuite/ld-x86-64/pr20253-1j.d: Likewise.
401 * testsuite/ld-x86-64/pr20253-1k.d: Likewise.
402 * testsuite/ld-x86-64/pr20253-1l.d: Likewise.
403 * testsuite/ld-x86-64/pr20253-2a.c: Likewise.
404 * testsuite/ld-x86-64/pr20253-2b.S: Likewise.
405 * testsuite/ld-x86-64/pr20253-2c.S: Likewise.
406 * testsuite/ld-x86-64/pr20253-2d.S: Likewise.
407 * testsuite/ld-x86-64/pr20253-3.d: Likewise.
408 * testsuite/ld-x86-64/pr20253-3.s: Likewise.
409 * testsuite/ld-x86-64/pr20253-4.s: Likewise.
410 * testsuite/ld-x86-64/pr20253-4a.d: Likewise.
411 * testsuite/ld-x86-64/pr20253-4b.d: Likewise.
412 * testsuite/ld-x86-64/pr20253-4c.d: Likewise.
413 * testsuite/ld-x86-64/pr20253-4d.d: Likewise.
414 * testsuite/ld-x86-64/pr20253-4e.d: Likewise.
415 * testsuite/ld-x86-64/pr20253-4f.d: Likewise.
416 * testsuite/ld-x86-64/pr20253-5.s: Likewise.
417 * testsuite/ld-x86-64/pr20253-5a.d: Likewise.
418 * testsuite/ld-x86-64/pr20253-5b.d: Likewise.
419 * testsuite/ld-ifunc/ifunc-18a-i386.d: Remove extra IRELATIVE
421 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
422 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
423 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
424 * testsuite/ld-ifunc/ifunc-18a.s: Fix a typo.
425 * testsuite/ld-x86-64/x86-64.exp: Run pr20253-1 tests.
427 2016-06-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
428 Tony Wang <tony.wang@arm.com>
430 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall M profile):
431 Assemble for ARMv6-M.
432 (Thumb2-Thumb2 farcall M profile): New testcase.
433 * testsuite/ld-arm/farcall-thumb2-thumb2-m.d: New file.
434 * testsuite/ld-arm/jump-reloc-veneers-cond-long-backward.d: Update to
435 reflect the use of Thumb-2 veneers for Thumb-2 capable targets.
436 * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Likewise.
438 2016-06-16 H.J. Lu <hongjiu.lu@intel.com>
440 * testsuite/ld-i386/i386.exp: Run pr19636-2e-nacl.
441 * testsuite/ld-i386/pr19636-2e.d: Skip for NaCl targets.
442 Remove .rel.plt section.
443 * testsuite/ld-i386/pr19636-2e-nacl.d: New file.
445 2016-06-15 H.J. Lu <hongjiu.lu@intel.com>
447 * testsuite/ld-i386/no-plt-check1a.S (check): Test static
449 * testsuite/ld-i386/no-plt-check1b.S (check): Likewise.
450 * testsuite/ld-x86-64/no-plt-check1.S (check): Likewise.
451 * testsuite/ld-i386/no-plt-extern1a.S (func_p): New. Static
453 * testsuite/ld-i386/no-plt-extern1b.S (func_p): Likewise.
454 * testsuite/ld-x86-64/no-plt-extern1.S (func_p): Likewise.
455 * testsuite/ld-i386/no-plt-1a.dd: Updated.
456 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
457 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
458 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
459 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
460 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
461 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
462 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
463 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
464 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
465 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
466 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
467 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
468 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
469 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
470 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
471 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
473 2016-06-14 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
476 * testsuite/ld-avr/avr-prop-6.d: New test.
477 * testsuite/ld-avr/avr-prop-6.s: New test.
479 2016-06-14 Alan Modra <amodra@gmail.com>
481 * ldbuildid.c: Formatting.
482 * ldcref.c: Formatting.
483 * ldctor.c: Formatting.
484 * ldemul.c: Formatting.
485 * ldexp.c: Formatting.
486 * ldfile.c: Formatting.
487 * ldlang.c: Formatting.
488 * ldmain.c: Formatting.
489 * ldwrite.c: Formatting.
491 2016-06-14 Alan Modra <amodra@gmail.com>
493 * ldlang.c: Expand uses of bfd_my_archive.
494 * ldmain.c: Likewise.
495 * ldmisc.c: Likewise.
496 * plugin.c: Likewise.
498 2016-06-14 Alan Modra <amodra@gmail.com>
501 * ldmain.c (add_archive_element): Just print file name of file within
503 * ldmisc.c (vfinfo): Likewise.
504 * plugin.c (plugin_object_p): Open file within thin archives.
505 (plugin_maybe_claim): Expand comment.
507 2016-06-13 H.J. Lu <hongjiu.lu@intel.com>
510 * testsuite/ld-i386/i386.exp: Run pr20244-2a, pr20244-2b,
511 pr20244-2c and pr20244-2d.
512 * testsuite/ld-i386/no-plt.exp: Run pr20244-3a and pr20244-3b.
513 * testsuite/ld-i386/pr20244-2.s: New file.
514 * testsuite/ld-i386/pr20244-2a.d: Likewise.
515 * testsuite/ld-i386/pr20244-2b.d: Likewise.
516 * testsuite/ld-i386/pr20244-2c.d: Likewise.
517 * testsuite/ld-i386/pr20244-2d.d: Likewise.
518 * testsuite/ld-i386/pr20244-3a.c: Likewise.
519 * testsuite/ld-i386/pr20244-3b.S: Likewise.
520 * testsuite/ld-i386/pr20244-3c.S: Likewise.
521 * testsuite/ld-i386/pr20244-3d.S: Likewise.
523 2016-06-13 H.J. Lu <hongjiu.lu@intel.com>
525 * testsuite/ld-i386/i386.exp: Run ifunc-1a and ifunc-1b.
526 * testsuite/ld-i386/ifunc-1a.c: New file.
527 * testsuite/ld-i386/ifunc-1b.S: Likewise.
528 * testsuite/ld-i386/ifunc-1c.S: Likewise.
529 * testsuite/ld-i386/ifunc-1d.S: Likewise.
531 2016-06-13 Cupertino Miranda <cmiranda@synospsy.com>
533 * testsuite/ld-srec/srec.exp: Changed to XFAIL on both little and
534 big endian ARC targets.
536 2016-06-12 H.J. Lu <hongjiu.lu@intel.com>
538 * testsuite/ld-x86-64/libno-plt-1b.dd: Updated for x32.
539 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
540 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
541 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
542 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
543 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
544 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
545 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
546 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
547 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
548 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
549 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
550 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
551 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
552 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
554 2016-06-11 H.J. Lu <hongjiu.lu@intel.com>
557 * testsuite/ld-i386/i386.exp: Run pr20244-1a and pr20244-1b.
558 * testsuite/ld-i386/pr20244-1.s: New file.
559 * testsuite/ld-i386/pr20244-1a.d: Likewise.
560 * testsuite/ld-i386/pr20244-1b.d: Likewise.
561 * testsuite/ld-i386/pr20244-1c.d: Likewise.
563 2016-06-08 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
566 * testsuite/ld-avr/avr-prop-5.d: New.
567 * testsuite/ld-avr/avr-prop-5.s: New.
569 2016-06-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
571 * testsuite/ld-avr/lds-mega.d: New test.
572 * testsuite/ld-avr/lds-mega.s: New test source.
573 * testsuite/ld-avr/lds-tiny.d: New test.
574 * testsuite/ld-avr/lds-tiny.s: New test source.
576 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
578 * testsuite/ld-i386/libno-plt-1b.dd: New file.
579 * testsuite/ld-i386/libno-plt-1b.rd: Likewise.
580 * testsuite/ld-i386/no-plt-1a.dd: Likewise.
581 * testsuite/ld-i386/no-plt-1a.rd: Likewise.
582 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
583 * testsuite/ld-i386/no-plt-1b.rd: Likewise.
584 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
585 * testsuite/ld-i386/no-plt-1c.rd: Likewise.
586 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
587 * testsuite/ld-i386/no-plt-1d.rd: Likewise.
588 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
589 * testsuite/ld-i386/no-plt-1e.rd: Likewise.
590 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
591 * testsuite/ld-i386/no-plt-1f.rd: Likewise.
592 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
593 * testsuite/ld-i386/no-plt-1g.rd: Likewise.
594 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
595 * testsuite/ld-i386/no-plt-1h.rd: Likewise.
596 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
597 * testsuite/ld-i386/no-plt-1i.rd: Likewise.
598 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
599 * testsuite/ld-i386/no-plt-1j.rd: Likewise.
600 * testsuite/ld-i386/no-plt-check1a.S: Likewise.
601 * testsuite/ld-i386/no-plt-check1b.S: Likewise.
602 * testsuite/ld-i386/no-plt-extern1a.S: Likewise.
603 * testsuite/ld-i386/no-plt-extern1b.S: Likewise.
604 * testsuite/ld-i386/no-plt-func1.c: Likewise.
605 * testsuite/ld-i386/no-plt-main1.c: Likewise.
606 * testsuite/ld-i386/no-plt.exp: Likewise.
608 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
610 * testsuite/ld-x86-64/tls.exp (run_cc_link_tests): Update test
613 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
615 * testsuite/ld-i386/i386.exp: Run libtlspic2.so, tlsbin2,
616 tlsgd3, tlsld2, tlsgd4, tlspie3a, tlspie3b and tlspie3c.
617 * testsuite/ld-i386/pass.out: New file.
618 * testsuite/ld-i386/tls-def1.c: Likewise.
619 * testsuite/ld-i386/tls-gd1.S: Likewise.
620 * testsuite/ld-i386/tls-ld1.S: Likewise.
621 * testsuite/ld-i386/tls-main1.c: Likewise.
622 * testsuite/ld-i386/tls.exp: Likewise.
623 * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
624 * testsuite/ld-i386/tlsbin2.dd: Likewise.
625 * testsuite/ld-i386/tlsbin2.rd: Likewise.
626 * testsuite/ld-i386/tlsbin2.sd: Likewise.
627 * testsuite/ld-i386/tlsbin2.td: Likewise.
628 * testsuite/ld-i386/tlsbinpic2.s: Likewise.
629 * testsuite/ld-i386/tlsgd3.dd: Likewise.
630 * testsuite/ld-i386/tlsgd3.s: Likewise.
631 * testsuite/ld-i386/tlsgd4.d: Likewise.
632 * testsuite/ld-i386/tlsgd4.s: Likewise.
633 * testsuite/ld-i386/tlsld2.s: Likewise.
634 * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
635 * testsuite/ld-i386/tlspic2.dd: Likewise.
636 * testsuite/ld-i386/tlspic2.rd: Likewise.
637 * testsuite/ld-i386/tlspic2.sd: Likewise.
638 * testsuite/ld-i386/tlspic2.td: Likewise.
639 * testsuite/ld-i386/tlspic3.s: Likewise.
640 * testsuite/ld-i386/tlspie3.s: Likewise.
641 * testsuite/ld-i386/tlspie3a.d: Likewise.
642 * testsuite/ld-i386/tlspie3b.d: Likewise.
643 * testsuite/ld-i386/tlspie3c.d: Likewise.
645 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
647 * testsuite/ld-x86-64/no-plt-1a.rd: Support any relocation order.
648 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
649 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
650 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
651 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
652 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
653 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
654 * testsuite/ld-x86-64/no-plt.exp: Fix a typo.
656 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
658 * testsuite/ld-x86-64/libno-plt-1b.dd: Likewise.
659 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
660 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
661 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
662 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
663 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
664 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
665 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
666 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
667 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
668 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
669 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
670 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
671 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
672 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
673 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
674 * testsuite/ld-x86-64/no-plt-check1.S: Likewise.
675 * testsuite/ld-x86-64/no-plt.exp: Likewise.
676 * testsuite/ld-x86-64/no-plt-extern1.S: Likewise.
677 * testsuite/ld-x86-64/no-plt-func1.c: Likewise.
678 * testsuite/ld-x86-64/no-plt-main1.c: Likewise.
680 2016-06-07 Maciej W. Rozycki <macro@imgtec.com>
682 * testsuite/ld-elf/init-fini-arrays.d: Remove `ft32-*-*' xfail.
684 2016-06-07 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
686 * testsuite/ld-s390/pltoffset-1.dd: New test.
687 * testsuite/ld-s390/pltoffset-1.ld: New test.
688 * testsuite/ld-s390/pltoffset-1.s: New test.
689 * testsuite/ld-s390/s390.exp: Run new test.
691 2016-06-07 Alan Modra <amodra@gmail.com>
693 * testsuite/ld-powerpc/apuinfo1.s: Delete nop.
694 * testsuite/ld-powerpc/apuinfo-vle2.s: New.
695 * testsuite/ld-powerpc/powerpc.exp: Use apuinfo-vle2.s.
697 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
699 * testsuite/ld-x86-64/pass.out: New file.
700 * testsuite/ld-x86-64/tls-def1.c: Likewise.
701 * testsuite/ld-x86-64/tls-gd1.S: Likewise.
702 * testsuite/ld-x86-64/tls-ld1.S: Likewise.
703 * testsuite/ld-x86-64/tls-main1.c: Likewise.
704 * testsuite/ld-x86-64/tls.exp: Likewise.
705 * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
706 * testsuite/ld-x86-64/tlsbin2.dd: Likewise.
707 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
708 * testsuite/ld-x86-64/tlsbin2.sd: Likewise.
709 * testsuite/ld-x86-64/tlsbin2.td: Likewise.
710 * testsuite/ld-x86-64/tlsbinpic2.s: Likewise.
711 * testsuite/ld-x86-64/tlsgd10.dd: Likewise.
712 * testsuite/ld-x86-64/tlsgd10.s: Likewise.
713 * testsuite/ld-x86-64/tlsgd11.dd: Likewise.
714 * testsuite/ld-x86-64/tlsgd11.s: Likewise.
715 * testsuite/ld-x86-64/tlsgd12.d: Likewise.
716 * testsuite/ld-x86-64/tlsgd12.s: Likewise.
717 * testsuite/ld-x86-64/tlsgd13.d: Likewise.
718 * testsuite/ld-x86-64/tlsgd13.s: Likewise.
719 * testsuite/ld-x86-64/tlsgd14.dd: Likewise.
720 * testsuite/ld-x86-64/tlsgd14.s: Likewise.
721 * testsuite/ld-x86-64/tlsgd5c.s: Likewise.
722 * testsuite/ld-x86-64/tlsgd6c.s: Likewise.
723 * testsuite/ld-x86-64/tlsgd9.dd: Likewise.
724 * testsuite/ld-x86-64/tlsgd9.s: Likewise.
725 * testsuite/ld-x86-64/tlsld4.dd: Likewise.
726 * testsuite/ld-x86-64/tlsld4.s: Likewise.
727 * testsuite/ld-x86-64/tlsld5.dd: Likewise.
728 * testsuite/ld-x86-64/tlsld5.s: Likewise.
729 * testsuite/ld-x86-64/tlsld6.dd: Likewise.
730 * testsuite/ld-x86-64/tlsld6.s: Likewise.
731 * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
732 * testsuite/ld-x86-64/tlspic2.dd: Likewise.
733 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
734 * testsuite/ld-x86-64/tlspic2.sd: Likewise.
735 * testsuite/ld-x86-64/tlspic2.td: Likewise.
736 * testsuite/ld-x86-64/tlspic3.s: Likewise.
737 * testsuite/ld-x86-64/tlspie2.s: Likewise.
738 * testsuite/ld-x86-64/tlspie2a.d: Likewise.
739 * testsuite/ld-x86-64/tlspie2b.d: Likewise.
740 * testsuite/ld-x86-64/tlspie2c.d: Likewise.
741 * testsuite/ld-x86-64/tlsgd5.dd: Updated.
742 * testsuite/ld-x86-64/tlsgd6.dd: Likewise.
743 * testsuite/ld-x86-64/x86-64.exp: Run libtlspic2.so, tlsbin2,
744 tlsgd5b, tlsgd6b, tlsld4, tlsld5, tlsld6, tlsgd9, tlsgd10,
745 tlsgd11, tlsgd14, tlsgd12, tlsgd13, tlspie2a, tlspie2b and
748 2016-06-04 Christian Groessler <chris@groessler.org>
750 * testsuite/ld-z8k/0filler.s: New file.
751 * testsuite/ld-z8k/branch-target.s: New file.
752 * testsuite/ld-z8k/branch-target2.s: New file.
753 * testsuite/ld-z8k/calr-back-8001.d: New file.
754 * testsuite/ld-z8k/calr-back-8002.d: New file.
755 * testsuite/ld-z8k/calr-back-fail-8001.d: New file.
756 * testsuite/ld-z8k/calr-back-fail-8002.d: New file.
757 * testsuite/ld-z8k/calr-forw-8001.d: New file.
758 * testsuite/ld-z8k/calr-forw-8002.d: New file.
759 * testsuite/ld-z8k/calr-forw-fail-8001.d: New file.
760 * testsuite/ld-z8k/calr-forw-fail-8002.d: New file.
761 * testsuite/ld-z8k/calr-opcode.s: New file.
762 * testsuite/ld-z8k/dbjnz-forw-8001.d: New file.
763 * testsuite/ld-z8k/dbjnz-forw-8002.d: New file.
764 * testsuite/ld-z8k/dbjnz-forw-fail-8001.d: New file.
765 * testsuite/ld-z8k/dbjnz-forw-fail-8002.d: New file.
766 * testsuite/ld-z8k/dbjnz-opcode.s: New file.
767 * testsuite/ld-z8k/djnz-back-8001.d: New file.
768 * testsuite/ld-z8k/djnz-back-8002.d: New file.
769 * testsuite/ld-z8k/djnz-back-fail-8001.d: New file.
770 * testsuite/ld-z8k/djnz-back-fail-8002.d: New file.
771 * testsuite/ld-z8k/djnz-forw-8001.d: New file.
772 * testsuite/ld-z8k/djnz-forw-8002.d: New file.
773 * testsuite/ld-z8k/djnz-forw-fail-8001.d: New file.
774 * testsuite/ld-z8k/djnz-forw-fail-8002.d: New file.
775 * testsuite/ld-z8k/djnz-opcode.s: New file.
776 * testsuite/ld-z8k/filler.s: New file.
777 * testsuite/ld-z8k/jr-back-8001.d: New file.
778 * testsuite/ld-z8k/jr-back-8002.d: New file.
779 * testsuite/ld-z8k/jr-back-fail-8001.d: New file.
780 * testsuite/ld-z8k/jr-back-fail-8002.d: New file.
781 * testsuite/ld-z8k/jr-forw-8001.d: New file.
782 * testsuite/ld-z8k/jr-forw-8002.d: New file.
783 * testsuite/ld-z8k/jr-forw-fail-8001.d: New file.
784 * testsuite/ld-z8k/jr-forw-fail-8002.d: New file.
785 * testsuite/ld-z8k/jr-opcode.s: New file.
786 * testsuite/ld-z8k/ldr-back-8001.d: New file.
787 * testsuite/ld-z8k/ldr-back-8002.d: New file.
788 * testsuite/ld-z8k/ldr-back-fail-8001.d: New file.
789 * testsuite/ld-z8k/ldr-back-fail-8002.d: New file.
790 * testsuite/ld-z8k/ldr-forw-8001.d: New file.
791 * testsuite/ld-z8k/ldr-forw-8002.d: New file.
792 * testsuite/ld-z8k/ldr-forw-fail-8001.d: New file.
793 * testsuite/ld-z8k/ldr-forw-fail-8002.d: New file.
794 * testsuite/ld-z8k/ldr-opcode.s: New file.
795 * testsuite/ld-z8k/ldrb-forw-8001.d: New file.
796 * testsuite/ld-z8k/ldrb-forw-8002.d: New file.
797 * testsuite/ld-z8k/ldrb-forw-fail-8001.d: New file.
798 * testsuite/ld-z8k/ldrb-forw-fail-8002.d: New file.
799 * testsuite/ld-z8k/ldrb-opcode.s: New file.
800 * testsuite/ld-z8k/ldrb-opcode2.s: New file.
801 * testsuite/ld-z8k/other-file.s: New file.
802 * testsuite/ld-z8k/reloc.dd: New file.
803 * testsuite/ld-z8k/reloc.ld: New file.
804 * testsuite/ld-z8k/relocseg.dd: New file.
805 * testsuite/ld-z8k/relocseg.ld: New file.
806 * testsuite/ld-z8k/relocseg1.dd: New file.
807 * testsuite/ld-z8k/this-file.s: New file.
808 * testsuite/ld-z8k/z8k.exp: New file.
810 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
812 * testsuite/ld-i386/i386.exp: Assemble gotpc1.o and pr19319b.o
813 with -mrelax-relocations=yes.
814 * testsuite/ld-i386/lea1a.d (as): Add -mrelax-relocations=yes.
815 * testsuite/ld-i386/lea1b.d (as): Likewise.
816 * testsuite/ld-i386/lea1d.d (as): Likewise.
817 * testsuite/ld-i386/lea1e.d (as): Likewise.
818 * testsuite/ld-i386/lea1f.d (as): Likewise.
819 * testsuite/ld-i386/load7.d (as): Likewise.
820 * testsuite/ld-i386/mov1b.d (as): Likewise.
821 * testsuite/ld-i386/pr19175.d (as): Likewise.
822 * testsuite/ld-ifunc/ifunc-13-i386.d (as): Likewise.
823 * testsuite/ld-ifunc/ifunc-21-i386.d (as): Likewise.
824 * testsuite/ld-ifunc/ifunc-22-i386.d (as): Likewise.
825 * testsuite/ld-x86-64/x86-64.exp: Assemble gotpcrel1a.o,
826 gotpcrel1b.o and gotpcrel1c.o with -mrelax-relocations=yes.
828 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
830 * configure.tgt: Replace -uclibc with *.
832 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
834 * testsuite/ld-mips-elf/unaligned-branch.d: New test.
835 * testsuite/ld-mips-elf/unaligned-branch.s: New test source.
836 * testsuite/ld-mips-elf/unaligned-text.s: New test source.
837 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
839 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
841 * testsuite/ld-mips-elf/unaligned-syms.s: Rename to...
842 * testsuite/ld-mips-elf/unaligned-data.s: ... this.
843 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Adjust accordingly.
844 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
845 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Likewise.
846 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
848 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
850 * testsuite/ld-mips-elf/jal-global-overflow-0.d: New test.
851 * testsuite/ld-mips-elf/jal-global-overflow-1.d: New test.
852 * testsuite/ld-mips-elf/jal-local-overflow-0.d: New test.
853 * testsuite/ld-mips-elf/jal-local-overflow-1.d: New test.
854 * testsuite/ld-mips-elf/jal-global-overflow.s: New test source.
855 * testsuite/ld-mips-elf/jal-local-overflow.s: New test source.
856 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
858 2016-05-28 Alan Modra <amodra@gmail.com>
860 * ldmain.c (multiple_definition, multiple_common, add_to_set,
861 constructor_callback, warning_callback, undefined_symbol,
862 reloc_overflow, reloc_dangerous, unattached_reloc): Return void.
863 * emultempl/elf32.em: Adjust callback calls.
865 2016-05-27 Maciej W. Rozycki <macro@imgtec.com>
867 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.d: New test.
868 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: New test.
869 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-0.d: New
871 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d: New
873 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-0.d: New
875 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d: New
877 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.s: New test
879 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.s: New test
881 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
883 2016-05-27 Maciej W. Rozycki <macro@imgtec.com>
885 * testsuite/ld-mips-elf/reloc-local-overflow.d: New test.
886 * testsuite/ld-mips-elf/reloc-local-overflow.s: Source for the
888 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
890 2016-05-26 Maciej W. Rozycki <macro@imgtec.com>
892 * testsuite/ld-mips-elf/unaligned-jalx-0.d: Fold
893 `unaligned-jalx-2' here.
894 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: Fold
895 `unaligned-jalx-mips16-2' here.
896 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: Fold
897 `unaligned-jalx-micromips-2' here.
898 * testsuite/ld-mips-elf/unaligned-jalx-0.s: Update accordingly.
899 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error
901 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
902 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
903 * testsuite/ld-mips-elf/unaligned-jalx-2.d: Remove test.
904 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: Remove test.
905 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: Remove
907 * testsuite/ld-mips-elf/unaligned-jalx-2.s: Remove test source.
908 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Fold
909 `unaligned-lwpc-3' here.
910 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: Update accordingly.
911 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Fold
912 `unaligned-lwpc-2' here.
913 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: Update accordingly.
914 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: Remove test.
915 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: Remove test source.
916 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: Remove test.
917 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: Remove test source.
918 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Fold
919 `unaligned-ldpc-4' here.
920 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: Update accordingly.
921 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Update error
922 message. Fold `unaligned-ldpc-2' and `unaligned-ldpc-3' here.
923 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: Update accordingly.
924 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: Remove test.
925 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: Remove test source.
926 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: Remove test.
927 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: Remove test source.
928 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: Remove test.
929 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: Remove test source.
930 * testsuite/ld-mips-elf/mips-elf.exp: Delete removed tests.
932 2016-05-26 Nick Clifton <nickc@redhat.com>
935 * scripttempl/elf32msp430.sc (.bss): Provide __bssstart and
937 * scripttempl/elf32msp430_3.sc (.bss): Likewise.
939 2016-05-25 Maciej W. Rozycki <macro@imgtec.com>
941 * testsuite/ld-mips-elf/unaligned-jalx-0.d: New test.
942 * testsuite/ld-mips-elf/unaligned-jalx-1.d: New test.
943 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
944 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: New test.
945 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: New test.
946 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: New test.
947 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: New test.
948 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: New test.
949 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: New test.
950 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: New test.
951 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: New test.
952 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: New test.
953 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: New test.
954 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: New test.
955 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: New test.
956 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: New test.
957 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: New test.
958 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: New test.
959 * testsuite/ld-mips-elf/unaligned-jalx-0.s: New test source.
960 * testsuite/ld-mips-elf/unaligned-jalx-1.s: New test source.
961 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
962 * testsuite/ld-mips-elf/unaligned-insn.s: New test source.
963 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: New test source.
964 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: New test source.
965 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: New test source.
966 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: New test source.
967 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: New test source.
968 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: New test source.
969 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: New test source.
970 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: New test source.
971 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: New test source.
972 * testsuite/ld-mips-elf/unaligned-syms.s: New test source.
973 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
975 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
978 * ldmain.c (add_archive_element): Don't claim new IR symbols
979 after all IR symbols have been claimed.
980 * plugin.c (plugin_call_claim_file): Remove no_more_claiming
982 * testsuite/ld-plugin/lto.exp (pr20103): New proc.
983 Run PR ld/20103 tests.
984 * testsuite/ld-plugin/pr20103a.c: New file.
985 * testsuite/ld-plugin/pr20103b.c: Likewise.
986 * testsuite/ld-plugin/pr20103c.c: Likewise.
988 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
990 * testsuite/ld-mips-elf/jalx-local.d: New test.
991 * testsuite/ld-mips-elf/jalx-local-n32.d: New test.
992 * testsuite/ld-mips-elf/jalx-local-n64.d: New test.
993 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
995 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
997 * Makefile.am: Add earmelf_phoenix.c.
998 * Makefile.in: Regenerate.
999 * configure.tgt: Add entry for arm-phoenix.
1000 * emulparams/armelf_phoenix.sh: New file.
1002 2016-05-23 Thomas Preud'homme <thomas.preudhomme@arm.com>
1004 * emultempl/armelf.em (arm_elf_before_allocation): Call
1005 bfd_elf32_arm_keep_private_stub_output_sections before generic
1006 before_allocation function.
1008 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
1010 * testsuite/ld-mips-elf/jalx-addend.d: New test.
1011 * testsuite/ld-mips-elf/jalx-addend-n32.d: New test.
1012 * testsuite/ld-mips-elf/jalx-addend-n64.d: New test.
1013 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1015 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
1018 * testsuite/ld-i386/i386.exp: Run pr20117.
1019 * testsuite/ld-i386/pr19609-1i.d: Updated.
1020 * testsuite/ld-i386/pr20117.d: New file.
1021 * testsuite/ld-i386/pr20117.s: Likewise.
1023 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
1025 * testsuite/ld-elf/compressed1d.d: Removed from notarget.
1026 * testsuite/ld-elf/group8a.d: Likewise.
1027 * testsuite/ld-elf/group8b.d: Likewise.
1028 * testsuite/ld-elf/group9a.d: Likewise.
1029 * testsuite/ld-elf/group9b.d: Likewise.
1030 * testsuite/ld-elf/pr12851.d: Likewise.
1031 * testsuite/ld-elf/pr12975.d: Likewise.
1032 * testsuite/ld-elf/pr13177.d: Likewise.
1033 * testsuite/ld-elf/pr13195.d: Likewise.
1034 * testsuite/ld-elf/pr17615.d: Likewise.
1035 * testsuite/ld-elf/eh-frame-hdr.d: Removed from xfail.
1036 * testsuite/ld-elf/group3b.d: Likewise.
1037 * testsuite/ld-srec/srec.exp: Likewise.
1038 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark ARC
1040 (check_shared_lib_support): Mark ARC as supporting.
1042 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
1044 * emulparams/arcelf.sh: Changed.
1045 * emulparams/arclinux.sh: Likewise.
1046 * scripttempl/arclinux.sc: Moved to a more standard implementation
1049 2016-05-19 Maciej W. Rozycki <macro@imgtec.com>
1051 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Reorder
1052 `ft32-*-*' behind `frv-*-*'.
1054 2016-05-19 Maciej W. Rozycki <macro@imgtec.com>
1056 * configure.tgt: Remove `am34-*-linux*' support.
1058 2016-05-19 Alan Modra <amodra@gmail.com>
1060 * testsuite/ld-scripts/crossref.exp: Remove -mcall-aixdesc hack.
1061 * testsuite/ld-scripts/cross2.t: Tweak .opd and .toc placement.
1062 * testsuite/ld-scripts/cross3.t: Likewise.
1063 * testsuite/ld-scripts/cross4.t: Likewise.
1064 * testsuite/ld-scripts/cross5.t: Likewise.
1065 * testsuite/ld-scripts/cross6.t: Likewise.
1066 * testsuite/ld-scripts/cross7.t: Likewise.
1068 2016-05-19 Alan Modra <amodra@gmail.com>
1070 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Pass in
1071 exe name rather than constructing testname. Fix typo in
1072 sub-test name. Log copying. Use -rpath rather than -R.
1074 2016-05-18 Nick Clifton <nickc@redhat.com>
1076 * scripttempl/ft32.sc: Use fixed constants for memory region
1077 lengths. Include DWARF debug sections.
1078 (.data .bss): Do not assign locations during relocatable links.
1079 * testsuite/ld-elf/compressed1d.d: Skip for FT32.
1080 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
1081 * testsuite/ld-elf/sec64k.exp: Likewise.
1082 * testsuite/ld-elf/init-fini-array.d: XFail for FT32.
1083 * testsuite/ld-elf/merge.d: Likewise.
1084 * testsuite/ld-elf/orphan-region.d: Likewise.
1085 * testsuite/ld-elf/orphan.s: Likewise.
1086 * testsuite/ld-elf/orphan3.d: Likewise.
1087 * testsuite/ld-elf/pr349.d: Likewise.
1088 * testsuite/ld-elf/warn2.d: Likewise.
1089 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Note
1090 that the FT32 does not support shared libraries.
1092 2016-05-17 H.J. Lu <hongjiu.lu@intel.com>
1094 * testsuite/lib/ld-lib.exp (at_least_gcc_version): Check
1097 2016-05-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1099 * scripttempl/avr.sc (text): Place .progmem.data from avr-libc
1101 * scripttempl/avrtiny.sc (text): Likewise.
1103 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
1105 * testsuite/ld-unique/unique.exp: Use `is_elf_format' and
1106 `supports_gnu_unique' to qualify testing.
1108 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
1110 * testsuite/ld-elf/flags1.d: Update the xfail list.
1112 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
1114 * testsuite/ld-elf/flags1.d: Update for `*-*-nacl*' xfail
1117 2016-05-14 H.J. Lu <hongjiu.lu@intel.com>
1120 * testplug2.c (onall_symbols_read): Remove redundant sizeof
1121 on EXPECTED_VIEW_LENGTH.
1122 * testplug4.c (onall_symbols_read): Likewise.
1124 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
1127 * testsuite/ld-x86-64/pr20093-1.d: New file.
1128 * testsuite/ld-x86-64/pr20093-1.s: Likewise.
1129 * testsuite/ld-x86-64/pr20093-2.d: Likewise.
1130 * testsuite/ld-x86-64/pr20093-2.s: Likewise.
1131 * testsuite/ld-x86-64/x86-64.exp: Run pr20093-1 and pr20093-2.
1133 2016-05-13 Alan Modra <amodra@gmail.com>
1135 * testsuite/ld-arm/arm-elf.exp: Adjust for arm-no-rel-plt now passing.
1136 Use different output file name for static app without .rel.plt.
1137 * testsuite/ld-arm/arm-no-rel-plt.ld: Align .rel.dyn and .rela.dyn.
1138 * testsuite/ld-arm/arm-no-rel-plt.out: Delete.
1139 * testsuite/ld-arm/arm-no-rel-plt.r: New.
1140 * testsuite/ld-arm/arm-static-app.d: Don't check file name.
1141 * testsuite/ld-arm/arm-static-app.r: Likewise.
1143 2016-05-12 H.J. Lu <hongjiu.lu@intel.com>
1146 * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug4.la.
1147 (libldtestplug4_la_SOURCES): New.
1148 (libldtestplug4_la_CFLAGS): Likewise.
1149 (libldtestplug4_la_LDFLAGS): Likewise.
1150 * Makefile.in: Regenerated.
1151 * plugin.c (get_symbols): Return resolution based on IR symbol
1152 kinds for symbols defined/referenced only within IR.
1153 * testplug4.c: New file.
1154 * ld/testsuite/ld-plugin/pr20070.d: Likewise.
1155 * ld/testsuite/ld-plugin/pr20070a.c: Likewise.
1156 * ld/testsuite/ld-plugin/pr20070b.c: Likewise.
1157 * testsuite/ld-plugin/plugin.exp (plugin4_name): New.
1158 (plugin4_path): Likewise.
1159 Add a test for ld/20070.
1161 2016-05-11 Alan Modra <amodra@gmail.com>
1163 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
1164 Call elf32_hppa_init_stub_bfd.
1166 2016-05-11 Alan Modra <amodra@gmail.com>
1169 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
1170 * testsuite/ld-powerpc/tlsdll.s: New.
1171 * testsuite/ld-powerpc/tlsdll.ver: New.
1172 * testsuite/ld-powerpc/tlsdll_32.s: New.
1173 * testsuite/ld-powerpc/tlsopt5.d: New.
1174 * testsuite/ld-powerpc/tlsopt5.s: New.
1175 * testsuite/ld-powerpc/tlsopt5_32.d: New.
1176 * testsuite/ld-powerpc/tlsopt5_32.s: New.
1178 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1180 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Use
1181 ARM_GET_SYM_BRANCH_TYPE to get branch type of a symbol.
1183 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1185 * emultempl/armelf.em (elf32_arm_add_stub_section): Add output_section
1186 parameter and rename input_section parameter to after_input_section.
1187 Append input stub section to the output section if after_input_section
1190 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1192 * testsuite/ld-arm/arm-elf.exp (EABI attribute merging 10 (DSP)): New
1194 * testsuite/ld-arm/attr-merge-10b-dsp.s: New file.
1195 * testsuite/ld-arm/attr-merge-10-dsp.attr: Likewise.
1197 2016-05-10 Christophe Lyon <christophe.lyon@linaro.org>
1199 * ld/testsuite/ld-elf/flags1.d (xfail): Remove *-*-nacl*".
1201 2016-05-09 Christophe Monat <christophe.monat@st.com>
1204 * testsuite/ld-arm/arm-elf.exp: Run new stm32l4xx-fix-vldm-dp
1205 tests. Fix misnamed stm32l4xx-fix-all.
1206 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.s: New tests for multiple
1207 loads with DP registers.
1208 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.d: New reference file.
1209 * testsuite/ld-arm/stm32l4xx-fix-vldm.s: Add missing comment.
1210 * testsuite/ld-arm/stm32l4xx-fix-all.s: Add tests for multiple
1211 loads with DP registers.
1212 * testsuite/ld-arm/stm32l4xx-fix-all.d: Update reference.
1214 2016-05-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
1216 * testsuite/ld-elf/flags1.d (readelf): Dump section header instead
1218 (xfail): Remove avr-*-*.
1219 Update regex to check the section flags.
1220 * testsuite/ld-elf/merge.d (xfail): Remove avr-*-*.
1222 2016-05-09 Alan Modra <amodra@gmail.com>
1224 * Makefile.am (ealphavms.c, eelf64_ia64_vms): Correct .em deps.
1225 * Makefile.in: Regenerate.
1227 2016-05-09 Alan Modra <amodra@gmail.com>
1229 * testsuite/ld-scripts/pr14962-2.t: Match .text, not *.text.
1230 * testsuite/ld-scripts/rgn-at5.t: Similarly, .sec not *.sec.
1231 * testsuite/ld-scripts/section-match-1.t: Likewise.
1233 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
1236 * testsuite/ld-elf/pr17550-1.s: New file.
1237 * testsuite/ld-elf/pr17550-2.s: Likewise.
1238 * testsuite/ld-elf/pr17550-3.s: Likewise.
1239 * testsuite/ld-elf/pr17550-4.s: Likewise.
1240 * testsuite/ld-elf/pr17550a.d: Likewise.
1241 * testsuite/ld-elf/pr17550b.d: Likewise.
1242 * testsuite/ld-elf/pr17550c.d: Likewise.
1243 * testsuite/ld-elf/pr17550d.d: Likewise.
1245 2016-05-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1247 * ld/testsuite/ld-srec/srec.exp: Mark test as XFAIL for AVR.
1249 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
1251 * testsuite/ld-i386/i386.exp: Run load7.
1252 * testsuite/ld-i386/load7.d: New file.
1253 * testsuite/ld-i386/load7.map: Likewise.
1254 * testsuite/ld-i386/load7.s: Likewise.
1255 * testsuite/ld-x86-64/load2.d: Likewise.
1256 * testsuite/ld-x86-64/load2.map: Likewise.
1257 * testsuite/ld-x86-64/load2.s: Likewise.
1258 * testsuite/ld-x86-64/x86-64.exp: Run load2.
1260 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
1262 * emulparams/elf_iamcu.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): New.
1263 * emulparams/elf_k1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1265 * emulparams/elf_l1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1268 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
1270 * testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld.
1272 2016-05-04 H.J. Lu <hongjiu.lu@intel.com>
1274 * ldlang.c (init_os): Pass %E to einfo when bfd_section == NULL.
1276 2016-05-04 Maciej W. Rozycki <macro@imgtec.com>
1278 * testsuite/ld-unique/unique.d: New test.
1279 * testsuite/ld-unique/unique.exp: Run the new test. Adjust
1280 messages for compiled tests.
1282 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1284 * testsuite/ld-elf/pr18735.d: Allow other symbols.
1285 * testsuite/ld-elf/sec64k.exp: Skip 64ksec for avr.
1286 * testsuite/ld-gc/pr14265.d: Allow other symbols.
1287 * testsuite/ld-plugin/plugin.exp: Add PR ld/17973 to
1288 plugin_tests only if check_shared_lib_support is true.
1289 * testsuite/ld-selective/selective.exp: Add --section-start
1292 2016-05-03 Maciej W. Rozycki <macro@imgtec.com>
1295 * testsuite/ld-unique/unique.exp: Also run for `mips*-*-*'.
1297 2016-05-03 Jiong Wang <jiong.wang@arm.com>
1299 * emultempl/aarch64elf.em (--no-apply-dynamic-relocs): New option.
1300 * NEWS: Mention --no-apply-dynamic-relocs.
1301 * ld.texinfo (ld and the ARM family): Document
1302 --no-apply-dynamic-relocs.
1303 * testsuite/ld-aarch64/rela-abs-relative.s: New test source.
1304 * testsuite/ld-aarch64/rela-abs-relative.d: New expected result.
1305 * testsuite/ld-aarch64/rela-abs-relative-be.d: Likewise for big-endian.
1306 * estsuite/ld-aarch64/rela-abs-relative-opt.d: Likewise, but enable new
1309 2016-05-03 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1311 * testsuite/ld-elfcomm/elfcomm.exp: Check for shared lib support
1312 before running STT_COMMON tests.
1314 2016-04-29 H.J. Lu <hongjiu.lu@intel.com>
1316 * config/default.exp (NOPIE_CFLAGS): Download source only on
1318 (NOPIE_LDFLAGS): Likewise.
1319 * testsuite/lib/ld-lib.exp (check_lto_available): Likewise.
1320 (check_lto_fat_available): Likewise.
1321 (check_lto_shared_available): Likewise.
1322 (check_ifunc_available): Likewise.
1323 (check_ifunc_attribute_available): Likewise.
1325 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
1327 * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.
1329 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
1332 * testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
1333 (visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
1336 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
1338 * testsuite/ld-elf/compressed1b.d: Pass
1339 --compress-debug-sections=none to ld.
1340 * testsuite/ld-elf/compressed1c.d: Likewise.
1342 2016-04-27 Alan Modra <amodra@gmail.com>
1345 * configure.tgt: Don't use var+=.
1347 2016-04-25 Nick Clifton <nickc@redhat.com>
1350 * configure.tgt: Include big endian PPC64 emulations with little
1351 endian PPC64 targets.
1353 2016-04-25 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1355 * scripttempl/avrtiny.sc (.text): Do not set LMA to zero.
1357 2016-04-21 Nick Clifton <nickc@redhat.com>
1359 * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in
1360 prefernce to _bfd_elf_link_check_relocs. Drop test for ELF
1361 targets. Do not stop the checks when problems are encountered.
1363 2016-04-21 Alan Modra <amodra@gmail.com>
1365 * testsuite/ld-scripts/cross3.t: Add commonly used data
1366 and text section names to output section statements.
1367 * testsuite/ld-scripts/cross4.t: Likewise.
1368 * testsuite/ld-scripts/cross5.t: Likewise.
1369 * testsuite/ld-scripts/cross6.t: Likewise.
1370 * testsuite/ld-scripts/cross7.t: Likewise.
1372 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1374 * ldlang.c (lang_check_relocs): New function.
1375 (lang_process): Call lang_check_relocs after lang_gc_sections.
1376 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
1377 call _bfd_elf_link_check_relocs here.
1379 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1382 * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for
1383 R_386_NONE or R_X86_64_NONE.
1385 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1387 * testsuite/ld-x86-64/pic1.d: New file.
1388 * testsuite/ld-x86-64/pic1.s: Likewise.
1389 * testsuite/ld-x86-64/x86-64.exp: Run pic1.
1391 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1393 * testsuite/ld-x86-64/pie2.d: New file.
1394 * testsuite/ld-x86-64/pie2.s: Likewise.
1395 * testsuite/ld-x86-64/x86-64.exp: Run pie2.
1397 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1400 * testsuite/ld-x86-64/pr19969.d: New file.
1401 * testsuite/ld-x86-64/pr19969a.S: Likewise.
1402 * testsuite/ld-x86-64/pr19969b.S: Likewise.
1403 * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests.
1405 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1407 * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1409 * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1411 * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1413 * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1415 * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1417 * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1419 * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1421 * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1423 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
1424 Set check_relocs_after_open_input to TRUE if
1425 CHECK_RELOCS_AFTER_OPEN_INPUT is yes.
1426 (gld${EMULATION_NAME}_after_open): Call
1427 _bfd_elf_link_check_relocs on all inputs if
1428 check_relocs_after_open_input is TRUE.
1430 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1432 * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
1435 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1437 * emultempl/scoreelf.em: Likewise.
1439 2016-04-19 H.J. Lu <hongjiu.lu@intel.com>
1442 * testsuite/ld-x86-64/pr19719.d: New file.
1443 * testsuite/ld-x86-64/pr19719.s: Likewise.
1444 * testsuite/ld-x86-64/x86-64.exp: Run pr19719.
1446 2016-04-18 Matthew Fortune <matthew.fortune@imgtec.com>
1448 * ld.texinfo: Document NOCROSSREFS_TO script command.
1449 * ldlang.h (struct lang_nocrossrefs): Add onlyfirst field.
1450 (lang_add_nocrossref_to): New prototype.
1451 * ldcref.c (check_local_sym_xref): Use onlyfirst to only look for
1452 symbols defined in the first section.
1453 (check_nocrossref): Likewise.
1454 * ldgram.y (NOCROSSREFS_TO): New script command.
1455 * ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE.
1456 (lang_add_nocrossref_to): New function.
1457 * ldlex.l (NOCROSSREFS_TO): New token.
1458 * NEWS: Mention NOCROSSREFS_TO.
1459 * testsuite/ld-scripts/cross4.t: New file.
1460 * testsuite/ld-scripts/cross5.t: Likewise.
1461 * testsuite/ld-scripts/cross6.t: Likewise.
1462 * testsuite/ld-scripts/cross7.t: Likewise.
1463 * testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO
1466 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
1468 * Makefile.in: Regenerated with automake 1.11.6.
1469 * aclocal.m4: Likewise.
1471 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
1473 * testsuite/ld-arc/arc.exp: New file.
1474 * testsuite/ld-arc/nps-1.s: New file.
1475 * testsuite/ld-arc/nps-1a.d: New file.
1476 * testsuite/ld-arc/nps-1b.d: New file.
1477 * testsuite/ld-arc/nps-1b.err: New file.
1479 2016-04-14 Nick Clifton <nickc@redhat.com>
1482 * testsuite/ld-scripts/script.exp (extract_symbol_test): Add
1483 exceptions for Mingw and Cygwin.
1485 2016-04-13 Andrew Burgess <andrew.burgess@embecosm.com>
1487 * testsuite/lib/ld-lib.exp (run_dump_test): Initialise
1490 2016-04-13 H.J. Lu <hongjiu.lu@intel.com>
1493 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before
1494 tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed
1497 2016-04-11 H.J. Lu <hongjiu.lu@intel.com>
1500 * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
1501 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1502 * testsuite/ld-i386/pr19939.s: New file.
1503 * testsuite/ld-i386/pr19939a.d: Likewise.
1504 * testsuite/ld-i386/pr19939b.d: Likewise.
1505 * testsuite/ld-x86-64/pr19939.s: Likewise.
1506 * testsuite/ld-x86-64/pr19939a.d: Likewise.
1507 * testsuite/ld-x86-64/pr19939b.d: Likewise.
1509 2016-04-09 Oleg Endo <olegendo@gcc.gnu.org>
1511 * emulparams/shelf.sh: Set stack area to 0x3FFFFF00.
1513 2016-04-08 Alan Modra <amodra@gmail.com>
1516 * ldlang.c (maybe_overlays): Delete.
1517 (lang_size_sections_1): Remove code setting maybe_overlays.
1518 (lang_check_section_addresses): Instead detect overlays by
1519 exact match of section VMAs here. Fix memory leak.
1521 2016-04-08 Dan Gisselquist <dgisselq@ieee.org>
1523 * ldlang.c (print_output_section_statement): Show minfo size
1524 in target machine address units.
1525 (print_reloc_statement): Likewise.
1526 (print_padding_statement): Likewise.
1527 (print_data_statement): Likewise. Ensure minimum print_dot
1528 increment of one address unit.
1530 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1532 * emulparams/arc-endianness.sh: Make little endian default choice.
1534 2016-04-07 Nick Clifton <nickc@redhat.com>
1536 * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in
1538 * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise.
1540 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
1542 * emulparams/arc-endianness.sh: New file.
1543 * emulparams/arcebelf.sh: Deleted.
1544 * emulparams/arcebelf_prof.sh: Deleted.
1545 * emulparams/arceblinux.sh: Deleted.
1546 * emulparams/arceblinux_prof.sh: Deleted.
1547 * emulparams/arcelf.sh: Include arc-endinness.sh.
1548 * emulparams/arcelf_prof.sh: Include arc-endinness.sh.
1549 * emulparams/arclinux.sh: Include arc-endinness.sh.
1550 * emulparams/arclinux_prof.sh: Include arc-endinness.sh.
1551 * emulparams/arcv2elf.sh: Include arc-endinness.sh.
1552 * emulparams/arcv2elfx.sh: Include arc-endinness.sh.
1553 * testsuite/ld-elf/compressed1d.d: Update pattern for big and
1554 little endian arc targets.
1555 * testsuite/ld-elf/eh-frame-hdr.d: Likewise.
1556 * testsuite/ld-elf/group1.d: Likewise.
1557 * testsuite/ld-elf/group3b.d: Likewise.
1558 * testsuite/ld-elf/group8a.d: Likewise.
1559 * testsuite/ld-elf/group8b.d: Likewise.
1560 * testsuite/ld-elf/group9a.d: Likewise.
1561 * testsuite/ld-elf/group9b.d: Likewise.
1562 * testsuite/ld-elf/linkonce2.d: Likewise.
1563 * testsuite/ld-elf/pr12851.d: Likewise.
1564 * testsuite/ld-elf/pr12975.d: Likewise.
1565 * testsuite/ld-elf/pr13177.d: Likewise.
1566 * testsuite/ld-elf/pr13195.d: Likewise.
1567 * testsuite/ld-elf/pr17615.d: Likewise.
1568 * testsuite/ld-elf/pr19162.d: Likewise.
1569 * testsuite/ld-elf/sec64k.exp: Likewise.
1570 * testsuite/lib/ld-lib.exp: Likewise.
1572 2016-04-05 Maciej W. Rozycki <macro@imgtec.com>
1575 * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol
1577 * testsuite/ld-cris/tls-e-20a.d: Likewise.
1578 * testsuite/ld-cris/tls-e-21.d: Likewise.
1579 * testsuite/ld-cris/tls-e-23.d: Likewise.
1580 * testsuite/ld-cris/tls-e-80.d: Likewise.
1581 * testsuite/ld-cris/tls-gd-3h.d: Likewise.
1582 * testsuite/ld-cris/tls-leie-19.d: Likewise.
1583 * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test.
1584 * testsuite/ld-mips-elf/export-hidden-ref.sd: New test.
1585 * testsuite/ld-mips-elf/export-internal-ref.sd: New test.
1586 * testsuite/ld-mips-elf/export-protected-ref.sd: New test.
1587 * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source.
1588 * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source.
1589 * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source.
1590 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1592 2016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
1594 * testsuite/ld-discard/extern.d: Removed xfail for ARC.
1595 * testsuite/ld-discard/start.d: Likewise.
1596 * testsuite/ld-discard/static.d: Likewise.
1597 * testsuite/ld-elf/group1.d: Likewise.
1598 * testsuite/ld-elf/group3b.d: Likewise.
1599 * testsuite/ld-elf/orphan-region.d: Likewise.
1600 * testsuite/ld-elf/orphan.d: Likewise.
1601 * testsuite/ld-elf/orphan3.d: Likewise.
1602 * testsuite/ld-elf/pr349.d: Likewise.
1603 * testsuite/ld-elf/warn1.d: Likewise.
1604 * testsuite/ld-elf/warn2.d: Likewise.
1605 * testsuite/ld-elf/warn3.d: Likewise.
1606 * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol
1607 through linker flags.
1608 * testsuite/ld-srec/srec.exp: Set as xfail.
1610 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
1613 * testsuite/ld-i386/pr19827-nacl.rd: New file.
1614 * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
1616 2016-04-04 Nick Clifton <nickc@redhat.com>
1619 * emultempl/pe.em (change_undef): New function. Encapsulates
1620 duplicated code in pe_fixup_stdcalls and adds the newly defined
1621 sym to the gc root list.
1622 (pe_fixup_stdcall): Use the new function.
1623 * pe-dll.c (process_def_file_and_drectve); Add alias of exported
1624 symbol to gc root list.
1626 2016-03-31 Alan Modra <amodra@gmail.com>
1628 * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.
1629 (lang_insert_orphan): Use TO_ADDR in __stop sym calculation.
1630 (print_input_section): Don't use TO_ADDR when printing section
1632 (lang_size_sections_1): Use TO_ADDR in overlay lma calculation.
1633 (lang_size_sections): Use TO_ADDR in relro end calculation.
1635 2016-03-30 Andrew Burgess <andrew.burgess@embecosm.com>
1637 * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return
1638 value from regexp_diff.
1639 * testsuite/ld-elf/orphan-5.l: Fix expected output.
1640 * testsuite/ld-elf/orphan-6.l: Likewise.
1642 2016-03-30 Alan Modra <amodra@gmail.com>
1645 * ldlang.c (maybe_overlays): New static var.
1646 (lang_size_sections_1): Set it here.
1647 (struct check_sec): New.
1648 (sort_sections_by_lma): Adjust for array of structs.
1649 (sort_sections_by_vma): New function.
1650 (lang_check_section_addresses): Check both LMA and VMA for overlap.
1651 * testsuite/ld-scripts/rgn-over7.d: Adjust.
1653 2016-03-30 Alan Modra <amodra@gmail.com>
1655 * ldlang.c (lang_size_sections_1): Correct code detecting a
1656 backward non-overlapping move.
1658 2016-03-30 Alan Modra <amodra@gmail.com>
1660 * ldlang.c (IS_TBSS): New macro, extracted from..
1661 (IGNORE_SECTION): ..here.
1662 (lang_size_sections_1): Use IS_TBSS and IGNORE_SECTION.
1663 (lang_size_sections, lang_do_assignments_1): Use IS_TBSS.
1665 2016-03-22 Nick Clifton <nickc@redhat.com>
1668 * ldlang.c (lang_add_gc_name): New function. Adds the provided
1669 symbol name to the list of gc symbols.
1670 (lang_process): Call lang_add_gc_name with entry_symbol_default if
1671 entry_symbol.name is NULL. Use lang_add_gc_name to add the init
1672 and fini function names.
1673 * pe-dll.c (process_def_file_and_drectve): Add exported names to
1675 * testsuite/ld-pe/pr19803.s: Do not export _testval symbol.
1676 * testsuite/ld-pe/pr19803.d: Tweak expected output.
1678 2016-03-22 Nick Clifton <nickc@redhat.com>
1680 * configure: Regenerate.
1682 2016-03-21 Nick Clifton <nickc@redhat.com>
1684 * emultempl/msp430.em: Replace use of alloca with call to xmalloc.
1685 * plugin.c: Likewise.
1686 * pe-dll.c: Likewise.
1688 2016-03-18 Awson <kyrab@mail.ru>
1691 * scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
1693 * scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.
1695 2016-03-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1697 * ld-avr/gc-section-debugline.d: Relax regex check for CU.
1699 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
1702 * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests.
1703 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1704 * testsuite/ld-i386/pr19827.rd: New file.
1705 * testsuite/ld-i386/pr19827a.S: Likewise.
1706 * testsuite/ld-i386/pr19827b.S: Likewise.
1707 * testsuite/ld-x86-64/pr19827.rd: Likewise.
1708 * testsuite/ld-x86-64/pr19827a.S: Likewise.
1709 * testsuite/ld-x86-64/pr19827b.S: Likewise.
1711 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
1714 * Makefile.am (ELF_X86_DEPS): Add
1715 $(srcdir)/emulparams/reloc_overflow.sh.
1716 * Makefile.in: Regenerated.
1717 * NEWS: Mention -z noreloc-overflow.
1718 * ld.texinfo: Document -z noreloc-overflow.
1719 * emulparams/elf32_x86_64.sh: Source
1720 ${srcdir}/emulparams/reloc_overflow.sh.
1721 * emulparams/elf_x86_64.sh: Likewise.
1722 * emulparams/reloc_overflow.sh: New file.
1723 * testsuite/ld-x86-64/pr19807-1.s: New file.
1724 * testsuite/ld-x86-64/pr19807-1a.d: Likewise.
1725 * testsuite/ld-x86-64/pr19807-1b.d: Likewise.
1726 * testsuite/ld-x86-64/pr19807-2.s: Likewise.
1727 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
1728 * testsuite/ld-x86-64/pr19807-2b.d: Likewise.
1729 * testsuite/ld-x86-64/pr19807-2c.d: Likewise.
1730 * testsuite/ld-x86-64/pr19807-2d.d: Likewise.
1731 * testsuite/ld-x86-64/pr19807-2e.d: Likewise.
1732 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19807 tests.
1734 2016-03-13 H.J. Lu <hongjiu.lu@intel.com>
1737 * testsuite/ld-i386/i386.exp: Run pr19539.
1738 * testsuite/ld-i386/pr19539.d: New file.
1739 * testsuite/ld-i386/pr19539.s: Likewise.
1740 * testsuite/ld-i386/pr19539.t: Likewise.
1741 * testsuite/ld-x86-64/pr19539.s: Likewise.
1742 * testsuite/ld-x86-64/pr19539.t: Likewise.
1743 * testsuite/ld-x86-64/pr19539a.d: Likewise.
1744 * testsuite/ld-x86-64/pr19539b.d: Likewise.
1745 * testsuite/ld-x86-64/x86-64.exp: Run pr19539a and pr19539b.
1747 2016-03-10 Mickael Guene <mickael.guene@st.com>
1750 * testsuite/ld-arm/arm-elf.exp: New tests.
1751 * testsuite/ld-arm/thumb1-adds-armv7-m.s: New.
1752 * testsuite/ld-arm/thumb1-movs-armv7-m.s: New.
1754 2016-03-10 Nick Clifton <nickc@redhat.com>
1756 * scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).
1758 2016-03-09 Pedro Alves <palves@redhat.com>
1760 * scripttempl/v850.sc: Use "v850:old-gcc-abi" as OUTPUT_ARCH.
1761 * scripttempl/v850_rh850.sc: Use "v850:rh850" as OUTPUT_ARCH.
1763 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
1766 * testsuite/ld-elf/pr19789.d: New file.
1767 * testsuite/ld-elf/pr19789.s: Likewise.
1769 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
1772 * testsuite/ld-i386/i386.exp: Remove pr19636-2e-nacl test.
1773 * testsuite/ld-i386/pr19636-2e-nacl.d: Moved to ...
1774 * testsuite/ld-i386/pr19636-2e.d: Here. Remove notarget.
1775 * testsuite/ld-ifunc/ifunc.exp: Run PR ld/19784 tests.
1776 * testsuite/ld-ifunc/pass.out: New file.
1777 * testsuite/ld-ifunc/pr19784a.c: Likewise.
1778 * testsuite/ld-ifunc/pr19784b.c: Likewise.
1779 * testsuite/ld-ifunc/pr19784c.c: Likewise.
1781 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
1784 * testsuite/ld-ifunc/ifunc.exp: Link tmpdir/pr18808a.o before
1785 tmpdir/libpr18808.so. Link tmpdir/pr18841a.o before
1786 tmpdir/libpr18841b.so and tmpdir/libpr18841c.so. Test
1787 --as-needed for pr18841c.
1789 2016-03-07 H.J. Lu <hongjiu.lu@intel.com>
1792 * testsuite/ld-i386/i386.exp: Link tmpdir/pr18900.o before
1793 tmpdir/pr18900.so and test --as-needed. Link tmpdir/gotpc1.o
1794 before tmpdir/got1d.so and test --as-needed.
1795 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr18900.o before
1796 tmpdir/pr18900.so and test --as-needed.
1798 2016-03-07 Jiong Wang <jiong.wang@arm.com>
1800 * testsuite/ld-aarch64/implicit_got_section_1.s: New test source file.
1801 * testsuite/ld-aarch64/implicit_got_section_1.d: New test expected
1803 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
1805 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
1807 * testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o
1808 before tmpdir/copyreloc-lib.so and test --as-needed.
1809 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1811 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
1814 * testsuite/ld-elf/pr19579a.c: New file.
1815 * testsuite/ld-elf/pr19579b.c: Likewise.
1816 * testsuite/ld-elf/shared.exp: Run PR ld/19579 test.
1818 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1820 * testsuite/ld-elf/pr19162.d: Skip hppa-*-*.
1822 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1824 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Add xfails.
1825 Xfail mix_pic_and_non_pic on "arm*-*-*" "aarch64*-*-*".
1827 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1830 * emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other
1831 input sections for relocatable link.
1832 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1833 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1835 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
1838 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
1839 merge flags of other input sections for relocatable link.
1841 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
1843 * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6.
1845 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
1847 * testsuite/ld-elf/pr19162.d: Skip arc target.
1849 2016-02-29 H.J. Lu <hongjiu.lu@intel.com>
1852 * testsuite/ld-elf/pr19162.d: New file.
1853 * testsuite/ld-elf/pr19162a.s: Likwise.
1854 * testsuite/ld-elf/pr19162b.s: Likwise.
1856 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
1858 * testsuite/ld-elf/merge.d: Removed xfail for ARC.
1859 * testsuite/ld-elf/merge2.d: Likewise.
1860 * testsuite/ld-elf/merge3.d: Likewise.
1862 2016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
1864 * scripttempl/arclinux.sc: Force .tdata and .tbss to always be
1867 2016-02-26 Renlin Li <renlin.li@arm.com>
1869 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
1870 * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
1871 * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
1872 * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
1873 * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
1874 * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
1875 * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
1876 * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
1877 * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
1878 * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.
1880 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1883 * testsuite/ld-i386/got1.dd: Updated.
1884 * testsuite/ld-i386/lea1c.d: Likewise.
1885 * testsuite/ld-i386/load1-nacl.d: Likewise.
1886 * testsuite/ld-i386/load1.d: Likewise.
1887 * testsuite/ld-i386/load4b.d: Likewise.
1888 * testsuite/ld-i386/load5b.d: Likewise.
1889 * testsuite/ld-i386/mov1b.d: Likewise.
1890 * testsuite/ld-x86-64/mov1b.d: Likewise.
1891 * testsuite/ld-x86-64/mov1d.d: Likewise.
1892 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
1893 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1894 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
1895 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1896 * testsuite/ld-x86-64/gotpcrel1.dd: Likewise.
1897 * testsuite/ld-x86-64/lea1a.d: Likewise.
1898 * testsuite/ld-x86-64/lea1b.d: Likewise.
1899 * testsuite/ld-x86-64/lea1c.d: Likewise.
1900 * testsuite/ld-x86-64/lea1d.d: Likewise.
1901 * testsuite/ld-x86-64/lea1e.d: Likewise.
1902 * testsuite/ld-x86-64/lea1f.d: Likewise.
1903 * testsuite/ld-x86-64/mov1b.d: Likewise.
1904 * testsuite/ld-x86-64/mov1d.d: Likewise.
1905 * testsuite/ld-x86-64/pr13082-3b.d: Likewise.
1906 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
1907 * testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
1908 * testsuite/ld-i386/pr19609-1.s: New file.
1909 * testsuite/ld-i386/pr19609-1a.d: Likewise.
1910 * testsuite/ld-i386/pr19609-1b.d: Likewise.
1911 * testsuite/ld-i386/pr19609-1c.d: Likewise.
1912 * testsuite/ld-i386/pr19609-1d.d: Likewise.
1913 * testsuite/ld-i386/pr19609-1e.d: Likewise.
1914 * testsuite/ld-i386/pr19609-1f.d: Likewise.
1915 * testsuite/ld-i386/pr19609-1g.d: Likewise.
1916 * testsuite/ld-i386/pr19609-1h.d: Likewise.
1917 * testsuite/ld-i386/pr19609-1i.d: Likewise.
1918 * testsuite/ld-i386/pr19609-2.s: Likewise.
1919 * testsuite/ld-i386/pr19609-2a.d: Likewise.
1920 * testsuite/ld-i386/pr19609-2b.d: Likewise.
1921 * testsuite/ld-i386/pr19609-2c.d: Likewise.
1922 * testsuite/ld-i386/undefweak.s: Likewise.
1923 * testsuite/ld-i386/undefweaka.d: Likewise.
1924 * testsuite/ld-i386/undefweakb.d: Likewise.
1925 * testsuite/ld-x86-64/pr13082-3c.d: Likewise.
1926 * testsuite/ld-x86-64/pr13082-3d.d: Likewise.
1927 * testsuite/ld-x86-64/pr19609-1.s: Likewise.
1928 * testsuite/ld-x86-64/pr19609-1a.d: Likewise.
1929 * testsuite/ld-x86-64/pr19609-1b.d: Likewise.
1930 * testsuite/ld-x86-64/pr19609-1c.d: Likewise.
1931 * testsuite/ld-x86-64/pr19609-1d.d: Likewise.
1932 * testsuite/ld-x86-64/pr19609-1e.d: Likewise.
1933 * testsuite/ld-x86-64/pr19609-1f.d: Likewise.
1934 * testsuite/ld-x86-64/pr19609-1g.d: Likewise.
1935 * testsuite/ld-x86-64/pr19609-1h.d: Likewise.
1936 * testsuite/ld-x86-64/pr19609-1i.d: Likewise.
1937 * testsuite/ld-x86-64/pr19609-1j.d: Likewise.
1938 * testsuite/ld-x86-64/pr19609-1k.d: Likewise.
1939 * testsuite/ld-x86-64/pr19609-1l.d: Likewise.
1940 * testsuite/ld-x86-64/pr19609-1m.d: Likewise.
1941 * testsuite/ld-x86-64/pr19609-2.s: Likewise.
1942 * testsuite/ld-x86-64/pr19609-2a.d: Likewise.
1943 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
1944 * testsuite/ld-x86-64/pr19609-2c.d: Likewise.
1945 * testsuite/ld-x86-64/pr19609-2d.d: Likewise.
1946 * testsuite/ld-x86-64/pr19609-3.s: Likewise.
1947 * testsuite/ld-x86-64/pr19609-3a.d: Likewise.
1948 * testsuite/ld-x86-64/pr19609-3b.d: Likewise.
1949 * testsuite/ld-x86-64/pr19609-4.s: Likewise.
1950 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
1951 * testsuite/ld-x86-64/pr19609-4b.d: Likewise.
1952 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
1953 * testsuite/ld-x86-64/pr19609-4d.d: Likewise.
1954 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
1955 * testsuite/ld-x86-64/pr19609-5.s: Likewise.
1956 * testsuite/ld-x86-64/pr19609-5a.d: Likewise.
1957 * testsuite/ld-x86-64/pr19609-5b.d: Likewise.
1958 * testsuite/ld-x86-64/pr19609-5c.d: Likewise.
1959 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
1960 * testsuite/ld-x86-64/pr19609-5e.d: Likewise.
1961 * testsuite/ld-x86-64/pr19609-6.s: Likewise.
1962 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
1963 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
1964 * testsuite/ld-x86-64/pr19609-6c.d: Likewise.
1965 * testsuite/ld-x86-64/pr19609-6d.d: Likewise.
1966 * testsuite/ld-x86-64/pr19609-7.s: Likewise.
1967 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
1968 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
1969 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
1970 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
1971 * testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
1973 * testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
1974 and tests for PR ld/19609.
1976 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1979 * NEWS: Mention -z common/-z nocommon for ELF targets.
1980 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
1981 -z common and -z nocommon.
1982 * ld.texinfo: Document -z common/-z nocommon.
1983 * lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
1984 * testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
1985 --elf-stt-common=yes with assembler.
1986 * testsuite/ld-elfcomm/common-1.s: New file.
1987 * testsuite/ld-elfcomm/common-1a.d: Likewise.
1988 * testsuite/ld-elfcomm/common-1b.d: Likewise.
1989 * testsuite/ld-elfcomm/common-1c.d: Likewise.
1990 * testsuite/ld-elfcomm/common-1d.d: Likewise.
1991 * testsuite/ld-elfcomm/common-1e.d: Likewise.
1992 * testsuite/ld-elfcomm/common-1f.d: Likewise.
1993 * testsuite/ld-elfcomm/common-2.s: Likewise.
1994 * testsuite/ld-elfcomm/common-2a.d: Likewise.
1995 * testsuite/ld-elfcomm/common-2b.d: Likewise.
1996 * testsuite/ld-elfcomm/common-2c.d: Likewise.
1997 * testsuite/ld-elfcomm/common-2d.d: Likewise.
1998 * testsuite/ld-elfcomm/common-2e.d: Likewise.
1999 * testsuite/ld-elfcomm/common-2f.d: Likewise.
2000 * testsuite/ld-elfcomm/common-3a.rd: Likewise.
2001 * testsuite/ld-elfcomm/common-3b.rd: Likewise.
2002 * testsuite/ld-i386/pr19645.d: Likewise.
2003 * testsuite/ld-i386/pr19645.s: Likewise.
2004 * testsuite/ld-x86-64/largecomm-1.s: Likewise.
2005 * testsuite/ld-x86-64/largecomm-1a.d: Likewise.
2006 * testsuite/ld-x86-64/largecomm-1b.d: Likewise.
2007 * testsuite/ld-x86-64/largecomm-1c.d: Likewise.
2008 * testsuite/ld-x86-64/largecomm-1d.d: Likewise.
2009 * testsuite/ld-x86-64/largecomm-1e.d: Likewise.
2010 * testsuite/ld-x86-64/largecomm-1f.d: Likewise.
2011 * testsuite/ld-x86-64/pr19645.d: Likewise.
2012 * testsuite/ld-x86-64/pr19645.s: Likewise.
2013 * testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
2015 (assembler_generates_commons): Removed.
2016 Run -z common/-z nocommon tests. Run *.d tests.
2017 * testsuite/ld-i386/i386.exp: Run pr19645.
2018 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2019 * testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
2020 assembler. Test STT_COMMON with readelf.
2022 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
2027 * Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh.
2028 * Makefile.in: Regenerated.
2029 * NEWS: Mention -z nodynamic-undefined-weak.
2030 * ld.texinfo: Document -z nodynamic-undefined-weak.
2031 * ldmain.c (main): Initialize dynamic_undefined_weak to -1.
2032 * emulparams/dynamic_undefined_weak.sh: New file.
2033 * emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh.
2034 * emulparams/elf_i386.sh: Likewise.
2035 * emulparams/elf_i386_be.sh: Likewise.
2036 * emulparams/elf_i386_chaos.sh: Likewise.
2037 * emulparams/elf_i386_ldso.sh: Likewise.
2038 * emulparams/elf_i386_vxworks.sh: Likewise.
2039 * emulparams/elf_iamcu.sh: Likewise.
2040 * emulparams/elf_k1om.sh: Likewise.
2041 * emulparams/elf_l1om.sh: Likewise.
2042 * emulparams/elf_x86_64.sh: Likewise.
2043 * emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS):
2045 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
2046 * testsuite/ld-elf/pr19719a.c: New file.
2047 * testsuite/ld-elf/pr19719b.c: Likewise.
2048 * testsuite/ld-elf/pr19719c.c: Likewise.
2049 * testsuite/ld-elf/pr19719d.c: Likewise.
2050 * testsuite/ld-i386/pr19636-1.s: Likewise.
2051 * testsuite/ld-i386/pr19636-1a.d: Likewise.
2052 * testsuite/ld-i386/pr19636-1b.d: Likewise.
2053 * testsuite/ld-i386/pr19636-1c.d: Likewise.
2054 * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
2055 * testsuite/ld-i386/pr19636-1d.d: Likewise.
2056 * testsuite/ld-i386/pr19636-1e.d: Likewise.
2057 * testsuite/ld-i386/pr19636-1f.d: Likewise.
2058 * testsuite/ld-i386/pr19636-1g.d: Likewise.
2059 * testsuite/ld-i386/pr19636-1h.d: Likewise.
2060 * testsuite/ld-i386/pr19636-1i.d: Likewise.
2061 * testsuite/ld-i386/pr19636-2.s: Likewise.
2062 * testsuite/ld-i386/pr19636-2a.d: Likewise.
2063 * testsuite/ld-i386/pr19636-2b.d: Likewise.
2064 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
2065 * testsuite/ld-i386/pr19636-2c.d: Likewise.
2066 * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
2067 * testsuite/ld-i386/pr19636-2d.d: Likewise.
2068 * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
2069 * testsuite/ld-i386/pr19636-2e.d: Likewise.
2070 * testsuite/ld-i386/pr19636-3.s: Likewise.
2071 * testsuite/ld-i386/pr19636-3a.d: Likewise.
2072 * testsuite/ld-i386/pr19636-3b.d: Likewise.
2073 * testsuite/ld-i386/pr19636-3c.d: Likewise.
2074 * testsuite/ld-i386/pr19636-3d.d: Likewise.
2075 * testsuite/ld-i386/pr19636-3e.d: Likewise.
2076 * testsuite/ld-i386/pr19636-3f.d: Likewise.
2077 * testsuite/ld-i386/pr19636-3g.d: Likewise.
2078 * testsuite/ld-i386/pr19636-4.s: Likewise.
2079 * testsuite/ld-i386/pr19636-4a.d: Likewise.
2080 * testsuite/ld-i386/pr19636-4b.d: Likewise.
2081 * testsuite/ld-i386/pr19636-4c.d: Likewise.
2082 * testsuite/ld-i386/pr19636-4d.d: Likewise.
2083 * testsuite/ld-i386/pr19704.out: Likewise.
2084 * testsuite/ld-i386/pr19704a.c: Likewise.
2085 * testsuite/ld-i386/pr19704b.c: Likewise.
2086 * testsuite/ld-x86-64/pr19636-1.s: Likewise.
2087 * testsuite/ld-x86-64/pr19636-1a.d: Likewise.
2088 * testsuite/ld-x86-64/pr19636-1b.d: Likewise.
2089 * testsuite/ld-x86-64/pr19636-1c.d: Likewise.
2090 * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
2091 * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
2092 * testsuite/ld-x86-64/pr19636-1f.d: Likewise.
2093 * testsuite/ld-x86-64/pr19636-1g.d: Likewise.
2094 * testsuite/ld-x86-64/pr19636-2.s: Likewise.
2095 * testsuite/ld-x86-64/pr19636-2a.d: Likewise.
2096 * testsuite/ld-x86-64/pr19636-2b.d: Likewise.
2097 * testsuite/ld-x86-64/pr19636-2c.d: Likewise.
2098 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
2099 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
2100 * testsuite/ld-x86-64/pr19636-2e.d: Likewise.
2101 * testsuite/ld-x86-64/pr19636-2f.d: Likewise.
2102 * testsuite/ld-x86-64/pr19636-2g.d: Likewise.
2103 * testsuite/ld-x86-64/pr19636-2h.d: Likewise.
2104 * testsuite/ld-x86-64/pr19636-2i.d: Likewise.
2105 * testsuite/ld-x86-64/pr19636-3.s: Likewise.
2106 * testsuite/ld-x86-64/pr19636-3a.d: Likewise.
2107 * testsuite/ld-x86-64/pr19636-3b.d: Likewise.
2108 * testsuite/ld-x86-64/pr19636-3c.d: Likewise.
2109 * testsuite/ld-x86-64/pr19636-3d.d: Likewise.
2110 * testsuite/ld-x86-64/pr19704.out: Likewise.
2111 * testsuite/ld-x86-64/pr19704a.c: Likewise.
2112 * testsuite/ld-x86-64/pr19704b.c: Likewise.
2113 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New.
2114 Run mix_pic_and_non_pic.
2115 * testsuite/ld-i386/i386.exp (undefined_weak): New.
2116 Run undefined_weak and PR ld/19636 tests.
2117 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2118 * testsuite/ld-x86-64/pr13082-3b.d: Updated.
2119 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
2121 2016-02-25 Nick Clifton <nickc@redhat.com>
2123 * ld.h (struct ld_config_type): Remove specified_data_size field.
2125 2016-02-24 H.J. Lu <hongjiu.lu@intel.com>
2128 * testsuite/ld-elf/pr19698.d: New file.
2129 * testsuite/ld-elf/pr19698.s: Likewise.
2130 * testsuite/ld-elf/pr19698.t: Likewise.
2132 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
2134 * Makefile.am (ELF_X86_DEPS): New.
2135 (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS).
2136 (eelf_i386_chaos.c): Likewise.
2137 (eelf_i386_fbsd.c): Likewise.
2138 (eelf_i386_ldso.c): Likewise.
2139 (eelf_i386_nacl.c): Likewise.
2140 (eelf_i386_sol2.c): Likewise.
2141 (eelf_iamcu.c): Likewise.
2142 (eelf32_x86_64.c): Likewise.
2143 (eelf32_x86_64_nacl.c): Likewise.
2144 (eelf_l1om.c): Likewise.
2145 (eelf_l1om_fbsd.c): Likewise.
2146 (eelf_k1om.c): Likewise.
2147 (eelf_k1om_fbsd.c): Likewise.
2148 (eelf_x86_64.c): Likewise.
2149 (eelf_x86_64_cloudabi.c): Likewise.
2150 (eelf_x86_64_fbsd.c): Likewise.
2151 (eelf_x86_64_sol2.c): Likewise.
2152 * Makefile.in: Regenerated.
2154 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
2156 * testsuite/ld-frv/fdpic-pie-6.d: Updated.
2157 * testsuite/ld-mips-elf/pie-n32.d: Likewise.
2158 * testsuite/ld-mips-elf/pie-n64.d: Likewise.
2159 * testsuite/ld-mips-elf/pie-o32.d: Likewise.
2161 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
2163 * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
2165 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
2167 * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
2168 *-*-gnu* and *-*-solaris*.
2169 * testsuite/ld-elf/pr19617b.d: Likewise.
2170 * testsuite/ld-elf/pr19617c.d: Likewise.
2172 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
2175 * testsuite/ld-elf/pr19617.s: New file.
2176 * testsuite/ld-elf/pr19617a.d: Likewise.
2177 * testsuite/ld-elf/pr19617b.d: Likewise.
2178 * testsuite/ld-elf/pr19617c.d: Likewise.
2180 2016-02-18 Nick Clifton <nickc@redhat.com>
2182 * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
2183 in-tree xg++ executable after checking for the presence of an
2184 in-tree g++ executable.
2185 * Makefile.in: Regenerate.
2187 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
2189 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
2190 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
2191 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
2193 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
2195 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
2196 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
2197 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
2198 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
2199 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
2200 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
2201 * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
2202 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
2203 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
2204 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
2205 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
2206 * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
2207 * testsuite/ld-x86-64/load1c.d: Likewise.
2208 * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
2209 * testsuite/ld-x86-64/load1d.d: Likewise.
2210 * testsuite/ld-x86-64/pr14207.d: Likewise.
2211 * testsuite/ld-x86-64/pr19162.d: Likewise.
2212 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
2213 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
2214 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
2215 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
2216 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
2217 * testsuite/ld-x86-64/tlspic.rd: Likewise.
2219 2016-02-17 Nick Clifton <nickc@redhat.com>
2221 * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
2223 2016-02-15 Nick Clifton <nickc@redhat.com>
2225 * testsuite/ld-i386/pr12718.d: Remove dependency upon the
2226 description of the flags produced by readelf.
2227 * testsuite/ld-i386/pr12921.d: Likewise.
2228 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
2229 * testsuite/ld-i386/tlsbin.rd: Likewise.
2230 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
2231 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
2232 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
2233 * testsuite/ld-i386/tlsdesc.rd: Likewise.
2234 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
2235 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
2236 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
2237 * testsuite/ld-i386/tlsnopic.rd: Likewise.
2238 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
2239 * testsuite/ld-i386/tlspic.rd: Likewise.
2240 * testsuite/ld-s390/tlsbin.rd: Likewise.
2241 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
2242 * testsuite/ld-s390/tlspic.rd: Likewise.
2243 * testsuite/ld-s390/tlspic_64.rd: Likewise.
2244 * testsuite/ld-sh/tlsbin-2.d: Likewise.
2245 * testsuite/ld-sh/tlspic-2.d: Likewise.
2246 * testsuite/ld-tic6x/common.d: Likewise.
2247 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
2248 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
2249 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
2250 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
2251 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
2252 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
2253 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
2254 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
2255 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
2256 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
2257 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
2258 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
2259 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
2260 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
2261 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
2262 * testsuite/ld-x86-64/pr12718.d: Likewise.
2263 * testsuite/ld-x86-64/pr12921.d: Likewise.
2264 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
2265 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
2266 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
2267 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
2268 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
2269 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
2270 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
2271 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
2272 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
2273 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
2274 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
2275 * testsuite/ld-x86-64/tlspic.rd: Likewise.
2276 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
2277 * testsuite/ld-xtensa/tlspic.rd: Likewise.
2279 2016-02-11 H.J. Lu <hongjiu.lu@intel.com>
2282 * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
2284 * lexsup.c (parse_args): Enable -Bsymbolic and
2285 -Bsymbolic-functions for PIE.
2286 * testsuite/ld-i386/i386.exp: Run pr19615.
2287 * testsuite/ld-i386/pr19615.d: New file.
2288 * testsuite/ld-i386/pr19615.s: Likewise.
2289 * testsuite/ld-x86-64/pr19615.d: Likewise.
2290 * testsuite/ld-x86-64/pr19615.s: Likewise.
2292 2016-02-09 Nick Clifton <nickc@redhat.com>
2294 * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
2295 * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
2296 * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
2297 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
2299 2016-02-04 Nick Clifton <nickc@redhat.com>
2301 * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
2302 * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
2303 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
2304 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
2305 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
2306 * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
2307 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
2308 * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
2309 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
2311 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2314 * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
2315 * testsuite/ld-i386/call1.d: Likewise.
2316 * testsuite/ld-i386/call2.d: Likewise.
2317 * testsuite/ld-i386/call3a.d: Likewise.
2318 * testsuite/ld-i386/call3b.d: Likewise.
2319 * testsuite/ld-i386/call3c.d: Likewise.
2320 * testsuite/ld-i386/call3d.d: Likewise.
2321 * testsuite/ld-i386/call3e.d: Likewise.
2322 * testsuite/ld-i386/call3f.d: Likewise.
2323 * testsuite/ld-i386/call3g.d: Likewise.
2324 * testsuite/ld-i386/call3h.d: Likewise.
2325 * testsuite/ld-i386/jmp1.d: Likewise.
2326 * testsuite/ld-i386/jmp2.d: Likewise.
2327 * testsuite/ld-i386/lea1c.d: Likewise.
2328 * testsuite/ld-i386/load1.d: Likewise.
2329 * testsuite/ld-i386/load2.d: Likewise.
2330 * testsuite/ld-i386/load3.d: Likewise.
2331 * testsuite/ld-i386/load4a.d: Likewise.
2332 * testsuite/ld-i386/load5a.d: Likewise.
2333 * testsuite/ld-i386/mov2b.d: Likewise.
2334 * testsuite/ld-i386/mov3.d: Likewise.
2335 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
2336 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
2337 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
2338 * testsuite/ld-x86-64/call1a.d: Likewise.
2339 * testsuite/ld-x86-64/call1b.d: Likewise.
2340 * testsuite/ld-x86-64/call1c.d: Likewise.
2341 * testsuite/ld-x86-64/call1d.d: Likewise.
2342 * testsuite/ld-x86-64/call1e.d: Likewise.
2343 * testsuite/ld-x86-64/call1f.d: Likewise.
2344 * testsuite/ld-x86-64/call1h.d: Likewise.
2345 * testsuite/ld-x86-64/call1i.d: Likewise.
2346 * testsuite/ld-x86-64/load1a.d: Likewise.
2347 * testsuite/ld-x86-64/load1b.d: Likewise.
2348 * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
2349 * testsuite/ld-i386/got1.dd: Updated.
2350 * testsuite/ld-i386/got1d.S (1): Removed.
2351 * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
2352 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2354 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
2357 * testsuite/ld-x86-64/pr18591.d: New file.
2358 * testsuite/ld-x86-64/pr18591.s: Likewise.
2359 * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
2361 2016-02-01 H.J. Lu <hongjiu.lu@intel.com>
2364 * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
2365 * testsuite/ld-elf/pr19553.map: New file.
2366 * testsuite/ld-elf/pr19553.map: Likewise.
2367 * testsuite/ld-elf/pr19553a.c: Likewise.
2368 * testsuite/ld-elf/pr19553b.c: Likewise.
2369 * testsuite/ld-elf/pr19553b.out: Likewise.
2370 * testsuite/ld-elf/pr19553c.c: Likewise.
2371 * testsuite/ld-elf/pr19553c.out: Likewise.
2372 * testsuite/ld-elf/pr19553d.c: Likewise.
2373 * testsuite/ld-elf/pr19553d.out: Likewise.
2375 2016-01-30 H.J. Lu <hongjiu.lu@intel.com>
2378 * testsuite/ld-elf/pr19539.d: New file.
2379 * testsuite/ld-elf/pr19539.s: Likewise.
2380 * testsuite/ld-elf/pr19539.t: Likewise.
2382 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
2385 * configure.ac (compressed_debug_sections): Replace == with =.
2386 * configure: Regenerated.
2388 2016-01-22 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2390 * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
2391 * scripttempl/avrtiny.sc (.noinit): Likewise.
2393 2016-01-21 Nick Clifton <nickc@redhat.com>
2396 * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
2397 the arm-netbsdelf target.
2400 * testsuite/ld-arm/vxworks1-lib.dd: Update for current
2401 disassmebler output.
2402 * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
2403 * testsuite/ld-arm/vxworks1.dd: Likewise.
2404 * testsuite/ld-arm/vxworks1.rd: Likewise.
2405 * testsuite/ld-arm/vxworks1.ld: Set the output format.
2407 2016-01-20 Jiong Wang <jiong.wang@arm.com>
2409 * testsuite/ld-aarch64/farcall-section.d: Delete.
2410 * testsuite/ld-aarch64/farcall-section.s: Delete.
2411 * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
2412 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
2413 * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
2414 * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
2415 * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
2417 2016-01-20 Nick Clifton <nickc@redhat.com>
2420 * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
2421 early for PE based targets.
2422 * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
2423 * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
2425 2016-01-20 Mickael Guene <mickael.guene@st.com>
2427 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
2428 Add 'y' attribute usage.
2429 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
2430 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
2431 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
2433 2016-01-19 Nick Clifton <nickc@redhat.com>
2435 * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
2436 foo@FOO and bar@@FOO.
2438 2016-01-18 Alan Modra <amodra@gmail.com>
2440 * configure: Regenerate.
2442 2016-01-18 Nick Clifton <nickc@redhat.com>
2444 * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
2445 is not configured to support plugins.
2447 * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
2448 but with 16 byte section alignment.
2449 * testsuite/ld-scripts/rgn-at11.d: Use new source file. Reenable
2450 test for MIPS targets.
2452 2016-01-17 Alan Modra <amodra@gmail.com>
2454 * configure: Regenerate.
2456 2016-01-17 Alan Modra <amodra@gmail.com>
2458 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
2459 * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
2460 * testsuite/ld-elf/pr14156a.d: Likewise.
2461 * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
2462 * testsuite/ld-elf/sec64k.exp: Likewise.
2464 2016-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
2466 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
2467 Set address of .foo section when linking.
2468 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
2470 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
2471 output to the above changes.
2473 2016-01-13 Nick Clifton <nickc@redhat.com>
2475 * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
2478 * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
2479 fail for MIPS targets.
2481 * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
2484 2016-01-12 Yury Usishchev <y.usishchev@samsung.com>
2486 * testsuite/ld-arm/arm-elf.exp: New test.
2487 * testsuite/ld-arm/unwind-mix.d: New file.
2488 * testsuite/ld-arm/unwind-mix1.s: New file.
2489 * testsuite/ld-arm/unwind-mix2.s: New file.
2491 2016-01-08 Jiong Wang <jiong.wang@arm.com>
2494 * testsuite/ld-arm/ifunc-3.rd: Update expected result.
2495 * testsuite/ld-arm/ifunc-4.rd: Likewise.
2496 * testsuite/ld-arm/ifunc-9.rd: Likewise.
2497 * testsuite/ld-arm/ifunc-10.rd: Likewise.
2498 * testsuite/ld-arm/ifunc-12.rd: Likewise.
2499 * testsuite/ld-arm/ifunc-13.rd: Likewise.
2501 2016-01-05 Nick Clifton <nickc@redhat.com>
2503 * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
2504 MSP430 hardware multiply address range.
2505 * scripttempl/elf32msp430.sc (__romdatastart): Define.
2506 (__romdatacopysize): Define.
2507 * scripttempl/elf32msp430_3.sc: Likewise.
2509 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
2511 * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
2512 OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
2514 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
2516 * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
2517 messages expected according to MIPS BFD private data merge
2519 * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
2520 * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
2521 * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
2522 * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
2523 * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
2524 * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
2525 * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
2526 * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
2527 * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
2528 * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
2529 * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
2530 * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
2531 * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
2533 2016-01-01 Alan Modra <amodra@gmail.com>
2535 Update year range in copyright notice of all files.
2537 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
2539 Copyright (C) 2016 Free Software Foundation, Inc.
2541 Copying and distribution of this file, with or without modification,
2542 are permitted in any medium without royalty provided the copyright
2543 notice and this notice are preserved.
2549 version-control: never