1 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
3 * testsuite/ld-mips-elf/unaligned-branch-2.d: Update error
5 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: Likewise.
6 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: Likewise.
7 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: Likewise.
8 * testsuite/ld-mips-elf/bal-jalx-addend.d: New test.
9 * testsuite/ld-mips-elf/bal-jalx-local.d: New test.
10 * testsuite/ld-mips-elf/bal-jalx-pic.d: New test.
11 * testsuite/ld-mips-elf/bal-jalx-addend-n32.d: New test.
12 * testsuite/ld-mips-elf/bal-jalx-local-n32.d: New test.
13 * testsuite/ld-mips-elf/bal-jalx-pic-n32.d: New test.
14 * testsuite/ld-mips-elf/bal-jalx-addend-n64.d: New test.
15 * testsuite/ld-mips-elf/bal-jalx-local-n64.d: New test.
16 * testsuite/ld-mips-elf/bal-jalx-pic-n64.d: New test.
17 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
18 * testsuite/ld-mips-elf/unaligned-jalx-3.d: New test.
19 * testsuite/ld-mips-elf/unaligned-jalx-addend-2.d: New test.
20 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d: New test.
21 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
22 * testsuite/ld-mips-elf/unaligned-jalx-3.s: New test source.
23 * testsuite/ld-mips-elf/unaligned-jalx-addend-2.s: New test
25 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.s: New test
27 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
29 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
31 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error message
33 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: Likewise.
34 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d:
36 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d:
38 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
39 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
40 * testsuite/ld-mips-elf/undefweak-overflow.s: Add jumps,
41 microMIPS BAL and MIPS16 instructions.
42 * testsuite/ld-mips-elf/undefweak-overflow.d: Update
44 * testsuite/ld-mips-elf/unaligned-branch-2.d: New test.
45 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: New test.
46 * testsuite/ld-mips-elf/unaligned-branch-r6-2.d: New test.
47 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: New test.
48 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: New test.
49 * testsuite/ld-mips-elf/unaligned-jump-mips16.d: New test.
50 * testsuite/ld-mips-elf/unaligned-jump-micromips.d: New test.
51 * testsuite/ld-mips-elf/unaligned-jump.d: New test.
52 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
54 2016-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
56 * plugin.c (plugin_call_claim_file): Restore the file offset after
57 an unsuccessful attempt to claim a file.
58 * testplug.c (bytes_to_read_before_claim): New global.
59 (record_read_length): New function, sets new global
60 bytes_to_read_before_claim.
61 (parse_option): Handle 'read:<NUMBER>' option.
62 (onclaim_file): Read file content before checking for claim.
63 * testsuite/ld-plugin/plugin-30.d: New file.
64 * testsuite/ld-plugin/plugin.exp: Add new test.
66 2016-07-16 Alan Modra <amodra@gmail.com>
68 * plugin.c: Don't include libbfd.h. Include plugin-api.h
70 (plugin_object_p): Use bfd_plugin_open_input.
72 2016-07-16 Alan Modra <amodra@gmail.com>
74 * ldlang.c (open_output): Replace bfd_search_for_target with
75 bfd_iterate_over_targets. Localize vars.
77 2016-07-16 Alan Modra <amodra@gmail.com>
79 * ldlang.c: Don't include libbfd.h.
80 * emultempl/nds32elf.em: Likewise.
81 * emultempl/ppc64elf.em: Likewise.
82 * emultempl/ppc32elf.em: Likewise.
84 (params): Update init.
85 (ppc_after_open_output): Use params.pagesize. Don't call bfd_log2.
86 (PARSE_AND_LIST_ARGS_CASES): Use params.pagesize.
87 * emultempl/sh64elf.em: Don't include libbfd.h.
88 (after_allocation): Use ASSERT, not BFD_ASSERT.
89 * emultempl/xtensaelf.em: Don't include libbfd.h.
90 (replace_insn_sec_with_prop_sec): Use xmalloc, not bfd_malloc.
91 * Makefile.am: Update dependencies.
92 * Makefile.in: Regenerate.
94 2016-07-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
95 Nick Clifton <nickc@redhat.com>
97 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Open import
98 library file for writing and initialize implib_bfd field of link_info
100 * emultempl/pe.em (pe_implib_filename): Remove variable declaration.
101 (OPTION_IMPLIB_FILENAME): Remove macro definition.
102 (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
103 (gld_${EMULATION_NAME}_list_options): Likewise.
104 (gld${EMULATION_NAME}_handle_option): Likewise.
105 (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
106 instead of pe_implib_filename.
107 * emultempl/pep.em (pep_implib_filename): Remove variable declaration.
108 (OPTION_IMPLIB_FILENAME): Remove enumerator.
109 (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
110 (gld_${EMULATION_NAME}_list_options): Likewise.
111 (gld${EMULATION_NAME}_handle_option): Likewise.
112 (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
113 instead of pep_implib_filename.
114 * ld.h (args_type): Declare new out_implib_filename field.
115 * ld.texinfo (--out-implib): Move documentation to arch-independent
116 part and rephrase to apply to ELF targets.
117 * ldexp.c (exp_fold_tree_1): Set ldscript_def field to 1 for symbols
118 defined in linker scripts.
119 * ldlex.h (enum option_values): Declare new OPTION_OUT_IMPLIB
121 * lexsup.c (ld_options): Add entry for new --out-implib switch.
122 (parse_args): Handle OPTION_OUT_IMPLIB case.
123 * testsuite/ld-elf/elf.exp (Generate empty import library): New test.
124 (Generate import library): Likewise.
125 * testsuite/ld-elf/implib.s: Likewise.
126 * testsuite/ld-elf/implib.rd: New file.
127 * testsuite/ld-elf/empty-implib.out: Likewise
129 2016-07-15 Nick Clifton <nickc@redhat.com>
131 * testsuite/ld-arc/arc.exp: Always run the sda-relocs test in
134 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
136 * testsuite/ld-mips-elf/mips-elf.exp: Run
137 `branch-absolute-addend', `mips16-branch-absolute',
138 `mips16-branch-absolute-addend' and
139 `micromips-branch-absolute-addend'.
141 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
143 * testsuite/ld-mips-elf/mips16-branch-absolute.d: New test.
144 * testsuite/ld-mips-elf/mips16-branch-absolute-n32.d: New test.
145 * testsuite/ld-mips-elf/mips16-branch-absolute-n64.d: New test.
146 * testsuite/ld-mips-elf/mips16-branch-absolute-addend.d: New
148 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n32.d: New
150 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n64.d: New
152 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
153 from `mips16-branch-absolute' and
154 `mips16-branch-absolute-addend', referred indirectly only.
156 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
158 * testsuite/ld-mips-elf/branch-absolute.d: New test.
159 * testsuite/ld-mips-elf/branch-absolute-n32.d: New test.
160 * testsuite/ld-mips-elf/branch-absolute-n64.d: New test.
161 * testsuite/ld-mips-elf/branch-absolute-addend.d: New test.
162 * testsuite/ld-mips-elf/branch-absolute-addend-n32.d: New test.
163 * testsuite/ld-mips-elf/branch-absolute-addend-n64.d: New test.
164 * testsuite/ld-mips-elf/micromips-branch-absolute.d: New test.
165 * testsuite/ld-mips-elf/micromips-branch-absolute-n32.d: New
167 * testsuite/ld-mips-elf/micromips-branch-absolute-n64.d: New
169 * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d: New
171 * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n32.d:
173 * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n64.d:
175 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
176 from `branch-absolute-addend' and
177 `micromips-branch-absolute-addend', referred indirectly only.
179 2016-07-14 Claudiu Zissulescu <claziss@synopsys.com>
181 * emulparams/arcelf.sh (SDATA_START_SYMBOLS): Add offset.
182 * testsuite/ld-arc/sda-relocs.dd: New file.
183 * testsuite/ld-arc/sda-relocs.ld: Likewise.
184 * testsuite/ld-arc/sda-relocs.rd: Likewise.
185 * testsuite/ld-arc/sda-relocs.s: Likewise.
186 * testsuite/ld-arc/arc.exp: Add SDA tests.
188 2016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
190 * testsuite/ld-arc/nps-1b.err: Update test to handle more
193 2016-07-09 Alan Modra <amodra@gmail.com>
195 * testsuite/ld-powerpc/elfv2exe.d: Update.
197 2016-07-06 James Bowman <james.bowman@ftdichip.com>
199 * scripttempl/ft32.sc (__PMSIZE): Correct __PMSIZE_.
203 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
205 * testsuite/ld-plugin/lto.exp: Add -flto to PR ld/20321 test.
207 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
209 * testsuite/ld-arm/farcall-thumb2-purecode.d: New test result.
210 * testsuite/ld-arm/farcall-thumb2-purecode.s: New test.
211 * testsuite/ld-arm/arm-elf.exp: Run it.
213 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
215 * testsuite/ld-arm/arm_noread.ld: Renamed to ...
216 testsuite/ld-arm/arm_purecode.ld: ... this, and replaced
217 all noread's by purecode.
219 2016-07-05 Jan Beulich <jbeulich@suse.com>
221 * ldexp.c (exp_fold_tree_1): Set linker_def field based on
222 assignment line number.
223 * ldlex.l (lineno): Drop initializer.
224 (<<EOF>>): Set lineno to zero after reaching top of stack.
226 2016-07-04 H.J. Lu <hongjiu.lu@intel.com>
229 * plugin.c (plugin_opt_plugin): Warn and return if plugin has
231 * testsuite/ld-plugin/lto.exp: Run PR ld/20321 test.
232 * testsuite/ld-plugin/pr20321.c: New file.
234 2016-07-04 Nick Clifton <nickc@redhat.com>
236 * scripttempl/ft32.sc (__PMSIZE_): If not defined, set to 256K.
237 (__RAMSIZE): If not defined, set to 64K.
238 (MEMORY): Set the flash region size to __PMSIZE and the ram region
241 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
243 * testsuite/ld-mips-elf/branch-misc-2.d: New test.
244 * testsuite/ld-mips-elf/mips-elf.exp: Run it.
246 2016-07-01 Thomas Preud'homme <thomas.preudhomme@arm.com>
248 * testsuite/ld-arm/arm-elf.exp (Thumb-2 BL): Assemble for ARMv7.
249 (Thumb-2 BL on ARMv6-M): New testcase.
250 * testsuite/ld-arm/thumb2-bl.d: Do not try to match testcase filename.
251 * testsuite/ld-arm/thumb2-bl.s: Do not select architecture.
253 2016-07-01 Tristan Gingold <gingold@adacore.com>
255 * NEWS: Add marker for 2.27.
257 2016-06-28 H.J. Lu <hongjiu.lu@intel.com>
259 * testsuite/ld-gc/gc.exp: Run pr20306 test.
260 * ld-gc/pr20306.c: New file.
261 * ld-gc/pr20306.d: Likewise.
263 2016-06-28 Nick Clifton <nickc@redhat.com>
265 * testsuite/ld-elf/comm-data.exp: Expect comm-data2 test to fail
267 * testsuite/ld-elf/elf.exp: Expect pr14170 and symbolic function
268 tests to fail for bfin.
269 * testsuite/ld-elf/endsym.d: Expect to fail with cr16, crx, dlx,
271 * testsuite/ld-elf/var1.d: Expect to fail with d30v, dlx, ft32 and
273 * testsuite/ld-pe/pe.exp: Expect foreign symbol test to fail for
276 2016-06-28 Nick Clifton <nickc@redhat.com>
278 * testsuite/ld-elf/merge.d: Add m68hc11 to list of targets that
279 expect to fail this test.
280 * testsuite/ld-scripts/overlay-size.d: Skip the entire test for
282 * testsuite/ld-scripts/rgn-at10.d: No longer expect this test to
284 * testsuite/ld-scripts/rgn-at11.d: Likewise.
285 * testsuite/ld-scripts/rgn-at2.d: Likewise.
286 * testsuite/ld-scripts/rgn-at6.d: Likewise.
287 * testsuite/ld-scripts/rgn-at7.d: Likewise.
288 * testsuite/ld-scripts/rgn-at8.d: Likewise.
290 2016-06-28 James Clarke <jrtc27@jrtc27.com>
292 * testsuite/ld-elf/symbolic-func.r: Allow non-zero offsets from
295 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
297 * testsuite/ld-mips-elf/attr-gnu-4-10.d: Match any UNIX OS/ABI.
298 * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise.
299 * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise.
300 * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
302 2016-06-28 Alan Modra <amodra@gmail.com>
305 * testsuite/ld-scripts/pr20302.d: Exclude *-*-*aout.
307 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
309 * testsuite/ld-mips-elf/mips16-branch-2.d: New test.
310 * testsuite/ld-mips-elf/mips16-branch-3.d: New test.
311 * testsuite/ld-mips-elf/mips16-branch-addend-2.d: New test.
312 * testsuite/ld-mips-elf/mips16-branch-addend-3.d: New test.
313 * testsuite/ld-mips-elf/mips16-branch.s: New test source.
314 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
316 2016-06-27 Nick Clifton <nickc@redhat.com>
319 * lexsup.c (set_segment_start): If resetting the start address of
320 a section, remember to generate a new script element as well.
321 * testsuite/ld-scripts/pr20302.d: New test.
322 * testsuite/ld-scripts/scripts.exp: Run the new test.
324 2016-06-24 Alan Modra <amodra@gmail.com>
326 * testsuite/ld-aarch64/aarch64-elf.exp (aarch64_choose_ilp32_emul):
327 Don't error out, always return an emulation.
329 2016-06-24 Dilyan Palauzov <dilyan.palauzov@aegee.org>
330 H.J. Lu <hongjiu.lu@intel.com>
332 * lexsup.c (elf_shlib_list_options): Check DEFAULT_LD_Z_RELRO
333 for -z relro help message.
335 2016-06-22 Maciej W. Rozycki <macro@imgtec.com>
337 * testsuite/ld-mips-elf/undefweak-overflow.d: Use wildcard
340 2016-06-22 Maciej W. Rozycki <macro@imgtec.com>
342 * testsuite/ld-mips-elf/mips-elf.exp: Uniquely identify
343 `undefweak-overflow' tests.
345 2016-06-22 H.J. Lu <hongjiu.lu@intel.com>
348 * NEWS: Mention --enable-relro.
349 * configure.ac: Add --enable-relro.
350 (DEFAULT_LD_Z_RELRO): New. Set by --enable-relro.
351 * configure.tgt (ac_default_ld_z_relro): Default it to 1 for
353 * config.in: Regenerated.
354 * configure: Likewise.
355 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
356 link_info.relro to DEFAULT_LD_Z_RELRO.
357 * testsuite/config/default.exp (ld_elf_shared_opt): New.
358 * testsuite/lib/ld-lib.exp (run_dump_test): Pass
359 $ld_elf_shared_opt to ld for ELF targets with shared object
361 (run_ld_link_tests): Likewise.
363 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
365 * testsuite/ld-mips-elf/mode-change-error-1a.s: Trigger an error
366 twice rather than once.
367 * testsuite/ld-mips-elf/mode-change-error-1.d: Adjust
368 accordingly. Remove the full stop from the end of the message.
370 2016-06-21 Graham Markall <graham.markall@embecosm.com>
372 * testsuite/ld-arc/nps-1a.d: Use -mcpu=arc700 -mnps400.
373 * testsuite/ld-arc/nps-1b.d: Likewise.
375 2016-06-20 H.J. Lu <hongjiu.lu@intel.com>
378 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
380 (lto_run_tests): Likewise.
381 * testsuite/ld-plugin/pr20267a.c: New file.
382 * testsuite/ld-plugin/pr20267b.c: Likewise.
384 2016-06-20 H.J. Lu <hongjiu.lu@intel.com>
385 Alan Modra <amodra@gmail.com>
388 * plugin.c (plugin_notice): Set non_ir_ref on common symbols.
389 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
391 (lto_run_tests): Likewise.
392 * testsuite/ld-plugin/pass.out: New file.
393 * testsuite/ld-plugin/pr20276a.c: Likewise.
394 * testsuite/ld-plugin/pr20276b.c: Likewise.
396 2016-06-18 H.J. Lu <hongjiu.lu@intel.com>
398 * plugin.c (plugin_object_p): Replace bfd_plugin_uknown
399 with bfd_plugin_unknown.
401 2016-06-18 H.J. Lu <hongjiu.lu@intel.com>
404 * testsuite/ld-i386/i386.exp: Run PR ld/20253 tests.
405 * testsuite/ld-i386/no-plt.exp: Likewise.
406 * testsuite/ld-x86-64/no-plt.exp: Likewise.
407 * testsuite/ld-i386/pr13302.d: Remove .rel.plt section.
408 * testsuite/ld-ifunc/ifunc-13-i386.d: Likewise.
409 * testsuite/ld-ifunc/ifunc-13-x86-64.d: Likewise.
410 * testsuite/ld-ifunc/ifunc-15-i386.d: Likewise.
411 * testsuite/ld-ifunc/ifunc-15-x86-64.d: Likewise.
412 * testsuite/ld-x86-64/pr13082-5a.d: Likewise.
413 * testsuite/ld-x86-64/pr13082-5b.d: Likewise.
414 * testsuite/ld-x86-64/pr13082-6a.d: Likewise.
415 * testsuite/ld-x86-64/pr13082-6b.d: Likewise.
416 * testsuite/ld-i386/pr20244-2a.d: Remove .plt section.
417 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
418 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
419 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
420 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
421 * testsuite/ld-i386/pr20244-2b.d: Updated.
422 * testsuite/ld-i386/pr20244-2c.d: Likewise.
423 * testsuite/ld-ifunc/ifunc-18a-i386.d: Likewise.
424 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
425 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
426 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
427 * testsuite/ld-i386/pr20253-1a.c: New file.
428 * testsuite/ld-i386/pr20253-1b.S: Likewise.
429 * testsuite/ld-i386/pr20253-1c.S: Likewise.
430 * testsuite/ld-i386/pr20253-1d.S: Likewise.
431 * testsuite/ld-i386/pr20253-2a.c: Likewise.
432 * testsuite/ld-i386/pr20253-2b.S: Likewise.
433 * testsuite/ld-i386/pr20253-2c.S: Likewise.
434 * testsuite/ld-i386/pr20253-2d.S: Likewise.
435 * testsuite/ld-i386/pr20253-3.d: Likewise.
436 * testsuite/ld-i386/pr20253-3.s: Likewise.
437 * testsuite/ld-i386/pr20253-4.s: Likewise.
438 * testsuite/ld-i386/pr20253-4a.d: Likewise.
439 * testsuite/ld-i386/pr20253-4b.d: Likewise.
440 * testsuite/ld-i386/pr20253-4c.d: Likewise.
441 * testsuite/ld-i386/pr20253-5.d: Likewise.
442 * testsuite/ld-i386/pr20253-5.s: Likewise.
443 * testsuite/ld-ifunc/ifunc-23-x86.s: Likewise.
444 * testsuite/ld-ifunc/ifunc-23a-x86.d: Likewise.
445 * testsuite/ld-ifunc/ifunc-23b-x86.d: Likewise.
446 * testsuite/ld-ifunc/ifunc-23c-x86.d: Likewise.
447 * testsuite/ld-ifunc/ifunc-24-x86.s: Likewise.
448 * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise.
449 * testsuite/ld-ifunc/ifunc-24b-x86.d: Likewise.
450 * testsuite/ld-ifunc/ifunc-24c-x86.d: Likewise.
451 * testsuite/ld-ifunc/ifunc-25-x86.s: Likewise.
452 * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
453 * testsuite/ld-ifunc/ifunc-25b-x86.d: Likewise.
454 * testsuite/ld-ifunc/ifunc-25c-x86.d: Likewise.
455 * testsuite/ld-x86-64/pr20253-1.s: Likewise.
456 * testsuite/ld-x86-64/pr20253-1a.d: Likewise.
457 * testsuite/ld-x86-64/pr20253-1b.d: Likewise.
458 * testsuite/ld-x86-64/pr20253-1c.d: Likewise.
459 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
460 * testsuite/ld-x86-64/pr20253-1e.d: Likewise.
461 * testsuite/ld-x86-64/pr20253-1f.d: Likewise.
462 * testsuite/ld-x86-64/pr20253-1g.d: Likewise.
463 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
464 * testsuite/ld-x86-64/pr20253-1i.d: Likewise.
465 * testsuite/ld-x86-64/pr20253-1j.d: Likewise.
466 * testsuite/ld-x86-64/pr20253-1k.d: Likewise.
467 * testsuite/ld-x86-64/pr20253-1l.d: Likewise.
468 * testsuite/ld-x86-64/pr20253-2a.c: Likewise.
469 * testsuite/ld-x86-64/pr20253-2b.S: Likewise.
470 * testsuite/ld-x86-64/pr20253-2c.S: Likewise.
471 * testsuite/ld-x86-64/pr20253-2d.S: Likewise.
472 * testsuite/ld-x86-64/pr20253-3.d: Likewise.
473 * testsuite/ld-x86-64/pr20253-3.s: Likewise.
474 * testsuite/ld-x86-64/pr20253-4.s: Likewise.
475 * testsuite/ld-x86-64/pr20253-4a.d: Likewise.
476 * testsuite/ld-x86-64/pr20253-4b.d: Likewise.
477 * testsuite/ld-x86-64/pr20253-4c.d: Likewise.
478 * testsuite/ld-x86-64/pr20253-4d.d: Likewise.
479 * testsuite/ld-x86-64/pr20253-4e.d: Likewise.
480 * testsuite/ld-x86-64/pr20253-4f.d: Likewise.
481 * testsuite/ld-x86-64/pr20253-5.s: Likewise.
482 * testsuite/ld-x86-64/pr20253-5a.d: Likewise.
483 * testsuite/ld-x86-64/pr20253-5b.d: Likewise.
484 * testsuite/ld-ifunc/ifunc-18a-i386.d: Remove extra IRELATIVE
486 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
487 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
488 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
489 * testsuite/ld-ifunc/ifunc-18a.s: Fix a typo.
490 * testsuite/ld-x86-64/x86-64.exp: Run pr20253-1 tests.
492 2016-06-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
493 Tony Wang <tony.wang@arm.com>
495 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall M profile):
496 Assemble for ARMv6-M.
497 (Thumb2-Thumb2 farcall M profile): New testcase.
498 * testsuite/ld-arm/farcall-thumb2-thumb2-m.d: New file.
499 * testsuite/ld-arm/jump-reloc-veneers-cond-long-backward.d: Update to
500 reflect the use of Thumb-2 veneers for Thumb-2 capable targets.
501 * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Likewise.
503 2016-06-16 H.J. Lu <hongjiu.lu@intel.com>
505 * testsuite/ld-i386/i386.exp: Run pr19636-2e-nacl.
506 * testsuite/ld-i386/pr19636-2e.d: Skip for NaCl targets.
507 Remove .rel.plt section.
508 * testsuite/ld-i386/pr19636-2e-nacl.d: New file.
510 2016-06-15 H.J. Lu <hongjiu.lu@intel.com>
512 * testsuite/ld-i386/no-plt-check1a.S (check): Test static
514 * testsuite/ld-i386/no-plt-check1b.S (check): Likewise.
515 * testsuite/ld-x86-64/no-plt-check1.S (check): Likewise.
516 * testsuite/ld-i386/no-plt-extern1a.S (func_p): New. Static
518 * testsuite/ld-i386/no-plt-extern1b.S (func_p): Likewise.
519 * testsuite/ld-x86-64/no-plt-extern1.S (func_p): Likewise.
520 * testsuite/ld-i386/no-plt-1a.dd: Updated.
521 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
522 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
523 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
524 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
525 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
526 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
527 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
528 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
529 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
530 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
531 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
532 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
533 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
534 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
535 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
536 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
538 2016-06-14 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
541 * testsuite/ld-avr/avr-prop-6.d: New test.
542 * testsuite/ld-avr/avr-prop-6.s: New test.
544 2016-06-14 Alan Modra <amodra@gmail.com>
546 * ldbuildid.c: Formatting.
547 * ldcref.c: Formatting.
548 * ldctor.c: Formatting.
549 * ldemul.c: Formatting.
550 * ldexp.c: Formatting.
551 * ldfile.c: Formatting.
552 * ldlang.c: Formatting.
553 * ldmain.c: Formatting.
554 * ldwrite.c: Formatting.
556 2016-06-14 Alan Modra <amodra@gmail.com>
558 * ldlang.c: Expand uses of bfd_my_archive.
559 * ldmain.c: Likewise.
560 * ldmisc.c: Likewise.
561 * plugin.c: Likewise.
563 2016-06-14 Alan Modra <amodra@gmail.com>
566 * ldmain.c (add_archive_element): Just print file name of file within
568 * ldmisc.c (vfinfo): Likewise.
569 * plugin.c (plugin_object_p): Open file within thin archives.
570 (plugin_maybe_claim): Expand comment.
572 2016-06-13 H.J. Lu <hongjiu.lu@intel.com>
575 * testsuite/ld-i386/i386.exp: Run pr20244-2a, pr20244-2b,
576 pr20244-2c and pr20244-2d.
577 * testsuite/ld-i386/no-plt.exp: Run pr20244-3a and pr20244-3b.
578 * testsuite/ld-i386/pr20244-2.s: New file.
579 * testsuite/ld-i386/pr20244-2a.d: Likewise.
580 * testsuite/ld-i386/pr20244-2b.d: Likewise.
581 * testsuite/ld-i386/pr20244-2c.d: Likewise.
582 * testsuite/ld-i386/pr20244-2d.d: Likewise.
583 * testsuite/ld-i386/pr20244-3a.c: Likewise.
584 * testsuite/ld-i386/pr20244-3b.S: Likewise.
585 * testsuite/ld-i386/pr20244-3c.S: Likewise.
586 * testsuite/ld-i386/pr20244-3d.S: Likewise.
588 2016-06-13 H.J. Lu <hongjiu.lu@intel.com>
590 * testsuite/ld-i386/i386.exp: Run ifunc-1a and ifunc-1b.
591 * testsuite/ld-i386/ifunc-1a.c: New file.
592 * testsuite/ld-i386/ifunc-1b.S: Likewise.
593 * testsuite/ld-i386/ifunc-1c.S: Likewise.
594 * testsuite/ld-i386/ifunc-1d.S: Likewise.
596 2016-06-13 Cupertino Miranda <cmiranda@synospsy.com>
598 * testsuite/ld-srec/srec.exp: Changed to XFAIL on both little and
599 big endian ARC targets.
601 2016-06-12 H.J. Lu <hongjiu.lu@intel.com>
603 * testsuite/ld-x86-64/libno-plt-1b.dd: Updated for x32.
604 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
605 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
606 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
607 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
608 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
609 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
610 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
611 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
612 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
613 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
614 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
615 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
616 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
617 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
619 2016-06-11 H.J. Lu <hongjiu.lu@intel.com>
622 * testsuite/ld-i386/i386.exp: Run pr20244-1a and pr20244-1b.
623 * testsuite/ld-i386/pr20244-1.s: New file.
624 * testsuite/ld-i386/pr20244-1a.d: Likewise.
625 * testsuite/ld-i386/pr20244-1b.d: Likewise.
626 * testsuite/ld-i386/pr20244-1c.d: Likewise.
628 2016-06-08 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
631 * testsuite/ld-avr/avr-prop-5.d: New.
632 * testsuite/ld-avr/avr-prop-5.s: New.
634 2016-06-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
636 * testsuite/ld-avr/lds-mega.d: New test.
637 * testsuite/ld-avr/lds-mega.s: New test source.
638 * testsuite/ld-avr/lds-tiny.d: New test.
639 * testsuite/ld-avr/lds-tiny.s: New test source.
641 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
643 * testsuite/ld-i386/libno-plt-1b.dd: New file.
644 * testsuite/ld-i386/libno-plt-1b.rd: Likewise.
645 * testsuite/ld-i386/no-plt-1a.dd: Likewise.
646 * testsuite/ld-i386/no-plt-1a.rd: Likewise.
647 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
648 * testsuite/ld-i386/no-plt-1b.rd: Likewise.
649 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
650 * testsuite/ld-i386/no-plt-1c.rd: Likewise.
651 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
652 * testsuite/ld-i386/no-plt-1d.rd: Likewise.
653 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
654 * testsuite/ld-i386/no-plt-1e.rd: Likewise.
655 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
656 * testsuite/ld-i386/no-plt-1f.rd: Likewise.
657 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
658 * testsuite/ld-i386/no-plt-1g.rd: Likewise.
659 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
660 * testsuite/ld-i386/no-plt-1h.rd: Likewise.
661 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
662 * testsuite/ld-i386/no-plt-1i.rd: Likewise.
663 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
664 * testsuite/ld-i386/no-plt-1j.rd: Likewise.
665 * testsuite/ld-i386/no-plt-check1a.S: Likewise.
666 * testsuite/ld-i386/no-plt-check1b.S: Likewise.
667 * testsuite/ld-i386/no-plt-extern1a.S: Likewise.
668 * testsuite/ld-i386/no-plt-extern1b.S: Likewise.
669 * testsuite/ld-i386/no-plt-func1.c: Likewise.
670 * testsuite/ld-i386/no-plt-main1.c: Likewise.
671 * testsuite/ld-i386/no-plt.exp: Likewise.
673 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
675 * testsuite/ld-x86-64/tls.exp (run_cc_link_tests): Update test
678 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
680 * testsuite/ld-i386/i386.exp: Run libtlspic2.so, tlsbin2,
681 tlsgd3, tlsld2, tlsgd4, tlspie3a, tlspie3b and tlspie3c.
682 * testsuite/ld-i386/pass.out: New file.
683 * testsuite/ld-i386/tls-def1.c: Likewise.
684 * testsuite/ld-i386/tls-gd1.S: Likewise.
685 * testsuite/ld-i386/tls-ld1.S: Likewise.
686 * testsuite/ld-i386/tls-main1.c: Likewise.
687 * testsuite/ld-i386/tls.exp: Likewise.
688 * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
689 * testsuite/ld-i386/tlsbin2.dd: Likewise.
690 * testsuite/ld-i386/tlsbin2.rd: Likewise.
691 * testsuite/ld-i386/tlsbin2.sd: Likewise.
692 * testsuite/ld-i386/tlsbin2.td: Likewise.
693 * testsuite/ld-i386/tlsbinpic2.s: Likewise.
694 * testsuite/ld-i386/tlsgd3.dd: Likewise.
695 * testsuite/ld-i386/tlsgd3.s: Likewise.
696 * testsuite/ld-i386/tlsgd4.d: Likewise.
697 * testsuite/ld-i386/tlsgd4.s: Likewise.
698 * testsuite/ld-i386/tlsld2.s: Likewise.
699 * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
700 * testsuite/ld-i386/tlspic2.dd: Likewise.
701 * testsuite/ld-i386/tlspic2.rd: Likewise.
702 * testsuite/ld-i386/tlspic2.sd: Likewise.
703 * testsuite/ld-i386/tlspic2.td: Likewise.
704 * testsuite/ld-i386/tlspic3.s: Likewise.
705 * testsuite/ld-i386/tlspie3.s: Likewise.
706 * testsuite/ld-i386/tlspie3a.d: Likewise.
707 * testsuite/ld-i386/tlspie3b.d: Likewise.
708 * testsuite/ld-i386/tlspie3c.d: Likewise.
710 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
712 * testsuite/ld-x86-64/no-plt-1a.rd: Support any relocation order.
713 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
714 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
715 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
716 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
717 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
718 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
719 * testsuite/ld-x86-64/no-plt.exp: Fix a typo.
721 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
723 * testsuite/ld-x86-64/libno-plt-1b.dd: Likewise.
724 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
725 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
726 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
727 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
728 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
729 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
730 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
731 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
732 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
733 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
734 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
735 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
736 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
737 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
738 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
739 * testsuite/ld-x86-64/no-plt-check1.S: Likewise.
740 * testsuite/ld-x86-64/no-plt.exp: Likewise.
741 * testsuite/ld-x86-64/no-plt-extern1.S: Likewise.
742 * testsuite/ld-x86-64/no-plt-func1.c: Likewise.
743 * testsuite/ld-x86-64/no-plt-main1.c: Likewise.
745 2016-06-07 Maciej W. Rozycki <macro@imgtec.com>
747 * testsuite/ld-elf/init-fini-arrays.d: Remove `ft32-*-*' xfail.
749 2016-06-07 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
751 * testsuite/ld-s390/pltoffset-1.dd: New test.
752 * testsuite/ld-s390/pltoffset-1.ld: New test.
753 * testsuite/ld-s390/pltoffset-1.s: New test.
754 * testsuite/ld-s390/s390.exp: Run new test.
756 2016-06-07 Alan Modra <amodra@gmail.com>
758 * testsuite/ld-powerpc/apuinfo1.s: Delete nop.
759 * testsuite/ld-powerpc/apuinfo-vle2.s: New.
760 * testsuite/ld-powerpc/powerpc.exp: Use apuinfo-vle2.s.
762 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
764 * testsuite/ld-x86-64/pass.out: New file.
765 * testsuite/ld-x86-64/tls-def1.c: Likewise.
766 * testsuite/ld-x86-64/tls-gd1.S: Likewise.
767 * testsuite/ld-x86-64/tls-ld1.S: Likewise.
768 * testsuite/ld-x86-64/tls-main1.c: Likewise.
769 * testsuite/ld-x86-64/tls.exp: Likewise.
770 * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
771 * testsuite/ld-x86-64/tlsbin2.dd: Likewise.
772 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
773 * testsuite/ld-x86-64/tlsbin2.sd: Likewise.
774 * testsuite/ld-x86-64/tlsbin2.td: Likewise.
775 * testsuite/ld-x86-64/tlsbinpic2.s: Likewise.
776 * testsuite/ld-x86-64/tlsgd10.dd: Likewise.
777 * testsuite/ld-x86-64/tlsgd10.s: Likewise.
778 * testsuite/ld-x86-64/tlsgd11.dd: Likewise.
779 * testsuite/ld-x86-64/tlsgd11.s: Likewise.
780 * testsuite/ld-x86-64/tlsgd12.d: Likewise.
781 * testsuite/ld-x86-64/tlsgd12.s: Likewise.
782 * testsuite/ld-x86-64/tlsgd13.d: Likewise.
783 * testsuite/ld-x86-64/tlsgd13.s: Likewise.
784 * testsuite/ld-x86-64/tlsgd14.dd: Likewise.
785 * testsuite/ld-x86-64/tlsgd14.s: Likewise.
786 * testsuite/ld-x86-64/tlsgd5c.s: Likewise.
787 * testsuite/ld-x86-64/tlsgd6c.s: Likewise.
788 * testsuite/ld-x86-64/tlsgd9.dd: Likewise.
789 * testsuite/ld-x86-64/tlsgd9.s: Likewise.
790 * testsuite/ld-x86-64/tlsld4.dd: Likewise.
791 * testsuite/ld-x86-64/tlsld4.s: Likewise.
792 * testsuite/ld-x86-64/tlsld5.dd: Likewise.
793 * testsuite/ld-x86-64/tlsld5.s: Likewise.
794 * testsuite/ld-x86-64/tlsld6.dd: Likewise.
795 * testsuite/ld-x86-64/tlsld6.s: Likewise.
796 * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
797 * testsuite/ld-x86-64/tlspic2.dd: Likewise.
798 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
799 * testsuite/ld-x86-64/tlspic2.sd: Likewise.
800 * testsuite/ld-x86-64/tlspic2.td: Likewise.
801 * testsuite/ld-x86-64/tlspic3.s: Likewise.
802 * testsuite/ld-x86-64/tlspie2.s: Likewise.
803 * testsuite/ld-x86-64/tlspie2a.d: Likewise.
804 * testsuite/ld-x86-64/tlspie2b.d: Likewise.
805 * testsuite/ld-x86-64/tlspie2c.d: Likewise.
806 * testsuite/ld-x86-64/tlsgd5.dd: Updated.
807 * testsuite/ld-x86-64/tlsgd6.dd: Likewise.
808 * testsuite/ld-x86-64/x86-64.exp: Run libtlspic2.so, tlsbin2,
809 tlsgd5b, tlsgd6b, tlsld4, tlsld5, tlsld6, tlsgd9, tlsgd10,
810 tlsgd11, tlsgd14, tlsgd12, tlsgd13, tlspie2a, tlspie2b and
813 2016-06-04 Christian Groessler <chris@groessler.org>
815 * testsuite/ld-z8k/0filler.s: New file.
816 * testsuite/ld-z8k/branch-target.s: New file.
817 * testsuite/ld-z8k/branch-target2.s: New file.
818 * testsuite/ld-z8k/calr-back-8001.d: New file.
819 * testsuite/ld-z8k/calr-back-8002.d: New file.
820 * testsuite/ld-z8k/calr-back-fail-8001.d: New file.
821 * testsuite/ld-z8k/calr-back-fail-8002.d: New file.
822 * testsuite/ld-z8k/calr-forw-8001.d: New file.
823 * testsuite/ld-z8k/calr-forw-8002.d: New file.
824 * testsuite/ld-z8k/calr-forw-fail-8001.d: New file.
825 * testsuite/ld-z8k/calr-forw-fail-8002.d: New file.
826 * testsuite/ld-z8k/calr-opcode.s: New file.
827 * testsuite/ld-z8k/dbjnz-forw-8001.d: New file.
828 * testsuite/ld-z8k/dbjnz-forw-8002.d: New file.
829 * testsuite/ld-z8k/dbjnz-forw-fail-8001.d: New file.
830 * testsuite/ld-z8k/dbjnz-forw-fail-8002.d: New file.
831 * testsuite/ld-z8k/dbjnz-opcode.s: New file.
832 * testsuite/ld-z8k/djnz-back-8001.d: New file.
833 * testsuite/ld-z8k/djnz-back-8002.d: New file.
834 * testsuite/ld-z8k/djnz-back-fail-8001.d: New file.
835 * testsuite/ld-z8k/djnz-back-fail-8002.d: New file.
836 * testsuite/ld-z8k/djnz-forw-8001.d: New file.
837 * testsuite/ld-z8k/djnz-forw-8002.d: New file.
838 * testsuite/ld-z8k/djnz-forw-fail-8001.d: New file.
839 * testsuite/ld-z8k/djnz-forw-fail-8002.d: New file.
840 * testsuite/ld-z8k/djnz-opcode.s: New file.
841 * testsuite/ld-z8k/filler.s: New file.
842 * testsuite/ld-z8k/jr-back-8001.d: New file.
843 * testsuite/ld-z8k/jr-back-8002.d: New file.
844 * testsuite/ld-z8k/jr-back-fail-8001.d: New file.
845 * testsuite/ld-z8k/jr-back-fail-8002.d: New file.
846 * testsuite/ld-z8k/jr-forw-8001.d: New file.
847 * testsuite/ld-z8k/jr-forw-8002.d: New file.
848 * testsuite/ld-z8k/jr-forw-fail-8001.d: New file.
849 * testsuite/ld-z8k/jr-forw-fail-8002.d: New file.
850 * testsuite/ld-z8k/jr-opcode.s: New file.
851 * testsuite/ld-z8k/ldr-back-8001.d: New file.
852 * testsuite/ld-z8k/ldr-back-8002.d: New file.
853 * testsuite/ld-z8k/ldr-back-fail-8001.d: New file.
854 * testsuite/ld-z8k/ldr-back-fail-8002.d: New file.
855 * testsuite/ld-z8k/ldr-forw-8001.d: New file.
856 * testsuite/ld-z8k/ldr-forw-8002.d: New file.
857 * testsuite/ld-z8k/ldr-forw-fail-8001.d: New file.
858 * testsuite/ld-z8k/ldr-forw-fail-8002.d: New file.
859 * testsuite/ld-z8k/ldr-opcode.s: New file.
860 * testsuite/ld-z8k/ldrb-forw-8001.d: New file.
861 * testsuite/ld-z8k/ldrb-forw-8002.d: New file.
862 * testsuite/ld-z8k/ldrb-forw-fail-8001.d: New file.
863 * testsuite/ld-z8k/ldrb-forw-fail-8002.d: New file.
864 * testsuite/ld-z8k/ldrb-opcode.s: New file.
865 * testsuite/ld-z8k/ldrb-opcode2.s: New file.
866 * testsuite/ld-z8k/other-file.s: New file.
867 * testsuite/ld-z8k/reloc.dd: New file.
868 * testsuite/ld-z8k/reloc.ld: New file.
869 * testsuite/ld-z8k/relocseg.dd: New file.
870 * testsuite/ld-z8k/relocseg.ld: New file.
871 * testsuite/ld-z8k/relocseg1.dd: New file.
872 * testsuite/ld-z8k/this-file.s: New file.
873 * testsuite/ld-z8k/z8k.exp: New file.
875 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
877 * testsuite/ld-i386/i386.exp: Assemble gotpc1.o and pr19319b.o
878 with -mrelax-relocations=yes.
879 * testsuite/ld-i386/lea1a.d (as): Add -mrelax-relocations=yes.
880 * testsuite/ld-i386/lea1b.d (as): Likewise.
881 * testsuite/ld-i386/lea1d.d (as): Likewise.
882 * testsuite/ld-i386/lea1e.d (as): Likewise.
883 * testsuite/ld-i386/lea1f.d (as): Likewise.
884 * testsuite/ld-i386/load7.d (as): Likewise.
885 * testsuite/ld-i386/mov1b.d (as): Likewise.
886 * testsuite/ld-i386/pr19175.d (as): Likewise.
887 * testsuite/ld-ifunc/ifunc-13-i386.d (as): Likewise.
888 * testsuite/ld-ifunc/ifunc-21-i386.d (as): Likewise.
889 * testsuite/ld-ifunc/ifunc-22-i386.d (as): Likewise.
890 * testsuite/ld-x86-64/x86-64.exp: Assemble gotpcrel1a.o,
891 gotpcrel1b.o and gotpcrel1c.o with -mrelax-relocations=yes.
893 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
895 * configure.tgt: Replace -uclibc with *.
897 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
899 * testsuite/ld-mips-elf/unaligned-branch.d: New test.
900 * testsuite/ld-mips-elf/unaligned-branch.s: New test source.
901 * testsuite/ld-mips-elf/unaligned-text.s: New test source.
902 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
904 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
906 * testsuite/ld-mips-elf/unaligned-syms.s: Rename to...
907 * testsuite/ld-mips-elf/unaligned-data.s: ... this.
908 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Adjust accordingly.
909 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
910 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Likewise.
911 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
913 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
915 * testsuite/ld-mips-elf/jal-global-overflow-0.d: New test.
916 * testsuite/ld-mips-elf/jal-global-overflow-1.d: New test.
917 * testsuite/ld-mips-elf/jal-local-overflow-0.d: New test.
918 * testsuite/ld-mips-elf/jal-local-overflow-1.d: New test.
919 * testsuite/ld-mips-elf/jal-global-overflow.s: New test source.
920 * testsuite/ld-mips-elf/jal-local-overflow.s: New test source.
921 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
923 2016-05-28 Alan Modra <amodra@gmail.com>
925 * ldmain.c (multiple_definition, multiple_common, add_to_set,
926 constructor_callback, warning_callback, undefined_symbol,
927 reloc_overflow, reloc_dangerous, unattached_reloc): Return void.
928 * emultempl/elf32.em: Adjust callback calls.
930 2016-05-27 Maciej W. Rozycki <macro@imgtec.com>
932 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.d: New test.
933 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: New test.
934 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-0.d: New
936 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d: New
938 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-0.d: New
940 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d: New
942 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.s: New test
944 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.s: New test
946 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
948 2016-05-27 Maciej W. Rozycki <macro@imgtec.com>
950 * testsuite/ld-mips-elf/reloc-local-overflow.d: New test.
951 * testsuite/ld-mips-elf/reloc-local-overflow.s: Source for the
953 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
955 2016-05-26 Maciej W. Rozycki <macro@imgtec.com>
957 * testsuite/ld-mips-elf/unaligned-jalx-0.d: Fold
958 `unaligned-jalx-2' here.
959 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: Fold
960 `unaligned-jalx-mips16-2' here.
961 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: Fold
962 `unaligned-jalx-micromips-2' here.
963 * testsuite/ld-mips-elf/unaligned-jalx-0.s: Update accordingly.
964 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error
966 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
967 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
968 * testsuite/ld-mips-elf/unaligned-jalx-2.d: Remove test.
969 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: Remove test.
970 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: Remove
972 * testsuite/ld-mips-elf/unaligned-jalx-2.s: Remove test source.
973 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Fold
974 `unaligned-lwpc-3' here.
975 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: Update accordingly.
976 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Fold
977 `unaligned-lwpc-2' here.
978 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: Update accordingly.
979 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: Remove test.
980 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: Remove test source.
981 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: Remove test.
982 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: Remove test source.
983 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Fold
984 `unaligned-ldpc-4' here.
985 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: Update accordingly.
986 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Update error
987 message. Fold `unaligned-ldpc-2' and `unaligned-ldpc-3' here.
988 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: Update accordingly.
989 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: Remove test.
990 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: Remove test source.
991 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: Remove test.
992 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: Remove test source.
993 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: Remove test.
994 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: Remove test source.
995 * testsuite/ld-mips-elf/mips-elf.exp: Delete removed tests.
997 2016-05-26 Nick Clifton <nickc@redhat.com>
1000 * scripttempl/elf32msp430.sc (.bss): Provide __bssstart and
1002 * scripttempl/elf32msp430_3.sc (.bss): Likewise.
1004 2016-05-25 Maciej W. Rozycki <macro@imgtec.com>
1006 * testsuite/ld-mips-elf/unaligned-jalx-0.d: New test.
1007 * testsuite/ld-mips-elf/unaligned-jalx-1.d: New test.
1008 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
1009 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: New test.
1010 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: New test.
1011 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: New test.
1012 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: New test.
1013 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: New test.
1014 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: New test.
1015 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: New test.
1016 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: New test.
1017 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: New test.
1018 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: New test.
1019 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: New test.
1020 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: New test.
1021 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: New test.
1022 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: New test.
1023 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: New test.
1024 * testsuite/ld-mips-elf/unaligned-jalx-0.s: New test source.
1025 * testsuite/ld-mips-elf/unaligned-jalx-1.s: New test source.
1026 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
1027 * testsuite/ld-mips-elf/unaligned-insn.s: New test source.
1028 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: New test source.
1029 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: New test source.
1030 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: New test source.
1031 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: New test source.
1032 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: New test source.
1033 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: New test source.
1034 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: New test source.
1035 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: New test source.
1036 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: New test source.
1037 * testsuite/ld-mips-elf/unaligned-syms.s: New test source.
1038 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1040 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1043 * ldmain.c (add_archive_element): Don't claim new IR symbols
1044 after all IR symbols have been claimed.
1045 * plugin.c (plugin_call_claim_file): Remove no_more_claiming
1047 * testsuite/ld-plugin/lto.exp (pr20103): New proc.
1048 Run PR ld/20103 tests.
1049 * testsuite/ld-plugin/pr20103a.c: New file.
1050 * testsuite/ld-plugin/pr20103b.c: Likewise.
1051 * testsuite/ld-plugin/pr20103c.c: Likewise.
1053 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
1055 * testsuite/ld-mips-elf/jalx-local.d: New test.
1056 * testsuite/ld-mips-elf/jalx-local-n32.d: New test.
1057 * testsuite/ld-mips-elf/jalx-local-n64.d: New test.
1058 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1060 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
1062 * Makefile.am: Add earmelf_phoenix.c.
1063 * Makefile.in: Regenerate.
1064 * configure.tgt: Add entry for arm-phoenix.
1065 * emulparams/armelf_phoenix.sh: New file.
1067 2016-05-23 Thomas Preud'homme <thomas.preudhomme@arm.com>
1069 * emultempl/armelf.em (arm_elf_before_allocation): Call
1070 bfd_elf32_arm_keep_private_stub_output_sections before generic
1071 before_allocation function.
1073 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
1075 * testsuite/ld-mips-elf/jalx-addend.d: New test.
1076 * testsuite/ld-mips-elf/jalx-addend-n32.d: New test.
1077 * testsuite/ld-mips-elf/jalx-addend-n64.d: New test.
1078 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1080 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
1083 * testsuite/ld-i386/i386.exp: Run pr20117.
1084 * testsuite/ld-i386/pr19609-1i.d: Updated.
1085 * testsuite/ld-i386/pr20117.d: New file.
1086 * testsuite/ld-i386/pr20117.s: Likewise.
1088 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
1090 * testsuite/ld-elf/compressed1d.d: Removed from notarget.
1091 * testsuite/ld-elf/group8a.d: Likewise.
1092 * testsuite/ld-elf/group8b.d: Likewise.
1093 * testsuite/ld-elf/group9a.d: Likewise.
1094 * testsuite/ld-elf/group9b.d: Likewise.
1095 * testsuite/ld-elf/pr12851.d: Likewise.
1096 * testsuite/ld-elf/pr12975.d: Likewise.
1097 * testsuite/ld-elf/pr13177.d: Likewise.
1098 * testsuite/ld-elf/pr13195.d: Likewise.
1099 * testsuite/ld-elf/pr17615.d: Likewise.
1100 * testsuite/ld-elf/eh-frame-hdr.d: Removed from xfail.
1101 * testsuite/ld-elf/group3b.d: Likewise.
1102 * testsuite/ld-srec/srec.exp: Likewise.
1103 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark ARC
1105 (check_shared_lib_support): Mark ARC as supporting.
1107 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
1109 * emulparams/arcelf.sh: Changed.
1110 * emulparams/arclinux.sh: Likewise.
1111 * scripttempl/arclinux.sc: Moved to a more standard implementation
1114 2016-05-19 Maciej W. Rozycki <macro@imgtec.com>
1116 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Reorder
1117 `ft32-*-*' behind `frv-*-*'.
1119 2016-05-19 Maciej W. Rozycki <macro@imgtec.com>
1121 * configure.tgt: Remove `am34-*-linux*' support.
1123 2016-05-19 Alan Modra <amodra@gmail.com>
1125 * testsuite/ld-scripts/crossref.exp: Remove -mcall-aixdesc hack.
1126 * testsuite/ld-scripts/cross2.t: Tweak .opd and .toc placement.
1127 * testsuite/ld-scripts/cross3.t: Likewise.
1128 * testsuite/ld-scripts/cross4.t: Likewise.
1129 * testsuite/ld-scripts/cross5.t: Likewise.
1130 * testsuite/ld-scripts/cross6.t: Likewise.
1131 * testsuite/ld-scripts/cross7.t: Likewise.
1133 2016-05-19 Alan Modra <amodra@gmail.com>
1135 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Pass in
1136 exe name rather than constructing testname. Fix typo in
1137 sub-test name. Log copying. Use -rpath rather than -R.
1139 2016-05-18 Nick Clifton <nickc@redhat.com>
1141 * scripttempl/ft32.sc: Use fixed constants for memory region
1142 lengths. Include DWARF debug sections.
1143 (.data .bss): Do not assign locations during relocatable links.
1144 * testsuite/ld-elf/compressed1d.d: Skip for FT32.
1145 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
1146 * testsuite/ld-elf/sec64k.exp: Likewise.
1147 * testsuite/ld-elf/init-fini-array.d: XFail for FT32.
1148 * testsuite/ld-elf/merge.d: Likewise.
1149 * testsuite/ld-elf/orphan-region.d: Likewise.
1150 * testsuite/ld-elf/orphan.s: Likewise.
1151 * testsuite/ld-elf/orphan3.d: Likewise.
1152 * testsuite/ld-elf/pr349.d: Likewise.
1153 * testsuite/ld-elf/warn2.d: Likewise.
1154 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Note
1155 that the FT32 does not support shared libraries.
1157 2016-05-17 H.J. Lu <hongjiu.lu@intel.com>
1159 * testsuite/lib/ld-lib.exp (at_least_gcc_version): Check
1162 2016-05-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1164 * scripttempl/avr.sc (text): Place .progmem.data from avr-libc
1166 * scripttempl/avrtiny.sc (text): Likewise.
1168 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
1170 * testsuite/ld-unique/unique.exp: Use `is_elf_format' and
1171 `supports_gnu_unique' to qualify testing.
1173 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
1175 * testsuite/ld-elf/flags1.d: Update the xfail list.
1177 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
1179 * testsuite/ld-elf/flags1.d: Update for `*-*-nacl*' xfail
1182 2016-05-14 H.J. Lu <hongjiu.lu@intel.com>
1185 * testplug2.c (onall_symbols_read): Remove redundant sizeof
1186 on EXPECTED_VIEW_LENGTH.
1187 * testplug4.c (onall_symbols_read): Likewise.
1189 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
1192 * testsuite/ld-x86-64/pr20093-1.d: New file.
1193 * testsuite/ld-x86-64/pr20093-1.s: Likewise.
1194 * testsuite/ld-x86-64/pr20093-2.d: Likewise.
1195 * testsuite/ld-x86-64/pr20093-2.s: Likewise.
1196 * testsuite/ld-x86-64/x86-64.exp: Run pr20093-1 and pr20093-2.
1198 2016-05-13 Alan Modra <amodra@gmail.com>
1200 * testsuite/ld-arm/arm-elf.exp: Adjust for arm-no-rel-plt now passing.
1201 Use different output file name for static app without .rel.plt.
1202 * testsuite/ld-arm/arm-no-rel-plt.ld: Align .rel.dyn and .rela.dyn.
1203 * testsuite/ld-arm/arm-no-rel-plt.out: Delete.
1204 * testsuite/ld-arm/arm-no-rel-plt.r: New.
1205 * testsuite/ld-arm/arm-static-app.d: Don't check file name.
1206 * testsuite/ld-arm/arm-static-app.r: Likewise.
1208 2016-05-12 H.J. Lu <hongjiu.lu@intel.com>
1211 * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug4.la.
1212 (libldtestplug4_la_SOURCES): New.
1213 (libldtestplug4_la_CFLAGS): Likewise.
1214 (libldtestplug4_la_LDFLAGS): Likewise.
1215 * Makefile.in: Regenerated.
1216 * plugin.c (get_symbols): Return resolution based on IR symbol
1217 kinds for symbols defined/referenced only within IR.
1218 * testplug4.c: New file.
1219 * ld/testsuite/ld-plugin/pr20070.d: Likewise.
1220 * ld/testsuite/ld-plugin/pr20070a.c: Likewise.
1221 * ld/testsuite/ld-plugin/pr20070b.c: Likewise.
1222 * testsuite/ld-plugin/plugin.exp (plugin4_name): New.
1223 (plugin4_path): Likewise.
1224 Add a test for ld/20070.
1226 2016-05-11 Alan Modra <amodra@gmail.com>
1228 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
1229 Call elf32_hppa_init_stub_bfd.
1231 2016-05-11 Alan Modra <amodra@gmail.com>
1234 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
1235 * testsuite/ld-powerpc/tlsdll.s: New.
1236 * testsuite/ld-powerpc/tlsdll.ver: New.
1237 * testsuite/ld-powerpc/tlsdll_32.s: New.
1238 * testsuite/ld-powerpc/tlsopt5.d: New.
1239 * testsuite/ld-powerpc/tlsopt5.s: New.
1240 * testsuite/ld-powerpc/tlsopt5_32.d: New.
1241 * testsuite/ld-powerpc/tlsopt5_32.s: New.
1243 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1245 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Use
1246 ARM_GET_SYM_BRANCH_TYPE to get branch type of a symbol.
1248 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1250 * emultempl/armelf.em (elf32_arm_add_stub_section): Add output_section
1251 parameter and rename input_section parameter to after_input_section.
1252 Append input stub section to the output section if after_input_section
1255 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1257 * testsuite/ld-arm/arm-elf.exp (EABI attribute merging 10 (DSP)): New
1259 * testsuite/ld-arm/attr-merge-10b-dsp.s: New file.
1260 * testsuite/ld-arm/attr-merge-10-dsp.attr: Likewise.
1262 2016-05-10 Christophe Lyon <christophe.lyon@linaro.org>
1264 * ld/testsuite/ld-elf/flags1.d (xfail): Remove *-*-nacl*".
1266 2016-05-09 Christophe Monat <christophe.monat@st.com>
1269 * testsuite/ld-arm/arm-elf.exp: Run new stm32l4xx-fix-vldm-dp
1270 tests. Fix misnamed stm32l4xx-fix-all.
1271 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.s: New tests for multiple
1272 loads with DP registers.
1273 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.d: New reference file.
1274 * testsuite/ld-arm/stm32l4xx-fix-vldm.s: Add missing comment.
1275 * testsuite/ld-arm/stm32l4xx-fix-all.s: Add tests for multiple
1276 loads with DP registers.
1277 * testsuite/ld-arm/stm32l4xx-fix-all.d: Update reference.
1279 2016-05-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
1281 * testsuite/ld-elf/flags1.d (readelf): Dump section header instead
1283 (xfail): Remove avr-*-*.
1284 Update regex to check the section flags.
1285 * testsuite/ld-elf/merge.d (xfail): Remove avr-*-*.
1287 2016-05-09 Alan Modra <amodra@gmail.com>
1289 * Makefile.am (ealphavms.c, eelf64_ia64_vms): Correct .em deps.
1290 * Makefile.in: Regenerate.
1292 2016-05-09 Alan Modra <amodra@gmail.com>
1294 * testsuite/ld-scripts/pr14962-2.t: Match .text, not *.text.
1295 * testsuite/ld-scripts/rgn-at5.t: Similarly, .sec not *.sec.
1296 * testsuite/ld-scripts/section-match-1.t: Likewise.
1298 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
1301 * testsuite/ld-elf/pr17550-1.s: New file.
1302 * testsuite/ld-elf/pr17550-2.s: Likewise.
1303 * testsuite/ld-elf/pr17550-3.s: Likewise.
1304 * testsuite/ld-elf/pr17550-4.s: Likewise.
1305 * testsuite/ld-elf/pr17550a.d: Likewise.
1306 * testsuite/ld-elf/pr17550b.d: Likewise.
1307 * testsuite/ld-elf/pr17550c.d: Likewise.
1308 * testsuite/ld-elf/pr17550d.d: Likewise.
1310 2016-05-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1312 * ld/testsuite/ld-srec/srec.exp: Mark test as XFAIL for AVR.
1314 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
1316 * testsuite/ld-i386/i386.exp: Run load7.
1317 * testsuite/ld-i386/load7.d: New file.
1318 * testsuite/ld-i386/load7.map: Likewise.
1319 * testsuite/ld-i386/load7.s: Likewise.
1320 * testsuite/ld-x86-64/load2.d: Likewise.
1321 * testsuite/ld-x86-64/load2.map: Likewise.
1322 * testsuite/ld-x86-64/load2.s: Likewise.
1323 * testsuite/ld-x86-64/x86-64.exp: Run load2.
1325 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
1327 * emulparams/elf_iamcu.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): New.
1328 * emulparams/elf_k1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1330 * emulparams/elf_l1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1333 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
1335 * testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld.
1337 2016-05-04 H.J. Lu <hongjiu.lu@intel.com>
1339 * ldlang.c (init_os): Pass %E to einfo when bfd_section == NULL.
1341 2016-05-04 Maciej W. Rozycki <macro@imgtec.com>
1343 * testsuite/ld-unique/unique.d: New test.
1344 * testsuite/ld-unique/unique.exp: Run the new test. Adjust
1345 messages for compiled tests.
1347 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1349 * testsuite/ld-elf/pr18735.d: Allow other symbols.
1350 * testsuite/ld-elf/sec64k.exp: Skip 64ksec for avr.
1351 * testsuite/ld-gc/pr14265.d: Allow other symbols.
1352 * testsuite/ld-plugin/plugin.exp: Add PR ld/17973 to
1353 plugin_tests only if check_shared_lib_support is true.
1354 * testsuite/ld-selective/selective.exp: Add --section-start
1357 2016-05-03 Maciej W. Rozycki <macro@imgtec.com>
1360 * testsuite/ld-unique/unique.exp: Also run for `mips*-*-*'.
1362 2016-05-03 Jiong Wang <jiong.wang@arm.com>
1364 * emultempl/aarch64elf.em (--no-apply-dynamic-relocs): New option.
1365 * NEWS: Mention --no-apply-dynamic-relocs.
1366 * ld.texinfo (ld and the ARM family): Document
1367 --no-apply-dynamic-relocs.
1368 * testsuite/ld-aarch64/rela-abs-relative.s: New test source.
1369 * testsuite/ld-aarch64/rela-abs-relative.d: New expected result.
1370 * testsuite/ld-aarch64/rela-abs-relative-be.d: Likewise for big-endian.
1371 * estsuite/ld-aarch64/rela-abs-relative-opt.d: Likewise, but enable new
1374 2016-05-03 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1376 * testsuite/ld-elfcomm/elfcomm.exp: Check for shared lib support
1377 before running STT_COMMON tests.
1379 2016-04-29 H.J. Lu <hongjiu.lu@intel.com>
1381 * config/default.exp (NOPIE_CFLAGS): Download source only on
1383 (NOPIE_LDFLAGS): Likewise.
1384 * testsuite/lib/ld-lib.exp (check_lto_available): Likewise.
1385 (check_lto_fat_available): Likewise.
1386 (check_lto_shared_available): Likewise.
1387 (check_ifunc_available): Likewise.
1388 (check_ifunc_attribute_available): Likewise.
1390 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
1392 * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.
1394 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
1397 * testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
1398 (visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
1401 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
1403 * testsuite/ld-elf/compressed1b.d: Pass
1404 --compress-debug-sections=none to ld.
1405 * testsuite/ld-elf/compressed1c.d: Likewise.
1407 2016-04-27 Alan Modra <amodra@gmail.com>
1410 * configure.tgt: Don't use var+=.
1412 2016-04-25 Nick Clifton <nickc@redhat.com>
1415 * configure.tgt: Include big endian PPC64 emulations with little
1416 endian PPC64 targets.
1418 2016-04-25 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1420 * scripttempl/avrtiny.sc (.text): Do not set LMA to zero.
1422 2016-04-21 Nick Clifton <nickc@redhat.com>
1424 * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in
1425 prefernce to _bfd_elf_link_check_relocs. Drop test for ELF
1426 targets. Do not stop the checks when problems are encountered.
1428 2016-04-21 Alan Modra <amodra@gmail.com>
1430 * testsuite/ld-scripts/cross3.t: Add commonly used data
1431 and text section names to output section statements.
1432 * testsuite/ld-scripts/cross4.t: Likewise.
1433 * testsuite/ld-scripts/cross5.t: Likewise.
1434 * testsuite/ld-scripts/cross6.t: Likewise.
1435 * testsuite/ld-scripts/cross7.t: Likewise.
1437 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1439 * ldlang.c (lang_check_relocs): New function.
1440 (lang_process): Call lang_check_relocs after lang_gc_sections.
1441 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
1442 call _bfd_elf_link_check_relocs here.
1444 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1447 * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for
1448 R_386_NONE or R_X86_64_NONE.
1450 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1452 * testsuite/ld-x86-64/pic1.d: New file.
1453 * testsuite/ld-x86-64/pic1.s: Likewise.
1454 * testsuite/ld-x86-64/x86-64.exp: Run pic1.
1456 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1458 * testsuite/ld-x86-64/pie2.d: New file.
1459 * testsuite/ld-x86-64/pie2.s: Likewise.
1460 * testsuite/ld-x86-64/x86-64.exp: Run pie2.
1462 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1465 * testsuite/ld-x86-64/pr19969.d: New file.
1466 * testsuite/ld-x86-64/pr19969a.S: Likewise.
1467 * testsuite/ld-x86-64/pr19969b.S: Likewise.
1468 * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests.
1470 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1472 * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1474 * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1476 * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1478 * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1480 * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1482 * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1484 * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1486 * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1488 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
1489 Set check_relocs_after_open_input to TRUE if
1490 CHECK_RELOCS_AFTER_OPEN_INPUT is yes.
1491 (gld${EMULATION_NAME}_after_open): Call
1492 _bfd_elf_link_check_relocs on all inputs if
1493 check_relocs_after_open_input is TRUE.
1495 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1497 * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
1500 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1502 * emultempl/scoreelf.em: Likewise.
1504 2016-04-19 H.J. Lu <hongjiu.lu@intel.com>
1507 * testsuite/ld-x86-64/pr19719.d: New file.
1508 * testsuite/ld-x86-64/pr19719.s: Likewise.
1509 * testsuite/ld-x86-64/x86-64.exp: Run pr19719.
1511 2016-04-18 Matthew Fortune <matthew.fortune@imgtec.com>
1513 * ld.texinfo: Document NOCROSSREFS_TO script command.
1514 * ldlang.h (struct lang_nocrossrefs): Add onlyfirst field.
1515 (lang_add_nocrossref_to): New prototype.
1516 * ldcref.c (check_local_sym_xref): Use onlyfirst to only look for
1517 symbols defined in the first section.
1518 (check_nocrossref): Likewise.
1519 * ldgram.y (NOCROSSREFS_TO): New script command.
1520 * ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE.
1521 (lang_add_nocrossref_to): New function.
1522 * ldlex.l (NOCROSSREFS_TO): New token.
1523 * NEWS: Mention NOCROSSREFS_TO.
1524 * testsuite/ld-scripts/cross4.t: New file.
1525 * testsuite/ld-scripts/cross5.t: Likewise.
1526 * testsuite/ld-scripts/cross6.t: Likewise.
1527 * testsuite/ld-scripts/cross7.t: Likewise.
1528 * testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO
1531 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
1533 * Makefile.in: Regenerated with automake 1.11.6.
1534 * aclocal.m4: Likewise.
1536 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
1538 * testsuite/ld-arc/arc.exp: New file.
1539 * testsuite/ld-arc/nps-1.s: New file.
1540 * testsuite/ld-arc/nps-1a.d: New file.
1541 * testsuite/ld-arc/nps-1b.d: New file.
1542 * testsuite/ld-arc/nps-1b.err: New file.
1544 2016-04-14 Nick Clifton <nickc@redhat.com>
1547 * testsuite/ld-scripts/script.exp (extract_symbol_test): Add
1548 exceptions for Mingw and Cygwin.
1550 2016-04-13 Andrew Burgess <andrew.burgess@embecosm.com>
1552 * testsuite/lib/ld-lib.exp (run_dump_test): Initialise
1555 2016-04-13 H.J. Lu <hongjiu.lu@intel.com>
1558 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before
1559 tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed
1562 2016-04-11 H.J. Lu <hongjiu.lu@intel.com>
1565 * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
1566 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1567 * testsuite/ld-i386/pr19939.s: New file.
1568 * testsuite/ld-i386/pr19939a.d: Likewise.
1569 * testsuite/ld-i386/pr19939b.d: Likewise.
1570 * testsuite/ld-x86-64/pr19939.s: Likewise.
1571 * testsuite/ld-x86-64/pr19939a.d: Likewise.
1572 * testsuite/ld-x86-64/pr19939b.d: Likewise.
1574 2016-04-09 Oleg Endo <olegendo@gcc.gnu.org>
1576 * emulparams/shelf.sh: Set stack area to 0x3FFFFF00.
1578 2016-04-08 Alan Modra <amodra@gmail.com>
1581 * ldlang.c (maybe_overlays): Delete.
1582 (lang_size_sections_1): Remove code setting maybe_overlays.
1583 (lang_check_section_addresses): Instead detect overlays by
1584 exact match of section VMAs here. Fix memory leak.
1586 2016-04-08 Dan Gisselquist <dgisselq@ieee.org>
1588 * ldlang.c (print_output_section_statement): Show minfo size
1589 in target machine address units.
1590 (print_reloc_statement): Likewise.
1591 (print_padding_statement): Likewise.
1592 (print_data_statement): Likewise. Ensure minimum print_dot
1593 increment of one address unit.
1595 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1597 * emulparams/arc-endianness.sh: Make little endian default choice.
1599 2016-04-07 Nick Clifton <nickc@redhat.com>
1601 * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in
1603 * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise.
1605 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
1607 * emulparams/arc-endianness.sh: New file.
1608 * emulparams/arcebelf.sh: Deleted.
1609 * emulparams/arcebelf_prof.sh: Deleted.
1610 * emulparams/arceblinux.sh: Deleted.
1611 * emulparams/arceblinux_prof.sh: Deleted.
1612 * emulparams/arcelf.sh: Include arc-endinness.sh.
1613 * emulparams/arcelf_prof.sh: Include arc-endinness.sh.
1614 * emulparams/arclinux.sh: Include arc-endinness.sh.
1615 * emulparams/arclinux_prof.sh: Include arc-endinness.sh.
1616 * emulparams/arcv2elf.sh: Include arc-endinness.sh.
1617 * emulparams/arcv2elfx.sh: Include arc-endinness.sh.
1618 * testsuite/ld-elf/compressed1d.d: Update pattern for big and
1619 little endian arc targets.
1620 * testsuite/ld-elf/eh-frame-hdr.d: Likewise.
1621 * testsuite/ld-elf/group1.d: Likewise.
1622 * testsuite/ld-elf/group3b.d: Likewise.
1623 * testsuite/ld-elf/group8a.d: Likewise.
1624 * testsuite/ld-elf/group8b.d: Likewise.
1625 * testsuite/ld-elf/group9a.d: Likewise.
1626 * testsuite/ld-elf/group9b.d: Likewise.
1627 * testsuite/ld-elf/linkonce2.d: Likewise.
1628 * testsuite/ld-elf/pr12851.d: Likewise.
1629 * testsuite/ld-elf/pr12975.d: Likewise.
1630 * testsuite/ld-elf/pr13177.d: Likewise.
1631 * testsuite/ld-elf/pr13195.d: Likewise.
1632 * testsuite/ld-elf/pr17615.d: Likewise.
1633 * testsuite/ld-elf/pr19162.d: Likewise.
1634 * testsuite/ld-elf/sec64k.exp: Likewise.
1635 * testsuite/lib/ld-lib.exp: Likewise.
1637 2016-04-05 Maciej W. Rozycki <macro@imgtec.com>
1640 * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol
1642 * testsuite/ld-cris/tls-e-20a.d: Likewise.
1643 * testsuite/ld-cris/tls-e-21.d: Likewise.
1644 * testsuite/ld-cris/tls-e-23.d: Likewise.
1645 * testsuite/ld-cris/tls-e-80.d: Likewise.
1646 * testsuite/ld-cris/tls-gd-3h.d: Likewise.
1647 * testsuite/ld-cris/tls-leie-19.d: Likewise.
1648 * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test.
1649 * testsuite/ld-mips-elf/export-hidden-ref.sd: New test.
1650 * testsuite/ld-mips-elf/export-internal-ref.sd: New test.
1651 * testsuite/ld-mips-elf/export-protected-ref.sd: New test.
1652 * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source.
1653 * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source.
1654 * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source.
1655 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1657 2016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
1659 * testsuite/ld-discard/extern.d: Removed xfail for ARC.
1660 * testsuite/ld-discard/start.d: Likewise.
1661 * testsuite/ld-discard/static.d: Likewise.
1662 * testsuite/ld-elf/group1.d: Likewise.
1663 * testsuite/ld-elf/group3b.d: Likewise.
1664 * testsuite/ld-elf/orphan-region.d: Likewise.
1665 * testsuite/ld-elf/orphan.d: Likewise.
1666 * testsuite/ld-elf/orphan3.d: Likewise.
1667 * testsuite/ld-elf/pr349.d: Likewise.
1668 * testsuite/ld-elf/warn1.d: Likewise.
1669 * testsuite/ld-elf/warn2.d: Likewise.
1670 * testsuite/ld-elf/warn3.d: Likewise.
1671 * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol
1672 through linker flags.
1673 * testsuite/ld-srec/srec.exp: Set as xfail.
1675 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
1678 * testsuite/ld-i386/pr19827-nacl.rd: New file.
1679 * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
1681 2016-04-04 Nick Clifton <nickc@redhat.com>
1684 * emultempl/pe.em (change_undef): New function. Encapsulates
1685 duplicated code in pe_fixup_stdcalls and adds the newly defined
1686 sym to the gc root list.
1687 (pe_fixup_stdcall): Use the new function.
1688 * pe-dll.c (process_def_file_and_drectve); Add alias of exported
1689 symbol to gc root list.
1691 2016-03-31 Alan Modra <amodra@gmail.com>
1693 * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.
1694 (lang_insert_orphan): Use TO_ADDR in __stop sym calculation.
1695 (print_input_section): Don't use TO_ADDR when printing section
1697 (lang_size_sections_1): Use TO_ADDR in overlay lma calculation.
1698 (lang_size_sections): Use TO_ADDR in relro end calculation.
1700 2016-03-30 Andrew Burgess <andrew.burgess@embecosm.com>
1702 * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return
1703 value from regexp_diff.
1704 * testsuite/ld-elf/orphan-5.l: Fix expected output.
1705 * testsuite/ld-elf/orphan-6.l: Likewise.
1707 2016-03-30 Alan Modra <amodra@gmail.com>
1710 * ldlang.c (maybe_overlays): New static var.
1711 (lang_size_sections_1): Set it here.
1712 (struct check_sec): New.
1713 (sort_sections_by_lma): Adjust for array of structs.
1714 (sort_sections_by_vma): New function.
1715 (lang_check_section_addresses): Check both LMA and VMA for overlap.
1716 * testsuite/ld-scripts/rgn-over7.d: Adjust.
1718 2016-03-30 Alan Modra <amodra@gmail.com>
1720 * ldlang.c (lang_size_sections_1): Correct code detecting a
1721 backward non-overlapping move.
1723 2016-03-30 Alan Modra <amodra@gmail.com>
1725 * ldlang.c (IS_TBSS): New macro, extracted from..
1726 (IGNORE_SECTION): ..here.
1727 (lang_size_sections_1): Use IS_TBSS and IGNORE_SECTION.
1728 (lang_size_sections, lang_do_assignments_1): Use IS_TBSS.
1730 2016-03-22 Nick Clifton <nickc@redhat.com>
1733 * ldlang.c (lang_add_gc_name): New function. Adds the provided
1734 symbol name to the list of gc symbols.
1735 (lang_process): Call lang_add_gc_name with entry_symbol_default if
1736 entry_symbol.name is NULL. Use lang_add_gc_name to add the init
1737 and fini function names.
1738 * pe-dll.c (process_def_file_and_drectve): Add exported names to
1740 * testsuite/ld-pe/pr19803.s: Do not export _testval symbol.
1741 * testsuite/ld-pe/pr19803.d: Tweak expected output.
1743 2016-03-22 Nick Clifton <nickc@redhat.com>
1745 * configure: Regenerate.
1747 2016-03-21 Nick Clifton <nickc@redhat.com>
1749 * emultempl/msp430.em: Replace use of alloca with call to xmalloc.
1750 * plugin.c: Likewise.
1751 * pe-dll.c: Likewise.
1753 2016-03-18 Awson <kyrab@mail.ru>
1756 * scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
1758 * scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.
1760 2016-03-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1762 * ld-avr/gc-section-debugline.d: Relax regex check for CU.
1764 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
1767 * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests.
1768 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1769 * testsuite/ld-i386/pr19827.rd: New file.
1770 * testsuite/ld-i386/pr19827a.S: Likewise.
1771 * testsuite/ld-i386/pr19827b.S: Likewise.
1772 * testsuite/ld-x86-64/pr19827.rd: Likewise.
1773 * testsuite/ld-x86-64/pr19827a.S: Likewise.
1774 * testsuite/ld-x86-64/pr19827b.S: Likewise.
1776 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
1779 * Makefile.am (ELF_X86_DEPS): Add
1780 $(srcdir)/emulparams/reloc_overflow.sh.
1781 * Makefile.in: Regenerated.
1782 * NEWS: Mention -z noreloc-overflow.
1783 * ld.texinfo: Document -z noreloc-overflow.
1784 * emulparams/elf32_x86_64.sh: Source
1785 ${srcdir}/emulparams/reloc_overflow.sh.
1786 * emulparams/elf_x86_64.sh: Likewise.
1787 * emulparams/reloc_overflow.sh: New file.
1788 * testsuite/ld-x86-64/pr19807-1.s: New file.
1789 * testsuite/ld-x86-64/pr19807-1a.d: Likewise.
1790 * testsuite/ld-x86-64/pr19807-1b.d: Likewise.
1791 * testsuite/ld-x86-64/pr19807-2.s: Likewise.
1792 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
1793 * testsuite/ld-x86-64/pr19807-2b.d: Likewise.
1794 * testsuite/ld-x86-64/pr19807-2c.d: Likewise.
1795 * testsuite/ld-x86-64/pr19807-2d.d: Likewise.
1796 * testsuite/ld-x86-64/pr19807-2e.d: Likewise.
1797 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19807 tests.
1799 2016-03-13 H.J. Lu <hongjiu.lu@intel.com>
1802 * testsuite/ld-i386/i386.exp: Run pr19539.
1803 * testsuite/ld-i386/pr19539.d: New file.
1804 * testsuite/ld-i386/pr19539.s: Likewise.
1805 * testsuite/ld-i386/pr19539.t: Likewise.
1806 * testsuite/ld-x86-64/pr19539.s: Likewise.
1807 * testsuite/ld-x86-64/pr19539.t: Likewise.
1808 * testsuite/ld-x86-64/pr19539a.d: Likewise.
1809 * testsuite/ld-x86-64/pr19539b.d: Likewise.
1810 * testsuite/ld-x86-64/x86-64.exp: Run pr19539a and pr19539b.
1812 2016-03-10 Mickael Guene <mickael.guene@st.com>
1815 * testsuite/ld-arm/arm-elf.exp: New tests.
1816 * testsuite/ld-arm/thumb1-adds-armv7-m.s: New.
1817 * testsuite/ld-arm/thumb1-movs-armv7-m.s: New.
1819 2016-03-10 Nick Clifton <nickc@redhat.com>
1821 * scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).
1823 2016-03-09 Pedro Alves <palves@redhat.com>
1825 * scripttempl/v850.sc: Use "v850:old-gcc-abi" as OUTPUT_ARCH.
1826 * scripttempl/v850_rh850.sc: Use "v850:rh850" as OUTPUT_ARCH.
1828 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
1831 * testsuite/ld-elf/pr19789.d: New file.
1832 * testsuite/ld-elf/pr19789.s: Likewise.
1834 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
1837 * testsuite/ld-i386/i386.exp: Remove pr19636-2e-nacl test.
1838 * testsuite/ld-i386/pr19636-2e-nacl.d: Moved to ...
1839 * testsuite/ld-i386/pr19636-2e.d: Here. Remove notarget.
1840 * testsuite/ld-ifunc/ifunc.exp: Run PR ld/19784 tests.
1841 * testsuite/ld-ifunc/pass.out: New file.
1842 * testsuite/ld-ifunc/pr19784a.c: Likewise.
1843 * testsuite/ld-ifunc/pr19784b.c: Likewise.
1844 * testsuite/ld-ifunc/pr19784c.c: Likewise.
1846 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
1849 * testsuite/ld-ifunc/ifunc.exp: Link tmpdir/pr18808a.o before
1850 tmpdir/libpr18808.so. Link tmpdir/pr18841a.o before
1851 tmpdir/libpr18841b.so and tmpdir/libpr18841c.so. Test
1852 --as-needed for pr18841c.
1854 2016-03-07 H.J. Lu <hongjiu.lu@intel.com>
1857 * testsuite/ld-i386/i386.exp: Link tmpdir/pr18900.o before
1858 tmpdir/pr18900.so and test --as-needed. Link tmpdir/gotpc1.o
1859 before tmpdir/got1d.so and test --as-needed.
1860 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr18900.o before
1861 tmpdir/pr18900.so and test --as-needed.
1863 2016-03-07 Jiong Wang <jiong.wang@arm.com>
1865 * testsuite/ld-aarch64/implicit_got_section_1.s: New test source file.
1866 * testsuite/ld-aarch64/implicit_got_section_1.d: New test expected
1868 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
1870 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
1872 * testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o
1873 before tmpdir/copyreloc-lib.so and test --as-needed.
1874 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1876 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
1879 * testsuite/ld-elf/pr19579a.c: New file.
1880 * testsuite/ld-elf/pr19579b.c: Likewise.
1881 * testsuite/ld-elf/shared.exp: Run PR ld/19579 test.
1883 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1885 * testsuite/ld-elf/pr19162.d: Skip hppa-*-*.
1887 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1889 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Add xfails.
1890 Xfail mix_pic_and_non_pic on "arm*-*-*" "aarch64*-*-*".
1892 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1895 * emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other
1896 input sections for relocatable link.
1897 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1898 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1900 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
1903 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
1904 merge flags of other input sections for relocatable link.
1906 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
1908 * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6.
1910 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
1912 * testsuite/ld-elf/pr19162.d: Skip arc target.
1914 2016-02-29 H.J. Lu <hongjiu.lu@intel.com>
1917 * testsuite/ld-elf/pr19162.d: New file.
1918 * testsuite/ld-elf/pr19162a.s: Likwise.
1919 * testsuite/ld-elf/pr19162b.s: Likwise.
1921 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
1923 * testsuite/ld-elf/merge.d: Removed xfail for ARC.
1924 * testsuite/ld-elf/merge2.d: Likewise.
1925 * testsuite/ld-elf/merge3.d: Likewise.
1927 2016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
1929 * scripttempl/arclinux.sc: Force .tdata and .tbss to always be
1932 2016-02-26 Renlin Li <renlin.li@arm.com>
1934 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
1935 * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
1936 * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
1937 * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
1938 * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
1939 * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
1940 * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
1941 * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
1942 * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
1943 * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.
1945 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1948 * testsuite/ld-i386/got1.dd: Updated.
1949 * testsuite/ld-i386/lea1c.d: Likewise.
1950 * testsuite/ld-i386/load1-nacl.d: Likewise.
1951 * testsuite/ld-i386/load1.d: Likewise.
1952 * testsuite/ld-i386/load4b.d: Likewise.
1953 * testsuite/ld-i386/load5b.d: Likewise.
1954 * testsuite/ld-i386/mov1b.d: Likewise.
1955 * testsuite/ld-x86-64/mov1b.d: Likewise.
1956 * testsuite/ld-x86-64/mov1d.d: Likewise.
1957 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
1958 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1959 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
1960 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1961 * testsuite/ld-x86-64/gotpcrel1.dd: Likewise.
1962 * testsuite/ld-x86-64/lea1a.d: Likewise.
1963 * testsuite/ld-x86-64/lea1b.d: Likewise.
1964 * testsuite/ld-x86-64/lea1c.d: Likewise.
1965 * testsuite/ld-x86-64/lea1d.d: Likewise.
1966 * testsuite/ld-x86-64/lea1e.d: Likewise.
1967 * testsuite/ld-x86-64/lea1f.d: Likewise.
1968 * testsuite/ld-x86-64/mov1b.d: Likewise.
1969 * testsuite/ld-x86-64/mov1d.d: Likewise.
1970 * testsuite/ld-x86-64/pr13082-3b.d: Likewise.
1971 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
1972 * testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
1973 * testsuite/ld-i386/pr19609-1.s: New file.
1974 * testsuite/ld-i386/pr19609-1a.d: Likewise.
1975 * testsuite/ld-i386/pr19609-1b.d: Likewise.
1976 * testsuite/ld-i386/pr19609-1c.d: Likewise.
1977 * testsuite/ld-i386/pr19609-1d.d: Likewise.
1978 * testsuite/ld-i386/pr19609-1e.d: Likewise.
1979 * testsuite/ld-i386/pr19609-1f.d: Likewise.
1980 * testsuite/ld-i386/pr19609-1g.d: Likewise.
1981 * testsuite/ld-i386/pr19609-1h.d: Likewise.
1982 * testsuite/ld-i386/pr19609-1i.d: Likewise.
1983 * testsuite/ld-i386/pr19609-2.s: Likewise.
1984 * testsuite/ld-i386/pr19609-2a.d: Likewise.
1985 * testsuite/ld-i386/pr19609-2b.d: Likewise.
1986 * testsuite/ld-i386/pr19609-2c.d: Likewise.
1987 * testsuite/ld-i386/undefweak.s: Likewise.
1988 * testsuite/ld-i386/undefweaka.d: Likewise.
1989 * testsuite/ld-i386/undefweakb.d: Likewise.
1990 * testsuite/ld-x86-64/pr13082-3c.d: Likewise.
1991 * testsuite/ld-x86-64/pr13082-3d.d: Likewise.
1992 * testsuite/ld-x86-64/pr19609-1.s: Likewise.
1993 * testsuite/ld-x86-64/pr19609-1a.d: Likewise.
1994 * testsuite/ld-x86-64/pr19609-1b.d: Likewise.
1995 * testsuite/ld-x86-64/pr19609-1c.d: Likewise.
1996 * testsuite/ld-x86-64/pr19609-1d.d: Likewise.
1997 * testsuite/ld-x86-64/pr19609-1e.d: Likewise.
1998 * testsuite/ld-x86-64/pr19609-1f.d: Likewise.
1999 * testsuite/ld-x86-64/pr19609-1g.d: Likewise.
2000 * testsuite/ld-x86-64/pr19609-1h.d: Likewise.
2001 * testsuite/ld-x86-64/pr19609-1i.d: Likewise.
2002 * testsuite/ld-x86-64/pr19609-1j.d: Likewise.
2003 * testsuite/ld-x86-64/pr19609-1k.d: Likewise.
2004 * testsuite/ld-x86-64/pr19609-1l.d: Likewise.
2005 * testsuite/ld-x86-64/pr19609-1m.d: Likewise.
2006 * testsuite/ld-x86-64/pr19609-2.s: Likewise.
2007 * testsuite/ld-x86-64/pr19609-2a.d: Likewise.
2008 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
2009 * testsuite/ld-x86-64/pr19609-2c.d: Likewise.
2010 * testsuite/ld-x86-64/pr19609-2d.d: Likewise.
2011 * testsuite/ld-x86-64/pr19609-3.s: Likewise.
2012 * testsuite/ld-x86-64/pr19609-3a.d: Likewise.
2013 * testsuite/ld-x86-64/pr19609-3b.d: Likewise.
2014 * testsuite/ld-x86-64/pr19609-4.s: Likewise.
2015 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
2016 * testsuite/ld-x86-64/pr19609-4b.d: Likewise.
2017 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
2018 * testsuite/ld-x86-64/pr19609-4d.d: Likewise.
2019 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
2020 * testsuite/ld-x86-64/pr19609-5.s: Likewise.
2021 * testsuite/ld-x86-64/pr19609-5a.d: Likewise.
2022 * testsuite/ld-x86-64/pr19609-5b.d: Likewise.
2023 * testsuite/ld-x86-64/pr19609-5c.d: Likewise.
2024 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
2025 * testsuite/ld-x86-64/pr19609-5e.d: Likewise.
2026 * testsuite/ld-x86-64/pr19609-6.s: Likewise.
2027 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
2028 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
2029 * testsuite/ld-x86-64/pr19609-6c.d: Likewise.
2030 * testsuite/ld-x86-64/pr19609-6d.d: Likewise.
2031 * testsuite/ld-x86-64/pr19609-7.s: Likewise.
2032 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
2033 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
2034 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
2035 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
2036 * testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
2038 * testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
2039 and tests for PR ld/19609.
2041 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
2044 * NEWS: Mention -z common/-z nocommon for ELF targets.
2045 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
2046 -z common and -z nocommon.
2047 * ld.texinfo: Document -z common/-z nocommon.
2048 * lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
2049 * testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
2050 --elf-stt-common=yes with assembler.
2051 * testsuite/ld-elfcomm/common-1.s: New file.
2052 * testsuite/ld-elfcomm/common-1a.d: Likewise.
2053 * testsuite/ld-elfcomm/common-1b.d: Likewise.
2054 * testsuite/ld-elfcomm/common-1c.d: Likewise.
2055 * testsuite/ld-elfcomm/common-1d.d: Likewise.
2056 * testsuite/ld-elfcomm/common-1e.d: Likewise.
2057 * testsuite/ld-elfcomm/common-1f.d: Likewise.
2058 * testsuite/ld-elfcomm/common-2.s: Likewise.
2059 * testsuite/ld-elfcomm/common-2a.d: Likewise.
2060 * testsuite/ld-elfcomm/common-2b.d: Likewise.
2061 * testsuite/ld-elfcomm/common-2c.d: Likewise.
2062 * testsuite/ld-elfcomm/common-2d.d: Likewise.
2063 * testsuite/ld-elfcomm/common-2e.d: Likewise.
2064 * testsuite/ld-elfcomm/common-2f.d: Likewise.
2065 * testsuite/ld-elfcomm/common-3a.rd: Likewise.
2066 * testsuite/ld-elfcomm/common-3b.rd: Likewise.
2067 * testsuite/ld-i386/pr19645.d: Likewise.
2068 * testsuite/ld-i386/pr19645.s: Likewise.
2069 * testsuite/ld-x86-64/largecomm-1.s: Likewise.
2070 * testsuite/ld-x86-64/largecomm-1a.d: Likewise.
2071 * testsuite/ld-x86-64/largecomm-1b.d: Likewise.
2072 * testsuite/ld-x86-64/largecomm-1c.d: Likewise.
2073 * testsuite/ld-x86-64/largecomm-1d.d: Likewise.
2074 * testsuite/ld-x86-64/largecomm-1e.d: Likewise.
2075 * testsuite/ld-x86-64/largecomm-1f.d: Likewise.
2076 * testsuite/ld-x86-64/pr19645.d: Likewise.
2077 * testsuite/ld-x86-64/pr19645.s: Likewise.
2078 * testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
2080 (assembler_generates_commons): Removed.
2081 Run -z common/-z nocommon tests. Run *.d tests.
2082 * testsuite/ld-i386/i386.exp: Run pr19645.
2083 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2084 * testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
2085 assembler. Test STT_COMMON with readelf.
2087 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
2092 * Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh.
2093 * Makefile.in: Regenerated.
2094 * NEWS: Mention -z nodynamic-undefined-weak.
2095 * ld.texinfo: Document -z nodynamic-undefined-weak.
2096 * ldmain.c (main): Initialize dynamic_undefined_weak to -1.
2097 * emulparams/dynamic_undefined_weak.sh: New file.
2098 * emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh.
2099 * emulparams/elf_i386.sh: Likewise.
2100 * emulparams/elf_i386_be.sh: Likewise.
2101 * emulparams/elf_i386_chaos.sh: Likewise.
2102 * emulparams/elf_i386_ldso.sh: Likewise.
2103 * emulparams/elf_i386_vxworks.sh: Likewise.
2104 * emulparams/elf_iamcu.sh: Likewise.
2105 * emulparams/elf_k1om.sh: Likewise.
2106 * emulparams/elf_l1om.sh: Likewise.
2107 * emulparams/elf_x86_64.sh: Likewise.
2108 * emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS):
2110 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
2111 * testsuite/ld-elf/pr19719a.c: New file.
2112 * testsuite/ld-elf/pr19719b.c: Likewise.
2113 * testsuite/ld-elf/pr19719c.c: Likewise.
2114 * testsuite/ld-elf/pr19719d.c: Likewise.
2115 * testsuite/ld-i386/pr19636-1.s: Likewise.
2116 * testsuite/ld-i386/pr19636-1a.d: Likewise.
2117 * testsuite/ld-i386/pr19636-1b.d: Likewise.
2118 * testsuite/ld-i386/pr19636-1c.d: Likewise.
2119 * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
2120 * testsuite/ld-i386/pr19636-1d.d: Likewise.
2121 * testsuite/ld-i386/pr19636-1e.d: Likewise.
2122 * testsuite/ld-i386/pr19636-1f.d: Likewise.
2123 * testsuite/ld-i386/pr19636-1g.d: Likewise.
2124 * testsuite/ld-i386/pr19636-1h.d: Likewise.
2125 * testsuite/ld-i386/pr19636-1i.d: Likewise.
2126 * testsuite/ld-i386/pr19636-2.s: Likewise.
2127 * testsuite/ld-i386/pr19636-2a.d: Likewise.
2128 * testsuite/ld-i386/pr19636-2b.d: Likewise.
2129 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
2130 * testsuite/ld-i386/pr19636-2c.d: Likewise.
2131 * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
2132 * testsuite/ld-i386/pr19636-2d.d: Likewise.
2133 * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
2134 * testsuite/ld-i386/pr19636-2e.d: Likewise.
2135 * testsuite/ld-i386/pr19636-3.s: Likewise.
2136 * testsuite/ld-i386/pr19636-3a.d: Likewise.
2137 * testsuite/ld-i386/pr19636-3b.d: Likewise.
2138 * testsuite/ld-i386/pr19636-3c.d: Likewise.
2139 * testsuite/ld-i386/pr19636-3d.d: Likewise.
2140 * testsuite/ld-i386/pr19636-3e.d: Likewise.
2141 * testsuite/ld-i386/pr19636-3f.d: Likewise.
2142 * testsuite/ld-i386/pr19636-3g.d: Likewise.
2143 * testsuite/ld-i386/pr19636-4.s: Likewise.
2144 * testsuite/ld-i386/pr19636-4a.d: Likewise.
2145 * testsuite/ld-i386/pr19636-4b.d: Likewise.
2146 * testsuite/ld-i386/pr19636-4c.d: Likewise.
2147 * testsuite/ld-i386/pr19636-4d.d: Likewise.
2148 * testsuite/ld-i386/pr19704.out: Likewise.
2149 * testsuite/ld-i386/pr19704a.c: Likewise.
2150 * testsuite/ld-i386/pr19704b.c: Likewise.
2151 * testsuite/ld-x86-64/pr19636-1.s: Likewise.
2152 * testsuite/ld-x86-64/pr19636-1a.d: Likewise.
2153 * testsuite/ld-x86-64/pr19636-1b.d: Likewise.
2154 * testsuite/ld-x86-64/pr19636-1c.d: Likewise.
2155 * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
2156 * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
2157 * testsuite/ld-x86-64/pr19636-1f.d: Likewise.
2158 * testsuite/ld-x86-64/pr19636-1g.d: Likewise.
2159 * testsuite/ld-x86-64/pr19636-2.s: Likewise.
2160 * testsuite/ld-x86-64/pr19636-2a.d: Likewise.
2161 * testsuite/ld-x86-64/pr19636-2b.d: Likewise.
2162 * testsuite/ld-x86-64/pr19636-2c.d: Likewise.
2163 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
2164 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
2165 * testsuite/ld-x86-64/pr19636-2e.d: Likewise.
2166 * testsuite/ld-x86-64/pr19636-2f.d: Likewise.
2167 * testsuite/ld-x86-64/pr19636-2g.d: Likewise.
2168 * testsuite/ld-x86-64/pr19636-2h.d: Likewise.
2169 * testsuite/ld-x86-64/pr19636-2i.d: Likewise.
2170 * testsuite/ld-x86-64/pr19636-3.s: Likewise.
2171 * testsuite/ld-x86-64/pr19636-3a.d: Likewise.
2172 * testsuite/ld-x86-64/pr19636-3b.d: Likewise.
2173 * testsuite/ld-x86-64/pr19636-3c.d: Likewise.
2174 * testsuite/ld-x86-64/pr19636-3d.d: Likewise.
2175 * testsuite/ld-x86-64/pr19704.out: Likewise.
2176 * testsuite/ld-x86-64/pr19704a.c: Likewise.
2177 * testsuite/ld-x86-64/pr19704b.c: Likewise.
2178 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New.
2179 Run mix_pic_and_non_pic.
2180 * testsuite/ld-i386/i386.exp (undefined_weak): New.
2181 Run undefined_weak and PR ld/19636 tests.
2182 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2183 * testsuite/ld-x86-64/pr13082-3b.d: Updated.
2184 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
2186 2016-02-25 Nick Clifton <nickc@redhat.com>
2188 * ld.h (struct ld_config_type): Remove specified_data_size field.
2190 2016-02-24 H.J. Lu <hongjiu.lu@intel.com>
2193 * testsuite/ld-elf/pr19698.d: New file.
2194 * testsuite/ld-elf/pr19698.s: Likewise.
2195 * testsuite/ld-elf/pr19698.t: Likewise.
2197 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
2199 * Makefile.am (ELF_X86_DEPS): New.
2200 (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS).
2201 (eelf_i386_chaos.c): Likewise.
2202 (eelf_i386_fbsd.c): Likewise.
2203 (eelf_i386_ldso.c): Likewise.
2204 (eelf_i386_nacl.c): Likewise.
2205 (eelf_i386_sol2.c): Likewise.
2206 (eelf_iamcu.c): Likewise.
2207 (eelf32_x86_64.c): Likewise.
2208 (eelf32_x86_64_nacl.c): Likewise.
2209 (eelf_l1om.c): Likewise.
2210 (eelf_l1om_fbsd.c): Likewise.
2211 (eelf_k1om.c): Likewise.
2212 (eelf_k1om_fbsd.c): Likewise.
2213 (eelf_x86_64.c): Likewise.
2214 (eelf_x86_64_cloudabi.c): Likewise.
2215 (eelf_x86_64_fbsd.c): Likewise.
2216 (eelf_x86_64_sol2.c): Likewise.
2217 * Makefile.in: Regenerated.
2219 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
2221 * testsuite/ld-frv/fdpic-pie-6.d: Updated.
2222 * testsuite/ld-mips-elf/pie-n32.d: Likewise.
2223 * testsuite/ld-mips-elf/pie-n64.d: Likewise.
2224 * testsuite/ld-mips-elf/pie-o32.d: Likewise.
2226 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
2228 * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
2230 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
2232 * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
2233 *-*-gnu* and *-*-solaris*.
2234 * testsuite/ld-elf/pr19617b.d: Likewise.
2235 * testsuite/ld-elf/pr19617c.d: Likewise.
2237 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
2240 * testsuite/ld-elf/pr19617.s: New file.
2241 * testsuite/ld-elf/pr19617a.d: Likewise.
2242 * testsuite/ld-elf/pr19617b.d: Likewise.
2243 * testsuite/ld-elf/pr19617c.d: Likewise.
2245 2016-02-18 Nick Clifton <nickc@redhat.com>
2247 * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
2248 in-tree xg++ executable after checking for the presence of an
2249 in-tree g++ executable.
2250 * Makefile.in: Regenerate.
2252 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
2254 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
2255 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
2256 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
2258 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
2260 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
2261 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
2262 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
2263 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
2264 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
2265 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
2266 * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
2267 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
2268 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
2269 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
2270 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
2271 * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
2272 * testsuite/ld-x86-64/load1c.d: Likewise.
2273 * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
2274 * testsuite/ld-x86-64/load1d.d: Likewise.
2275 * testsuite/ld-x86-64/pr14207.d: Likewise.
2276 * testsuite/ld-x86-64/pr19162.d: Likewise.
2277 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
2278 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
2279 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
2280 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
2281 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
2282 * testsuite/ld-x86-64/tlspic.rd: Likewise.
2284 2016-02-17 Nick Clifton <nickc@redhat.com>
2286 * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
2288 2016-02-15 Nick Clifton <nickc@redhat.com>
2290 * testsuite/ld-i386/pr12718.d: Remove dependency upon the
2291 description of the flags produced by readelf.
2292 * testsuite/ld-i386/pr12921.d: Likewise.
2293 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
2294 * testsuite/ld-i386/tlsbin.rd: Likewise.
2295 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
2296 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
2297 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
2298 * testsuite/ld-i386/tlsdesc.rd: Likewise.
2299 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
2300 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
2301 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
2302 * testsuite/ld-i386/tlsnopic.rd: Likewise.
2303 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
2304 * testsuite/ld-i386/tlspic.rd: Likewise.
2305 * testsuite/ld-s390/tlsbin.rd: Likewise.
2306 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
2307 * testsuite/ld-s390/tlspic.rd: Likewise.
2308 * testsuite/ld-s390/tlspic_64.rd: Likewise.
2309 * testsuite/ld-sh/tlsbin-2.d: Likewise.
2310 * testsuite/ld-sh/tlspic-2.d: Likewise.
2311 * testsuite/ld-tic6x/common.d: Likewise.
2312 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
2313 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
2314 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
2315 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
2316 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
2317 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
2318 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
2319 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
2320 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
2321 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
2322 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
2323 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
2324 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
2325 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
2326 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
2327 * testsuite/ld-x86-64/pr12718.d: Likewise.
2328 * testsuite/ld-x86-64/pr12921.d: Likewise.
2329 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
2330 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
2331 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
2332 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
2333 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
2334 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
2335 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
2336 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
2337 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
2338 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
2339 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
2340 * testsuite/ld-x86-64/tlspic.rd: Likewise.
2341 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
2342 * testsuite/ld-xtensa/tlspic.rd: Likewise.
2344 2016-02-11 H.J. Lu <hongjiu.lu@intel.com>
2347 * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
2349 * lexsup.c (parse_args): Enable -Bsymbolic and
2350 -Bsymbolic-functions for PIE.
2351 * testsuite/ld-i386/i386.exp: Run pr19615.
2352 * testsuite/ld-i386/pr19615.d: New file.
2353 * testsuite/ld-i386/pr19615.s: Likewise.
2354 * testsuite/ld-x86-64/pr19615.d: Likewise.
2355 * testsuite/ld-x86-64/pr19615.s: Likewise.
2357 2016-02-09 Nick Clifton <nickc@redhat.com>
2359 * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
2360 * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
2361 * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
2362 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
2364 2016-02-04 Nick Clifton <nickc@redhat.com>
2366 * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
2367 * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
2368 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
2369 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
2370 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
2371 * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
2372 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
2373 * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
2374 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
2376 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2379 * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
2380 * testsuite/ld-i386/call1.d: Likewise.
2381 * testsuite/ld-i386/call2.d: Likewise.
2382 * testsuite/ld-i386/call3a.d: Likewise.
2383 * testsuite/ld-i386/call3b.d: Likewise.
2384 * testsuite/ld-i386/call3c.d: Likewise.
2385 * testsuite/ld-i386/call3d.d: Likewise.
2386 * testsuite/ld-i386/call3e.d: Likewise.
2387 * testsuite/ld-i386/call3f.d: Likewise.
2388 * testsuite/ld-i386/call3g.d: Likewise.
2389 * testsuite/ld-i386/call3h.d: Likewise.
2390 * testsuite/ld-i386/jmp1.d: Likewise.
2391 * testsuite/ld-i386/jmp2.d: Likewise.
2392 * testsuite/ld-i386/lea1c.d: Likewise.
2393 * testsuite/ld-i386/load1.d: Likewise.
2394 * testsuite/ld-i386/load2.d: Likewise.
2395 * testsuite/ld-i386/load3.d: Likewise.
2396 * testsuite/ld-i386/load4a.d: Likewise.
2397 * testsuite/ld-i386/load5a.d: Likewise.
2398 * testsuite/ld-i386/mov2b.d: Likewise.
2399 * testsuite/ld-i386/mov3.d: Likewise.
2400 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
2401 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
2402 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
2403 * testsuite/ld-x86-64/call1a.d: Likewise.
2404 * testsuite/ld-x86-64/call1b.d: Likewise.
2405 * testsuite/ld-x86-64/call1c.d: Likewise.
2406 * testsuite/ld-x86-64/call1d.d: Likewise.
2407 * testsuite/ld-x86-64/call1e.d: Likewise.
2408 * testsuite/ld-x86-64/call1f.d: Likewise.
2409 * testsuite/ld-x86-64/call1h.d: Likewise.
2410 * testsuite/ld-x86-64/call1i.d: Likewise.
2411 * testsuite/ld-x86-64/load1a.d: Likewise.
2412 * testsuite/ld-x86-64/load1b.d: Likewise.
2413 * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
2414 * testsuite/ld-i386/got1.dd: Updated.
2415 * testsuite/ld-i386/got1d.S (1): Removed.
2416 * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
2417 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2419 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
2422 * testsuite/ld-x86-64/pr18591.d: New file.
2423 * testsuite/ld-x86-64/pr18591.s: Likewise.
2424 * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
2426 2016-02-01 H.J. Lu <hongjiu.lu@intel.com>
2429 * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
2430 * testsuite/ld-elf/pr19553.map: New file.
2431 * testsuite/ld-elf/pr19553.map: Likewise.
2432 * testsuite/ld-elf/pr19553a.c: Likewise.
2433 * testsuite/ld-elf/pr19553b.c: Likewise.
2434 * testsuite/ld-elf/pr19553b.out: Likewise.
2435 * testsuite/ld-elf/pr19553c.c: Likewise.
2436 * testsuite/ld-elf/pr19553c.out: Likewise.
2437 * testsuite/ld-elf/pr19553d.c: Likewise.
2438 * testsuite/ld-elf/pr19553d.out: Likewise.
2440 2016-01-30 H.J. Lu <hongjiu.lu@intel.com>
2443 * testsuite/ld-elf/pr19539.d: New file.
2444 * testsuite/ld-elf/pr19539.s: Likewise.
2445 * testsuite/ld-elf/pr19539.t: Likewise.
2447 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
2450 * configure.ac (compressed_debug_sections): Replace == with =.
2451 * configure: Regenerated.
2453 2016-01-22 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2455 * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
2456 * scripttempl/avrtiny.sc (.noinit): Likewise.
2458 2016-01-21 Nick Clifton <nickc@redhat.com>
2461 * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
2462 the arm-netbsdelf target.
2465 * testsuite/ld-arm/vxworks1-lib.dd: Update for current
2466 disassmebler output.
2467 * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
2468 * testsuite/ld-arm/vxworks1.dd: Likewise.
2469 * testsuite/ld-arm/vxworks1.rd: Likewise.
2470 * testsuite/ld-arm/vxworks1.ld: Set the output format.
2472 2016-01-20 Jiong Wang <jiong.wang@arm.com>
2474 * testsuite/ld-aarch64/farcall-section.d: Delete.
2475 * testsuite/ld-aarch64/farcall-section.s: Delete.
2476 * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
2477 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
2478 * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
2479 * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
2480 * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
2482 2016-01-20 Nick Clifton <nickc@redhat.com>
2485 * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
2486 early for PE based targets.
2487 * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
2488 * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
2490 2016-01-20 Mickael Guene <mickael.guene@st.com>
2492 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
2493 Add 'y' attribute usage.
2494 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
2495 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
2496 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
2498 2016-01-19 Nick Clifton <nickc@redhat.com>
2500 * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
2501 foo@FOO and bar@@FOO.
2503 2016-01-18 Alan Modra <amodra@gmail.com>
2505 * configure: Regenerate.
2507 2016-01-18 Nick Clifton <nickc@redhat.com>
2509 * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
2510 is not configured to support plugins.
2512 * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
2513 but with 16 byte section alignment.
2514 * testsuite/ld-scripts/rgn-at11.d: Use new source file. Reenable
2515 test for MIPS targets.
2517 2016-01-17 Alan Modra <amodra@gmail.com>
2519 * configure: Regenerate.
2521 2016-01-17 Alan Modra <amodra@gmail.com>
2523 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
2524 * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
2525 * testsuite/ld-elf/pr14156a.d: Likewise.
2526 * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
2527 * testsuite/ld-elf/sec64k.exp: Likewise.
2529 2016-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
2531 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
2532 Set address of .foo section when linking.
2533 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
2535 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
2536 output to the above changes.
2538 2016-01-13 Nick Clifton <nickc@redhat.com>
2540 * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
2543 * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
2544 fail for MIPS targets.
2546 * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
2549 2016-01-12 Yury Usishchev <y.usishchev@samsung.com>
2551 * testsuite/ld-arm/arm-elf.exp: New test.
2552 * testsuite/ld-arm/unwind-mix.d: New file.
2553 * testsuite/ld-arm/unwind-mix1.s: New file.
2554 * testsuite/ld-arm/unwind-mix2.s: New file.
2556 2016-01-08 Jiong Wang <jiong.wang@arm.com>
2559 * testsuite/ld-arm/ifunc-3.rd: Update expected result.
2560 * testsuite/ld-arm/ifunc-4.rd: Likewise.
2561 * testsuite/ld-arm/ifunc-9.rd: Likewise.
2562 * testsuite/ld-arm/ifunc-10.rd: Likewise.
2563 * testsuite/ld-arm/ifunc-12.rd: Likewise.
2564 * testsuite/ld-arm/ifunc-13.rd: Likewise.
2566 2016-01-05 Nick Clifton <nickc@redhat.com>
2568 * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
2569 MSP430 hardware multiply address range.
2570 * scripttempl/elf32msp430.sc (__romdatastart): Define.
2571 (__romdatacopysize): Define.
2572 * scripttempl/elf32msp430_3.sc: Likewise.
2574 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
2576 * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
2577 OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
2579 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
2581 * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
2582 messages expected according to MIPS BFD private data merge
2584 * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
2585 * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
2586 * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
2587 * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
2588 * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
2589 * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
2590 * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
2591 * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
2592 * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
2593 * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
2594 * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
2595 * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
2596 * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
2598 2016-01-01 Alan Modra <amodra@gmail.com>
2600 Update year range in copyright notice of all files.
2602 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
2604 Copyright (C) 2016 Free Software Foundation, Inc.
2606 Copying and distribution of this file, with or without modification,
2607 are permitted in any medium without royalty provided the copyright
2608 notice and this notice are preserved.
2614 version-control: never