1 2016-08-10 Maciej W. Rozycki <macro@imgtec.com>
3 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips-rel.dd: New
5 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips-rel.nd: New
7 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips.dd: New test.
8 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips.nd: New test.
9 * testsuite/ld-mips-elf/pic-and-nonpic-1a-micromips.s: New test
11 * testsuite/ld-mips-elf/pic-and-nonpic-1b-micromips.s: New test
13 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
15 2016-08-09 H.J. Lu <hongjiu.lu@intel.com>
18 * testsuite/lib/ld-lib.exp (check_gcc_plugin_enabled): New
20 (check_lto_available): Return 0 if check_gcc_plugin_enabled
22 (check_lto_fat_available): Likewise.
23 (check_lto_shared_available): Likewise.
25 2016-08-09 Roland McGrath <roland@hack.frob.com>
27 * emulparams/armelf.sh (GENERATE_PIE_SCRIPT): Set to yes.
29 2016-08-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
31 * emultempl/armelf.em (cmse_implib): Declare and define this new
33 (arm_elf_create_output_section_statements): Add new cmse_implib
35 (OPTION_CMSE_IMPLIB): Define macro.
36 (PARSE_AND_LIST_LONGOPTS): Add entry for new --cmse-implib switch.
37 (PARSE_AND_LIST_OPTIONS): Likewise.
38 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_CMSE_IMPLIB case.
39 * ld.texinfo (--cmse-implib): Document new option.
40 * testsuite/ld-arm/arm-elf.exp
41 (Secure gateway import library generation): New test.
42 (Secure gateway import library generation: errors): Likewise.
43 * testsuite/ld-arm/cmse-implib.s: New file.
44 * testsuite/ld-arm/cmse-implib-errors.out: Likewise.
45 * testsuite/ld-arm/cmse-implib.rd: Likewise.
47 2016-08-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
49 * ld.texinfo (Placement of SG veneers): New concept entry.
50 * testsuite/ld-arm/arm-elf.exp
51 (Secure gateway veneers: no .gnu.sgstubs section): New test.
52 (Secure gateway veneers: wrong entry functions): Likewise.
53 (Secure gateway veneers (ARMv8-M Baseline)): Likewise.
54 (Secure gateway veneers (ARMv8-M Mainline)): Likewise.
55 * testsuite/ld-arm/cmse-veneers.s: New file.
56 * testsuite/ld-arm/cmse-veneers.d: Likewise.
57 * testsuite/ld-arm/cmse-veneers.rd: Likewise.
58 * testsuite/ld-arm/cmse-veneers.sd: Likewise.
59 * testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out: Likewise.
60 * testsuite/ld-arm/cmse-veneers-wrong-entryfct.out: Likewise.
62 2016-08-02 Nick Clifton <nickc@redhat.com>
65 * emulparams/shelf.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): Define with
67 * emulparams/shelf32.sh: Likewise.
68 * emulparams/shelf32.sh: Likewise.
69 * emulparams/shelf_nto.sh: Likewise.
70 * emulparams/shelf_nto.sh: Likewise.
71 * emulparams/shelf_vxworks.sh: Likewise.
72 * emulparams/shelf_vxworks.sh: Likewise.
73 * emulparams/shlelf32_linux.sh: Likewise.
74 * emulparams/shlelf32_linux.sh: Likewise.
75 * emulparams/shlelf_linux.sh: Likewise.
76 * emulparams/shlelf_linux.sh: Likewise.
77 * emulparams/shlelf_nto.sh: Likewise.
78 * emulparams/shlelf_nto.sh: Likewise.
80 2016-07-27 Maciej W. Rozycki <macro@imgtec.com>
82 * testsuite/ld-mips-elf/micromips-branch-absolute.d: Update
83 patterns for branch compaction.
84 * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d:
87 2016-07-27 Nick Clifton <nickc@redhat.com>
89 * testsuite/ld-gc/personality.d: Use "target cfi" to restrict the
90 test to targets which support cfi.
92 2016-07-27 Igor Kudrin <ikudrin@accesssoftek.com>
94 * ldbuildid.c (generate_build_id): Warning fix.
96 2016-07-26 Maciej W. Rozycki <macro@imgtec.com>
98 * testsuite/ld-mips-elf/compressed-plt-1.s: Add branch support.
99 * testsuite/ld-mips-elf/compressed-plt-1a.s: Likewise.
100 * testsuite/ld-mips-elf/compressed-plt-1b.s: Likewise.
101 * testsuite/ld-mips-elf/compressed-plt-1-o32-branch.od: New
103 * testsuite/ld-mips-elf/compressed-plt-1-o32-branch.rd: New
105 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-bronly.od:
107 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-bronly.rd:
109 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-branch.od:
111 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-branch.rd:
113 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-bronly.od:
115 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-bronly.rd:
117 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-branch.od:
119 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-branch.rd:
121 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
123 2016-07-26 Igor Kudrin <ikudrin@accesssoftek.com>
125 * ldbuildid.c: Changes for MinGW32:
126 Include windows.h and rpcdce.h.
127 (validate_build_id_style): Allow "uuid" style.
128 (generate_build_id): Fill in id_bits using UuidCreate().
130 2016-07-25 Alan Modra <amodra@gmail.com>
132 * testsuite/ld-elf/sec64k.exp: Run test for arc, msp430, or1k
133 and m32r. Correct comment. Relax ld -r match to account for
134 msp increased number of default sections.
136 2016-07-22 Cupertino Miranda <cmiranda@synopsys.com>
138 * testsuite/ld-arc/got-01.d: New file.
139 * testsuite/ld-arc/got-01.s: New file.
141 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
143 * configure: Regenerated.
145 2016-07-21 Alan Modra <amodra@gmail.com>
147 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Replace
148 "targets_to_xfail" parameter with "args".
149 * testsuite/ld-elf/compress.exp: Remove empty list of xfails on
150 all calls to run_ld_link_exec_tests.
151 * testsuite/ld-elf/dwarf.exp: Likewise.
152 * testsuite/ld-elf/indirect.exp: Likewise.
153 * testsuite/ld-elf/wrap.exp: Likewise.
154 * testsuite/ld-i386/i386.exp: Likewise.
155 * testsuite/ld-i386/no-plt.exp: Likewise.
156 * testsuite/ld-i386/tls.exp: Likewise.
157 * testsuite/ld-ifunc/ifunc.exp: Likewise.
158 * testsuite/ld-pie/pie.exp: Likewise.
159 * testsuite/ld-plugin/lto.exp: Likewise.
160 * testsuite/ld-size/size.exp: Likewise.
161 * testsuite/ld-x86-64/mpx.exp: Likewise.
162 * testsuite/ld-x86-64/no-plt.exp: Likewise.
163 * testsuite/ld-x86-64/tls.exp: Likewise.
164 * testsuite/ld-x86-64/x86-64.exp: Likewise.
165 * testsuite/ld-elf/elf.exp: Likewise. Reorder args when providing
166 xfails and simplify lists.
167 * testsuite/ld-elf/shared.exp: Likewise.
169 2016-07-21 Alan Modra <amodra@gmail.com>
171 * testsuite/lib/ld-lib.exp (run_ld_link_tests): Add optional
172 parameter to pass list of xfails.
173 * testsuite/ld-elf/elf.exp: Add xfails for implib tests. Tidy
174 implib test formatting. Don't set .data start address.
175 * testsuite/ld-elf/implib.s: Remove first .bss directive and
176 replace second one with equivalent .section directive.
177 * testsuite/ld-elf/empty-implib.out: Add expected final error.
178 * testsuite/ld-elf/implib.rd: Update.
180 2016-07-20 Alan Modra <amodra@gmail.com>
182 * ldexp.c (exp_unop, exp_binop, exp_trinop, exp_nameop): Don't
184 * testsuite/ld-elf/maxpage3b.d: Expect correct maxpagesize.
186 2016-07-19 Roland McGrath <roland@hack.frob.com>
188 * emulparams/aarch64elf.sh (GENERATE_PIE_SCRIPT): Set to yes.
189 * emulparams/aarch64elf32.sh: Likewise.
191 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
193 * testsuite/ld-mips-elf/unaligned-branch-2.d: Update error
195 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: Likewise.
196 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: Likewise.
197 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: Likewise.
198 * testsuite/ld-mips-elf/bal-jalx-addend.d: New test.
199 * testsuite/ld-mips-elf/bal-jalx-local.d: New test.
200 * testsuite/ld-mips-elf/bal-jalx-pic.d: New test.
201 * testsuite/ld-mips-elf/bal-jalx-addend-n32.d: New test.
202 * testsuite/ld-mips-elf/bal-jalx-local-n32.d: New test.
203 * testsuite/ld-mips-elf/bal-jalx-pic-n32.d: New test.
204 * testsuite/ld-mips-elf/bal-jalx-addend-n64.d: New test.
205 * testsuite/ld-mips-elf/bal-jalx-local-n64.d: New test.
206 * testsuite/ld-mips-elf/bal-jalx-pic-n64.d: New test.
207 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
208 * testsuite/ld-mips-elf/unaligned-jalx-3.d: New test.
209 * testsuite/ld-mips-elf/unaligned-jalx-addend-2.d: New test.
210 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d: New test.
211 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
212 * testsuite/ld-mips-elf/unaligned-jalx-3.s: New test source.
213 * testsuite/ld-mips-elf/unaligned-jalx-addend-2.s: New test
215 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.s: New test
217 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
219 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
221 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error message
223 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: Likewise.
224 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d:
226 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d:
228 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
229 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
230 * testsuite/ld-mips-elf/undefweak-overflow.s: Add jumps,
231 microMIPS BAL and MIPS16 instructions.
232 * testsuite/ld-mips-elf/undefweak-overflow.d: Update
234 * testsuite/ld-mips-elf/unaligned-branch-2.d: New test.
235 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: New test.
236 * testsuite/ld-mips-elf/unaligned-branch-r6-2.d: New test.
237 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: New test.
238 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: New test.
239 * testsuite/ld-mips-elf/unaligned-jump-mips16.d: New test.
240 * testsuite/ld-mips-elf/unaligned-jump-micromips.d: New test.
241 * testsuite/ld-mips-elf/unaligned-jump.d: New test.
242 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
244 2016-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
246 * plugin.c (plugin_call_claim_file): Restore the file offset after
247 an unsuccessful attempt to claim a file.
248 * testplug.c (bytes_to_read_before_claim): New global.
249 (record_read_length): New function, sets new global
250 bytes_to_read_before_claim.
251 (parse_option): Handle 'read:<NUMBER>' option.
252 (onclaim_file): Read file content before checking for claim.
253 * testsuite/ld-plugin/plugin-30.d: New file.
254 * testsuite/ld-plugin/plugin.exp: Add new test.
256 2016-07-16 Alan Modra <amodra@gmail.com>
258 * plugin.c: Don't include libbfd.h. Include plugin-api.h
260 (plugin_object_p): Use bfd_plugin_open_input.
262 2016-07-16 Alan Modra <amodra@gmail.com>
264 * ldlang.c (open_output): Replace bfd_search_for_target with
265 bfd_iterate_over_targets. Localize vars.
267 2016-07-16 Alan Modra <amodra@gmail.com>
269 * ldlang.c: Don't include libbfd.h.
270 * emultempl/nds32elf.em: Likewise.
271 * emultempl/ppc64elf.em: Likewise.
272 * emultempl/ppc32elf.em: Likewise.
274 (params): Update init.
275 (ppc_after_open_output): Use params.pagesize. Don't call bfd_log2.
276 (PARSE_AND_LIST_ARGS_CASES): Use params.pagesize.
277 * emultempl/sh64elf.em: Don't include libbfd.h.
278 (after_allocation): Use ASSERT, not BFD_ASSERT.
279 * emultempl/xtensaelf.em: Don't include libbfd.h.
280 (replace_insn_sec_with_prop_sec): Use xmalloc, not bfd_malloc.
281 * Makefile.am: Update dependencies.
282 * Makefile.in: Regenerate.
284 2016-07-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
285 Nick Clifton <nickc@redhat.com>
287 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Open import
288 library file for writing and initialize implib_bfd field of link_info
290 * emultempl/pe.em (pe_implib_filename): Remove variable declaration.
291 (OPTION_IMPLIB_FILENAME): Remove macro definition.
292 (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
293 (gld_${EMULATION_NAME}_list_options): Likewise.
294 (gld${EMULATION_NAME}_handle_option): Likewise.
295 (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
296 instead of pe_implib_filename.
297 * emultempl/pep.em (pep_implib_filename): Remove variable declaration.
298 (OPTION_IMPLIB_FILENAME): Remove enumerator.
299 (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
300 (gld_${EMULATION_NAME}_list_options): Likewise.
301 (gld${EMULATION_NAME}_handle_option): Likewise.
302 (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
303 instead of pep_implib_filename.
304 * ld.h (args_type): Declare new out_implib_filename field.
305 * ld.texinfo (--out-implib): Move documentation to arch-independent
306 part and rephrase to apply to ELF targets.
307 * ldexp.c (exp_fold_tree_1): Set ldscript_def field to 1 for symbols
308 defined in linker scripts.
309 * ldlex.h (enum option_values): Declare new OPTION_OUT_IMPLIB
311 * lexsup.c (ld_options): Add entry for new --out-implib switch.
312 (parse_args): Handle OPTION_OUT_IMPLIB case.
313 * testsuite/ld-elf/elf.exp (Generate empty import library): New test.
314 (Generate import library): Likewise.
315 * testsuite/ld-elf/implib.s: Likewise.
316 * testsuite/ld-elf/implib.rd: New file.
317 * testsuite/ld-elf/empty-implib.out: Likewise
319 2016-07-15 Nick Clifton <nickc@redhat.com>
321 * testsuite/ld-arc/arc.exp: Always run the sda-relocs test in
324 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
326 * testsuite/ld-mips-elf/mips-elf.exp: Run
327 `branch-absolute-addend', `mips16-branch-absolute',
328 `mips16-branch-absolute-addend' and
329 `micromips-branch-absolute-addend'.
331 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
333 * testsuite/ld-mips-elf/mips16-branch-absolute.d: New test.
334 * testsuite/ld-mips-elf/mips16-branch-absolute-n32.d: New test.
335 * testsuite/ld-mips-elf/mips16-branch-absolute-n64.d: New test.
336 * testsuite/ld-mips-elf/mips16-branch-absolute-addend.d: New
338 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n32.d: New
340 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n64.d: New
342 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
343 from `mips16-branch-absolute' and
344 `mips16-branch-absolute-addend', referred indirectly only.
346 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
348 * testsuite/ld-mips-elf/branch-absolute.d: New test.
349 * testsuite/ld-mips-elf/branch-absolute-n32.d: New test.
350 * testsuite/ld-mips-elf/branch-absolute-n64.d: New test.
351 * testsuite/ld-mips-elf/branch-absolute-addend.d: New test.
352 * testsuite/ld-mips-elf/branch-absolute-addend-n32.d: New test.
353 * testsuite/ld-mips-elf/branch-absolute-addend-n64.d: New test.
354 * testsuite/ld-mips-elf/micromips-branch-absolute.d: New test.
355 * testsuite/ld-mips-elf/micromips-branch-absolute-n32.d: New
357 * testsuite/ld-mips-elf/micromips-branch-absolute-n64.d: New
359 * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d: New
361 * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n32.d:
363 * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n64.d:
365 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
366 from `branch-absolute-addend' and
367 `micromips-branch-absolute-addend', referred indirectly only.
369 2016-07-14 Claudiu Zissulescu <claziss@synopsys.com>
371 * emulparams/arcelf.sh (SDATA_START_SYMBOLS): Add offset.
372 * testsuite/ld-arc/sda-relocs.dd: New file.
373 * testsuite/ld-arc/sda-relocs.ld: Likewise.
374 * testsuite/ld-arc/sda-relocs.rd: Likewise.
375 * testsuite/ld-arc/sda-relocs.s: Likewise.
376 * testsuite/ld-arc/arc.exp: Add SDA tests.
378 2016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
380 * testsuite/ld-arc/nps-1b.err: Update test to handle more
383 2016-07-09 Alan Modra <amodra@gmail.com>
385 * testsuite/ld-powerpc/elfv2exe.d: Update.
387 2016-07-06 James Bowman <james.bowman@ftdichip.com>
389 * scripttempl/ft32.sc (__PMSIZE): Correct __PMSIZE_.
393 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
395 * testsuite/ld-plugin/lto.exp: Add -flto to PR ld/20321 test.
397 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
399 * testsuite/ld-arm/farcall-thumb2-purecode.d: New test result.
400 * testsuite/ld-arm/farcall-thumb2-purecode.s: New test.
401 * testsuite/ld-arm/arm-elf.exp: Run it.
403 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
405 * testsuite/ld-arm/arm_noread.ld: Renamed to ...
406 testsuite/ld-arm/arm_purecode.ld: ... this, and replaced
407 all noread's by purecode.
409 2016-07-05 Jan Beulich <jbeulich@suse.com>
411 * ldexp.c (exp_fold_tree_1): Set linker_def field based on
412 assignment line number.
413 * ldlex.l (lineno): Drop initializer.
414 (<<EOF>>): Set lineno to zero after reaching top of stack.
416 2016-07-04 H.J. Lu <hongjiu.lu@intel.com>
419 * plugin.c (plugin_opt_plugin): Warn and return if plugin has
421 * testsuite/ld-plugin/lto.exp: Run PR ld/20321 test.
422 * testsuite/ld-plugin/pr20321.c: New file.
424 2016-07-04 Nick Clifton <nickc@redhat.com>
426 * scripttempl/ft32.sc (__PMSIZE_): If not defined, set to 256K.
427 (__RAMSIZE): If not defined, set to 64K.
428 (MEMORY): Set the flash region size to __PMSIZE and the ram region
431 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
433 * testsuite/ld-mips-elf/branch-misc-2.d: New test.
434 * testsuite/ld-mips-elf/mips-elf.exp: Run it.
436 2016-07-01 Thomas Preud'homme <thomas.preudhomme@arm.com>
438 * testsuite/ld-arm/arm-elf.exp (Thumb-2 BL): Assemble for ARMv7.
439 (Thumb-2 BL on ARMv6-M): New testcase.
440 * testsuite/ld-arm/thumb2-bl.d: Do not try to match testcase filename.
441 * testsuite/ld-arm/thumb2-bl.s: Do not select architecture.
443 2016-07-01 Tristan Gingold <gingold@adacore.com>
445 * NEWS: Add marker for 2.27.
447 2016-06-28 H.J. Lu <hongjiu.lu@intel.com>
449 * testsuite/ld-gc/gc.exp: Run pr20306 test.
450 * ld-gc/pr20306.c: New file.
451 * ld-gc/pr20306.d: Likewise.
453 2016-06-28 Nick Clifton <nickc@redhat.com>
455 * testsuite/ld-elf/comm-data.exp: Expect comm-data2 test to fail
457 * testsuite/ld-elf/elf.exp: Expect pr14170 and symbolic function
458 tests to fail for bfin.
459 * testsuite/ld-elf/endsym.d: Expect to fail with cr16, crx, dlx,
461 * testsuite/ld-elf/var1.d: Expect to fail with d30v, dlx, ft32 and
463 * testsuite/ld-pe/pe.exp: Expect foreign symbol test to fail for
466 2016-06-28 Nick Clifton <nickc@redhat.com>
468 * testsuite/ld-elf/merge.d: Add m68hc11 to list of targets that
469 expect to fail this test.
470 * testsuite/ld-scripts/overlay-size.d: Skip the entire test for
472 * testsuite/ld-scripts/rgn-at10.d: No longer expect this test to
474 * testsuite/ld-scripts/rgn-at11.d: Likewise.
475 * testsuite/ld-scripts/rgn-at2.d: Likewise.
476 * testsuite/ld-scripts/rgn-at6.d: Likewise.
477 * testsuite/ld-scripts/rgn-at7.d: Likewise.
478 * testsuite/ld-scripts/rgn-at8.d: Likewise.
480 2016-06-28 James Clarke <jrtc27@jrtc27.com>
482 * testsuite/ld-elf/symbolic-func.r: Allow non-zero offsets from
485 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
487 * testsuite/ld-mips-elf/attr-gnu-4-10.d: Match any UNIX OS/ABI.
488 * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise.
489 * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise.
490 * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
492 2016-06-28 Alan Modra <amodra@gmail.com>
495 * testsuite/ld-scripts/pr20302.d: Exclude *-*-*aout.
497 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
499 * testsuite/ld-mips-elf/mips16-branch-2.d: New test.
500 * testsuite/ld-mips-elf/mips16-branch-3.d: New test.
501 * testsuite/ld-mips-elf/mips16-branch-addend-2.d: New test.
502 * testsuite/ld-mips-elf/mips16-branch-addend-3.d: New test.
503 * testsuite/ld-mips-elf/mips16-branch.s: New test source.
504 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
506 2016-06-27 Nick Clifton <nickc@redhat.com>
509 * lexsup.c (set_segment_start): If resetting the start address of
510 a section, remember to generate a new script element as well.
511 * testsuite/ld-scripts/pr20302.d: New test.
512 * testsuite/ld-scripts/scripts.exp: Run the new test.
514 2016-06-24 Alan Modra <amodra@gmail.com>
516 * testsuite/ld-aarch64/aarch64-elf.exp (aarch64_choose_ilp32_emul):
517 Don't error out, always return an emulation.
519 2016-06-24 Dilyan Palauzov <dilyan.palauzov@aegee.org>
520 H.J. Lu <hongjiu.lu@intel.com>
522 * lexsup.c (elf_shlib_list_options): Check DEFAULT_LD_Z_RELRO
523 for -z relro help message.
525 2016-06-22 Maciej W. Rozycki <macro@imgtec.com>
527 * testsuite/ld-mips-elf/undefweak-overflow.d: Use wildcard
530 2016-06-22 Maciej W. Rozycki <macro@imgtec.com>
532 * testsuite/ld-mips-elf/mips-elf.exp: Uniquely identify
533 `undefweak-overflow' tests.
535 2016-06-22 H.J. Lu <hongjiu.lu@intel.com>
538 * NEWS: Mention --enable-relro.
539 * configure.ac: Add --enable-relro.
540 (DEFAULT_LD_Z_RELRO): New. Set by --enable-relro.
541 * configure.tgt (ac_default_ld_z_relro): Default it to 1 for
543 * config.in: Regenerated.
544 * configure: Likewise.
545 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
546 link_info.relro to DEFAULT_LD_Z_RELRO.
547 * testsuite/config/default.exp (ld_elf_shared_opt): New.
548 * testsuite/lib/ld-lib.exp (run_dump_test): Pass
549 $ld_elf_shared_opt to ld for ELF targets with shared object
551 (run_ld_link_tests): Likewise.
553 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
555 * testsuite/ld-mips-elf/mode-change-error-1a.s: Trigger an error
556 twice rather than once.
557 * testsuite/ld-mips-elf/mode-change-error-1.d: Adjust
558 accordingly. Remove the full stop from the end of the message.
560 2016-06-21 Graham Markall <graham.markall@embecosm.com>
562 * testsuite/ld-arc/nps-1a.d: Use -mcpu=arc700 -mnps400.
563 * testsuite/ld-arc/nps-1b.d: Likewise.
565 2016-06-20 H.J. Lu <hongjiu.lu@intel.com>
568 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
570 (lto_run_tests): Likewise.
571 * testsuite/ld-plugin/pr20267a.c: New file.
572 * testsuite/ld-plugin/pr20267b.c: Likewise.
574 2016-06-20 H.J. Lu <hongjiu.lu@intel.com>
575 Alan Modra <amodra@gmail.com>
578 * plugin.c (plugin_notice): Set non_ir_ref on common symbols.
579 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
581 (lto_run_tests): Likewise.
582 * testsuite/ld-plugin/pass.out: New file.
583 * testsuite/ld-plugin/pr20276a.c: Likewise.
584 * testsuite/ld-plugin/pr20276b.c: Likewise.
586 2016-06-18 H.J. Lu <hongjiu.lu@intel.com>
588 * plugin.c (plugin_object_p): Replace bfd_plugin_uknown
589 with bfd_plugin_unknown.
591 2016-06-18 H.J. Lu <hongjiu.lu@intel.com>
594 * testsuite/ld-i386/i386.exp: Run PR ld/20253 tests.
595 * testsuite/ld-i386/no-plt.exp: Likewise.
596 * testsuite/ld-x86-64/no-plt.exp: Likewise.
597 * testsuite/ld-i386/pr13302.d: Remove .rel.plt section.
598 * testsuite/ld-ifunc/ifunc-13-i386.d: Likewise.
599 * testsuite/ld-ifunc/ifunc-13-x86-64.d: Likewise.
600 * testsuite/ld-ifunc/ifunc-15-i386.d: Likewise.
601 * testsuite/ld-ifunc/ifunc-15-x86-64.d: Likewise.
602 * testsuite/ld-x86-64/pr13082-5a.d: Likewise.
603 * testsuite/ld-x86-64/pr13082-5b.d: Likewise.
604 * testsuite/ld-x86-64/pr13082-6a.d: Likewise.
605 * testsuite/ld-x86-64/pr13082-6b.d: Likewise.
606 * testsuite/ld-i386/pr20244-2a.d: Remove .plt section.
607 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
608 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
609 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
610 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
611 * testsuite/ld-i386/pr20244-2b.d: Updated.
612 * testsuite/ld-i386/pr20244-2c.d: Likewise.
613 * testsuite/ld-ifunc/ifunc-18a-i386.d: Likewise.
614 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
615 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
616 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
617 * testsuite/ld-i386/pr20253-1a.c: New file.
618 * testsuite/ld-i386/pr20253-1b.S: Likewise.
619 * testsuite/ld-i386/pr20253-1c.S: Likewise.
620 * testsuite/ld-i386/pr20253-1d.S: Likewise.
621 * testsuite/ld-i386/pr20253-2a.c: Likewise.
622 * testsuite/ld-i386/pr20253-2b.S: Likewise.
623 * testsuite/ld-i386/pr20253-2c.S: Likewise.
624 * testsuite/ld-i386/pr20253-2d.S: Likewise.
625 * testsuite/ld-i386/pr20253-3.d: Likewise.
626 * testsuite/ld-i386/pr20253-3.s: Likewise.
627 * testsuite/ld-i386/pr20253-4.s: Likewise.
628 * testsuite/ld-i386/pr20253-4a.d: Likewise.
629 * testsuite/ld-i386/pr20253-4b.d: Likewise.
630 * testsuite/ld-i386/pr20253-4c.d: Likewise.
631 * testsuite/ld-i386/pr20253-5.d: Likewise.
632 * testsuite/ld-i386/pr20253-5.s: Likewise.
633 * testsuite/ld-ifunc/ifunc-23-x86.s: Likewise.
634 * testsuite/ld-ifunc/ifunc-23a-x86.d: Likewise.
635 * testsuite/ld-ifunc/ifunc-23b-x86.d: Likewise.
636 * testsuite/ld-ifunc/ifunc-23c-x86.d: Likewise.
637 * testsuite/ld-ifunc/ifunc-24-x86.s: Likewise.
638 * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise.
639 * testsuite/ld-ifunc/ifunc-24b-x86.d: Likewise.
640 * testsuite/ld-ifunc/ifunc-24c-x86.d: Likewise.
641 * testsuite/ld-ifunc/ifunc-25-x86.s: Likewise.
642 * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
643 * testsuite/ld-ifunc/ifunc-25b-x86.d: Likewise.
644 * testsuite/ld-ifunc/ifunc-25c-x86.d: Likewise.
645 * testsuite/ld-x86-64/pr20253-1.s: Likewise.
646 * testsuite/ld-x86-64/pr20253-1a.d: Likewise.
647 * testsuite/ld-x86-64/pr20253-1b.d: Likewise.
648 * testsuite/ld-x86-64/pr20253-1c.d: Likewise.
649 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
650 * testsuite/ld-x86-64/pr20253-1e.d: Likewise.
651 * testsuite/ld-x86-64/pr20253-1f.d: Likewise.
652 * testsuite/ld-x86-64/pr20253-1g.d: Likewise.
653 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
654 * testsuite/ld-x86-64/pr20253-1i.d: Likewise.
655 * testsuite/ld-x86-64/pr20253-1j.d: Likewise.
656 * testsuite/ld-x86-64/pr20253-1k.d: Likewise.
657 * testsuite/ld-x86-64/pr20253-1l.d: Likewise.
658 * testsuite/ld-x86-64/pr20253-2a.c: Likewise.
659 * testsuite/ld-x86-64/pr20253-2b.S: Likewise.
660 * testsuite/ld-x86-64/pr20253-2c.S: Likewise.
661 * testsuite/ld-x86-64/pr20253-2d.S: Likewise.
662 * testsuite/ld-x86-64/pr20253-3.d: Likewise.
663 * testsuite/ld-x86-64/pr20253-3.s: Likewise.
664 * testsuite/ld-x86-64/pr20253-4.s: Likewise.
665 * testsuite/ld-x86-64/pr20253-4a.d: Likewise.
666 * testsuite/ld-x86-64/pr20253-4b.d: Likewise.
667 * testsuite/ld-x86-64/pr20253-4c.d: Likewise.
668 * testsuite/ld-x86-64/pr20253-4d.d: Likewise.
669 * testsuite/ld-x86-64/pr20253-4e.d: Likewise.
670 * testsuite/ld-x86-64/pr20253-4f.d: Likewise.
671 * testsuite/ld-x86-64/pr20253-5.s: Likewise.
672 * testsuite/ld-x86-64/pr20253-5a.d: Likewise.
673 * testsuite/ld-x86-64/pr20253-5b.d: Likewise.
674 * testsuite/ld-ifunc/ifunc-18a-i386.d: Remove extra IRELATIVE
676 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
677 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
678 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
679 * testsuite/ld-ifunc/ifunc-18a.s: Fix a typo.
680 * testsuite/ld-x86-64/x86-64.exp: Run pr20253-1 tests.
682 2016-06-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
683 Tony Wang <tony.wang@arm.com>
685 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall M profile):
686 Assemble for ARMv6-M.
687 (Thumb2-Thumb2 farcall M profile): New testcase.
688 * testsuite/ld-arm/farcall-thumb2-thumb2-m.d: New file.
689 * testsuite/ld-arm/jump-reloc-veneers-cond-long-backward.d: Update to
690 reflect the use of Thumb-2 veneers for Thumb-2 capable targets.
691 * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Likewise.
693 2016-06-16 H.J. Lu <hongjiu.lu@intel.com>
695 * testsuite/ld-i386/i386.exp: Run pr19636-2e-nacl.
696 * testsuite/ld-i386/pr19636-2e.d: Skip for NaCl targets.
697 Remove .rel.plt section.
698 * testsuite/ld-i386/pr19636-2e-nacl.d: New file.
700 2016-06-15 H.J. Lu <hongjiu.lu@intel.com>
702 * testsuite/ld-i386/no-plt-check1a.S (check): Test static
704 * testsuite/ld-i386/no-plt-check1b.S (check): Likewise.
705 * testsuite/ld-x86-64/no-plt-check1.S (check): Likewise.
706 * testsuite/ld-i386/no-plt-extern1a.S (func_p): New. Static
708 * testsuite/ld-i386/no-plt-extern1b.S (func_p): Likewise.
709 * testsuite/ld-x86-64/no-plt-extern1.S (func_p): Likewise.
710 * testsuite/ld-i386/no-plt-1a.dd: Updated.
711 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
712 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
713 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
714 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
715 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
716 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
717 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
718 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
719 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
720 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
721 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
722 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
723 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
724 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
725 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
726 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
728 2016-06-14 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
731 * testsuite/ld-avr/avr-prop-6.d: New test.
732 * testsuite/ld-avr/avr-prop-6.s: New test.
734 2016-06-14 Alan Modra <amodra@gmail.com>
736 * ldbuildid.c: Formatting.
737 * ldcref.c: Formatting.
738 * ldctor.c: Formatting.
739 * ldemul.c: Formatting.
740 * ldexp.c: Formatting.
741 * ldfile.c: Formatting.
742 * ldlang.c: Formatting.
743 * ldmain.c: Formatting.
744 * ldwrite.c: Formatting.
746 2016-06-14 Alan Modra <amodra@gmail.com>
748 * ldlang.c: Expand uses of bfd_my_archive.
749 * ldmain.c: Likewise.
750 * ldmisc.c: Likewise.
751 * plugin.c: Likewise.
753 2016-06-14 Alan Modra <amodra@gmail.com>
756 * ldmain.c (add_archive_element): Just print file name of file within
758 * ldmisc.c (vfinfo): Likewise.
759 * plugin.c (plugin_object_p): Open file within thin archives.
760 (plugin_maybe_claim): Expand comment.
762 2016-06-13 H.J. Lu <hongjiu.lu@intel.com>
765 * testsuite/ld-i386/i386.exp: Run pr20244-2a, pr20244-2b,
766 pr20244-2c and pr20244-2d.
767 * testsuite/ld-i386/no-plt.exp: Run pr20244-3a and pr20244-3b.
768 * testsuite/ld-i386/pr20244-2.s: New file.
769 * testsuite/ld-i386/pr20244-2a.d: Likewise.
770 * testsuite/ld-i386/pr20244-2b.d: Likewise.
771 * testsuite/ld-i386/pr20244-2c.d: Likewise.
772 * testsuite/ld-i386/pr20244-2d.d: Likewise.
773 * testsuite/ld-i386/pr20244-3a.c: Likewise.
774 * testsuite/ld-i386/pr20244-3b.S: Likewise.
775 * testsuite/ld-i386/pr20244-3c.S: Likewise.
776 * testsuite/ld-i386/pr20244-3d.S: Likewise.
778 2016-06-13 H.J. Lu <hongjiu.lu@intel.com>
780 * testsuite/ld-i386/i386.exp: Run ifunc-1a and ifunc-1b.
781 * testsuite/ld-i386/ifunc-1a.c: New file.
782 * testsuite/ld-i386/ifunc-1b.S: Likewise.
783 * testsuite/ld-i386/ifunc-1c.S: Likewise.
784 * testsuite/ld-i386/ifunc-1d.S: Likewise.
786 2016-06-13 Cupertino Miranda <cmiranda@synospsy.com>
788 * testsuite/ld-srec/srec.exp: Changed to XFAIL on both little and
789 big endian ARC targets.
791 2016-06-12 H.J. Lu <hongjiu.lu@intel.com>
793 * testsuite/ld-x86-64/libno-plt-1b.dd: Updated for x32.
794 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
795 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
796 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
797 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
798 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
799 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
800 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
801 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
802 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
803 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
804 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
805 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
806 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
807 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
809 2016-06-11 H.J. Lu <hongjiu.lu@intel.com>
812 * testsuite/ld-i386/i386.exp: Run pr20244-1a and pr20244-1b.
813 * testsuite/ld-i386/pr20244-1.s: New file.
814 * testsuite/ld-i386/pr20244-1a.d: Likewise.
815 * testsuite/ld-i386/pr20244-1b.d: Likewise.
816 * testsuite/ld-i386/pr20244-1c.d: Likewise.
818 2016-06-08 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
821 * testsuite/ld-avr/avr-prop-5.d: New.
822 * testsuite/ld-avr/avr-prop-5.s: New.
824 2016-06-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
826 * testsuite/ld-avr/lds-mega.d: New test.
827 * testsuite/ld-avr/lds-mega.s: New test source.
828 * testsuite/ld-avr/lds-tiny.d: New test.
829 * testsuite/ld-avr/lds-tiny.s: New test source.
831 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
833 * testsuite/ld-i386/libno-plt-1b.dd: New file.
834 * testsuite/ld-i386/libno-plt-1b.rd: Likewise.
835 * testsuite/ld-i386/no-plt-1a.dd: Likewise.
836 * testsuite/ld-i386/no-plt-1a.rd: Likewise.
837 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
838 * testsuite/ld-i386/no-plt-1b.rd: Likewise.
839 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
840 * testsuite/ld-i386/no-plt-1c.rd: Likewise.
841 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
842 * testsuite/ld-i386/no-plt-1d.rd: Likewise.
843 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
844 * testsuite/ld-i386/no-plt-1e.rd: Likewise.
845 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
846 * testsuite/ld-i386/no-plt-1f.rd: Likewise.
847 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
848 * testsuite/ld-i386/no-plt-1g.rd: Likewise.
849 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
850 * testsuite/ld-i386/no-plt-1h.rd: Likewise.
851 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
852 * testsuite/ld-i386/no-plt-1i.rd: Likewise.
853 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
854 * testsuite/ld-i386/no-plt-1j.rd: Likewise.
855 * testsuite/ld-i386/no-plt-check1a.S: Likewise.
856 * testsuite/ld-i386/no-plt-check1b.S: Likewise.
857 * testsuite/ld-i386/no-plt-extern1a.S: Likewise.
858 * testsuite/ld-i386/no-plt-extern1b.S: Likewise.
859 * testsuite/ld-i386/no-plt-func1.c: Likewise.
860 * testsuite/ld-i386/no-plt-main1.c: Likewise.
861 * testsuite/ld-i386/no-plt.exp: Likewise.
863 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
865 * testsuite/ld-x86-64/tls.exp (run_cc_link_tests): Update test
868 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
870 * testsuite/ld-i386/i386.exp: Run libtlspic2.so, tlsbin2,
871 tlsgd3, tlsld2, tlsgd4, tlspie3a, tlspie3b and tlspie3c.
872 * testsuite/ld-i386/pass.out: New file.
873 * testsuite/ld-i386/tls-def1.c: Likewise.
874 * testsuite/ld-i386/tls-gd1.S: Likewise.
875 * testsuite/ld-i386/tls-ld1.S: Likewise.
876 * testsuite/ld-i386/tls-main1.c: Likewise.
877 * testsuite/ld-i386/tls.exp: Likewise.
878 * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
879 * testsuite/ld-i386/tlsbin2.dd: Likewise.
880 * testsuite/ld-i386/tlsbin2.rd: Likewise.
881 * testsuite/ld-i386/tlsbin2.sd: Likewise.
882 * testsuite/ld-i386/tlsbin2.td: Likewise.
883 * testsuite/ld-i386/tlsbinpic2.s: Likewise.
884 * testsuite/ld-i386/tlsgd3.dd: Likewise.
885 * testsuite/ld-i386/tlsgd3.s: Likewise.
886 * testsuite/ld-i386/tlsgd4.d: Likewise.
887 * testsuite/ld-i386/tlsgd4.s: Likewise.
888 * testsuite/ld-i386/tlsld2.s: Likewise.
889 * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
890 * testsuite/ld-i386/tlspic2.dd: Likewise.
891 * testsuite/ld-i386/tlspic2.rd: Likewise.
892 * testsuite/ld-i386/tlspic2.sd: Likewise.
893 * testsuite/ld-i386/tlspic2.td: Likewise.
894 * testsuite/ld-i386/tlspic3.s: Likewise.
895 * testsuite/ld-i386/tlspie3.s: Likewise.
896 * testsuite/ld-i386/tlspie3a.d: Likewise.
897 * testsuite/ld-i386/tlspie3b.d: Likewise.
898 * testsuite/ld-i386/tlspie3c.d: Likewise.
900 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
902 * testsuite/ld-x86-64/no-plt-1a.rd: Support any relocation order.
903 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
904 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
905 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
906 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
907 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
908 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
909 * testsuite/ld-x86-64/no-plt.exp: Fix a typo.
911 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
913 * testsuite/ld-x86-64/libno-plt-1b.dd: Likewise.
914 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
915 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
916 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
917 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
918 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
919 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
920 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
921 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
922 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
923 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
924 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
925 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
926 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
927 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
928 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
929 * testsuite/ld-x86-64/no-plt-check1.S: Likewise.
930 * testsuite/ld-x86-64/no-plt.exp: Likewise.
931 * testsuite/ld-x86-64/no-plt-extern1.S: Likewise.
932 * testsuite/ld-x86-64/no-plt-func1.c: Likewise.
933 * testsuite/ld-x86-64/no-plt-main1.c: Likewise.
935 2016-06-07 Maciej W. Rozycki <macro@imgtec.com>
937 * testsuite/ld-elf/init-fini-arrays.d: Remove `ft32-*-*' xfail.
939 2016-06-07 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
941 * testsuite/ld-s390/pltoffset-1.dd: New test.
942 * testsuite/ld-s390/pltoffset-1.ld: New test.
943 * testsuite/ld-s390/pltoffset-1.s: New test.
944 * testsuite/ld-s390/s390.exp: Run new test.
946 2016-06-07 Alan Modra <amodra@gmail.com>
948 * testsuite/ld-powerpc/apuinfo1.s: Delete nop.
949 * testsuite/ld-powerpc/apuinfo-vle2.s: New.
950 * testsuite/ld-powerpc/powerpc.exp: Use apuinfo-vle2.s.
952 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
954 * testsuite/ld-x86-64/pass.out: New file.
955 * testsuite/ld-x86-64/tls-def1.c: Likewise.
956 * testsuite/ld-x86-64/tls-gd1.S: Likewise.
957 * testsuite/ld-x86-64/tls-ld1.S: Likewise.
958 * testsuite/ld-x86-64/tls-main1.c: Likewise.
959 * testsuite/ld-x86-64/tls.exp: Likewise.
960 * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
961 * testsuite/ld-x86-64/tlsbin2.dd: Likewise.
962 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
963 * testsuite/ld-x86-64/tlsbin2.sd: Likewise.
964 * testsuite/ld-x86-64/tlsbin2.td: Likewise.
965 * testsuite/ld-x86-64/tlsbinpic2.s: Likewise.
966 * testsuite/ld-x86-64/tlsgd10.dd: Likewise.
967 * testsuite/ld-x86-64/tlsgd10.s: Likewise.
968 * testsuite/ld-x86-64/tlsgd11.dd: Likewise.
969 * testsuite/ld-x86-64/tlsgd11.s: Likewise.
970 * testsuite/ld-x86-64/tlsgd12.d: Likewise.
971 * testsuite/ld-x86-64/tlsgd12.s: Likewise.
972 * testsuite/ld-x86-64/tlsgd13.d: Likewise.
973 * testsuite/ld-x86-64/tlsgd13.s: Likewise.
974 * testsuite/ld-x86-64/tlsgd14.dd: Likewise.
975 * testsuite/ld-x86-64/tlsgd14.s: Likewise.
976 * testsuite/ld-x86-64/tlsgd5c.s: Likewise.
977 * testsuite/ld-x86-64/tlsgd6c.s: Likewise.
978 * testsuite/ld-x86-64/tlsgd9.dd: Likewise.
979 * testsuite/ld-x86-64/tlsgd9.s: Likewise.
980 * testsuite/ld-x86-64/tlsld4.dd: Likewise.
981 * testsuite/ld-x86-64/tlsld4.s: Likewise.
982 * testsuite/ld-x86-64/tlsld5.dd: Likewise.
983 * testsuite/ld-x86-64/tlsld5.s: Likewise.
984 * testsuite/ld-x86-64/tlsld6.dd: Likewise.
985 * testsuite/ld-x86-64/tlsld6.s: Likewise.
986 * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
987 * testsuite/ld-x86-64/tlspic2.dd: Likewise.
988 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
989 * testsuite/ld-x86-64/tlspic2.sd: Likewise.
990 * testsuite/ld-x86-64/tlspic2.td: Likewise.
991 * testsuite/ld-x86-64/tlspic3.s: Likewise.
992 * testsuite/ld-x86-64/tlspie2.s: Likewise.
993 * testsuite/ld-x86-64/tlspie2a.d: Likewise.
994 * testsuite/ld-x86-64/tlspie2b.d: Likewise.
995 * testsuite/ld-x86-64/tlspie2c.d: Likewise.
996 * testsuite/ld-x86-64/tlsgd5.dd: Updated.
997 * testsuite/ld-x86-64/tlsgd6.dd: Likewise.
998 * testsuite/ld-x86-64/x86-64.exp: Run libtlspic2.so, tlsbin2,
999 tlsgd5b, tlsgd6b, tlsld4, tlsld5, tlsld6, tlsgd9, tlsgd10,
1000 tlsgd11, tlsgd14, tlsgd12, tlsgd13, tlspie2a, tlspie2b and
1003 2016-06-04 Christian Groessler <chris@groessler.org>
1005 * testsuite/ld-z8k/0filler.s: New file.
1006 * testsuite/ld-z8k/branch-target.s: New file.
1007 * testsuite/ld-z8k/branch-target2.s: New file.
1008 * testsuite/ld-z8k/calr-back-8001.d: New file.
1009 * testsuite/ld-z8k/calr-back-8002.d: New file.
1010 * testsuite/ld-z8k/calr-back-fail-8001.d: New file.
1011 * testsuite/ld-z8k/calr-back-fail-8002.d: New file.
1012 * testsuite/ld-z8k/calr-forw-8001.d: New file.
1013 * testsuite/ld-z8k/calr-forw-8002.d: New file.
1014 * testsuite/ld-z8k/calr-forw-fail-8001.d: New file.
1015 * testsuite/ld-z8k/calr-forw-fail-8002.d: New file.
1016 * testsuite/ld-z8k/calr-opcode.s: New file.
1017 * testsuite/ld-z8k/dbjnz-forw-8001.d: New file.
1018 * testsuite/ld-z8k/dbjnz-forw-8002.d: New file.
1019 * testsuite/ld-z8k/dbjnz-forw-fail-8001.d: New file.
1020 * testsuite/ld-z8k/dbjnz-forw-fail-8002.d: New file.
1021 * testsuite/ld-z8k/dbjnz-opcode.s: New file.
1022 * testsuite/ld-z8k/djnz-back-8001.d: New file.
1023 * testsuite/ld-z8k/djnz-back-8002.d: New file.
1024 * testsuite/ld-z8k/djnz-back-fail-8001.d: New file.
1025 * testsuite/ld-z8k/djnz-back-fail-8002.d: New file.
1026 * testsuite/ld-z8k/djnz-forw-8001.d: New file.
1027 * testsuite/ld-z8k/djnz-forw-8002.d: New file.
1028 * testsuite/ld-z8k/djnz-forw-fail-8001.d: New file.
1029 * testsuite/ld-z8k/djnz-forw-fail-8002.d: New file.
1030 * testsuite/ld-z8k/djnz-opcode.s: New file.
1031 * testsuite/ld-z8k/filler.s: New file.
1032 * testsuite/ld-z8k/jr-back-8001.d: New file.
1033 * testsuite/ld-z8k/jr-back-8002.d: New file.
1034 * testsuite/ld-z8k/jr-back-fail-8001.d: New file.
1035 * testsuite/ld-z8k/jr-back-fail-8002.d: New file.
1036 * testsuite/ld-z8k/jr-forw-8001.d: New file.
1037 * testsuite/ld-z8k/jr-forw-8002.d: New file.
1038 * testsuite/ld-z8k/jr-forw-fail-8001.d: New file.
1039 * testsuite/ld-z8k/jr-forw-fail-8002.d: New file.
1040 * testsuite/ld-z8k/jr-opcode.s: New file.
1041 * testsuite/ld-z8k/ldr-back-8001.d: New file.
1042 * testsuite/ld-z8k/ldr-back-8002.d: New file.
1043 * testsuite/ld-z8k/ldr-back-fail-8001.d: New file.
1044 * testsuite/ld-z8k/ldr-back-fail-8002.d: New file.
1045 * testsuite/ld-z8k/ldr-forw-8001.d: New file.
1046 * testsuite/ld-z8k/ldr-forw-8002.d: New file.
1047 * testsuite/ld-z8k/ldr-forw-fail-8001.d: New file.
1048 * testsuite/ld-z8k/ldr-forw-fail-8002.d: New file.
1049 * testsuite/ld-z8k/ldr-opcode.s: New file.
1050 * testsuite/ld-z8k/ldrb-forw-8001.d: New file.
1051 * testsuite/ld-z8k/ldrb-forw-8002.d: New file.
1052 * testsuite/ld-z8k/ldrb-forw-fail-8001.d: New file.
1053 * testsuite/ld-z8k/ldrb-forw-fail-8002.d: New file.
1054 * testsuite/ld-z8k/ldrb-opcode.s: New file.
1055 * testsuite/ld-z8k/ldrb-opcode2.s: New file.
1056 * testsuite/ld-z8k/other-file.s: New file.
1057 * testsuite/ld-z8k/reloc.dd: New file.
1058 * testsuite/ld-z8k/reloc.ld: New file.
1059 * testsuite/ld-z8k/relocseg.dd: New file.
1060 * testsuite/ld-z8k/relocseg.ld: New file.
1061 * testsuite/ld-z8k/relocseg1.dd: New file.
1062 * testsuite/ld-z8k/this-file.s: New file.
1063 * testsuite/ld-z8k/z8k.exp: New file.
1065 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
1067 * testsuite/ld-i386/i386.exp: Assemble gotpc1.o and pr19319b.o
1068 with -mrelax-relocations=yes.
1069 * testsuite/ld-i386/lea1a.d (as): Add -mrelax-relocations=yes.
1070 * testsuite/ld-i386/lea1b.d (as): Likewise.
1071 * testsuite/ld-i386/lea1d.d (as): Likewise.
1072 * testsuite/ld-i386/lea1e.d (as): Likewise.
1073 * testsuite/ld-i386/lea1f.d (as): Likewise.
1074 * testsuite/ld-i386/load7.d (as): Likewise.
1075 * testsuite/ld-i386/mov1b.d (as): Likewise.
1076 * testsuite/ld-i386/pr19175.d (as): Likewise.
1077 * testsuite/ld-ifunc/ifunc-13-i386.d (as): Likewise.
1078 * testsuite/ld-ifunc/ifunc-21-i386.d (as): Likewise.
1079 * testsuite/ld-ifunc/ifunc-22-i386.d (as): Likewise.
1080 * testsuite/ld-x86-64/x86-64.exp: Assemble gotpcrel1a.o,
1081 gotpcrel1b.o and gotpcrel1c.o with -mrelax-relocations=yes.
1083 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
1085 * configure.tgt: Replace -uclibc with *.
1087 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
1089 * testsuite/ld-mips-elf/unaligned-branch.d: New test.
1090 * testsuite/ld-mips-elf/unaligned-branch.s: New test source.
1091 * testsuite/ld-mips-elf/unaligned-text.s: New test source.
1092 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
1094 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
1096 * testsuite/ld-mips-elf/unaligned-syms.s: Rename to...
1097 * testsuite/ld-mips-elf/unaligned-data.s: ... this.
1098 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Adjust accordingly.
1099 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
1100 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Likewise.
1101 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
1103 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
1105 * testsuite/ld-mips-elf/jal-global-overflow-0.d: New test.
1106 * testsuite/ld-mips-elf/jal-global-overflow-1.d: New test.
1107 * testsuite/ld-mips-elf/jal-local-overflow-0.d: New test.
1108 * testsuite/ld-mips-elf/jal-local-overflow-1.d: New test.
1109 * testsuite/ld-mips-elf/jal-global-overflow.s: New test source.
1110 * testsuite/ld-mips-elf/jal-local-overflow.s: New test source.
1111 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1113 2016-05-28 Alan Modra <amodra@gmail.com>
1115 * ldmain.c (multiple_definition, multiple_common, add_to_set,
1116 constructor_callback, warning_callback, undefined_symbol,
1117 reloc_overflow, reloc_dangerous, unattached_reloc): Return void.
1118 * emultempl/elf32.em: Adjust callback calls.
1120 2016-05-27 Maciej W. Rozycki <macro@imgtec.com>
1122 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.d: New test.
1123 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: New test.
1124 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-0.d: New
1126 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d: New
1128 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-0.d: New
1130 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d: New
1132 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.s: New test
1134 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.s: New test
1136 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1138 2016-05-27 Maciej W. Rozycki <macro@imgtec.com>
1140 * testsuite/ld-mips-elf/reloc-local-overflow.d: New test.
1141 * testsuite/ld-mips-elf/reloc-local-overflow.s: Source for the
1143 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
1145 2016-05-26 Maciej W. Rozycki <macro@imgtec.com>
1147 * testsuite/ld-mips-elf/unaligned-jalx-0.d: Fold
1148 `unaligned-jalx-2' here.
1149 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: Fold
1150 `unaligned-jalx-mips16-2' here.
1151 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: Fold
1152 `unaligned-jalx-micromips-2' here.
1153 * testsuite/ld-mips-elf/unaligned-jalx-0.s: Update accordingly.
1154 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error
1156 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
1157 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
1158 * testsuite/ld-mips-elf/unaligned-jalx-2.d: Remove test.
1159 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: Remove test.
1160 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: Remove
1162 * testsuite/ld-mips-elf/unaligned-jalx-2.s: Remove test source.
1163 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Fold
1164 `unaligned-lwpc-3' here.
1165 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: Update accordingly.
1166 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Fold
1167 `unaligned-lwpc-2' here.
1168 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: Update accordingly.
1169 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: Remove test.
1170 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: Remove test source.
1171 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: Remove test.
1172 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: Remove test source.
1173 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Fold
1174 `unaligned-ldpc-4' here.
1175 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: Update accordingly.
1176 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Update error
1177 message. Fold `unaligned-ldpc-2' and `unaligned-ldpc-3' here.
1178 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: Update accordingly.
1179 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: Remove test.
1180 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: Remove test source.
1181 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: Remove test.
1182 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: Remove test source.
1183 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: Remove test.
1184 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: Remove test source.
1185 * testsuite/ld-mips-elf/mips-elf.exp: Delete removed tests.
1187 2016-05-26 Nick Clifton <nickc@redhat.com>
1190 * scripttempl/elf32msp430.sc (.bss): Provide __bssstart and
1192 * scripttempl/elf32msp430_3.sc (.bss): Likewise.
1194 2016-05-25 Maciej W. Rozycki <macro@imgtec.com>
1196 * testsuite/ld-mips-elf/unaligned-jalx-0.d: New test.
1197 * testsuite/ld-mips-elf/unaligned-jalx-1.d: New test.
1198 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
1199 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: New test.
1200 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: New test.
1201 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: New test.
1202 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: New test.
1203 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: New test.
1204 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: New test.
1205 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: New test.
1206 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: New test.
1207 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: New test.
1208 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: New test.
1209 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: New test.
1210 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: New test.
1211 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: New test.
1212 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: New test.
1213 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: New test.
1214 * testsuite/ld-mips-elf/unaligned-jalx-0.s: New test source.
1215 * testsuite/ld-mips-elf/unaligned-jalx-1.s: New test source.
1216 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
1217 * testsuite/ld-mips-elf/unaligned-insn.s: New test source.
1218 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: New test source.
1219 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: New test source.
1220 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: New test source.
1221 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: New test source.
1222 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: New test source.
1223 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: New test source.
1224 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: New test source.
1225 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: New test source.
1226 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: New test source.
1227 * testsuite/ld-mips-elf/unaligned-syms.s: New test source.
1228 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1230 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1233 * ldmain.c (add_archive_element): Don't claim new IR symbols
1234 after all IR symbols have been claimed.
1235 * plugin.c (plugin_call_claim_file): Remove no_more_claiming
1237 * testsuite/ld-plugin/lto.exp (pr20103): New proc.
1238 Run PR ld/20103 tests.
1239 * testsuite/ld-plugin/pr20103a.c: New file.
1240 * testsuite/ld-plugin/pr20103b.c: Likewise.
1241 * testsuite/ld-plugin/pr20103c.c: Likewise.
1243 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
1245 * testsuite/ld-mips-elf/jalx-local.d: New test.
1246 * testsuite/ld-mips-elf/jalx-local-n32.d: New test.
1247 * testsuite/ld-mips-elf/jalx-local-n64.d: New test.
1248 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1250 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
1252 * Makefile.am: Add earmelf_phoenix.c.
1253 * Makefile.in: Regenerate.
1254 * configure.tgt: Add entry for arm-phoenix.
1255 * emulparams/armelf_phoenix.sh: New file.
1257 2016-05-23 Thomas Preud'homme <thomas.preudhomme@arm.com>
1259 * emultempl/armelf.em (arm_elf_before_allocation): Call
1260 bfd_elf32_arm_keep_private_stub_output_sections before generic
1261 before_allocation function.
1263 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
1265 * testsuite/ld-mips-elf/jalx-addend.d: New test.
1266 * testsuite/ld-mips-elf/jalx-addend-n32.d: New test.
1267 * testsuite/ld-mips-elf/jalx-addend-n64.d: New test.
1268 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1270 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
1273 * testsuite/ld-i386/i386.exp: Run pr20117.
1274 * testsuite/ld-i386/pr19609-1i.d: Updated.
1275 * testsuite/ld-i386/pr20117.d: New file.
1276 * testsuite/ld-i386/pr20117.s: Likewise.
1278 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
1280 * testsuite/ld-elf/compressed1d.d: Removed from notarget.
1281 * testsuite/ld-elf/group8a.d: Likewise.
1282 * testsuite/ld-elf/group8b.d: Likewise.
1283 * testsuite/ld-elf/group9a.d: Likewise.
1284 * testsuite/ld-elf/group9b.d: Likewise.
1285 * testsuite/ld-elf/pr12851.d: Likewise.
1286 * testsuite/ld-elf/pr12975.d: Likewise.
1287 * testsuite/ld-elf/pr13177.d: Likewise.
1288 * testsuite/ld-elf/pr13195.d: Likewise.
1289 * testsuite/ld-elf/pr17615.d: Likewise.
1290 * testsuite/ld-elf/eh-frame-hdr.d: Removed from xfail.
1291 * testsuite/ld-elf/group3b.d: Likewise.
1292 * testsuite/ld-srec/srec.exp: Likewise.
1293 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark ARC
1295 (check_shared_lib_support): Mark ARC as supporting.
1297 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
1299 * emulparams/arcelf.sh: Changed.
1300 * emulparams/arclinux.sh: Likewise.
1301 * scripttempl/arclinux.sc: Moved to a more standard implementation
1304 2016-05-19 Maciej W. Rozycki <macro@imgtec.com>
1306 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Reorder
1307 `ft32-*-*' behind `frv-*-*'.
1309 2016-05-19 Maciej W. Rozycki <macro@imgtec.com>
1311 * configure.tgt: Remove `am34-*-linux*' support.
1313 2016-05-19 Alan Modra <amodra@gmail.com>
1315 * testsuite/ld-scripts/crossref.exp: Remove -mcall-aixdesc hack.
1316 * testsuite/ld-scripts/cross2.t: Tweak .opd and .toc placement.
1317 * testsuite/ld-scripts/cross3.t: Likewise.
1318 * testsuite/ld-scripts/cross4.t: Likewise.
1319 * testsuite/ld-scripts/cross5.t: Likewise.
1320 * testsuite/ld-scripts/cross6.t: Likewise.
1321 * testsuite/ld-scripts/cross7.t: Likewise.
1323 2016-05-19 Alan Modra <amodra@gmail.com>
1325 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Pass in
1326 exe name rather than constructing testname. Fix typo in
1327 sub-test name. Log copying. Use -rpath rather than -R.
1329 2016-05-18 Nick Clifton <nickc@redhat.com>
1331 * scripttempl/ft32.sc: Use fixed constants for memory region
1332 lengths. Include DWARF debug sections.
1333 (.data .bss): Do not assign locations during relocatable links.
1334 * testsuite/ld-elf/compressed1d.d: Skip for FT32.
1335 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
1336 * testsuite/ld-elf/sec64k.exp: Likewise.
1337 * testsuite/ld-elf/init-fini-array.d: XFail for FT32.
1338 * testsuite/ld-elf/merge.d: Likewise.
1339 * testsuite/ld-elf/orphan-region.d: Likewise.
1340 * testsuite/ld-elf/orphan.s: Likewise.
1341 * testsuite/ld-elf/orphan3.d: Likewise.
1342 * testsuite/ld-elf/pr349.d: Likewise.
1343 * testsuite/ld-elf/warn2.d: Likewise.
1344 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Note
1345 that the FT32 does not support shared libraries.
1347 2016-05-17 H.J. Lu <hongjiu.lu@intel.com>
1349 * testsuite/lib/ld-lib.exp (at_least_gcc_version): Check
1352 2016-05-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1354 * scripttempl/avr.sc (text): Place .progmem.data from avr-libc
1356 * scripttempl/avrtiny.sc (text): Likewise.
1358 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
1360 * testsuite/ld-unique/unique.exp: Use `is_elf_format' and
1361 `supports_gnu_unique' to qualify testing.
1363 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
1365 * testsuite/ld-elf/flags1.d: Update the xfail list.
1367 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
1369 * testsuite/ld-elf/flags1.d: Update for `*-*-nacl*' xfail
1372 2016-05-14 H.J. Lu <hongjiu.lu@intel.com>
1375 * testplug2.c (onall_symbols_read): Remove redundant sizeof
1376 on EXPECTED_VIEW_LENGTH.
1377 * testplug4.c (onall_symbols_read): Likewise.
1379 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
1382 * testsuite/ld-x86-64/pr20093-1.d: New file.
1383 * testsuite/ld-x86-64/pr20093-1.s: Likewise.
1384 * testsuite/ld-x86-64/pr20093-2.d: Likewise.
1385 * testsuite/ld-x86-64/pr20093-2.s: Likewise.
1386 * testsuite/ld-x86-64/x86-64.exp: Run pr20093-1 and pr20093-2.
1388 2016-05-13 Alan Modra <amodra@gmail.com>
1390 * testsuite/ld-arm/arm-elf.exp: Adjust for arm-no-rel-plt now passing.
1391 Use different output file name for static app without .rel.plt.
1392 * testsuite/ld-arm/arm-no-rel-plt.ld: Align .rel.dyn and .rela.dyn.
1393 * testsuite/ld-arm/arm-no-rel-plt.out: Delete.
1394 * testsuite/ld-arm/arm-no-rel-plt.r: New.
1395 * testsuite/ld-arm/arm-static-app.d: Don't check file name.
1396 * testsuite/ld-arm/arm-static-app.r: Likewise.
1398 2016-05-12 H.J. Lu <hongjiu.lu@intel.com>
1401 * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug4.la.
1402 (libldtestplug4_la_SOURCES): New.
1403 (libldtestplug4_la_CFLAGS): Likewise.
1404 (libldtestplug4_la_LDFLAGS): Likewise.
1405 * Makefile.in: Regenerated.
1406 * plugin.c (get_symbols): Return resolution based on IR symbol
1407 kinds for symbols defined/referenced only within IR.
1408 * testplug4.c: New file.
1409 * ld/testsuite/ld-plugin/pr20070.d: Likewise.
1410 * ld/testsuite/ld-plugin/pr20070a.c: Likewise.
1411 * ld/testsuite/ld-plugin/pr20070b.c: Likewise.
1412 * testsuite/ld-plugin/plugin.exp (plugin4_name): New.
1413 (plugin4_path): Likewise.
1414 Add a test for ld/20070.
1416 2016-05-11 Alan Modra <amodra@gmail.com>
1418 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
1419 Call elf32_hppa_init_stub_bfd.
1421 2016-05-11 Alan Modra <amodra@gmail.com>
1424 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
1425 * testsuite/ld-powerpc/tlsdll.s: New.
1426 * testsuite/ld-powerpc/tlsdll.ver: New.
1427 * testsuite/ld-powerpc/tlsdll_32.s: New.
1428 * testsuite/ld-powerpc/tlsopt5.d: New.
1429 * testsuite/ld-powerpc/tlsopt5.s: New.
1430 * testsuite/ld-powerpc/tlsopt5_32.d: New.
1431 * testsuite/ld-powerpc/tlsopt5_32.s: New.
1433 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1435 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Use
1436 ARM_GET_SYM_BRANCH_TYPE to get branch type of a symbol.
1438 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1440 * emultempl/armelf.em (elf32_arm_add_stub_section): Add output_section
1441 parameter and rename input_section parameter to after_input_section.
1442 Append input stub section to the output section if after_input_section
1445 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1447 * testsuite/ld-arm/arm-elf.exp (EABI attribute merging 10 (DSP)): New
1449 * testsuite/ld-arm/attr-merge-10b-dsp.s: New file.
1450 * testsuite/ld-arm/attr-merge-10-dsp.attr: Likewise.
1452 2016-05-10 Christophe Lyon <christophe.lyon@linaro.org>
1454 * ld/testsuite/ld-elf/flags1.d (xfail): Remove *-*-nacl*".
1456 2016-05-09 Christophe Monat <christophe.monat@st.com>
1459 * testsuite/ld-arm/arm-elf.exp: Run new stm32l4xx-fix-vldm-dp
1460 tests. Fix misnamed stm32l4xx-fix-all.
1461 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.s: New tests for multiple
1462 loads with DP registers.
1463 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.d: New reference file.
1464 * testsuite/ld-arm/stm32l4xx-fix-vldm.s: Add missing comment.
1465 * testsuite/ld-arm/stm32l4xx-fix-all.s: Add tests for multiple
1466 loads with DP registers.
1467 * testsuite/ld-arm/stm32l4xx-fix-all.d: Update reference.
1469 2016-05-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
1471 * testsuite/ld-elf/flags1.d (readelf): Dump section header instead
1473 (xfail): Remove avr-*-*.
1474 Update regex to check the section flags.
1475 * testsuite/ld-elf/merge.d (xfail): Remove avr-*-*.
1477 2016-05-09 Alan Modra <amodra@gmail.com>
1479 * Makefile.am (ealphavms.c, eelf64_ia64_vms): Correct .em deps.
1480 * Makefile.in: Regenerate.
1482 2016-05-09 Alan Modra <amodra@gmail.com>
1484 * testsuite/ld-scripts/pr14962-2.t: Match .text, not *.text.
1485 * testsuite/ld-scripts/rgn-at5.t: Similarly, .sec not *.sec.
1486 * testsuite/ld-scripts/section-match-1.t: Likewise.
1488 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
1491 * testsuite/ld-elf/pr17550-1.s: New file.
1492 * testsuite/ld-elf/pr17550-2.s: Likewise.
1493 * testsuite/ld-elf/pr17550-3.s: Likewise.
1494 * testsuite/ld-elf/pr17550-4.s: Likewise.
1495 * testsuite/ld-elf/pr17550a.d: Likewise.
1496 * testsuite/ld-elf/pr17550b.d: Likewise.
1497 * testsuite/ld-elf/pr17550c.d: Likewise.
1498 * testsuite/ld-elf/pr17550d.d: Likewise.
1500 2016-05-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1502 * ld/testsuite/ld-srec/srec.exp: Mark test as XFAIL for AVR.
1504 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
1506 * testsuite/ld-i386/i386.exp: Run load7.
1507 * testsuite/ld-i386/load7.d: New file.
1508 * testsuite/ld-i386/load7.map: Likewise.
1509 * testsuite/ld-i386/load7.s: Likewise.
1510 * testsuite/ld-x86-64/load2.d: Likewise.
1511 * testsuite/ld-x86-64/load2.map: Likewise.
1512 * testsuite/ld-x86-64/load2.s: Likewise.
1513 * testsuite/ld-x86-64/x86-64.exp: Run load2.
1515 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
1517 * emulparams/elf_iamcu.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): New.
1518 * emulparams/elf_k1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1520 * emulparams/elf_l1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1523 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
1525 * testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld.
1527 2016-05-04 H.J. Lu <hongjiu.lu@intel.com>
1529 * ldlang.c (init_os): Pass %E to einfo when bfd_section == NULL.
1531 2016-05-04 Maciej W. Rozycki <macro@imgtec.com>
1533 * testsuite/ld-unique/unique.d: New test.
1534 * testsuite/ld-unique/unique.exp: Run the new test. Adjust
1535 messages for compiled tests.
1537 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1539 * testsuite/ld-elf/pr18735.d: Allow other symbols.
1540 * testsuite/ld-elf/sec64k.exp: Skip 64ksec for avr.
1541 * testsuite/ld-gc/pr14265.d: Allow other symbols.
1542 * testsuite/ld-plugin/plugin.exp: Add PR ld/17973 to
1543 plugin_tests only if check_shared_lib_support is true.
1544 * testsuite/ld-selective/selective.exp: Add --section-start
1547 2016-05-03 Maciej W. Rozycki <macro@imgtec.com>
1550 * testsuite/ld-unique/unique.exp: Also run for `mips*-*-*'.
1552 2016-05-03 Jiong Wang <jiong.wang@arm.com>
1554 * emultempl/aarch64elf.em (--no-apply-dynamic-relocs): New option.
1555 * NEWS: Mention --no-apply-dynamic-relocs.
1556 * ld.texinfo (ld and the ARM family): Document
1557 --no-apply-dynamic-relocs.
1558 * testsuite/ld-aarch64/rela-abs-relative.s: New test source.
1559 * testsuite/ld-aarch64/rela-abs-relative.d: New expected result.
1560 * testsuite/ld-aarch64/rela-abs-relative-be.d: Likewise for big-endian.
1561 * estsuite/ld-aarch64/rela-abs-relative-opt.d: Likewise, but enable new
1564 2016-05-03 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1566 * testsuite/ld-elfcomm/elfcomm.exp: Check for shared lib support
1567 before running STT_COMMON tests.
1569 2016-04-29 H.J. Lu <hongjiu.lu@intel.com>
1571 * config/default.exp (NOPIE_CFLAGS): Download source only on
1573 (NOPIE_LDFLAGS): Likewise.
1574 * testsuite/lib/ld-lib.exp (check_lto_available): Likewise.
1575 (check_lto_fat_available): Likewise.
1576 (check_lto_shared_available): Likewise.
1577 (check_ifunc_available): Likewise.
1578 (check_ifunc_attribute_available): Likewise.
1580 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
1582 * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.
1584 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
1587 * testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
1588 (visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
1591 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
1593 * testsuite/ld-elf/compressed1b.d: Pass
1594 --compress-debug-sections=none to ld.
1595 * testsuite/ld-elf/compressed1c.d: Likewise.
1597 2016-04-27 Alan Modra <amodra@gmail.com>
1600 * configure.tgt: Don't use var+=.
1602 2016-04-25 Nick Clifton <nickc@redhat.com>
1605 * configure.tgt: Include big endian PPC64 emulations with little
1606 endian PPC64 targets.
1608 2016-04-25 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1610 * scripttempl/avrtiny.sc (.text): Do not set LMA to zero.
1612 2016-04-21 H.J. Lu <hongjiu.lu@intel.com>
1614 * testsuite/lib/ld-lib.exp (check_lto_available): Return 1 on
1615 Linux with GCC 4.9 or newer.
1616 (check_lto_fat_available): Likewise.
1617 (check_lto_shared_available): Likewise.
1619 2016-04-21 Nick Clifton <nickc@redhat.com>
1621 * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in
1622 prefernce to _bfd_elf_link_check_relocs. Drop test for ELF
1623 targets. Do not stop the checks when problems are encountered.
1625 2016-04-21 Alan Modra <amodra@gmail.com>
1627 * testsuite/ld-scripts/cross3.t: Add commonly used data
1628 and text section names to output section statements.
1629 * testsuite/ld-scripts/cross4.t: Likewise.
1630 * testsuite/ld-scripts/cross5.t: Likewise.
1631 * testsuite/ld-scripts/cross6.t: Likewise.
1632 * testsuite/ld-scripts/cross7.t: Likewise.
1634 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1636 * ldlang.c (lang_check_relocs): New function.
1637 (lang_process): Call lang_check_relocs after lang_gc_sections.
1638 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
1639 call _bfd_elf_link_check_relocs here.
1641 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1644 * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for
1645 R_386_NONE or R_X86_64_NONE.
1647 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1649 * testsuite/ld-x86-64/pic1.d: New file.
1650 * testsuite/ld-x86-64/pic1.s: Likewise.
1651 * testsuite/ld-x86-64/x86-64.exp: Run pic1.
1653 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1655 * testsuite/ld-x86-64/pie2.d: New file.
1656 * testsuite/ld-x86-64/pie2.s: Likewise.
1657 * testsuite/ld-x86-64/x86-64.exp: Run pie2.
1659 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1662 * testsuite/ld-x86-64/pr19969.d: New file.
1663 * testsuite/ld-x86-64/pr19969a.S: Likewise.
1664 * testsuite/ld-x86-64/pr19969b.S: Likewise.
1665 * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests.
1667 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1669 * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1671 * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1673 * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1675 * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1677 * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1679 * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1681 * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1683 * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1685 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
1686 Set check_relocs_after_open_input to TRUE if
1687 CHECK_RELOCS_AFTER_OPEN_INPUT is yes.
1688 (gld${EMULATION_NAME}_after_open): Call
1689 _bfd_elf_link_check_relocs on all inputs if
1690 check_relocs_after_open_input is TRUE.
1692 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1694 * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
1697 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1699 * emultempl/scoreelf.em: Likewise.
1701 2016-04-19 H.J. Lu <hongjiu.lu@intel.com>
1704 * testsuite/ld-x86-64/pr19719.d: New file.
1705 * testsuite/ld-x86-64/pr19719.s: Likewise.
1706 * testsuite/ld-x86-64/x86-64.exp: Run pr19719.
1708 2016-04-18 Matthew Fortune <matthew.fortune@imgtec.com>
1710 * ld.texinfo: Document NOCROSSREFS_TO script command.
1711 * ldlang.h (struct lang_nocrossrefs): Add onlyfirst field.
1712 (lang_add_nocrossref_to): New prototype.
1713 * ldcref.c (check_local_sym_xref): Use onlyfirst to only look for
1714 symbols defined in the first section.
1715 (check_nocrossref): Likewise.
1716 * ldgram.y (NOCROSSREFS_TO): New script command.
1717 * ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE.
1718 (lang_add_nocrossref_to): New function.
1719 * ldlex.l (NOCROSSREFS_TO): New token.
1720 * NEWS: Mention NOCROSSREFS_TO.
1721 * testsuite/ld-scripts/cross4.t: New file.
1722 * testsuite/ld-scripts/cross5.t: Likewise.
1723 * testsuite/ld-scripts/cross6.t: Likewise.
1724 * testsuite/ld-scripts/cross7.t: Likewise.
1725 * testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO
1728 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
1730 * Makefile.in: Regenerated with automake 1.11.6.
1731 * aclocal.m4: Likewise.
1733 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
1735 * testsuite/ld-arc/arc.exp: New file.
1736 * testsuite/ld-arc/nps-1.s: New file.
1737 * testsuite/ld-arc/nps-1a.d: New file.
1738 * testsuite/ld-arc/nps-1b.d: New file.
1739 * testsuite/ld-arc/nps-1b.err: New file.
1741 2016-04-14 Nick Clifton <nickc@redhat.com>
1744 * testsuite/ld-scripts/script.exp (extract_symbol_test): Add
1745 exceptions for Mingw and Cygwin.
1747 2016-04-13 Andrew Burgess <andrew.burgess@embecosm.com>
1749 * testsuite/lib/ld-lib.exp (run_dump_test): Initialise
1752 2016-04-13 H.J. Lu <hongjiu.lu@intel.com>
1755 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before
1756 tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed
1759 2016-04-11 H.J. Lu <hongjiu.lu@intel.com>
1762 * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
1763 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1764 * testsuite/ld-i386/pr19939.s: New file.
1765 * testsuite/ld-i386/pr19939a.d: Likewise.
1766 * testsuite/ld-i386/pr19939b.d: Likewise.
1767 * testsuite/ld-x86-64/pr19939.s: Likewise.
1768 * testsuite/ld-x86-64/pr19939a.d: Likewise.
1769 * testsuite/ld-x86-64/pr19939b.d: Likewise.
1771 2016-04-09 Oleg Endo <olegendo@gcc.gnu.org>
1773 * emulparams/shelf.sh: Set stack area to 0x3FFFFF00.
1775 2016-04-08 Alan Modra <amodra@gmail.com>
1778 * ldlang.c (maybe_overlays): Delete.
1779 (lang_size_sections_1): Remove code setting maybe_overlays.
1780 (lang_check_section_addresses): Instead detect overlays by
1781 exact match of section VMAs here. Fix memory leak.
1783 2016-04-08 Dan Gisselquist <dgisselq@ieee.org>
1785 * ldlang.c (print_output_section_statement): Show minfo size
1786 in target machine address units.
1787 (print_reloc_statement): Likewise.
1788 (print_padding_statement): Likewise.
1789 (print_data_statement): Likewise. Ensure minimum print_dot
1790 increment of one address unit.
1792 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1794 * emulparams/arc-endianness.sh: Make little endian default choice.
1796 2016-04-07 Nick Clifton <nickc@redhat.com>
1798 * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in
1800 * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise.
1802 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
1804 * emulparams/arc-endianness.sh: New file.
1805 * emulparams/arcebelf.sh: Deleted.
1806 * emulparams/arcebelf_prof.sh: Deleted.
1807 * emulparams/arceblinux.sh: Deleted.
1808 * emulparams/arceblinux_prof.sh: Deleted.
1809 * emulparams/arcelf.sh: Include arc-endinness.sh.
1810 * emulparams/arcelf_prof.sh: Include arc-endinness.sh.
1811 * emulparams/arclinux.sh: Include arc-endinness.sh.
1812 * emulparams/arclinux_prof.sh: Include arc-endinness.sh.
1813 * emulparams/arcv2elf.sh: Include arc-endinness.sh.
1814 * emulparams/arcv2elfx.sh: Include arc-endinness.sh.
1815 * testsuite/ld-elf/compressed1d.d: Update pattern for big and
1816 little endian arc targets.
1817 * testsuite/ld-elf/eh-frame-hdr.d: Likewise.
1818 * testsuite/ld-elf/group1.d: Likewise.
1819 * testsuite/ld-elf/group3b.d: Likewise.
1820 * testsuite/ld-elf/group8a.d: Likewise.
1821 * testsuite/ld-elf/group8b.d: Likewise.
1822 * testsuite/ld-elf/group9a.d: Likewise.
1823 * testsuite/ld-elf/group9b.d: Likewise.
1824 * testsuite/ld-elf/linkonce2.d: Likewise.
1825 * testsuite/ld-elf/pr12851.d: Likewise.
1826 * testsuite/ld-elf/pr12975.d: Likewise.
1827 * testsuite/ld-elf/pr13177.d: Likewise.
1828 * testsuite/ld-elf/pr13195.d: Likewise.
1829 * testsuite/ld-elf/pr17615.d: Likewise.
1830 * testsuite/ld-elf/pr19162.d: Likewise.
1831 * testsuite/ld-elf/sec64k.exp: Likewise.
1832 * testsuite/lib/ld-lib.exp: Likewise.
1834 2016-04-05 Maciej W. Rozycki <macro@imgtec.com>
1837 * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol
1839 * testsuite/ld-cris/tls-e-20a.d: Likewise.
1840 * testsuite/ld-cris/tls-e-21.d: Likewise.
1841 * testsuite/ld-cris/tls-e-23.d: Likewise.
1842 * testsuite/ld-cris/tls-e-80.d: Likewise.
1843 * testsuite/ld-cris/tls-gd-3h.d: Likewise.
1844 * testsuite/ld-cris/tls-leie-19.d: Likewise.
1845 * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test.
1846 * testsuite/ld-mips-elf/export-hidden-ref.sd: New test.
1847 * testsuite/ld-mips-elf/export-internal-ref.sd: New test.
1848 * testsuite/ld-mips-elf/export-protected-ref.sd: New test.
1849 * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source.
1850 * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source.
1851 * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source.
1852 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1854 2016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
1856 * testsuite/ld-discard/extern.d: Removed xfail for ARC.
1857 * testsuite/ld-discard/start.d: Likewise.
1858 * testsuite/ld-discard/static.d: Likewise.
1859 * testsuite/ld-elf/group1.d: Likewise.
1860 * testsuite/ld-elf/group3b.d: Likewise.
1861 * testsuite/ld-elf/orphan-region.d: Likewise.
1862 * testsuite/ld-elf/orphan.d: Likewise.
1863 * testsuite/ld-elf/orphan3.d: Likewise.
1864 * testsuite/ld-elf/pr349.d: Likewise.
1865 * testsuite/ld-elf/warn1.d: Likewise.
1866 * testsuite/ld-elf/warn2.d: Likewise.
1867 * testsuite/ld-elf/warn3.d: Likewise.
1868 * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol
1869 through linker flags.
1870 * testsuite/ld-srec/srec.exp: Set as xfail.
1872 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
1875 * testsuite/ld-i386/pr19827-nacl.rd: New file.
1876 * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
1878 2016-04-04 Nick Clifton <nickc@redhat.com>
1881 * emultempl/pe.em (change_undef): New function. Encapsulates
1882 duplicated code in pe_fixup_stdcalls and adds the newly defined
1883 sym to the gc root list.
1884 (pe_fixup_stdcall): Use the new function.
1885 * pe-dll.c (process_def_file_and_drectve); Add alias of exported
1886 symbol to gc root list.
1888 2016-03-31 Alan Modra <amodra@gmail.com>
1890 * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.
1891 (lang_insert_orphan): Use TO_ADDR in __stop sym calculation.
1892 (print_input_section): Don't use TO_ADDR when printing section
1894 (lang_size_sections_1): Use TO_ADDR in overlay lma calculation.
1895 (lang_size_sections): Use TO_ADDR in relro end calculation.
1897 2016-03-30 Andrew Burgess <andrew.burgess@embecosm.com>
1899 * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return
1900 value from regexp_diff.
1901 * testsuite/ld-elf/orphan-5.l: Fix expected output.
1902 * testsuite/ld-elf/orphan-6.l: Likewise.
1904 2016-03-30 Alan Modra <amodra@gmail.com>
1907 * ldlang.c (maybe_overlays): New static var.
1908 (lang_size_sections_1): Set it here.
1909 (struct check_sec): New.
1910 (sort_sections_by_lma): Adjust for array of structs.
1911 (sort_sections_by_vma): New function.
1912 (lang_check_section_addresses): Check both LMA and VMA for overlap.
1913 * testsuite/ld-scripts/rgn-over7.d: Adjust.
1915 2016-03-30 Alan Modra <amodra@gmail.com>
1917 * ldlang.c (lang_size_sections_1): Correct code detecting a
1918 backward non-overlapping move.
1920 2016-03-30 Alan Modra <amodra@gmail.com>
1922 * ldlang.c (IS_TBSS): New macro, extracted from..
1923 (IGNORE_SECTION): ..here.
1924 (lang_size_sections_1): Use IS_TBSS and IGNORE_SECTION.
1925 (lang_size_sections, lang_do_assignments_1): Use IS_TBSS.
1927 2016-03-22 Nick Clifton <nickc@redhat.com>
1930 * ldlang.c (lang_add_gc_name): New function. Adds the provided
1931 symbol name to the list of gc symbols.
1932 (lang_process): Call lang_add_gc_name with entry_symbol_default if
1933 entry_symbol.name is NULL. Use lang_add_gc_name to add the init
1934 and fini function names.
1935 * pe-dll.c (process_def_file_and_drectve): Add exported names to
1937 * testsuite/ld-pe/pr19803.s: Do not export _testval symbol.
1938 * testsuite/ld-pe/pr19803.d: Tweak expected output.
1940 2016-03-22 Nick Clifton <nickc@redhat.com>
1942 * configure: Regenerate.
1944 2016-03-21 Nick Clifton <nickc@redhat.com>
1946 * emultempl/msp430.em: Replace use of alloca with call to xmalloc.
1947 * plugin.c: Likewise.
1948 * pe-dll.c: Likewise.
1950 2016-03-18 Awson <kyrab@mail.ru>
1953 * scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
1955 * scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.
1957 2016-03-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1959 * ld-avr/gc-section-debugline.d: Relax regex check for CU.
1961 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
1964 * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests.
1965 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1966 * testsuite/ld-i386/pr19827.rd: New file.
1967 * testsuite/ld-i386/pr19827a.S: Likewise.
1968 * testsuite/ld-i386/pr19827b.S: Likewise.
1969 * testsuite/ld-x86-64/pr19827.rd: Likewise.
1970 * testsuite/ld-x86-64/pr19827a.S: Likewise.
1971 * testsuite/ld-x86-64/pr19827b.S: Likewise.
1973 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
1976 * Makefile.am (ELF_X86_DEPS): Add
1977 $(srcdir)/emulparams/reloc_overflow.sh.
1978 * Makefile.in: Regenerated.
1979 * NEWS: Mention -z noreloc-overflow.
1980 * ld.texinfo: Document -z noreloc-overflow.
1981 * emulparams/elf32_x86_64.sh: Source
1982 ${srcdir}/emulparams/reloc_overflow.sh.
1983 * emulparams/elf_x86_64.sh: Likewise.
1984 * emulparams/reloc_overflow.sh: New file.
1985 * testsuite/ld-x86-64/pr19807-1.s: New file.
1986 * testsuite/ld-x86-64/pr19807-1a.d: Likewise.
1987 * testsuite/ld-x86-64/pr19807-1b.d: Likewise.
1988 * testsuite/ld-x86-64/pr19807-2.s: Likewise.
1989 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
1990 * testsuite/ld-x86-64/pr19807-2b.d: Likewise.
1991 * testsuite/ld-x86-64/pr19807-2c.d: Likewise.
1992 * testsuite/ld-x86-64/pr19807-2d.d: Likewise.
1993 * testsuite/ld-x86-64/pr19807-2e.d: Likewise.
1994 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19807 tests.
1996 2016-03-13 H.J. Lu <hongjiu.lu@intel.com>
1999 * testsuite/ld-i386/i386.exp: Run pr19539.
2000 * testsuite/ld-i386/pr19539.d: New file.
2001 * testsuite/ld-i386/pr19539.s: Likewise.
2002 * testsuite/ld-i386/pr19539.t: Likewise.
2003 * testsuite/ld-x86-64/pr19539.s: Likewise.
2004 * testsuite/ld-x86-64/pr19539.t: Likewise.
2005 * testsuite/ld-x86-64/pr19539a.d: Likewise.
2006 * testsuite/ld-x86-64/pr19539b.d: Likewise.
2007 * testsuite/ld-x86-64/x86-64.exp: Run pr19539a and pr19539b.
2009 2016-03-10 Mickael Guene <mickael.guene@st.com>
2012 * testsuite/ld-arm/arm-elf.exp: New tests.
2013 * testsuite/ld-arm/thumb1-adds-armv7-m.s: New.
2014 * testsuite/ld-arm/thumb1-movs-armv7-m.s: New.
2016 2016-03-10 Nick Clifton <nickc@redhat.com>
2018 * scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).
2020 2016-03-09 Pedro Alves <palves@redhat.com>
2022 * scripttempl/v850.sc: Use "v850:old-gcc-abi" as OUTPUT_ARCH.
2023 * scripttempl/v850_rh850.sc: Use "v850:rh850" as OUTPUT_ARCH.
2025 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
2028 * testsuite/ld-elf/pr19789.d: New file.
2029 * testsuite/ld-elf/pr19789.s: Likewise.
2031 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
2034 * testsuite/ld-i386/i386.exp: Remove pr19636-2e-nacl test.
2035 * testsuite/ld-i386/pr19636-2e-nacl.d: Moved to ...
2036 * testsuite/ld-i386/pr19636-2e.d: Here. Remove notarget.
2037 * testsuite/ld-ifunc/ifunc.exp: Run PR ld/19784 tests.
2038 * testsuite/ld-ifunc/pass.out: New file.
2039 * testsuite/ld-ifunc/pr19784a.c: Likewise.
2040 * testsuite/ld-ifunc/pr19784b.c: Likewise.
2041 * testsuite/ld-ifunc/pr19784c.c: Likewise.
2043 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
2046 * testsuite/ld-ifunc/ifunc.exp: Link tmpdir/pr18808a.o before
2047 tmpdir/libpr18808.so. Link tmpdir/pr18841a.o before
2048 tmpdir/libpr18841b.so and tmpdir/libpr18841c.so. Test
2049 --as-needed for pr18841c.
2051 2016-03-07 H.J. Lu <hongjiu.lu@intel.com>
2054 * testsuite/ld-i386/i386.exp: Link tmpdir/pr18900.o before
2055 tmpdir/pr18900.so and test --as-needed. Link tmpdir/gotpc1.o
2056 before tmpdir/got1d.so and test --as-needed.
2057 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr18900.o before
2058 tmpdir/pr18900.so and test --as-needed.
2060 2016-03-07 Jiong Wang <jiong.wang@arm.com>
2062 * testsuite/ld-aarch64/implicit_got_section_1.s: New test source file.
2063 * testsuite/ld-aarch64/implicit_got_section_1.d: New test expected
2065 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
2067 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
2069 * testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o
2070 before tmpdir/copyreloc-lib.so and test --as-needed.
2071 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2073 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
2076 * testsuite/ld-elf/pr19579a.c: New file.
2077 * testsuite/ld-elf/pr19579b.c: Likewise.
2078 * testsuite/ld-elf/shared.exp: Run PR ld/19579 test.
2080 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
2082 * testsuite/ld-elf/pr19162.d: Skip hppa-*-*.
2084 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
2086 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Add xfails.
2087 Xfail mix_pic_and_non_pic on "arm*-*-*" "aarch64*-*-*".
2089 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
2092 * emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other
2093 input sections for relocatable link.
2094 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
2095 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
2097 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
2100 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
2101 merge flags of other input sections for relocatable link.
2103 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
2105 * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6.
2107 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
2109 * testsuite/ld-elf/pr19162.d: Skip arc target.
2111 2016-02-29 H.J. Lu <hongjiu.lu@intel.com>
2114 * testsuite/ld-elf/pr19162.d: New file.
2115 * testsuite/ld-elf/pr19162a.s: Likwise.
2116 * testsuite/ld-elf/pr19162b.s: Likwise.
2118 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
2120 * testsuite/ld-elf/merge.d: Removed xfail for ARC.
2121 * testsuite/ld-elf/merge2.d: Likewise.
2122 * testsuite/ld-elf/merge3.d: Likewise.
2124 2016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
2126 * scripttempl/arclinux.sc: Force .tdata and .tbss to always be
2129 2016-02-26 Renlin Li <renlin.li@arm.com>
2131 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
2132 * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
2133 * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
2134 * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
2135 * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
2136 * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
2137 * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
2138 * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
2139 * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
2140 * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.
2142 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
2145 * testsuite/ld-i386/got1.dd: Updated.
2146 * testsuite/ld-i386/lea1c.d: Likewise.
2147 * testsuite/ld-i386/load1-nacl.d: Likewise.
2148 * testsuite/ld-i386/load1.d: Likewise.
2149 * testsuite/ld-i386/load4b.d: Likewise.
2150 * testsuite/ld-i386/load5b.d: Likewise.
2151 * testsuite/ld-i386/mov1b.d: Likewise.
2152 * testsuite/ld-x86-64/mov1b.d: Likewise.
2153 * testsuite/ld-x86-64/mov1d.d: Likewise.
2154 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
2155 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
2156 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
2157 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
2158 * testsuite/ld-x86-64/gotpcrel1.dd: Likewise.
2159 * testsuite/ld-x86-64/lea1a.d: Likewise.
2160 * testsuite/ld-x86-64/lea1b.d: Likewise.
2161 * testsuite/ld-x86-64/lea1c.d: Likewise.
2162 * testsuite/ld-x86-64/lea1d.d: Likewise.
2163 * testsuite/ld-x86-64/lea1e.d: Likewise.
2164 * testsuite/ld-x86-64/lea1f.d: Likewise.
2165 * testsuite/ld-x86-64/mov1b.d: Likewise.
2166 * testsuite/ld-x86-64/mov1d.d: Likewise.
2167 * testsuite/ld-x86-64/pr13082-3b.d: Likewise.
2168 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
2169 * testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
2170 * testsuite/ld-i386/pr19609-1.s: New file.
2171 * testsuite/ld-i386/pr19609-1a.d: Likewise.
2172 * testsuite/ld-i386/pr19609-1b.d: Likewise.
2173 * testsuite/ld-i386/pr19609-1c.d: Likewise.
2174 * testsuite/ld-i386/pr19609-1d.d: Likewise.
2175 * testsuite/ld-i386/pr19609-1e.d: Likewise.
2176 * testsuite/ld-i386/pr19609-1f.d: Likewise.
2177 * testsuite/ld-i386/pr19609-1g.d: Likewise.
2178 * testsuite/ld-i386/pr19609-1h.d: Likewise.
2179 * testsuite/ld-i386/pr19609-1i.d: Likewise.
2180 * testsuite/ld-i386/pr19609-2.s: Likewise.
2181 * testsuite/ld-i386/pr19609-2a.d: Likewise.
2182 * testsuite/ld-i386/pr19609-2b.d: Likewise.
2183 * testsuite/ld-i386/pr19609-2c.d: Likewise.
2184 * testsuite/ld-i386/undefweak.s: Likewise.
2185 * testsuite/ld-i386/undefweaka.d: Likewise.
2186 * testsuite/ld-i386/undefweakb.d: Likewise.
2187 * testsuite/ld-x86-64/pr13082-3c.d: Likewise.
2188 * testsuite/ld-x86-64/pr13082-3d.d: Likewise.
2189 * testsuite/ld-x86-64/pr19609-1.s: Likewise.
2190 * testsuite/ld-x86-64/pr19609-1a.d: Likewise.
2191 * testsuite/ld-x86-64/pr19609-1b.d: Likewise.
2192 * testsuite/ld-x86-64/pr19609-1c.d: Likewise.
2193 * testsuite/ld-x86-64/pr19609-1d.d: Likewise.
2194 * testsuite/ld-x86-64/pr19609-1e.d: Likewise.
2195 * testsuite/ld-x86-64/pr19609-1f.d: Likewise.
2196 * testsuite/ld-x86-64/pr19609-1g.d: Likewise.
2197 * testsuite/ld-x86-64/pr19609-1h.d: Likewise.
2198 * testsuite/ld-x86-64/pr19609-1i.d: Likewise.
2199 * testsuite/ld-x86-64/pr19609-1j.d: Likewise.
2200 * testsuite/ld-x86-64/pr19609-1k.d: Likewise.
2201 * testsuite/ld-x86-64/pr19609-1l.d: Likewise.
2202 * testsuite/ld-x86-64/pr19609-1m.d: Likewise.
2203 * testsuite/ld-x86-64/pr19609-2.s: Likewise.
2204 * testsuite/ld-x86-64/pr19609-2a.d: Likewise.
2205 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
2206 * testsuite/ld-x86-64/pr19609-2c.d: Likewise.
2207 * testsuite/ld-x86-64/pr19609-2d.d: Likewise.
2208 * testsuite/ld-x86-64/pr19609-3.s: Likewise.
2209 * testsuite/ld-x86-64/pr19609-3a.d: Likewise.
2210 * testsuite/ld-x86-64/pr19609-3b.d: Likewise.
2211 * testsuite/ld-x86-64/pr19609-4.s: Likewise.
2212 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
2213 * testsuite/ld-x86-64/pr19609-4b.d: Likewise.
2214 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
2215 * testsuite/ld-x86-64/pr19609-4d.d: Likewise.
2216 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
2217 * testsuite/ld-x86-64/pr19609-5.s: Likewise.
2218 * testsuite/ld-x86-64/pr19609-5a.d: Likewise.
2219 * testsuite/ld-x86-64/pr19609-5b.d: Likewise.
2220 * testsuite/ld-x86-64/pr19609-5c.d: Likewise.
2221 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
2222 * testsuite/ld-x86-64/pr19609-5e.d: Likewise.
2223 * testsuite/ld-x86-64/pr19609-6.s: Likewise.
2224 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
2225 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
2226 * testsuite/ld-x86-64/pr19609-6c.d: Likewise.
2227 * testsuite/ld-x86-64/pr19609-6d.d: Likewise.
2228 * testsuite/ld-x86-64/pr19609-7.s: Likewise.
2229 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
2230 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
2231 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
2232 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
2233 * testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
2235 * testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
2236 and tests for PR ld/19609.
2238 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
2241 * NEWS: Mention -z common/-z nocommon for ELF targets.
2242 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
2243 -z common and -z nocommon.
2244 * ld.texinfo: Document -z common/-z nocommon.
2245 * lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
2246 * testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
2247 --elf-stt-common=yes with assembler.
2248 * testsuite/ld-elfcomm/common-1.s: New file.
2249 * testsuite/ld-elfcomm/common-1a.d: Likewise.
2250 * testsuite/ld-elfcomm/common-1b.d: Likewise.
2251 * testsuite/ld-elfcomm/common-1c.d: Likewise.
2252 * testsuite/ld-elfcomm/common-1d.d: Likewise.
2253 * testsuite/ld-elfcomm/common-1e.d: Likewise.
2254 * testsuite/ld-elfcomm/common-1f.d: Likewise.
2255 * testsuite/ld-elfcomm/common-2.s: Likewise.
2256 * testsuite/ld-elfcomm/common-2a.d: Likewise.
2257 * testsuite/ld-elfcomm/common-2b.d: Likewise.
2258 * testsuite/ld-elfcomm/common-2c.d: Likewise.
2259 * testsuite/ld-elfcomm/common-2d.d: Likewise.
2260 * testsuite/ld-elfcomm/common-2e.d: Likewise.
2261 * testsuite/ld-elfcomm/common-2f.d: Likewise.
2262 * testsuite/ld-elfcomm/common-3a.rd: Likewise.
2263 * testsuite/ld-elfcomm/common-3b.rd: Likewise.
2264 * testsuite/ld-i386/pr19645.d: Likewise.
2265 * testsuite/ld-i386/pr19645.s: Likewise.
2266 * testsuite/ld-x86-64/largecomm-1.s: Likewise.
2267 * testsuite/ld-x86-64/largecomm-1a.d: Likewise.
2268 * testsuite/ld-x86-64/largecomm-1b.d: Likewise.
2269 * testsuite/ld-x86-64/largecomm-1c.d: Likewise.
2270 * testsuite/ld-x86-64/largecomm-1d.d: Likewise.
2271 * testsuite/ld-x86-64/largecomm-1e.d: Likewise.
2272 * testsuite/ld-x86-64/largecomm-1f.d: Likewise.
2273 * testsuite/ld-x86-64/pr19645.d: Likewise.
2274 * testsuite/ld-x86-64/pr19645.s: Likewise.
2275 * testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
2277 (assembler_generates_commons): Removed.
2278 Run -z common/-z nocommon tests. Run *.d tests.
2279 * testsuite/ld-i386/i386.exp: Run pr19645.
2280 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2281 * testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
2282 assembler. Test STT_COMMON with readelf.
2284 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
2289 * Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh.
2290 * Makefile.in: Regenerated.
2291 * NEWS: Mention -z nodynamic-undefined-weak.
2292 * ld.texinfo: Document -z nodynamic-undefined-weak.
2293 * ldmain.c (main): Initialize dynamic_undefined_weak to -1.
2294 * emulparams/dynamic_undefined_weak.sh: New file.
2295 * emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh.
2296 * emulparams/elf_i386.sh: Likewise.
2297 * emulparams/elf_i386_be.sh: Likewise.
2298 * emulparams/elf_i386_chaos.sh: Likewise.
2299 * emulparams/elf_i386_ldso.sh: Likewise.
2300 * emulparams/elf_i386_vxworks.sh: Likewise.
2301 * emulparams/elf_iamcu.sh: Likewise.
2302 * emulparams/elf_k1om.sh: Likewise.
2303 * emulparams/elf_l1om.sh: Likewise.
2304 * emulparams/elf_x86_64.sh: Likewise.
2305 * emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS):
2307 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
2308 * testsuite/ld-elf/pr19719a.c: New file.
2309 * testsuite/ld-elf/pr19719b.c: Likewise.
2310 * testsuite/ld-elf/pr19719c.c: Likewise.
2311 * testsuite/ld-elf/pr19719d.c: Likewise.
2312 * testsuite/ld-i386/pr19636-1.s: Likewise.
2313 * testsuite/ld-i386/pr19636-1a.d: Likewise.
2314 * testsuite/ld-i386/pr19636-1b.d: Likewise.
2315 * testsuite/ld-i386/pr19636-1c.d: Likewise.
2316 * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
2317 * testsuite/ld-i386/pr19636-1d.d: Likewise.
2318 * testsuite/ld-i386/pr19636-1e.d: Likewise.
2319 * testsuite/ld-i386/pr19636-1f.d: Likewise.
2320 * testsuite/ld-i386/pr19636-1g.d: Likewise.
2321 * testsuite/ld-i386/pr19636-1h.d: Likewise.
2322 * testsuite/ld-i386/pr19636-1i.d: Likewise.
2323 * testsuite/ld-i386/pr19636-2.s: Likewise.
2324 * testsuite/ld-i386/pr19636-2a.d: Likewise.
2325 * testsuite/ld-i386/pr19636-2b.d: Likewise.
2326 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
2327 * testsuite/ld-i386/pr19636-2c.d: Likewise.
2328 * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
2329 * testsuite/ld-i386/pr19636-2d.d: Likewise.
2330 * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
2331 * testsuite/ld-i386/pr19636-2e.d: Likewise.
2332 * testsuite/ld-i386/pr19636-3.s: Likewise.
2333 * testsuite/ld-i386/pr19636-3a.d: Likewise.
2334 * testsuite/ld-i386/pr19636-3b.d: Likewise.
2335 * testsuite/ld-i386/pr19636-3c.d: Likewise.
2336 * testsuite/ld-i386/pr19636-3d.d: Likewise.
2337 * testsuite/ld-i386/pr19636-3e.d: Likewise.
2338 * testsuite/ld-i386/pr19636-3f.d: Likewise.
2339 * testsuite/ld-i386/pr19636-3g.d: Likewise.
2340 * testsuite/ld-i386/pr19636-4.s: Likewise.
2341 * testsuite/ld-i386/pr19636-4a.d: Likewise.
2342 * testsuite/ld-i386/pr19636-4b.d: Likewise.
2343 * testsuite/ld-i386/pr19636-4c.d: Likewise.
2344 * testsuite/ld-i386/pr19636-4d.d: Likewise.
2345 * testsuite/ld-i386/pr19704.out: Likewise.
2346 * testsuite/ld-i386/pr19704a.c: Likewise.
2347 * testsuite/ld-i386/pr19704b.c: Likewise.
2348 * testsuite/ld-x86-64/pr19636-1.s: Likewise.
2349 * testsuite/ld-x86-64/pr19636-1a.d: Likewise.
2350 * testsuite/ld-x86-64/pr19636-1b.d: Likewise.
2351 * testsuite/ld-x86-64/pr19636-1c.d: Likewise.
2352 * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
2353 * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
2354 * testsuite/ld-x86-64/pr19636-1f.d: Likewise.
2355 * testsuite/ld-x86-64/pr19636-1g.d: Likewise.
2356 * testsuite/ld-x86-64/pr19636-2.s: Likewise.
2357 * testsuite/ld-x86-64/pr19636-2a.d: Likewise.
2358 * testsuite/ld-x86-64/pr19636-2b.d: Likewise.
2359 * testsuite/ld-x86-64/pr19636-2c.d: Likewise.
2360 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
2361 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
2362 * testsuite/ld-x86-64/pr19636-2e.d: Likewise.
2363 * testsuite/ld-x86-64/pr19636-2f.d: Likewise.
2364 * testsuite/ld-x86-64/pr19636-2g.d: Likewise.
2365 * testsuite/ld-x86-64/pr19636-2h.d: Likewise.
2366 * testsuite/ld-x86-64/pr19636-2i.d: Likewise.
2367 * testsuite/ld-x86-64/pr19636-3.s: Likewise.
2368 * testsuite/ld-x86-64/pr19636-3a.d: Likewise.
2369 * testsuite/ld-x86-64/pr19636-3b.d: Likewise.
2370 * testsuite/ld-x86-64/pr19636-3c.d: Likewise.
2371 * testsuite/ld-x86-64/pr19636-3d.d: Likewise.
2372 * testsuite/ld-x86-64/pr19704.out: Likewise.
2373 * testsuite/ld-x86-64/pr19704a.c: Likewise.
2374 * testsuite/ld-x86-64/pr19704b.c: Likewise.
2375 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New.
2376 Run mix_pic_and_non_pic.
2377 * testsuite/ld-i386/i386.exp (undefined_weak): New.
2378 Run undefined_weak and PR ld/19636 tests.
2379 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2380 * testsuite/ld-x86-64/pr13082-3b.d: Updated.
2381 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
2383 2016-02-25 Nick Clifton <nickc@redhat.com>
2385 * ld.h (struct ld_config_type): Remove specified_data_size field.
2387 2016-02-24 H.J. Lu <hongjiu.lu@intel.com>
2390 * testsuite/ld-elf/pr19698.d: New file.
2391 * testsuite/ld-elf/pr19698.s: Likewise.
2392 * testsuite/ld-elf/pr19698.t: Likewise.
2394 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
2396 * Makefile.am (ELF_X86_DEPS): New.
2397 (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS).
2398 (eelf_i386_chaos.c): Likewise.
2399 (eelf_i386_fbsd.c): Likewise.
2400 (eelf_i386_ldso.c): Likewise.
2401 (eelf_i386_nacl.c): Likewise.
2402 (eelf_i386_sol2.c): Likewise.
2403 (eelf_iamcu.c): Likewise.
2404 (eelf32_x86_64.c): Likewise.
2405 (eelf32_x86_64_nacl.c): Likewise.
2406 (eelf_l1om.c): Likewise.
2407 (eelf_l1om_fbsd.c): Likewise.
2408 (eelf_k1om.c): Likewise.
2409 (eelf_k1om_fbsd.c): Likewise.
2410 (eelf_x86_64.c): Likewise.
2411 (eelf_x86_64_cloudabi.c): Likewise.
2412 (eelf_x86_64_fbsd.c): Likewise.
2413 (eelf_x86_64_sol2.c): Likewise.
2414 * Makefile.in: Regenerated.
2416 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
2418 * testsuite/ld-frv/fdpic-pie-6.d: Updated.
2419 * testsuite/ld-mips-elf/pie-n32.d: Likewise.
2420 * testsuite/ld-mips-elf/pie-n64.d: Likewise.
2421 * testsuite/ld-mips-elf/pie-o32.d: Likewise.
2423 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
2425 * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
2427 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
2429 * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
2430 *-*-gnu* and *-*-solaris*.
2431 * testsuite/ld-elf/pr19617b.d: Likewise.
2432 * testsuite/ld-elf/pr19617c.d: Likewise.
2434 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
2437 * testsuite/ld-elf/pr19617.s: New file.
2438 * testsuite/ld-elf/pr19617a.d: Likewise.
2439 * testsuite/ld-elf/pr19617b.d: Likewise.
2440 * testsuite/ld-elf/pr19617c.d: Likewise.
2442 2016-02-18 Nick Clifton <nickc@redhat.com>
2444 * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
2445 in-tree xg++ executable after checking for the presence of an
2446 in-tree g++ executable.
2447 * Makefile.in: Regenerate.
2449 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
2451 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
2452 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
2453 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
2455 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
2457 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
2458 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
2459 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
2460 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
2461 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
2462 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
2463 * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
2464 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
2465 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
2466 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
2467 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
2468 * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
2469 * testsuite/ld-x86-64/load1c.d: Likewise.
2470 * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
2471 * testsuite/ld-x86-64/load1d.d: Likewise.
2472 * testsuite/ld-x86-64/pr14207.d: Likewise.
2473 * testsuite/ld-x86-64/pr19162.d: Likewise.
2474 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
2475 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
2476 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
2477 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
2478 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
2479 * testsuite/ld-x86-64/tlspic.rd: Likewise.
2481 2016-02-17 Nick Clifton <nickc@redhat.com>
2483 * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
2485 2016-02-15 Nick Clifton <nickc@redhat.com>
2487 * testsuite/ld-i386/pr12718.d: Remove dependency upon the
2488 description of the flags produced by readelf.
2489 * testsuite/ld-i386/pr12921.d: Likewise.
2490 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
2491 * testsuite/ld-i386/tlsbin.rd: Likewise.
2492 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
2493 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
2494 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
2495 * testsuite/ld-i386/tlsdesc.rd: Likewise.
2496 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
2497 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
2498 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
2499 * testsuite/ld-i386/tlsnopic.rd: Likewise.
2500 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
2501 * testsuite/ld-i386/tlspic.rd: Likewise.
2502 * testsuite/ld-s390/tlsbin.rd: Likewise.
2503 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
2504 * testsuite/ld-s390/tlspic.rd: Likewise.
2505 * testsuite/ld-s390/tlspic_64.rd: Likewise.
2506 * testsuite/ld-sh/tlsbin-2.d: Likewise.
2507 * testsuite/ld-sh/tlspic-2.d: Likewise.
2508 * testsuite/ld-tic6x/common.d: Likewise.
2509 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
2510 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
2511 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
2512 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
2513 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
2514 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
2515 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
2516 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
2517 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
2518 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
2519 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
2520 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
2521 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
2522 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
2523 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
2524 * testsuite/ld-x86-64/pr12718.d: Likewise.
2525 * testsuite/ld-x86-64/pr12921.d: Likewise.
2526 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
2527 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
2528 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
2529 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
2530 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
2531 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
2532 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
2533 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
2534 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
2535 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
2536 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
2537 * testsuite/ld-x86-64/tlspic.rd: Likewise.
2538 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
2539 * testsuite/ld-xtensa/tlspic.rd: Likewise.
2541 2016-02-11 H.J. Lu <hongjiu.lu@intel.com>
2544 * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
2546 * lexsup.c (parse_args): Enable -Bsymbolic and
2547 -Bsymbolic-functions for PIE.
2548 * testsuite/ld-i386/i386.exp: Run pr19615.
2549 * testsuite/ld-i386/pr19615.d: New file.
2550 * testsuite/ld-i386/pr19615.s: Likewise.
2551 * testsuite/ld-x86-64/pr19615.d: Likewise.
2552 * testsuite/ld-x86-64/pr19615.s: Likewise.
2554 2016-02-09 Nick Clifton <nickc@redhat.com>
2556 * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
2557 * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
2558 * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
2559 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
2561 2016-02-04 Nick Clifton <nickc@redhat.com>
2563 * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
2564 * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
2565 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
2566 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
2567 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
2568 * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
2569 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
2570 * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
2571 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
2573 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2576 * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
2577 * testsuite/ld-i386/call1.d: Likewise.
2578 * testsuite/ld-i386/call2.d: Likewise.
2579 * testsuite/ld-i386/call3a.d: Likewise.
2580 * testsuite/ld-i386/call3b.d: Likewise.
2581 * testsuite/ld-i386/call3c.d: Likewise.
2582 * testsuite/ld-i386/call3d.d: Likewise.
2583 * testsuite/ld-i386/call3e.d: Likewise.
2584 * testsuite/ld-i386/call3f.d: Likewise.
2585 * testsuite/ld-i386/call3g.d: Likewise.
2586 * testsuite/ld-i386/call3h.d: Likewise.
2587 * testsuite/ld-i386/jmp1.d: Likewise.
2588 * testsuite/ld-i386/jmp2.d: Likewise.
2589 * testsuite/ld-i386/lea1c.d: Likewise.
2590 * testsuite/ld-i386/load1.d: Likewise.
2591 * testsuite/ld-i386/load2.d: Likewise.
2592 * testsuite/ld-i386/load3.d: Likewise.
2593 * testsuite/ld-i386/load4a.d: Likewise.
2594 * testsuite/ld-i386/load5a.d: Likewise.
2595 * testsuite/ld-i386/mov2b.d: Likewise.
2596 * testsuite/ld-i386/mov3.d: Likewise.
2597 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
2598 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
2599 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
2600 * testsuite/ld-x86-64/call1a.d: Likewise.
2601 * testsuite/ld-x86-64/call1b.d: Likewise.
2602 * testsuite/ld-x86-64/call1c.d: Likewise.
2603 * testsuite/ld-x86-64/call1d.d: Likewise.
2604 * testsuite/ld-x86-64/call1e.d: Likewise.
2605 * testsuite/ld-x86-64/call1f.d: Likewise.
2606 * testsuite/ld-x86-64/call1h.d: Likewise.
2607 * testsuite/ld-x86-64/call1i.d: Likewise.
2608 * testsuite/ld-x86-64/load1a.d: Likewise.
2609 * testsuite/ld-x86-64/load1b.d: Likewise.
2610 * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
2611 * testsuite/ld-i386/got1.dd: Updated.
2612 * testsuite/ld-i386/got1d.S (1): Removed.
2613 * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
2614 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2616 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
2619 * testsuite/ld-x86-64/pr18591.d: New file.
2620 * testsuite/ld-x86-64/pr18591.s: Likewise.
2621 * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
2623 2016-02-01 H.J. Lu <hongjiu.lu@intel.com>
2626 * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
2627 * testsuite/ld-elf/pr19553.map: New file.
2628 * testsuite/ld-elf/pr19553.map: Likewise.
2629 * testsuite/ld-elf/pr19553a.c: Likewise.
2630 * testsuite/ld-elf/pr19553b.c: Likewise.
2631 * testsuite/ld-elf/pr19553b.out: Likewise.
2632 * testsuite/ld-elf/pr19553c.c: Likewise.
2633 * testsuite/ld-elf/pr19553c.out: Likewise.
2634 * testsuite/ld-elf/pr19553d.c: Likewise.
2635 * testsuite/ld-elf/pr19553d.out: Likewise.
2637 2016-01-30 H.J. Lu <hongjiu.lu@intel.com>
2640 * testsuite/ld-elf/pr19539.d: New file.
2641 * testsuite/ld-elf/pr19539.s: Likewise.
2642 * testsuite/ld-elf/pr19539.t: Likewise.
2644 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
2647 * configure.ac (compressed_debug_sections): Replace == with =.
2648 * configure: Regenerated.
2650 2016-01-22 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2652 * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
2653 * scripttempl/avrtiny.sc (.noinit): Likewise.
2655 2016-01-21 Nick Clifton <nickc@redhat.com>
2658 * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
2659 the arm-netbsdelf target.
2662 * testsuite/ld-arm/vxworks1-lib.dd: Update for current
2663 disassmebler output.
2664 * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
2665 * testsuite/ld-arm/vxworks1.dd: Likewise.
2666 * testsuite/ld-arm/vxworks1.rd: Likewise.
2667 * testsuite/ld-arm/vxworks1.ld: Set the output format.
2669 2016-01-20 Jiong Wang <jiong.wang@arm.com>
2671 * testsuite/ld-aarch64/farcall-section.d: Delete.
2672 * testsuite/ld-aarch64/farcall-section.s: Delete.
2673 * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
2674 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
2675 * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
2676 * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
2677 * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
2679 2016-01-20 Nick Clifton <nickc@redhat.com>
2682 * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
2683 early for PE based targets.
2684 * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
2685 * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
2687 2016-01-20 Mickael Guene <mickael.guene@st.com>
2689 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
2690 Add 'y' attribute usage.
2691 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
2692 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
2693 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
2695 2016-01-19 Nick Clifton <nickc@redhat.com>
2697 * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
2698 foo@FOO and bar@@FOO.
2700 2016-01-18 Alan Modra <amodra@gmail.com>
2702 * configure: Regenerate.
2704 2016-01-18 Nick Clifton <nickc@redhat.com>
2706 * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
2707 is not configured to support plugins.
2709 * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
2710 but with 16 byte section alignment.
2711 * testsuite/ld-scripts/rgn-at11.d: Use new source file. Reenable
2712 test for MIPS targets.
2714 2016-01-17 Alan Modra <amodra@gmail.com>
2716 * configure: Regenerate.
2718 2016-01-17 Alan Modra <amodra@gmail.com>
2720 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
2721 * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
2722 * testsuite/ld-elf/pr14156a.d: Likewise.
2723 * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
2724 * testsuite/ld-elf/sec64k.exp: Likewise.
2726 2016-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
2728 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
2729 Set address of .foo section when linking.
2730 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
2732 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
2733 output to the above changes.
2735 2016-01-13 Nick Clifton <nickc@redhat.com>
2737 * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
2740 * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
2741 fail for MIPS targets.
2743 * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
2746 2016-01-12 Yury Usishchev <y.usishchev@samsung.com>
2748 * testsuite/ld-arm/arm-elf.exp: New test.
2749 * testsuite/ld-arm/unwind-mix.d: New file.
2750 * testsuite/ld-arm/unwind-mix1.s: New file.
2751 * testsuite/ld-arm/unwind-mix2.s: New file.
2753 2016-01-08 Jiong Wang <jiong.wang@arm.com>
2756 * testsuite/ld-arm/ifunc-3.rd: Update expected result.
2757 * testsuite/ld-arm/ifunc-4.rd: Likewise.
2758 * testsuite/ld-arm/ifunc-9.rd: Likewise.
2759 * testsuite/ld-arm/ifunc-10.rd: Likewise.
2760 * testsuite/ld-arm/ifunc-12.rd: Likewise.
2761 * testsuite/ld-arm/ifunc-13.rd: Likewise.
2763 2016-01-05 Nick Clifton <nickc@redhat.com>
2765 * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
2766 MSP430 hardware multiply address range.
2767 * scripttempl/elf32msp430.sc (__romdatastart): Define.
2768 (__romdatacopysize): Define.
2769 * scripttempl/elf32msp430_3.sc: Likewise.
2771 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
2773 * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
2774 OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
2776 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
2778 * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
2779 messages expected according to MIPS BFD private data merge
2781 * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
2782 * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
2783 * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
2784 * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
2785 * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
2786 * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
2787 * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
2788 * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
2789 * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
2790 * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
2791 * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
2792 * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
2793 * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
2795 2016-01-01 Alan Modra <amodra@gmail.com>
2797 Update year range in copyright notice of all files.
2799 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
2801 Copyright (C) 2016 Free Software Foundation, Inc.
2803 Copying and distribution of this file, with or without modification,
2804 are permitted in any medium without royalty provided the copyright
2805 notice and this notice are preserved.
2811 version-control: never