1 2016-07-20 Alan Modra <amodra@gmail.com>
3 * ldexp.c (exp_unop, exp_binop, exp_trinop, exp_nameop): Don't
5 * testsuite/ld-elf/maxpage3b.d: Expect correct maxpagesize.
7 2016-07-19 Roland McGrath <roland@hack.frob.com>
9 * emulparams/aarch64elf.sh (GENERATE_PIE_SCRIPT): Set to yes.
10 * emulparams/aarch64elf32.sh: Likewise.
12 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
14 * testsuite/ld-mips-elf/unaligned-branch-2.d: Update error
16 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: Likewise.
17 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: Likewise.
18 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: Likewise.
19 * testsuite/ld-mips-elf/bal-jalx-addend.d: New test.
20 * testsuite/ld-mips-elf/bal-jalx-local.d: New test.
21 * testsuite/ld-mips-elf/bal-jalx-pic.d: New test.
22 * testsuite/ld-mips-elf/bal-jalx-addend-n32.d: New test.
23 * testsuite/ld-mips-elf/bal-jalx-local-n32.d: New test.
24 * testsuite/ld-mips-elf/bal-jalx-pic-n32.d: New test.
25 * testsuite/ld-mips-elf/bal-jalx-addend-n64.d: New test.
26 * testsuite/ld-mips-elf/bal-jalx-local-n64.d: New test.
27 * testsuite/ld-mips-elf/bal-jalx-pic-n64.d: New test.
28 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
29 * testsuite/ld-mips-elf/unaligned-jalx-3.d: New test.
30 * testsuite/ld-mips-elf/unaligned-jalx-addend-2.d: New test.
31 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d: New test.
32 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
33 * testsuite/ld-mips-elf/unaligned-jalx-3.s: New test source.
34 * testsuite/ld-mips-elf/unaligned-jalx-addend-2.s: New test
36 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.s: New test
38 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
40 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
42 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error message
44 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: Likewise.
45 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d:
47 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d:
49 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
50 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
51 * testsuite/ld-mips-elf/undefweak-overflow.s: Add jumps,
52 microMIPS BAL and MIPS16 instructions.
53 * testsuite/ld-mips-elf/undefweak-overflow.d: Update
55 * testsuite/ld-mips-elf/unaligned-branch-2.d: New test.
56 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: New test.
57 * testsuite/ld-mips-elf/unaligned-branch-r6-2.d: New test.
58 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: New test.
59 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: New test.
60 * testsuite/ld-mips-elf/unaligned-jump-mips16.d: New test.
61 * testsuite/ld-mips-elf/unaligned-jump-micromips.d: New test.
62 * testsuite/ld-mips-elf/unaligned-jump.d: New test.
63 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
65 2016-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
67 * plugin.c (plugin_call_claim_file): Restore the file offset after
68 an unsuccessful attempt to claim a file.
69 * testplug.c (bytes_to_read_before_claim): New global.
70 (record_read_length): New function, sets new global
71 bytes_to_read_before_claim.
72 (parse_option): Handle 'read:<NUMBER>' option.
73 (onclaim_file): Read file content before checking for claim.
74 * testsuite/ld-plugin/plugin-30.d: New file.
75 * testsuite/ld-plugin/plugin.exp: Add new test.
77 2016-07-16 Alan Modra <amodra@gmail.com>
79 * plugin.c: Don't include libbfd.h. Include plugin-api.h
81 (plugin_object_p): Use bfd_plugin_open_input.
83 2016-07-16 Alan Modra <amodra@gmail.com>
85 * ldlang.c (open_output): Replace bfd_search_for_target with
86 bfd_iterate_over_targets. Localize vars.
88 2016-07-16 Alan Modra <amodra@gmail.com>
90 * ldlang.c: Don't include libbfd.h.
91 * emultempl/nds32elf.em: Likewise.
92 * emultempl/ppc64elf.em: Likewise.
93 * emultempl/ppc32elf.em: Likewise.
95 (params): Update init.
96 (ppc_after_open_output): Use params.pagesize. Don't call bfd_log2.
97 (PARSE_AND_LIST_ARGS_CASES): Use params.pagesize.
98 * emultempl/sh64elf.em: Don't include libbfd.h.
99 (after_allocation): Use ASSERT, not BFD_ASSERT.
100 * emultempl/xtensaelf.em: Don't include libbfd.h.
101 (replace_insn_sec_with_prop_sec): Use xmalloc, not bfd_malloc.
102 * Makefile.am: Update dependencies.
103 * Makefile.in: Regenerate.
105 2016-07-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
106 Nick Clifton <nickc@redhat.com>
108 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Open import
109 library file for writing and initialize implib_bfd field of link_info
111 * emultempl/pe.em (pe_implib_filename): Remove variable declaration.
112 (OPTION_IMPLIB_FILENAME): Remove macro definition.
113 (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
114 (gld_${EMULATION_NAME}_list_options): Likewise.
115 (gld${EMULATION_NAME}_handle_option): Likewise.
116 (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
117 instead of pe_implib_filename.
118 * emultempl/pep.em (pep_implib_filename): Remove variable declaration.
119 (OPTION_IMPLIB_FILENAME): Remove enumerator.
120 (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
121 (gld_${EMULATION_NAME}_list_options): Likewise.
122 (gld${EMULATION_NAME}_handle_option): Likewise.
123 (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
124 instead of pep_implib_filename.
125 * ld.h (args_type): Declare new out_implib_filename field.
126 * ld.texinfo (--out-implib): Move documentation to arch-independent
127 part and rephrase to apply to ELF targets.
128 * ldexp.c (exp_fold_tree_1): Set ldscript_def field to 1 for symbols
129 defined in linker scripts.
130 * ldlex.h (enum option_values): Declare new OPTION_OUT_IMPLIB
132 * lexsup.c (ld_options): Add entry for new --out-implib switch.
133 (parse_args): Handle OPTION_OUT_IMPLIB case.
134 * testsuite/ld-elf/elf.exp (Generate empty import library): New test.
135 (Generate import library): Likewise.
136 * testsuite/ld-elf/implib.s: Likewise.
137 * testsuite/ld-elf/implib.rd: New file.
138 * testsuite/ld-elf/empty-implib.out: Likewise
140 2016-07-15 Nick Clifton <nickc@redhat.com>
142 * testsuite/ld-arc/arc.exp: Always run the sda-relocs test in
145 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
147 * testsuite/ld-mips-elf/mips-elf.exp: Run
148 `branch-absolute-addend', `mips16-branch-absolute',
149 `mips16-branch-absolute-addend' and
150 `micromips-branch-absolute-addend'.
152 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
154 * testsuite/ld-mips-elf/mips16-branch-absolute.d: New test.
155 * testsuite/ld-mips-elf/mips16-branch-absolute-n32.d: New test.
156 * testsuite/ld-mips-elf/mips16-branch-absolute-n64.d: New test.
157 * testsuite/ld-mips-elf/mips16-branch-absolute-addend.d: New
159 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n32.d: New
161 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n64.d: New
163 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
164 from `mips16-branch-absolute' and
165 `mips16-branch-absolute-addend', referred indirectly only.
167 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
169 * testsuite/ld-mips-elf/branch-absolute.d: New test.
170 * testsuite/ld-mips-elf/branch-absolute-n32.d: New test.
171 * testsuite/ld-mips-elf/branch-absolute-n64.d: New test.
172 * testsuite/ld-mips-elf/branch-absolute-addend.d: New test.
173 * testsuite/ld-mips-elf/branch-absolute-addend-n32.d: New test.
174 * testsuite/ld-mips-elf/branch-absolute-addend-n64.d: New test.
175 * testsuite/ld-mips-elf/micromips-branch-absolute.d: New test.
176 * testsuite/ld-mips-elf/micromips-branch-absolute-n32.d: New
178 * testsuite/ld-mips-elf/micromips-branch-absolute-n64.d: New
180 * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d: New
182 * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n32.d:
184 * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n64.d:
186 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
187 from `branch-absolute-addend' and
188 `micromips-branch-absolute-addend', referred indirectly only.
190 2016-07-14 Claudiu Zissulescu <claziss@synopsys.com>
192 * emulparams/arcelf.sh (SDATA_START_SYMBOLS): Add offset.
193 * testsuite/ld-arc/sda-relocs.dd: New file.
194 * testsuite/ld-arc/sda-relocs.ld: Likewise.
195 * testsuite/ld-arc/sda-relocs.rd: Likewise.
196 * testsuite/ld-arc/sda-relocs.s: Likewise.
197 * testsuite/ld-arc/arc.exp: Add SDA tests.
199 2016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
201 * testsuite/ld-arc/nps-1b.err: Update test to handle more
204 2016-07-09 Alan Modra <amodra@gmail.com>
206 * testsuite/ld-powerpc/elfv2exe.d: Update.
208 2016-07-06 James Bowman <james.bowman@ftdichip.com>
210 * scripttempl/ft32.sc (__PMSIZE): Correct __PMSIZE_.
214 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
216 * testsuite/ld-plugin/lto.exp: Add -flto to PR ld/20321 test.
218 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
220 * testsuite/ld-arm/farcall-thumb2-purecode.d: New test result.
221 * testsuite/ld-arm/farcall-thumb2-purecode.s: New test.
222 * testsuite/ld-arm/arm-elf.exp: Run it.
224 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
226 * testsuite/ld-arm/arm_noread.ld: Renamed to ...
227 testsuite/ld-arm/arm_purecode.ld: ... this, and replaced
228 all noread's by purecode.
230 2016-07-05 Jan Beulich <jbeulich@suse.com>
232 * ldexp.c (exp_fold_tree_1): Set linker_def field based on
233 assignment line number.
234 * ldlex.l (lineno): Drop initializer.
235 (<<EOF>>): Set lineno to zero after reaching top of stack.
237 2016-07-04 H.J. Lu <hongjiu.lu@intel.com>
240 * plugin.c (plugin_opt_plugin): Warn and return if plugin has
242 * testsuite/ld-plugin/lto.exp: Run PR ld/20321 test.
243 * testsuite/ld-plugin/pr20321.c: New file.
245 2016-07-04 Nick Clifton <nickc@redhat.com>
247 * scripttempl/ft32.sc (__PMSIZE_): If not defined, set to 256K.
248 (__RAMSIZE): If not defined, set to 64K.
249 (MEMORY): Set the flash region size to __PMSIZE and the ram region
252 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
254 * testsuite/ld-mips-elf/branch-misc-2.d: New test.
255 * testsuite/ld-mips-elf/mips-elf.exp: Run it.
257 2016-07-01 Thomas Preud'homme <thomas.preudhomme@arm.com>
259 * testsuite/ld-arm/arm-elf.exp (Thumb-2 BL): Assemble for ARMv7.
260 (Thumb-2 BL on ARMv6-M): New testcase.
261 * testsuite/ld-arm/thumb2-bl.d: Do not try to match testcase filename.
262 * testsuite/ld-arm/thumb2-bl.s: Do not select architecture.
264 2016-07-01 Tristan Gingold <gingold@adacore.com>
266 * NEWS: Add marker for 2.27.
268 2016-06-28 H.J. Lu <hongjiu.lu@intel.com>
270 * testsuite/ld-gc/gc.exp: Run pr20306 test.
271 * ld-gc/pr20306.c: New file.
272 * ld-gc/pr20306.d: Likewise.
274 2016-06-28 Nick Clifton <nickc@redhat.com>
276 * testsuite/ld-elf/comm-data.exp: Expect comm-data2 test to fail
278 * testsuite/ld-elf/elf.exp: Expect pr14170 and symbolic function
279 tests to fail for bfin.
280 * testsuite/ld-elf/endsym.d: Expect to fail with cr16, crx, dlx,
282 * testsuite/ld-elf/var1.d: Expect to fail with d30v, dlx, ft32 and
284 * testsuite/ld-pe/pe.exp: Expect foreign symbol test to fail for
287 2016-06-28 Nick Clifton <nickc@redhat.com>
289 * testsuite/ld-elf/merge.d: Add m68hc11 to list of targets that
290 expect to fail this test.
291 * testsuite/ld-scripts/overlay-size.d: Skip the entire test for
293 * testsuite/ld-scripts/rgn-at10.d: No longer expect this test to
295 * testsuite/ld-scripts/rgn-at11.d: Likewise.
296 * testsuite/ld-scripts/rgn-at2.d: Likewise.
297 * testsuite/ld-scripts/rgn-at6.d: Likewise.
298 * testsuite/ld-scripts/rgn-at7.d: Likewise.
299 * testsuite/ld-scripts/rgn-at8.d: Likewise.
301 2016-06-28 James Clarke <jrtc27@jrtc27.com>
303 * testsuite/ld-elf/symbolic-func.r: Allow non-zero offsets from
306 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
308 * testsuite/ld-mips-elf/attr-gnu-4-10.d: Match any UNIX OS/ABI.
309 * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise.
310 * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise.
311 * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
313 2016-06-28 Alan Modra <amodra@gmail.com>
316 * testsuite/ld-scripts/pr20302.d: Exclude *-*-*aout.
318 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
320 * testsuite/ld-mips-elf/mips16-branch-2.d: New test.
321 * testsuite/ld-mips-elf/mips16-branch-3.d: New test.
322 * testsuite/ld-mips-elf/mips16-branch-addend-2.d: New test.
323 * testsuite/ld-mips-elf/mips16-branch-addend-3.d: New test.
324 * testsuite/ld-mips-elf/mips16-branch.s: New test source.
325 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
327 2016-06-27 Nick Clifton <nickc@redhat.com>
330 * lexsup.c (set_segment_start): If resetting the start address of
331 a section, remember to generate a new script element as well.
332 * testsuite/ld-scripts/pr20302.d: New test.
333 * testsuite/ld-scripts/scripts.exp: Run the new test.
335 2016-06-24 Alan Modra <amodra@gmail.com>
337 * testsuite/ld-aarch64/aarch64-elf.exp (aarch64_choose_ilp32_emul):
338 Don't error out, always return an emulation.
340 2016-06-24 Dilyan Palauzov <dilyan.palauzov@aegee.org>
341 H.J. Lu <hongjiu.lu@intel.com>
343 * lexsup.c (elf_shlib_list_options): Check DEFAULT_LD_Z_RELRO
344 for -z relro help message.
346 2016-06-22 Maciej W. Rozycki <macro@imgtec.com>
348 * testsuite/ld-mips-elf/undefweak-overflow.d: Use wildcard
351 2016-06-22 Maciej W. Rozycki <macro@imgtec.com>
353 * testsuite/ld-mips-elf/mips-elf.exp: Uniquely identify
354 `undefweak-overflow' tests.
356 2016-06-22 H.J. Lu <hongjiu.lu@intel.com>
359 * NEWS: Mention --enable-relro.
360 * configure.ac: Add --enable-relro.
361 (DEFAULT_LD_Z_RELRO): New. Set by --enable-relro.
362 * configure.tgt (ac_default_ld_z_relro): Default it to 1 for
364 * config.in: Regenerated.
365 * configure: Likewise.
366 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
367 link_info.relro to DEFAULT_LD_Z_RELRO.
368 * testsuite/config/default.exp (ld_elf_shared_opt): New.
369 * testsuite/lib/ld-lib.exp (run_dump_test): Pass
370 $ld_elf_shared_opt to ld for ELF targets with shared object
372 (run_ld_link_tests): Likewise.
374 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
376 * testsuite/ld-mips-elf/mode-change-error-1a.s: Trigger an error
377 twice rather than once.
378 * testsuite/ld-mips-elf/mode-change-error-1.d: Adjust
379 accordingly. Remove the full stop from the end of the message.
381 2016-06-21 Graham Markall <graham.markall@embecosm.com>
383 * testsuite/ld-arc/nps-1a.d: Use -mcpu=arc700 -mnps400.
384 * testsuite/ld-arc/nps-1b.d: Likewise.
386 2016-06-20 H.J. Lu <hongjiu.lu@intel.com>
389 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
391 (lto_run_tests): Likewise.
392 * testsuite/ld-plugin/pr20267a.c: New file.
393 * testsuite/ld-plugin/pr20267b.c: Likewise.
395 2016-06-20 H.J. Lu <hongjiu.lu@intel.com>
396 Alan Modra <amodra@gmail.com>
399 * plugin.c (plugin_notice): Set non_ir_ref on common symbols.
400 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
402 (lto_run_tests): Likewise.
403 * testsuite/ld-plugin/pass.out: New file.
404 * testsuite/ld-plugin/pr20276a.c: Likewise.
405 * testsuite/ld-plugin/pr20276b.c: Likewise.
407 2016-06-18 H.J. Lu <hongjiu.lu@intel.com>
409 * plugin.c (plugin_object_p): Replace bfd_plugin_uknown
410 with bfd_plugin_unknown.
412 2016-06-18 H.J. Lu <hongjiu.lu@intel.com>
415 * testsuite/ld-i386/i386.exp: Run PR ld/20253 tests.
416 * testsuite/ld-i386/no-plt.exp: Likewise.
417 * testsuite/ld-x86-64/no-plt.exp: Likewise.
418 * testsuite/ld-i386/pr13302.d: Remove .rel.plt section.
419 * testsuite/ld-ifunc/ifunc-13-i386.d: Likewise.
420 * testsuite/ld-ifunc/ifunc-13-x86-64.d: Likewise.
421 * testsuite/ld-ifunc/ifunc-15-i386.d: Likewise.
422 * testsuite/ld-ifunc/ifunc-15-x86-64.d: Likewise.
423 * testsuite/ld-x86-64/pr13082-5a.d: Likewise.
424 * testsuite/ld-x86-64/pr13082-5b.d: Likewise.
425 * testsuite/ld-x86-64/pr13082-6a.d: Likewise.
426 * testsuite/ld-x86-64/pr13082-6b.d: Likewise.
427 * testsuite/ld-i386/pr20244-2a.d: Remove .plt section.
428 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
429 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
430 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
431 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
432 * testsuite/ld-i386/pr20244-2b.d: Updated.
433 * testsuite/ld-i386/pr20244-2c.d: Likewise.
434 * testsuite/ld-ifunc/ifunc-18a-i386.d: Likewise.
435 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
436 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
437 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
438 * testsuite/ld-i386/pr20253-1a.c: New file.
439 * testsuite/ld-i386/pr20253-1b.S: Likewise.
440 * testsuite/ld-i386/pr20253-1c.S: Likewise.
441 * testsuite/ld-i386/pr20253-1d.S: Likewise.
442 * testsuite/ld-i386/pr20253-2a.c: Likewise.
443 * testsuite/ld-i386/pr20253-2b.S: Likewise.
444 * testsuite/ld-i386/pr20253-2c.S: Likewise.
445 * testsuite/ld-i386/pr20253-2d.S: Likewise.
446 * testsuite/ld-i386/pr20253-3.d: Likewise.
447 * testsuite/ld-i386/pr20253-3.s: Likewise.
448 * testsuite/ld-i386/pr20253-4.s: Likewise.
449 * testsuite/ld-i386/pr20253-4a.d: Likewise.
450 * testsuite/ld-i386/pr20253-4b.d: Likewise.
451 * testsuite/ld-i386/pr20253-4c.d: Likewise.
452 * testsuite/ld-i386/pr20253-5.d: Likewise.
453 * testsuite/ld-i386/pr20253-5.s: Likewise.
454 * testsuite/ld-ifunc/ifunc-23-x86.s: Likewise.
455 * testsuite/ld-ifunc/ifunc-23a-x86.d: Likewise.
456 * testsuite/ld-ifunc/ifunc-23b-x86.d: Likewise.
457 * testsuite/ld-ifunc/ifunc-23c-x86.d: Likewise.
458 * testsuite/ld-ifunc/ifunc-24-x86.s: Likewise.
459 * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise.
460 * testsuite/ld-ifunc/ifunc-24b-x86.d: Likewise.
461 * testsuite/ld-ifunc/ifunc-24c-x86.d: Likewise.
462 * testsuite/ld-ifunc/ifunc-25-x86.s: Likewise.
463 * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
464 * testsuite/ld-ifunc/ifunc-25b-x86.d: Likewise.
465 * testsuite/ld-ifunc/ifunc-25c-x86.d: Likewise.
466 * testsuite/ld-x86-64/pr20253-1.s: Likewise.
467 * testsuite/ld-x86-64/pr20253-1a.d: Likewise.
468 * testsuite/ld-x86-64/pr20253-1b.d: Likewise.
469 * testsuite/ld-x86-64/pr20253-1c.d: Likewise.
470 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
471 * testsuite/ld-x86-64/pr20253-1e.d: Likewise.
472 * testsuite/ld-x86-64/pr20253-1f.d: Likewise.
473 * testsuite/ld-x86-64/pr20253-1g.d: Likewise.
474 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
475 * testsuite/ld-x86-64/pr20253-1i.d: Likewise.
476 * testsuite/ld-x86-64/pr20253-1j.d: Likewise.
477 * testsuite/ld-x86-64/pr20253-1k.d: Likewise.
478 * testsuite/ld-x86-64/pr20253-1l.d: Likewise.
479 * testsuite/ld-x86-64/pr20253-2a.c: Likewise.
480 * testsuite/ld-x86-64/pr20253-2b.S: Likewise.
481 * testsuite/ld-x86-64/pr20253-2c.S: Likewise.
482 * testsuite/ld-x86-64/pr20253-2d.S: Likewise.
483 * testsuite/ld-x86-64/pr20253-3.d: Likewise.
484 * testsuite/ld-x86-64/pr20253-3.s: Likewise.
485 * testsuite/ld-x86-64/pr20253-4.s: Likewise.
486 * testsuite/ld-x86-64/pr20253-4a.d: Likewise.
487 * testsuite/ld-x86-64/pr20253-4b.d: Likewise.
488 * testsuite/ld-x86-64/pr20253-4c.d: Likewise.
489 * testsuite/ld-x86-64/pr20253-4d.d: Likewise.
490 * testsuite/ld-x86-64/pr20253-4e.d: Likewise.
491 * testsuite/ld-x86-64/pr20253-4f.d: Likewise.
492 * testsuite/ld-x86-64/pr20253-5.s: Likewise.
493 * testsuite/ld-x86-64/pr20253-5a.d: Likewise.
494 * testsuite/ld-x86-64/pr20253-5b.d: Likewise.
495 * testsuite/ld-ifunc/ifunc-18a-i386.d: Remove extra IRELATIVE
497 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
498 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
499 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
500 * testsuite/ld-ifunc/ifunc-18a.s: Fix a typo.
501 * testsuite/ld-x86-64/x86-64.exp: Run pr20253-1 tests.
503 2016-06-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
504 Tony Wang <tony.wang@arm.com>
506 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall M profile):
507 Assemble for ARMv6-M.
508 (Thumb2-Thumb2 farcall M profile): New testcase.
509 * testsuite/ld-arm/farcall-thumb2-thumb2-m.d: New file.
510 * testsuite/ld-arm/jump-reloc-veneers-cond-long-backward.d: Update to
511 reflect the use of Thumb-2 veneers for Thumb-2 capable targets.
512 * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Likewise.
514 2016-06-16 H.J. Lu <hongjiu.lu@intel.com>
516 * testsuite/ld-i386/i386.exp: Run pr19636-2e-nacl.
517 * testsuite/ld-i386/pr19636-2e.d: Skip for NaCl targets.
518 Remove .rel.plt section.
519 * testsuite/ld-i386/pr19636-2e-nacl.d: New file.
521 2016-06-15 H.J. Lu <hongjiu.lu@intel.com>
523 * testsuite/ld-i386/no-plt-check1a.S (check): Test static
525 * testsuite/ld-i386/no-plt-check1b.S (check): Likewise.
526 * testsuite/ld-x86-64/no-plt-check1.S (check): Likewise.
527 * testsuite/ld-i386/no-plt-extern1a.S (func_p): New. Static
529 * testsuite/ld-i386/no-plt-extern1b.S (func_p): Likewise.
530 * testsuite/ld-x86-64/no-plt-extern1.S (func_p): Likewise.
531 * testsuite/ld-i386/no-plt-1a.dd: Updated.
532 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
533 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
534 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
535 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
536 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
537 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
538 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
539 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
540 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
541 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
542 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
543 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
544 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
545 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
546 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
547 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
549 2016-06-14 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
552 * testsuite/ld-avr/avr-prop-6.d: New test.
553 * testsuite/ld-avr/avr-prop-6.s: New test.
555 2016-06-14 Alan Modra <amodra@gmail.com>
557 * ldbuildid.c: Formatting.
558 * ldcref.c: Formatting.
559 * ldctor.c: Formatting.
560 * ldemul.c: Formatting.
561 * ldexp.c: Formatting.
562 * ldfile.c: Formatting.
563 * ldlang.c: Formatting.
564 * ldmain.c: Formatting.
565 * ldwrite.c: Formatting.
567 2016-06-14 Alan Modra <amodra@gmail.com>
569 * ldlang.c: Expand uses of bfd_my_archive.
570 * ldmain.c: Likewise.
571 * ldmisc.c: Likewise.
572 * plugin.c: Likewise.
574 2016-06-14 Alan Modra <amodra@gmail.com>
577 * ldmain.c (add_archive_element): Just print file name of file within
579 * ldmisc.c (vfinfo): Likewise.
580 * plugin.c (plugin_object_p): Open file within thin archives.
581 (plugin_maybe_claim): Expand comment.
583 2016-06-13 H.J. Lu <hongjiu.lu@intel.com>
586 * testsuite/ld-i386/i386.exp: Run pr20244-2a, pr20244-2b,
587 pr20244-2c and pr20244-2d.
588 * testsuite/ld-i386/no-plt.exp: Run pr20244-3a and pr20244-3b.
589 * testsuite/ld-i386/pr20244-2.s: New file.
590 * testsuite/ld-i386/pr20244-2a.d: Likewise.
591 * testsuite/ld-i386/pr20244-2b.d: Likewise.
592 * testsuite/ld-i386/pr20244-2c.d: Likewise.
593 * testsuite/ld-i386/pr20244-2d.d: Likewise.
594 * testsuite/ld-i386/pr20244-3a.c: Likewise.
595 * testsuite/ld-i386/pr20244-3b.S: Likewise.
596 * testsuite/ld-i386/pr20244-3c.S: Likewise.
597 * testsuite/ld-i386/pr20244-3d.S: Likewise.
599 2016-06-13 H.J. Lu <hongjiu.lu@intel.com>
601 * testsuite/ld-i386/i386.exp: Run ifunc-1a and ifunc-1b.
602 * testsuite/ld-i386/ifunc-1a.c: New file.
603 * testsuite/ld-i386/ifunc-1b.S: Likewise.
604 * testsuite/ld-i386/ifunc-1c.S: Likewise.
605 * testsuite/ld-i386/ifunc-1d.S: Likewise.
607 2016-06-13 Cupertino Miranda <cmiranda@synospsy.com>
609 * testsuite/ld-srec/srec.exp: Changed to XFAIL on both little and
610 big endian ARC targets.
612 2016-06-12 H.J. Lu <hongjiu.lu@intel.com>
614 * testsuite/ld-x86-64/libno-plt-1b.dd: Updated for x32.
615 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
616 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
617 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
618 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
619 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
620 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
621 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
622 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
623 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
624 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
625 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
626 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
627 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
628 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
630 2016-06-11 H.J. Lu <hongjiu.lu@intel.com>
633 * testsuite/ld-i386/i386.exp: Run pr20244-1a and pr20244-1b.
634 * testsuite/ld-i386/pr20244-1.s: New file.
635 * testsuite/ld-i386/pr20244-1a.d: Likewise.
636 * testsuite/ld-i386/pr20244-1b.d: Likewise.
637 * testsuite/ld-i386/pr20244-1c.d: Likewise.
639 2016-06-08 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
642 * testsuite/ld-avr/avr-prop-5.d: New.
643 * testsuite/ld-avr/avr-prop-5.s: New.
645 2016-06-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
647 * testsuite/ld-avr/lds-mega.d: New test.
648 * testsuite/ld-avr/lds-mega.s: New test source.
649 * testsuite/ld-avr/lds-tiny.d: New test.
650 * testsuite/ld-avr/lds-tiny.s: New test source.
652 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
654 * testsuite/ld-i386/libno-plt-1b.dd: New file.
655 * testsuite/ld-i386/libno-plt-1b.rd: Likewise.
656 * testsuite/ld-i386/no-plt-1a.dd: Likewise.
657 * testsuite/ld-i386/no-plt-1a.rd: Likewise.
658 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
659 * testsuite/ld-i386/no-plt-1b.rd: Likewise.
660 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
661 * testsuite/ld-i386/no-plt-1c.rd: Likewise.
662 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
663 * testsuite/ld-i386/no-plt-1d.rd: Likewise.
664 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
665 * testsuite/ld-i386/no-plt-1e.rd: Likewise.
666 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
667 * testsuite/ld-i386/no-plt-1f.rd: Likewise.
668 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
669 * testsuite/ld-i386/no-plt-1g.rd: Likewise.
670 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
671 * testsuite/ld-i386/no-plt-1h.rd: Likewise.
672 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
673 * testsuite/ld-i386/no-plt-1i.rd: Likewise.
674 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
675 * testsuite/ld-i386/no-plt-1j.rd: Likewise.
676 * testsuite/ld-i386/no-plt-check1a.S: Likewise.
677 * testsuite/ld-i386/no-plt-check1b.S: Likewise.
678 * testsuite/ld-i386/no-plt-extern1a.S: Likewise.
679 * testsuite/ld-i386/no-plt-extern1b.S: Likewise.
680 * testsuite/ld-i386/no-plt-func1.c: Likewise.
681 * testsuite/ld-i386/no-plt-main1.c: Likewise.
682 * testsuite/ld-i386/no-plt.exp: Likewise.
684 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
686 * testsuite/ld-x86-64/tls.exp (run_cc_link_tests): Update test
689 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
691 * testsuite/ld-i386/i386.exp: Run libtlspic2.so, tlsbin2,
692 tlsgd3, tlsld2, tlsgd4, tlspie3a, tlspie3b and tlspie3c.
693 * testsuite/ld-i386/pass.out: New file.
694 * testsuite/ld-i386/tls-def1.c: Likewise.
695 * testsuite/ld-i386/tls-gd1.S: Likewise.
696 * testsuite/ld-i386/tls-ld1.S: Likewise.
697 * testsuite/ld-i386/tls-main1.c: Likewise.
698 * testsuite/ld-i386/tls.exp: Likewise.
699 * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
700 * testsuite/ld-i386/tlsbin2.dd: Likewise.
701 * testsuite/ld-i386/tlsbin2.rd: Likewise.
702 * testsuite/ld-i386/tlsbin2.sd: Likewise.
703 * testsuite/ld-i386/tlsbin2.td: Likewise.
704 * testsuite/ld-i386/tlsbinpic2.s: Likewise.
705 * testsuite/ld-i386/tlsgd3.dd: Likewise.
706 * testsuite/ld-i386/tlsgd3.s: Likewise.
707 * testsuite/ld-i386/tlsgd4.d: Likewise.
708 * testsuite/ld-i386/tlsgd4.s: Likewise.
709 * testsuite/ld-i386/tlsld2.s: Likewise.
710 * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
711 * testsuite/ld-i386/tlspic2.dd: Likewise.
712 * testsuite/ld-i386/tlspic2.rd: Likewise.
713 * testsuite/ld-i386/tlspic2.sd: Likewise.
714 * testsuite/ld-i386/tlspic2.td: Likewise.
715 * testsuite/ld-i386/tlspic3.s: Likewise.
716 * testsuite/ld-i386/tlspie3.s: Likewise.
717 * testsuite/ld-i386/tlspie3a.d: Likewise.
718 * testsuite/ld-i386/tlspie3b.d: Likewise.
719 * testsuite/ld-i386/tlspie3c.d: Likewise.
721 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
723 * testsuite/ld-x86-64/no-plt-1a.rd: Support any relocation order.
724 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
725 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
726 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
727 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
728 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
729 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
730 * testsuite/ld-x86-64/no-plt.exp: Fix a typo.
732 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
734 * testsuite/ld-x86-64/libno-plt-1b.dd: Likewise.
735 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
736 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
737 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
738 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
739 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
740 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
741 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
742 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
743 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
744 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
745 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
746 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
747 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
748 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
749 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
750 * testsuite/ld-x86-64/no-plt-check1.S: Likewise.
751 * testsuite/ld-x86-64/no-plt.exp: Likewise.
752 * testsuite/ld-x86-64/no-plt-extern1.S: Likewise.
753 * testsuite/ld-x86-64/no-plt-func1.c: Likewise.
754 * testsuite/ld-x86-64/no-plt-main1.c: Likewise.
756 2016-06-07 Maciej W. Rozycki <macro@imgtec.com>
758 * testsuite/ld-elf/init-fini-arrays.d: Remove `ft32-*-*' xfail.
760 2016-06-07 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
762 * testsuite/ld-s390/pltoffset-1.dd: New test.
763 * testsuite/ld-s390/pltoffset-1.ld: New test.
764 * testsuite/ld-s390/pltoffset-1.s: New test.
765 * testsuite/ld-s390/s390.exp: Run new test.
767 2016-06-07 Alan Modra <amodra@gmail.com>
769 * testsuite/ld-powerpc/apuinfo1.s: Delete nop.
770 * testsuite/ld-powerpc/apuinfo-vle2.s: New.
771 * testsuite/ld-powerpc/powerpc.exp: Use apuinfo-vle2.s.
773 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
775 * testsuite/ld-x86-64/pass.out: New file.
776 * testsuite/ld-x86-64/tls-def1.c: Likewise.
777 * testsuite/ld-x86-64/tls-gd1.S: Likewise.
778 * testsuite/ld-x86-64/tls-ld1.S: Likewise.
779 * testsuite/ld-x86-64/tls-main1.c: Likewise.
780 * testsuite/ld-x86-64/tls.exp: Likewise.
781 * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
782 * testsuite/ld-x86-64/tlsbin2.dd: Likewise.
783 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
784 * testsuite/ld-x86-64/tlsbin2.sd: Likewise.
785 * testsuite/ld-x86-64/tlsbin2.td: Likewise.
786 * testsuite/ld-x86-64/tlsbinpic2.s: Likewise.
787 * testsuite/ld-x86-64/tlsgd10.dd: Likewise.
788 * testsuite/ld-x86-64/tlsgd10.s: Likewise.
789 * testsuite/ld-x86-64/tlsgd11.dd: Likewise.
790 * testsuite/ld-x86-64/tlsgd11.s: Likewise.
791 * testsuite/ld-x86-64/tlsgd12.d: Likewise.
792 * testsuite/ld-x86-64/tlsgd12.s: Likewise.
793 * testsuite/ld-x86-64/tlsgd13.d: Likewise.
794 * testsuite/ld-x86-64/tlsgd13.s: Likewise.
795 * testsuite/ld-x86-64/tlsgd14.dd: Likewise.
796 * testsuite/ld-x86-64/tlsgd14.s: Likewise.
797 * testsuite/ld-x86-64/tlsgd5c.s: Likewise.
798 * testsuite/ld-x86-64/tlsgd6c.s: Likewise.
799 * testsuite/ld-x86-64/tlsgd9.dd: Likewise.
800 * testsuite/ld-x86-64/tlsgd9.s: Likewise.
801 * testsuite/ld-x86-64/tlsld4.dd: Likewise.
802 * testsuite/ld-x86-64/tlsld4.s: Likewise.
803 * testsuite/ld-x86-64/tlsld5.dd: Likewise.
804 * testsuite/ld-x86-64/tlsld5.s: Likewise.
805 * testsuite/ld-x86-64/tlsld6.dd: Likewise.
806 * testsuite/ld-x86-64/tlsld6.s: Likewise.
807 * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
808 * testsuite/ld-x86-64/tlspic2.dd: Likewise.
809 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
810 * testsuite/ld-x86-64/tlspic2.sd: Likewise.
811 * testsuite/ld-x86-64/tlspic2.td: Likewise.
812 * testsuite/ld-x86-64/tlspic3.s: Likewise.
813 * testsuite/ld-x86-64/tlspie2.s: Likewise.
814 * testsuite/ld-x86-64/tlspie2a.d: Likewise.
815 * testsuite/ld-x86-64/tlspie2b.d: Likewise.
816 * testsuite/ld-x86-64/tlspie2c.d: Likewise.
817 * testsuite/ld-x86-64/tlsgd5.dd: Updated.
818 * testsuite/ld-x86-64/tlsgd6.dd: Likewise.
819 * testsuite/ld-x86-64/x86-64.exp: Run libtlspic2.so, tlsbin2,
820 tlsgd5b, tlsgd6b, tlsld4, tlsld5, tlsld6, tlsgd9, tlsgd10,
821 tlsgd11, tlsgd14, tlsgd12, tlsgd13, tlspie2a, tlspie2b and
824 2016-06-04 Christian Groessler <chris@groessler.org>
826 * testsuite/ld-z8k/0filler.s: New file.
827 * testsuite/ld-z8k/branch-target.s: New file.
828 * testsuite/ld-z8k/branch-target2.s: New file.
829 * testsuite/ld-z8k/calr-back-8001.d: New file.
830 * testsuite/ld-z8k/calr-back-8002.d: New file.
831 * testsuite/ld-z8k/calr-back-fail-8001.d: New file.
832 * testsuite/ld-z8k/calr-back-fail-8002.d: New file.
833 * testsuite/ld-z8k/calr-forw-8001.d: New file.
834 * testsuite/ld-z8k/calr-forw-8002.d: New file.
835 * testsuite/ld-z8k/calr-forw-fail-8001.d: New file.
836 * testsuite/ld-z8k/calr-forw-fail-8002.d: New file.
837 * testsuite/ld-z8k/calr-opcode.s: New file.
838 * testsuite/ld-z8k/dbjnz-forw-8001.d: New file.
839 * testsuite/ld-z8k/dbjnz-forw-8002.d: New file.
840 * testsuite/ld-z8k/dbjnz-forw-fail-8001.d: New file.
841 * testsuite/ld-z8k/dbjnz-forw-fail-8002.d: New file.
842 * testsuite/ld-z8k/dbjnz-opcode.s: New file.
843 * testsuite/ld-z8k/djnz-back-8001.d: New file.
844 * testsuite/ld-z8k/djnz-back-8002.d: New file.
845 * testsuite/ld-z8k/djnz-back-fail-8001.d: New file.
846 * testsuite/ld-z8k/djnz-back-fail-8002.d: New file.
847 * testsuite/ld-z8k/djnz-forw-8001.d: New file.
848 * testsuite/ld-z8k/djnz-forw-8002.d: New file.
849 * testsuite/ld-z8k/djnz-forw-fail-8001.d: New file.
850 * testsuite/ld-z8k/djnz-forw-fail-8002.d: New file.
851 * testsuite/ld-z8k/djnz-opcode.s: New file.
852 * testsuite/ld-z8k/filler.s: New file.
853 * testsuite/ld-z8k/jr-back-8001.d: New file.
854 * testsuite/ld-z8k/jr-back-8002.d: New file.
855 * testsuite/ld-z8k/jr-back-fail-8001.d: New file.
856 * testsuite/ld-z8k/jr-back-fail-8002.d: New file.
857 * testsuite/ld-z8k/jr-forw-8001.d: New file.
858 * testsuite/ld-z8k/jr-forw-8002.d: New file.
859 * testsuite/ld-z8k/jr-forw-fail-8001.d: New file.
860 * testsuite/ld-z8k/jr-forw-fail-8002.d: New file.
861 * testsuite/ld-z8k/jr-opcode.s: New file.
862 * testsuite/ld-z8k/ldr-back-8001.d: New file.
863 * testsuite/ld-z8k/ldr-back-8002.d: New file.
864 * testsuite/ld-z8k/ldr-back-fail-8001.d: New file.
865 * testsuite/ld-z8k/ldr-back-fail-8002.d: New file.
866 * testsuite/ld-z8k/ldr-forw-8001.d: New file.
867 * testsuite/ld-z8k/ldr-forw-8002.d: New file.
868 * testsuite/ld-z8k/ldr-forw-fail-8001.d: New file.
869 * testsuite/ld-z8k/ldr-forw-fail-8002.d: New file.
870 * testsuite/ld-z8k/ldr-opcode.s: New file.
871 * testsuite/ld-z8k/ldrb-forw-8001.d: New file.
872 * testsuite/ld-z8k/ldrb-forw-8002.d: New file.
873 * testsuite/ld-z8k/ldrb-forw-fail-8001.d: New file.
874 * testsuite/ld-z8k/ldrb-forw-fail-8002.d: New file.
875 * testsuite/ld-z8k/ldrb-opcode.s: New file.
876 * testsuite/ld-z8k/ldrb-opcode2.s: New file.
877 * testsuite/ld-z8k/other-file.s: New file.
878 * testsuite/ld-z8k/reloc.dd: New file.
879 * testsuite/ld-z8k/reloc.ld: New file.
880 * testsuite/ld-z8k/relocseg.dd: New file.
881 * testsuite/ld-z8k/relocseg.ld: New file.
882 * testsuite/ld-z8k/relocseg1.dd: New file.
883 * testsuite/ld-z8k/this-file.s: New file.
884 * testsuite/ld-z8k/z8k.exp: New file.
886 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
888 * testsuite/ld-i386/i386.exp: Assemble gotpc1.o and pr19319b.o
889 with -mrelax-relocations=yes.
890 * testsuite/ld-i386/lea1a.d (as): Add -mrelax-relocations=yes.
891 * testsuite/ld-i386/lea1b.d (as): Likewise.
892 * testsuite/ld-i386/lea1d.d (as): Likewise.
893 * testsuite/ld-i386/lea1e.d (as): Likewise.
894 * testsuite/ld-i386/lea1f.d (as): Likewise.
895 * testsuite/ld-i386/load7.d (as): Likewise.
896 * testsuite/ld-i386/mov1b.d (as): Likewise.
897 * testsuite/ld-i386/pr19175.d (as): Likewise.
898 * testsuite/ld-ifunc/ifunc-13-i386.d (as): Likewise.
899 * testsuite/ld-ifunc/ifunc-21-i386.d (as): Likewise.
900 * testsuite/ld-ifunc/ifunc-22-i386.d (as): Likewise.
901 * testsuite/ld-x86-64/x86-64.exp: Assemble gotpcrel1a.o,
902 gotpcrel1b.o and gotpcrel1c.o with -mrelax-relocations=yes.
904 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
906 * configure.tgt: Replace -uclibc with *.
908 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
910 * testsuite/ld-mips-elf/unaligned-branch.d: New test.
911 * testsuite/ld-mips-elf/unaligned-branch.s: New test source.
912 * testsuite/ld-mips-elf/unaligned-text.s: New test source.
913 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
915 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
917 * testsuite/ld-mips-elf/unaligned-syms.s: Rename to...
918 * testsuite/ld-mips-elf/unaligned-data.s: ... this.
919 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Adjust accordingly.
920 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
921 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Likewise.
922 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
924 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
926 * testsuite/ld-mips-elf/jal-global-overflow-0.d: New test.
927 * testsuite/ld-mips-elf/jal-global-overflow-1.d: New test.
928 * testsuite/ld-mips-elf/jal-local-overflow-0.d: New test.
929 * testsuite/ld-mips-elf/jal-local-overflow-1.d: New test.
930 * testsuite/ld-mips-elf/jal-global-overflow.s: New test source.
931 * testsuite/ld-mips-elf/jal-local-overflow.s: New test source.
932 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
934 2016-05-28 Alan Modra <amodra@gmail.com>
936 * ldmain.c (multiple_definition, multiple_common, add_to_set,
937 constructor_callback, warning_callback, undefined_symbol,
938 reloc_overflow, reloc_dangerous, unattached_reloc): Return void.
939 * emultempl/elf32.em: Adjust callback calls.
941 2016-05-27 Maciej W. Rozycki <macro@imgtec.com>
943 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.d: New test.
944 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: New test.
945 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-0.d: New
947 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d: New
949 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-0.d: New
951 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d: New
953 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.s: New test
955 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.s: New test
957 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
959 2016-05-27 Maciej W. Rozycki <macro@imgtec.com>
961 * testsuite/ld-mips-elf/reloc-local-overflow.d: New test.
962 * testsuite/ld-mips-elf/reloc-local-overflow.s: Source for the
964 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
966 2016-05-26 Maciej W. Rozycki <macro@imgtec.com>
968 * testsuite/ld-mips-elf/unaligned-jalx-0.d: Fold
969 `unaligned-jalx-2' here.
970 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: Fold
971 `unaligned-jalx-mips16-2' here.
972 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: Fold
973 `unaligned-jalx-micromips-2' here.
974 * testsuite/ld-mips-elf/unaligned-jalx-0.s: Update accordingly.
975 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error
977 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
978 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
979 * testsuite/ld-mips-elf/unaligned-jalx-2.d: Remove test.
980 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: Remove test.
981 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: Remove
983 * testsuite/ld-mips-elf/unaligned-jalx-2.s: Remove test source.
984 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Fold
985 `unaligned-lwpc-3' here.
986 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: Update accordingly.
987 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Fold
988 `unaligned-lwpc-2' here.
989 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: Update accordingly.
990 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: Remove test.
991 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: Remove test source.
992 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: Remove test.
993 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: Remove test source.
994 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Fold
995 `unaligned-ldpc-4' here.
996 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: Update accordingly.
997 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Update error
998 message. Fold `unaligned-ldpc-2' and `unaligned-ldpc-3' here.
999 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: Update accordingly.
1000 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: Remove test.
1001 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: Remove test source.
1002 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: Remove test.
1003 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: Remove test source.
1004 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: Remove test.
1005 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: Remove test source.
1006 * testsuite/ld-mips-elf/mips-elf.exp: Delete removed tests.
1008 2016-05-26 Nick Clifton <nickc@redhat.com>
1011 * scripttempl/elf32msp430.sc (.bss): Provide __bssstart and
1013 * scripttempl/elf32msp430_3.sc (.bss): Likewise.
1015 2016-05-25 Maciej W. Rozycki <macro@imgtec.com>
1017 * testsuite/ld-mips-elf/unaligned-jalx-0.d: New test.
1018 * testsuite/ld-mips-elf/unaligned-jalx-1.d: New test.
1019 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
1020 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: New test.
1021 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: New test.
1022 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: New test.
1023 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: New test.
1024 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: New test.
1025 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: New test.
1026 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: New test.
1027 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: New test.
1028 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: New test.
1029 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: New test.
1030 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: New test.
1031 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: New test.
1032 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: New test.
1033 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: New test.
1034 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: New test.
1035 * testsuite/ld-mips-elf/unaligned-jalx-0.s: New test source.
1036 * testsuite/ld-mips-elf/unaligned-jalx-1.s: New test source.
1037 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
1038 * testsuite/ld-mips-elf/unaligned-insn.s: New test source.
1039 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: New test source.
1040 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: New test source.
1041 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: New test source.
1042 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: New test source.
1043 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: New test source.
1044 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: New test source.
1045 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: New test source.
1046 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: New test source.
1047 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: New test source.
1048 * testsuite/ld-mips-elf/unaligned-syms.s: New test source.
1049 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1051 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1054 * ldmain.c (add_archive_element): Don't claim new IR symbols
1055 after all IR symbols have been claimed.
1056 * plugin.c (plugin_call_claim_file): Remove no_more_claiming
1058 * testsuite/ld-plugin/lto.exp (pr20103): New proc.
1059 Run PR ld/20103 tests.
1060 * testsuite/ld-plugin/pr20103a.c: New file.
1061 * testsuite/ld-plugin/pr20103b.c: Likewise.
1062 * testsuite/ld-plugin/pr20103c.c: Likewise.
1064 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
1066 * testsuite/ld-mips-elf/jalx-local.d: New test.
1067 * testsuite/ld-mips-elf/jalx-local-n32.d: New test.
1068 * testsuite/ld-mips-elf/jalx-local-n64.d: New test.
1069 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1071 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
1073 * Makefile.am: Add earmelf_phoenix.c.
1074 * Makefile.in: Regenerate.
1075 * configure.tgt: Add entry for arm-phoenix.
1076 * emulparams/armelf_phoenix.sh: New file.
1078 2016-05-23 Thomas Preud'homme <thomas.preudhomme@arm.com>
1080 * emultempl/armelf.em (arm_elf_before_allocation): Call
1081 bfd_elf32_arm_keep_private_stub_output_sections before generic
1082 before_allocation function.
1084 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
1086 * testsuite/ld-mips-elf/jalx-addend.d: New test.
1087 * testsuite/ld-mips-elf/jalx-addend-n32.d: New test.
1088 * testsuite/ld-mips-elf/jalx-addend-n64.d: New test.
1089 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1091 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
1094 * testsuite/ld-i386/i386.exp: Run pr20117.
1095 * testsuite/ld-i386/pr19609-1i.d: Updated.
1096 * testsuite/ld-i386/pr20117.d: New file.
1097 * testsuite/ld-i386/pr20117.s: Likewise.
1099 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
1101 * testsuite/ld-elf/compressed1d.d: Removed from notarget.
1102 * testsuite/ld-elf/group8a.d: Likewise.
1103 * testsuite/ld-elf/group8b.d: Likewise.
1104 * testsuite/ld-elf/group9a.d: Likewise.
1105 * testsuite/ld-elf/group9b.d: Likewise.
1106 * testsuite/ld-elf/pr12851.d: Likewise.
1107 * testsuite/ld-elf/pr12975.d: Likewise.
1108 * testsuite/ld-elf/pr13177.d: Likewise.
1109 * testsuite/ld-elf/pr13195.d: Likewise.
1110 * testsuite/ld-elf/pr17615.d: Likewise.
1111 * testsuite/ld-elf/eh-frame-hdr.d: Removed from xfail.
1112 * testsuite/ld-elf/group3b.d: Likewise.
1113 * testsuite/ld-srec/srec.exp: Likewise.
1114 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark ARC
1116 (check_shared_lib_support): Mark ARC as supporting.
1118 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
1120 * emulparams/arcelf.sh: Changed.
1121 * emulparams/arclinux.sh: Likewise.
1122 * scripttempl/arclinux.sc: Moved to a more standard implementation
1125 2016-05-19 Maciej W. Rozycki <macro@imgtec.com>
1127 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Reorder
1128 `ft32-*-*' behind `frv-*-*'.
1130 2016-05-19 Maciej W. Rozycki <macro@imgtec.com>
1132 * configure.tgt: Remove `am34-*-linux*' support.
1134 2016-05-19 Alan Modra <amodra@gmail.com>
1136 * testsuite/ld-scripts/crossref.exp: Remove -mcall-aixdesc hack.
1137 * testsuite/ld-scripts/cross2.t: Tweak .opd and .toc placement.
1138 * testsuite/ld-scripts/cross3.t: Likewise.
1139 * testsuite/ld-scripts/cross4.t: Likewise.
1140 * testsuite/ld-scripts/cross5.t: Likewise.
1141 * testsuite/ld-scripts/cross6.t: Likewise.
1142 * testsuite/ld-scripts/cross7.t: Likewise.
1144 2016-05-19 Alan Modra <amodra@gmail.com>
1146 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Pass in
1147 exe name rather than constructing testname. Fix typo in
1148 sub-test name. Log copying. Use -rpath rather than -R.
1150 2016-05-18 Nick Clifton <nickc@redhat.com>
1152 * scripttempl/ft32.sc: Use fixed constants for memory region
1153 lengths. Include DWARF debug sections.
1154 (.data .bss): Do not assign locations during relocatable links.
1155 * testsuite/ld-elf/compressed1d.d: Skip for FT32.
1156 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
1157 * testsuite/ld-elf/sec64k.exp: Likewise.
1158 * testsuite/ld-elf/init-fini-array.d: XFail for FT32.
1159 * testsuite/ld-elf/merge.d: Likewise.
1160 * testsuite/ld-elf/orphan-region.d: Likewise.
1161 * testsuite/ld-elf/orphan.s: Likewise.
1162 * testsuite/ld-elf/orphan3.d: Likewise.
1163 * testsuite/ld-elf/pr349.d: Likewise.
1164 * testsuite/ld-elf/warn2.d: Likewise.
1165 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Note
1166 that the FT32 does not support shared libraries.
1168 2016-05-17 H.J. Lu <hongjiu.lu@intel.com>
1170 * testsuite/lib/ld-lib.exp (at_least_gcc_version): Check
1173 2016-05-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1175 * scripttempl/avr.sc (text): Place .progmem.data from avr-libc
1177 * scripttempl/avrtiny.sc (text): Likewise.
1179 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
1181 * testsuite/ld-unique/unique.exp: Use `is_elf_format' and
1182 `supports_gnu_unique' to qualify testing.
1184 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
1186 * testsuite/ld-elf/flags1.d: Update the xfail list.
1188 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
1190 * testsuite/ld-elf/flags1.d: Update for `*-*-nacl*' xfail
1193 2016-05-14 H.J. Lu <hongjiu.lu@intel.com>
1196 * testplug2.c (onall_symbols_read): Remove redundant sizeof
1197 on EXPECTED_VIEW_LENGTH.
1198 * testplug4.c (onall_symbols_read): Likewise.
1200 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
1203 * testsuite/ld-x86-64/pr20093-1.d: New file.
1204 * testsuite/ld-x86-64/pr20093-1.s: Likewise.
1205 * testsuite/ld-x86-64/pr20093-2.d: Likewise.
1206 * testsuite/ld-x86-64/pr20093-2.s: Likewise.
1207 * testsuite/ld-x86-64/x86-64.exp: Run pr20093-1 and pr20093-2.
1209 2016-05-13 Alan Modra <amodra@gmail.com>
1211 * testsuite/ld-arm/arm-elf.exp: Adjust for arm-no-rel-plt now passing.
1212 Use different output file name for static app without .rel.plt.
1213 * testsuite/ld-arm/arm-no-rel-plt.ld: Align .rel.dyn and .rela.dyn.
1214 * testsuite/ld-arm/arm-no-rel-plt.out: Delete.
1215 * testsuite/ld-arm/arm-no-rel-plt.r: New.
1216 * testsuite/ld-arm/arm-static-app.d: Don't check file name.
1217 * testsuite/ld-arm/arm-static-app.r: Likewise.
1219 2016-05-12 H.J. Lu <hongjiu.lu@intel.com>
1222 * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug4.la.
1223 (libldtestplug4_la_SOURCES): New.
1224 (libldtestplug4_la_CFLAGS): Likewise.
1225 (libldtestplug4_la_LDFLAGS): Likewise.
1226 * Makefile.in: Regenerated.
1227 * plugin.c (get_symbols): Return resolution based on IR symbol
1228 kinds for symbols defined/referenced only within IR.
1229 * testplug4.c: New file.
1230 * ld/testsuite/ld-plugin/pr20070.d: Likewise.
1231 * ld/testsuite/ld-plugin/pr20070a.c: Likewise.
1232 * ld/testsuite/ld-plugin/pr20070b.c: Likewise.
1233 * testsuite/ld-plugin/plugin.exp (plugin4_name): New.
1234 (plugin4_path): Likewise.
1235 Add a test for ld/20070.
1237 2016-05-11 Alan Modra <amodra@gmail.com>
1239 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
1240 Call elf32_hppa_init_stub_bfd.
1242 2016-05-11 Alan Modra <amodra@gmail.com>
1245 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
1246 * testsuite/ld-powerpc/tlsdll.s: New.
1247 * testsuite/ld-powerpc/tlsdll.ver: New.
1248 * testsuite/ld-powerpc/tlsdll_32.s: New.
1249 * testsuite/ld-powerpc/tlsopt5.d: New.
1250 * testsuite/ld-powerpc/tlsopt5.s: New.
1251 * testsuite/ld-powerpc/tlsopt5_32.d: New.
1252 * testsuite/ld-powerpc/tlsopt5_32.s: New.
1254 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1256 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Use
1257 ARM_GET_SYM_BRANCH_TYPE to get branch type of a symbol.
1259 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1261 * emultempl/armelf.em (elf32_arm_add_stub_section): Add output_section
1262 parameter and rename input_section parameter to after_input_section.
1263 Append input stub section to the output section if after_input_section
1266 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1268 * testsuite/ld-arm/arm-elf.exp (EABI attribute merging 10 (DSP)): New
1270 * testsuite/ld-arm/attr-merge-10b-dsp.s: New file.
1271 * testsuite/ld-arm/attr-merge-10-dsp.attr: Likewise.
1273 2016-05-10 Christophe Lyon <christophe.lyon@linaro.org>
1275 * ld/testsuite/ld-elf/flags1.d (xfail): Remove *-*-nacl*".
1277 2016-05-09 Christophe Monat <christophe.monat@st.com>
1280 * testsuite/ld-arm/arm-elf.exp: Run new stm32l4xx-fix-vldm-dp
1281 tests. Fix misnamed stm32l4xx-fix-all.
1282 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.s: New tests for multiple
1283 loads with DP registers.
1284 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.d: New reference file.
1285 * testsuite/ld-arm/stm32l4xx-fix-vldm.s: Add missing comment.
1286 * testsuite/ld-arm/stm32l4xx-fix-all.s: Add tests for multiple
1287 loads with DP registers.
1288 * testsuite/ld-arm/stm32l4xx-fix-all.d: Update reference.
1290 2016-05-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
1292 * testsuite/ld-elf/flags1.d (readelf): Dump section header instead
1294 (xfail): Remove avr-*-*.
1295 Update regex to check the section flags.
1296 * testsuite/ld-elf/merge.d (xfail): Remove avr-*-*.
1298 2016-05-09 Alan Modra <amodra@gmail.com>
1300 * Makefile.am (ealphavms.c, eelf64_ia64_vms): Correct .em deps.
1301 * Makefile.in: Regenerate.
1303 2016-05-09 Alan Modra <amodra@gmail.com>
1305 * testsuite/ld-scripts/pr14962-2.t: Match .text, not *.text.
1306 * testsuite/ld-scripts/rgn-at5.t: Similarly, .sec not *.sec.
1307 * testsuite/ld-scripts/section-match-1.t: Likewise.
1309 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
1312 * testsuite/ld-elf/pr17550-1.s: New file.
1313 * testsuite/ld-elf/pr17550-2.s: Likewise.
1314 * testsuite/ld-elf/pr17550-3.s: Likewise.
1315 * testsuite/ld-elf/pr17550-4.s: Likewise.
1316 * testsuite/ld-elf/pr17550a.d: Likewise.
1317 * testsuite/ld-elf/pr17550b.d: Likewise.
1318 * testsuite/ld-elf/pr17550c.d: Likewise.
1319 * testsuite/ld-elf/pr17550d.d: Likewise.
1321 2016-05-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1323 * ld/testsuite/ld-srec/srec.exp: Mark test as XFAIL for AVR.
1325 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
1327 * testsuite/ld-i386/i386.exp: Run load7.
1328 * testsuite/ld-i386/load7.d: New file.
1329 * testsuite/ld-i386/load7.map: Likewise.
1330 * testsuite/ld-i386/load7.s: Likewise.
1331 * testsuite/ld-x86-64/load2.d: Likewise.
1332 * testsuite/ld-x86-64/load2.map: Likewise.
1333 * testsuite/ld-x86-64/load2.s: Likewise.
1334 * testsuite/ld-x86-64/x86-64.exp: Run load2.
1336 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
1338 * emulparams/elf_iamcu.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): New.
1339 * emulparams/elf_k1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1341 * emulparams/elf_l1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1344 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
1346 * testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld.
1348 2016-05-04 H.J. Lu <hongjiu.lu@intel.com>
1350 * ldlang.c (init_os): Pass %E to einfo when bfd_section == NULL.
1352 2016-05-04 Maciej W. Rozycki <macro@imgtec.com>
1354 * testsuite/ld-unique/unique.d: New test.
1355 * testsuite/ld-unique/unique.exp: Run the new test. Adjust
1356 messages for compiled tests.
1358 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1360 * testsuite/ld-elf/pr18735.d: Allow other symbols.
1361 * testsuite/ld-elf/sec64k.exp: Skip 64ksec for avr.
1362 * testsuite/ld-gc/pr14265.d: Allow other symbols.
1363 * testsuite/ld-plugin/plugin.exp: Add PR ld/17973 to
1364 plugin_tests only if check_shared_lib_support is true.
1365 * testsuite/ld-selective/selective.exp: Add --section-start
1368 2016-05-03 Maciej W. Rozycki <macro@imgtec.com>
1371 * testsuite/ld-unique/unique.exp: Also run for `mips*-*-*'.
1373 2016-05-03 Jiong Wang <jiong.wang@arm.com>
1375 * emultempl/aarch64elf.em (--no-apply-dynamic-relocs): New option.
1376 * NEWS: Mention --no-apply-dynamic-relocs.
1377 * ld.texinfo (ld and the ARM family): Document
1378 --no-apply-dynamic-relocs.
1379 * testsuite/ld-aarch64/rela-abs-relative.s: New test source.
1380 * testsuite/ld-aarch64/rela-abs-relative.d: New expected result.
1381 * testsuite/ld-aarch64/rela-abs-relative-be.d: Likewise for big-endian.
1382 * estsuite/ld-aarch64/rela-abs-relative-opt.d: Likewise, but enable new
1385 2016-05-03 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1387 * testsuite/ld-elfcomm/elfcomm.exp: Check for shared lib support
1388 before running STT_COMMON tests.
1390 2016-04-29 H.J. Lu <hongjiu.lu@intel.com>
1392 * config/default.exp (NOPIE_CFLAGS): Download source only on
1394 (NOPIE_LDFLAGS): Likewise.
1395 * testsuite/lib/ld-lib.exp (check_lto_available): Likewise.
1396 (check_lto_fat_available): Likewise.
1397 (check_lto_shared_available): Likewise.
1398 (check_ifunc_available): Likewise.
1399 (check_ifunc_attribute_available): Likewise.
1401 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
1403 * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.
1405 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
1408 * testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
1409 (visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
1412 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
1414 * testsuite/ld-elf/compressed1b.d: Pass
1415 --compress-debug-sections=none to ld.
1416 * testsuite/ld-elf/compressed1c.d: Likewise.
1418 2016-04-27 Alan Modra <amodra@gmail.com>
1421 * configure.tgt: Don't use var+=.
1423 2016-04-25 Nick Clifton <nickc@redhat.com>
1426 * configure.tgt: Include big endian PPC64 emulations with little
1427 endian PPC64 targets.
1429 2016-04-25 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1431 * scripttempl/avrtiny.sc (.text): Do not set LMA to zero.
1433 2016-04-21 Nick Clifton <nickc@redhat.com>
1435 * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in
1436 prefernce to _bfd_elf_link_check_relocs. Drop test for ELF
1437 targets. Do not stop the checks when problems are encountered.
1439 2016-04-21 Alan Modra <amodra@gmail.com>
1441 * testsuite/ld-scripts/cross3.t: Add commonly used data
1442 and text section names to output section statements.
1443 * testsuite/ld-scripts/cross4.t: Likewise.
1444 * testsuite/ld-scripts/cross5.t: Likewise.
1445 * testsuite/ld-scripts/cross6.t: Likewise.
1446 * testsuite/ld-scripts/cross7.t: Likewise.
1448 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1450 * ldlang.c (lang_check_relocs): New function.
1451 (lang_process): Call lang_check_relocs after lang_gc_sections.
1452 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
1453 call _bfd_elf_link_check_relocs here.
1455 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1458 * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for
1459 R_386_NONE or R_X86_64_NONE.
1461 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1463 * testsuite/ld-x86-64/pic1.d: New file.
1464 * testsuite/ld-x86-64/pic1.s: Likewise.
1465 * testsuite/ld-x86-64/x86-64.exp: Run pic1.
1467 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1469 * testsuite/ld-x86-64/pie2.d: New file.
1470 * testsuite/ld-x86-64/pie2.s: Likewise.
1471 * testsuite/ld-x86-64/x86-64.exp: Run pie2.
1473 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1476 * testsuite/ld-x86-64/pr19969.d: New file.
1477 * testsuite/ld-x86-64/pr19969a.S: Likewise.
1478 * testsuite/ld-x86-64/pr19969b.S: Likewise.
1479 * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests.
1481 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1483 * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1485 * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1487 * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1489 * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1491 * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1493 * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1495 * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1497 * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1499 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
1500 Set check_relocs_after_open_input to TRUE if
1501 CHECK_RELOCS_AFTER_OPEN_INPUT is yes.
1502 (gld${EMULATION_NAME}_after_open): Call
1503 _bfd_elf_link_check_relocs on all inputs if
1504 check_relocs_after_open_input is TRUE.
1506 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1508 * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
1511 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1513 * emultempl/scoreelf.em: Likewise.
1515 2016-04-19 H.J. Lu <hongjiu.lu@intel.com>
1518 * testsuite/ld-x86-64/pr19719.d: New file.
1519 * testsuite/ld-x86-64/pr19719.s: Likewise.
1520 * testsuite/ld-x86-64/x86-64.exp: Run pr19719.
1522 2016-04-18 Matthew Fortune <matthew.fortune@imgtec.com>
1524 * ld.texinfo: Document NOCROSSREFS_TO script command.
1525 * ldlang.h (struct lang_nocrossrefs): Add onlyfirst field.
1526 (lang_add_nocrossref_to): New prototype.
1527 * ldcref.c (check_local_sym_xref): Use onlyfirst to only look for
1528 symbols defined in the first section.
1529 (check_nocrossref): Likewise.
1530 * ldgram.y (NOCROSSREFS_TO): New script command.
1531 * ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE.
1532 (lang_add_nocrossref_to): New function.
1533 * ldlex.l (NOCROSSREFS_TO): New token.
1534 * NEWS: Mention NOCROSSREFS_TO.
1535 * testsuite/ld-scripts/cross4.t: New file.
1536 * testsuite/ld-scripts/cross5.t: Likewise.
1537 * testsuite/ld-scripts/cross6.t: Likewise.
1538 * testsuite/ld-scripts/cross7.t: Likewise.
1539 * testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO
1542 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
1544 * Makefile.in: Regenerated with automake 1.11.6.
1545 * aclocal.m4: Likewise.
1547 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
1549 * testsuite/ld-arc/arc.exp: New file.
1550 * testsuite/ld-arc/nps-1.s: New file.
1551 * testsuite/ld-arc/nps-1a.d: New file.
1552 * testsuite/ld-arc/nps-1b.d: New file.
1553 * testsuite/ld-arc/nps-1b.err: New file.
1555 2016-04-14 Nick Clifton <nickc@redhat.com>
1558 * testsuite/ld-scripts/script.exp (extract_symbol_test): Add
1559 exceptions for Mingw and Cygwin.
1561 2016-04-13 Andrew Burgess <andrew.burgess@embecosm.com>
1563 * testsuite/lib/ld-lib.exp (run_dump_test): Initialise
1566 2016-04-13 H.J. Lu <hongjiu.lu@intel.com>
1569 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before
1570 tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed
1573 2016-04-11 H.J. Lu <hongjiu.lu@intel.com>
1576 * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
1577 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1578 * testsuite/ld-i386/pr19939.s: New file.
1579 * testsuite/ld-i386/pr19939a.d: Likewise.
1580 * testsuite/ld-i386/pr19939b.d: Likewise.
1581 * testsuite/ld-x86-64/pr19939.s: Likewise.
1582 * testsuite/ld-x86-64/pr19939a.d: Likewise.
1583 * testsuite/ld-x86-64/pr19939b.d: Likewise.
1585 2016-04-09 Oleg Endo <olegendo@gcc.gnu.org>
1587 * emulparams/shelf.sh: Set stack area to 0x3FFFFF00.
1589 2016-04-08 Alan Modra <amodra@gmail.com>
1592 * ldlang.c (maybe_overlays): Delete.
1593 (lang_size_sections_1): Remove code setting maybe_overlays.
1594 (lang_check_section_addresses): Instead detect overlays by
1595 exact match of section VMAs here. Fix memory leak.
1597 2016-04-08 Dan Gisselquist <dgisselq@ieee.org>
1599 * ldlang.c (print_output_section_statement): Show minfo size
1600 in target machine address units.
1601 (print_reloc_statement): Likewise.
1602 (print_padding_statement): Likewise.
1603 (print_data_statement): Likewise. Ensure minimum print_dot
1604 increment of one address unit.
1606 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1608 * emulparams/arc-endianness.sh: Make little endian default choice.
1610 2016-04-07 Nick Clifton <nickc@redhat.com>
1612 * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in
1614 * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise.
1616 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
1618 * emulparams/arc-endianness.sh: New file.
1619 * emulparams/arcebelf.sh: Deleted.
1620 * emulparams/arcebelf_prof.sh: Deleted.
1621 * emulparams/arceblinux.sh: Deleted.
1622 * emulparams/arceblinux_prof.sh: Deleted.
1623 * emulparams/arcelf.sh: Include arc-endinness.sh.
1624 * emulparams/arcelf_prof.sh: Include arc-endinness.sh.
1625 * emulparams/arclinux.sh: Include arc-endinness.sh.
1626 * emulparams/arclinux_prof.sh: Include arc-endinness.sh.
1627 * emulparams/arcv2elf.sh: Include arc-endinness.sh.
1628 * emulparams/arcv2elfx.sh: Include arc-endinness.sh.
1629 * testsuite/ld-elf/compressed1d.d: Update pattern for big and
1630 little endian arc targets.
1631 * testsuite/ld-elf/eh-frame-hdr.d: Likewise.
1632 * testsuite/ld-elf/group1.d: Likewise.
1633 * testsuite/ld-elf/group3b.d: Likewise.
1634 * testsuite/ld-elf/group8a.d: Likewise.
1635 * testsuite/ld-elf/group8b.d: Likewise.
1636 * testsuite/ld-elf/group9a.d: Likewise.
1637 * testsuite/ld-elf/group9b.d: Likewise.
1638 * testsuite/ld-elf/linkonce2.d: Likewise.
1639 * testsuite/ld-elf/pr12851.d: Likewise.
1640 * testsuite/ld-elf/pr12975.d: Likewise.
1641 * testsuite/ld-elf/pr13177.d: Likewise.
1642 * testsuite/ld-elf/pr13195.d: Likewise.
1643 * testsuite/ld-elf/pr17615.d: Likewise.
1644 * testsuite/ld-elf/pr19162.d: Likewise.
1645 * testsuite/ld-elf/sec64k.exp: Likewise.
1646 * testsuite/lib/ld-lib.exp: Likewise.
1648 2016-04-05 Maciej W. Rozycki <macro@imgtec.com>
1651 * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol
1653 * testsuite/ld-cris/tls-e-20a.d: Likewise.
1654 * testsuite/ld-cris/tls-e-21.d: Likewise.
1655 * testsuite/ld-cris/tls-e-23.d: Likewise.
1656 * testsuite/ld-cris/tls-e-80.d: Likewise.
1657 * testsuite/ld-cris/tls-gd-3h.d: Likewise.
1658 * testsuite/ld-cris/tls-leie-19.d: Likewise.
1659 * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test.
1660 * testsuite/ld-mips-elf/export-hidden-ref.sd: New test.
1661 * testsuite/ld-mips-elf/export-internal-ref.sd: New test.
1662 * testsuite/ld-mips-elf/export-protected-ref.sd: New test.
1663 * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source.
1664 * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source.
1665 * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source.
1666 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1668 2016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
1670 * testsuite/ld-discard/extern.d: Removed xfail for ARC.
1671 * testsuite/ld-discard/start.d: Likewise.
1672 * testsuite/ld-discard/static.d: Likewise.
1673 * testsuite/ld-elf/group1.d: Likewise.
1674 * testsuite/ld-elf/group3b.d: Likewise.
1675 * testsuite/ld-elf/orphan-region.d: Likewise.
1676 * testsuite/ld-elf/orphan.d: Likewise.
1677 * testsuite/ld-elf/orphan3.d: Likewise.
1678 * testsuite/ld-elf/pr349.d: Likewise.
1679 * testsuite/ld-elf/warn1.d: Likewise.
1680 * testsuite/ld-elf/warn2.d: Likewise.
1681 * testsuite/ld-elf/warn3.d: Likewise.
1682 * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol
1683 through linker flags.
1684 * testsuite/ld-srec/srec.exp: Set as xfail.
1686 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
1689 * testsuite/ld-i386/pr19827-nacl.rd: New file.
1690 * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
1692 2016-04-04 Nick Clifton <nickc@redhat.com>
1695 * emultempl/pe.em (change_undef): New function. Encapsulates
1696 duplicated code in pe_fixup_stdcalls and adds the newly defined
1697 sym to the gc root list.
1698 (pe_fixup_stdcall): Use the new function.
1699 * pe-dll.c (process_def_file_and_drectve); Add alias of exported
1700 symbol to gc root list.
1702 2016-03-31 Alan Modra <amodra@gmail.com>
1704 * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.
1705 (lang_insert_orphan): Use TO_ADDR in __stop sym calculation.
1706 (print_input_section): Don't use TO_ADDR when printing section
1708 (lang_size_sections_1): Use TO_ADDR in overlay lma calculation.
1709 (lang_size_sections): Use TO_ADDR in relro end calculation.
1711 2016-03-30 Andrew Burgess <andrew.burgess@embecosm.com>
1713 * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return
1714 value from regexp_diff.
1715 * testsuite/ld-elf/orphan-5.l: Fix expected output.
1716 * testsuite/ld-elf/orphan-6.l: Likewise.
1718 2016-03-30 Alan Modra <amodra@gmail.com>
1721 * ldlang.c (maybe_overlays): New static var.
1722 (lang_size_sections_1): Set it here.
1723 (struct check_sec): New.
1724 (sort_sections_by_lma): Adjust for array of structs.
1725 (sort_sections_by_vma): New function.
1726 (lang_check_section_addresses): Check both LMA and VMA for overlap.
1727 * testsuite/ld-scripts/rgn-over7.d: Adjust.
1729 2016-03-30 Alan Modra <amodra@gmail.com>
1731 * ldlang.c (lang_size_sections_1): Correct code detecting a
1732 backward non-overlapping move.
1734 2016-03-30 Alan Modra <amodra@gmail.com>
1736 * ldlang.c (IS_TBSS): New macro, extracted from..
1737 (IGNORE_SECTION): ..here.
1738 (lang_size_sections_1): Use IS_TBSS and IGNORE_SECTION.
1739 (lang_size_sections, lang_do_assignments_1): Use IS_TBSS.
1741 2016-03-22 Nick Clifton <nickc@redhat.com>
1744 * ldlang.c (lang_add_gc_name): New function. Adds the provided
1745 symbol name to the list of gc symbols.
1746 (lang_process): Call lang_add_gc_name with entry_symbol_default if
1747 entry_symbol.name is NULL. Use lang_add_gc_name to add the init
1748 and fini function names.
1749 * pe-dll.c (process_def_file_and_drectve): Add exported names to
1751 * testsuite/ld-pe/pr19803.s: Do not export _testval symbol.
1752 * testsuite/ld-pe/pr19803.d: Tweak expected output.
1754 2016-03-22 Nick Clifton <nickc@redhat.com>
1756 * configure: Regenerate.
1758 2016-03-21 Nick Clifton <nickc@redhat.com>
1760 * emultempl/msp430.em: Replace use of alloca with call to xmalloc.
1761 * plugin.c: Likewise.
1762 * pe-dll.c: Likewise.
1764 2016-03-18 Awson <kyrab@mail.ru>
1767 * scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
1769 * scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.
1771 2016-03-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1773 * ld-avr/gc-section-debugline.d: Relax regex check for CU.
1775 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
1778 * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests.
1779 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1780 * testsuite/ld-i386/pr19827.rd: New file.
1781 * testsuite/ld-i386/pr19827a.S: Likewise.
1782 * testsuite/ld-i386/pr19827b.S: Likewise.
1783 * testsuite/ld-x86-64/pr19827.rd: Likewise.
1784 * testsuite/ld-x86-64/pr19827a.S: Likewise.
1785 * testsuite/ld-x86-64/pr19827b.S: Likewise.
1787 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
1790 * Makefile.am (ELF_X86_DEPS): Add
1791 $(srcdir)/emulparams/reloc_overflow.sh.
1792 * Makefile.in: Regenerated.
1793 * NEWS: Mention -z noreloc-overflow.
1794 * ld.texinfo: Document -z noreloc-overflow.
1795 * emulparams/elf32_x86_64.sh: Source
1796 ${srcdir}/emulparams/reloc_overflow.sh.
1797 * emulparams/elf_x86_64.sh: Likewise.
1798 * emulparams/reloc_overflow.sh: New file.
1799 * testsuite/ld-x86-64/pr19807-1.s: New file.
1800 * testsuite/ld-x86-64/pr19807-1a.d: Likewise.
1801 * testsuite/ld-x86-64/pr19807-1b.d: Likewise.
1802 * testsuite/ld-x86-64/pr19807-2.s: Likewise.
1803 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
1804 * testsuite/ld-x86-64/pr19807-2b.d: Likewise.
1805 * testsuite/ld-x86-64/pr19807-2c.d: Likewise.
1806 * testsuite/ld-x86-64/pr19807-2d.d: Likewise.
1807 * testsuite/ld-x86-64/pr19807-2e.d: Likewise.
1808 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19807 tests.
1810 2016-03-13 H.J. Lu <hongjiu.lu@intel.com>
1813 * testsuite/ld-i386/i386.exp: Run pr19539.
1814 * testsuite/ld-i386/pr19539.d: New file.
1815 * testsuite/ld-i386/pr19539.s: Likewise.
1816 * testsuite/ld-i386/pr19539.t: Likewise.
1817 * testsuite/ld-x86-64/pr19539.s: Likewise.
1818 * testsuite/ld-x86-64/pr19539.t: Likewise.
1819 * testsuite/ld-x86-64/pr19539a.d: Likewise.
1820 * testsuite/ld-x86-64/pr19539b.d: Likewise.
1821 * testsuite/ld-x86-64/x86-64.exp: Run pr19539a and pr19539b.
1823 2016-03-10 Mickael Guene <mickael.guene@st.com>
1826 * testsuite/ld-arm/arm-elf.exp: New tests.
1827 * testsuite/ld-arm/thumb1-adds-armv7-m.s: New.
1828 * testsuite/ld-arm/thumb1-movs-armv7-m.s: New.
1830 2016-03-10 Nick Clifton <nickc@redhat.com>
1832 * scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).
1834 2016-03-09 Pedro Alves <palves@redhat.com>
1836 * scripttempl/v850.sc: Use "v850:old-gcc-abi" as OUTPUT_ARCH.
1837 * scripttempl/v850_rh850.sc: Use "v850:rh850" as OUTPUT_ARCH.
1839 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
1842 * testsuite/ld-elf/pr19789.d: New file.
1843 * testsuite/ld-elf/pr19789.s: Likewise.
1845 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
1848 * testsuite/ld-i386/i386.exp: Remove pr19636-2e-nacl test.
1849 * testsuite/ld-i386/pr19636-2e-nacl.d: Moved to ...
1850 * testsuite/ld-i386/pr19636-2e.d: Here. Remove notarget.
1851 * testsuite/ld-ifunc/ifunc.exp: Run PR ld/19784 tests.
1852 * testsuite/ld-ifunc/pass.out: New file.
1853 * testsuite/ld-ifunc/pr19784a.c: Likewise.
1854 * testsuite/ld-ifunc/pr19784b.c: Likewise.
1855 * testsuite/ld-ifunc/pr19784c.c: Likewise.
1857 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
1860 * testsuite/ld-ifunc/ifunc.exp: Link tmpdir/pr18808a.o before
1861 tmpdir/libpr18808.so. Link tmpdir/pr18841a.o before
1862 tmpdir/libpr18841b.so and tmpdir/libpr18841c.so. Test
1863 --as-needed for pr18841c.
1865 2016-03-07 H.J. Lu <hongjiu.lu@intel.com>
1868 * testsuite/ld-i386/i386.exp: Link tmpdir/pr18900.o before
1869 tmpdir/pr18900.so and test --as-needed. Link tmpdir/gotpc1.o
1870 before tmpdir/got1d.so and test --as-needed.
1871 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr18900.o before
1872 tmpdir/pr18900.so and test --as-needed.
1874 2016-03-07 Jiong Wang <jiong.wang@arm.com>
1876 * testsuite/ld-aarch64/implicit_got_section_1.s: New test source file.
1877 * testsuite/ld-aarch64/implicit_got_section_1.d: New test expected
1879 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
1881 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
1883 * testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o
1884 before tmpdir/copyreloc-lib.so and test --as-needed.
1885 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1887 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
1890 * testsuite/ld-elf/pr19579a.c: New file.
1891 * testsuite/ld-elf/pr19579b.c: Likewise.
1892 * testsuite/ld-elf/shared.exp: Run PR ld/19579 test.
1894 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1896 * testsuite/ld-elf/pr19162.d: Skip hppa-*-*.
1898 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1900 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Add xfails.
1901 Xfail mix_pic_and_non_pic on "arm*-*-*" "aarch64*-*-*".
1903 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1906 * emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other
1907 input sections for relocatable link.
1908 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1909 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1911 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
1914 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
1915 merge flags of other input sections for relocatable link.
1917 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
1919 * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6.
1921 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
1923 * testsuite/ld-elf/pr19162.d: Skip arc target.
1925 2016-02-29 H.J. Lu <hongjiu.lu@intel.com>
1928 * testsuite/ld-elf/pr19162.d: New file.
1929 * testsuite/ld-elf/pr19162a.s: Likwise.
1930 * testsuite/ld-elf/pr19162b.s: Likwise.
1932 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
1934 * testsuite/ld-elf/merge.d: Removed xfail for ARC.
1935 * testsuite/ld-elf/merge2.d: Likewise.
1936 * testsuite/ld-elf/merge3.d: Likewise.
1938 2016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
1940 * scripttempl/arclinux.sc: Force .tdata and .tbss to always be
1943 2016-02-26 Renlin Li <renlin.li@arm.com>
1945 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
1946 * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
1947 * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
1948 * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
1949 * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
1950 * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
1951 * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
1952 * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
1953 * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
1954 * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.
1956 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1959 * testsuite/ld-i386/got1.dd: Updated.
1960 * testsuite/ld-i386/lea1c.d: Likewise.
1961 * testsuite/ld-i386/load1-nacl.d: Likewise.
1962 * testsuite/ld-i386/load1.d: Likewise.
1963 * testsuite/ld-i386/load4b.d: Likewise.
1964 * testsuite/ld-i386/load5b.d: Likewise.
1965 * testsuite/ld-i386/mov1b.d: Likewise.
1966 * testsuite/ld-x86-64/mov1b.d: Likewise.
1967 * testsuite/ld-x86-64/mov1d.d: Likewise.
1968 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
1969 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1970 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
1971 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1972 * testsuite/ld-x86-64/gotpcrel1.dd: Likewise.
1973 * testsuite/ld-x86-64/lea1a.d: Likewise.
1974 * testsuite/ld-x86-64/lea1b.d: Likewise.
1975 * testsuite/ld-x86-64/lea1c.d: Likewise.
1976 * testsuite/ld-x86-64/lea1d.d: Likewise.
1977 * testsuite/ld-x86-64/lea1e.d: Likewise.
1978 * testsuite/ld-x86-64/lea1f.d: Likewise.
1979 * testsuite/ld-x86-64/mov1b.d: Likewise.
1980 * testsuite/ld-x86-64/mov1d.d: Likewise.
1981 * testsuite/ld-x86-64/pr13082-3b.d: Likewise.
1982 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
1983 * testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
1984 * testsuite/ld-i386/pr19609-1.s: New file.
1985 * testsuite/ld-i386/pr19609-1a.d: Likewise.
1986 * testsuite/ld-i386/pr19609-1b.d: Likewise.
1987 * testsuite/ld-i386/pr19609-1c.d: Likewise.
1988 * testsuite/ld-i386/pr19609-1d.d: Likewise.
1989 * testsuite/ld-i386/pr19609-1e.d: Likewise.
1990 * testsuite/ld-i386/pr19609-1f.d: Likewise.
1991 * testsuite/ld-i386/pr19609-1g.d: Likewise.
1992 * testsuite/ld-i386/pr19609-1h.d: Likewise.
1993 * testsuite/ld-i386/pr19609-1i.d: Likewise.
1994 * testsuite/ld-i386/pr19609-2.s: Likewise.
1995 * testsuite/ld-i386/pr19609-2a.d: Likewise.
1996 * testsuite/ld-i386/pr19609-2b.d: Likewise.
1997 * testsuite/ld-i386/pr19609-2c.d: Likewise.
1998 * testsuite/ld-i386/undefweak.s: Likewise.
1999 * testsuite/ld-i386/undefweaka.d: Likewise.
2000 * testsuite/ld-i386/undefweakb.d: Likewise.
2001 * testsuite/ld-x86-64/pr13082-3c.d: Likewise.
2002 * testsuite/ld-x86-64/pr13082-3d.d: Likewise.
2003 * testsuite/ld-x86-64/pr19609-1.s: Likewise.
2004 * testsuite/ld-x86-64/pr19609-1a.d: Likewise.
2005 * testsuite/ld-x86-64/pr19609-1b.d: Likewise.
2006 * testsuite/ld-x86-64/pr19609-1c.d: Likewise.
2007 * testsuite/ld-x86-64/pr19609-1d.d: Likewise.
2008 * testsuite/ld-x86-64/pr19609-1e.d: Likewise.
2009 * testsuite/ld-x86-64/pr19609-1f.d: Likewise.
2010 * testsuite/ld-x86-64/pr19609-1g.d: Likewise.
2011 * testsuite/ld-x86-64/pr19609-1h.d: Likewise.
2012 * testsuite/ld-x86-64/pr19609-1i.d: Likewise.
2013 * testsuite/ld-x86-64/pr19609-1j.d: Likewise.
2014 * testsuite/ld-x86-64/pr19609-1k.d: Likewise.
2015 * testsuite/ld-x86-64/pr19609-1l.d: Likewise.
2016 * testsuite/ld-x86-64/pr19609-1m.d: Likewise.
2017 * testsuite/ld-x86-64/pr19609-2.s: Likewise.
2018 * testsuite/ld-x86-64/pr19609-2a.d: Likewise.
2019 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
2020 * testsuite/ld-x86-64/pr19609-2c.d: Likewise.
2021 * testsuite/ld-x86-64/pr19609-2d.d: Likewise.
2022 * testsuite/ld-x86-64/pr19609-3.s: Likewise.
2023 * testsuite/ld-x86-64/pr19609-3a.d: Likewise.
2024 * testsuite/ld-x86-64/pr19609-3b.d: Likewise.
2025 * testsuite/ld-x86-64/pr19609-4.s: Likewise.
2026 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
2027 * testsuite/ld-x86-64/pr19609-4b.d: Likewise.
2028 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
2029 * testsuite/ld-x86-64/pr19609-4d.d: Likewise.
2030 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
2031 * testsuite/ld-x86-64/pr19609-5.s: Likewise.
2032 * testsuite/ld-x86-64/pr19609-5a.d: Likewise.
2033 * testsuite/ld-x86-64/pr19609-5b.d: Likewise.
2034 * testsuite/ld-x86-64/pr19609-5c.d: Likewise.
2035 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
2036 * testsuite/ld-x86-64/pr19609-5e.d: Likewise.
2037 * testsuite/ld-x86-64/pr19609-6.s: Likewise.
2038 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
2039 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
2040 * testsuite/ld-x86-64/pr19609-6c.d: Likewise.
2041 * testsuite/ld-x86-64/pr19609-6d.d: Likewise.
2042 * testsuite/ld-x86-64/pr19609-7.s: Likewise.
2043 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
2044 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
2045 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
2046 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
2047 * testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
2049 * testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
2050 and tests for PR ld/19609.
2052 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
2055 * NEWS: Mention -z common/-z nocommon for ELF targets.
2056 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
2057 -z common and -z nocommon.
2058 * ld.texinfo: Document -z common/-z nocommon.
2059 * lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
2060 * testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
2061 --elf-stt-common=yes with assembler.
2062 * testsuite/ld-elfcomm/common-1.s: New file.
2063 * testsuite/ld-elfcomm/common-1a.d: Likewise.
2064 * testsuite/ld-elfcomm/common-1b.d: Likewise.
2065 * testsuite/ld-elfcomm/common-1c.d: Likewise.
2066 * testsuite/ld-elfcomm/common-1d.d: Likewise.
2067 * testsuite/ld-elfcomm/common-1e.d: Likewise.
2068 * testsuite/ld-elfcomm/common-1f.d: Likewise.
2069 * testsuite/ld-elfcomm/common-2.s: Likewise.
2070 * testsuite/ld-elfcomm/common-2a.d: Likewise.
2071 * testsuite/ld-elfcomm/common-2b.d: Likewise.
2072 * testsuite/ld-elfcomm/common-2c.d: Likewise.
2073 * testsuite/ld-elfcomm/common-2d.d: Likewise.
2074 * testsuite/ld-elfcomm/common-2e.d: Likewise.
2075 * testsuite/ld-elfcomm/common-2f.d: Likewise.
2076 * testsuite/ld-elfcomm/common-3a.rd: Likewise.
2077 * testsuite/ld-elfcomm/common-3b.rd: Likewise.
2078 * testsuite/ld-i386/pr19645.d: Likewise.
2079 * testsuite/ld-i386/pr19645.s: Likewise.
2080 * testsuite/ld-x86-64/largecomm-1.s: Likewise.
2081 * testsuite/ld-x86-64/largecomm-1a.d: Likewise.
2082 * testsuite/ld-x86-64/largecomm-1b.d: Likewise.
2083 * testsuite/ld-x86-64/largecomm-1c.d: Likewise.
2084 * testsuite/ld-x86-64/largecomm-1d.d: Likewise.
2085 * testsuite/ld-x86-64/largecomm-1e.d: Likewise.
2086 * testsuite/ld-x86-64/largecomm-1f.d: Likewise.
2087 * testsuite/ld-x86-64/pr19645.d: Likewise.
2088 * testsuite/ld-x86-64/pr19645.s: Likewise.
2089 * testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
2091 (assembler_generates_commons): Removed.
2092 Run -z common/-z nocommon tests. Run *.d tests.
2093 * testsuite/ld-i386/i386.exp: Run pr19645.
2094 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2095 * testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
2096 assembler. Test STT_COMMON with readelf.
2098 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
2103 * Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh.
2104 * Makefile.in: Regenerated.
2105 * NEWS: Mention -z nodynamic-undefined-weak.
2106 * ld.texinfo: Document -z nodynamic-undefined-weak.
2107 * ldmain.c (main): Initialize dynamic_undefined_weak to -1.
2108 * emulparams/dynamic_undefined_weak.sh: New file.
2109 * emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh.
2110 * emulparams/elf_i386.sh: Likewise.
2111 * emulparams/elf_i386_be.sh: Likewise.
2112 * emulparams/elf_i386_chaos.sh: Likewise.
2113 * emulparams/elf_i386_ldso.sh: Likewise.
2114 * emulparams/elf_i386_vxworks.sh: Likewise.
2115 * emulparams/elf_iamcu.sh: Likewise.
2116 * emulparams/elf_k1om.sh: Likewise.
2117 * emulparams/elf_l1om.sh: Likewise.
2118 * emulparams/elf_x86_64.sh: Likewise.
2119 * emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS):
2121 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
2122 * testsuite/ld-elf/pr19719a.c: New file.
2123 * testsuite/ld-elf/pr19719b.c: Likewise.
2124 * testsuite/ld-elf/pr19719c.c: Likewise.
2125 * testsuite/ld-elf/pr19719d.c: Likewise.
2126 * testsuite/ld-i386/pr19636-1.s: Likewise.
2127 * testsuite/ld-i386/pr19636-1a.d: Likewise.
2128 * testsuite/ld-i386/pr19636-1b.d: Likewise.
2129 * testsuite/ld-i386/pr19636-1c.d: Likewise.
2130 * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
2131 * testsuite/ld-i386/pr19636-1d.d: Likewise.
2132 * testsuite/ld-i386/pr19636-1e.d: Likewise.
2133 * testsuite/ld-i386/pr19636-1f.d: Likewise.
2134 * testsuite/ld-i386/pr19636-1g.d: Likewise.
2135 * testsuite/ld-i386/pr19636-1h.d: Likewise.
2136 * testsuite/ld-i386/pr19636-1i.d: Likewise.
2137 * testsuite/ld-i386/pr19636-2.s: Likewise.
2138 * testsuite/ld-i386/pr19636-2a.d: Likewise.
2139 * testsuite/ld-i386/pr19636-2b.d: Likewise.
2140 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
2141 * testsuite/ld-i386/pr19636-2c.d: Likewise.
2142 * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
2143 * testsuite/ld-i386/pr19636-2d.d: Likewise.
2144 * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
2145 * testsuite/ld-i386/pr19636-2e.d: Likewise.
2146 * testsuite/ld-i386/pr19636-3.s: Likewise.
2147 * testsuite/ld-i386/pr19636-3a.d: Likewise.
2148 * testsuite/ld-i386/pr19636-3b.d: Likewise.
2149 * testsuite/ld-i386/pr19636-3c.d: Likewise.
2150 * testsuite/ld-i386/pr19636-3d.d: Likewise.
2151 * testsuite/ld-i386/pr19636-3e.d: Likewise.
2152 * testsuite/ld-i386/pr19636-3f.d: Likewise.
2153 * testsuite/ld-i386/pr19636-3g.d: Likewise.
2154 * testsuite/ld-i386/pr19636-4.s: Likewise.
2155 * testsuite/ld-i386/pr19636-4a.d: Likewise.
2156 * testsuite/ld-i386/pr19636-4b.d: Likewise.
2157 * testsuite/ld-i386/pr19636-4c.d: Likewise.
2158 * testsuite/ld-i386/pr19636-4d.d: Likewise.
2159 * testsuite/ld-i386/pr19704.out: Likewise.
2160 * testsuite/ld-i386/pr19704a.c: Likewise.
2161 * testsuite/ld-i386/pr19704b.c: Likewise.
2162 * testsuite/ld-x86-64/pr19636-1.s: Likewise.
2163 * testsuite/ld-x86-64/pr19636-1a.d: Likewise.
2164 * testsuite/ld-x86-64/pr19636-1b.d: Likewise.
2165 * testsuite/ld-x86-64/pr19636-1c.d: Likewise.
2166 * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
2167 * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
2168 * testsuite/ld-x86-64/pr19636-1f.d: Likewise.
2169 * testsuite/ld-x86-64/pr19636-1g.d: Likewise.
2170 * testsuite/ld-x86-64/pr19636-2.s: Likewise.
2171 * testsuite/ld-x86-64/pr19636-2a.d: Likewise.
2172 * testsuite/ld-x86-64/pr19636-2b.d: Likewise.
2173 * testsuite/ld-x86-64/pr19636-2c.d: Likewise.
2174 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
2175 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
2176 * testsuite/ld-x86-64/pr19636-2e.d: Likewise.
2177 * testsuite/ld-x86-64/pr19636-2f.d: Likewise.
2178 * testsuite/ld-x86-64/pr19636-2g.d: Likewise.
2179 * testsuite/ld-x86-64/pr19636-2h.d: Likewise.
2180 * testsuite/ld-x86-64/pr19636-2i.d: Likewise.
2181 * testsuite/ld-x86-64/pr19636-3.s: Likewise.
2182 * testsuite/ld-x86-64/pr19636-3a.d: Likewise.
2183 * testsuite/ld-x86-64/pr19636-3b.d: Likewise.
2184 * testsuite/ld-x86-64/pr19636-3c.d: Likewise.
2185 * testsuite/ld-x86-64/pr19636-3d.d: Likewise.
2186 * testsuite/ld-x86-64/pr19704.out: Likewise.
2187 * testsuite/ld-x86-64/pr19704a.c: Likewise.
2188 * testsuite/ld-x86-64/pr19704b.c: Likewise.
2189 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New.
2190 Run mix_pic_and_non_pic.
2191 * testsuite/ld-i386/i386.exp (undefined_weak): New.
2192 Run undefined_weak and PR ld/19636 tests.
2193 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2194 * testsuite/ld-x86-64/pr13082-3b.d: Updated.
2195 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
2197 2016-02-25 Nick Clifton <nickc@redhat.com>
2199 * ld.h (struct ld_config_type): Remove specified_data_size field.
2201 2016-02-24 H.J. Lu <hongjiu.lu@intel.com>
2204 * testsuite/ld-elf/pr19698.d: New file.
2205 * testsuite/ld-elf/pr19698.s: Likewise.
2206 * testsuite/ld-elf/pr19698.t: Likewise.
2208 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
2210 * Makefile.am (ELF_X86_DEPS): New.
2211 (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS).
2212 (eelf_i386_chaos.c): Likewise.
2213 (eelf_i386_fbsd.c): Likewise.
2214 (eelf_i386_ldso.c): Likewise.
2215 (eelf_i386_nacl.c): Likewise.
2216 (eelf_i386_sol2.c): Likewise.
2217 (eelf_iamcu.c): Likewise.
2218 (eelf32_x86_64.c): Likewise.
2219 (eelf32_x86_64_nacl.c): Likewise.
2220 (eelf_l1om.c): Likewise.
2221 (eelf_l1om_fbsd.c): Likewise.
2222 (eelf_k1om.c): Likewise.
2223 (eelf_k1om_fbsd.c): Likewise.
2224 (eelf_x86_64.c): Likewise.
2225 (eelf_x86_64_cloudabi.c): Likewise.
2226 (eelf_x86_64_fbsd.c): Likewise.
2227 (eelf_x86_64_sol2.c): Likewise.
2228 * Makefile.in: Regenerated.
2230 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
2232 * testsuite/ld-frv/fdpic-pie-6.d: Updated.
2233 * testsuite/ld-mips-elf/pie-n32.d: Likewise.
2234 * testsuite/ld-mips-elf/pie-n64.d: Likewise.
2235 * testsuite/ld-mips-elf/pie-o32.d: Likewise.
2237 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
2239 * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
2241 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
2243 * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
2244 *-*-gnu* and *-*-solaris*.
2245 * testsuite/ld-elf/pr19617b.d: Likewise.
2246 * testsuite/ld-elf/pr19617c.d: Likewise.
2248 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
2251 * testsuite/ld-elf/pr19617.s: New file.
2252 * testsuite/ld-elf/pr19617a.d: Likewise.
2253 * testsuite/ld-elf/pr19617b.d: Likewise.
2254 * testsuite/ld-elf/pr19617c.d: Likewise.
2256 2016-02-18 Nick Clifton <nickc@redhat.com>
2258 * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
2259 in-tree xg++ executable after checking for the presence of an
2260 in-tree g++ executable.
2261 * Makefile.in: Regenerate.
2263 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
2265 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
2266 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
2267 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
2269 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
2271 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
2272 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
2273 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
2274 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
2275 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
2276 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
2277 * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
2278 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
2279 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
2280 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
2281 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
2282 * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
2283 * testsuite/ld-x86-64/load1c.d: Likewise.
2284 * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
2285 * testsuite/ld-x86-64/load1d.d: Likewise.
2286 * testsuite/ld-x86-64/pr14207.d: Likewise.
2287 * testsuite/ld-x86-64/pr19162.d: Likewise.
2288 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
2289 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
2290 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
2291 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
2292 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
2293 * testsuite/ld-x86-64/tlspic.rd: Likewise.
2295 2016-02-17 Nick Clifton <nickc@redhat.com>
2297 * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
2299 2016-02-15 Nick Clifton <nickc@redhat.com>
2301 * testsuite/ld-i386/pr12718.d: Remove dependency upon the
2302 description of the flags produced by readelf.
2303 * testsuite/ld-i386/pr12921.d: Likewise.
2304 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
2305 * testsuite/ld-i386/tlsbin.rd: Likewise.
2306 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
2307 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
2308 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
2309 * testsuite/ld-i386/tlsdesc.rd: Likewise.
2310 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
2311 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
2312 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
2313 * testsuite/ld-i386/tlsnopic.rd: Likewise.
2314 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
2315 * testsuite/ld-i386/tlspic.rd: Likewise.
2316 * testsuite/ld-s390/tlsbin.rd: Likewise.
2317 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
2318 * testsuite/ld-s390/tlspic.rd: Likewise.
2319 * testsuite/ld-s390/tlspic_64.rd: Likewise.
2320 * testsuite/ld-sh/tlsbin-2.d: Likewise.
2321 * testsuite/ld-sh/tlspic-2.d: Likewise.
2322 * testsuite/ld-tic6x/common.d: Likewise.
2323 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
2324 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
2325 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
2326 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
2327 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
2328 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
2329 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
2330 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
2331 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
2332 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
2333 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
2334 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
2335 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
2336 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
2337 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
2338 * testsuite/ld-x86-64/pr12718.d: Likewise.
2339 * testsuite/ld-x86-64/pr12921.d: Likewise.
2340 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
2341 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
2342 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
2343 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
2344 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
2345 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
2346 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
2347 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
2348 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
2349 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
2350 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
2351 * testsuite/ld-x86-64/tlspic.rd: Likewise.
2352 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
2353 * testsuite/ld-xtensa/tlspic.rd: Likewise.
2355 2016-02-11 H.J. Lu <hongjiu.lu@intel.com>
2358 * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
2360 * lexsup.c (parse_args): Enable -Bsymbolic and
2361 -Bsymbolic-functions for PIE.
2362 * testsuite/ld-i386/i386.exp: Run pr19615.
2363 * testsuite/ld-i386/pr19615.d: New file.
2364 * testsuite/ld-i386/pr19615.s: Likewise.
2365 * testsuite/ld-x86-64/pr19615.d: Likewise.
2366 * testsuite/ld-x86-64/pr19615.s: Likewise.
2368 2016-02-09 Nick Clifton <nickc@redhat.com>
2370 * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
2371 * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
2372 * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
2373 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
2375 2016-02-04 Nick Clifton <nickc@redhat.com>
2377 * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
2378 * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
2379 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
2380 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
2381 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
2382 * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
2383 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
2384 * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
2385 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
2387 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2390 * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
2391 * testsuite/ld-i386/call1.d: Likewise.
2392 * testsuite/ld-i386/call2.d: Likewise.
2393 * testsuite/ld-i386/call3a.d: Likewise.
2394 * testsuite/ld-i386/call3b.d: Likewise.
2395 * testsuite/ld-i386/call3c.d: Likewise.
2396 * testsuite/ld-i386/call3d.d: Likewise.
2397 * testsuite/ld-i386/call3e.d: Likewise.
2398 * testsuite/ld-i386/call3f.d: Likewise.
2399 * testsuite/ld-i386/call3g.d: Likewise.
2400 * testsuite/ld-i386/call3h.d: Likewise.
2401 * testsuite/ld-i386/jmp1.d: Likewise.
2402 * testsuite/ld-i386/jmp2.d: Likewise.
2403 * testsuite/ld-i386/lea1c.d: Likewise.
2404 * testsuite/ld-i386/load1.d: Likewise.
2405 * testsuite/ld-i386/load2.d: Likewise.
2406 * testsuite/ld-i386/load3.d: Likewise.
2407 * testsuite/ld-i386/load4a.d: Likewise.
2408 * testsuite/ld-i386/load5a.d: Likewise.
2409 * testsuite/ld-i386/mov2b.d: Likewise.
2410 * testsuite/ld-i386/mov3.d: Likewise.
2411 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
2412 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
2413 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
2414 * testsuite/ld-x86-64/call1a.d: Likewise.
2415 * testsuite/ld-x86-64/call1b.d: Likewise.
2416 * testsuite/ld-x86-64/call1c.d: Likewise.
2417 * testsuite/ld-x86-64/call1d.d: Likewise.
2418 * testsuite/ld-x86-64/call1e.d: Likewise.
2419 * testsuite/ld-x86-64/call1f.d: Likewise.
2420 * testsuite/ld-x86-64/call1h.d: Likewise.
2421 * testsuite/ld-x86-64/call1i.d: Likewise.
2422 * testsuite/ld-x86-64/load1a.d: Likewise.
2423 * testsuite/ld-x86-64/load1b.d: Likewise.
2424 * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
2425 * testsuite/ld-i386/got1.dd: Updated.
2426 * testsuite/ld-i386/got1d.S (1): Removed.
2427 * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
2428 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2430 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
2433 * testsuite/ld-x86-64/pr18591.d: New file.
2434 * testsuite/ld-x86-64/pr18591.s: Likewise.
2435 * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
2437 2016-02-01 H.J. Lu <hongjiu.lu@intel.com>
2440 * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
2441 * testsuite/ld-elf/pr19553.map: New file.
2442 * testsuite/ld-elf/pr19553.map: Likewise.
2443 * testsuite/ld-elf/pr19553a.c: Likewise.
2444 * testsuite/ld-elf/pr19553b.c: Likewise.
2445 * testsuite/ld-elf/pr19553b.out: Likewise.
2446 * testsuite/ld-elf/pr19553c.c: Likewise.
2447 * testsuite/ld-elf/pr19553c.out: Likewise.
2448 * testsuite/ld-elf/pr19553d.c: Likewise.
2449 * testsuite/ld-elf/pr19553d.out: Likewise.
2451 2016-01-30 H.J. Lu <hongjiu.lu@intel.com>
2454 * testsuite/ld-elf/pr19539.d: New file.
2455 * testsuite/ld-elf/pr19539.s: Likewise.
2456 * testsuite/ld-elf/pr19539.t: Likewise.
2458 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
2461 * configure.ac (compressed_debug_sections): Replace == with =.
2462 * configure: Regenerated.
2464 2016-01-22 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2466 * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
2467 * scripttempl/avrtiny.sc (.noinit): Likewise.
2469 2016-01-21 Nick Clifton <nickc@redhat.com>
2472 * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
2473 the arm-netbsdelf target.
2476 * testsuite/ld-arm/vxworks1-lib.dd: Update for current
2477 disassmebler output.
2478 * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
2479 * testsuite/ld-arm/vxworks1.dd: Likewise.
2480 * testsuite/ld-arm/vxworks1.rd: Likewise.
2481 * testsuite/ld-arm/vxworks1.ld: Set the output format.
2483 2016-01-20 Jiong Wang <jiong.wang@arm.com>
2485 * testsuite/ld-aarch64/farcall-section.d: Delete.
2486 * testsuite/ld-aarch64/farcall-section.s: Delete.
2487 * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
2488 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
2489 * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
2490 * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
2491 * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
2493 2016-01-20 Nick Clifton <nickc@redhat.com>
2496 * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
2497 early for PE based targets.
2498 * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
2499 * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
2501 2016-01-20 Mickael Guene <mickael.guene@st.com>
2503 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
2504 Add 'y' attribute usage.
2505 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
2506 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
2507 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
2509 2016-01-19 Nick Clifton <nickc@redhat.com>
2511 * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
2512 foo@FOO and bar@@FOO.
2514 2016-01-18 Alan Modra <amodra@gmail.com>
2516 * configure: Regenerate.
2518 2016-01-18 Nick Clifton <nickc@redhat.com>
2520 * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
2521 is not configured to support plugins.
2523 * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
2524 but with 16 byte section alignment.
2525 * testsuite/ld-scripts/rgn-at11.d: Use new source file. Reenable
2526 test for MIPS targets.
2528 2016-01-17 Alan Modra <amodra@gmail.com>
2530 * configure: Regenerate.
2532 2016-01-17 Alan Modra <amodra@gmail.com>
2534 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
2535 * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
2536 * testsuite/ld-elf/pr14156a.d: Likewise.
2537 * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
2538 * testsuite/ld-elf/sec64k.exp: Likewise.
2540 2016-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
2542 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
2543 Set address of .foo section when linking.
2544 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
2546 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
2547 output to the above changes.
2549 2016-01-13 Nick Clifton <nickc@redhat.com>
2551 * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
2554 * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
2555 fail for MIPS targets.
2557 * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
2560 2016-01-12 Yury Usishchev <y.usishchev@samsung.com>
2562 * testsuite/ld-arm/arm-elf.exp: New test.
2563 * testsuite/ld-arm/unwind-mix.d: New file.
2564 * testsuite/ld-arm/unwind-mix1.s: New file.
2565 * testsuite/ld-arm/unwind-mix2.s: New file.
2567 2016-01-08 Jiong Wang <jiong.wang@arm.com>
2570 * testsuite/ld-arm/ifunc-3.rd: Update expected result.
2571 * testsuite/ld-arm/ifunc-4.rd: Likewise.
2572 * testsuite/ld-arm/ifunc-9.rd: Likewise.
2573 * testsuite/ld-arm/ifunc-10.rd: Likewise.
2574 * testsuite/ld-arm/ifunc-12.rd: Likewise.
2575 * testsuite/ld-arm/ifunc-13.rd: Likewise.
2577 2016-01-05 Nick Clifton <nickc@redhat.com>
2579 * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
2580 MSP430 hardware multiply address range.
2581 * scripttempl/elf32msp430.sc (__romdatastart): Define.
2582 (__romdatacopysize): Define.
2583 * scripttempl/elf32msp430_3.sc: Likewise.
2585 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
2587 * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
2588 OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
2590 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
2592 * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
2593 messages expected according to MIPS BFD private data merge
2595 * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
2596 * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
2597 * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
2598 * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
2599 * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
2600 * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
2601 * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
2602 * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
2603 * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
2604 * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
2605 * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
2606 * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
2607 * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
2609 2016-01-01 Alan Modra <amodra@gmail.com>
2611 Update year range in copyright notice of all files.
2613 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
2615 Copyright (C) 2016 Free Software Foundation, Inc.
2617 Copying and distribution of this file, with or without modification,
2618 are permitted in any medium without royalty provided the copyright
2619 notice and this notice are preserved.
2625 version-control: never