1 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
3 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error message
5 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: Likewise.
6 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d:
8 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d:
10 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
11 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
12 * testsuite/ld-mips-elf/undefweak-overflow.s: Add jumps,
13 microMIPS BAL and MIPS16 instructions.
14 * testsuite/ld-mips-elf/undefweak-overflow.d: Update
16 * testsuite/ld-mips-elf/unaligned-branch-2.d: New test.
17 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: New test.
18 * testsuite/ld-mips-elf/unaligned-branch-r6-2.d: New test.
19 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: New test.
20 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: New test.
21 * testsuite/ld-mips-elf/unaligned-jump-mips16.d: New test.
22 * testsuite/ld-mips-elf/unaligned-jump-micromips.d: New test.
23 * testsuite/ld-mips-elf/unaligned-jump.d: New test.
24 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
26 2016-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
28 * plugin.c (plugin_call_claim_file): Restore the file offset after
29 an unsuccessful attempt to claim a file.
30 * testplug.c (bytes_to_read_before_claim): New global.
31 (record_read_length): New function, sets new global
32 bytes_to_read_before_claim.
33 (parse_option): Handle 'read:<NUMBER>' option.
34 (onclaim_file): Read file content before checking for claim.
35 * testsuite/ld-plugin/plugin-30.d: New file.
36 * testsuite/ld-plugin/plugin.exp: Add new test.
38 2016-07-16 Alan Modra <amodra@gmail.com>
40 * plugin.c: Don't include libbfd.h. Include plugin-api.h
42 (plugin_object_p): Use bfd_plugin_open_input.
44 2016-07-16 Alan Modra <amodra@gmail.com>
46 * ldlang.c (open_output): Replace bfd_search_for_target with
47 bfd_iterate_over_targets. Localize vars.
49 2016-07-16 Alan Modra <amodra@gmail.com>
51 * ldlang.c: Don't include libbfd.h.
52 * emultempl/nds32elf.em: Likewise.
53 * emultempl/ppc64elf.em: Likewise.
54 * emultempl/ppc32elf.em: Likewise.
56 (params): Update init.
57 (ppc_after_open_output): Use params.pagesize. Don't call bfd_log2.
58 (PARSE_AND_LIST_ARGS_CASES): Use params.pagesize.
59 * emultempl/sh64elf.em: Don't include libbfd.h.
60 (after_allocation): Use ASSERT, not BFD_ASSERT.
61 * emultempl/xtensaelf.em: Don't include libbfd.h.
62 (replace_insn_sec_with_prop_sec): Use xmalloc, not bfd_malloc.
63 * Makefile.am: Update dependencies.
64 * Makefile.in: Regenerate.
66 2016-07-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
67 Nick Clifton <nickc@redhat.com>
69 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Open import
70 library file for writing and initialize implib_bfd field of link_info
72 * emultempl/pe.em (pe_implib_filename): Remove variable declaration.
73 (OPTION_IMPLIB_FILENAME): Remove macro definition.
74 (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
75 (gld_${EMULATION_NAME}_list_options): Likewise.
76 (gld${EMULATION_NAME}_handle_option): Likewise.
77 (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
78 instead of pe_implib_filename.
79 * emultempl/pep.em (pep_implib_filename): Remove variable declaration.
80 (OPTION_IMPLIB_FILENAME): Remove enumerator.
81 (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
82 (gld_${EMULATION_NAME}_list_options): Likewise.
83 (gld${EMULATION_NAME}_handle_option): Likewise.
84 (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
85 instead of pep_implib_filename.
86 * ld.h (args_type): Declare new out_implib_filename field.
87 * ld.texinfo (--out-implib): Move documentation to arch-independent
88 part and rephrase to apply to ELF targets.
89 * ldexp.c (exp_fold_tree_1): Set ldscript_def field to 1 for symbols
90 defined in linker scripts.
91 * ldlex.h (enum option_values): Declare new OPTION_OUT_IMPLIB
93 * lexsup.c (ld_options): Add entry for new --out-implib switch.
94 (parse_args): Handle OPTION_OUT_IMPLIB case.
95 * testsuite/ld-elf/elf.exp (Generate empty import library): New test.
96 (Generate import library): Likewise.
97 * testsuite/ld-elf/implib.s: Likewise.
98 * testsuite/ld-elf/implib.rd: New file.
99 * testsuite/ld-elf/empty-implib.out: Likewise
101 2016-07-15 Nick Clifton <nickc@redhat.com>
103 * testsuite/ld-arc/arc.exp: Always run the sda-relocs test in
106 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
108 * testsuite/ld-mips-elf/mips-elf.exp: Run
109 `branch-absolute-addend', `mips16-branch-absolute',
110 `mips16-branch-absolute-addend' and
111 `micromips-branch-absolute-addend'.
113 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
115 * testsuite/ld-mips-elf/mips16-branch-absolute.d: New test.
116 * testsuite/ld-mips-elf/mips16-branch-absolute-n32.d: New test.
117 * testsuite/ld-mips-elf/mips16-branch-absolute-n64.d: New test.
118 * testsuite/ld-mips-elf/mips16-branch-absolute-addend.d: New
120 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n32.d: New
122 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n64.d: New
124 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
125 from `mips16-branch-absolute' and
126 `mips16-branch-absolute-addend', referred indirectly only.
128 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
130 * testsuite/ld-mips-elf/branch-absolute.d: New test.
131 * testsuite/ld-mips-elf/branch-absolute-n32.d: New test.
132 * testsuite/ld-mips-elf/branch-absolute-n64.d: New test.
133 * testsuite/ld-mips-elf/branch-absolute-addend.d: New test.
134 * testsuite/ld-mips-elf/branch-absolute-addend-n32.d: New test.
135 * testsuite/ld-mips-elf/branch-absolute-addend-n64.d: New test.
136 * testsuite/ld-mips-elf/micromips-branch-absolute.d: New test.
137 * testsuite/ld-mips-elf/micromips-branch-absolute-n32.d: New
139 * testsuite/ld-mips-elf/micromips-branch-absolute-n64.d: New
141 * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d: New
143 * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n32.d:
145 * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n64.d:
147 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
148 from `branch-absolute-addend' and
149 `micromips-branch-absolute-addend', referred indirectly only.
151 2016-07-14 Claudiu Zissulescu <claziss@synopsys.com>
153 * emulparams/arcelf.sh (SDATA_START_SYMBOLS): Add offset.
154 * testsuite/ld-arc/sda-relocs.dd: New file.
155 * testsuite/ld-arc/sda-relocs.ld: Likewise.
156 * testsuite/ld-arc/sda-relocs.rd: Likewise.
157 * testsuite/ld-arc/sda-relocs.s: Likewise.
158 * testsuite/ld-arc/arc.exp: Add SDA tests.
160 2016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
162 * testsuite/ld-arc/nps-1b.err: Update test to handle more
165 2016-07-09 Alan Modra <amodra@gmail.com>
167 * testsuite/ld-powerpc/elfv2exe.d: Update.
169 2016-07-06 James Bowman <james.bowman@ftdichip.com>
171 * scripttempl/ft32.sc (__PMSIZE): Correct __PMSIZE_.
175 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
177 * testsuite/ld-plugin/lto.exp: Add -flto to PR ld/20321 test.
179 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
181 * testsuite/ld-arm/farcall-thumb2-purecode.d: New test result.
182 * testsuite/ld-arm/farcall-thumb2-purecode.s: New test.
183 * testsuite/ld-arm/arm-elf.exp: Run it.
185 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
187 * testsuite/ld-arm/arm_noread.ld: Renamed to ...
188 testsuite/ld-arm/arm_purecode.ld: ... this, and replaced
189 all noread's by purecode.
191 2016-07-05 Jan Beulich <jbeulich@suse.com>
193 * ldexp.c (exp_fold_tree_1): Set linker_def field based on
194 assignment line number.
195 * ldlex.l (lineno): Drop initializer.
196 (<<EOF>>): Set lineno to zero after reaching top of stack.
198 2016-07-04 H.J. Lu <hongjiu.lu@intel.com>
201 * plugin.c (plugin_opt_plugin): Warn and return if plugin has
203 * testsuite/ld-plugin/lto.exp: Run PR ld/20321 test.
204 * testsuite/ld-plugin/pr20321.c: New file.
206 2016-07-04 Nick Clifton <nickc@redhat.com>
208 * scripttempl/ft32.sc (__PMSIZE_): If not defined, set to 256K.
209 (__RAMSIZE): If not defined, set to 64K.
210 (MEMORY): Set the flash region size to __PMSIZE and the ram region
213 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
215 * testsuite/ld-mips-elf/branch-misc-2.d: New test.
216 * testsuite/ld-mips-elf/mips-elf.exp: Run it.
218 2016-07-01 Thomas Preud'homme <thomas.preudhomme@arm.com>
220 * testsuite/ld-arm/arm-elf.exp (Thumb-2 BL): Assemble for ARMv7.
221 (Thumb-2 BL on ARMv6-M): New testcase.
222 * testsuite/ld-arm/thumb2-bl.d: Do not try to match testcase filename.
223 * testsuite/ld-arm/thumb2-bl.s: Do not select architecture.
225 2016-07-01 Tristan Gingold <gingold@adacore.com>
227 * NEWS: Add marker for 2.27.
229 2016-06-28 H.J. Lu <hongjiu.lu@intel.com>
231 * testsuite/ld-gc/gc.exp: Run pr20306 test.
232 * ld-gc/pr20306.c: New file.
233 * ld-gc/pr20306.d: Likewise.
235 2016-06-28 Nick Clifton <nickc@redhat.com>
237 * testsuite/ld-elf/comm-data.exp: Expect comm-data2 test to fail
239 * testsuite/ld-elf/elf.exp: Expect pr14170 and symbolic function
240 tests to fail for bfin.
241 * testsuite/ld-elf/endsym.d: Expect to fail with cr16, crx, dlx,
243 * testsuite/ld-elf/var1.d: Expect to fail with d30v, dlx, ft32 and
245 * testsuite/ld-pe/pe.exp: Expect foreign symbol test to fail for
248 2016-06-28 Nick Clifton <nickc@redhat.com>
250 * testsuite/ld-elf/merge.d: Add m68hc11 to list of targets that
251 expect to fail this test.
252 * testsuite/ld-scripts/overlay-size.d: Skip the entire test for
254 * testsuite/ld-scripts/rgn-at10.d: No longer expect this test to
256 * testsuite/ld-scripts/rgn-at11.d: Likewise.
257 * testsuite/ld-scripts/rgn-at2.d: Likewise.
258 * testsuite/ld-scripts/rgn-at6.d: Likewise.
259 * testsuite/ld-scripts/rgn-at7.d: Likewise.
260 * testsuite/ld-scripts/rgn-at8.d: Likewise.
262 2016-06-28 James Clarke <jrtc27@jrtc27.com>
264 * testsuite/ld-elf/symbolic-func.r: Allow non-zero offsets from
267 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
269 * testsuite/ld-mips-elf/attr-gnu-4-10.d: Match any UNIX OS/ABI.
270 * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise.
271 * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise.
272 * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
274 2016-06-28 Alan Modra <amodra@gmail.com>
277 * testsuite/ld-scripts/pr20302.d: Exclude *-*-*aout.
279 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
281 * testsuite/ld-mips-elf/mips16-branch-2.d: New test.
282 * testsuite/ld-mips-elf/mips16-branch-3.d: New test.
283 * testsuite/ld-mips-elf/mips16-branch-addend-2.d: New test.
284 * testsuite/ld-mips-elf/mips16-branch-addend-3.d: New test.
285 * testsuite/ld-mips-elf/mips16-branch.s: New test source.
286 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
288 2016-06-27 Nick Clifton <nickc@redhat.com>
291 * lexsup.c (set_segment_start): If resetting the start address of
292 a section, remember to generate a new script element as well.
293 * testsuite/ld-scripts/pr20302.d: New test.
294 * testsuite/ld-scripts/scripts.exp: Run the new test.
296 2016-06-24 Alan Modra <amodra@gmail.com>
298 * testsuite/ld-aarch64/aarch64-elf.exp (aarch64_choose_ilp32_emul):
299 Don't error out, always return an emulation.
301 2016-06-24 Dilyan Palauzov <dilyan.palauzov@aegee.org>
302 H.J. Lu <hongjiu.lu@intel.com>
304 * lexsup.c (elf_shlib_list_options): Check DEFAULT_LD_Z_RELRO
305 for -z relro help message.
307 2016-06-22 Maciej W. Rozycki <macro@imgtec.com>
309 * testsuite/ld-mips-elf/undefweak-overflow.d: Use wildcard
312 2016-06-22 Maciej W. Rozycki <macro@imgtec.com>
314 * testsuite/ld-mips-elf/mips-elf.exp: Uniquely identify
315 `undefweak-overflow' tests.
317 2016-06-22 H.J. Lu <hongjiu.lu@intel.com>
320 * NEWS: Mention --enable-relro.
321 * configure.ac: Add --enable-relro.
322 (DEFAULT_LD_Z_RELRO): New. Set by --enable-relro.
323 * configure.tgt (ac_default_ld_z_relro): Default it to 1 for
325 * config.in: Regenerated.
326 * configure: Likewise.
327 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
328 link_info.relro to DEFAULT_LD_Z_RELRO.
329 * testsuite/config/default.exp (ld_elf_shared_opt): New.
330 * testsuite/lib/ld-lib.exp (run_dump_test): Pass
331 $ld_elf_shared_opt to ld for ELF targets with shared object
333 (run_ld_link_tests): Likewise.
335 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
337 * testsuite/ld-mips-elf/mode-change-error-1a.s: Trigger an error
338 twice rather than once.
339 * testsuite/ld-mips-elf/mode-change-error-1.d: Adjust
340 accordingly. Remove the full stop from the end of the message.
342 2016-06-21 Graham Markall <graham.markall@embecosm.com>
344 * testsuite/ld-arc/nps-1a.d: Use -mcpu=arc700 -mnps400.
345 * testsuite/ld-arc/nps-1b.d: Likewise.
347 2016-06-20 H.J. Lu <hongjiu.lu@intel.com>
350 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
352 (lto_run_tests): Likewise.
353 * testsuite/ld-plugin/pr20267a.c: New file.
354 * testsuite/ld-plugin/pr20267b.c: Likewise.
356 2016-06-20 H.J. Lu <hongjiu.lu@intel.com>
357 Alan Modra <amodra@gmail.com>
360 * plugin.c (plugin_notice): Set non_ir_ref on common symbols.
361 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
363 (lto_run_tests): Likewise.
364 * testsuite/ld-plugin/pass.out: New file.
365 * testsuite/ld-plugin/pr20276a.c: Likewise.
366 * testsuite/ld-plugin/pr20276b.c: Likewise.
368 2016-06-18 H.J. Lu <hongjiu.lu@intel.com>
370 * plugin.c (plugin_object_p): Replace bfd_plugin_uknown
371 with bfd_plugin_unknown.
373 2016-06-18 H.J. Lu <hongjiu.lu@intel.com>
376 * testsuite/ld-i386/i386.exp: Run PR ld/20253 tests.
377 * testsuite/ld-i386/no-plt.exp: Likewise.
378 * testsuite/ld-x86-64/no-plt.exp: Likewise.
379 * testsuite/ld-i386/pr13302.d: Remove .rel.plt section.
380 * testsuite/ld-ifunc/ifunc-13-i386.d: Likewise.
381 * testsuite/ld-ifunc/ifunc-13-x86-64.d: Likewise.
382 * testsuite/ld-ifunc/ifunc-15-i386.d: Likewise.
383 * testsuite/ld-ifunc/ifunc-15-x86-64.d: Likewise.
384 * testsuite/ld-x86-64/pr13082-5a.d: Likewise.
385 * testsuite/ld-x86-64/pr13082-5b.d: Likewise.
386 * testsuite/ld-x86-64/pr13082-6a.d: Likewise.
387 * testsuite/ld-x86-64/pr13082-6b.d: Likewise.
388 * testsuite/ld-i386/pr20244-2a.d: Remove .plt section.
389 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
390 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
391 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
392 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
393 * testsuite/ld-i386/pr20244-2b.d: Updated.
394 * testsuite/ld-i386/pr20244-2c.d: Likewise.
395 * testsuite/ld-ifunc/ifunc-18a-i386.d: Likewise.
396 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
397 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
398 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
399 * testsuite/ld-i386/pr20253-1a.c: New file.
400 * testsuite/ld-i386/pr20253-1b.S: Likewise.
401 * testsuite/ld-i386/pr20253-1c.S: Likewise.
402 * testsuite/ld-i386/pr20253-1d.S: Likewise.
403 * testsuite/ld-i386/pr20253-2a.c: Likewise.
404 * testsuite/ld-i386/pr20253-2b.S: Likewise.
405 * testsuite/ld-i386/pr20253-2c.S: Likewise.
406 * testsuite/ld-i386/pr20253-2d.S: Likewise.
407 * testsuite/ld-i386/pr20253-3.d: Likewise.
408 * testsuite/ld-i386/pr20253-3.s: Likewise.
409 * testsuite/ld-i386/pr20253-4.s: Likewise.
410 * testsuite/ld-i386/pr20253-4a.d: Likewise.
411 * testsuite/ld-i386/pr20253-4b.d: Likewise.
412 * testsuite/ld-i386/pr20253-4c.d: Likewise.
413 * testsuite/ld-i386/pr20253-5.d: Likewise.
414 * testsuite/ld-i386/pr20253-5.s: Likewise.
415 * testsuite/ld-ifunc/ifunc-23-x86.s: Likewise.
416 * testsuite/ld-ifunc/ifunc-23a-x86.d: Likewise.
417 * testsuite/ld-ifunc/ifunc-23b-x86.d: Likewise.
418 * testsuite/ld-ifunc/ifunc-23c-x86.d: Likewise.
419 * testsuite/ld-ifunc/ifunc-24-x86.s: Likewise.
420 * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise.
421 * testsuite/ld-ifunc/ifunc-24b-x86.d: Likewise.
422 * testsuite/ld-ifunc/ifunc-24c-x86.d: Likewise.
423 * testsuite/ld-ifunc/ifunc-25-x86.s: Likewise.
424 * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
425 * testsuite/ld-ifunc/ifunc-25b-x86.d: Likewise.
426 * testsuite/ld-ifunc/ifunc-25c-x86.d: Likewise.
427 * testsuite/ld-x86-64/pr20253-1.s: Likewise.
428 * testsuite/ld-x86-64/pr20253-1a.d: Likewise.
429 * testsuite/ld-x86-64/pr20253-1b.d: Likewise.
430 * testsuite/ld-x86-64/pr20253-1c.d: Likewise.
431 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
432 * testsuite/ld-x86-64/pr20253-1e.d: Likewise.
433 * testsuite/ld-x86-64/pr20253-1f.d: Likewise.
434 * testsuite/ld-x86-64/pr20253-1g.d: Likewise.
435 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
436 * testsuite/ld-x86-64/pr20253-1i.d: Likewise.
437 * testsuite/ld-x86-64/pr20253-1j.d: Likewise.
438 * testsuite/ld-x86-64/pr20253-1k.d: Likewise.
439 * testsuite/ld-x86-64/pr20253-1l.d: Likewise.
440 * testsuite/ld-x86-64/pr20253-2a.c: Likewise.
441 * testsuite/ld-x86-64/pr20253-2b.S: Likewise.
442 * testsuite/ld-x86-64/pr20253-2c.S: Likewise.
443 * testsuite/ld-x86-64/pr20253-2d.S: Likewise.
444 * testsuite/ld-x86-64/pr20253-3.d: Likewise.
445 * testsuite/ld-x86-64/pr20253-3.s: Likewise.
446 * testsuite/ld-x86-64/pr20253-4.s: Likewise.
447 * testsuite/ld-x86-64/pr20253-4a.d: Likewise.
448 * testsuite/ld-x86-64/pr20253-4b.d: Likewise.
449 * testsuite/ld-x86-64/pr20253-4c.d: Likewise.
450 * testsuite/ld-x86-64/pr20253-4d.d: Likewise.
451 * testsuite/ld-x86-64/pr20253-4e.d: Likewise.
452 * testsuite/ld-x86-64/pr20253-4f.d: Likewise.
453 * testsuite/ld-x86-64/pr20253-5.s: Likewise.
454 * testsuite/ld-x86-64/pr20253-5a.d: Likewise.
455 * testsuite/ld-x86-64/pr20253-5b.d: Likewise.
456 * testsuite/ld-ifunc/ifunc-18a-i386.d: Remove extra IRELATIVE
458 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
459 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
460 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
461 * testsuite/ld-ifunc/ifunc-18a.s: Fix a typo.
462 * testsuite/ld-x86-64/x86-64.exp: Run pr20253-1 tests.
464 2016-06-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
465 Tony Wang <tony.wang@arm.com>
467 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall M profile):
468 Assemble for ARMv6-M.
469 (Thumb2-Thumb2 farcall M profile): New testcase.
470 * testsuite/ld-arm/farcall-thumb2-thumb2-m.d: New file.
471 * testsuite/ld-arm/jump-reloc-veneers-cond-long-backward.d: Update to
472 reflect the use of Thumb-2 veneers for Thumb-2 capable targets.
473 * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Likewise.
475 2016-06-16 H.J. Lu <hongjiu.lu@intel.com>
477 * testsuite/ld-i386/i386.exp: Run pr19636-2e-nacl.
478 * testsuite/ld-i386/pr19636-2e.d: Skip for NaCl targets.
479 Remove .rel.plt section.
480 * testsuite/ld-i386/pr19636-2e-nacl.d: New file.
482 2016-06-15 H.J. Lu <hongjiu.lu@intel.com>
484 * testsuite/ld-i386/no-plt-check1a.S (check): Test static
486 * testsuite/ld-i386/no-plt-check1b.S (check): Likewise.
487 * testsuite/ld-x86-64/no-plt-check1.S (check): Likewise.
488 * testsuite/ld-i386/no-plt-extern1a.S (func_p): New. Static
490 * testsuite/ld-i386/no-plt-extern1b.S (func_p): Likewise.
491 * testsuite/ld-x86-64/no-plt-extern1.S (func_p): Likewise.
492 * testsuite/ld-i386/no-plt-1a.dd: Updated.
493 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
494 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
495 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
496 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
497 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
498 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
499 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
500 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
501 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
502 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
503 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
504 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
505 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
506 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
507 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
508 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
510 2016-06-14 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
513 * testsuite/ld-avr/avr-prop-6.d: New test.
514 * testsuite/ld-avr/avr-prop-6.s: New test.
516 2016-06-14 Alan Modra <amodra@gmail.com>
518 * ldbuildid.c: Formatting.
519 * ldcref.c: Formatting.
520 * ldctor.c: Formatting.
521 * ldemul.c: Formatting.
522 * ldexp.c: Formatting.
523 * ldfile.c: Formatting.
524 * ldlang.c: Formatting.
525 * ldmain.c: Formatting.
526 * ldwrite.c: Formatting.
528 2016-06-14 Alan Modra <amodra@gmail.com>
530 * ldlang.c: Expand uses of bfd_my_archive.
531 * ldmain.c: Likewise.
532 * ldmisc.c: Likewise.
533 * plugin.c: Likewise.
535 2016-06-14 Alan Modra <amodra@gmail.com>
538 * ldmain.c (add_archive_element): Just print file name of file within
540 * ldmisc.c (vfinfo): Likewise.
541 * plugin.c (plugin_object_p): Open file within thin archives.
542 (plugin_maybe_claim): Expand comment.
544 2016-06-13 H.J. Lu <hongjiu.lu@intel.com>
547 * testsuite/ld-i386/i386.exp: Run pr20244-2a, pr20244-2b,
548 pr20244-2c and pr20244-2d.
549 * testsuite/ld-i386/no-plt.exp: Run pr20244-3a and pr20244-3b.
550 * testsuite/ld-i386/pr20244-2.s: New file.
551 * testsuite/ld-i386/pr20244-2a.d: Likewise.
552 * testsuite/ld-i386/pr20244-2b.d: Likewise.
553 * testsuite/ld-i386/pr20244-2c.d: Likewise.
554 * testsuite/ld-i386/pr20244-2d.d: Likewise.
555 * testsuite/ld-i386/pr20244-3a.c: Likewise.
556 * testsuite/ld-i386/pr20244-3b.S: Likewise.
557 * testsuite/ld-i386/pr20244-3c.S: Likewise.
558 * testsuite/ld-i386/pr20244-3d.S: Likewise.
560 2016-06-13 H.J. Lu <hongjiu.lu@intel.com>
562 * testsuite/ld-i386/i386.exp: Run ifunc-1a and ifunc-1b.
563 * testsuite/ld-i386/ifunc-1a.c: New file.
564 * testsuite/ld-i386/ifunc-1b.S: Likewise.
565 * testsuite/ld-i386/ifunc-1c.S: Likewise.
566 * testsuite/ld-i386/ifunc-1d.S: Likewise.
568 2016-06-13 Cupertino Miranda <cmiranda@synospsy.com>
570 * testsuite/ld-srec/srec.exp: Changed to XFAIL on both little and
571 big endian ARC targets.
573 2016-06-12 H.J. Lu <hongjiu.lu@intel.com>
575 * testsuite/ld-x86-64/libno-plt-1b.dd: Updated for x32.
576 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
577 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
578 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
579 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
580 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
581 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
582 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
583 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
584 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
585 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
586 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
587 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
588 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
589 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
591 2016-06-11 H.J. Lu <hongjiu.lu@intel.com>
594 * testsuite/ld-i386/i386.exp: Run pr20244-1a and pr20244-1b.
595 * testsuite/ld-i386/pr20244-1.s: New file.
596 * testsuite/ld-i386/pr20244-1a.d: Likewise.
597 * testsuite/ld-i386/pr20244-1b.d: Likewise.
598 * testsuite/ld-i386/pr20244-1c.d: Likewise.
600 2016-06-08 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
603 * testsuite/ld-avr/avr-prop-5.d: New.
604 * testsuite/ld-avr/avr-prop-5.s: New.
606 2016-06-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
608 * testsuite/ld-avr/lds-mega.d: New test.
609 * testsuite/ld-avr/lds-mega.s: New test source.
610 * testsuite/ld-avr/lds-tiny.d: New test.
611 * testsuite/ld-avr/lds-tiny.s: New test source.
613 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
615 * testsuite/ld-i386/libno-plt-1b.dd: New file.
616 * testsuite/ld-i386/libno-plt-1b.rd: Likewise.
617 * testsuite/ld-i386/no-plt-1a.dd: Likewise.
618 * testsuite/ld-i386/no-plt-1a.rd: Likewise.
619 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
620 * testsuite/ld-i386/no-plt-1b.rd: Likewise.
621 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
622 * testsuite/ld-i386/no-plt-1c.rd: Likewise.
623 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
624 * testsuite/ld-i386/no-plt-1d.rd: Likewise.
625 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
626 * testsuite/ld-i386/no-plt-1e.rd: Likewise.
627 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
628 * testsuite/ld-i386/no-plt-1f.rd: Likewise.
629 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
630 * testsuite/ld-i386/no-plt-1g.rd: Likewise.
631 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
632 * testsuite/ld-i386/no-plt-1h.rd: Likewise.
633 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
634 * testsuite/ld-i386/no-plt-1i.rd: Likewise.
635 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
636 * testsuite/ld-i386/no-plt-1j.rd: Likewise.
637 * testsuite/ld-i386/no-plt-check1a.S: Likewise.
638 * testsuite/ld-i386/no-plt-check1b.S: Likewise.
639 * testsuite/ld-i386/no-plt-extern1a.S: Likewise.
640 * testsuite/ld-i386/no-plt-extern1b.S: Likewise.
641 * testsuite/ld-i386/no-plt-func1.c: Likewise.
642 * testsuite/ld-i386/no-plt-main1.c: Likewise.
643 * testsuite/ld-i386/no-plt.exp: Likewise.
645 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
647 * testsuite/ld-x86-64/tls.exp (run_cc_link_tests): Update test
650 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
652 * testsuite/ld-i386/i386.exp: Run libtlspic2.so, tlsbin2,
653 tlsgd3, tlsld2, tlsgd4, tlspie3a, tlspie3b and tlspie3c.
654 * testsuite/ld-i386/pass.out: New file.
655 * testsuite/ld-i386/tls-def1.c: Likewise.
656 * testsuite/ld-i386/tls-gd1.S: Likewise.
657 * testsuite/ld-i386/tls-ld1.S: Likewise.
658 * testsuite/ld-i386/tls-main1.c: Likewise.
659 * testsuite/ld-i386/tls.exp: Likewise.
660 * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
661 * testsuite/ld-i386/tlsbin2.dd: Likewise.
662 * testsuite/ld-i386/tlsbin2.rd: Likewise.
663 * testsuite/ld-i386/tlsbin2.sd: Likewise.
664 * testsuite/ld-i386/tlsbin2.td: Likewise.
665 * testsuite/ld-i386/tlsbinpic2.s: Likewise.
666 * testsuite/ld-i386/tlsgd3.dd: Likewise.
667 * testsuite/ld-i386/tlsgd3.s: Likewise.
668 * testsuite/ld-i386/tlsgd4.d: Likewise.
669 * testsuite/ld-i386/tlsgd4.s: Likewise.
670 * testsuite/ld-i386/tlsld2.s: Likewise.
671 * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
672 * testsuite/ld-i386/tlspic2.dd: Likewise.
673 * testsuite/ld-i386/tlspic2.rd: Likewise.
674 * testsuite/ld-i386/tlspic2.sd: Likewise.
675 * testsuite/ld-i386/tlspic2.td: Likewise.
676 * testsuite/ld-i386/tlspic3.s: Likewise.
677 * testsuite/ld-i386/tlspie3.s: Likewise.
678 * testsuite/ld-i386/tlspie3a.d: Likewise.
679 * testsuite/ld-i386/tlspie3b.d: Likewise.
680 * testsuite/ld-i386/tlspie3c.d: Likewise.
682 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
684 * testsuite/ld-x86-64/no-plt-1a.rd: Support any relocation order.
685 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
686 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
687 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
688 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
689 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
690 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
691 * testsuite/ld-x86-64/no-plt.exp: Fix a typo.
693 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
695 * testsuite/ld-x86-64/libno-plt-1b.dd: Likewise.
696 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
697 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
698 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
699 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
700 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
701 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
702 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
703 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
704 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
705 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
706 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
707 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
708 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
709 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
710 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
711 * testsuite/ld-x86-64/no-plt-check1.S: Likewise.
712 * testsuite/ld-x86-64/no-plt.exp: Likewise.
713 * testsuite/ld-x86-64/no-plt-extern1.S: Likewise.
714 * testsuite/ld-x86-64/no-plt-func1.c: Likewise.
715 * testsuite/ld-x86-64/no-plt-main1.c: Likewise.
717 2016-06-07 Maciej W. Rozycki <macro@imgtec.com>
719 * testsuite/ld-elf/init-fini-arrays.d: Remove `ft32-*-*' xfail.
721 2016-06-07 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
723 * testsuite/ld-s390/pltoffset-1.dd: New test.
724 * testsuite/ld-s390/pltoffset-1.ld: New test.
725 * testsuite/ld-s390/pltoffset-1.s: New test.
726 * testsuite/ld-s390/s390.exp: Run new test.
728 2016-06-07 Alan Modra <amodra@gmail.com>
730 * testsuite/ld-powerpc/apuinfo1.s: Delete nop.
731 * testsuite/ld-powerpc/apuinfo-vle2.s: New.
732 * testsuite/ld-powerpc/powerpc.exp: Use apuinfo-vle2.s.
734 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
736 * testsuite/ld-x86-64/pass.out: New file.
737 * testsuite/ld-x86-64/tls-def1.c: Likewise.
738 * testsuite/ld-x86-64/tls-gd1.S: Likewise.
739 * testsuite/ld-x86-64/tls-ld1.S: Likewise.
740 * testsuite/ld-x86-64/tls-main1.c: Likewise.
741 * testsuite/ld-x86-64/tls.exp: Likewise.
742 * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
743 * testsuite/ld-x86-64/tlsbin2.dd: Likewise.
744 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
745 * testsuite/ld-x86-64/tlsbin2.sd: Likewise.
746 * testsuite/ld-x86-64/tlsbin2.td: Likewise.
747 * testsuite/ld-x86-64/tlsbinpic2.s: Likewise.
748 * testsuite/ld-x86-64/tlsgd10.dd: Likewise.
749 * testsuite/ld-x86-64/tlsgd10.s: Likewise.
750 * testsuite/ld-x86-64/tlsgd11.dd: Likewise.
751 * testsuite/ld-x86-64/tlsgd11.s: Likewise.
752 * testsuite/ld-x86-64/tlsgd12.d: Likewise.
753 * testsuite/ld-x86-64/tlsgd12.s: Likewise.
754 * testsuite/ld-x86-64/tlsgd13.d: Likewise.
755 * testsuite/ld-x86-64/tlsgd13.s: Likewise.
756 * testsuite/ld-x86-64/tlsgd14.dd: Likewise.
757 * testsuite/ld-x86-64/tlsgd14.s: Likewise.
758 * testsuite/ld-x86-64/tlsgd5c.s: Likewise.
759 * testsuite/ld-x86-64/tlsgd6c.s: Likewise.
760 * testsuite/ld-x86-64/tlsgd9.dd: Likewise.
761 * testsuite/ld-x86-64/tlsgd9.s: Likewise.
762 * testsuite/ld-x86-64/tlsld4.dd: Likewise.
763 * testsuite/ld-x86-64/tlsld4.s: Likewise.
764 * testsuite/ld-x86-64/tlsld5.dd: Likewise.
765 * testsuite/ld-x86-64/tlsld5.s: Likewise.
766 * testsuite/ld-x86-64/tlsld6.dd: Likewise.
767 * testsuite/ld-x86-64/tlsld6.s: Likewise.
768 * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
769 * testsuite/ld-x86-64/tlspic2.dd: Likewise.
770 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
771 * testsuite/ld-x86-64/tlspic2.sd: Likewise.
772 * testsuite/ld-x86-64/tlspic2.td: Likewise.
773 * testsuite/ld-x86-64/tlspic3.s: Likewise.
774 * testsuite/ld-x86-64/tlspie2.s: Likewise.
775 * testsuite/ld-x86-64/tlspie2a.d: Likewise.
776 * testsuite/ld-x86-64/tlspie2b.d: Likewise.
777 * testsuite/ld-x86-64/tlspie2c.d: Likewise.
778 * testsuite/ld-x86-64/tlsgd5.dd: Updated.
779 * testsuite/ld-x86-64/tlsgd6.dd: Likewise.
780 * testsuite/ld-x86-64/x86-64.exp: Run libtlspic2.so, tlsbin2,
781 tlsgd5b, tlsgd6b, tlsld4, tlsld5, tlsld6, tlsgd9, tlsgd10,
782 tlsgd11, tlsgd14, tlsgd12, tlsgd13, tlspie2a, tlspie2b and
785 2016-06-04 Christian Groessler <chris@groessler.org>
787 * testsuite/ld-z8k/0filler.s: New file.
788 * testsuite/ld-z8k/branch-target.s: New file.
789 * testsuite/ld-z8k/branch-target2.s: New file.
790 * testsuite/ld-z8k/calr-back-8001.d: New file.
791 * testsuite/ld-z8k/calr-back-8002.d: New file.
792 * testsuite/ld-z8k/calr-back-fail-8001.d: New file.
793 * testsuite/ld-z8k/calr-back-fail-8002.d: New file.
794 * testsuite/ld-z8k/calr-forw-8001.d: New file.
795 * testsuite/ld-z8k/calr-forw-8002.d: New file.
796 * testsuite/ld-z8k/calr-forw-fail-8001.d: New file.
797 * testsuite/ld-z8k/calr-forw-fail-8002.d: New file.
798 * testsuite/ld-z8k/calr-opcode.s: New file.
799 * testsuite/ld-z8k/dbjnz-forw-8001.d: New file.
800 * testsuite/ld-z8k/dbjnz-forw-8002.d: New file.
801 * testsuite/ld-z8k/dbjnz-forw-fail-8001.d: New file.
802 * testsuite/ld-z8k/dbjnz-forw-fail-8002.d: New file.
803 * testsuite/ld-z8k/dbjnz-opcode.s: New file.
804 * testsuite/ld-z8k/djnz-back-8001.d: New file.
805 * testsuite/ld-z8k/djnz-back-8002.d: New file.
806 * testsuite/ld-z8k/djnz-back-fail-8001.d: New file.
807 * testsuite/ld-z8k/djnz-back-fail-8002.d: New file.
808 * testsuite/ld-z8k/djnz-forw-8001.d: New file.
809 * testsuite/ld-z8k/djnz-forw-8002.d: New file.
810 * testsuite/ld-z8k/djnz-forw-fail-8001.d: New file.
811 * testsuite/ld-z8k/djnz-forw-fail-8002.d: New file.
812 * testsuite/ld-z8k/djnz-opcode.s: New file.
813 * testsuite/ld-z8k/filler.s: New file.
814 * testsuite/ld-z8k/jr-back-8001.d: New file.
815 * testsuite/ld-z8k/jr-back-8002.d: New file.
816 * testsuite/ld-z8k/jr-back-fail-8001.d: New file.
817 * testsuite/ld-z8k/jr-back-fail-8002.d: New file.
818 * testsuite/ld-z8k/jr-forw-8001.d: New file.
819 * testsuite/ld-z8k/jr-forw-8002.d: New file.
820 * testsuite/ld-z8k/jr-forw-fail-8001.d: New file.
821 * testsuite/ld-z8k/jr-forw-fail-8002.d: New file.
822 * testsuite/ld-z8k/jr-opcode.s: New file.
823 * testsuite/ld-z8k/ldr-back-8001.d: New file.
824 * testsuite/ld-z8k/ldr-back-8002.d: New file.
825 * testsuite/ld-z8k/ldr-back-fail-8001.d: New file.
826 * testsuite/ld-z8k/ldr-back-fail-8002.d: New file.
827 * testsuite/ld-z8k/ldr-forw-8001.d: New file.
828 * testsuite/ld-z8k/ldr-forw-8002.d: New file.
829 * testsuite/ld-z8k/ldr-forw-fail-8001.d: New file.
830 * testsuite/ld-z8k/ldr-forw-fail-8002.d: New file.
831 * testsuite/ld-z8k/ldr-opcode.s: New file.
832 * testsuite/ld-z8k/ldrb-forw-8001.d: New file.
833 * testsuite/ld-z8k/ldrb-forw-8002.d: New file.
834 * testsuite/ld-z8k/ldrb-forw-fail-8001.d: New file.
835 * testsuite/ld-z8k/ldrb-forw-fail-8002.d: New file.
836 * testsuite/ld-z8k/ldrb-opcode.s: New file.
837 * testsuite/ld-z8k/ldrb-opcode2.s: New file.
838 * testsuite/ld-z8k/other-file.s: New file.
839 * testsuite/ld-z8k/reloc.dd: New file.
840 * testsuite/ld-z8k/reloc.ld: New file.
841 * testsuite/ld-z8k/relocseg.dd: New file.
842 * testsuite/ld-z8k/relocseg.ld: New file.
843 * testsuite/ld-z8k/relocseg1.dd: New file.
844 * testsuite/ld-z8k/this-file.s: New file.
845 * testsuite/ld-z8k/z8k.exp: New file.
847 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
849 * testsuite/ld-i386/i386.exp: Assemble gotpc1.o and pr19319b.o
850 with -mrelax-relocations=yes.
851 * testsuite/ld-i386/lea1a.d (as): Add -mrelax-relocations=yes.
852 * testsuite/ld-i386/lea1b.d (as): Likewise.
853 * testsuite/ld-i386/lea1d.d (as): Likewise.
854 * testsuite/ld-i386/lea1e.d (as): Likewise.
855 * testsuite/ld-i386/lea1f.d (as): Likewise.
856 * testsuite/ld-i386/load7.d (as): Likewise.
857 * testsuite/ld-i386/mov1b.d (as): Likewise.
858 * testsuite/ld-i386/pr19175.d (as): Likewise.
859 * testsuite/ld-ifunc/ifunc-13-i386.d (as): Likewise.
860 * testsuite/ld-ifunc/ifunc-21-i386.d (as): Likewise.
861 * testsuite/ld-ifunc/ifunc-22-i386.d (as): Likewise.
862 * testsuite/ld-x86-64/x86-64.exp: Assemble gotpcrel1a.o,
863 gotpcrel1b.o and gotpcrel1c.o with -mrelax-relocations=yes.
865 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
867 * configure.tgt: Replace -uclibc with *.
869 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
871 * testsuite/ld-mips-elf/unaligned-branch.d: New test.
872 * testsuite/ld-mips-elf/unaligned-branch.s: New test source.
873 * testsuite/ld-mips-elf/unaligned-text.s: New test source.
874 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
876 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
878 * testsuite/ld-mips-elf/unaligned-syms.s: Rename to...
879 * testsuite/ld-mips-elf/unaligned-data.s: ... this.
880 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Adjust accordingly.
881 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
882 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Likewise.
883 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
885 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
887 * testsuite/ld-mips-elf/jal-global-overflow-0.d: New test.
888 * testsuite/ld-mips-elf/jal-global-overflow-1.d: New test.
889 * testsuite/ld-mips-elf/jal-local-overflow-0.d: New test.
890 * testsuite/ld-mips-elf/jal-local-overflow-1.d: New test.
891 * testsuite/ld-mips-elf/jal-global-overflow.s: New test source.
892 * testsuite/ld-mips-elf/jal-local-overflow.s: New test source.
893 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
895 2016-05-28 Alan Modra <amodra@gmail.com>
897 * ldmain.c (multiple_definition, multiple_common, add_to_set,
898 constructor_callback, warning_callback, undefined_symbol,
899 reloc_overflow, reloc_dangerous, unattached_reloc): Return void.
900 * emultempl/elf32.em: Adjust callback calls.
902 2016-05-27 Maciej W. Rozycki <macro@imgtec.com>
904 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.d: New test.
905 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: New test.
906 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-0.d: New
908 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d: New
910 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-0.d: New
912 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d: New
914 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.s: New test
916 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.s: New test
918 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
920 2016-05-27 Maciej W. Rozycki <macro@imgtec.com>
922 * testsuite/ld-mips-elf/reloc-local-overflow.d: New test.
923 * testsuite/ld-mips-elf/reloc-local-overflow.s: Source for the
925 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
927 2016-05-26 Maciej W. Rozycki <macro@imgtec.com>
929 * testsuite/ld-mips-elf/unaligned-jalx-0.d: Fold
930 `unaligned-jalx-2' here.
931 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: Fold
932 `unaligned-jalx-mips16-2' here.
933 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: Fold
934 `unaligned-jalx-micromips-2' here.
935 * testsuite/ld-mips-elf/unaligned-jalx-0.s: Update accordingly.
936 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error
938 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
939 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
940 * testsuite/ld-mips-elf/unaligned-jalx-2.d: Remove test.
941 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: Remove test.
942 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: Remove
944 * testsuite/ld-mips-elf/unaligned-jalx-2.s: Remove test source.
945 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Fold
946 `unaligned-lwpc-3' here.
947 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: Update accordingly.
948 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Fold
949 `unaligned-lwpc-2' here.
950 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: Update accordingly.
951 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: Remove test.
952 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: Remove test source.
953 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: Remove test.
954 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: Remove test source.
955 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Fold
956 `unaligned-ldpc-4' here.
957 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: Update accordingly.
958 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Update error
959 message. Fold `unaligned-ldpc-2' and `unaligned-ldpc-3' here.
960 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: Update accordingly.
961 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: Remove test.
962 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: Remove test source.
963 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: Remove test.
964 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: Remove test source.
965 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: Remove test.
966 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: Remove test source.
967 * testsuite/ld-mips-elf/mips-elf.exp: Delete removed tests.
969 2016-05-26 Nick Clifton <nickc@redhat.com>
972 * scripttempl/elf32msp430.sc (.bss): Provide __bssstart and
974 * scripttempl/elf32msp430_3.sc (.bss): Likewise.
976 2016-05-25 Maciej W. Rozycki <macro@imgtec.com>
978 * testsuite/ld-mips-elf/unaligned-jalx-0.d: New test.
979 * testsuite/ld-mips-elf/unaligned-jalx-1.d: New test.
980 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
981 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: New test.
982 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: New test.
983 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: New test.
984 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: New test.
985 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: New test.
986 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: New test.
987 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: New test.
988 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: New test.
989 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: New test.
990 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: New test.
991 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: New test.
992 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: New test.
993 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: New test.
994 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: New test.
995 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: New test.
996 * testsuite/ld-mips-elf/unaligned-jalx-0.s: New test source.
997 * testsuite/ld-mips-elf/unaligned-jalx-1.s: New test source.
998 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
999 * testsuite/ld-mips-elf/unaligned-insn.s: New test source.
1000 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: New test source.
1001 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: New test source.
1002 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: New test source.
1003 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: New test source.
1004 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: New test source.
1005 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: New test source.
1006 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: New test source.
1007 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: New test source.
1008 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: New test source.
1009 * testsuite/ld-mips-elf/unaligned-syms.s: New test source.
1010 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1012 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1015 * ldmain.c (add_archive_element): Don't claim new IR symbols
1016 after all IR symbols have been claimed.
1017 * plugin.c (plugin_call_claim_file): Remove no_more_claiming
1019 * testsuite/ld-plugin/lto.exp (pr20103): New proc.
1020 Run PR ld/20103 tests.
1021 * testsuite/ld-plugin/pr20103a.c: New file.
1022 * testsuite/ld-plugin/pr20103b.c: Likewise.
1023 * testsuite/ld-plugin/pr20103c.c: Likewise.
1025 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
1027 * testsuite/ld-mips-elf/jalx-local.d: New test.
1028 * testsuite/ld-mips-elf/jalx-local-n32.d: New test.
1029 * testsuite/ld-mips-elf/jalx-local-n64.d: New test.
1030 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1032 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
1034 * Makefile.am: Add earmelf_phoenix.c.
1035 * Makefile.in: Regenerate.
1036 * configure.tgt: Add entry for arm-phoenix.
1037 * emulparams/armelf_phoenix.sh: New file.
1039 2016-05-23 Thomas Preud'homme <thomas.preudhomme@arm.com>
1041 * emultempl/armelf.em (arm_elf_before_allocation): Call
1042 bfd_elf32_arm_keep_private_stub_output_sections before generic
1043 before_allocation function.
1045 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
1047 * testsuite/ld-mips-elf/jalx-addend.d: New test.
1048 * testsuite/ld-mips-elf/jalx-addend-n32.d: New test.
1049 * testsuite/ld-mips-elf/jalx-addend-n64.d: New test.
1050 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1052 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
1055 * testsuite/ld-i386/i386.exp: Run pr20117.
1056 * testsuite/ld-i386/pr19609-1i.d: Updated.
1057 * testsuite/ld-i386/pr20117.d: New file.
1058 * testsuite/ld-i386/pr20117.s: Likewise.
1060 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
1062 * testsuite/ld-elf/compressed1d.d: Removed from notarget.
1063 * testsuite/ld-elf/group8a.d: Likewise.
1064 * testsuite/ld-elf/group8b.d: Likewise.
1065 * testsuite/ld-elf/group9a.d: Likewise.
1066 * testsuite/ld-elf/group9b.d: Likewise.
1067 * testsuite/ld-elf/pr12851.d: Likewise.
1068 * testsuite/ld-elf/pr12975.d: Likewise.
1069 * testsuite/ld-elf/pr13177.d: Likewise.
1070 * testsuite/ld-elf/pr13195.d: Likewise.
1071 * testsuite/ld-elf/pr17615.d: Likewise.
1072 * testsuite/ld-elf/eh-frame-hdr.d: Removed from xfail.
1073 * testsuite/ld-elf/group3b.d: Likewise.
1074 * testsuite/ld-srec/srec.exp: Likewise.
1075 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark ARC
1077 (check_shared_lib_support): Mark ARC as supporting.
1079 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
1081 * emulparams/arcelf.sh: Changed.
1082 * emulparams/arclinux.sh: Likewise.
1083 * scripttempl/arclinux.sc: Moved to a more standard implementation
1086 2016-05-19 Maciej W. Rozycki <macro@imgtec.com>
1088 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Reorder
1089 `ft32-*-*' behind `frv-*-*'.
1091 2016-05-19 Maciej W. Rozycki <macro@imgtec.com>
1093 * configure.tgt: Remove `am34-*-linux*' support.
1095 2016-05-19 Alan Modra <amodra@gmail.com>
1097 * testsuite/ld-scripts/crossref.exp: Remove -mcall-aixdesc hack.
1098 * testsuite/ld-scripts/cross2.t: Tweak .opd and .toc placement.
1099 * testsuite/ld-scripts/cross3.t: Likewise.
1100 * testsuite/ld-scripts/cross4.t: Likewise.
1101 * testsuite/ld-scripts/cross5.t: Likewise.
1102 * testsuite/ld-scripts/cross6.t: Likewise.
1103 * testsuite/ld-scripts/cross7.t: Likewise.
1105 2016-05-19 Alan Modra <amodra@gmail.com>
1107 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Pass in
1108 exe name rather than constructing testname. Fix typo in
1109 sub-test name. Log copying. Use -rpath rather than -R.
1111 2016-05-18 Nick Clifton <nickc@redhat.com>
1113 * scripttempl/ft32.sc: Use fixed constants for memory region
1114 lengths. Include DWARF debug sections.
1115 (.data .bss): Do not assign locations during relocatable links.
1116 * testsuite/ld-elf/compressed1d.d: Skip for FT32.
1117 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
1118 * testsuite/ld-elf/sec64k.exp: Likewise.
1119 * testsuite/ld-elf/init-fini-array.d: XFail for FT32.
1120 * testsuite/ld-elf/merge.d: Likewise.
1121 * testsuite/ld-elf/orphan-region.d: Likewise.
1122 * testsuite/ld-elf/orphan.s: Likewise.
1123 * testsuite/ld-elf/orphan3.d: Likewise.
1124 * testsuite/ld-elf/pr349.d: Likewise.
1125 * testsuite/ld-elf/warn2.d: Likewise.
1126 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Note
1127 that the FT32 does not support shared libraries.
1129 2016-05-17 H.J. Lu <hongjiu.lu@intel.com>
1131 * testsuite/lib/ld-lib.exp (at_least_gcc_version): Check
1134 2016-05-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1136 * scripttempl/avr.sc (text): Place .progmem.data from avr-libc
1138 * scripttempl/avrtiny.sc (text): Likewise.
1140 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
1142 * testsuite/ld-unique/unique.exp: Use `is_elf_format' and
1143 `supports_gnu_unique' to qualify testing.
1145 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
1147 * testsuite/ld-elf/flags1.d: Update the xfail list.
1149 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
1151 * testsuite/ld-elf/flags1.d: Update for `*-*-nacl*' xfail
1154 2016-05-14 H.J. Lu <hongjiu.lu@intel.com>
1157 * testplug2.c (onall_symbols_read): Remove redundant sizeof
1158 on EXPECTED_VIEW_LENGTH.
1159 * testplug4.c (onall_symbols_read): Likewise.
1161 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
1164 * testsuite/ld-x86-64/pr20093-1.d: New file.
1165 * testsuite/ld-x86-64/pr20093-1.s: Likewise.
1166 * testsuite/ld-x86-64/pr20093-2.d: Likewise.
1167 * testsuite/ld-x86-64/pr20093-2.s: Likewise.
1168 * testsuite/ld-x86-64/x86-64.exp: Run pr20093-1 and pr20093-2.
1170 2016-05-13 Alan Modra <amodra@gmail.com>
1172 * testsuite/ld-arm/arm-elf.exp: Adjust for arm-no-rel-plt now passing.
1173 Use different output file name for static app without .rel.plt.
1174 * testsuite/ld-arm/arm-no-rel-plt.ld: Align .rel.dyn and .rela.dyn.
1175 * testsuite/ld-arm/arm-no-rel-plt.out: Delete.
1176 * testsuite/ld-arm/arm-no-rel-plt.r: New.
1177 * testsuite/ld-arm/arm-static-app.d: Don't check file name.
1178 * testsuite/ld-arm/arm-static-app.r: Likewise.
1180 2016-05-12 H.J. Lu <hongjiu.lu@intel.com>
1183 * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug4.la.
1184 (libldtestplug4_la_SOURCES): New.
1185 (libldtestplug4_la_CFLAGS): Likewise.
1186 (libldtestplug4_la_LDFLAGS): Likewise.
1187 * Makefile.in: Regenerated.
1188 * plugin.c (get_symbols): Return resolution based on IR symbol
1189 kinds for symbols defined/referenced only within IR.
1190 * testplug4.c: New file.
1191 * ld/testsuite/ld-plugin/pr20070.d: Likewise.
1192 * ld/testsuite/ld-plugin/pr20070a.c: Likewise.
1193 * ld/testsuite/ld-plugin/pr20070b.c: Likewise.
1194 * testsuite/ld-plugin/plugin.exp (plugin4_name): New.
1195 (plugin4_path): Likewise.
1196 Add a test for ld/20070.
1198 2016-05-11 Alan Modra <amodra@gmail.com>
1200 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
1201 Call elf32_hppa_init_stub_bfd.
1203 2016-05-11 Alan Modra <amodra@gmail.com>
1206 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
1207 * testsuite/ld-powerpc/tlsdll.s: New.
1208 * testsuite/ld-powerpc/tlsdll.ver: New.
1209 * testsuite/ld-powerpc/tlsdll_32.s: New.
1210 * testsuite/ld-powerpc/tlsopt5.d: New.
1211 * testsuite/ld-powerpc/tlsopt5.s: New.
1212 * testsuite/ld-powerpc/tlsopt5_32.d: New.
1213 * testsuite/ld-powerpc/tlsopt5_32.s: New.
1215 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1217 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Use
1218 ARM_GET_SYM_BRANCH_TYPE to get branch type of a symbol.
1220 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1222 * emultempl/armelf.em (elf32_arm_add_stub_section): Add output_section
1223 parameter and rename input_section parameter to after_input_section.
1224 Append input stub section to the output section if after_input_section
1227 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1229 * testsuite/ld-arm/arm-elf.exp (EABI attribute merging 10 (DSP)): New
1231 * testsuite/ld-arm/attr-merge-10b-dsp.s: New file.
1232 * testsuite/ld-arm/attr-merge-10-dsp.attr: Likewise.
1234 2016-05-10 Christophe Lyon <christophe.lyon@linaro.org>
1236 * ld/testsuite/ld-elf/flags1.d (xfail): Remove *-*-nacl*".
1238 2016-05-09 Christophe Monat <christophe.monat@st.com>
1241 * testsuite/ld-arm/arm-elf.exp: Run new stm32l4xx-fix-vldm-dp
1242 tests. Fix misnamed stm32l4xx-fix-all.
1243 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.s: New tests for multiple
1244 loads with DP registers.
1245 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.d: New reference file.
1246 * testsuite/ld-arm/stm32l4xx-fix-vldm.s: Add missing comment.
1247 * testsuite/ld-arm/stm32l4xx-fix-all.s: Add tests for multiple
1248 loads with DP registers.
1249 * testsuite/ld-arm/stm32l4xx-fix-all.d: Update reference.
1251 2016-05-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
1253 * testsuite/ld-elf/flags1.d (readelf): Dump section header instead
1255 (xfail): Remove avr-*-*.
1256 Update regex to check the section flags.
1257 * testsuite/ld-elf/merge.d (xfail): Remove avr-*-*.
1259 2016-05-09 Alan Modra <amodra@gmail.com>
1261 * Makefile.am (ealphavms.c, eelf64_ia64_vms): Correct .em deps.
1262 * Makefile.in: Regenerate.
1264 2016-05-09 Alan Modra <amodra@gmail.com>
1266 * testsuite/ld-scripts/pr14962-2.t: Match .text, not *.text.
1267 * testsuite/ld-scripts/rgn-at5.t: Similarly, .sec not *.sec.
1268 * testsuite/ld-scripts/section-match-1.t: Likewise.
1270 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
1273 * testsuite/ld-elf/pr17550-1.s: New file.
1274 * testsuite/ld-elf/pr17550-2.s: Likewise.
1275 * testsuite/ld-elf/pr17550-3.s: Likewise.
1276 * testsuite/ld-elf/pr17550-4.s: Likewise.
1277 * testsuite/ld-elf/pr17550a.d: Likewise.
1278 * testsuite/ld-elf/pr17550b.d: Likewise.
1279 * testsuite/ld-elf/pr17550c.d: Likewise.
1280 * testsuite/ld-elf/pr17550d.d: Likewise.
1282 2016-05-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1284 * ld/testsuite/ld-srec/srec.exp: Mark test as XFAIL for AVR.
1286 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
1288 * testsuite/ld-i386/i386.exp: Run load7.
1289 * testsuite/ld-i386/load7.d: New file.
1290 * testsuite/ld-i386/load7.map: Likewise.
1291 * testsuite/ld-i386/load7.s: Likewise.
1292 * testsuite/ld-x86-64/load2.d: Likewise.
1293 * testsuite/ld-x86-64/load2.map: Likewise.
1294 * testsuite/ld-x86-64/load2.s: Likewise.
1295 * testsuite/ld-x86-64/x86-64.exp: Run load2.
1297 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
1299 * emulparams/elf_iamcu.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): New.
1300 * emulparams/elf_k1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1302 * emulparams/elf_l1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1305 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
1307 * testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld.
1309 2016-05-04 H.J. Lu <hongjiu.lu@intel.com>
1311 * ldlang.c (init_os): Pass %E to einfo when bfd_section == NULL.
1313 2016-05-04 Maciej W. Rozycki <macro@imgtec.com>
1315 * testsuite/ld-unique/unique.d: New test.
1316 * testsuite/ld-unique/unique.exp: Run the new test. Adjust
1317 messages for compiled tests.
1319 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1321 * testsuite/ld-elf/pr18735.d: Allow other symbols.
1322 * testsuite/ld-elf/sec64k.exp: Skip 64ksec for avr.
1323 * testsuite/ld-gc/pr14265.d: Allow other symbols.
1324 * testsuite/ld-plugin/plugin.exp: Add PR ld/17973 to
1325 plugin_tests only if check_shared_lib_support is true.
1326 * testsuite/ld-selective/selective.exp: Add --section-start
1329 2016-05-03 Maciej W. Rozycki <macro@imgtec.com>
1332 * testsuite/ld-unique/unique.exp: Also run for `mips*-*-*'.
1334 2016-05-03 Jiong Wang <jiong.wang@arm.com>
1336 * emultempl/aarch64elf.em (--no-apply-dynamic-relocs): New option.
1337 * NEWS: Mention --no-apply-dynamic-relocs.
1338 * ld.texinfo (ld and the ARM family): Document
1339 --no-apply-dynamic-relocs.
1340 * testsuite/ld-aarch64/rela-abs-relative.s: New test source.
1341 * testsuite/ld-aarch64/rela-abs-relative.d: New expected result.
1342 * testsuite/ld-aarch64/rela-abs-relative-be.d: Likewise for big-endian.
1343 * estsuite/ld-aarch64/rela-abs-relative-opt.d: Likewise, but enable new
1346 2016-05-03 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1348 * testsuite/ld-elfcomm/elfcomm.exp: Check for shared lib support
1349 before running STT_COMMON tests.
1351 2016-04-29 H.J. Lu <hongjiu.lu@intel.com>
1353 * config/default.exp (NOPIE_CFLAGS): Download source only on
1355 (NOPIE_LDFLAGS): Likewise.
1356 * testsuite/lib/ld-lib.exp (check_lto_available): Likewise.
1357 (check_lto_fat_available): Likewise.
1358 (check_lto_shared_available): Likewise.
1359 (check_ifunc_available): Likewise.
1360 (check_ifunc_attribute_available): Likewise.
1362 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
1364 * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.
1366 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
1369 * testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
1370 (visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
1373 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
1375 * testsuite/ld-elf/compressed1b.d: Pass
1376 --compress-debug-sections=none to ld.
1377 * testsuite/ld-elf/compressed1c.d: Likewise.
1379 2016-04-27 Alan Modra <amodra@gmail.com>
1382 * configure.tgt: Don't use var+=.
1384 2016-04-25 Nick Clifton <nickc@redhat.com>
1387 * configure.tgt: Include big endian PPC64 emulations with little
1388 endian PPC64 targets.
1390 2016-04-25 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1392 * scripttempl/avrtiny.sc (.text): Do not set LMA to zero.
1394 2016-04-21 Nick Clifton <nickc@redhat.com>
1396 * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in
1397 prefernce to _bfd_elf_link_check_relocs. Drop test for ELF
1398 targets. Do not stop the checks when problems are encountered.
1400 2016-04-21 Alan Modra <amodra@gmail.com>
1402 * testsuite/ld-scripts/cross3.t: Add commonly used data
1403 and text section names to output section statements.
1404 * testsuite/ld-scripts/cross4.t: Likewise.
1405 * testsuite/ld-scripts/cross5.t: Likewise.
1406 * testsuite/ld-scripts/cross6.t: Likewise.
1407 * testsuite/ld-scripts/cross7.t: Likewise.
1409 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1411 * ldlang.c (lang_check_relocs): New function.
1412 (lang_process): Call lang_check_relocs after lang_gc_sections.
1413 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
1414 call _bfd_elf_link_check_relocs here.
1416 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1419 * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for
1420 R_386_NONE or R_X86_64_NONE.
1422 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1424 * testsuite/ld-x86-64/pic1.d: New file.
1425 * testsuite/ld-x86-64/pic1.s: Likewise.
1426 * testsuite/ld-x86-64/x86-64.exp: Run pic1.
1428 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1430 * testsuite/ld-x86-64/pie2.d: New file.
1431 * testsuite/ld-x86-64/pie2.s: Likewise.
1432 * testsuite/ld-x86-64/x86-64.exp: Run pie2.
1434 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1437 * testsuite/ld-x86-64/pr19969.d: New file.
1438 * testsuite/ld-x86-64/pr19969a.S: Likewise.
1439 * testsuite/ld-x86-64/pr19969b.S: Likewise.
1440 * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests.
1442 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1444 * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1446 * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1448 * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1450 * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1452 * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1454 * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1456 * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1458 * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1460 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
1461 Set check_relocs_after_open_input to TRUE if
1462 CHECK_RELOCS_AFTER_OPEN_INPUT is yes.
1463 (gld${EMULATION_NAME}_after_open): Call
1464 _bfd_elf_link_check_relocs on all inputs if
1465 check_relocs_after_open_input is TRUE.
1467 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1469 * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
1472 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1474 * emultempl/scoreelf.em: Likewise.
1476 2016-04-19 H.J. Lu <hongjiu.lu@intel.com>
1479 * testsuite/ld-x86-64/pr19719.d: New file.
1480 * testsuite/ld-x86-64/pr19719.s: Likewise.
1481 * testsuite/ld-x86-64/x86-64.exp: Run pr19719.
1483 2016-04-18 Matthew Fortune <matthew.fortune@imgtec.com>
1485 * ld.texinfo: Document NOCROSSREFS_TO script command.
1486 * ldlang.h (struct lang_nocrossrefs): Add onlyfirst field.
1487 (lang_add_nocrossref_to): New prototype.
1488 * ldcref.c (check_local_sym_xref): Use onlyfirst to only look for
1489 symbols defined in the first section.
1490 (check_nocrossref): Likewise.
1491 * ldgram.y (NOCROSSREFS_TO): New script command.
1492 * ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE.
1493 (lang_add_nocrossref_to): New function.
1494 * ldlex.l (NOCROSSREFS_TO): New token.
1495 * NEWS: Mention NOCROSSREFS_TO.
1496 * testsuite/ld-scripts/cross4.t: New file.
1497 * testsuite/ld-scripts/cross5.t: Likewise.
1498 * testsuite/ld-scripts/cross6.t: Likewise.
1499 * testsuite/ld-scripts/cross7.t: Likewise.
1500 * testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO
1503 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
1505 * Makefile.in: Regenerated with automake 1.11.6.
1506 * aclocal.m4: Likewise.
1508 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
1510 * testsuite/ld-arc/arc.exp: New file.
1511 * testsuite/ld-arc/nps-1.s: New file.
1512 * testsuite/ld-arc/nps-1a.d: New file.
1513 * testsuite/ld-arc/nps-1b.d: New file.
1514 * testsuite/ld-arc/nps-1b.err: New file.
1516 2016-04-14 Nick Clifton <nickc@redhat.com>
1519 * testsuite/ld-scripts/script.exp (extract_symbol_test): Add
1520 exceptions for Mingw and Cygwin.
1522 2016-04-13 Andrew Burgess <andrew.burgess@embecosm.com>
1524 * testsuite/lib/ld-lib.exp (run_dump_test): Initialise
1527 2016-04-13 H.J. Lu <hongjiu.lu@intel.com>
1530 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before
1531 tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed
1534 2016-04-11 H.J. Lu <hongjiu.lu@intel.com>
1537 * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
1538 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1539 * testsuite/ld-i386/pr19939.s: New file.
1540 * testsuite/ld-i386/pr19939a.d: Likewise.
1541 * testsuite/ld-i386/pr19939b.d: Likewise.
1542 * testsuite/ld-x86-64/pr19939.s: Likewise.
1543 * testsuite/ld-x86-64/pr19939a.d: Likewise.
1544 * testsuite/ld-x86-64/pr19939b.d: Likewise.
1546 2016-04-09 Oleg Endo <olegendo@gcc.gnu.org>
1548 * emulparams/shelf.sh: Set stack area to 0x3FFFFF00.
1550 2016-04-08 Alan Modra <amodra@gmail.com>
1553 * ldlang.c (maybe_overlays): Delete.
1554 (lang_size_sections_1): Remove code setting maybe_overlays.
1555 (lang_check_section_addresses): Instead detect overlays by
1556 exact match of section VMAs here. Fix memory leak.
1558 2016-04-08 Dan Gisselquist <dgisselq@ieee.org>
1560 * ldlang.c (print_output_section_statement): Show minfo size
1561 in target machine address units.
1562 (print_reloc_statement): Likewise.
1563 (print_padding_statement): Likewise.
1564 (print_data_statement): Likewise. Ensure minimum print_dot
1565 increment of one address unit.
1567 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1569 * emulparams/arc-endianness.sh: Make little endian default choice.
1571 2016-04-07 Nick Clifton <nickc@redhat.com>
1573 * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in
1575 * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise.
1577 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
1579 * emulparams/arc-endianness.sh: New file.
1580 * emulparams/arcebelf.sh: Deleted.
1581 * emulparams/arcebelf_prof.sh: Deleted.
1582 * emulparams/arceblinux.sh: Deleted.
1583 * emulparams/arceblinux_prof.sh: Deleted.
1584 * emulparams/arcelf.sh: Include arc-endinness.sh.
1585 * emulparams/arcelf_prof.sh: Include arc-endinness.sh.
1586 * emulparams/arclinux.sh: Include arc-endinness.sh.
1587 * emulparams/arclinux_prof.sh: Include arc-endinness.sh.
1588 * emulparams/arcv2elf.sh: Include arc-endinness.sh.
1589 * emulparams/arcv2elfx.sh: Include arc-endinness.sh.
1590 * testsuite/ld-elf/compressed1d.d: Update pattern for big and
1591 little endian arc targets.
1592 * testsuite/ld-elf/eh-frame-hdr.d: Likewise.
1593 * testsuite/ld-elf/group1.d: Likewise.
1594 * testsuite/ld-elf/group3b.d: Likewise.
1595 * testsuite/ld-elf/group8a.d: Likewise.
1596 * testsuite/ld-elf/group8b.d: Likewise.
1597 * testsuite/ld-elf/group9a.d: Likewise.
1598 * testsuite/ld-elf/group9b.d: Likewise.
1599 * testsuite/ld-elf/linkonce2.d: Likewise.
1600 * testsuite/ld-elf/pr12851.d: Likewise.
1601 * testsuite/ld-elf/pr12975.d: Likewise.
1602 * testsuite/ld-elf/pr13177.d: Likewise.
1603 * testsuite/ld-elf/pr13195.d: Likewise.
1604 * testsuite/ld-elf/pr17615.d: Likewise.
1605 * testsuite/ld-elf/pr19162.d: Likewise.
1606 * testsuite/ld-elf/sec64k.exp: Likewise.
1607 * testsuite/lib/ld-lib.exp: Likewise.
1609 2016-04-05 Maciej W. Rozycki <macro@imgtec.com>
1612 * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol
1614 * testsuite/ld-cris/tls-e-20a.d: Likewise.
1615 * testsuite/ld-cris/tls-e-21.d: Likewise.
1616 * testsuite/ld-cris/tls-e-23.d: Likewise.
1617 * testsuite/ld-cris/tls-e-80.d: Likewise.
1618 * testsuite/ld-cris/tls-gd-3h.d: Likewise.
1619 * testsuite/ld-cris/tls-leie-19.d: Likewise.
1620 * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test.
1621 * testsuite/ld-mips-elf/export-hidden-ref.sd: New test.
1622 * testsuite/ld-mips-elf/export-internal-ref.sd: New test.
1623 * testsuite/ld-mips-elf/export-protected-ref.sd: New test.
1624 * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source.
1625 * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source.
1626 * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source.
1627 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1629 2016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
1631 * testsuite/ld-discard/extern.d: Removed xfail for ARC.
1632 * testsuite/ld-discard/start.d: Likewise.
1633 * testsuite/ld-discard/static.d: Likewise.
1634 * testsuite/ld-elf/group1.d: Likewise.
1635 * testsuite/ld-elf/group3b.d: Likewise.
1636 * testsuite/ld-elf/orphan-region.d: Likewise.
1637 * testsuite/ld-elf/orphan.d: Likewise.
1638 * testsuite/ld-elf/orphan3.d: Likewise.
1639 * testsuite/ld-elf/pr349.d: Likewise.
1640 * testsuite/ld-elf/warn1.d: Likewise.
1641 * testsuite/ld-elf/warn2.d: Likewise.
1642 * testsuite/ld-elf/warn3.d: Likewise.
1643 * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol
1644 through linker flags.
1645 * testsuite/ld-srec/srec.exp: Set as xfail.
1647 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
1650 * testsuite/ld-i386/pr19827-nacl.rd: New file.
1651 * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
1653 2016-04-04 Nick Clifton <nickc@redhat.com>
1656 * emultempl/pe.em (change_undef): New function. Encapsulates
1657 duplicated code in pe_fixup_stdcalls and adds the newly defined
1658 sym to the gc root list.
1659 (pe_fixup_stdcall): Use the new function.
1660 * pe-dll.c (process_def_file_and_drectve); Add alias of exported
1661 symbol to gc root list.
1663 2016-03-31 Alan Modra <amodra@gmail.com>
1665 * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.
1666 (lang_insert_orphan): Use TO_ADDR in __stop sym calculation.
1667 (print_input_section): Don't use TO_ADDR when printing section
1669 (lang_size_sections_1): Use TO_ADDR in overlay lma calculation.
1670 (lang_size_sections): Use TO_ADDR in relro end calculation.
1672 2016-03-30 Andrew Burgess <andrew.burgess@embecosm.com>
1674 * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return
1675 value from regexp_diff.
1676 * testsuite/ld-elf/orphan-5.l: Fix expected output.
1677 * testsuite/ld-elf/orphan-6.l: Likewise.
1679 2016-03-30 Alan Modra <amodra@gmail.com>
1682 * ldlang.c (maybe_overlays): New static var.
1683 (lang_size_sections_1): Set it here.
1684 (struct check_sec): New.
1685 (sort_sections_by_lma): Adjust for array of structs.
1686 (sort_sections_by_vma): New function.
1687 (lang_check_section_addresses): Check both LMA and VMA for overlap.
1688 * testsuite/ld-scripts/rgn-over7.d: Adjust.
1690 2016-03-30 Alan Modra <amodra@gmail.com>
1692 * ldlang.c (lang_size_sections_1): Correct code detecting a
1693 backward non-overlapping move.
1695 2016-03-30 Alan Modra <amodra@gmail.com>
1697 * ldlang.c (IS_TBSS): New macro, extracted from..
1698 (IGNORE_SECTION): ..here.
1699 (lang_size_sections_1): Use IS_TBSS and IGNORE_SECTION.
1700 (lang_size_sections, lang_do_assignments_1): Use IS_TBSS.
1702 2016-03-22 Nick Clifton <nickc@redhat.com>
1705 * ldlang.c (lang_add_gc_name): New function. Adds the provided
1706 symbol name to the list of gc symbols.
1707 (lang_process): Call lang_add_gc_name with entry_symbol_default if
1708 entry_symbol.name is NULL. Use lang_add_gc_name to add the init
1709 and fini function names.
1710 * pe-dll.c (process_def_file_and_drectve): Add exported names to
1712 * testsuite/ld-pe/pr19803.s: Do not export _testval symbol.
1713 * testsuite/ld-pe/pr19803.d: Tweak expected output.
1715 2016-03-22 Nick Clifton <nickc@redhat.com>
1717 * configure: Regenerate.
1719 2016-03-21 Nick Clifton <nickc@redhat.com>
1721 * emultempl/msp430.em: Replace use of alloca with call to xmalloc.
1722 * plugin.c: Likewise.
1723 * pe-dll.c: Likewise.
1725 2016-03-18 Awson <kyrab@mail.ru>
1728 * scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
1730 * scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.
1732 2016-03-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1734 * ld-avr/gc-section-debugline.d: Relax regex check for CU.
1736 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
1739 * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests.
1740 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1741 * testsuite/ld-i386/pr19827.rd: New file.
1742 * testsuite/ld-i386/pr19827a.S: Likewise.
1743 * testsuite/ld-i386/pr19827b.S: Likewise.
1744 * testsuite/ld-x86-64/pr19827.rd: Likewise.
1745 * testsuite/ld-x86-64/pr19827a.S: Likewise.
1746 * testsuite/ld-x86-64/pr19827b.S: Likewise.
1748 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
1751 * Makefile.am (ELF_X86_DEPS): Add
1752 $(srcdir)/emulparams/reloc_overflow.sh.
1753 * Makefile.in: Regenerated.
1754 * NEWS: Mention -z noreloc-overflow.
1755 * ld.texinfo: Document -z noreloc-overflow.
1756 * emulparams/elf32_x86_64.sh: Source
1757 ${srcdir}/emulparams/reloc_overflow.sh.
1758 * emulparams/elf_x86_64.sh: Likewise.
1759 * emulparams/reloc_overflow.sh: New file.
1760 * testsuite/ld-x86-64/pr19807-1.s: New file.
1761 * testsuite/ld-x86-64/pr19807-1a.d: Likewise.
1762 * testsuite/ld-x86-64/pr19807-1b.d: Likewise.
1763 * testsuite/ld-x86-64/pr19807-2.s: Likewise.
1764 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
1765 * testsuite/ld-x86-64/pr19807-2b.d: Likewise.
1766 * testsuite/ld-x86-64/pr19807-2c.d: Likewise.
1767 * testsuite/ld-x86-64/pr19807-2d.d: Likewise.
1768 * testsuite/ld-x86-64/pr19807-2e.d: Likewise.
1769 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19807 tests.
1771 2016-03-13 H.J. Lu <hongjiu.lu@intel.com>
1774 * testsuite/ld-i386/i386.exp: Run pr19539.
1775 * testsuite/ld-i386/pr19539.d: New file.
1776 * testsuite/ld-i386/pr19539.s: Likewise.
1777 * testsuite/ld-i386/pr19539.t: Likewise.
1778 * testsuite/ld-x86-64/pr19539.s: Likewise.
1779 * testsuite/ld-x86-64/pr19539.t: Likewise.
1780 * testsuite/ld-x86-64/pr19539a.d: Likewise.
1781 * testsuite/ld-x86-64/pr19539b.d: Likewise.
1782 * testsuite/ld-x86-64/x86-64.exp: Run pr19539a and pr19539b.
1784 2016-03-10 Mickael Guene <mickael.guene@st.com>
1787 * testsuite/ld-arm/arm-elf.exp: New tests.
1788 * testsuite/ld-arm/thumb1-adds-armv7-m.s: New.
1789 * testsuite/ld-arm/thumb1-movs-armv7-m.s: New.
1791 2016-03-10 Nick Clifton <nickc@redhat.com>
1793 * scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).
1795 2016-03-09 Pedro Alves <palves@redhat.com>
1797 * scripttempl/v850.sc: Use "v850:old-gcc-abi" as OUTPUT_ARCH.
1798 * scripttempl/v850_rh850.sc: Use "v850:rh850" as OUTPUT_ARCH.
1800 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
1803 * testsuite/ld-elf/pr19789.d: New file.
1804 * testsuite/ld-elf/pr19789.s: Likewise.
1806 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
1809 * testsuite/ld-i386/i386.exp: Remove pr19636-2e-nacl test.
1810 * testsuite/ld-i386/pr19636-2e-nacl.d: Moved to ...
1811 * testsuite/ld-i386/pr19636-2e.d: Here. Remove notarget.
1812 * testsuite/ld-ifunc/ifunc.exp: Run PR ld/19784 tests.
1813 * testsuite/ld-ifunc/pass.out: New file.
1814 * testsuite/ld-ifunc/pr19784a.c: Likewise.
1815 * testsuite/ld-ifunc/pr19784b.c: Likewise.
1816 * testsuite/ld-ifunc/pr19784c.c: Likewise.
1818 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
1821 * testsuite/ld-ifunc/ifunc.exp: Link tmpdir/pr18808a.o before
1822 tmpdir/libpr18808.so. Link tmpdir/pr18841a.o before
1823 tmpdir/libpr18841b.so and tmpdir/libpr18841c.so. Test
1824 --as-needed for pr18841c.
1826 2016-03-07 H.J. Lu <hongjiu.lu@intel.com>
1829 * testsuite/ld-i386/i386.exp: Link tmpdir/pr18900.o before
1830 tmpdir/pr18900.so and test --as-needed. Link tmpdir/gotpc1.o
1831 before tmpdir/got1d.so and test --as-needed.
1832 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr18900.o before
1833 tmpdir/pr18900.so and test --as-needed.
1835 2016-03-07 Jiong Wang <jiong.wang@arm.com>
1837 * testsuite/ld-aarch64/implicit_got_section_1.s: New test source file.
1838 * testsuite/ld-aarch64/implicit_got_section_1.d: New test expected
1840 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
1842 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
1844 * testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o
1845 before tmpdir/copyreloc-lib.so and test --as-needed.
1846 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1848 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
1851 * testsuite/ld-elf/pr19579a.c: New file.
1852 * testsuite/ld-elf/pr19579b.c: Likewise.
1853 * testsuite/ld-elf/shared.exp: Run PR ld/19579 test.
1855 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1857 * testsuite/ld-elf/pr19162.d: Skip hppa-*-*.
1859 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1861 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Add xfails.
1862 Xfail mix_pic_and_non_pic on "arm*-*-*" "aarch64*-*-*".
1864 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1867 * emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other
1868 input sections for relocatable link.
1869 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1870 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1872 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
1875 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
1876 merge flags of other input sections for relocatable link.
1878 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
1880 * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6.
1882 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
1884 * testsuite/ld-elf/pr19162.d: Skip arc target.
1886 2016-02-29 H.J. Lu <hongjiu.lu@intel.com>
1889 * testsuite/ld-elf/pr19162.d: New file.
1890 * testsuite/ld-elf/pr19162a.s: Likwise.
1891 * testsuite/ld-elf/pr19162b.s: Likwise.
1893 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
1895 * testsuite/ld-elf/merge.d: Removed xfail for ARC.
1896 * testsuite/ld-elf/merge2.d: Likewise.
1897 * testsuite/ld-elf/merge3.d: Likewise.
1899 2016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
1901 * scripttempl/arclinux.sc: Force .tdata and .tbss to always be
1904 2016-02-26 Renlin Li <renlin.li@arm.com>
1906 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
1907 * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
1908 * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
1909 * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
1910 * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
1911 * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
1912 * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
1913 * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
1914 * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
1915 * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.
1917 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1920 * testsuite/ld-i386/got1.dd: Updated.
1921 * testsuite/ld-i386/lea1c.d: Likewise.
1922 * testsuite/ld-i386/load1-nacl.d: Likewise.
1923 * testsuite/ld-i386/load1.d: Likewise.
1924 * testsuite/ld-i386/load4b.d: Likewise.
1925 * testsuite/ld-i386/load5b.d: Likewise.
1926 * testsuite/ld-i386/mov1b.d: Likewise.
1927 * testsuite/ld-x86-64/mov1b.d: Likewise.
1928 * testsuite/ld-x86-64/mov1d.d: Likewise.
1929 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
1930 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1931 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
1932 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1933 * testsuite/ld-x86-64/gotpcrel1.dd: Likewise.
1934 * testsuite/ld-x86-64/lea1a.d: Likewise.
1935 * testsuite/ld-x86-64/lea1b.d: Likewise.
1936 * testsuite/ld-x86-64/lea1c.d: Likewise.
1937 * testsuite/ld-x86-64/lea1d.d: Likewise.
1938 * testsuite/ld-x86-64/lea1e.d: Likewise.
1939 * testsuite/ld-x86-64/lea1f.d: Likewise.
1940 * testsuite/ld-x86-64/mov1b.d: Likewise.
1941 * testsuite/ld-x86-64/mov1d.d: Likewise.
1942 * testsuite/ld-x86-64/pr13082-3b.d: Likewise.
1943 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
1944 * testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
1945 * testsuite/ld-i386/pr19609-1.s: New file.
1946 * testsuite/ld-i386/pr19609-1a.d: Likewise.
1947 * testsuite/ld-i386/pr19609-1b.d: Likewise.
1948 * testsuite/ld-i386/pr19609-1c.d: Likewise.
1949 * testsuite/ld-i386/pr19609-1d.d: Likewise.
1950 * testsuite/ld-i386/pr19609-1e.d: Likewise.
1951 * testsuite/ld-i386/pr19609-1f.d: Likewise.
1952 * testsuite/ld-i386/pr19609-1g.d: Likewise.
1953 * testsuite/ld-i386/pr19609-1h.d: Likewise.
1954 * testsuite/ld-i386/pr19609-1i.d: Likewise.
1955 * testsuite/ld-i386/pr19609-2.s: Likewise.
1956 * testsuite/ld-i386/pr19609-2a.d: Likewise.
1957 * testsuite/ld-i386/pr19609-2b.d: Likewise.
1958 * testsuite/ld-i386/pr19609-2c.d: Likewise.
1959 * testsuite/ld-i386/undefweak.s: Likewise.
1960 * testsuite/ld-i386/undefweaka.d: Likewise.
1961 * testsuite/ld-i386/undefweakb.d: Likewise.
1962 * testsuite/ld-x86-64/pr13082-3c.d: Likewise.
1963 * testsuite/ld-x86-64/pr13082-3d.d: Likewise.
1964 * testsuite/ld-x86-64/pr19609-1.s: Likewise.
1965 * testsuite/ld-x86-64/pr19609-1a.d: Likewise.
1966 * testsuite/ld-x86-64/pr19609-1b.d: Likewise.
1967 * testsuite/ld-x86-64/pr19609-1c.d: Likewise.
1968 * testsuite/ld-x86-64/pr19609-1d.d: Likewise.
1969 * testsuite/ld-x86-64/pr19609-1e.d: Likewise.
1970 * testsuite/ld-x86-64/pr19609-1f.d: Likewise.
1971 * testsuite/ld-x86-64/pr19609-1g.d: Likewise.
1972 * testsuite/ld-x86-64/pr19609-1h.d: Likewise.
1973 * testsuite/ld-x86-64/pr19609-1i.d: Likewise.
1974 * testsuite/ld-x86-64/pr19609-1j.d: Likewise.
1975 * testsuite/ld-x86-64/pr19609-1k.d: Likewise.
1976 * testsuite/ld-x86-64/pr19609-1l.d: Likewise.
1977 * testsuite/ld-x86-64/pr19609-1m.d: Likewise.
1978 * testsuite/ld-x86-64/pr19609-2.s: Likewise.
1979 * testsuite/ld-x86-64/pr19609-2a.d: Likewise.
1980 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
1981 * testsuite/ld-x86-64/pr19609-2c.d: Likewise.
1982 * testsuite/ld-x86-64/pr19609-2d.d: Likewise.
1983 * testsuite/ld-x86-64/pr19609-3.s: Likewise.
1984 * testsuite/ld-x86-64/pr19609-3a.d: Likewise.
1985 * testsuite/ld-x86-64/pr19609-3b.d: Likewise.
1986 * testsuite/ld-x86-64/pr19609-4.s: Likewise.
1987 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
1988 * testsuite/ld-x86-64/pr19609-4b.d: Likewise.
1989 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
1990 * testsuite/ld-x86-64/pr19609-4d.d: Likewise.
1991 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
1992 * testsuite/ld-x86-64/pr19609-5.s: Likewise.
1993 * testsuite/ld-x86-64/pr19609-5a.d: Likewise.
1994 * testsuite/ld-x86-64/pr19609-5b.d: Likewise.
1995 * testsuite/ld-x86-64/pr19609-5c.d: Likewise.
1996 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
1997 * testsuite/ld-x86-64/pr19609-5e.d: Likewise.
1998 * testsuite/ld-x86-64/pr19609-6.s: Likewise.
1999 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
2000 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
2001 * testsuite/ld-x86-64/pr19609-6c.d: Likewise.
2002 * testsuite/ld-x86-64/pr19609-6d.d: Likewise.
2003 * testsuite/ld-x86-64/pr19609-7.s: Likewise.
2004 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
2005 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
2006 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
2007 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
2008 * testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
2010 * testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
2011 and tests for PR ld/19609.
2013 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
2016 * NEWS: Mention -z common/-z nocommon for ELF targets.
2017 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
2018 -z common and -z nocommon.
2019 * ld.texinfo: Document -z common/-z nocommon.
2020 * lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
2021 * testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
2022 --elf-stt-common=yes with assembler.
2023 * testsuite/ld-elfcomm/common-1.s: New file.
2024 * testsuite/ld-elfcomm/common-1a.d: Likewise.
2025 * testsuite/ld-elfcomm/common-1b.d: Likewise.
2026 * testsuite/ld-elfcomm/common-1c.d: Likewise.
2027 * testsuite/ld-elfcomm/common-1d.d: Likewise.
2028 * testsuite/ld-elfcomm/common-1e.d: Likewise.
2029 * testsuite/ld-elfcomm/common-1f.d: Likewise.
2030 * testsuite/ld-elfcomm/common-2.s: Likewise.
2031 * testsuite/ld-elfcomm/common-2a.d: Likewise.
2032 * testsuite/ld-elfcomm/common-2b.d: Likewise.
2033 * testsuite/ld-elfcomm/common-2c.d: Likewise.
2034 * testsuite/ld-elfcomm/common-2d.d: Likewise.
2035 * testsuite/ld-elfcomm/common-2e.d: Likewise.
2036 * testsuite/ld-elfcomm/common-2f.d: Likewise.
2037 * testsuite/ld-elfcomm/common-3a.rd: Likewise.
2038 * testsuite/ld-elfcomm/common-3b.rd: Likewise.
2039 * testsuite/ld-i386/pr19645.d: Likewise.
2040 * testsuite/ld-i386/pr19645.s: Likewise.
2041 * testsuite/ld-x86-64/largecomm-1.s: Likewise.
2042 * testsuite/ld-x86-64/largecomm-1a.d: Likewise.
2043 * testsuite/ld-x86-64/largecomm-1b.d: Likewise.
2044 * testsuite/ld-x86-64/largecomm-1c.d: Likewise.
2045 * testsuite/ld-x86-64/largecomm-1d.d: Likewise.
2046 * testsuite/ld-x86-64/largecomm-1e.d: Likewise.
2047 * testsuite/ld-x86-64/largecomm-1f.d: Likewise.
2048 * testsuite/ld-x86-64/pr19645.d: Likewise.
2049 * testsuite/ld-x86-64/pr19645.s: Likewise.
2050 * testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
2052 (assembler_generates_commons): Removed.
2053 Run -z common/-z nocommon tests. Run *.d tests.
2054 * testsuite/ld-i386/i386.exp: Run pr19645.
2055 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2056 * testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
2057 assembler. Test STT_COMMON with readelf.
2059 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
2064 * Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh.
2065 * Makefile.in: Regenerated.
2066 * NEWS: Mention -z nodynamic-undefined-weak.
2067 * ld.texinfo: Document -z nodynamic-undefined-weak.
2068 * ldmain.c (main): Initialize dynamic_undefined_weak to -1.
2069 * emulparams/dynamic_undefined_weak.sh: New file.
2070 * emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh.
2071 * emulparams/elf_i386.sh: Likewise.
2072 * emulparams/elf_i386_be.sh: Likewise.
2073 * emulparams/elf_i386_chaos.sh: Likewise.
2074 * emulparams/elf_i386_ldso.sh: Likewise.
2075 * emulparams/elf_i386_vxworks.sh: Likewise.
2076 * emulparams/elf_iamcu.sh: Likewise.
2077 * emulparams/elf_k1om.sh: Likewise.
2078 * emulparams/elf_l1om.sh: Likewise.
2079 * emulparams/elf_x86_64.sh: Likewise.
2080 * emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS):
2082 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
2083 * testsuite/ld-elf/pr19719a.c: New file.
2084 * testsuite/ld-elf/pr19719b.c: Likewise.
2085 * testsuite/ld-elf/pr19719c.c: Likewise.
2086 * testsuite/ld-elf/pr19719d.c: Likewise.
2087 * testsuite/ld-i386/pr19636-1.s: Likewise.
2088 * testsuite/ld-i386/pr19636-1a.d: Likewise.
2089 * testsuite/ld-i386/pr19636-1b.d: Likewise.
2090 * testsuite/ld-i386/pr19636-1c.d: Likewise.
2091 * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
2092 * testsuite/ld-i386/pr19636-1d.d: Likewise.
2093 * testsuite/ld-i386/pr19636-1e.d: Likewise.
2094 * testsuite/ld-i386/pr19636-1f.d: Likewise.
2095 * testsuite/ld-i386/pr19636-1g.d: Likewise.
2096 * testsuite/ld-i386/pr19636-1h.d: Likewise.
2097 * testsuite/ld-i386/pr19636-1i.d: Likewise.
2098 * testsuite/ld-i386/pr19636-2.s: Likewise.
2099 * testsuite/ld-i386/pr19636-2a.d: Likewise.
2100 * testsuite/ld-i386/pr19636-2b.d: Likewise.
2101 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
2102 * testsuite/ld-i386/pr19636-2c.d: Likewise.
2103 * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
2104 * testsuite/ld-i386/pr19636-2d.d: Likewise.
2105 * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
2106 * testsuite/ld-i386/pr19636-2e.d: Likewise.
2107 * testsuite/ld-i386/pr19636-3.s: Likewise.
2108 * testsuite/ld-i386/pr19636-3a.d: Likewise.
2109 * testsuite/ld-i386/pr19636-3b.d: Likewise.
2110 * testsuite/ld-i386/pr19636-3c.d: Likewise.
2111 * testsuite/ld-i386/pr19636-3d.d: Likewise.
2112 * testsuite/ld-i386/pr19636-3e.d: Likewise.
2113 * testsuite/ld-i386/pr19636-3f.d: Likewise.
2114 * testsuite/ld-i386/pr19636-3g.d: Likewise.
2115 * testsuite/ld-i386/pr19636-4.s: Likewise.
2116 * testsuite/ld-i386/pr19636-4a.d: Likewise.
2117 * testsuite/ld-i386/pr19636-4b.d: Likewise.
2118 * testsuite/ld-i386/pr19636-4c.d: Likewise.
2119 * testsuite/ld-i386/pr19636-4d.d: Likewise.
2120 * testsuite/ld-i386/pr19704.out: Likewise.
2121 * testsuite/ld-i386/pr19704a.c: Likewise.
2122 * testsuite/ld-i386/pr19704b.c: Likewise.
2123 * testsuite/ld-x86-64/pr19636-1.s: Likewise.
2124 * testsuite/ld-x86-64/pr19636-1a.d: Likewise.
2125 * testsuite/ld-x86-64/pr19636-1b.d: Likewise.
2126 * testsuite/ld-x86-64/pr19636-1c.d: Likewise.
2127 * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
2128 * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
2129 * testsuite/ld-x86-64/pr19636-1f.d: Likewise.
2130 * testsuite/ld-x86-64/pr19636-1g.d: Likewise.
2131 * testsuite/ld-x86-64/pr19636-2.s: Likewise.
2132 * testsuite/ld-x86-64/pr19636-2a.d: Likewise.
2133 * testsuite/ld-x86-64/pr19636-2b.d: Likewise.
2134 * testsuite/ld-x86-64/pr19636-2c.d: Likewise.
2135 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
2136 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
2137 * testsuite/ld-x86-64/pr19636-2e.d: Likewise.
2138 * testsuite/ld-x86-64/pr19636-2f.d: Likewise.
2139 * testsuite/ld-x86-64/pr19636-2g.d: Likewise.
2140 * testsuite/ld-x86-64/pr19636-2h.d: Likewise.
2141 * testsuite/ld-x86-64/pr19636-2i.d: Likewise.
2142 * testsuite/ld-x86-64/pr19636-3.s: Likewise.
2143 * testsuite/ld-x86-64/pr19636-3a.d: Likewise.
2144 * testsuite/ld-x86-64/pr19636-3b.d: Likewise.
2145 * testsuite/ld-x86-64/pr19636-3c.d: Likewise.
2146 * testsuite/ld-x86-64/pr19636-3d.d: Likewise.
2147 * testsuite/ld-x86-64/pr19704.out: Likewise.
2148 * testsuite/ld-x86-64/pr19704a.c: Likewise.
2149 * testsuite/ld-x86-64/pr19704b.c: Likewise.
2150 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New.
2151 Run mix_pic_and_non_pic.
2152 * testsuite/ld-i386/i386.exp (undefined_weak): New.
2153 Run undefined_weak and PR ld/19636 tests.
2154 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2155 * testsuite/ld-x86-64/pr13082-3b.d: Updated.
2156 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
2158 2016-02-25 Nick Clifton <nickc@redhat.com>
2160 * ld.h (struct ld_config_type): Remove specified_data_size field.
2162 2016-02-24 H.J. Lu <hongjiu.lu@intel.com>
2165 * testsuite/ld-elf/pr19698.d: New file.
2166 * testsuite/ld-elf/pr19698.s: Likewise.
2167 * testsuite/ld-elf/pr19698.t: Likewise.
2169 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
2171 * Makefile.am (ELF_X86_DEPS): New.
2172 (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS).
2173 (eelf_i386_chaos.c): Likewise.
2174 (eelf_i386_fbsd.c): Likewise.
2175 (eelf_i386_ldso.c): Likewise.
2176 (eelf_i386_nacl.c): Likewise.
2177 (eelf_i386_sol2.c): Likewise.
2178 (eelf_iamcu.c): Likewise.
2179 (eelf32_x86_64.c): Likewise.
2180 (eelf32_x86_64_nacl.c): Likewise.
2181 (eelf_l1om.c): Likewise.
2182 (eelf_l1om_fbsd.c): Likewise.
2183 (eelf_k1om.c): Likewise.
2184 (eelf_k1om_fbsd.c): Likewise.
2185 (eelf_x86_64.c): Likewise.
2186 (eelf_x86_64_cloudabi.c): Likewise.
2187 (eelf_x86_64_fbsd.c): Likewise.
2188 (eelf_x86_64_sol2.c): Likewise.
2189 * Makefile.in: Regenerated.
2191 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
2193 * testsuite/ld-frv/fdpic-pie-6.d: Updated.
2194 * testsuite/ld-mips-elf/pie-n32.d: Likewise.
2195 * testsuite/ld-mips-elf/pie-n64.d: Likewise.
2196 * testsuite/ld-mips-elf/pie-o32.d: Likewise.
2198 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
2200 * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
2202 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
2204 * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
2205 *-*-gnu* and *-*-solaris*.
2206 * testsuite/ld-elf/pr19617b.d: Likewise.
2207 * testsuite/ld-elf/pr19617c.d: Likewise.
2209 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
2212 * testsuite/ld-elf/pr19617.s: New file.
2213 * testsuite/ld-elf/pr19617a.d: Likewise.
2214 * testsuite/ld-elf/pr19617b.d: Likewise.
2215 * testsuite/ld-elf/pr19617c.d: Likewise.
2217 2016-02-18 Nick Clifton <nickc@redhat.com>
2219 * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
2220 in-tree xg++ executable after checking for the presence of an
2221 in-tree g++ executable.
2222 * Makefile.in: Regenerate.
2224 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
2226 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
2227 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
2228 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
2230 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
2232 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
2233 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
2234 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
2235 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
2236 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
2237 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
2238 * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
2239 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
2240 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
2241 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
2242 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
2243 * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
2244 * testsuite/ld-x86-64/load1c.d: Likewise.
2245 * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
2246 * testsuite/ld-x86-64/load1d.d: Likewise.
2247 * testsuite/ld-x86-64/pr14207.d: Likewise.
2248 * testsuite/ld-x86-64/pr19162.d: Likewise.
2249 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
2250 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
2251 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
2252 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
2253 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
2254 * testsuite/ld-x86-64/tlspic.rd: Likewise.
2256 2016-02-17 Nick Clifton <nickc@redhat.com>
2258 * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
2260 2016-02-15 Nick Clifton <nickc@redhat.com>
2262 * testsuite/ld-i386/pr12718.d: Remove dependency upon the
2263 description of the flags produced by readelf.
2264 * testsuite/ld-i386/pr12921.d: Likewise.
2265 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
2266 * testsuite/ld-i386/tlsbin.rd: Likewise.
2267 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
2268 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
2269 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
2270 * testsuite/ld-i386/tlsdesc.rd: Likewise.
2271 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
2272 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
2273 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
2274 * testsuite/ld-i386/tlsnopic.rd: Likewise.
2275 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
2276 * testsuite/ld-i386/tlspic.rd: Likewise.
2277 * testsuite/ld-s390/tlsbin.rd: Likewise.
2278 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
2279 * testsuite/ld-s390/tlspic.rd: Likewise.
2280 * testsuite/ld-s390/tlspic_64.rd: Likewise.
2281 * testsuite/ld-sh/tlsbin-2.d: Likewise.
2282 * testsuite/ld-sh/tlspic-2.d: Likewise.
2283 * testsuite/ld-tic6x/common.d: Likewise.
2284 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
2285 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
2286 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
2287 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
2288 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
2289 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
2290 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
2291 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
2292 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
2293 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
2294 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
2295 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
2296 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
2297 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
2298 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
2299 * testsuite/ld-x86-64/pr12718.d: Likewise.
2300 * testsuite/ld-x86-64/pr12921.d: Likewise.
2301 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
2302 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
2303 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
2304 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
2305 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
2306 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
2307 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
2308 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
2309 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
2310 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
2311 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
2312 * testsuite/ld-x86-64/tlspic.rd: Likewise.
2313 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
2314 * testsuite/ld-xtensa/tlspic.rd: Likewise.
2316 2016-02-11 H.J. Lu <hongjiu.lu@intel.com>
2319 * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
2321 * lexsup.c (parse_args): Enable -Bsymbolic and
2322 -Bsymbolic-functions for PIE.
2323 * testsuite/ld-i386/i386.exp: Run pr19615.
2324 * testsuite/ld-i386/pr19615.d: New file.
2325 * testsuite/ld-i386/pr19615.s: Likewise.
2326 * testsuite/ld-x86-64/pr19615.d: Likewise.
2327 * testsuite/ld-x86-64/pr19615.s: Likewise.
2329 2016-02-09 Nick Clifton <nickc@redhat.com>
2331 * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
2332 * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
2333 * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
2334 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
2336 2016-02-04 Nick Clifton <nickc@redhat.com>
2338 * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
2339 * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
2340 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
2341 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
2342 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
2343 * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
2344 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
2345 * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
2346 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
2348 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2351 * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
2352 * testsuite/ld-i386/call1.d: Likewise.
2353 * testsuite/ld-i386/call2.d: Likewise.
2354 * testsuite/ld-i386/call3a.d: Likewise.
2355 * testsuite/ld-i386/call3b.d: Likewise.
2356 * testsuite/ld-i386/call3c.d: Likewise.
2357 * testsuite/ld-i386/call3d.d: Likewise.
2358 * testsuite/ld-i386/call3e.d: Likewise.
2359 * testsuite/ld-i386/call3f.d: Likewise.
2360 * testsuite/ld-i386/call3g.d: Likewise.
2361 * testsuite/ld-i386/call3h.d: Likewise.
2362 * testsuite/ld-i386/jmp1.d: Likewise.
2363 * testsuite/ld-i386/jmp2.d: Likewise.
2364 * testsuite/ld-i386/lea1c.d: Likewise.
2365 * testsuite/ld-i386/load1.d: Likewise.
2366 * testsuite/ld-i386/load2.d: Likewise.
2367 * testsuite/ld-i386/load3.d: Likewise.
2368 * testsuite/ld-i386/load4a.d: Likewise.
2369 * testsuite/ld-i386/load5a.d: Likewise.
2370 * testsuite/ld-i386/mov2b.d: Likewise.
2371 * testsuite/ld-i386/mov3.d: Likewise.
2372 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
2373 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
2374 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
2375 * testsuite/ld-x86-64/call1a.d: Likewise.
2376 * testsuite/ld-x86-64/call1b.d: Likewise.
2377 * testsuite/ld-x86-64/call1c.d: Likewise.
2378 * testsuite/ld-x86-64/call1d.d: Likewise.
2379 * testsuite/ld-x86-64/call1e.d: Likewise.
2380 * testsuite/ld-x86-64/call1f.d: Likewise.
2381 * testsuite/ld-x86-64/call1h.d: Likewise.
2382 * testsuite/ld-x86-64/call1i.d: Likewise.
2383 * testsuite/ld-x86-64/load1a.d: Likewise.
2384 * testsuite/ld-x86-64/load1b.d: Likewise.
2385 * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
2386 * testsuite/ld-i386/got1.dd: Updated.
2387 * testsuite/ld-i386/got1d.S (1): Removed.
2388 * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
2389 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2391 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
2394 * testsuite/ld-x86-64/pr18591.d: New file.
2395 * testsuite/ld-x86-64/pr18591.s: Likewise.
2396 * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
2398 2016-02-01 H.J. Lu <hongjiu.lu@intel.com>
2401 * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
2402 * testsuite/ld-elf/pr19553.map: New file.
2403 * testsuite/ld-elf/pr19553.map: Likewise.
2404 * testsuite/ld-elf/pr19553a.c: Likewise.
2405 * testsuite/ld-elf/pr19553b.c: Likewise.
2406 * testsuite/ld-elf/pr19553b.out: Likewise.
2407 * testsuite/ld-elf/pr19553c.c: Likewise.
2408 * testsuite/ld-elf/pr19553c.out: Likewise.
2409 * testsuite/ld-elf/pr19553d.c: Likewise.
2410 * testsuite/ld-elf/pr19553d.out: Likewise.
2412 2016-01-30 H.J. Lu <hongjiu.lu@intel.com>
2415 * testsuite/ld-elf/pr19539.d: New file.
2416 * testsuite/ld-elf/pr19539.s: Likewise.
2417 * testsuite/ld-elf/pr19539.t: Likewise.
2419 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
2422 * configure.ac (compressed_debug_sections): Replace == with =.
2423 * configure: Regenerated.
2425 2016-01-22 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2427 * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
2428 * scripttempl/avrtiny.sc (.noinit): Likewise.
2430 2016-01-21 Nick Clifton <nickc@redhat.com>
2433 * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
2434 the arm-netbsdelf target.
2437 * testsuite/ld-arm/vxworks1-lib.dd: Update for current
2438 disassmebler output.
2439 * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
2440 * testsuite/ld-arm/vxworks1.dd: Likewise.
2441 * testsuite/ld-arm/vxworks1.rd: Likewise.
2442 * testsuite/ld-arm/vxworks1.ld: Set the output format.
2444 2016-01-20 Jiong Wang <jiong.wang@arm.com>
2446 * testsuite/ld-aarch64/farcall-section.d: Delete.
2447 * testsuite/ld-aarch64/farcall-section.s: Delete.
2448 * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
2449 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
2450 * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
2451 * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
2452 * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
2454 2016-01-20 Nick Clifton <nickc@redhat.com>
2457 * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
2458 early for PE based targets.
2459 * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
2460 * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
2462 2016-01-20 Mickael Guene <mickael.guene@st.com>
2464 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
2465 Add 'y' attribute usage.
2466 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
2467 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
2468 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
2470 2016-01-19 Nick Clifton <nickc@redhat.com>
2472 * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
2473 foo@FOO and bar@@FOO.
2475 2016-01-18 Alan Modra <amodra@gmail.com>
2477 * configure: Regenerate.
2479 2016-01-18 Nick Clifton <nickc@redhat.com>
2481 * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
2482 is not configured to support plugins.
2484 * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
2485 but with 16 byte section alignment.
2486 * testsuite/ld-scripts/rgn-at11.d: Use new source file. Reenable
2487 test for MIPS targets.
2489 2016-01-17 Alan Modra <amodra@gmail.com>
2491 * configure: Regenerate.
2493 2016-01-17 Alan Modra <amodra@gmail.com>
2495 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
2496 * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
2497 * testsuite/ld-elf/pr14156a.d: Likewise.
2498 * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
2499 * testsuite/ld-elf/sec64k.exp: Likewise.
2501 2016-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
2503 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
2504 Set address of .foo section when linking.
2505 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
2507 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
2508 output to the above changes.
2510 2016-01-13 Nick Clifton <nickc@redhat.com>
2512 * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
2515 * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
2516 fail for MIPS targets.
2518 * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
2521 2016-01-12 Yury Usishchev <y.usishchev@samsung.com>
2523 * testsuite/ld-arm/arm-elf.exp: New test.
2524 * testsuite/ld-arm/unwind-mix.d: New file.
2525 * testsuite/ld-arm/unwind-mix1.s: New file.
2526 * testsuite/ld-arm/unwind-mix2.s: New file.
2528 2016-01-08 Jiong Wang <jiong.wang@arm.com>
2531 * testsuite/ld-arm/ifunc-3.rd: Update expected result.
2532 * testsuite/ld-arm/ifunc-4.rd: Likewise.
2533 * testsuite/ld-arm/ifunc-9.rd: Likewise.
2534 * testsuite/ld-arm/ifunc-10.rd: Likewise.
2535 * testsuite/ld-arm/ifunc-12.rd: Likewise.
2536 * testsuite/ld-arm/ifunc-13.rd: Likewise.
2538 2016-01-05 Nick Clifton <nickc@redhat.com>
2540 * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
2541 MSP430 hardware multiply address range.
2542 * scripttempl/elf32msp430.sc (__romdatastart): Define.
2543 (__romdatacopysize): Define.
2544 * scripttempl/elf32msp430_3.sc: Likewise.
2546 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
2548 * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
2549 OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
2551 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
2553 * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
2554 messages expected according to MIPS BFD private data merge
2556 * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
2557 * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
2558 * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
2559 * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
2560 * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
2561 * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
2562 * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
2563 * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
2564 * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
2565 * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
2566 * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
2567 * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
2568 * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
2570 2016-01-01 Alan Modra <amodra@gmail.com>
2572 Update year range in copyright notice of all files.
2574 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
2576 Copyright (C) 2016 Free Software Foundation, Inc.
2578 Copying and distribution of this file, with or without modification,
2579 are permitted in any medium without royalty provided the copyright
2580 notice and this notice are preserved.
2586 version-control: never