1 2016-08-09 Roland McGrath <roland@hack.frob.com>
3 * emulparams/armelf.sh (GENERATE_PIE_SCRIPT): Set to yes.
5 2016-08-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
7 * emultempl/armelf.em (cmse_implib): Declare and define this new
9 (arm_elf_create_output_section_statements): Add new cmse_implib
11 (OPTION_CMSE_IMPLIB): Define macro.
12 (PARSE_AND_LIST_LONGOPTS): Add entry for new --cmse-implib switch.
13 (PARSE_AND_LIST_OPTIONS): Likewise.
14 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_CMSE_IMPLIB case.
15 * ld.texinfo (--cmse-implib): Document new option.
16 * testsuite/ld-arm/arm-elf.exp
17 (Secure gateway import library generation): New test.
18 (Secure gateway import library generation: errors): Likewise.
19 * testsuite/ld-arm/cmse-implib.s: New file.
20 * testsuite/ld-arm/cmse-implib-errors.out: Likewise.
21 * testsuite/ld-arm/cmse-implib.rd: Likewise.
23 2016-08-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
25 * ld.texinfo (Placement of SG veneers): New concept entry.
26 * testsuite/ld-arm/arm-elf.exp
27 (Secure gateway veneers: no .gnu.sgstubs section): New test.
28 (Secure gateway veneers: wrong entry functions): Likewise.
29 (Secure gateway veneers (ARMv8-M Baseline)): Likewise.
30 (Secure gateway veneers (ARMv8-M Mainline)): Likewise.
31 * testsuite/ld-arm/cmse-veneers.s: New file.
32 * testsuite/ld-arm/cmse-veneers.d: Likewise.
33 * testsuite/ld-arm/cmse-veneers.rd: Likewise.
34 * testsuite/ld-arm/cmse-veneers.sd: Likewise.
35 * testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out: Likewise.
36 * testsuite/ld-arm/cmse-veneers-wrong-entryfct.out: Likewise.
38 2016-08-02 Nick Clifton <nickc@redhat.com>
41 * emulparams/shelf.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): Define with
43 * emulparams/shelf32.sh: Likewise.
44 * emulparams/shelf32.sh: Likewise.
45 * emulparams/shelf_nto.sh: Likewise.
46 * emulparams/shelf_nto.sh: Likewise.
47 * emulparams/shelf_vxworks.sh: Likewise.
48 * emulparams/shelf_vxworks.sh: Likewise.
49 * emulparams/shlelf32_linux.sh: Likewise.
50 * emulparams/shlelf32_linux.sh: Likewise.
51 * emulparams/shlelf_linux.sh: Likewise.
52 * emulparams/shlelf_linux.sh: Likewise.
53 * emulparams/shlelf_nto.sh: Likewise.
54 * emulparams/shlelf_nto.sh: Likewise.
56 2016-07-27 Maciej W. Rozycki <macro@imgtec.com>
58 * testsuite/ld-mips-elf/micromips-branch-absolute.d: Update
59 patterns for branch compaction.
60 * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d:
63 2016-07-27 Nick Clifton <nickc@redhat.com>
65 * testsuite/ld-gc/personality.d: Use "target cfi" to restrict the
66 test to targets which support cfi.
68 2016-07-27 Igor Kudrin <ikudrin@accesssoftek.com>
70 * ldbuildid.c (generate_build_id): Warning fix.
72 2016-07-26 Maciej W. Rozycki <macro@imgtec.com>
74 * testsuite/ld-mips-elf/compressed-plt-1.s: Add branch support.
75 * testsuite/ld-mips-elf/compressed-plt-1a.s: Likewise.
76 * testsuite/ld-mips-elf/compressed-plt-1b.s: Likewise.
77 * testsuite/ld-mips-elf/compressed-plt-1-o32-branch.od: New
79 * testsuite/ld-mips-elf/compressed-plt-1-o32-branch.rd: New
81 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-bronly.od:
83 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-bronly.rd:
85 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-branch.od:
87 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-branch.rd:
89 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-bronly.od:
91 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-bronly.rd:
93 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-branch.od:
95 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-branch.rd:
97 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
99 2016-07-26 Igor Kudrin <ikudrin@accesssoftek.com>
101 * ldbuildid.c: Changes for MinGW32:
102 Include windows.h and rpcdce.h.
103 (validate_build_id_style): Allow "uuid" style.
104 (generate_build_id): Fill in id_bits using UuidCreate().
106 2016-07-25 Alan Modra <amodra@gmail.com>
108 * testsuite/ld-elf/sec64k.exp: Run test for arc, msp430, or1k
109 and m32r. Correct comment. Relax ld -r match to account for
110 msp increased number of default sections.
112 2016-07-22 Cupertino Miranda <cmiranda@synopsys.com>
114 * testsuite/ld-arc/got-01.d: New file.
115 * testsuite/ld-arc/got-01.s: New file.
117 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
119 * configure: Regenerated.
121 2016-07-21 Alan Modra <amodra@gmail.com>
123 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Replace
124 "targets_to_xfail" parameter with "args".
125 * testsuite/ld-elf/compress.exp: Remove empty list of xfails on
126 all calls to run_ld_link_exec_tests.
127 * testsuite/ld-elf/dwarf.exp: Likewise.
128 * testsuite/ld-elf/indirect.exp: Likewise.
129 * testsuite/ld-elf/wrap.exp: Likewise.
130 * testsuite/ld-i386/i386.exp: Likewise.
131 * testsuite/ld-i386/no-plt.exp: Likewise.
132 * testsuite/ld-i386/tls.exp: Likewise.
133 * testsuite/ld-ifunc/ifunc.exp: Likewise.
134 * testsuite/ld-pie/pie.exp: Likewise.
135 * testsuite/ld-plugin/lto.exp: Likewise.
136 * testsuite/ld-size/size.exp: Likewise.
137 * testsuite/ld-x86-64/mpx.exp: Likewise.
138 * testsuite/ld-x86-64/no-plt.exp: Likewise.
139 * testsuite/ld-x86-64/tls.exp: Likewise.
140 * testsuite/ld-x86-64/x86-64.exp: Likewise.
141 * testsuite/ld-elf/elf.exp: Likewise. Reorder args when providing
142 xfails and simplify lists.
143 * testsuite/ld-elf/shared.exp: Likewise.
145 2016-07-21 Alan Modra <amodra@gmail.com>
147 * testsuite/lib/ld-lib.exp (run_ld_link_tests): Add optional
148 parameter to pass list of xfails.
149 * testsuite/ld-elf/elf.exp: Add xfails for implib tests. Tidy
150 implib test formatting. Don't set .data start address.
151 * testsuite/ld-elf/implib.s: Remove first .bss directive and
152 replace second one with equivalent .section directive.
153 * testsuite/ld-elf/empty-implib.out: Add expected final error.
154 * testsuite/ld-elf/implib.rd: Update.
156 2016-07-20 Alan Modra <amodra@gmail.com>
158 * ldexp.c (exp_unop, exp_binop, exp_trinop, exp_nameop): Don't
160 * testsuite/ld-elf/maxpage3b.d: Expect correct maxpagesize.
162 2016-07-19 Roland McGrath <roland@hack.frob.com>
164 * emulparams/aarch64elf.sh (GENERATE_PIE_SCRIPT): Set to yes.
165 * emulparams/aarch64elf32.sh: Likewise.
167 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
169 * testsuite/ld-mips-elf/unaligned-branch-2.d: Update error
171 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: Likewise.
172 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: Likewise.
173 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: Likewise.
174 * testsuite/ld-mips-elf/bal-jalx-addend.d: New test.
175 * testsuite/ld-mips-elf/bal-jalx-local.d: New test.
176 * testsuite/ld-mips-elf/bal-jalx-pic.d: New test.
177 * testsuite/ld-mips-elf/bal-jalx-addend-n32.d: New test.
178 * testsuite/ld-mips-elf/bal-jalx-local-n32.d: New test.
179 * testsuite/ld-mips-elf/bal-jalx-pic-n32.d: New test.
180 * testsuite/ld-mips-elf/bal-jalx-addend-n64.d: New test.
181 * testsuite/ld-mips-elf/bal-jalx-local-n64.d: New test.
182 * testsuite/ld-mips-elf/bal-jalx-pic-n64.d: New test.
183 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
184 * testsuite/ld-mips-elf/unaligned-jalx-3.d: New test.
185 * testsuite/ld-mips-elf/unaligned-jalx-addend-2.d: New test.
186 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d: New test.
187 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
188 * testsuite/ld-mips-elf/unaligned-jalx-3.s: New test source.
189 * testsuite/ld-mips-elf/unaligned-jalx-addend-2.s: New test
191 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.s: New test
193 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
195 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
197 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error message
199 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: Likewise.
200 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d:
202 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d:
204 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
205 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
206 * testsuite/ld-mips-elf/undefweak-overflow.s: Add jumps,
207 microMIPS BAL and MIPS16 instructions.
208 * testsuite/ld-mips-elf/undefweak-overflow.d: Update
210 * testsuite/ld-mips-elf/unaligned-branch-2.d: New test.
211 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: New test.
212 * testsuite/ld-mips-elf/unaligned-branch-r6-2.d: New test.
213 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: New test.
214 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: New test.
215 * testsuite/ld-mips-elf/unaligned-jump-mips16.d: New test.
216 * testsuite/ld-mips-elf/unaligned-jump-micromips.d: New test.
217 * testsuite/ld-mips-elf/unaligned-jump.d: New test.
218 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
220 2016-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
222 * plugin.c (plugin_call_claim_file): Restore the file offset after
223 an unsuccessful attempt to claim a file.
224 * testplug.c (bytes_to_read_before_claim): New global.
225 (record_read_length): New function, sets new global
226 bytes_to_read_before_claim.
227 (parse_option): Handle 'read:<NUMBER>' option.
228 (onclaim_file): Read file content before checking for claim.
229 * testsuite/ld-plugin/plugin-30.d: New file.
230 * testsuite/ld-plugin/plugin.exp: Add new test.
232 2016-07-16 Alan Modra <amodra@gmail.com>
234 * plugin.c: Don't include libbfd.h. Include plugin-api.h
236 (plugin_object_p): Use bfd_plugin_open_input.
238 2016-07-16 Alan Modra <amodra@gmail.com>
240 * ldlang.c (open_output): Replace bfd_search_for_target with
241 bfd_iterate_over_targets. Localize vars.
243 2016-07-16 Alan Modra <amodra@gmail.com>
245 * ldlang.c: Don't include libbfd.h.
246 * emultempl/nds32elf.em: Likewise.
247 * emultempl/ppc64elf.em: Likewise.
248 * emultempl/ppc32elf.em: Likewise.
250 (params): Update init.
251 (ppc_after_open_output): Use params.pagesize. Don't call bfd_log2.
252 (PARSE_AND_LIST_ARGS_CASES): Use params.pagesize.
253 * emultempl/sh64elf.em: Don't include libbfd.h.
254 (after_allocation): Use ASSERT, not BFD_ASSERT.
255 * emultempl/xtensaelf.em: Don't include libbfd.h.
256 (replace_insn_sec_with_prop_sec): Use xmalloc, not bfd_malloc.
257 * Makefile.am: Update dependencies.
258 * Makefile.in: Regenerate.
260 2016-07-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
261 Nick Clifton <nickc@redhat.com>
263 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Open import
264 library file for writing and initialize implib_bfd field of link_info
266 * emultempl/pe.em (pe_implib_filename): Remove variable declaration.
267 (OPTION_IMPLIB_FILENAME): Remove macro definition.
268 (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
269 (gld_${EMULATION_NAME}_list_options): Likewise.
270 (gld${EMULATION_NAME}_handle_option): Likewise.
271 (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
272 instead of pe_implib_filename.
273 * emultempl/pep.em (pep_implib_filename): Remove variable declaration.
274 (OPTION_IMPLIB_FILENAME): Remove enumerator.
275 (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
276 (gld_${EMULATION_NAME}_list_options): Likewise.
277 (gld${EMULATION_NAME}_handle_option): Likewise.
278 (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
279 instead of pep_implib_filename.
280 * ld.h (args_type): Declare new out_implib_filename field.
281 * ld.texinfo (--out-implib): Move documentation to arch-independent
282 part and rephrase to apply to ELF targets.
283 * ldexp.c (exp_fold_tree_1): Set ldscript_def field to 1 for symbols
284 defined in linker scripts.
285 * ldlex.h (enum option_values): Declare new OPTION_OUT_IMPLIB
287 * lexsup.c (ld_options): Add entry for new --out-implib switch.
288 (parse_args): Handle OPTION_OUT_IMPLIB case.
289 * testsuite/ld-elf/elf.exp (Generate empty import library): New test.
290 (Generate import library): Likewise.
291 * testsuite/ld-elf/implib.s: Likewise.
292 * testsuite/ld-elf/implib.rd: New file.
293 * testsuite/ld-elf/empty-implib.out: Likewise
295 2016-07-15 Nick Clifton <nickc@redhat.com>
297 * testsuite/ld-arc/arc.exp: Always run the sda-relocs test in
300 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
302 * testsuite/ld-mips-elf/mips-elf.exp: Run
303 `branch-absolute-addend', `mips16-branch-absolute',
304 `mips16-branch-absolute-addend' and
305 `micromips-branch-absolute-addend'.
307 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
309 * testsuite/ld-mips-elf/mips16-branch-absolute.d: New test.
310 * testsuite/ld-mips-elf/mips16-branch-absolute-n32.d: New test.
311 * testsuite/ld-mips-elf/mips16-branch-absolute-n64.d: New test.
312 * testsuite/ld-mips-elf/mips16-branch-absolute-addend.d: New
314 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n32.d: New
316 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n64.d: New
318 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
319 from `mips16-branch-absolute' and
320 `mips16-branch-absolute-addend', referred indirectly only.
322 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
324 * testsuite/ld-mips-elf/branch-absolute.d: New test.
325 * testsuite/ld-mips-elf/branch-absolute-n32.d: New test.
326 * testsuite/ld-mips-elf/branch-absolute-n64.d: New test.
327 * testsuite/ld-mips-elf/branch-absolute-addend.d: New test.
328 * testsuite/ld-mips-elf/branch-absolute-addend-n32.d: New test.
329 * testsuite/ld-mips-elf/branch-absolute-addend-n64.d: New test.
330 * testsuite/ld-mips-elf/micromips-branch-absolute.d: New test.
331 * testsuite/ld-mips-elf/micromips-branch-absolute-n32.d: New
333 * testsuite/ld-mips-elf/micromips-branch-absolute-n64.d: New
335 * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d: New
337 * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n32.d:
339 * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n64.d:
341 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
342 from `branch-absolute-addend' and
343 `micromips-branch-absolute-addend', referred indirectly only.
345 2016-07-14 Claudiu Zissulescu <claziss@synopsys.com>
347 * emulparams/arcelf.sh (SDATA_START_SYMBOLS): Add offset.
348 * testsuite/ld-arc/sda-relocs.dd: New file.
349 * testsuite/ld-arc/sda-relocs.ld: Likewise.
350 * testsuite/ld-arc/sda-relocs.rd: Likewise.
351 * testsuite/ld-arc/sda-relocs.s: Likewise.
352 * testsuite/ld-arc/arc.exp: Add SDA tests.
354 2016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
356 * testsuite/ld-arc/nps-1b.err: Update test to handle more
359 2016-07-09 Alan Modra <amodra@gmail.com>
361 * testsuite/ld-powerpc/elfv2exe.d: Update.
363 2016-07-06 James Bowman <james.bowman@ftdichip.com>
365 * scripttempl/ft32.sc (__PMSIZE): Correct __PMSIZE_.
369 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
371 * testsuite/ld-plugin/lto.exp: Add -flto to PR ld/20321 test.
373 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
375 * testsuite/ld-arm/farcall-thumb2-purecode.d: New test result.
376 * testsuite/ld-arm/farcall-thumb2-purecode.s: New test.
377 * testsuite/ld-arm/arm-elf.exp: Run it.
379 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
381 * testsuite/ld-arm/arm_noread.ld: Renamed to ...
382 testsuite/ld-arm/arm_purecode.ld: ... this, and replaced
383 all noread's by purecode.
385 2016-07-05 Jan Beulich <jbeulich@suse.com>
387 * ldexp.c (exp_fold_tree_1): Set linker_def field based on
388 assignment line number.
389 * ldlex.l (lineno): Drop initializer.
390 (<<EOF>>): Set lineno to zero after reaching top of stack.
392 2016-07-04 H.J. Lu <hongjiu.lu@intel.com>
395 * plugin.c (plugin_opt_plugin): Warn and return if plugin has
397 * testsuite/ld-plugin/lto.exp: Run PR ld/20321 test.
398 * testsuite/ld-plugin/pr20321.c: New file.
400 2016-07-04 Nick Clifton <nickc@redhat.com>
402 * scripttempl/ft32.sc (__PMSIZE_): If not defined, set to 256K.
403 (__RAMSIZE): If not defined, set to 64K.
404 (MEMORY): Set the flash region size to __PMSIZE and the ram region
407 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
409 * testsuite/ld-mips-elf/branch-misc-2.d: New test.
410 * testsuite/ld-mips-elf/mips-elf.exp: Run it.
412 2016-07-01 Thomas Preud'homme <thomas.preudhomme@arm.com>
414 * testsuite/ld-arm/arm-elf.exp (Thumb-2 BL): Assemble for ARMv7.
415 (Thumb-2 BL on ARMv6-M): New testcase.
416 * testsuite/ld-arm/thumb2-bl.d: Do not try to match testcase filename.
417 * testsuite/ld-arm/thumb2-bl.s: Do not select architecture.
419 2016-07-01 Tristan Gingold <gingold@adacore.com>
421 * NEWS: Add marker for 2.27.
423 2016-06-28 H.J. Lu <hongjiu.lu@intel.com>
425 * testsuite/ld-gc/gc.exp: Run pr20306 test.
426 * ld-gc/pr20306.c: New file.
427 * ld-gc/pr20306.d: Likewise.
429 2016-06-28 Nick Clifton <nickc@redhat.com>
431 * testsuite/ld-elf/comm-data.exp: Expect comm-data2 test to fail
433 * testsuite/ld-elf/elf.exp: Expect pr14170 and symbolic function
434 tests to fail for bfin.
435 * testsuite/ld-elf/endsym.d: Expect to fail with cr16, crx, dlx,
437 * testsuite/ld-elf/var1.d: Expect to fail with d30v, dlx, ft32 and
439 * testsuite/ld-pe/pe.exp: Expect foreign symbol test to fail for
442 2016-06-28 Nick Clifton <nickc@redhat.com>
444 * testsuite/ld-elf/merge.d: Add m68hc11 to list of targets that
445 expect to fail this test.
446 * testsuite/ld-scripts/overlay-size.d: Skip the entire test for
448 * testsuite/ld-scripts/rgn-at10.d: No longer expect this test to
450 * testsuite/ld-scripts/rgn-at11.d: Likewise.
451 * testsuite/ld-scripts/rgn-at2.d: Likewise.
452 * testsuite/ld-scripts/rgn-at6.d: Likewise.
453 * testsuite/ld-scripts/rgn-at7.d: Likewise.
454 * testsuite/ld-scripts/rgn-at8.d: Likewise.
456 2016-06-28 James Clarke <jrtc27@jrtc27.com>
458 * testsuite/ld-elf/symbolic-func.r: Allow non-zero offsets from
461 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
463 * testsuite/ld-mips-elf/attr-gnu-4-10.d: Match any UNIX OS/ABI.
464 * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise.
465 * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise.
466 * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
468 2016-06-28 Alan Modra <amodra@gmail.com>
471 * testsuite/ld-scripts/pr20302.d: Exclude *-*-*aout.
473 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
475 * testsuite/ld-mips-elf/mips16-branch-2.d: New test.
476 * testsuite/ld-mips-elf/mips16-branch-3.d: New test.
477 * testsuite/ld-mips-elf/mips16-branch-addend-2.d: New test.
478 * testsuite/ld-mips-elf/mips16-branch-addend-3.d: New test.
479 * testsuite/ld-mips-elf/mips16-branch.s: New test source.
480 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
482 2016-06-27 Nick Clifton <nickc@redhat.com>
485 * lexsup.c (set_segment_start): If resetting the start address of
486 a section, remember to generate a new script element as well.
487 * testsuite/ld-scripts/pr20302.d: New test.
488 * testsuite/ld-scripts/scripts.exp: Run the new test.
490 2016-06-24 Alan Modra <amodra@gmail.com>
492 * testsuite/ld-aarch64/aarch64-elf.exp (aarch64_choose_ilp32_emul):
493 Don't error out, always return an emulation.
495 2016-06-24 Dilyan Palauzov <dilyan.palauzov@aegee.org>
496 H.J. Lu <hongjiu.lu@intel.com>
498 * lexsup.c (elf_shlib_list_options): Check DEFAULT_LD_Z_RELRO
499 for -z relro help message.
501 2016-06-22 Maciej W. Rozycki <macro@imgtec.com>
503 * testsuite/ld-mips-elf/undefweak-overflow.d: Use wildcard
506 2016-06-22 Maciej W. Rozycki <macro@imgtec.com>
508 * testsuite/ld-mips-elf/mips-elf.exp: Uniquely identify
509 `undefweak-overflow' tests.
511 2016-06-22 H.J. Lu <hongjiu.lu@intel.com>
514 * NEWS: Mention --enable-relro.
515 * configure.ac: Add --enable-relro.
516 (DEFAULT_LD_Z_RELRO): New. Set by --enable-relro.
517 * configure.tgt (ac_default_ld_z_relro): Default it to 1 for
519 * config.in: Regenerated.
520 * configure: Likewise.
521 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
522 link_info.relro to DEFAULT_LD_Z_RELRO.
523 * testsuite/config/default.exp (ld_elf_shared_opt): New.
524 * testsuite/lib/ld-lib.exp (run_dump_test): Pass
525 $ld_elf_shared_opt to ld for ELF targets with shared object
527 (run_ld_link_tests): Likewise.
529 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
531 * testsuite/ld-mips-elf/mode-change-error-1a.s: Trigger an error
532 twice rather than once.
533 * testsuite/ld-mips-elf/mode-change-error-1.d: Adjust
534 accordingly. Remove the full stop from the end of the message.
536 2016-06-21 Graham Markall <graham.markall@embecosm.com>
538 * testsuite/ld-arc/nps-1a.d: Use -mcpu=arc700 -mnps400.
539 * testsuite/ld-arc/nps-1b.d: Likewise.
541 2016-06-20 H.J. Lu <hongjiu.lu@intel.com>
544 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
546 (lto_run_tests): Likewise.
547 * testsuite/ld-plugin/pr20267a.c: New file.
548 * testsuite/ld-plugin/pr20267b.c: Likewise.
550 2016-06-20 H.J. Lu <hongjiu.lu@intel.com>
551 Alan Modra <amodra@gmail.com>
554 * plugin.c (plugin_notice): Set non_ir_ref on common symbols.
555 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
557 (lto_run_tests): Likewise.
558 * testsuite/ld-plugin/pass.out: New file.
559 * testsuite/ld-plugin/pr20276a.c: Likewise.
560 * testsuite/ld-plugin/pr20276b.c: Likewise.
562 2016-06-18 H.J. Lu <hongjiu.lu@intel.com>
564 * plugin.c (plugin_object_p): Replace bfd_plugin_uknown
565 with bfd_plugin_unknown.
567 2016-06-18 H.J. Lu <hongjiu.lu@intel.com>
570 * testsuite/ld-i386/i386.exp: Run PR ld/20253 tests.
571 * testsuite/ld-i386/no-plt.exp: Likewise.
572 * testsuite/ld-x86-64/no-plt.exp: Likewise.
573 * testsuite/ld-i386/pr13302.d: Remove .rel.plt section.
574 * testsuite/ld-ifunc/ifunc-13-i386.d: Likewise.
575 * testsuite/ld-ifunc/ifunc-13-x86-64.d: Likewise.
576 * testsuite/ld-ifunc/ifunc-15-i386.d: Likewise.
577 * testsuite/ld-ifunc/ifunc-15-x86-64.d: Likewise.
578 * testsuite/ld-x86-64/pr13082-5a.d: Likewise.
579 * testsuite/ld-x86-64/pr13082-5b.d: Likewise.
580 * testsuite/ld-x86-64/pr13082-6a.d: Likewise.
581 * testsuite/ld-x86-64/pr13082-6b.d: Likewise.
582 * testsuite/ld-i386/pr20244-2a.d: Remove .plt section.
583 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
584 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
585 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
586 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
587 * testsuite/ld-i386/pr20244-2b.d: Updated.
588 * testsuite/ld-i386/pr20244-2c.d: Likewise.
589 * testsuite/ld-ifunc/ifunc-18a-i386.d: Likewise.
590 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
591 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
592 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
593 * testsuite/ld-i386/pr20253-1a.c: New file.
594 * testsuite/ld-i386/pr20253-1b.S: Likewise.
595 * testsuite/ld-i386/pr20253-1c.S: Likewise.
596 * testsuite/ld-i386/pr20253-1d.S: Likewise.
597 * testsuite/ld-i386/pr20253-2a.c: Likewise.
598 * testsuite/ld-i386/pr20253-2b.S: Likewise.
599 * testsuite/ld-i386/pr20253-2c.S: Likewise.
600 * testsuite/ld-i386/pr20253-2d.S: Likewise.
601 * testsuite/ld-i386/pr20253-3.d: Likewise.
602 * testsuite/ld-i386/pr20253-3.s: Likewise.
603 * testsuite/ld-i386/pr20253-4.s: Likewise.
604 * testsuite/ld-i386/pr20253-4a.d: Likewise.
605 * testsuite/ld-i386/pr20253-4b.d: Likewise.
606 * testsuite/ld-i386/pr20253-4c.d: Likewise.
607 * testsuite/ld-i386/pr20253-5.d: Likewise.
608 * testsuite/ld-i386/pr20253-5.s: Likewise.
609 * testsuite/ld-ifunc/ifunc-23-x86.s: Likewise.
610 * testsuite/ld-ifunc/ifunc-23a-x86.d: Likewise.
611 * testsuite/ld-ifunc/ifunc-23b-x86.d: Likewise.
612 * testsuite/ld-ifunc/ifunc-23c-x86.d: Likewise.
613 * testsuite/ld-ifunc/ifunc-24-x86.s: Likewise.
614 * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise.
615 * testsuite/ld-ifunc/ifunc-24b-x86.d: Likewise.
616 * testsuite/ld-ifunc/ifunc-24c-x86.d: Likewise.
617 * testsuite/ld-ifunc/ifunc-25-x86.s: Likewise.
618 * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
619 * testsuite/ld-ifunc/ifunc-25b-x86.d: Likewise.
620 * testsuite/ld-ifunc/ifunc-25c-x86.d: Likewise.
621 * testsuite/ld-x86-64/pr20253-1.s: Likewise.
622 * testsuite/ld-x86-64/pr20253-1a.d: Likewise.
623 * testsuite/ld-x86-64/pr20253-1b.d: Likewise.
624 * testsuite/ld-x86-64/pr20253-1c.d: Likewise.
625 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
626 * testsuite/ld-x86-64/pr20253-1e.d: Likewise.
627 * testsuite/ld-x86-64/pr20253-1f.d: Likewise.
628 * testsuite/ld-x86-64/pr20253-1g.d: Likewise.
629 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
630 * testsuite/ld-x86-64/pr20253-1i.d: Likewise.
631 * testsuite/ld-x86-64/pr20253-1j.d: Likewise.
632 * testsuite/ld-x86-64/pr20253-1k.d: Likewise.
633 * testsuite/ld-x86-64/pr20253-1l.d: Likewise.
634 * testsuite/ld-x86-64/pr20253-2a.c: Likewise.
635 * testsuite/ld-x86-64/pr20253-2b.S: Likewise.
636 * testsuite/ld-x86-64/pr20253-2c.S: Likewise.
637 * testsuite/ld-x86-64/pr20253-2d.S: Likewise.
638 * testsuite/ld-x86-64/pr20253-3.d: Likewise.
639 * testsuite/ld-x86-64/pr20253-3.s: Likewise.
640 * testsuite/ld-x86-64/pr20253-4.s: Likewise.
641 * testsuite/ld-x86-64/pr20253-4a.d: Likewise.
642 * testsuite/ld-x86-64/pr20253-4b.d: Likewise.
643 * testsuite/ld-x86-64/pr20253-4c.d: Likewise.
644 * testsuite/ld-x86-64/pr20253-4d.d: Likewise.
645 * testsuite/ld-x86-64/pr20253-4e.d: Likewise.
646 * testsuite/ld-x86-64/pr20253-4f.d: Likewise.
647 * testsuite/ld-x86-64/pr20253-5.s: Likewise.
648 * testsuite/ld-x86-64/pr20253-5a.d: Likewise.
649 * testsuite/ld-x86-64/pr20253-5b.d: Likewise.
650 * testsuite/ld-ifunc/ifunc-18a-i386.d: Remove extra IRELATIVE
652 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
653 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
654 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
655 * testsuite/ld-ifunc/ifunc-18a.s: Fix a typo.
656 * testsuite/ld-x86-64/x86-64.exp: Run pr20253-1 tests.
658 2016-06-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
659 Tony Wang <tony.wang@arm.com>
661 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall M profile):
662 Assemble for ARMv6-M.
663 (Thumb2-Thumb2 farcall M profile): New testcase.
664 * testsuite/ld-arm/farcall-thumb2-thumb2-m.d: New file.
665 * testsuite/ld-arm/jump-reloc-veneers-cond-long-backward.d: Update to
666 reflect the use of Thumb-2 veneers for Thumb-2 capable targets.
667 * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Likewise.
669 2016-06-16 H.J. Lu <hongjiu.lu@intel.com>
671 * testsuite/ld-i386/i386.exp: Run pr19636-2e-nacl.
672 * testsuite/ld-i386/pr19636-2e.d: Skip for NaCl targets.
673 Remove .rel.plt section.
674 * testsuite/ld-i386/pr19636-2e-nacl.d: New file.
676 2016-06-15 H.J. Lu <hongjiu.lu@intel.com>
678 * testsuite/ld-i386/no-plt-check1a.S (check): Test static
680 * testsuite/ld-i386/no-plt-check1b.S (check): Likewise.
681 * testsuite/ld-x86-64/no-plt-check1.S (check): Likewise.
682 * testsuite/ld-i386/no-plt-extern1a.S (func_p): New. Static
684 * testsuite/ld-i386/no-plt-extern1b.S (func_p): Likewise.
685 * testsuite/ld-x86-64/no-plt-extern1.S (func_p): Likewise.
686 * testsuite/ld-i386/no-plt-1a.dd: Updated.
687 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
688 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
689 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
690 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
691 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
692 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
693 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
694 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
695 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
696 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
697 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
698 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
699 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
700 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
701 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
702 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
704 2016-06-14 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
707 * testsuite/ld-avr/avr-prop-6.d: New test.
708 * testsuite/ld-avr/avr-prop-6.s: New test.
710 2016-06-14 Alan Modra <amodra@gmail.com>
712 * ldbuildid.c: Formatting.
713 * ldcref.c: Formatting.
714 * ldctor.c: Formatting.
715 * ldemul.c: Formatting.
716 * ldexp.c: Formatting.
717 * ldfile.c: Formatting.
718 * ldlang.c: Formatting.
719 * ldmain.c: Formatting.
720 * ldwrite.c: Formatting.
722 2016-06-14 Alan Modra <amodra@gmail.com>
724 * ldlang.c: Expand uses of bfd_my_archive.
725 * ldmain.c: Likewise.
726 * ldmisc.c: Likewise.
727 * plugin.c: Likewise.
729 2016-06-14 Alan Modra <amodra@gmail.com>
732 * ldmain.c (add_archive_element): Just print file name of file within
734 * ldmisc.c (vfinfo): Likewise.
735 * plugin.c (plugin_object_p): Open file within thin archives.
736 (plugin_maybe_claim): Expand comment.
738 2016-06-13 H.J. Lu <hongjiu.lu@intel.com>
741 * testsuite/ld-i386/i386.exp: Run pr20244-2a, pr20244-2b,
742 pr20244-2c and pr20244-2d.
743 * testsuite/ld-i386/no-plt.exp: Run pr20244-3a and pr20244-3b.
744 * testsuite/ld-i386/pr20244-2.s: New file.
745 * testsuite/ld-i386/pr20244-2a.d: Likewise.
746 * testsuite/ld-i386/pr20244-2b.d: Likewise.
747 * testsuite/ld-i386/pr20244-2c.d: Likewise.
748 * testsuite/ld-i386/pr20244-2d.d: Likewise.
749 * testsuite/ld-i386/pr20244-3a.c: Likewise.
750 * testsuite/ld-i386/pr20244-3b.S: Likewise.
751 * testsuite/ld-i386/pr20244-3c.S: Likewise.
752 * testsuite/ld-i386/pr20244-3d.S: Likewise.
754 2016-06-13 H.J. Lu <hongjiu.lu@intel.com>
756 * testsuite/ld-i386/i386.exp: Run ifunc-1a and ifunc-1b.
757 * testsuite/ld-i386/ifunc-1a.c: New file.
758 * testsuite/ld-i386/ifunc-1b.S: Likewise.
759 * testsuite/ld-i386/ifunc-1c.S: Likewise.
760 * testsuite/ld-i386/ifunc-1d.S: Likewise.
762 2016-06-13 Cupertino Miranda <cmiranda@synospsy.com>
764 * testsuite/ld-srec/srec.exp: Changed to XFAIL on both little and
765 big endian ARC targets.
767 2016-06-12 H.J. Lu <hongjiu.lu@intel.com>
769 * testsuite/ld-x86-64/libno-plt-1b.dd: Updated for x32.
770 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
771 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
772 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
773 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
774 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
775 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
776 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
777 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
778 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
779 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
780 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
781 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
782 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
783 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
785 2016-06-11 H.J. Lu <hongjiu.lu@intel.com>
788 * testsuite/ld-i386/i386.exp: Run pr20244-1a and pr20244-1b.
789 * testsuite/ld-i386/pr20244-1.s: New file.
790 * testsuite/ld-i386/pr20244-1a.d: Likewise.
791 * testsuite/ld-i386/pr20244-1b.d: Likewise.
792 * testsuite/ld-i386/pr20244-1c.d: Likewise.
794 2016-06-08 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
797 * testsuite/ld-avr/avr-prop-5.d: New.
798 * testsuite/ld-avr/avr-prop-5.s: New.
800 2016-06-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
802 * testsuite/ld-avr/lds-mega.d: New test.
803 * testsuite/ld-avr/lds-mega.s: New test source.
804 * testsuite/ld-avr/lds-tiny.d: New test.
805 * testsuite/ld-avr/lds-tiny.s: New test source.
807 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
809 * testsuite/ld-i386/libno-plt-1b.dd: New file.
810 * testsuite/ld-i386/libno-plt-1b.rd: Likewise.
811 * testsuite/ld-i386/no-plt-1a.dd: Likewise.
812 * testsuite/ld-i386/no-plt-1a.rd: Likewise.
813 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
814 * testsuite/ld-i386/no-plt-1b.rd: Likewise.
815 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
816 * testsuite/ld-i386/no-plt-1c.rd: Likewise.
817 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
818 * testsuite/ld-i386/no-plt-1d.rd: Likewise.
819 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
820 * testsuite/ld-i386/no-plt-1e.rd: Likewise.
821 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
822 * testsuite/ld-i386/no-plt-1f.rd: Likewise.
823 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
824 * testsuite/ld-i386/no-plt-1g.rd: Likewise.
825 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
826 * testsuite/ld-i386/no-plt-1h.rd: Likewise.
827 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
828 * testsuite/ld-i386/no-plt-1i.rd: Likewise.
829 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
830 * testsuite/ld-i386/no-plt-1j.rd: Likewise.
831 * testsuite/ld-i386/no-plt-check1a.S: Likewise.
832 * testsuite/ld-i386/no-plt-check1b.S: Likewise.
833 * testsuite/ld-i386/no-plt-extern1a.S: Likewise.
834 * testsuite/ld-i386/no-plt-extern1b.S: Likewise.
835 * testsuite/ld-i386/no-plt-func1.c: Likewise.
836 * testsuite/ld-i386/no-plt-main1.c: Likewise.
837 * testsuite/ld-i386/no-plt.exp: Likewise.
839 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
841 * testsuite/ld-x86-64/tls.exp (run_cc_link_tests): Update test
844 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
846 * testsuite/ld-i386/i386.exp: Run libtlspic2.so, tlsbin2,
847 tlsgd3, tlsld2, tlsgd4, tlspie3a, tlspie3b and tlspie3c.
848 * testsuite/ld-i386/pass.out: New file.
849 * testsuite/ld-i386/tls-def1.c: Likewise.
850 * testsuite/ld-i386/tls-gd1.S: Likewise.
851 * testsuite/ld-i386/tls-ld1.S: Likewise.
852 * testsuite/ld-i386/tls-main1.c: Likewise.
853 * testsuite/ld-i386/tls.exp: Likewise.
854 * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
855 * testsuite/ld-i386/tlsbin2.dd: Likewise.
856 * testsuite/ld-i386/tlsbin2.rd: Likewise.
857 * testsuite/ld-i386/tlsbin2.sd: Likewise.
858 * testsuite/ld-i386/tlsbin2.td: Likewise.
859 * testsuite/ld-i386/tlsbinpic2.s: Likewise.
860 * testsuite/ld-i386/tlsgd3.dd: Likewise.
861 * testsuite/ld-i386/tlsgd3.s: Likewise.
862 * testsuite/ld-i386/tlsgd4.d: Likewise.
863 * testsuite/ld-i386/tlsgd4.s: Likewise.
864 * testsuite/ld-i386/tlsld2.s: Likewise.
865 * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
866 * testsuite/ld-i386/tlspic2.dd: Likewise.
867 * testsuite/ld-i386/tlspic2.rd: Likewise.
868 * testsuite/ld-i386/tlspic2.sd: Likewise.
869 * testsuite/ld-i386/tlspic2.td: Likewise.
870 * testsuite/ld-i386/tlspic3.s: Likewise.
871 * testsuite/ld-i386/tlspie3.s: Likewise.
872 * testsuite/ld-i386/tlspie3a.d: Likewise.
873 * testsuite/ld-i386/tlspie3b.d: Likewise.
874 * testsuite/ld-i386/tlspie3c.d: Likewise.
876 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
878 * testsuite/ld-x86-64/no-plt-1a.rd: Support any relocation order.
879 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
880 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
881 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
882 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
883 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
884 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
885 * testsuite/ld-x86-64/no-plt.exp: Fix a typo.
887 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
889 * testsuite/ld-x86-64/libno-plt-1b.dd: Likewise.
890 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
891 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
892 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
893 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
894 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
895 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
896 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
897 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
898 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
899 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
900 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
901 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
902 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
903 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
904 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
905 * testsuite/ld-x86-64/no-plt-check1.S: Likewise.
906 * testsuite/ld-x86-64/no-plt.exp: Likewise.
907 * testsuite/ld-x86-64/no-plt-extern1.S: Likewise.
908 * testsuite/ld-x86-64/no-plt-func1.c: Likewise.
909 * testsuite/ld-x86-64/no-plt-main1.c: Likewise.
911 2016-06-07 Maciej W. Rozycki <macro@imgtec.com>
913 * testsuite/ld-elf/init-fini-arrays.d: Remove `ft32-*-*' xfail.
915 2016-06-07 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
917 * testsuite/ld-s390/pltoffset-1.dd: New test.
918 * testsuite/ld-s390/pltoffset-1.ld: New test.
919 * testsuite/ld-s390/pltoffset-1.s: New test.
920 * testsuite/ld-s390/s390.exp: Run new test.
922 2016-06-07 Alan Modra <amodra@gmail.com>
924 * testsuite/ld-powerpc/apuinfo1.s: Delete nop.
925 * testsuite/ld-powerpc/apuinfo-vle2.s: New.
926 * testsuite/ld-powerpc/powerpc.exp: Use apuinfo-vle2.s.
928 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
930 * testsuite/ld-x86-64/pass.out: New file.
931 * testsuite/ld-x86-64/tls-def1.c: Likewise.
932 * testsuite/ld-x86-64/tls-gd1.S: Likewise.
933 * testsuite/ld-x86-64/tls-ld1.S: Likewise.
934 * testsuite/ld-x86-64/tls-main1.c: Likewise.
935 * testsuite/ld-x86-64/tls.exp: Likewise.
936 * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
937 * testsuite/ld-x86-64/tlsbin2.dd: Likewise.
938 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
939 * testsuite/ld-x86-64/tlsbin2.sd: Likewise.
940 * testsuite/ld-x86-64/tlsbin2.td: Likewise.
941 * testsuite/ld-x86-64/tlsbinpic2.s: Likewise.
942 * testsuite/ld-x86-64/tlsgd10.dd: Likewise.
943 * testsuite/ld-x86-64/tlsgd10.s: Likewise.
944 * testsuite/ld-x86-64/tlsgd11.dd: Likewise.
945 * testsuite/ld-x86-64/tlsgd11.s: Likewise.
946 * testsuite/ld-x86-64/tlsgd12.d: Likewise.
947 * testsuite/ld-x86-64/tlsgd12.s: Likewise.
948 * testsuite/ld-x86-64/tlsgd13.d: Likewise.
949 * testsuite/ld-x86-64/tlsgd13.s: Likewise.
950 * testsuite/ld-x86-64/tlsgd14.dd: Likewise.
951 * testsuite/ld-x86-64/tlsgd14.s: Likewise.
952 * testsuite/ld-x86-64/tlsgd5c.s: Likewise.
953 * testsuite/ld-x86-64/tlsgd6c.s: Likewise.
954 * testsuite/ld-x86-64/tlsgd9.dd: Likewise.
955 * testsuite/ld-x86-64/tlsgd9.s: Likewise.
956 * testsuite/ld-x86-64/tlsld4.dd: Likewise.
957 * testsuite/ld-x86-64/tlsld4.s: Likewise.
958 * testsuite/ld-x86-64/tlsld5.dd: Likewise.
959 * testsuite/ld-x86-64/tlsld5.s: Likewise.
960 * testsuite/ld-x86-64/tlsld6.dd: Likewise.
961 * testsuite/ld-x86-64/tlsld6.s: Likewise.
962 * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
963 * testsuite/ld-x86-64/tlspic2.dd: Likewise.
964 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
965 * testsuite/ld-x86-64/tlspic2.sd: Likewise.
966 * testsuite/ld-x86-64/tlspic2.td: Likewise.
967 * testsuite/ld-x86-64/tlspic3.s: Likewise.
968 * testsuite/ld-x86-64/tlspie2.s: Likewise.
969 * testsuite/ld-x86-64/tlspie2a.d: Likewise.
970 * testsuite/ld-x86-64/tlspie2b.d: Likewise.
971 * testsuite/ld-x86-64/tlspie2c.d: Likewise.
972 * testsuite/ld-x86-64/tlsgd5.dd: Updated.
973 * testsuite/ld-x86-64/tlsgd6.dd: Likewise.
974 * testsuite/ld-x86-64/x86-64.exp: Run libtlspic2.so, tlsbin2,
975 tlsgd5b, tlsgd6b, tlsld4, tlsld5, tlsld6, tlsgd9, tlsgd10,
976 tlsgd11, tlsgd14, tlsgd12, tlsgd13, tlspie2a, tlspie2b and
979 2016-06-04 Christian Groessler <chris@groessler.org>
981 * testsuite/ld-z8k/0filler.s: New file.
982 * testsuite/ld-z8k/branch-target.s: New file.
983 * testsuite/ld-z8k/branch-target2.s: New file.
984 * testsuite/ld-z8k/calr-back-8001.d: New file.
985 * testsuite/ld-z8k/calr-back-8002.d: New file.
986 * testsuite/ld-z8k/calr-back-fail-8001.d: New file.
987 * testsuite/ld-z8k/calr-back-fail-8002.d: New file.
988 * testsuite/ld-z8k/calr-forw-8001.d: New file.
989 * testsuite/ld-z8k/calr-forw-8002.d: New file.
990 * testsuite/ld-z8k/calr-forw-fail-8001.d: New file.
991 * testsuite/ld-z8k/calr-forw-fail-8002.d: New file.
992 * testsuite/ld-z8k/calr-opcode.s: New file.
993 * testsuite/ld-z8k/dbjnz-forw-8001.d: New file.
994 * testsuite/ld-z8k/dbjnz-forw-8002.d: New file.
995 * testsuite/ld-z8k/dbjnz-forw-fail-8001.d: New file.
996 * testsuite/ld-z8k/dbjnz-forw-fail-8002.d: New file.
997 * testsuite/ld-z8k/dbjnz-opcode.s: New file.
998 * testsuite/ld-z8k/djnz-back-8001.d: New file.
999 * testsuite/ld-z8k/djnz-back-8002.d: New file.
1000 * testsuite/ld-z8k/djnz-back-fail-8001.d: New file.
1001 * testsuite/ld-z8k/djnz-back-fail-8002.d: New file.
1002 * testsuite/ld-z8k/djnz-forw-8001.d: New file.
1003 * testsuite/ld-z8k/djnz-forw-8002.d: New file.
1004 * testsuite/ld-z8k/djnz-forw-fail-8001.d: New file.
1005 * testsuite/ld-z8k/djnz-forw-fail-8002.d: New file.
1006 * testsuite/ld-z8k/djnz-opcode.s: New file.
1007 * testsuite/ld-z8k/filler.s: New file.
1008 * testsuite/ld-z8k/jr-back-8001.d: New file.
1009 * testsuite/ld-z8k/jr-back-8002.d: New file.
1010 * testsuite/ld-z8k/jr-back-fail-8001.d: New file.
1011 * testsuite/ld-z8k/jr-back-fail-8002.d: New file.
1012 * testsuite/ld-z8k/jr-forw-8001.d: New file.
1013 * testsuite/ld-z8k/jr-forw-8002.d: New file.
1014 * testsuite/ld-z8k/jr-forw-fail-8001.d: New file.
1015 * testsuite/ld-z8k/jr-forw-fail-8002.d: New file.
1016 * testsuite/ld-z8k/jr-opcode.s: New file.
1017 * testsuite/ld-z8k/ldr-back-8001.d: New file.
1018 * testsuite/ld-z8k/ldr-back-8002.d: New file.
1019 * testsuite/ld-z8k/ldr-back-fail-8001.d: New file.
1020 * testsuite/ld-z8k/ldr-back-fail-8002.d: New file.
1021 * testsuite/ld-z8k/ldr-forw-8001.d: New file.
1022 * testsuite/ld-z8k/ldr-forw-8002.d: New file.
1023 * testsuite/ld-z8k/ldr-forw-fail-8001.d: New file.
1024 * testsuite/ld-z8k/ldr-forw-fail-8002.d: New file.
1025 * testsuite/ld-z8k/ldr-opcode.s: New file.
1026 * testsuite/ld-z8k/ldrb-forw-8001.d: New file.
1027 * testsuite/ld-z8k/ldrb-forw-8002.d: New file.
1028 * testsuite/ld-z8k/ldrb-forw-fail-8001.d: New file.
1029 * testsuite/ld-z8k/ldrb-forw-fail-8002.d: New file.
1030 * testsuite/ld-z8k/ldrb-opcode.s: New file.
1031 * testsuite/ld-z8k/ldrb-opcode2.s: New file.
1032 * testsuite/ld-z8k/other-file.s: New file.
1033 * testsuite/ld-z8k/reloc.dd: New file.
1034 * testsuite/ld-z8k/reloc.ld: New file.
1035 * testsuite/ld-z8k/relocseg.dd: New file.
1036 * testsuite/ld-z8k/relocseg.ld: New file.
1037 * testsuite/ld-z8k/relocseg1.dd: New file.
1038 * testsuite/ld-z8k/this-file.s: New file.
1039 * testsuite/ld-z8k/z8k.exp: New file.
1041 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
1043 * testsuite/ld-i386/i386.exp: Assemble gotpc1.o and pr19319b.o
1044 with -mrelax-relocations=yes.
1045 * testsuite/ld-i386/lea1a.d (as): Add -mrelax-relocations=yes.
1046 * testsuite/ld-i386/lea1b.d (as): Likewise.
1047 * testsuite/ld-i386/lea1d.d (as): Likewise.
1048 * testsuite/ld-i386/lea1e.d (as): Likewise.
1049 * testsuite/ld-i386/lea1f.d (as): Likewise.
1050 * testsuite/ld-i386/load7.d (as): Likewise.
1051 * testsuite/ld-i386/mov1b.d (as): Likewise.
1052 * testsuite/ld-i386/pr19175.d (as): Likewise.
1053 * testsuite/ld-ifunc/ifunc-13-i386.d (as): Likewise.
1054 * testsuite/ld-ifunc/ifunc-21-i386.d (as): Likewise.
1055 * testsuite/ld-ifunc/ifunc-22-i386.d (as): Likewise.
1056 * testsuite/ld-x86-64/x86-64.exp: Assemble gotpcrel1a.o,
1057 gotpcrel1b.o and gotpcrel1c.o with -mrelax-relocations=yes.
1059 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
1061 * configure.tgt: Replace -uclibc with *.
1063 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
1065 * testsuite/ld-mips-elf/unaligned-branch.d: New test.
1066 * testsuite/ld-mips-elf/unaligned-branch.s: New test source.
1067 * testsuite/ld-mips-elf/unaligned-text.s: New test source.
1068 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
1070 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
1072 * testsuite/ld-mips-elf/unaligned-syms.s: Rename to...
1073 * testsuite/ld-mips-elf/unaligned-data.s: ... this.
1074 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Adjust accordingly.
1075 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
1076 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Likewise.
1077 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
1079 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
1081 * testsuite/ld-mips-elf/jal-global-overflow-0.d: New test.
1082 * testsuite/ld-mips-elf/jal-global-overflow-1.d: New test.
1083 * testsuite/ld-mips-elf/jal-local-overflow-0.d: New test.
1084 * testsuite/ld-mips-elf/jal-local-overflow-1.d: New test.
1085 * testsuite/ld-mips-elf/jal-global-overflow.s: New test source.
1086 * testsuite/ld-mips-elf/jal-local-overflow.s: New test source.
1087 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1089 2016-05-28 Alan Modra <amodra@gmail.com>
1091 * ldmain.c (multiple_definition, multiple_common, add_to_set,
1092 constructor_callback, warning_callback, undefined_symbol,
1093 reloc_overflow, reloc_dangerous, unattached_reloc): Return void.
1094 * emultempl/elf32.em: Adjust callback calls.
1096 2016-05-27 Maciej W. Rozycki <macro@imgtec.com>
1098 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.d: New test.
1099 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: New test.
1100 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-0.d: New
1102 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d: New
1104 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-0.d: New
1106 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d: New
1108 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.s: New test
1110 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.s: New test
1112 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1114 2016-05-27 Maciej W. Rozycki <macro@imgtec.com>
1116 * testsuite/ld-mips-elf/reloc-local-overflow.d: New test.
1117 * testsuite/ld-mips-elf/reloc-local-overflow.s: Source for the
1119 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
1121 2016-05-26 Maciej W. Rozycki <macro@imgtec.com>
1123 * testsuite/ld-mips-elf/unaligned-jalx-0.d: Fold
1124 `unaligned-jalx-2' here.
1125 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: Fold
1126 `unaligned-jalx-mips16-2' here.
1127 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: Fold
1128 `unaligned-jalx-micromips-2' here.
1129 * testsuite/ld-mips-elf/unaligned-jalx-0.s: Update accordingly.
1130 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error
1132 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
1133 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
1134 * testsuite/ld-mips-elf/unaligned-jalx-2.d: Remove test.
1135 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: Remove test.
1136 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: Remove
1138 * testsuite/ld-mips-elf/unaligned-jalx-2.s: Remove test source.
1139 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Fold
1140 `unaligned-lwpc-3' here.
1141 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: Update accordingly.
1142 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Fold
1143 `unaligned-lwpc-2' here.
1144 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: Update accordingly.
1145 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: Remove test.
1146 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: Remove test source.
1147 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: Remove test.
1148 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: Remove test source.
1149 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Fold
1150 `unaligned-ldpc-4' here.
1151 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: Update accordingly.
1152 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Update error
1153 message. Fold `unaligned-ldpc-2' and `unaligned-ldpc-3' here.
1154 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: Update accordingly.
1155 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: Remove test.
1156 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: Remove test source.
1157 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: Remove test.
1158 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: Remove test source.
1159 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: Remove test.
1160 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: Remove test source.
1161 * testsuite/ld-mips-elf/mips-elf.exp: Delete removed tests.
1163 2016-05-26 Nick Clifton <nickc@redhat.com>
1166 * scripttempl/elf32msp430.sc (.bss): Provide __bssstart and
1168 * scripttempl/elf32msp430_3.sc (.bss): Likewise.
1170 2016-05-25 Maciej W. Rozycki <macro@imgtec.com>
1172 * testsuite/ld-mips-elf/unaligned-jalx-0.d: New test.
1173 * testsuite/ld-mips-elf/unaligned-jalx-1.d: New test.
1174 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
1175 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: New test.
1176 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: New test.
1177 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: New test.
1178 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: New test.
1179 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: New test.
1180 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: New test.
1181 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: New test.
1182 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: New test.
1183 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: New test.
1184 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: New test.
1185 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: New test.
1186 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: New test.
1187 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: New test.
1188 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: New test.
1189 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: New test.
1190 * testsuite/ld-mips-elf/unaligned-jalx-0.s: New test source.
1191 * testsuite/ld-mips-elf/unaligned-jalx-1.s: New test source.
1192 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
1193 * testsuite/ld-mips-elf/unaligned-insn.s: New test source.
1194 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: New test source.
1195 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: New test source.
1196 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: New test source.
1197 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: New test source.
1198 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: New test source.
1199 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: New test source.
1200 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: New test source.
1201 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: New test source.
1202 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: New test source.
1203 * testsuite/ld-mips-elf/unaligned-syms.s: New test source.
1204 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1206 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1209 * ldmain.c (add_archive_element): Don't claim new IR symbols
1210 after all IR symbols have been claimed.
1211 * plugin.c (plugin_call_claim_file): Remove no_more_claiming
1213 * testsuite/ld-plugin/lto.exp (pr20103): New proc.
1214 Run PR ld/20103 tests.
1215 * testsuite/ld-plugin/pr20103a.c: New file.
1216 * testsuite/ld-plugin/pr20103b.c: Likewise.
1217 * testsuite/ld-plugin/pr20103c.c: Likewise.
1219 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
1221 * testsuite/ld-mips-elf/jalx-local.d: New test.
1222 * testsuite/ld-mips-elf/jalx-local-n32.d: New test.
1223 * testsuite/ld-mips-elf/jalx-local-n64.d: New test.
1224 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1226 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
1228 * Makefile.am: Add earmelf_phoenix.c.
1229 * Makefile.in: Regenerate.
1230 * configure.tgt: Add entry for arm-phoenix.
1231 * emulparams/armelf_phoenix.sh: New file.
1233 2016-05-23 Thomas Preud'homme <thomas.preudhomme@arm.com>
1235 * emultempl/armelf.em (arm_elf_before_allocation): Call
1236 bfd_elf32_arm_keep_private_stub_output_sections before generic
1237 before_allocation function.
1239 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
1241 * testsuite/ld-mips-elf/jalx-addend.d: New test.
1242 * testsuite/ld-mips-elf/jalx-addend-n32.d: New test.
1243 * testsuite/ld-mips-elf/jalx-addend-n64.d: New test.
1244 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1246 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
1249 * testsuite/ld-i386/i386.exp: Run pr20117.
1250 * testsuite/ld-i386/pr19609-1i.d: Updated.
1251 * testsuite/ld-i386/pr20117.d: New file.
1252 * testsuite/ld-i386/pr20117.s: Likewise.
1254 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
1256 * testsuite/ld-elf/compressed1d.d: Removed from notarget.
1257 * testsuite/ld-elf/group8a.d: Likewise.
1258 * testsuite/ld-elf/group8b.d: Likewise.
1259 * testsuite/ld-elf/group9a.d: Likewise.
1260 * testsuite/ld-elf/group9b.d: Likewise.
1261 * testsuite/ld-elf/pr12851.d: Likewise.
1262 * testsuite/ld-elf/pr12975.d: Likewise.
1263 * testsuite/ld-elf/pr13177.d: Likewise.
1264 * testsuite/ld-elf/pr13195.d: Likewise.
1265 * testsuite/ld-elf/pr17615.d: Likewise.
1266 * testsuite/ld-elf/eh-frame-hdr.d: Removed from xfail.
1267 * testsuite/ld-elf/group3b.d: Likewise.
1268 * testsuite/ld-srec/srec.exp: Likewise.
1269 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark ARC
1271 (check_shared_lib_support): Mark ARC as supporting.
1273 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
1275 * emulparams/arcelf.sh: Changed.
1276 * emulparams/arclinux.sh: Likewise.
1277 * scripttempl/arclinux.sc: Moved to a more standard implementation
1280 2016-05-19 Maciej W. Rozycki <macro@imgtec.com>
1282 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Reorder
1283 `ft32-*-*' behind `frv-*-*'.
1285 2016-05-19 Maciej W. Rozycki <macro@imgtec.com>
1287 * configure.tgt: Remove `am34-*-linux*' support.
1289 2016-05-19 Alan Modra <amodra@gmail.com>
1291 * testsuite/ld-scripts/crossref.exp: Remove -mcall-aixdesc hack.
1292 * testsuite/ld-scripts/cross2.t: Tweak .opd and .toc placement.
1293 * testsuite/ld-scripts/cross3.t: Likewise.
1294 * testsuite/ld-scripts/cross4.t: Likewise.
1295 * testsuite/ld-scripts/cross5.t: Likewise.
1296 * testsuite/ld-scripts/cross6.t: Likewise.
1297 * testsuite/ld-scripts/cross7.t: Likewise.
1299 2016-05-19 Alan Modra <amodra@gmail.com>
1301 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Pass in
1302 exe name rather than constructing testname. Fix typo in
1303 sub-test name. Log copying. Use -rpath rather than -R.
1305 2016-05-18 Nick Clifton <nickc@redhat.com>
1307 * scripttempl/ft32.sc: Use fixed constants for memory region
1308 lengths. Include DWARF debug sections.
1309 (.data .bss): Do not assign locations during relocatable links.
1310 * testsuite/ld-elf/compressed1d.d: Skip for FT32.
1311 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
1312 * testsuite/ld-elf/sec64k.exp: Likewise.
1313 * testsuite/ld-elf/init-fini-array.d: XFail for FT32.
1314 * testsuite/ld-elf/merge.d: Likewise.
1315 * testsuite/ld-elf/orphan-region.d: Likewise.
1316 * testsuite/ld-elf/orphan.s: Likewise.
1317 * testsuite/ld-elf/orphan3.d: Likewise.
1318 * testsuite/ld-elf/pr349.d: Likewise.
1319 * testsuite/ld-elf/warn2.d: Likewise.
1320 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Note
1321 that the FT32 does not support shared libraries.
1323 2016-05-17 H.J. Lu <hongjiu.lu@intel.com>
1325 * testsuite/lib/ld-lib.exp (at_least_gcc_version): Check
1328 2016-05-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1330 * scripttempl/avr.sc (text): Place .progmem.data from avr-libc
1332 * scripttempl/avrtiny.sc (text): Likewise.
1334 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
1336 * testsuite/ld-unique/unique.exp: Use `is_elf_format' and
1337 `supports_gnu_unique' to qualify testing.
1339 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
1341 * testsuite/ld-elf/flags1.d: Update the xfail list.
1343 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
1345 * testsuite/ld-elf/flags1.d: Update for `*-*-nacl*' xfail
1348 2016-05-14 H.J. Lu <hongjiu.lu@intel.com>
1351 * testplug2.c (onall_symbols_read): Remove redundant sizeof
1352 on EXPECTED_VIEW_LENGTH.
1353 * testplug4.c (onall_symbols_read): Likewise.
1355 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
1358 * testsuite/ld-x86-64/pr20093-1.d: New file.
1359 * testsuite/ld-x86-64/pr20093-1.s: Likewise.
1360 * testsuite/ld-x86-64/pr20093-2.d: Likewise.
1361 * testsuite/ld-x86-64/pr20093-2.s: Likewise.
1362 * testsuite/ld-x86-64/x86-64.exp: Run pr20093-1 and pr20093-2.
1364 2016-05-13 Alan Modra <amodra@gmail.com>
1366 * testsuite/ld-arm/arm-elf.exp: Adjust for arm-no-rel-plt now passing.
1367 Use different output file name for static app without .rel.plt.
1368 * testsuite/ld-arm/arm-no-rel-plt.ld: Align .rel.dyn and .rela.dyn.
1369 * testsuite/ld-arm/arm-no-rel-plt.out: Delete.
1370 * testsuite/ld-arm/arm-no-rel-plt.r: New.
1371 * testsuite/ld-arm/arm-static-app.d: Don't check file name.
1372 * testsuite/ld-arm/arm-static-app.r: Likewise.
1374 2016-05-12 H.J. Lu <hongjiu.lu@intel.com>
1377 * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug4.la.
1378 (libldtestplug4_la_SOURCES): New.
1379 (libldtestplug4_la_CFLAGS): Likewise.
1380 (libldtestplug4_la_LDFLAGS): Likewise.
1381 * Makefile.in: Regenerated.
1382 * plugin.c (get_symbols): Return resolution based on IR symbol
1383 kinds for symbols defined/referenced only within IR.
1384 * testplug4.c: New file.
1385 * ld/testsuite/ld-plugin/pr20070.d: Likewise.
1386 * ld/testsuite/ld-plugin/pr20070a.c: Likewise.
1387 * ld/testsuite/ld-plugin/pr20070b.c: Likewise.
1388 * testsuite/ld-plugin/plugin.exp (plugin4_name): New.
1389 (plugin4_path): Likewise.
1390 Add a test for ld/20070.
1392 2016-05-11 Alan Modra <amodra@gmail.com>
1394 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
1395 Call elf32_hppa_init_stub_bfd.
1397 2016-05-11 Alan Modra <amodra@gmail.com>
1400 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
1401 * testsuite/ld-powerpc/tlsdll.s: New.
1402 * testsuite/ld-powerpc/tlsdll.ver: New.
1403 * testsuite/ld-powerpc/tlsdll_32.s: New.
1404 * testsuite/ld-powerpc/tlsopt5.d: New.
1405 * testsuite/ld-powerpc/tlsopt5.s: New.
1406 * testsuite/ld-powerpc/tlsopt5_32.d: New.
1407 * testsuite/ld-powerpc/tlsopt5_32.s: New.
1409 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1411 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Use
1412 ARM_GET_SYM_BRANCH_TYPE to get branch type of a symbol.
1414 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1416 * emultempl/armelf.em (elf32_arm_add_stub_section): Add output_section
1417 parameter and rename input_section parameter to after_input_section.
1418 Append input stub section to the output section if after_input_section
1421 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1423 * testsuite/ld-arm/arm-elf.exp (EABI attribute merging 10 (DSP)): New
1425 * testsuite/ld-arm/attr-merge-10b-dsp.s: New file.
1426 * testsuite/ld-arm/attr-merge-10-dsp.attr: Likewise.
1428 2016-05-10 Christophe Lyon <christophe.lyon@linaro.org>
1430 * ld/testsuite/ld-elf/flags1.d (xfail): Remove *-*-nacl*".
1432 2016-05-09 Christophe Monat <christophe.monat@st.com>
1435 * testsuite/ld-arm/arm-elf.exp: Run new stm32l4xx-fix-vldm-dp
1436 tests. Fix misnamed stm32l4xx-fix-all.
1437 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.s: New tests for multiple
1438 loads with DP registers.
1439 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.d: New reference file.
1440 * testsuite/ld-arm/stm32l4xx-fix-vldm.s: Add missing comment.
1441 * testsuite/ld-arm/stm32l4xx-fix-all.s: Add tests for multiple
1442 loads with DP registers.
1443 * testsuite/ld-arm/stm32l4xx-fix-all.d: Update reference.
1445 2016-05-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
1447 * testsuite/ld-elf/flags1.d (readelf): Dump section header instead
1449 (xfail): Remove avr-*-*.
1450 Update regex to check the section flags.
1451 * testsuite/ld-elf/merge.d (xfail): Remove avr-*-*.
1453 2016-05-09 Alan Modra <amodra@gmail.com>
1455 * Makefile.am (ealphavms.c, eelf64_ia64_vms): Correct .em deps.
1456 * Makefile.in: Regenerate.
1458 2016-05-09 Alan Modra <amodra@gmail.com>
1460 * testsuite/ld-scripts/pr14962-2.t: Match .text, not *.text.
1461 * testsuite/ld-scripts/rgn-at5.t: Similarly, .sec not *.sec.
1462 * testsuite/ld-scripts/section-match-1.t: Likewise.
1464 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
1467 * testsuite/ld-elf/pr17550-1.s: New file.
1468 * testsuite/ld-elf/pr17550-2.s: Likewise.
1469 * testsuite/ld-elf/pr17550-3.s: Likewise.
1470 * testsuite/ld-elf/pr17550-4.s: Likewise.
1471 * testsuite/ld-elf/pr17550a.d: Likewise.
1472 * testsuite/ld-elf/pr17550b.d: Likewise.
1473 * testsuite/ld-elf/pr17550c.d: Likewise.
1474 * testsuite/ld-elf/pr17550d.d: Likewise.
1476 2016-05-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1478 * ld/testsuite/ld-srec/srec.exp: Mark test as XFAIL for AVR.
1480 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
1482 * testsuite/ld-i386/i386.exp: Run load7.
1483 * testsuite/ld-i386/load7.d: New file.
1484 * testsuite/ld-i386/load7.map: Likewise.
1485 * testsuite/ld-i386/load7.s: Likewise.
1486 * testsuite/ld-x86-64/load2.d: Likewise.
1487 * testsuite/ld-x86-64/load2.map: Likewise.
1488 * testsuite/ld-x86-64/load2.s: Likewise.
1489 * testsuite/ld-x86-64/x86-64.exp: Run load2.
1491 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
1493 * emulparams/elf_iamcu.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): New.
1494 * emulparams/elf_k1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1496 * emulparams/elf_l1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1499 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
1501 * testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld.
1503 2016-05-04 H.J. Lu <hongjiu.lu@intel.com>
1505 * ldlang.c (init_os): Pass %E to einfo when bfd_section == NULL.
1507 2016-05-04 Maciej W. Rozycki <macro@imgtec.com>
1509 * testsuite/ld-unique/unique.d: New test.
1510 * testsuite/ld-unique/unique.exp: Run the new test. Adjust
1511 messages for compiled tests.
1513 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1515 * testsuite/ld-elf/pr18735.d: Allow other symbols.
1516 * testsuite/ld-elf/sec64k.exp: Skip 64ksec for avr.
1517 * testsuite/ld-gc/pr14265.d: Allow other symbols.
1518 * testsuite/ld-plugin/plugin.exp: Add PR ld/17973 to
1519 plugin_tests only if check_shared_lib_support is true.
1520 * testsuite/ld-selective/selective.exp: Add --section-start
1523 2016-05-03 Maciej W. Rozycki <macro@imgtec.com>
1526 * testsuite/ld-unique/unique.exp: Also run for `mips*-*-*'.
1528 2016-05-03 Jiong Wang <jiong.wang@arm.com>
1530 * emultempl/aarch64elf.em (--no-apply-dynamic-relocs): New option.
1531 * NEWS: Mention --no-apply-dynamic-relocs.
1532 * ld.texinfo (ld and the ARM family): Document
1533 --no-apply-dynamic-relocs.
1534 * testsuite/ld-aarch64/rela-abs-relative.s: New test source.
1535 * testsuite/ld-aarch64/rela-abs-relative.d: New expected result.
1536 * testsuite/ld-aarch64/rela-abs-relative-be.d: Likewise for big-endian.
1537 * estsuite/ld-aarch64/rela-abs-relative-opt.d: Likewise, but enable new
1540 2016-05-03 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1542 * testsuite/ld-elfcomm/elfcomm.exp: Check for shared lib support
1543 before running STT_COMMON tests.
1545 2016-04-29 H.J. Lu <hongjiu.lu@intel.com>
1547 * config/default.exp (NOPIE_CFLAGS): Download source only on
1549 (NOPIE_LDFLAGS): Likewise.
1550 * testsuite/lib/ld-lib.exp (check_lto_available): Likewise.
1551 (check_lto_fat_available): Likewise.
1552 (check_lto_shared_available): Likewise.
1553 (check_ifunc_available): Likewise.
1554 (check_ifunc_attribute_available): Likewise.
1556 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
1558 * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.
1560 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
1563 * testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
1564 (visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
1567 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
1569 * testsuite/ld-elf/compressed1b.d: Pass
1570 --compress-debug-sections=none to ld.
1571 * testsuite/ld-elf/compressed1c.d: Likewise.
1573 2016-04-27 Alan Modra <amodra@gmail.com>
1576 * configure.tgt: Don't use var+=.
1578 2016-04-25 Nick Clifton <nickc@redhat.com>
1581 * configure.tgt: Include big endian PPC64 emulations with little
1582 endian PPC64 targets.
1584 2016-04-25 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1586 * scripttempl/avrtiny.sc (.text): Do not set LMA to zero.
1588 2016-04-21 H.J. Lu <hongjiu.lu@intel.com>
1590 * testsuite/lib/ld-lib.exp (check_lto_available): Return 1 on
1591 Linux with GCC 4.9 or newer.
1592 (check_lto_fat_available): Likewise.
1593 (check_lto_shared_available): Likewise.
1595 2016-04-21 Nick Clifton <nickc@redhat.com>
1597 * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in
1598 prefernce to _bfd_elf_link_check_relocs. Drop test for ELF
1599 targets. Do not stop the checks when problems are encountered.
1601 2016-04-21 Alan Modra <amodra@gmail.com>
1603 * testsuite/ld-scripts/cross3.t: Add commonly used data
1604 and text section names to output section statements.
1605 * testsuite/ld-scripts/cross4.t: Likewise.
1606 * testsuite/ld-scripts/cross5.t: Likewise.
1607 * testsuite/ld-scripts/cross6.t: Likewise.
1608 * testsuite/ld-scripts/cross7.t: Likewise.
1610 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1612 * ldlang.c (lang_check_relocs): New function.
1613 (lang_process): Call lang_check_relocs after lang_gc_sections.
1614 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
1615 call _bfd_elf_link_check_relocs here.
1617 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1620 * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for
1621 R_386_NONE or R_X86_64_NONE.
1623 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1625 * testsuite/ld-x86-64/pic1.d: New file.
1626 * testsuite/ld-x86-64/pic1.s: Likewise.
1627 * testsuite/ld-x86-64/x86-64.exp: Run pic1.
1629 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1631 * testsuite/ld-x86-64/pie2.d: New file.
1632 * testsuite/ld-x86-64/pie2.s: Likewise.
1633 * testsuite/ld-x86-64/x86-64.exp: Run pie2.
1635 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1638 * testsuite/ld-x86-64/pr19969.d: New file.
1639 * testsuite/ld-x86-64/pr19969a.S: Likewise.
1640 * testsuite/ld-x86-64/pr19969b.S: Likewise.
1641 * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests.
1643 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1645 * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1647 * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1649 * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1651 * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1653 * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1655 * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1657 * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1659 * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1661 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
1662 Set check_relocs_after_open_input to TRUE if
1663 CHECK_RELOCS_AFTER_OPEN_INPUT is yes.
1664 (gld${EMULATION_NAME}_after_open): Call
1665 _bfd_elf_link_check_relocs on all inputs if
1666 check_relocs_after_open_input is TRUE.
1668 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1670 * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
1673 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1675 * emultempl/scoreelf.em: Likewise.
1677 2016-04-19 H.J. Lu <hongjiu.lu@intel.com>
1680 * testsuite/ld-x86-64/pr19719.d: New file.
1681 * testsuite/ld-x86-64/pr19719.s: Likewise.
1682 * testsuite/ld-x86-64/x86-64.exp: Run pr19719.
1684 2016-04-18 Matthew Fortune <matthew.fortune@imgtec.com>
1686 * ld.texinfo: Document NOCROSSREFS_TO script command.
1687 * ldlang.h (struct lang_nocrossrefs): Add onlyfirst field.
1688 (lang_add_nocrossref_to): New prototype.
1689 * ldcref.c (check_local_sym_xref): Use onlyfirst to only look for
1690 symbols defined in the first section.
1691 (check_nocrossref): Likewise.
1692 * ldgram.y (NOCROSSREFS_TO): New script command.
1693 * ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE.
1694 (lang_add_nocrossref_to): New function.
1695 * ldlex.l (NOCROSSREFS_TO): New token.
1696 * NEWS: Mention NOCROSSREFS_TO.
1697 * testsuite/ld-scripts/cross4.t: New file.
1698 * testsuite/ld-scripts/cross5.t: Likewise.
1699 * testsuite/ld-scripts/cross6.t: Likewise.
1700 * testsuite/ld-scripts/cross7.t: Likewise.
1701 * testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO
1704 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
1706 * Makefile.in: Regenerated with automake 1.11.6.
1707 * aclocal.m4: Likewise.
1709 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
1711 * testsuite/ld-arc/arc.exp: New file.
1712 * testsuite/ld-arc/nps-1.s: New file.
1713 * testsuite/ld-arc/nps-1a.d: New file.
1714 * testsuite/ld-arc/nps-1b.d: New file.
1715 * testsuite/ld-arc/nps-1b.err: New file.
1717 2016-04-14 Nick Clifton <nickc@redhat.com>
1720 * testsuite/ld-scripts/script.exp (extract_symbol_test): Add
1721 exceptions for Mingw and Cygwin.
1723 2016-04-13 Andrew Burgess <andrew.burgess@embecosm.com>
1725 * testsuite/lib/ld-lib.exp (run_dump_test): Initialise
1728 2016-04-13 H.J. Lu <hongjiu.lu@intel.com>
1731 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before
1732 tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed
1735 2016-04-11 H.J. Lu <hongjiu.lu@intel.com>
1738 * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
1739 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1740 * testsuite/ld-i386/pr19939.s: New file.
1741 * testsuite/ld-i386/pr19939a.d: Likewise.
1742 * testsuite/ld-i386/pr19939b.d: Likewise.
1743 * testsuite/ld-x86-64/pr19939.s: Likewise.
1744 * testsuite/ld-x86-64/pr19939a.d: Likewise.
1745 * testsuite/ld-x86-64/pr19939b.d: Likewise.
1747 2016-04-09 Oleg Endo <olegendo@gcc.gnu.org>
1749 * emulparams/shelf.sh: Set stack area to 0x3FFFFF00.
1751 2016-04-08 Alan Modra <amodra@gmail.com>
1754 * ldlang.c (maybe_overlays): Delete.
1755 (lang_size_sections_1): Remove code setting maybe_overlays.
1756 (lang_check_section_addresses): Instead detect overlays by
1757 exact match of section VMAs here. Fix memory leak.
1759 2016-04-08 Dan Gisselquist <dgisselq@ieee.org>
1761 * ldlang.c (print_output_section_statement): Show minfo size
1762 in target machine address units.
1763 (print_reloc_statement): Likewise.
1764 (print_padding_statement): Likewise.
1765 (print_data_statement): Likewise. Ensure minimum print_dot
1766 increment of one address unit.
1768 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1770 * emulparams/arc-endianness.sh: Make little endian default choice.
1772 2016-04-07 Nick Clifton <nickc@redhat.com>
1774 * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in
1776 * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise.
1778 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
1780 * emulparams/arc-endianness.sh: New file.
1781 * emulparams/arcebelf.sh: Deleted.
1782 * emulparams/arcebelf_prof.sh: Deleted.
1783 * emulparams/arceblinux.sh: Deleted.
1784 * emulparams/arceblinux_prof.sh: Deleted.
1785 * emulparams/arcelf.sh: Include arc-endinness.sh.
1786 * emulparams/arcelf_prof.sh: Include arc-endinness.sh.
1787 * emulparams/arclinux.sh: Include arc-endinness.sh.
1788 * emulparams/arclinux_prof.sh: Include arc-endinness.sh.
1789 * emulparams/arcv2elf.sh: Include arc-endinness.sh.
1790 * emulparams/arcv2elfx.sh: Include arc-endinness.sh.
1791 * testsuite/ld-elf/compressed1d.d: Update pattern for big and
1792 little endian arc targets.
1793 * testsuite/ld-elf/eh-frame-hdr.d: Likewise.
1794 * testsuite/ld-elf/group1.d: Likewise.
1795 * testsuite/ld-elf/group3b.d: Likewise.
1796 * testsuite/ld-elf/group8a.d: Likewise.
1797 * testsuite/ld-elf/group8b.d: Likewise.
1798 * testsuite/ld-elf/group9a.d: Likewise.
1799 * testsuite/ld-elf/group9b.d: Likewise.
1800 * testsuite/ld-elf/linkonce2.d: Likewise.
1801 * testsuite/ld-elf/pr12851.d: Likewise.
1802 * testsuite/ld-elf/pr12975.d: Likewise.
1803 * testsuite/ld-elf/pr13177.d: Likewise.
1804 * testsuite/ld-elf/pr13195.d: Likewise.
1805 * testsuite/ld-elf/pr17615.d: Likewise.
1806 * testsuite/ld-elf/pr19162.d: Likewise.
1807 * testsuite/ld-elf/sec64k.exp: Likewise.
1808 * testsuite/lib/ld-lib.exp: Likewise.
1810 2016-04-05 Maciej W. Rozycki <macro@imgtec.com>
1813 * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol
1815 * testsuite/ld-cris/tls-e-20a.d: Likewise.
1816 * testsuite/ld-cris/tls-e-21.d: Likewise.
1817 * testsuite/ld-cris/tls-e-23.d: Likewise.
1818 * testsuite/ld-cris/tls-e-80.d: Likewise.
1819 * testsuite/ld-cris/tls-gd-3h.d: Likewise.
1820 * testsuite/ld-cris/tls-leie-19.d: Likewise.
1821 * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test.
1822 * testsuite/ld-mips-elf/export-hidden-ref.sd: New test.
1823 * testsuite/ld-mips-elf/export-internal-ref.sd: New test.
1824 * testsuite/ld-mips-elf/export-protected-ref.sd: New test.
1825 * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source.
1826 * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source.
1827 * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source.
1828 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1830 2016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
1832 * testsuite/ld-discard/extern.d: Removed xfail for ARC.
1833 * testsuite/ld-discard/start.d: Likewise.
1834 * testsuite/ld-discard/static.d: Likewise.
1835 * testsuite/ld-elf/group1.d: Likewise.
1836 * testsuite/ld-elf/group3b.d: Likewise.
1837 * testsuite/ld-elf/orphan-region.d: Likewise.
1838 * testsuite/ld-elf/orphan.d: Likewise.
1839 * testsuite/ld-elf/orphan3.d: Likewise.
1840 * testsuite/ld-elf/pr349.d: Likewise.
1841 * testsuite/ld-elf/warn1.d: Likewise.
1842 * testsuite/ld-elf/warn2.d: Likewise.
1843 * testsuite/ld-elf/warn3.d: Likewise.
1844 * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol
1845 through linker flags.
1846 * testsuite/ld-srec/srec.exp: Set as xfail.
1848 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
1851 * testsuite/ld-i386/pr19827-nacl.rd: New file.
1852 * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
1854 2016-04-04 Nick Clifton <nickc@redhat.com>
1857 * emultempl/pe.em (change_undef): New function. Encapsulates
1858 duplicated code in pe_fixup_stdcalls and adds the newly defined
1859 sym to the gc root list.
1860 (pe_fixup_stdcall): Use the new function.
1861 * pe-dll.c (process_def_file_and_drectve); Add alias of exported
1862 symbol to gc root list.
1864 2016-03-31 Alan Modra <amodra@gmail.com>
1866 * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.
1867 (lang_insert_orphan): Use TO_ADDR in __stop sym calculation.
1868 (print_input_section): Don't use TO_ADDR when printing section
1870 (lang_size_sections_1): Use TO_ADDR in overlay lma calculation.
1871 (lang_size_sections): Use TO_ADDR in relro end calculation.
1873 2016-03-30 Andrew Burgess <andrew.burgess@embecosm.com>
1875 * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return
1876 value from regexp_diff.
1877 * testsuite/ld-elf/orphan-5.l: Fix expected output.
1878 * testsuite/ld-elf/orphan-6.l: Likewise.
1880 2016-03-30 Alan Modra <amodra@gmail.com>
1883 * ldlang.c (maybe_overlays): New static var.
1884 (lang_size_sections_1): Set it here.
1885 (struct check_sec): New.
1886 (sort_sections_by_lma): Adjust for array of structs.
1887 (sort_sections_by_vma): New function.
1888 (lang_check_section_addresses): Check both LMA and VMA for overlap.
1889 * testsuite/ld-scripts/rgn-over7.d: Adjust.
1891 2016-03-30 Alan Modra <amodra@gmail.com>
1893 * ldlang.c (lang_size_sections_1): Correct code detecting a
1894 backward non-overlapping move.
1896 2016-03-30 Alan Modra <amodra@gmail.com>
1898 * ldlang.c (IS_TBSS): New macro, extracted from..
1899 (IGNORE_SECTION): ..here.
1900 (lang_size_sections_1): Use IS_TBSS and IGNORE_SECTION.
1901 (lang_size_sections, lang_do_assignments_1): Use IS_TBSS.
1903 2016-03-22 Nick Clifton <nickc@redhat.com>
1906 * ldlang.c (lang_add_gc_name): New function. Adds the provided
1907 symbol name to the list of gc symbols.
1908 (lang_process): Call lang_add_gc_name with entry_symbol_default if
1909 entry_symbol.name is NULL. Use lang_add_gc_name to add the init
1910 and fini function names.
1911 * pe-dll.c (process_def_file_and_drectve): Add exported names to
1913 * testsuite/ld-pe/pr19803.s: Do not export _testval symbol.
1914 * testsuite/ld-pe/pr19803.d: Tweak expected output.
1916 2016-03-22 Nick Clifton <nickc@redhat.com>
1918 * configure: Regenerate.
1920 2016-03-21 Nick Clifton <nickc@redhat.com>
1922 * emultempl/msp430.em: Replace use of alloca with call to xmalloc.
1923 * plugin.c: Likewise.
1924 * pe-dll.c: Likewise.
1926 2016-03-18 Awson <kyrab@mail.ru>
1929 * scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
1931 * scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.
1933 2016-03-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1935 * ld-avr/gc-section-debugline.d: Relax regex check for CU.
1937 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
1940 * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests.
1941 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1942 * testsuite/ld-i386/pr19827.rd: New file.
1943 * testsuite/ld-i386/pr19827a.S: Likewise.
1944 * testsuite/ld-i386/pr19827b.S: Likewise.
1945 * testsuite/ld-x86-64/pr19827.rd: Likewise.
1946 * testsuite/ld-x86-64/pr19827a.S: Likewise.
1947 * testsuite/ld-x86-64/pr19827b.S: Likewise.
1949 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
1952 * Makefile.am (ELF_X86_DEPS): Add
1953 $(srcdir)/emulparams/reloc_overflow.sh.
1954 * Makefile.in: Regenerated.
1955 * NEWS: Mention -z noreloc-overflow.
1956 * ld.texinfo: Document -z noreloc-overflow.
1957 * emulparams/elf32_x86_64.sh: Source
1958 ${srcdir}/emulparams/reloc_overflow.sh.
1959 * emulparams/elf_x86_64.sh: Likewise.
1960 * emulparams/reloc_overflow.sh: New file.
1961 * testsuite/ld-x86-64/pr19807-1.s: New file.
1962 * testsuite/ld-x86-64/pr19807-1a.d: Likewise.
1963 * testsuite/ld-x86-64/pr19807-1b.d: Likewise.
1964 * testsuite/ld-x86-64/pr19807-2.s: Likewise.
1965 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
1966 * testsuite/ld-x86-64/pr19807-2b.d: Likewise.
1967 * testsuite/ld-x86-64/pr19807-2c.d: Likewise.
1968 * testsuite/ld-x86-64/pr19807-2d.d: Likewise.
1969 * testsuite/ld-x86-64/pr19807-2e.d: Likewise.
1970 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19807 tests.
1972 2016-03-13 H.J. Lu <hongjiu.lu@intel.com>
1975 * testsuite/ld-i386/i386.exp: Run pr19539.
1976 * testsuite/ld-i386/pr19539.d: New file.
1977 * testsuite/ld-i386/pr19539.s: Likewise.
1978 * testsuite/ld-i386/pr19539.t: Likewise.
1979 * testsuite/ld-x86-64/pr19539.s: Likewise.
1980 * testsuite/ld-x86-64/pr19539.t: Likewise.
1981 * testsuite/ld-x86-64/pr19539a.d: Likewise.
1982 * testsuite/ld-x86-64/pr19539b.d: Likewise.
1983 * testsuite/ld-x86-64/x86-64.exp: Run pr19539a and pr19539b.
1985 2016-03-10 Mickael Guene <mickael.guene@st.com>
1988 * testsuite/ld-arm/arm-elf.exp: New tests.
1989 * testsuite/ld-arm/thumb1-adds-armv7-m.s: New.
1990 * testsuite/ld-arm/thumb1-movs-armv7-m.s: New.
1992 2016-03-10 Nick Clifton <nickc@redhat.com>
1994 * scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).
1996 2016-03-09 Pedro Alves <palves@redhat.com>
1998 * scripttempl/v850.sc: Use "v850:old-gcc-abi" as OUTPUT_ARCH.
1999 * scripttempl/v850_rh850.sc: Use "v850:rh850" as OUTPUT_ARCH.
2001 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
2004 * testsuite/ld-elf/pr19789.d: New file.
2005 * testsuite/ld-elf/pr19789.s: Likewise.
2007 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
2010 * testsuite/ld-i386/i386.exp: Remove pr19636-2e-nacl test.
2011 * testsuite/ld-i386/pr19636-2e-nacl.d: Moved to ...
2012 * testsuite/ld-i386/pr19636-2e.d: Here. Remove notarget.
2013 * testsuite/ld-ifunc/ifunc.exp: Run PR ld/19784 tests.
2014 * testsuite/ld-ifunc/pass.out: New file.
2015 * testsuite/ld-ifunc/pr19784a.c: Likewise.
2016 * testsuite/ld-ifunc/pr19784b.c: Likewise.
2017 * testsuite/ld-ifunc/pr19784c.c: Likewise.
2019 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
2022 * testsuite/ld-ifunc/ifunc.exp: Link tmpdir/pr18808a.o before
2023 tmpdir/libpr18808.so. Link tmpdir/pr18841a.o before
2024 tmpdir/libpr18841b.so and tmpdir/libpr18841c.so. Test
2025 --as-needed for pr18841c.
2027 2016-03-07 H.J. Lu <hongjiu.lu@intel.com>
2030 * testsuite/ld-i386/i386.exp: Link tmpdir/pr18900.o before
2031 tmpdir/pr18900.so and test --as-needed. Link tmpdir/gotpc1.o
2032 before tmpdir/got1d.so and test --as-needed.
2033 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr18900.o before
2034 tmpdir/pr18900.so and test --as-needed.
2036 2016-03-07 Jiong Wang <jiong.wang@arm.com>
2038 * testsuite/ld-aarch64/implicit_got_section_1.s: New test source file.
2039 * testsuite/ld-aarch64/implicit_got_section_1.d: New test expected
2041 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
2043 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
2045 * testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o
2046 before tmpdir/copyreloc-lib.so and test --as-needed.
2047 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2049 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
2052 * testsuite/ld-elf/pr19579a.c: New file.
2053 * testsuite/ld-elf/pr19579b.c: Likewise.
2054 * testsuite/ld-elf/shared.exp: Run PR ld/19579 test.
2056 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
2058 * testsuite/ld-elf/pr19162.d: Skip hppa-*-*.
2060 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
2062 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Add xfails.
2063 Xfail mix_pic_and_non_pic on "arm*-*-*" "aarch64*-*-*".
2065 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
2068 * emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other
2069 input sections for relocatable link.
2070 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
2071 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
2073 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
2076 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
2077 merge flags of other input sections for relocatable link.
2079 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
2081 * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6.
2083 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
2085 * testsuite/ld-elf/pr19162.d: Skip arc target.
2087 2016-02-29 H.J. Lu <hongjiu.lu@intel.com>
2090 * testsuite/ld-elf/pr19162.d: New file.
2091 * testsuite/ld-elf/pr19162a.s: Likwise.
2092 * testsuite/ld-elf/pr19162b.s: Likwise.
2094 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
2096 * testsuite/ld-elf/merge.d: Removed xfail for ARC.
2097 * testsuite/ld-elf/merge2.d: Likewise.
2098 * testsuite/ld-elf/merge3.d: Likewise.
2100 2016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
2102 * scripttempl/arclinux.sc: Force .tdata and .tbss to always be
2105 2016-02-26 Renlin Li <renlin.li@arm.com>
2107 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
2108 * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
2109 * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
2110 * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
2111 * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
2112 * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
2113 * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
2114 * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
2115 * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
2116 * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.
2118 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
2121 * testsuite/ld-i386/got1.dd: Updated.
2122 * testsuite/ld-i386/lea1c.d: Likewise.
2123 * testsuite/ld-i386/load1-nacl.d: Likewise.
2124 * testsuite/ld-i386/load1.d: Likewise.
2125 * testsuite/ld-i386/load4b.d: Likewise.
2126 * testsuite/ld-i386/load5b.d: Likewise.
2127 * testsuite/ld-i386/mov1b.d: Likewise.
2128 * testsuite/ld-x86-64/mov1b.d: Likewise.
2129 * testsuite/ld-x86-64/mov1d.d: Likewise.
2130 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
2131 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
2132 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
2133 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
2134 * testsuite/ld-x86-64/gotpcrel1.dd: Likewise.
2135 * testsuite/ld-x86-64/lea1a.d: Likewise.
2136 * testsuite/ld-x86-64/lea1b.d: Likewise.
2137 * testsuite/ld-x86-64/lea1c.d: Likewise.
2138 * testsuite/ld-x86-64/lea1d.d: Likewise.
2139 * testsuite/ld-x86-64/lea1e.d: Likewise.
2140 * testsuite/ld-x86-64/lea1f.d: Likewise.
2141 * testsuite/ld-x86-64/mov1b.d: Likewise.
2142 * testsuite/ld-x86-64/mov1d.d: Likewise.
2143 * testsuite/ld-x86-64/pr13082-3b.d: Likewise.
2144 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
2145 * testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
2146 * testsuite/ld-i386/pr19609-1.s: New file.
2147 * testsuite/ld-i386/pr19609-1a.d: Likewise.
2148 * testsuite/ld-i386/pr19609-1b.d: Likewise.
2149 * testsuite/ld-i386/pr19609-1c.d: Likewise.
2150 * testsuite/ld-i386/pr19609-1d.d: Likewise.
2151 * testsuite/ld-i386/pr19609-1e.d: Likewise.
2152 * testsuite/ld-i386/pr19609-1f.d: Likewise.
2153 * testsuite/ld-i386/pr19609-1g.d: Likewise.
2154 * testsuite/ld-i386/pr19609-1h.d: Likewise.
2155 * testsuite/ld-i386/pr19609-1i.d: Likewise.
2156 * testsuite/ld-i386/pr19609-2.s: Likewise.
2157 * testsuite/ld-i386/pr19609-2a.d: Likewise.
2158 * testsuite/ld-i386/pr19609-2b.d: Likewise.
2159 * testsuite/ld-i386/pr19609-2c.d: Likewise.
2160 * testsuite/ld-i386/undefweak.s: Likewise.
2161 * testsuite/ld-i386/undefweaka.d: Likewise.
2162 * testsuite/ld-i386/undefweakb.d: Likewise.
2163 * testsuite/ld-x86-64/pr13082-3c.d: Likewise.
2164 * testsuite/ld-x86-64/pr13082-3d.d: Likewise.
2165 * testsuite/ld-x86-64/pr19609-1.s: Likewise.
2166 * testsuite/ld-x86-64/pr19609-1a.d: Likewise.
2167 * testsuite/ld-x86-64/pr19609-1b.d: Likewise.
2168 * testsuite/ld-x86-64/pr19609-1c.d: Likewise.
2169 * testsuite/ld-x86-64/pr19609-1d.d: Likewise.
2170 * testsuite/ld-x86-64/pr19609-1e.d: Likewise.
2171 * testsuite/ld-x86-64/pr19609-1f.d: Likewise.
2172 * testsuite/ld-x86-64/pr19609-1g.d: Likewise.
2173 * testsuite/ld-x86-64/pr19609-1h.d: Likewise.
2174 * testsuite/ld-x86-64/pr19609-1i.d: Likewise.
2175 * testsuite/ld-x86-64/pr19609-1j.d: Likewise.
2176 * testsuite/ld-x86-64/pr19609-1k.d: Likewise.
2177 * testsuite/ld-x86-64/pr19609-1l.d: Likewise.
2178 * testsuite/ld-x86-64/pr19609-1m.d: Likewise.
2179 * testsuite/ld-x86-64/pr19609-2.s: Likewise.
2180 * testsuite/ld-x86-64/pr19609-2a.d: Likewise.
2181 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
2182 * testsuite/ld-x86-64/pr19609-2c.d: Likewise.
2183 * testsuite/ld-x86-64/pr19609-2d.d: Likewise.
2184 * testsuite/ld-x86-64/pr19609-3.s: Likewise.
2185 * testsuite/ld-x86-64/pr19609-3a.d: Likewise.
2186 * testsuite/ld-x86-64/pr19609-3b.d: Likewise.
2187 * testsuite/ld-x86-64/pr19609-4.s: Likewise.
2188 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
2189 * testsuite/ld-x86-64/pr19609-4b.d: Likewise.
2190 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
2191 * testsuite/ld-x86-64/pr19609-4d.d: Likewise.
2192 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
2193 * testsuite/ld-x86-64/pr19609-5.s: Likewise.
2194 * testsuite/ld-x86-64/pr19609-5a.d: Likewise.
2195 * testsuite/ld-x86-64/pr19609-5b.d: Likewise.
2196 * testsuite/ld-x86-64/pr19609-5c.d: Likewise.
2197 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
2198 * testsuite/ld-x86-64/pr19609-5e.d: Likewise.
2199 * testsuite/ld-x86-64/pr19609-6.s: Likewise.
2200 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
2201 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
2202 * testsuite/ld-x86-64/pr19609-6c.d: Likewise.
2203 * testsuite/ld-x86-64/pr19609-6d.d: Likewise.
2204 * testsuite/ld-x86-64/pr19609-7.s: Likewise.
2205 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
2206 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
2207 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
2208 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
2209 * testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
2211 * testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
2212 and tests for PR ld/19609.
2214 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
2217 * NEWS: Mention -z common/-z nocommon for ELF targets.
2218 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
2219 -z common and -z nocommon.
2220 * ld.texinfo: Document -z common/-z nocommon.
2221 * lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
2222 * testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
2223 --elf-stt-common=yes with assembler.
2224 * testsuite/ld-elfcomm/common-1.s: New file.
2225 * testsuite/ld-elfcomm/common-1a.d: Likewise.
2226 * testsuite/ld-elfcomm/common-1b.d: Likewise.
2227 * testsuite/ld-elfcomm/common-1c.d: Likewise.
2228 * testsuite/ld-elfcomm/common-1d.d: Likewise.
2229 * testsuite/ld-elfcomm/common-1e.d: Likewise.
2230 * testsuite/ld-elfcomm/common-1f.d: Likewise.
2231 * testsuite/ld-elfcomm/common-2.s: Likewise.
2232 * testsuite/ld-elfcomm/common-2a.d: Likewise.
2233 * testsuite/ld-elfcomm/common-2b.d: Likewise.
2234 * testsuite/ld-elfcomm/common-2c.d: Likewise.
2235 * testsuite/ld-elfcomm/common-2d.d: Likewise.
2236 * testsuite/ld-elfcomm/common-2e.d: Likewise.
2237 * testsuite/ld-elfcomm/common-2f.d: Likewise.
2238 * testsuite/ld-elfcomm/common-3a.rd: Likewise.
2239 * testsuite/ld-elfcomm/common-3b.rd: Likewise.
2240 * testsuite/ld-i386/pr19645.d: Likewise.
2241 * testsuite/ld-i386/pr19645.s: Likewise.
2242 * testsuite/ld-x86-64/largecomm-1.s: Likewise.
2243 * testsuite/ld-x86-64/largecomm-1a.d: Likewise.
2244 * testsuite/ld-x86-64/largecomm-1b.d: Likewise.
2245 * testsuite/ld-x86-64/largecomm-1c.d: Likewise.
2246 * testsuite/ld-x86-64/largecomm-1d.d: Likewise.
2247 * testsuite/ld-x86-64/largecomm-1e.d: Likewise.
2248 * testsuite/ld-x86-64/largecomm-1f.d: Likewise.
2249 * testsuite/ld-x86-64/pr19645.d: Likewise.
2250 * testsuite/ld-x86-64/pr19645.s: Likewise.
2251 * testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
2253 (assembler_generates_commons): Removed.
2254 Run -z common/-z nocommon tests. Run *.d tests.
2255 * testsuite/ld-i386/i386.exp: Run pr19645.
2256 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2257 * testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
2258 assembler. Test STT_COMMON with readelf.
2260 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
2265 * Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh.
2266 * Makefile.in: Regenerated.
2267 * NEWS: Mention -z nodynamic-undefined-weak.
2268 * ld.texinfo: Document -z nodynamic-undefined-weak.
2269 * ldmain.c (main): Initialize dynamic_undefined_weak to -1.
2270 * emulparams/dynamic_undefined_weak.sh: New file.
2271 * emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh.
2272 * emulparams/elf_i386.sh: Likewise.
2273 * emulparams/elf_i386_be.sh: Likewise.
2274 * emulparams/elf_i386_chaos.sh: Likewise.
2275 * emulparams/elf_i386_ldso.sh: Likewise.
2276 * emulparams/elf_i386_vxworks.sh: Likewise.
2277 * emulparams/elf_iamcu.sh: Likewise.
2278 * emulparams/elf_k1om.sh: Likewise.
2279 * emulparams/elf_l1om.sh: Likewise.
2280 * emulparams/elf_x86_64.sh: Likewise.
2281 * emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS):
2283 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
2284 * testsuite/ld-elf/pr19719a.c: New file.
2285 * testsuite/ld-elf/pr19719b.c: Likewise.
2286 * testsuite/ld-elf/pr19719c.c: Likewise.
2287 * testsuite/ld-elf/pr19719d.c: Likewise.
2288 * testsuite/ld-i386/pr19636-1.s: Likewise.
2289 * testsuite/ld-i386/pr19636-1a.d: Likewise.
2290 * testsuite/ld-i386/pr19636-1b.d: Likewise.
2291 * testsuite/ld-i386/pr19636-1c.d: Likewise.
2292 * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
2293 * testsuite/ld-i386/pr19636-1d.d: Likewise.
2294 * testsuite/ld-i386/pr19636-1e.d: Likewise.
2295 * testsuite/ld-i386/pr19636-1f.d: Likewise.
2296 * testsuite/ld-i386/pr19636-1g.d: Likewise.
2297 * testsuite/ld-i386/pr19636-1h.d: Likewise.
2298 * testsuite/ld-i386/pr19636-1i.d: Likewise.
2299 * testsuite/ld-i386/pr19636-2.s: Likewise.
2300 * testsuite/ld-i386/pr19636-2a.d: Likewise.
2301 * testsuite/ld-i386/pr19636-2b.d: Likewise.
2302 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
2303 * testsuite/ld-i386/pr19636-2c.d: Likewise.
2304 * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
2305 * testsuite/ld-i386/pr19636-2d.d: Likewise.
2306 * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
2307 * testsuite/ld-i386/pr19636-2e.d: Likewise.
2308 * testsuite/ld-i386/pr19636-3.s: Likewise.
2309 * testsuite/ld-i386/pr19636-3a.d: Likewise.
2310 * testsuite/ld-i386/pr19636-3b.d: Likewise.
2311 * testsuite/ld-i386/pr19636-3c.d: Likewise.
2312 * testsuite/ld-i386/pr19636-3d.d: Likewise.
2313 * testsuite/ld-i386/pr19636-3e.d: Likewise.
2314 * testsuite/ld-i386/pr19636-3f.d: Likewise.
2315 * testsuite/ld-i386/pr19636-3g.d: Likewise.
2316 * testsuite/ld-i386/pr19636-4.s: Likewise.
2317 * testsuite/ld-i386/pr19636-4a.d: Likewise.
2318 * testsuite/ld-i386/pr19636-4b.d: Likewise.
2319 * testsuite/ld-i386/pr19636-4c.d: Likewise.
2320 * testsuite/ld-i386/pr19636-4d.d: Likewise.
2321 * testsuite/ld-i386/pr19704.out: Likewise.
2322 * testsuite/ld-i386/pr19704a.c: Likewise.
2323 * testsuite/ld-i386/pr19704b.c: Likewise.
2324 * testsuite/ld-x86-64/pr19636-1.s: Likewise.
2325 * testsuite/ld-x86-64/pr19636-1a.d: Likewise.
2326 * testsuite/ld-x86-64/pr19636-1b.d: Likewise.
2327 * testsuite/ld-x86-64/pr19636-1c.d: Likewise.
2328 * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
2329 * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
2330 * testsuite/ld-x86-64/pr19636-1f.d: Likewise.
2331 * testsuite/ld-x86-64/pr19636-1g.d: Likewise.
2332 * testsuite/ld-x86-64/pr19636-2.s: Likewise.
2333 * testsuite/ld-x86-64/pr19636-2a.d: Likewise.
2334 * testsuite/ld-x86-64/pr19636-2b.d: Likewise.
2335 * testsuite/ld-x86-64/pr19636-2c.d: Likewise.
2336 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
2337 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
2338 * testsuite/ld-x86-64/pr19636-2e.d: Likewise.
2339 * testsuite/ld-x86-64/pr19636-2f.d: Likewise.
2340 * testsuite/ld-x86-64/pr19636-2g.d: Likewise.
2341 * testsuite/ld-x86-64/pr19636-2h.d: Likewise.
2342 * testsuite/ld-x86-64/pr19636-2i.d: Likewise.
2343 * testsuite/ld-x86-64/pr19636-3.s: Likewise.
2344 * testsuite/ld-x86-64/pr19636-3a.d: Likewise.
2345 * testsuite/ld-x86-64/pr19636-3b.d: Likewise.
2346 * testsuite/ld-x86-64/pr19636-3c.d: Likewise.
2347 * testsuite/ld-x86-64/pr19636-3d.d: Likewise.
2348 * testsuite/ld-x86-64/pr19704.out: Likewise.
2349 * testsuite/ld-x86-64/pr19704a.c: Likewise.
2350 * testsuite/ld-x86-64/pr19704b.c: Likewise.
2351 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New.
2352 Run mix_pic_and_non_pic.
2353 * testsuite/ld-i386/i386.exp (undefined_weak): New.
2354 Run undefined_weak and PR ld/19636 tests.
2355 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2356 * testsuite/ld-x86-64/pr13082-3b.d: Updated.
2357 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
2359 2016-02-25 Nick Clifton <nickc@redhat.com>
2361 * ld.h (struct ld_config_type): Remove specified_data_size field.
2363 2016-02-24 H.J. Lu <hongjiu.lu@intel.com>
2366 * testsuite/ld-elf/pr19698.d: New file.
2367 * testsuite/ld-elf/pr19698.s: Likewise.
2368 * testsuite/ld-elf/pr19698.t: Likewise.
2370 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
2372 * Makefile.am (ELF_X86_DEPS): New.
2373 (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS).
2374 (eelf_i386_chaos.c): Likewise.
2375 (eelf_i386_fbsd.c): Likewise.
2376 (eelf_i386_ldso.c): Likewise.
2377 (eelf_i386_nacl.c): Likewise.
2378 (eelf_i386_sol2.c): Likewise.
2379 (eelf_iamcu.c): Likewise.
2380 (eelf32_x86_64.c): Likewise.
2381 (eelf32_x86_64_nacl.c): Likewise.
2382 (eelf_l1om.c): Likewise.
2383 (eelf_l1om_fbsd.c): Likewise.
2384 (eelf_k1om.c): Likewise.
2385 (eelf_k1om_fbsd.c): Likewise.
2386 (eelf_x86_64.c): Likewise.
2387 (eelf_x86_64_cloudabi.c): Likewise.
2388 (eelf_x86_64_fbsd.c): Likewise.
2389 (eelf_x86_64_sol2.c): Likewise.
2390 * Makefile.in: Regenerated.
2392 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
2394 * testsuite/ld-frv/fdpic-pie-6.d: Updated.
2395 * testsuite/ld-mips-elf/pie-n32.d: Likewise.
2396 * testsuite/ld-mips-elf/pie-n64.d: Likewise.
2397 * testsuite/ld-mips-elf/pie-o32.d: Likewise.
2399 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
2401 * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
2403 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
2405 * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
2406 *-*-gnu* and *-*-solaris*.
2407 * testsuite/ld-elf/pr19617b.d: Likewise.
2408 * testsuite/ld-elf/pr19617c.d: Likewise.
2410 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
2413 * testsuite/ld-elf/pr19617.s: New file.
2414 * testsuite/ld-elf/pr19617a.d: Likewise.
2415 * testsuite/ld-elf/pr19617b.d: Likewise.
2416 * testsuite/ld-elf/pr19617c.d: Likewise.
2418 2016-02-18 Nick Clifton <nickc@redhat.com>
2420 * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
2421 in-tree xg++ executable after checking for the presence of an
2422 in-tree g++ executable.
2423 * Makefile.in: Regenerate.
2425 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
2427 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
2428 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
2429 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
2431 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
2433 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
2434 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
2435 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
2436 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
2437 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
2438 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
2439 * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
2440 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
2441 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
2442 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
2443 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
2444 * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
2445 * testsuite/ld-x86-64/load1c.d: Likewise.
2446 * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
2447 * testsuite/ld-x86-64/load1d.d: Likewise.
2448 * testsuite/ld-x86-64/pr14207.d: Likewise.
2449 * testsuite/ld-x86-64/pr19162.d: Likewise.
2450 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
2451 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
2452 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
2453 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
2454 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
2455 * testsuite/ld-x86-64/tlspic.rd: Likewise.
2457 2016-02-17 Nick Clifton <nickc@redhat.com>
2459 * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
2461 2016-02-15 Nick Clifton <nickc@redhat.com>
2463 * testsuite/ld-i386/pr12718.d: Remove dependency upon the
2464 description of the flags produced by readelf.
2465 * testsuite/ld-i386/pr12921.d: Likewise.
2466 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
2467 * testsuite/ld-i386/tlsbin.rd: Likewise.
2468 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
2469 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
2470 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
2471 * testsuite/ld-i386/tlsdesc.rd: Likewise.
2472 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
2473 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
2474 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
2475 * testsuite/ld-i386/tlsnopic.rd: Likewise.
2476 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
2477 * testsuite/ld-i386/tlspic.rd: Likewise.
2478 * testsuite/ld-s390/tlsbin.rd: Likewise.
2479 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
2480 * testsuite/ld-s390/tlspic.rd: Likewise.
2481 * testsuite/ld-s390/tlspic_64.rd: Likewise.
2482 * testsuite/ld-sh/tlsbin-2.d: Likewise.
2483 * testsuite/ld-sh/tlspic-2.d: Likewise.
2484 * testsuite/ld-tic6x/common.d: Likewise.
2485 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
2486 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
2487 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
2488 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
2489 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
2490 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
2491 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
2492 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
2493 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
2494 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
2495 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
2496 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
2497 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
2498 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
2499 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
2500 * testsuite/ld-x86-64/pr12718.d: Likewise.
2501 * testsuite/ld-x86-64/pr12921.d: Likewise.
2502 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
2503 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
2504 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
2505 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
2506 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
2507 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
2508 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
2509 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
2510 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
2511 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
2512 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
2513 * testsuite/ld-x86-64/tlspic.rd: Likewise.
2514 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
2515 * testsuite/ld-xtensa/tlspic.rd: Likewise.
2517 2016-02-11 H.J. Lu <hongjiu.lu@intel.com>
2520 * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
2522 * lexsup.c (parse_args): Enable -Bsymbolic and
2523 -Bsymbolic-functions for PIE.
2524 * testsuite/ld-i386/i386.exp: Run pr19615.
2525 * testsuite/ld-i386/pr19615.d: New file.
2526 * testsuite/ld-i386/pr19615.s: Likewise.
2527 * testsuite/ld-x86-64/pr19615.d: Likewise.
2528 * testsuite/ld-x86-64/pr19615.s: Likewise.
2530 2016-02-09 Nick Clifton <nickc@redhat.com>
2532 * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
2533 * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
2534 * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
2535 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
2537 2016-02-04 Nick Clifton <nickc@redhat.com>
2539 * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
2540 * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
2541 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
2542 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
2543 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
2544 * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
2545 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
2546 * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
2547 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
2549 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2552 * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
2553 * testsuite/ld-i386/call1.d: Likewise.
2554 * testsuite/ld-i386/call2.d: Likewise.
2555 * testsuite/ld-i386/call3a.d: Likewise.
2556 * testsuite/ld-i386/call3b.d: Likewise.
2557 * testsuite/ld-i386/call3c.d: Likewise.
2558 * testsuite/ld-i386/call3d.d: Likewise.
2559 * testsuite/ld-i386/call3e.d: Likewise.
2560 * testsuite/ld-i386/call3f.d: Likewise.
2561 * testsuite/ld-i386/call3g.d: Likewise.
2562 * testsuite/ld-i386/call3h.d: Likewise.
2563 * testsuite/ld-i386/jmp1.d: Likewise.
2564 * testsuite/ld-i386/jmp2.d: Likewise.
2565 * testsuite/ld-i386/lea1c.d: Likewise.
2566 * testsuite/ld-i386/load1.d: Likewise.
2567 * testsuite/ld-i386/load2.d: Likewise.
2568 * testsuite/ld-i386/load3.d: Likewise.
2569 * testsuite/ld-i386/load4a.d: Likewise.
2570 * testsuite/ld-i386/load5a.d: Likewise.
2571 * testsuite/ld-i386/mov2b.d: Likewise.
2572 * testsuite/ld-i386/mov3.d: Likewise.
2573 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
2574 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
2575 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
2576 * testsuite/ld-x86-64/call1a.d: Likewise.
2577 * testsuite/ld-x86-64/call1b.d: Likewise.
2578 * testsuite/ld-x86-64/call1c.d: Likewise.
2579 * testsuite/ld-x86-64/call1d.d: Likewise.
2580 * testsuite/ld-x86-64/call1e.d: Likewise.
2581 * testsuite/ld-x86-64/call1f.d: Likewise.
2582 * testsuite/ld-x86-64/call1h.d: Likewise.
2583 * testsuite/ld-x86-64/call1i.d: Likewise.
2584 * testsuite/ld-x86-64/load1a.d: Likewise.
2585 * testsuite/ld-x86-64/load1b.d: Likewise.
2586 * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
2587 * testsuite/ld-i386/got1.dd: Updated.
2588 * testsuite/ld-i386/got1d.S (1): Removed.
2589 * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
2590 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2592 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
2595 * testsuite/ld-x86-64/pr18591.d: New file.
2596 * testsuite/ld-x86-64/pr18591.s: Likewise.
2597 * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
2599 2016-02-01 H.J. Lu <hongjiu.lu@intel.com>
2602 * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
2603 * testsuite/ld-elf/pr19553.map: New file.
2604 * testsuite/ld-elf/pr19553.map: Likewise.
2605 * testsuite/ld-elf/pr19553a.c: Likewise.
2606 * testsuite/ld-elf/pr19553b.c: Likewise.
2607 * testsuite/ld-elf/pr19553b.out: Likewise.
2608 * testsuite/ld-elf/pr19553c.c: Likewise.
2609 * testsuite/ld-elf/pr19553c.out: Likewise.
2610 * testsuite/ld-elf/pr19553d.c: Likewise.
2611 * testsuite/ld-elf/pr19553d.out: Likewise.
2613 2016-01-30 H.J. Lu <hongjiu.lu@intel.com>
2616 * testsuite/ld-elf/pr19539.d: New file.
2617 * testsuite/ld-elf/pr19539.s: Likewise.
2618 * testsuite/ld-elf/pr19539.t: Likewise.
2620 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
2623 * configure.ac (compressed_debug_sections): Replace == with =.
2624 * configure: Regenerated.
2626 2016-01-22 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2628 * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
2629 * scripttempl/avrtiny.sc (.noinit): Likewise.
2631 2016-01-21 Nick Clifton <nickc@redhat.com>
2634 * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
2635 the arm-netbsdelf target.
2638 * testsuite/ld-arm/vxworks1-lib.dd: Update for current
2639 disassmebler output.
2640 * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
2641 * testsuite/ld-arm/vxworks1.dd: Likewise.
2642 * testsuite/ld-arm/vxworks1.rd: Likewise.
2643 * testsuite/ld-arm/vxworks1.ld: Set the output format.
2645 2016-01-20 Jiong Wang <jiong.wang@arm.com>
2647 * testsuite/ld-aarch64/farcall-section.d: Delete.
2648 * testsuite/ld-aarch64/farcall-section.s: Delete.
2649 * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
2650 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
2651 * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
2652 * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
2653 * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
2655 2016-01-20 Nick Clifton <nickc@redhat.com>
2658 * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
2659 early for PE based targets.
2660 * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
2661 * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
2663 2016-01-20 Mickael Guene <mickael.guene@st.com>
2665 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
2666 Add 'y' attribute usage.
2667 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
2668 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
2669 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
2671 2016-01-19 Nick Clifton <nickc@redhat.com>
2673 * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
2674 foo@FOO and bar@@FOO.
2676 2016-01-18 Alan Modra <amodra@gmail.com>
2678 * configure: Regenerate.
2680 2016-01-18 Nick Clifton <nickc@redhat.com>
2682 * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
2683 is not configured to support plugins.
2685 * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
2686 but with 16 byte section alignment.
2687 * testsuite/ld-scripts/rgn-at11.d: Use new source file. Reenable
2688 test for MIPS targets.
2690 2016-01-17 Alan Modra <amodra@gmail.com>
2692 * configure: Regenerate.
2694 2016-01-17 Alan Modra <amodra@gmail.com>
2696 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
2697 * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
2698 * testsuite/ld-elf/pr14156a.d: Likewise.
2699 * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
2700 * testsuite/ld-elf/sec64k.exp: Likewise.
2702 2016-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
2704 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
2705 Set address of .foo section when linking.
2706 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
2708 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
2709 output to the above changes.
2711 2016-01-13 Nick Clifton <nickc@redhat.com>
2713 * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
2716 * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
2717 fail for MIPS targets.
2719 * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
2722 2016-01-12 Yury Usishchev <y.usishchev@samsung.com>
2724 * testsuite/ld-arm/arm-elf.exp: New test.
2725 * testsuite/ld-arm/unwind-mix.d: New file.
2726 * testsuite/ld-arm/unwind-mix1.s: New file.
2727 * testsuite/ld-arm/unwind-mix2.s: New file.
2729 2016-01-08 Jiong Wang <jiong.wang@arm.com>
2732 * testsuite/ld-arm/ifunc-3.rd: Update expected result.
2733 * testsuite/ld-arm/ifunc-4.rd: Likewise.
2734 * testsuite/ld-arm/ifunc-9.rd: Likewise.
2735 * testsuite/ld-arm/ifunc-10.rd: Likewise.
2736 * testsuite/ld-arm/ifunc-12.rd: Likewise.
2737 * testsuite/ld-arm/ifunc-13.rd: Likewise.
2739 2016-01-05 Nick Clifton <nickc@redhat.com>
2741 * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
2742 MSP430 hardware multiply address range.
2743 * scripttempl/elf32msp430.sc (__romdatastart): Define.
2744 (__romdatacopysize): Define.
2745 * scripttempl/elf32msp430_3.sc: Likewise.
2747 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
2749 * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
2750 OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
2752 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
2754 * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
2755 messages expected according to MIPS BFD private data merge
2757 * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
2758 * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
2759 * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
2760 * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
2761 * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
2762 * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
2763 * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
2764 * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
2765 * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
2766 * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
2767 * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
2768 * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
2769 * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
2771 2016-01-01 Alan Modra <amodra@gmail.com>
2773 Update year range in copyright notice of all files.
2775 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
2777 Copyright (C) 2016 Free Software Foundation, Inc.
2779 Copying and distribution of this file, with or without modification,
2780 are permitted in any medium without royalty provided the copyright
2781 notice and this notice are preserved.
2787 version-control: never