1 2016-12-21 Alan Modra <amodra@gmail.com>
3 * testsuite/ld-scripts/sysroot-prefix.exp: Fix chars with high bit set.
5 2016-12-16 fincs <fincs.alt1@gmail.com>
7 * ld.texinfo: Document --gc-keep-exported.
8 * ldlex.h (enum option_values): Add OPTION_GC_KEEP_EXPORTED.
9 * lexsup.c (parse_args): Add handling for --gc-keep-exported.
11 2016-12-14 Yury Norov <ynorov@caviumnetworks.com>
13 * ld/testsuite/ld-aarch64/aarch64-elf.exp: Add tests for tiny and
14 small ld-le relaxations in ilp32 mode.
15 * ld/testsuite/ld-aarch64/tls-relax-ld-le-small-ilp32.d: New file.
16 * ld/testsuite/ld-aarch64/tls-relax-ld-le-tiny-ilp32.d: New file.
18 2016-12-13 Jiong Wang <jiong.wang@arm.com>
20 * testsuite/ld-aarch64/aarch64-elf.exp (aarch64_choose_lp64_emul): New
22 (run_dump_test_lp64): New function which pass LP64 mode options to both
23 assembler and linker when building test binary.
24 (aarch64elftests): Remove eh-frame-merge test.
25 (eh-frame-merge-lp64): Restrict eh-frame-merge test to LP64 only.
26 (run_dump_test): Migrate to run_dump_test_lp64 if the test source was
27 written for LP64 only.
28 * testsuite/ld-aarch64/erratum843419.d: Support ILP32 mode.
29 * testsuite/ld-aarch64/farcall-b-defsym.d: Likewise.
30 * testsuite/ld-aarch64/farcall-b-plt.d: Likewise.
31 * testsuite/ld-aarch64/farcall-b.d: Likewise.
32 * testsuite/ld-aarch64/farcall-bl-defsym.d: Likewise.
33 * testsuite/ld-aarch64/farcall-bl-plt.d: Likewise.
34 * testsuite/ld-aarch64/farcall-bl.d: Likewise.
35 * testsuite/ld-aarch64/ifunc-15.d: Likewise.
36 * testsuite/ld-aarch64/ifunc-16.d: Likewise.
37 * testsuite/ld-aarch64/ifunc-5a-local.d: Likewise.
38 * testsuite/ld-aarch64/ifunc-5a.d: Likewise.
39 * testsuite/ld-aarch64/ifunc-5b-local.d: Likewise.
40 * testsuite/ld-aarch64/ifunc-5b.d: Likewise.
41 * testsuite/ld-aarch64/ifunc-5r-local.d: Likewise.
42 * testsuite/ld-aarch64/ifunc-6a.d: Likewise.
43 * testsuite/ld-aarch64/ifunc-6b.d: Likewise.
44 * testsuite/ld-aarch64/ifunc-7a.d: Likewise.
45 * testsuite/ld-aarch64/ifunc-7b.d: Likewise.
46 * testsuite/ld-aarch64/ifunc-8.d: Likewise.
47 * testsuite/ld-aarch64/limit-b.d: Likewise.
48 * testsuite/ld-aarch64/limit-bl.d: Likewise.
50 2016-12-13 Awson <kyrab@mail.ru>
53 * scripttempl/pe.sc (.fini): KEEP this section.
54 (.gcc_except_table): Likewise.
55 (.pdata): Also accept .pdata*.
57 2016-12-13 Alan Modra <amodra@gmail.com>
59 * testsuite/ld-elf/nobits-1.d: Remove xfail for hppa64.
60 * testsuite/ld-elf/note-1.d: Likewise.
61 * testsuite/ld-elf/note-2.d: Likewise.
63 2016-12-13 Alan Modra <amodra@gmail.com>
65 * testsuite/ld-elf/flags1.d: Run for RX.
66 * testsuite/ld-scripts/phdrs.exp: Likewise.
67 * testsuite/ld-scripts/pr14962.d: Likewise.
68 * testsuite/ld-scripts/pr14962-2.d: Likewise.
70 2016-12-08 Alan Modra <amodra@gmail.com>
72 * configure: Regenerate.
74 2016-12-06 Alan Modra <amodra@gmail.com>
76 * testsuite/ld-powerpc/tocopt7.s,
77 * testsuite/ld-powerpc/tocopt7.out,
78 * testsuite/ld-powerpc/tocopt7.d: New test.
79 * testsuite/ld-powerpc/tocopt8.s,
80 * testsuite/ld-powerpc/tocopt8.d: New test.
81 * testsuite/ld-powerpc/powerpc.exp: Run them.
83 2016-12-05 Nick Clifton <nickc@redhat.com>
86 * ldlex.l: Check for bogus strings in linker scripts.
88 2016-12-05 Alyssa Milburn <amilburn@zall.org>
90 * testsuite/ld-sparc/wdispcall.s: New file.
91 * testsuite/ld-sparc/wdispcall.dd: Likewise.
92 * testsuite/ld-sparc/sparc.exp: Run new test.
94 2016-12-03 Alan Modra <amodra@gmail.com>
96 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Don't call
97 ppc64_elf_restore_symbols.
98 * testsuite/ld-powerpc/dotsym1.d: New.
99 * testsuite/ld-powerpc/dotsym2.d: New.
100 * testsuite/ld-powerpc/dotsym3.d: New.
101 * testsuite/ld-powerpc/dotsym4.d: New.
102 * testsuite/ld-powerpc/dotsymref.s: New.
103 * testsuite/ld-powerpc/nodotsym.s: New.
104 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
106 2016-12-03 Alan Modra <amodra@gmail.com>
108 * testsuite/ld-elf/indirect1b.c: Give dot-symbol a version too.
109 * testsuite/ld-elf/indirect2.c: Likewise.
110 * testsuite/ld-elf/indirect3b.c: Likewise.
111 * testsuite/ld-elf/indirect4b.c: Likewise.
112 * testsuite/ld-elf/pr18718.c: Likewise.
113 * testsuite/ld-elf/pr18720b.c: Likewise.
114 * testsuite/ld-elf/pr19553c.c: Likewise.
115 * testsuite/ld-elfvers/vers.h (FUNC_SYMVER): Define.
116 * testsuite/ld-elfvers/vers1.c: Use FUNC_SYMVER for functions.
117 * testsuite/ld-elfvers/vers4.c: Likewise.
118 * testsuite/ld-elfvers/vers5.c: Likewise.
119 * testsuite/ld-elfvers/vers6.c: Likewise.
120 * testsuite/ld-elfvers/vers7a.c: Likewise.
121 * testsuite/ld-elfvers/vers9.c: Likewise.
122 * testsuite/ld-elfvers/vers15.c: Likewise.
123 * testsuite/ld-elfvers/vers18.c: Likewise.
124 * testsuite/ld-elfvers/vers22a.c: Likewise.
125 * testsuite/ld-elfvers/vers23a.c: Likewise.
126 * testsuite/ld-elfvers/vers27d1.c: Likewise.
127 * testsuite/ld-elfvers/vers21.c: Likewise.
128 (_old_bar): Use attribute weak rather than asm weak.
129 * testsuite/ld-ifunc/pr16467b.c: Give dot-symbol a version.
130 * testsuite/ld-plugin/pr12760b.c: Define warning on .bar rather than
131 bar for ppc64 -mcall-aixdesc.
132 * testsuite/ld-plugin/pr16746a.c: Similarly for foobar.
133 * testsuite/ld-plugin/pr16746b.c: Likewise.
134 * testsuite/ld-elf/shared.exp: Allow dot-symbol in warnings and errors.
135 * testsuite/ld-plugin/lto.exp: Likewise.
136 * testsuite/ld-plugin/plugin-6.d: Likewise.
137 * testsuite/ld-plugin/plugin-7.d: Likewise.
138 * testsuite/ld-plugin/plugin-8.d: Likewise.
139 * testsuite/ld-plugin/plugin-13.d: Likewise.
140 * testsuite/ld-plugin/plugin-14.d: Likewise.
141 * testsuite/ld-plugin/plugin-15.d: Likewise.
142 * testsuite/ld-plugin/plugin-16.d: Likewise.
143 * testsuite/ld-plugin/plugin-20.d: Likewise.
144 * testsuite/ld-plugin/plugin-21.d: Likewise.
145 * testsuite/ld-plugin/plugin-22.d: Likewise.
146 * testsuite/ld-plugin/plugin-23.d: Likewise.
147 * testsuite/ld-plugin/plugin.exp: Define .main and .puts for ppc64
149 * testsuite/ld-elfvers/vers.exp (test_ar): Trim dot-symbols.
150 (objdump_dynsymstuff): Likewise.
151 (objdump_symstuff): Likewise. Pack flags to keep column count
153 * testsuite/ld-elfweak/elfweak.exp (objdump_dynsymstuff,
154 objdump_symstuff): As for vers.exp.
155 * testsuite/ld-elfvers/vers6.sym: Allow dot-symbols.
156 * testsuite/ld-elfvers/vers1.sym: Allow missing F flag for
157 -mcall-aixdesc .opd syms and adjust for flag packing.
158 * testsuite/ld-elfvers/vers4.sym: Likewise.
159 * testsuite/ld-elfvers/vers4a.sym: Likewise.
160 * testsuite/ld-elfvers/vers7a.sym: Likewise.
161 * testsuite/ld-elfvers/vers9.sym: Likewise.
162 * testsuite/ld-elfvers/vers15.sym: Likewise.
163 * testsuite/ld-elfvers/vers18.sym: Likewise.
164 * testsuite/ld-elfvers/vers21.sym: Likewise.
165 * testsuite/ld-elfvers/vers22a.sym: Likewise.
166 * testsuite/ld-elfvers/vers23a.sym: Likewise.
167 * testsuite/ld-elfvers/vers27d.sym: Likewise.
168 * testsuite/ld-elfweak/strong.sym: Likewise.
169 * testsuite/ld-elfweak/strongcomm.sym: Likewise.
170 * testsuite/ld-elfweak/strongdata.sym: Likewise.
172 2016-12-03 Alan Modra <amodra@gmail.com>
174 * testsuite/ld-elfvers/vers.exp (objdump_dynsymstuff): Don't abort
175 on non-empty results with empty expected.
177 2016-12-03 Alan Modra <amodra@gmail.com>
179 * testsuite/ld-cdtest/cdtest-foo.cc: Test for __GNUG__ >= 2.
181 2016-12-03 Alan Modra <amodra@gmail.com>
183 * ldexp.c (try_copy_symbol_type): Remove unnecessary check.
185 2016-12-02 Nick Clifton <nickc@redhat.com>
188 * ldmain.c (main): Prevent evaluation of %<char> sequences when
189 printing out a linker script.
192 * ldctor.c (ldctor_build_sets): Produce alternative error message
193 if the reloc was being applied to a special section.
196 * emultempl/elf32.em (_place_orphan): Test for ELF format of the
197 orphan before looking for the SHF_EXCLUDE flag.
199 2016-12-02 Josh Conner <joshconner@google.com>
201 * Makefile.am: Add dependency information for earmelf_fuchsia.c.
202 * Makefile.in: Regenerate.
203 * configure.tgt: Add support for aarch64-*-fuchsia, arm*-*-fuchsia*, and
204 x86_64-*-fuchsia* targets.
205 * emulparams/armelf_fuchsia.sh: New file.
206 * emulparams/armelfb_fuchsia.sh: New file.
208 2016-12-01 Rudy Y <rudyy.id@gmail.com>
211 * pe-dll.c (make_one): Use the hint if the ordinal is -1.
213 2016-12-01 Yury Norov <ynorov@caviumnetworks.com>
216 * testsuite/ld-aarch64/tls-relax-gd-ie-ilp32.d: New test.
217 * testsuite/ld-aarch64/relocs-ilp32.ld: Linker script for the new
219 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
221 2016-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
223 * emulparams/arclinux_prof.sh: Remove duplicate TEMPLATE_NAME.
225 2016-11-28 Nick Clifton <nickc@redhat.com>
228 * testsuite/ld-elf/loadaddr1.d: Update.
229 * testsuite/ld-powerpc/vle-multiseg-5.d: Update.
230 * testsuite/ld-scripts/phdrs3a.d: Update.
232 2016-11-28 H.J. Lu <hongjiu.lu@intel.com>
234 * testsuite/ld-elf/indirect.exp: Add a test for PR 18720.
235 * testsuite/ld-elf/pr18720.rd: New file.
237 2016-11-27 Alan Modra <amodra@gmail.com>
240 * testsuite/ld-powerpc/vle-multiseg-5.d: Update.
242 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
244 * deffilep.y: Fix spelling in comments.
246 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
248 * scripttempl/ia64vms.sc: Fix spelling in comments.
249 * scripttempl/ip2k.sc: Fix spelling in comments.
250 * scripttempl/v850.sc: Fix spelling in comments.
251 * scripttempl/v850_rh850.sc: Fix spelling in comments.
253 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
255 * emultempl/avrelf.em: Fix spelling in comments.
256 * emultempl/elf32.em: Fix spelling in comments.
257 * emultempl/pe.em: Fix spelling in comments.
258 * emultempl/pep.em: Fix spelling in comments.
259 * emultempl/spuelf.em: Fix spelling in comments.
261 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
263 * testsuite/ld-sh/arch/arch.exp: Fix spelling in comments.
264 * testsuite/ld-sh/rd-sh.exp: Fix spelling in comments.
265 * testsuite/ld-sh/sh64/rd-sh64.exp: Fix spelling in comments.
266 * testsuite/ld-undefined/undefined.exp: Fix spelling in comments.
268 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
270 * testsuite/ld-arm/stm32l4xx-fix-all.s: Fix spelling in comments.
271 * testsuite/ld-arm/thumb2-b-interwork.s: Fix spelling in comments.
272 * testsuite/ld-arm/thumb2-bl.s: Fix spelling in comments.
273 * testsuite/ld-s390/tlspic1.s: Fix spelling in comments.
274 * testsuite/ld-s390/tlspic1_64.s: Fix spelling in comments.
275 * testsuite/ld-scripts/section-match-1.d: Fix spelling in comments.
277 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
279 * deffile.h: Fix spelling in comments.
280 * ld.h: Fix spelling in comments.
281 * ldlang.c: Fix spelling in comments.
282 * ldmisc.c: Fix spelling in comments.
283 * pe-dll.c: Fix spelling in comments.
285 2016-11-24 Jiong Wang <jiong.wang@arm.com>
288 * testsuite/ld-arm/pie-bind-locally-a.s: New test source.
289 * testsuite/ld-arm/pie-bind-locally-b.s: Likewise.
290 * testsuite/ld-arm/pie-bind-locally.d: New testcase.
291 * testsuite/ld-arm/arm-elf.exp: Run new testcase.
293 2016-11-24 Nick Clifton <nickc@redhat.com>
296 * emultempl/elf32.em (_search_needed): Allow for path separator
297 and terminating NUL byte when allocating space for new $ORIGIN
300 2016-11-23 Nick Clifton <nickc@redhat.com>
302 * testsuite/ld-arm/vxworks2.sd: Update expected readelf output.
305 * ld.texinfo: Note that PT_TLS can be used as a segment type.
306 * testsuite/ld-discard/discard.ld: Add space for program headers.
307 * testsuite/ld-elf/flags1.ld: Likewise.
308 * testsuite/ld-elf/maxpage3.t: Likewise.
309 * testsuite/ld-elf/noload-1.t: Likewise.
310 * testsuite/ld-elf/orphan.ld: Likewise.
311 * testsuite/ld-elf/overlay.t: Likewise.
312 * testsuite/ld-elf/pr14052.t: Likewise.
313 * testsuite/ld-elf/pr19539.t: Likewise.
314 * testsuite/ld-elf/provide-hidden-1.ld: Likewise.
315 * testsuite/ld-elf/provide-hidden-s.ld: Likewise.
316 * testsuite/ld-elf/weak-dyn-1.ld: Likewise.
317 * testsuite/ld-i386/pr19539.t: Likewise.
318 * testsuite/ld-scripts/defined.t: Likewise.
319 * testsuite/ld-scripts/defined6.t: Likewise.
320 * testsuite/ld-scripts/dynamic-sections.t: Likewise.
321 * testsuite/ld-scripts/empty-aligned.t: Likewise.
322 * testsuite/ld-scripts/provide-2.t: Likewise.
323 * testsuite/ld-scripts/provide-4.t: Likewise.
324 * testsuite/ld-vax-elf/plt-local.ld: Likewise.
325 * testsuite/ld-x86-64/pr19539.t: Likewise.
326 * testsuite/ld-elf/ehdr_start-missing.d: Do not initialise the
328 * testsuite/ld-elf/ehdr_start-weak.d: Likewise.
329 * testsuite/ld-elf/elf.exp (pr14170, pr17068): Likewise.
330 * testsuite/ld-elf/loadaddr1.d: Update expected readelf output.
331 * testsuite/ld-elf/noload-2.d: Likewise.
332 * testsuite/ld-powerpc/vxworks2.sd: Likewise.
333 * testsuite/ld-scripts/phdrs3a.d: Likewise.
334 * testsuite/ld-scripts/size-2.d: Likewise.
335 * testsuite/ld-elf/group.ld: Add program headers.
336 * testsuite/ld-elf/overlay.d: Skip for SPU.
337 * testsuite/ld-elf/flags1.d: Skip for RX.
338 * testsuite/ld-elf/pr19162.d: Skip for HPPA64.
339 * testsuite/ld-elf/pr19539.d: Skip for ALPHA.
340 * testsuite/ld-scripts/empty-orphan.t: Update program headers.
341 * testsuite/ld-scripts/size-2.t: Likewise.
343 2016-11-22 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
345 * configure: Regenerate.
347 2016-11-22 Alan Modra <amodra@gmail.com>
350 * emultempl/ppc32elf.em (params): Update initializer. Handle
351 --vle-reloc-fixup command line arg.
353 2016-11-15 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
356 * ld/testsuite/ld-avr/pr20789.d: New test.
357 * ld/testsuite/ld-avr/pr20789.s: New test.
360 2016-11-14 H.J. Lu <hongjiu.lu@intel.com>
363 * testsuite/ld-x86-64/pr20800a.S: New file.
364 * testsuite/ld-x86-64/pr20800b.S: Likewise.
365 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/20800 test.
367 2016-11-14 Nick Clifton <nickc@redhat.com>
369 * lexsup.c (parse_args): Add break at end of default case.
371 2016-11-10 Jiong Wang <jiong.wang@arm.com>
374 * testsuite/ld-aarch64/pie-bind-locally-a.s: New test source.
375 * testsuite/ld-aarch64/pie-bind-locally-b.s: Likewise.
376 * testsuite/ld-aarch64/pie-bind-locally.d: New testcase.
377 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcase.
379 2016-11-07 Nick Clifton <nickc@redhat.com>
382 * emultempl/elf32.em (search_needed): Fix infinite loop when
383 unable to process a token. Add support for curly braced enclosed
385 * ld.texinfo (--rpath-link): Document supprot for $ORIGIN and
388 2016-11-07 Nick Clifton <nickc@redhat.com>
390 * ld.texinfo (--compress-debug-sections): Expand documentation of
393 2016-11-04 Nick Clifton <nickc@redhat.com>
395 * emultempl/elf32.em (search_needed): Remove use of getauxval and
396 inclusion of <sys/auxv.h>. Replace support for $PLATFORM with a
398 * configure.ac (AC_CHECK_FUNCS): Remove getauxval.
399 * configure: Regenerate.
400 * config.in: Regenerate.
402 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
404 * ldlang.h (struct lang_wild_statement_struct): Add
405 exclude_name_list field.
406 * ldlang.c (walk_wild_file_in_exclude_list): New function.
407 (walk_wild_consider_section): Use new
408 walk_wild_file_in_exclude_list function.
409 (walk_wild_file): Add call to walk_wild_file_in_exclude_list.
410 (print_wild_statement): Print new exclude_name_list field.
411 (lang_add_wild): Initialise new exclude_name_list field.
412 * testsuite/ld-scripts/exclude-file-1.d: New file.
413 * testsuite/ld-scripts/exclude-file-1.map: New file.
414 * testsuite/ld-scripts/exclude-file-1.t: New file.
415 * testsuite/ld-scripts/exclude-file-2.d: New file.
416 * testsuite/ld-scripts/exclude-file-2.map: New file.
417 * testsuite/ld-scripts/exclude-file-2.t: New file.
418 * testsuite/ld-scripts/exclude-file-3.d: New file.
419 * testsuite/ld-scripts/exclude-file-3.map: New file.
420 * testsuite/ld-scripts/exclude-file-3.t: New file.
421 * testsuite/ld-scripts/exclude-file-4.d: New file.
422 * testsuite/ld-scripts/exclude-file-4.map: New file.
423 * testsuite/ld-scripts/exclude-file-4.t: New file.
424 * testsuite/ld-scripts/exclude-file-a.s: New file.
425 * testsuite/ld-scripts/exclude-file-b.s: New file.
426 * testsuite/ld-scripts/exclude-file.exp: New file.
427 * ld.texinfo (Input Section Basics): Update description of
428 EXCLUDE_FILE to cover the new features.
429 * NEWS: Mention new EXCLUDE_FILE usage.
431 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
433 * testsuite/lib/ld-lib.exp (run_dump_test): Use object file names
434 based on the original source file name.
435 * testsuite/ld-discard/extern.d: Update object file names.
436 * testsuite/ld-discard/start.d: Likewise.
437 * testsuite/ld-discard/static.d: Likewise.
438 * testsuite/ld-elf/orphan-8.map: Likewise.
440 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
442 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Add
443 xc16x-*-elf to the list of targets that don't support -shared.
445 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
447 * ldgram.y: Rename file_NAME_list to section_NAME_list
450 2016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
451 Andrew Waterman <andrew@sifive.com>
453 Add support for RISC-V architecture.
454 * Makefile.am: Add riscv files.
455 * Makefile.in: Regenerate.
456 * NEWS: Mention the support for this target.
457 * configure.tgt: Add riscv entries.
458 * emulparams/elf32lriscv-defs.sh: New file.
459 * emulparams/elf32lriscv.sh: New file.
460 * emulparams/elf64lriscv-defs.sh: New file.
461 * emulparams/elf64lriscv.sh: New file.
462 * emultempl/riscvelf.em: New file.
464 2016-10-31 Thomas Preud'homme <thomas.preudhomme@arm.com>
466 * ldmain.c (add_archive_element): Initialize input->header.type.
467 * plugin.c (plugin_maybe_claim): Assert the statement is an input
470 2016-10-15 Alan Modra <amodra@gmail.com>
472 * emultempl/spu_ovl.o_c: Regenerate.
474 2016-10-14 Alan Modra <amodra@gmail.com>
476 * scripttempl/DWARF.sc: Add .debug_addr.
478 2016-10-12 Alan Modra <amodra@gmail.com>
480 * testsuite/ld-i386/pr19636-1d-nacl.d: Adjust for objdump change.
481 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
482 * testsuite/ld-tic6x/shlib-1r.dd: Likewise.
483 * testsuite/ld-x86-64/plt-nacl.pd: Likewise.
484 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
486 2016-10-11 Nick Clifton <nickc@redhat.com>
488 * ld-aarch64/emit-relocs-515-be.d: Adjust output to match change
490 * ld-aarch64/emit-relocs-515.d: Likewise.
491 * ld-aarch64/emit-relocs-516-be.d: Likewise.
492 * ld-aarch64/emit-relocs-516.d: Likewise.
493 * ld-aarch64/farcall-b-plt.d: Likewise.
494 * ld-aarch64/farcall-bl-plt.d: Likewise.
495 * ld-aarch64/gc-plt-relocs.d: Likewise.
496 * ld-aarch64/tls-desc-ie.d: Likewise.
497 * ld-aarch64/tls-tiny-desc.d: Likewise.
498 * ld-aarch64/tls-tiny-gd.d: Likewise.
499 * ld-aarch64/tls-tiny-ie.d: Likewise.
500 * ld-arm/arm-app-abs32.d: Likewise.
501 * ld-arm/arm-app.d: Likewise.
502 * ld-arm/arm-lib-plt32.d: Likewise.
503 * ld-arm/arm-lib.d: Likewise.
504 * ld-arm/armthumb-lib.d: Likewise.
505 * ld-arm/cortex-a8-fix-b-plt.d: Likewise.
506 * ld-arm/cortex-a8-fix-bcc-plt.d: Likewise.
507 * ld-arm/cortex-a8-fix-bl-plt.d: Likewise.
508 * ld-arm/cortex-a8-fix-bl-rel-plt.d: Likewise.
509 * ld-arm/cortex-a8-fix-blx-plt.d: Likewise.
510 * ld-arm/farcall-mixed-app-v5.d: Likewise.
511 * ld-arm/farcall-mixed-app.d: Likewise.
512 * ld-arm/farcall-mixed-app2.d: Likewise.
513 * ld-arm/farcall-mixed-lib-v4t.d: Likewise.
514 * ld-arm/farcall-mixed-lib.d: Likewise.
515 * ld-arm/ifunc-10.dd: Likewise.
516 * ld-arm/ifunc-14.dd: Likewise.
517 * ld-arm/ifunc-15.dd: Likewise.
518 * ld-arm/ifunc-3.dd: Likewise.
519 * ld-arm/ifunc-4.dd: Likewise.
520 * ld-arm/ifunc-9.dd: Likewise.
521 * ld-arm/long-plt-format.d: Likewise.
522 * ld-arm/mixed-app-v5.d: Likewise.
523 * ld-arm/mixed-app.d: Likewise.
524 * ld-arm/mixed-lib.d: Likewise.
525 * ld-arm/tls-lib-loc.d: Likewise.
526 * ld-cris/dso-pltdis1.d: Likewise.
527 * ld-cris/dso-pltdis2.d: Likewise.
528 * ld-cris/dso12-pltdis.d: Likewise.
529 * ld-elf/symbolic-func.r: Likewise.
530 * ld-frv/fdpic-pie-1.d: Likewise.
531 * ld-frv/fdpic-pie-2.d: Likewise.
532 * ld-frv/fdpic-pie-6.d: Likewise.
533 * ld-frv/fdpic-pie-7.d: Likewise.
534 * ld-frv/fdpic-pie-8.d: Likewise.
535 * ld-frv/fdpic-shared-1.d: Likewise.
536 * ld-frv/fdpic-shared-2.d: Likewise.
537 * ld-frv/fdpic-shared-3.d: Likewise.
538 * ld-frv/fdpic-shared-4.d: Likewise.
539 * ld-frv/fdpic-shared-5.d: Likewise.
540 * ld-frv/fdpic-shared-6.d: Likewise.
541 * ld-frv/fdpic-shared-7.d: Likewise.
542 * ld-frv/fdpic-shared-8.d: Likewise.
543 * ld-frv/fdpic-shared-local-2.d: Likewise.
544 * ld-frv/fdpic-shared-local-8.d: Likewise.
545 * ld-frv/fdpic-static-1.d: Likewise.
546 * ld-frv/fdpic-static-2.d: Likewise.
547 * ld-frv/fdpic-static-6.d: Likewise.
548 * ld-frv/fdpic-static-7.d: Likewise.
549 * ld-frv/fdpic-static-8.d: Likewise.
550 * ld-frv/tls-dynamic-2.d: Likewise.
551 * ld-frv/tls-initial-shared-2.d: Likewise.
552 * ld-frv/tls-relax-shared-2.d: Likewise.
553 * ld-frv/tls-shared-2.d: Likewise.
554 * ld-i386/plt-nacl.pd: Likewise.
555 * ld-i386/plt-pic-nacl.pd: Likewise.
556 * ld-i386/plt-pic.pd: Likewise.
557 * ld-i386/plt.pd: Likewise.
558 * ld-i386/pr19636-1d-nacl.d: Likewise.
559 * ld-i386/pr19636-1d.d: Likewise.
560 * ld-i386/pr19636-2c-nacl.d: Likewise.
561 * ld-i386/pr19636-2c.d: Likewise.
562 * ld-ifunc/ifunc-21-x86-64.d: Likewise.
563 * ld-ifunc/ifunc-22-x86-64.d: Likewise.
564 * ld-ifunc/pr17154-i386.d: Likewise.
565 * ld-ifunc/pr17154-x86-64.d: Likewise.
566 * ld-m68k/plt1-68020.d: Likewise.
567 * ld-m68k/plt1-cpu32.d: Likewise.
568 * ld-m68k/plt1-isab.d: Likewise.
569 * ld-m68k/plt1-isac.d: Likewise.
570 * ld-metag/shared.d: Likewise.
571 * ld-metag/stub_pic_app.d: Likewise.
572 * ld-metag/stub_pic_shared.d: Likewise.
573 * ld-metag/stub_shared.d: Likewise.
574 * ld-s390/tlsbin_64.dd: Likewise.
575 * ld-s390/tlspic_64.dd: Likewise.
576 * ld-tic6x/shlib-1.dd: Likewise.
577 * ld-tic6x/shlib-1b.dd: Likewise.
578 * ld-tic6x/shlib-1rb.dd: Likewise.
579 * ld-tic6x/shlib-app-1.dd: Likewise.
580 * ld-tic6x/shlib-app-1b.dd: Likewise.
581 * ld-tic6x/shlib-app-1r.dd: Likewise.
582 * ld-tic6x/shlib-app-1rb.dd: Likewise.
583 * ld-tic6x/shlib-noindex.dd: Likewise.
584 * ld-vax-elf/export-class-data.dd: Likewise.
585 * ld-vax-elf/plt-local-lib.dd: Likewise.
586 * ld-vax-elf/plt-local.dd: Likewise.
587 * ld-x86-64/bnd-ifunc-2.d: Likewise.
588 * ld-x86-64/bnd-plt-1.d: Likewise.
589 * ld-x86-64/gotpcrel1.dd: Likewise.
590 * ld-x86-64/libno-plt-1b.dd: Likewise.
591 * ld-x86-64/load1c-nacl.d: Likewise.
592 * ld-x86-64/load1c.d: Likewise.
593 * ld-x86-64/load1d-nacl.d: Likewise.
594 * ld-x86-64/load1d.d: Likewise.
595 * ld-x86-64/mov1a.d: Likewise.
596 * ld-x86-64/mov1b.d: Likewise.
597 * ld-x86-64/mov1c.d: Likewise.
598 * ld-x86-64/mov1d.d: Likewise.
599 * ld-x86-64/mov2a.d: Likewise.
600 * ld-x86-64/mov2b.d: Likewise.
601 * ld-x86-64/mov2c.d: Likewise.
602 * ld-x86-64/mov2d.d: Likewise.
603 * ld-x86-64/mpx3.dd: Likewise.
604 * ld-x86-64/mpx4.dd: Likewise.
605 * ld-x86-64/no-plt-1a.dd: Likewise.
606 * ld-x86-64/no-plt-1b.dd: Likewise.
607 * ld-x86-64/no-plt-1c.dd: Likewise.
608 * ld-x86-64/no-plt-1e.dd: Likewise.
609 * ld-x86-64/no-plt-1f.dd: Likewise.
610 * ld-x86-64/no-plt-1g.dd: Likewise.
611 * ld-x86-64/plt-main-bnd.dd: Likewise.
612 * ld-x86-64/plt-nacl.pd: Likewise.
613 * ld-x86-64/plt.pd: Likewise.
614 * ld-x86-64/pr18591.d: Likewise.
615 * ld-x86-64/pr19609-1c.d: Likewise.
616 * ld-x86-64/pr19609-1e.d: Likewise.
617 * ld-x86-64/pr19609-1j.d: Likewise.
618 * ld-x86-64/pr19609-1l.d: Likewise.
619 * ld-x86-64/pr19609-1m.d: Likewise.
620 * ld-x86-64/pr19609-5b.d: Likewise.
621 * ld-x86-64/pr19609-5c.d: Likewise.
622 * ld-x86-64/pr19609-5e.d: Likewise.
623 * ld-x86-64/pr19609-6b.d: Likewise.
624 * ld-x86-64/pr19609-7b.d: Likewise.
625 * ld-x86-64/pr19609-7d.d: Likewise.
626 * ld-x86-64/pr19636-2d.d: Likewise.
627 * ld-x86-64/pr20093-1.d: Likewise.
628 * ld-x86-64/pr20093-2.d: Likewise.
629 * ld-x86-64/pr20253-1b.d: Likewise.
630 * ld-x86-64/pr20253-1d.d: Likewise.
631 * ld-x86-64/pr20253-1f.d: Likewise.
632 * ld-x86-64/pr20253-1h.d: Likewise.
633 * ld-x86-64/pr20253-1j.d: Likewise.
634 * ld-x86-64/pr20253-1l.d: Likewise.
635 * ld-x86-64/protected3.d: Likewise.
636 * ld-x86-64/tlsbin.dd: Likewise.
637 * ld-x86-64/tlsbin2.dd: Likewise.
638 * ld-x86-64/tlsbindesc.dd: Likewise.
639 * ld-x86-64/tlsdesc-nacl.pd: Likewise.
640 * ld-x86-64/tlsdesc.dd: Likewise.
641 * ld-x86-64/tlsdesc.pd: Likewise.
642 * ld-x86-64/tlsgd10.dd: Likewise.
643 * ld-x86-64/tlsgd5.dd: Likewise.
644 * ld-x86-64/tlsgd6.dd: Likewise.
645 * ld-x86-64/tlsgd8.dd: Likewise.
646 * ld-x86-64/tlsgdesc.dd: Likewise.
647 * ld-x86-64/tlspic.dd: Likewise.
648 * ld-x86-64/tlspic2.dd: Likewise.
650 2016-10-11 Nick Clifton <nickc@redhat.com>
653 * emultempl/elf32.em (_search_needed): Add support for pseudo
654 environment variables supported by ld.so. Namely $ORIGIN, $LIB
656 * configure.ac: Add getauxval to list AC_CHECK_FUNCS list.
657 * config.in: Regenerate.
658 * configure: Regenerate.
660 2016-10-11 Alan Modra <amodra@gmail.com>
662 * ldlang.c (lang_do_assignments_1): Descend into output section
663 statements that do not yet have bfd sections. Set symbol section
664 temporarily for symbols defined in such statements to the undefined
665 section. Don't error on data or reloc statements until final phase.
666 * ldexp.c (exp_fold_tree_1 <etree_assign>): Handle bfd_und_section
668 * testsuite/ld-mmix/bpo-10.d: Adjust.
669 * testsuite/ld-mmix/bpo-11.d: Adjust.
671 2016-10-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
673 * emulparams/elf64_s390.sh: Move binary start to 16M.
674 * testsuite/ld-s390/tlsbin_64.dd: Adjust testcases accordingly.
675 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
677 2016-10-07 Alan Modra <amodra@gmail.com>
679 * ldexp.c (MAX): Define.
680 (exp_unop, exp_binop, exp_trinop): Alloc at least enough for
683 2016-10-07 Alan Modra <amodra@gmail.com>
685 * testsuite/lib/ld-lib.exp (is_generic_elf): New, extracted from..
686 * testsuite/ld-elf/elf.exp: ..here.
688 2016-10-06 Ludovic Courtès <ludo@gnu.org>
690 * emulparams/elf32bmipn32-defs.sh: Shift quote of
691 "x$EMULATION_NAME" to the left to work around
692 <http://ftp.gnu.org/gnu/bash/bash-4.2-patches/bash42-007>.
694 2016-10-06 Alan Modra <amodra@gmail.com>
696 * lexsup.c: Spell fall through comments consistently and add
697 missing fall through comments.
699 2016-10-06 Alan Modra <amodra@gmail.com>
701 * plugin.c (asymbol_from_plugin_symbol): Avoid compiler warning
704 2016-10-04 Alan Modra <amodra@gmail.com>
706 * ld.texinfo (Expression Section): Update result of arithmetic
708 * ldexp.c (arith_result_section): New function.
709 (fold_binary): Use it.
711 2016-10-04 Alan Modra <amodra@gmail.com>
713 * ldexp.c (exp_value_fold): New function.
714 (exp_unop, exp_binop, exp_trinop): Use it.
716 2016-09-30 Alan Modra <amodra@gmail.com>
718 * scripttempl/v850.sc: Don't reference __ctbp, __ep, __gp when
720 * scripttempl/v850_rh850.sc: Likewise.
722 2016-09-30 Alan Modra <amodra@gmail.com>
725 * testsuite/ld-elf/pr20528a.d: xfail generic elf targets. Allow
726 multiple .text sections for hppa-linux.
727 * testsuite/ld-elf/pr20528b.d: Likewise.
729 2016-09-30 Alan Modra <amodra@gmail.com>
731 * ldmain.c (default_bfd_error_handler): New function pointer.
732 (ld_bfd_error_handler): New function.
733 (main): Arrange to call it on bfd errors/warnings.
734 (ld_bfd_assert_handler): Enable tail call.
736 2016-09-30 Alan Modra <amodra@gmail.com>
738 * ldlang.c (ignore_bfd_errors): Update params.
740 2016-09-29 H.J. Lu <hongjiu.lu@intel.com>
743 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
744 merge 2 sections with different SHF_EXCLUDE.
745 * testsuite/ld-elf/pr20528a.d: New file.
746 * testsuite/ld-elf/pr20528a.s: Likewise.
747 * testsuite/ld-elf/pr20528b.d: Likewise.
748 * testsuite/ld-elf/pr20528b.s: Likewise.
750 2016-09-28 Christophe Lyon <christophe.lyon@linaro.org>
753 * testsuite/ld-arm/arm-elf.exp: Handle new testcase.
754 * testsuite/ld-arm/farcall-mixed-app2.d: New file.
755 * testsuite/ld-arm/farcall-mixed-app2.r: Likewise.
756 * testsuite/ld-arm/farcall-mixed-app2.s: Likewise.
757 * testsuite/ld-arm/farcall-mixed-app2.sym: Likewise.
759 2016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
761 * Makefile.in: Regenerate.
762 * configure: Likewise.
764 2016-09-26 Alan Modra <amodra@gmail.com>
766 * testsuite/ld-powerpc/attr-gnu-4-4.s: Delete.
767 * testsuite/ld-powerpc/attr-gnu-4-14.d: Delete.
768 * testsuite/ld-powerpc/attr-gnu-4-24.d: Delete.
769 * testsuite/ld-powerpc/attr-gnu-4-34.d: Delete.
770 * testsuite/ld-powerpc/attr-gnu-4-41.d: Delete.
771 * testsuite/ld-powerpc/attr-gnu-4-32.d: Adjust expected warning.
772 * testsuite/ld-powerpc/attr-gnu-8-23.d: Likewise.
773 * testsuite/ld-powerpc/attr-gnu-4-01.d: Adjust expected output.
774 * testsuite/ld-powerpc/attr-gnu-4-02.d: Likewise.
775 * testsuite/ld-powerpc/attr-gnu-4-03.d: Likewise.
776 * testsuite/ld-powerpc/attr-gnu-4-10.d: Likewise.
777 * testsuite/ld-powerpc/attr-gnu-4-11.d: Likewise.
778 * testsuite/ld-powerpc/attr-gnu-4-20.d: Likewise.
779 * testsuite/ld-powerpc/attr-gnu-4-22.d: Likewise.
780 * testsuite/ld-powerpc/attr-gnu-4-33.d: Likewise.
781 * testsuite/ld-powerpc/attr-gnu-8-11.d: Likewise.
782 * testsuite/ld-powerpc/powerpc.exp: Don't run deleted tests.
784 2016-09-23 Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
787 * testsuite/ld-arm/unwind-4.d: Add -q option to linker command
788 line and -r option to objdump command line. Match emitted relocs
789 to make sure that superflous relocs are not generated.
791 2016-09-23 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
793 * emulparams/elf64_s390.sh: Change TEXT_START_ADDR to 256MB.
794 * testsuite/ld-s390/tlsbin_64.dd: Adjust testcase accordingly.
795 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
797 2016-09-22 Nick Clifton <nickc@redhat.com>
799 * emultempl/elf32.em (_try_needed): In verbose mode, report failed
800 attempts to find a needed library.
802 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
804 * testsuite/ld-aarch64/emit-relocs-28.d: Expect spaces after ","
806 * testsuite/ld-aarch64/emit-relocs-301-be.d: Likewise.
807 * testsuite/ld-aarch64/emit-relocs-301.d: Likewise.
808 * testsuite/ld-aarch64/emit-relocs-302-be.d: Likewise.
809 * testsuite/ld-aarch64/emit-relocs-302.d: Likewise.
810 * testsuite/ld-aarch64/emit-relocs-310-be.d: Likewise.
811 * testsuite/ld-aarch64/emit-relocs-310.d: Likewise.
812 * testsuite/ld-aarch64/emit-relocs-313.d: Likewise.
813 * testsuite/ld-aarch64/emit-relocs-515-be.d: Likewise.
814 * testsuite/ld-aarch64/emit-relocs-515.d: Likewise.
815 * testsuite/ld-aarch64/emit-relocs-516-be.d: Likewise.
816 * testsuite/ld-aarch64/emit-relocs-516.d: Likewise.
817 * testsuite/ld-aarch64/emit-relocs-531.d: Likewise.
818 * testsuite/ld-aarch64/emit-relocs-532.d: Likewise.
819 * testsuite/ld-aarch64/emit-relocs-533.d: Likewise.
820 * testsuite/ld-aarch64/emit-relocs-534.d: Likewise.
821 * testsuite/ld-aarch64/emit-relocs-535.d: Likewise.
822 * testsuite/ld-aarch64/emit-relocs-536.d: Likewise.
823 * testsuite/ld-aarch64/emit-relocs-537.d: Likewise.
824 * testsuite/ld-aarch64/emit-relocs-538.d: Likewise.
825 * testsuite/ld-aarch64/erratum835769.d: Likewise.
826 * testsuite/ld-aarch64/erratum843419.d: Likewise.
827 * testsuite/ld-aarch64/farcall-b-plt.d: Likewise.
828 * testsuite/ld-aarch64/farcall-bl-plt.d: Likewise.
829 * testsuite/ld-aarch64/gc-plt-relocs.d: Likewise.
830 * testsuite/ld-aarch64/ifunc-21.d: Likewise.
831 * testsuite/ld-aarch64/ifunc-7c.d: Likewise.
832 * testsuite/ld-aarch64/tls-desc-ie.d: Likewise.
833 * testsuite/ld-aarch64/tls-large-desc-be.d: Likewise.
834 * testsuite/ld-aarch64/tls-large-desc.d: Likewise.
835 * testsuite/ld-aarch64/tls-large-ie-be.d: Likewise.
836 * testsuite/ld-aarch64/tls-large-ie.d: Likewise.
837 * testsuite/ld-aarch64/tls-relax-all.d: Likewise.
838 * testsuite/ld-aarch64/tls-relax-gd-ie.d: Likewise.
839 * testsuite/ld-aarch64/tls-relax-gdesc-ie-2.d: Likewise.
840 * testsuite/ld-aarch64/tls-relax-gdesc-ie.d: Likewise.
841 * testsuite/ld-aarch64/tls-relax-large-desc-ie-be.d: Likewise.
842 * testsuite/ld-aarch64/tls-relax-large-desc-ie.d: Likewise.
843 * testsuite/ld-aarch64/tls-tiny-desc.d: Likewise.
844 * testsuite/ld-aarch64/tls-tiny-gd.d: Likewise.
846 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
848 * testsuite/ld-aarch64/emit-relocs-280.d: Match branch comments.
849 * testsuite/ld-aarch64/weak-undefined.d: Likewise.
851 2016-09-20 Andrew Burgess <andrew.burgess@embecosm.com>
853 * ld.texinfo (Input Section Basics): Expand the description of
856 2016-09-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
858 * testsuite/ld-arm/cmse-veneers.s: Add a test for ARMv8-M Security
859 Extensions entry functions in absolute section.
860 * testsuite/ld-arm/cmse-veneers.rd: Adapt expected output accordingly.
862 2016-09-14 Claudiu Zissulescu <claziss@synopsys.com>
864 * testsuite/ld-arc/tls-dtpoff.dd: New file.
865 * testsuite/ld-arc/tls-dtpoff.rd: Likewise.
866 * testsuite/ld-arc/tls-dtpoff.s: Likewise.
867 * testsuite/ld-arc/tls-relocs.ld: Likewise.
868 * testsuite/ld-arc/arc.exp: Add new tdpoff test.
870 2016-09-14 Nick Clifton <nickc@redhat.com>
873 * emultempl/elf32.em: More OPTION_xxx values into an enum. Add
874 OPTION_NO_EH_FRAME_HDR.
875 (_add_options): Add support for --no-eh-frame-hdr.
876 * ld.texinfo: Document new option.
877 * lexsup.c (elf_shlib_list_options): List new option.
878 * NEWS: Mention the new option.
880 2016-09-06 H.J. Lu <hongjiu.lu@intel.com>
883 * testsuite/ld-x86-64/pr20550a.s: New file.
884 * testsuite/ld-x86-64/pr20550b.s: Likewise.
885 * testsuite/ld-x86-64/x86-64.exp (x86_64tests): Add tests for
888 2016-09-06 Nick Clifton <nickc@redhat.com>
890 * Makefile.am (CFLAGS_FOR_TARGET): Define as a copy of CFLAGS but
891 without any sanitization options.
892 (CXXFLAGS_FOR_TARGET): Define as a copy of CXXFLAGS but without
893 any sanitization options.
894 (check-DEJAGNU): Pass CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET
895 as CFLAGS and CXXFLAGS respectively.
897 2016-09-02 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
900 * testsuite/ld-avr/avr-prop-7.d: New test.
901 * testsuite/ld-avr/avr-prop-7.s: New test.
902 * testsuite/ld-avr/avr-prop-8.d: New test.
903 * testsuite/ld-avr/avr-prop-8.s: New test.
905 2016-09-02 H.J. Lu <hongjiu.lu@intel.com>
907 * testsuite/ld-elf/pr20513c.d: Limit to *-*-linux* and *-*-gnu*
909 * testsuite/ld-elf/pr20513d.d: Likewise.
911 2016-09-01 H.J. Lu <hongjiu.lu@intel.com>
914 * testsuite/ld-elf/pr20513a.d: New file.
915 * testsuite/ld-elf/pr20513a.s: Likewise.
916 * testsuite/ld-elf/pr20513b.d: Likewise.
917 * testsuite/ld-elf/pr20513b.s: Likewise.
918 * testsuite/ld-elf/pr20513c.d: Likewise.
919 * testsuite/ld-elf/pr20513d.d: Likewise.
920 * testsuite/ld-elf/pr20513e.d: Likewise.
921 * testsuite/ld-elf/pr20513f.d: Likewise.
923 2016-08-31 Alan Modra <amodra@gmail.com>
926 * ldlang.c (section_already_linked): Deal with SHF_EXCLUDE sections.
928 2016-08-31 Alan Modra <amodra@gmail.com>
930 * testsuite/ld-powerpc/vle-multiseg-1.d: Adjust to suit segment change.
931 * testsuite/ld-powerpc/vle-multiseg-2.d: Likewise.
932 * testsuite/ld-powerpc/vle-multiseg-3.d: Likewise.
933 * testsuite/ld-powerpc/vle-multiseg-6.d: Likewise.
934 * testsuite/ld-powerpc/vle-reloc-2.d: Likewise.
936 2016-08-30 Cupertino Miranda <cmiranda@synopsys.com>
938 * testsuite/ld-arc/tls_gs-01.d: Set to XFAIL on arc*-*-elf*.
939 * testsuite/ld-arc/tls_ie-01.d: Likewise.
941 2016-08-29 H.J. Lu <hongjiu.lu@intel.com>
943 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19784 tests only
944 if ifunc attribute works.
946 2016-08-29 H.J. Lu <hongjiu.lu@intel.com>
950 * testsuite/ld-i386/i386.exp: Run pr20515.
951 * testsuite/ld-i386/pr20515.d: New file.
952 * testsuite/ld-i386/pr20515.s: Likewise.
953 * testsuite/ld-ifunc/ifunc-14a.s: Use R_386_PLT32 to call IFUNC
955 * testsuite/ld-ifunc/ifunc-14c.s: Likewise.
956 * testsuite/ld-ifunc/ifunc-2-i386.s: Likewise.
957 * testsuite/ld-ifunc/ifunc-2-local-i386.s: Likewise.
958 * testsuite/ld-ifunc/ifunc.exp: Move PR ld/19784 tests to ...
959 * testsuite/ld-x86-64/x86-64.exp: Here.
960 * testsuite/ld-ifunc/pr19784a.c: Moved to ...
961 * testsuite/ld-x86-64/pr19784a.c: Here.
962 * testsuite/ld-ifunc/pr19784b.c: Moved to ...
963 * testsuite/ld-x86-64/pr19784b.c: Here.
964 * testsuite/ld-ifunc/pr19784c.c: Moved to ...
965 * testsuite/ld-x86-64/pr19784c.c: Here.
967 2016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
969 * emultempl/armelf.em (params): New static variable.
970 (thumb_entry_symbol, byteswap_code, target1_is_rel, target2_type,
971 fix_v4bx, use_blx, vfp11_denorm_fix, stm32l4xx_fix, fix_cortex_a8,
972 no_enum_size_warning, no_wchar_size_warning, pic_veneer,
973 merge_exidx_entries, fix_arm1176, cmse_implib): move as part of the
975 (arm_elf_before_allocation): Access static variable from the params
977 (gld${EMULATION_NAME}_finish): Likewise.
978 (arm_elf_create_output_section_statements): Likewise and pass the
979 address of that structure to bfd_elf32_arm_set_target_relocs instead
980 of the static variables.
981 (PARSE_AND_LIST_ARGS_CASES): Access static variable from the params
984 2016-08-26 Cupertino Miranda <cmiranda@synopsys.com>
986 * ld/testsuite/ld-arc/tls_gd-01.s: Added a testcase for this patch.
987 * ld/testsuite/ld-arc/tls_gd-01.d: Likewise.
989 2016-08-26 Cupertino Miranda <cmiranda@synopsys.com>
991 * testsuite/ld-arc/tls_ie-01.s: Added to verify associated fix.
992 * testsuite/ld-arc/tls_ie-01.d: Likewise
994 2016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
996 * emultempl/armelf.em (in_implib_filename): Declare and initialize new
998 (arm_elf_create_output_section_statements): Open import input library
999 file for writing and pass resulting in_implib_bfd to
1000 bfd_elf32_arm_set_target_relocs.
1001 (PARSE_AND_LIST_PROLOGUE): Define OPTION_IN_IMPLIB option.
1002 (PARSE_AND_LIST_LONGOPTS): Define --in-implib option.
1003 (PARSE_AND_LIST_OPTIONS): Add help message for --in-implib option.
1004 (PARSE_AND_LIST_ARGS_CASES): Handle new OPTION_IN_IMPLIB case.
1005 * ld.texinfo (--cmse-implib): Update to mention --in-implib.
1006 (--in-implib): Document new option.
1008 * testsuite/ld-arm/arm-elf.exp
1009 (Secure gateway import library generation): add --defsym VER=1 to gas
1011 (Secure gateway import library generation: errors): Likewise.
1012 (Input secure gateway import library): New test.
1013 (Input secure gateway import library: no output import library):
1015 (Input secure gateway import library: not an SG input import library):
1017 (Input secure gateway import library: earlier stub section base):
1019 (Input secure gateway import library: later stub section base):
1021 (Input secure gateway import library: veneer comeback): Likewise.
1022 (Input secure gateway import library: entry function change):
1024 * testsuite/ld-arm/cmse-implib.s: Add input import library testing.
1025 * testsuite/ld-arm/cmse-implib.rd: Update accordingly.
1026 * testsuite/ld-arm/cmse-new-implib.out: New file.
1027 * testsuite/ld-arm/cmse-new-implib.rd: Likewise.
1028 * testsuite/ld-arm/cmse-new-implib-no-output.out: Likewise.
1029 * testsuite/ld-arm/cmse-new-implib-not-sg-in-implib.out: Likewise.
1030 * testsuite/ld-arm/cmse-new-earlier-later-implib.out: Likewise.
1031 * testsuite/ld-arm/cmse-new-comeback-implib.rd: Likewise.
1032 * testsuite/ld-arm/cmse-new-wrong-implib.out: Likewise.
1034 2016-08-25 Alan Modra <amodra@gmail.com>
1036 * configure.tgt (powerpc*-*-linux* et al): Rewrite, adding LE
1037 support for BE. First output all target endian configury
1038 values, then opposite endian. Handle more tooldirs. Fix
1039 bogus matches with strings in MANUF-OS part of target triple.
1041 2016-08-23 Alan Modra <amodra@gmail.com>
1043 * testsuite/lib/ld-lib.exp (run_cc_link_tests): Don't fail tests
1046 2016-08-19 Nick Clifton <nickc@redhat.com>
1048 * emultempl/aarch64elf.em (before_parse): Initialise the relro
1049 field in the link_info structure.
1050 * emultempl/armelf.em (before_parse): Likewise.
1051 * emultempl/linux.em (before_parse): Likewise.
1052 * emultempl/scoreelf.em (before_parse): Likewise.
1054 * testsuite/ld-alpha/tlsbin.rd: Adjust expected ordering of sections.
1055 * testsuite/ld-alpha/tlsbinr.rd: Likewise.
1056 * testsuite/ld-alpha/tlspic.rd: Likewise.
1057 * testsuite/ld-cris/libdso-2.d: Likewise.
1058 * testsuite/ld-i386/nogot1.d: Likewise.
1059 * testsuite/ld-i386/pr12718.d: Likewise.
1060 * testsuite/ld-i386/pr12921.d: Likewise.
1061 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
1062 * testsuite/ld-i386/tlsbin.rd: Likewise.
1063 * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
1064 * testsuite/ld-i386/tlsbin2.rd: Likewise.
1065 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
1066 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
1067 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
1068 * testsuite/ld-i386/tlsdesc.rd: Likewise.
1069 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
1070 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
1071 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
1072 * testsuite/ld-i386/tlsnopic.rd: Likewise.
1073 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
1074 * testsuite/ld-i386/tlspic.rd: Likewise.
1075 * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
1076 * testsuite/ld-i386/tlspic2.rd: Likewise.
1077 * testsuite/ld-ia64/tlsbin.rd: Likewise.
1078 * testsuite/ld-ia64/tlspic.rd: Likewise.
1079 * testsuite/ld-mips-elf/attr-gnu-4-10.d: Likewise.
1080 * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise.
1081 * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise.
1082 * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
1083 * testsuite/ld-mmix/bspec1.d: Likewise.
1084 * testsuite/ld-mmix/bspec2.d: Likewise.
1085 * testsuite/ld-mmix/local1.d: Likewise.
1086 * testsuite/ld-mmix/local3.d: Likewise.
1087 * testsuite/ld-mmix/local5.d: Likewise.
1088 * testsuite/ld-mmix/local7.d: Likewise.
1089 * testsuite/ld-mmix/undef-3.d: Likewise.
1090 * testsuite/ld-powerpc/tlsexe.r: Likewise.
1091 * testsuite/ld-powerpc/tlsexe32.r: Likewise.
1092 * testsuite/ld-powerpc/tlsexetoc.r: Likewise.
1093 * testsuite/ld-powerpc/tlsso.r: Likewise.
1094 * testsuite/ld-powerpc/tlsso32.r: Likewise.
1095 * testsuite/ld-powerpc/tlstocso.r: Likewise.
1096 * testsuite/ld-s390/tlsbin.rd: Likewise.
1097 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
1098 * testsuite/ld-s390/tlspic.rd: Likewise.
1099 * testsuite/ld-s390/tlspic_64.rd: Likewise.
1100 * testsuite/ld-sh/sh64/crange1.rd: Likewise.
1101 * testsuite/ld-sh/sh64/crange2.rd: Likewise.
1102 * testsuite/ld-sh/sh64/crange3-cmpct.rd: Likewise.
1103 * testsuite/ld-sh/sh64/crange3-media.rd: Likewise.
1104 * testsuite/ld-sh/sh64/crange3.rd: Likewise.
1105 * testsuite/ld-sh/sh64/crangerel1.rd: Likewise.
1106 * testsuite/ld-sh/sh64/crangerel2.rd: Likewise.
1107 * testsuite/ld-sh/tlsbin-2.d: Likewise.
1108 * testsuite/ld-sh/tlspic-2.d: Likewise.
1109 * testsuite/ld-sparc/gotop32.rd: Likewise.
1110 * testsuite/ld-sparc/gotop64.rd: Likewise.
1111 * testsuite/ld-sparc/tlssunbin32.rd: Likewise.
1112 * testsuite/ld-sparc/tlssunbin64.rd: Likewise.
1113 * testsuite/ld-sparc/tlssunnopic32.rd: Likewise.
1114 * testsuite/ld-sparc/tlssunnopic64.rd: Likewise.
1115 * testsuite/ld-sparc/tlssunpic32.rd: Likewise.
1116 * testsuite/ld-sparc/tlssunpic64.rd: Likewise.
1117 * testsuite/ld-tic6x/common.d: Likewise.
1118 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
1119 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
1120 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
1121 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
1122 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
1123 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
1124 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
1125 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
1126 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
1127 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
1128 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
1129 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
1130 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
1131 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
1132 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
1133 * testsuite/ld-x86-64/nogot1.d: Likewise.
1134 * testsuite/ld-x86-64/pr12718.d: Likewise.
1135 * testsuite/ld-x86-64/pr12921.d: Likewise.
1136 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
1137 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
1138 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
1139 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
1140 * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
1141 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
1142 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
1143 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
1144 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
1145 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1146 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
1147 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
1148 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
1149 * testsuite/ld-x86-64/tlspic.rd: Likewise.
1150 * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
1151 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
1152 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
1153 * testsuite/ld-xtensa/tlspic.rd: Likewise.
1155 2016-08-18 Alan Modra <amodra@gmail.com>
1157 * testsuite/ld-undefined/weak-undef.exp: Use unsupported not
1160 2016-08-12 Alan Modra <amodra@gmail.com>
1162 * testsuite/ld-tic6x/shlib-1.rd: Correct expected .dynsym sh_info.
1163 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
1164 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
1165 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
1166 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
1167 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
1168 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
1169 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
1170 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
1171 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
1172 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
1173 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
1174 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
1176 2016-08-12 Alan Modra <amodra@gmail.com>
1178 * testsuite/ld-undefined/weak-fundef.s: New.
1179 * testsuite/ld-undefined/weak-undef.t: Don't specify filename.
1180 * testsuite/ld-undefined/weak-undef.exp: Run new tests. Rearrange
1181 much of old code. Use is_elf_format to select targets.
1183 2016-08-11 Alan Modra <amodra@gmail.com>
1186 * testsuite/lib/ld-lib.exp (at_least_gcc_version): Don't ignore
1188 (check_gcc_plugin_enabled): Likewise. Revert previous patch.
1190 2016-08-11 Nick Clifton <nickc@redhat.com>
1193 * testsuite/lib/ld-lib.exp (check_gcc_plugin_enabled): When not
1194 testing remotely, check to see if target compiler is installed
1195 before trying to run it.
1197 2016-08-10 Maciej W. Rozycki <macro@imgtec.com>
1200 * testsuite/ld-mips-elf/mips-elf.exp: Un-KFAIL `__ehdr_start'
1203 2016-08-10 Maciej W. Rozycki <macro@imgtec.com>
1205 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips-rel.dd: New
1207 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips-rel.nd: New
1209 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips.dd: New test.
1210 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips.nd: New test.
1211 * testsuite/ld-mips-elf/pic-and-nonpic-1a-micromips.s: New test
1213 * testsuite/ld-mips-elf/pic-and-nonpic-1b-micromips.s: New test
1215 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1217 2016-08-09 H.J. Lu <hongjiu.lu@intel.com>
1220 * testsuite/lib/ld-lib.exp (check_gcc_plugin_enabled): New
1222 (check_lto_available): Return 0 if check_gcc_plugin_enabled
1224 (check_lto_fat_available): Likewise.
1225 (check_lto_shared_available): Likewise.
1227 2016-08-09 Roland McGrath <roland@hack.frob.com>
1229 * emulparams/armelf.sh (GENERATE_PIE_SCRIPT): Set to yes.
1231 2016-08-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
1233 * emultempl/armelf.em (cmse_implib): Declare and define this new
1235 (arm_elf_create_output_section_statements): Add new cmse_implib
1237 (OPTION_CMSE_IMPLIB): Define macro.
1238 (PARSE_AND_LIST_LONGOPTS): Add entry for new --cmse-implib switch.
1239 (PARSE_AND_LIST_OPTIONS): Likewise.
1240 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_CMSE_IMPLIB case.
1241 * ld.texinfo (--cmse-implib): Document new option.
1242 * testsuite/ld-arm/arm-elf.exp
1243 (Secure gateway import library generation): New test.
1244 (Secure gateway import library generation: errors): Likewise.
1245 * testsuite/ld-arm/cmse-implib.s: New file.
1246 * testsuite/ld-arm/cmse-implib-errors.out: Likewise.
1247 * testsuite/ld-arm/cmse-implib.rd: Likewise.
1249 2016-08-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
1251 * ld.texinfo (Placement of SG veneers): New concept entry.
1252 * testsuite/ld-arm/arm-elf.exp
1253 (Secure gateway veneers: no .gnu.sgstubs section): New test.
1254 (Secure gateway veneers: wrong entry functions): Likewise.
1255 (Secure gateway veneers (ARMv8-M Baseline)): Likewise.
1256 (Secure gateway veneers (ARMv8-M Mainline)): Likewise.
1257 * testsuite/ld-arm/cmse-veneers.s: New file.
1258 * testsuite/ld-arm/cmse-veneers.d: Likewise.
1259 * testsuite/ld-arm/cmse-veneers.rd: Likewise.
1260 * testsuite/ld-arm/cmse-veneers.sd: Likewise.
1261 * testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out: Likewise.
1262 * testsuite/ld-arm/cmse-veneers-wrong-entryfct.out: Likewise.
1264 2016-08-02 Nick Clifton <nickc@redhat.com>
1267 * emulparams/shelf.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): Define with
1269 * emulparams/shelf32.sh: Likewise.
1270 * emulparams/shelf32.sh: Likewise.
1271 * emulparams/shelf_nto.sh: Likewise.
1272 * emulparams/shelf_nto.sh: Likewise.
1273 * emulparams/shelf_vxworks.sh: Likewise.
1274 * emulparams/shelf_vxworks.sh: Likewise.
1275 * emulparams/shlelf32_linux.sh: Likewise.
1276 * emulparams/shlelf32_linux.sh: Likewise.
1277 * emulparams/shlelf_linux.sh: Likewise.
1278 * emulparams/shlelf_linux.sh: Likewise.
1279 * emulparams/shlelf_nto.sh: Likewise.
1280 * emulparams/shlelf_nto.sh: Likewise.
1282 2016-07-27 Maciej W. Rozycki <macro@imgtec.com>
1284 * testsuite/ld-mips-elf/micromips-branch-absolute.d: Update
1285 patterns for branch compaction.
1286 * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d:
1289 2016-07-27 Nick Clifton <nickc@redhat.com>
1291 * testsuite/ld-gc/personality.d: Use "target cfi" to restrict the
1292 test to targets which support cfi.
1294 2016-07-27 Igor Kudrin <ikudrin@accesssoftek.com>
1296 * ldbuildid.c (generate_build_id): Warning fix.
1298 2016-07-26 Maciej W. Rozycki <macro@imgtec.com>
1300 * testsuite/ld-mips-elf/compressed-plt-1.s: Add branch support.
1301 * testsuite/ld-mips-elf/compressed-plt-1a.s: Likewise.
1302 * testsuite/ld-mips-elf/compressed-plt-1b.s: Likewise.
1303 * testsuite/ld-mips-elf/compressed-plt-1-o32-branch.od: New
1305 * testsuite/ld-mips-elf/compressed-plt-1-o32-branch.rd: New
1307 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-bronly.od:
1309 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-bronly.rd:
1311 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-branch.od:
1313 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-branch.rd:
1315 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-bronly.od:
1317 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-bronly.rd:
1319 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-branch.od:
1321 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-branch.rd:
1323 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1325 2016-07-26 Igor Kudrin <ikudrin@accesssoftek.com>
1327 * ldbuildid.c: Changes for MinGW32:
1328 Include windows.h and rpcdce.h.
1329 (validate_build_id_style): Allow "uuid" style.
1330 (generate_build_id): Fill in id_bits using UuidCreate().
1332 2016-07-25 Alan Modra <amodra@gmail.com>
1334 * testsuite/ld-elf/sec64k.exp: Run test for arc, msp430, or1k
1335 and m32r. Correct comment. Relax ld -r match to account for
1336 msp increased number of default sections.
1338 2016-07-22 Cupertino Miranda <cmiranda@synopsys.com>
1340 * testsuite/ld-arc/got-01.d: New file.
1341 * testsuite/ld-arc/got-01.s: New file.
1343 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
1345 * configure: Regenerated.
1347 2016-07-21 Alan Modra <amodra@gmail.com>
1349 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Replace
1350 "targets_to_xfail" parameter with "args".
1351 * testsuite/ld-elf/compress.exp: Remove empty list of xfails on
1352 all calls to run_ld_link_exec_tests.
1353 * testsuite/ld-elf/dwarf.exp: Likewise.
1354 * testsuite/ld-elf/indirect.exp: Likewise.
1355 * testsuite/ld-elf/wrap.exp: Likewise.
1356 * testsuite/ld-i386/i386.exp: Likewise.
1357 * testsuite/ld-i386/no-plt.exp: Likewise.
1358 * testsuite/ld-i386/tls.exp: Likewise.
1359 * testsuite/ld-ifunc/ifunc.exp: Likewise.
1360 * testsuite/ld-pie/pie.exp: Likewise.
1361 * testsuite/ld-plugin/lto.exp: Likewise.
1362 * testsuite/ld-size/size.exp: Likewise.
1363 * testsuite/ld-x86-64/mpx.exp: Likewise.
1364 * testsuite/ld-x86-64/no-plt.exp: Likewise.
1365 * testsuite/ld-x86-64/tls.exp: Likewise.
1366 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1367 * testsuite/ld-elf/elf.exp: Likewise. Reorder args when providing
1368 xfails and simplify lists.
1369 * testsuite/ld-elf/shared.exp: Likewise.
1371 2016-07-21 Alan Modra <amodra@gmail.com>
1373 * testsuite/lib/ld-lib.exp (run_ld_link_tests): Add optional
1374 parameter to pass list of xfails.
1375 * testsuite/ld-elf/elf.exp: Add xfails for implib tests. Tidy
1376 implib test formatting. Don't set .data start address.
1377 * testsuite/ld-elf/implib.s: Remove first .bss directive and
1378 replace second one with equivalent .section directive.
1379 * testsuite/ld-elf/empty-implib.out: Add expected final error.
1380 * testsuite/ld-elf/implib.rd: Update.
1382 2016-07-20 Alan Modra <amodra@gmail.com>
1384 * ldexp.c (exp_unop, exp_binop, exp_trinop, exp_nameop): Don't
1386 * testsuite/ld-elf/maxpage3b.d: Expect correct maxpagesize.
1388 2016-07-19 Roland McGrath <roland@hack.frob.com>
1390 * emulparams/aarch64elf.sh (GENERATE_PIE_SCRIPT): Set to yes.
1391 * emulparams/aarch64elf32.sh: Likewise.
1393 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
1395 * testsuite/ld-mips-elf/unaligned-branch-2.d: Update error
1397 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: Likewise.
1398 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: Likewise.
1399 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: Likewise.
1400 * testsuite/ld-mips-elf/bal-jalx-addend.d: New test.
1401 * testsuite/ld-mips-elf/bal-jalx-local.d: New test.
1402 * testsuite/ld-mips-elf/bal-jalx-pic.d: New test.
1403 * testsuite/ld-mips-elf/bal-jalx-addend-n32.d: New test.
1404 * testsuite/ld-mips-elf/bal-jalx-local-n32.d: New test.
1405 * testsuite/ld-mips-elf/bal-jalx-pic-n32.d: New test.
1406 * testsuite/ld-mips-elf/bal-jalx-addend-n64.d: New test.
1407 * testsuite/ld-mips-elf/bal-jalx-local-n64.d: New test.
1408 * testsuite/ld-mips-elf/bal-jalx-pic-n64.d: New test.
1409 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
1410 * testsuite/ld-mips-elf/unaligned-jalx-3.d: New test.
1411 * testsuite/ld-mips-elf/unaligned-jalx-addend-2.d: New test.
1412 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d: New test.
1413 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
1414 * testsuite/ld-mips-elf/unaligned-jalx-3.s: New test source.
1415 * testsuite/ld-mips-elf/unaligned-jalx-addend-2.s: New test
1417 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.s: New test
1419 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1421 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
1423 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error message
1425 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: Likewise.
1426 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d:
1428 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d:
1430 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
1431 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
1432 * testsuite/ld-mips-elf/undefweak-overflow.s: Add jumps,
1433 microMIPS BAL and MIPS16 instructions.
1434 * testsuite/ld-mips-elf/undefweak-overflow.d: Update
1436 * testsuite/ld-mips-elf/unaligned-branch-2.d: New test.
1437 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: New test.
1438 * testsuite/ld-mips-elf/unaligned-branch-r6-2.d: New test.
1439 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: New test.
1440 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: New test.
1441 * testsuite/ld-mips-elf/unaligned-jump-mips16.d: New test.
1442 * testsuite/ld-mips-elf/unaligned-jump-micromips.d: New test.
1443 * testsuite/ld-mips-elf/unaligned-jump.d: New test.
1444 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1446 2016-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
1448 * plugin.c (plugin_call_claim_file): Restore the file offset after
1449 an unsuccessful attempt to claim a file.
1450 * testplug.c (bytes_to_read_before_claim): New global.
1451 (record_read_length): New function, sets new global
1452 bytes_to_read_before_claim.
1453 (parse_option): Handle 'read:<NUMBER>' option.
1454 (onclaim_file): Read file content before checking for claim.
1455 * testsuite/ld-plugin/plugin-30.d: New file.
1456 * testsuite/ld-plugin/plugin.exp: Add new test.
1458 2016-07-16 Alan Modra <amodra@gmail.com>
1460 * plugin.c: Don't include libbfd.h. Include plugin-api.h
1461 before bfd/plugin.h.
1462 (plugin_object_p): Use bfd_plugin_open_input.
1464 2016-07-16 Alan Modra <amodra@gmail.com>
1466 * ldlang.c (open_output): Replace bfd_search_for_target with
1467 bfd_iterate_over_targets. Localize vars.
1469 2016-07-16 Alan Modra <amodra@gmail.com>
1471 * ldlang.c: Don't include libbfd.h.
1472 * emultempl/nds32elf.em: Likewise.
1473 * emultempl/ppc64elf.em: Likewise.
1474 * emultempl/ppc32elf.em: Likewise.
1476 (params): Update init.
1477 (ppc_after_open_output): Use params.pagesize. Don't call bfd_log2.
1478 (PARSE_AND_LIST_ARGS_CASES): Use params.pagesize.
1479 * emultempl/sh64elf.em: Don't include libbfd.h.
1480 (after_allocation): Use ASSERT, not BFD_ASSERT.
1481 * emultempl/xtensaelf.em: Don't include libbfd.h.
1482 (replace_insn_sec_with_prop_sec): Use xmalloc, not bfd_malloc.
1483 * Makefile.am: Update dependencies.
1484 * Makefile.in: Regenerate.
1486 2016-07-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
1487 Nick Clifton <nickc@redhat.com>
1489 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Open import
1490 library file for writing and initialize implib_bfd field of link_info
1492 * emultempl/pe.em (pe_implib_filename): Remove variable declaration.
1493 (OPTION_IMPLIB_FILENAME): Remove macro definition.
1494 (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
1495 (gld_${EMULATION_NAME}_list_options): Likewise.
1496 (gld${EMULATION_NAME}_handle_option): Likewise.
1497 (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
1498 instead of pe_implib_filename.
1499 * emultempl/pep.em (pep_implib_filename): Remove variable declaration.
1500 (OPTION_IMPLIB_FILENAME): Remove enumerator.
1501 (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
1502 (gld_${EMULATION_NAME}_list_options): Likewise.
1503 (gld${EMULATION_NAME}_handle_option): Likewise.
1504 (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
1505 instead of pep_implib_filename.
1506 * ld.h (args_type): Declare new out_implib_filename field.
1507 * ld.texinfo (--out-implib): Move documentation to arch-independent
1508 part and rephrase to apply to ELF targets.
1509 * ldexp.c (exp_fold_tree_1): Set ldscript_def field to 1 for symbols
1510 defined in linker scripts.
1511 * ldlex.h (enum option_values): Declare new OPTION_OUT_IMPLIB
1513 * lexsup.c (ld_options): Add entry for new --out-implib switch.
1514 (parse_args): Handle OPTION_OUT_IMPLIB case.
1515 * testsuite/ld-elf/elf.exp (Generate empty import library): New test.
1516 (Generate import library): Likewise.
1517 * testsuite/ld-elf/implib.s: Likewise.
1518 * testsuite/ld-elf/implib.rd: New file.
1519 * testsuite/ld-elf/empty-implib.out: Likewise
1521 2016-07-15 Nick Clifton <nickc@redhat.com>
1523 * testsuite/ld-arc/arc.exp: Always run the sda-relocs test in
1526 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1528 * testsuite/ld-mips-elf/mips-elf.exp: Run
1529 `branch-absolute-addend', `mips16-branch-absolute',
1530 `mips16-branch-absolute-addend' and
1531 `micromips-branch-absolute-addend'.
1533 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1535 * testsuite/ld-mips-elf/mips16-branch-absolute.d: New test.
1536 * testsuite/ld-mips-elf/mips16-branch-absolute-n32.d: New test.
1537 * testsuite/ld-mips-elf/mips16-branch-absolute-n64.d: New test.
1538 * testsuite/ld-mips-elf/mips16-branch-absolute-addend.d: New
1540 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n32.d: New
1542 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n64.d: New
1544 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
1545 from `mips16-branch-absolute' and
1546 `mips16-branch-absolute-addend', referred indirectly only.
1548 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1550 * testsuite/ld-mips-elf/branch-absolute.d: New test.
1551 * testsuite/ld-mips-elf/branch-absolute-n32.d: New test.
1552 * testsuite/ld-mips-elf/branch-absolute-n64.d: New test.
1553 * testsuite/ld-mips-elf/branch-absolute-addend.d: New test.
1554 * testsuite/ld-mips-elf/branch-absolute-addend-n32.d: New test.
1555 * testsuite/ld-mips-elf/branch-absolute-addend-n64.d: New test.
1556 * testsuite/ld-mips-elf/micromips-branch-absolute.d: New test.
1557 * testsuite/ld-mips-elf/micromips-branch-absolute-n32.d: New
1559 * testsuite/ld-mips-elf/micromips-branch-absolute-n64.d: New
1561 * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d: New
1563 * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n32.d:
1565 * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n64.d:
1567 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
1568 from `branch-absolute-addend' and
1569 `micromips-branch-absolute-addend', referred indirectly only.
1571 2016-07-14 Claudiu Zissulescu <claziss@synopsys.com>
1573 * emulparams/arcelf.sh (SDATA_START_SYMBOLS): Add offset.
1574 * testsuite/ld-arc/sda-relocs.dd: New file.
1575 * testsuite/ld-arc/sda-relocs.ld: Likewise.
1576 * testsuite/ld-arc/sda-relocs.rd: Likewise.
1577 * testsuite/ld-arc/sda-relocs.s: Likewise.
1578 * testsuite/ld-arc/arc.exp: Add SDA tests.
1580 2016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
1582 * testsuite/ld-arc/nps-1b.err: Update test to handle more
1585 2016-07-09 Alan Modra <amodra@gmail.com>
1587 * testsuite/ld-powerpc/elfv2exe.d: Update.
1589 2016-07-06 James Bowman <james.bowman@ftdichip.com>
1591 * scripttempl/ft32.sc (__PMSIZE): Correct __PMSIZE_.
1595 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
1597 * testsuite/ld-plugin/lto.exp: Add -flto to PR ld/20321 test.
1599 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
1601 * testsuite/ld-arm/farcall-thumb2-purecode.d: New test result.
1602 * testsuite/ld-arm/farcall-thumb2-purecode.s: New test.
1603 * testsuite/ld-arm/arm-elf.exp: Run it.
1605 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
1607 * testsuite/ld-arm/arm_noread.ld: Renamed to ...
1608 testsuite/ld-arm/arm_purecode.ld: ... this, and replaced
1609 all noread's by purecode.
1611 2016-07-05 Jan Beulich <jbeulich@suse.com>
1613 * ldexp.c (exp_fold_tree_1): Set linker_def field based on
1614 assignment line number.
1615 * ldlex.l (lineno): Drop initializer.
1616 (<<EOF>>): Set lineno to zero after reaching top of stack.
1618 2016-07-04 H.J. Lu <hongjiu.lu@intel.com>
1621 * plugin.c (plugin_opt_plugin): Warn and return if plugin has
1622 been loaded already.
1623 * testsuite/ld-plugin/lto.exp: Run PR ld/20321 test.
1624 * testsuite/ld-plugin/pr20321.c: New file.
1626 2016-07-04 Nick Clifton <nickc@redhat.com>
1628 * scripttempl/ft32.sc (__PMSIZE_): If not defined, set to 256K.
1629 (__RAMSIZE): If not defined, set to 64K.
1630 (MEMORY): Set the flash region size to __PMSIZE and the ram region
1633 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1635 * testsuite/ld-mips-elf/branch-misc-2.d: New test.
1636 * testsuite/ld-mips-elf/mips-elf.exp: Run it.
1638 2016-07-01 Thomas Preud'homme <thomas.preudhomme@arm.com>
1640 * testsuite/ld-arm/arm-elf.exp (Thumb-2 BL): Assemble for ARMv7.
1641 (Thumb-2 BL on ARMv6-M): New testcase.
1642 * testsuite/ld-arm/thumb2-bl.d: Do not try to match testcase filename.
1643 * testsuite/ld-arm/thumb2-bl.s: Do not select architecture.
1645 2016-07-01 Tristan Gingold <gingold@adacore.com>
1647 * NEWS: Add marker for 2.27.
1649 2016-06-28 H.J. Lu <hongjiu.lu@intel.com>
1651 * testsuite/ld-gc/gc.exp: Run pr20306 test.
1652 * ld-gc/pr20306.c: New file.
1653 * ld-gc/pr20306.d: Likewise.
1655 2016-06-28 Nick Clifton <nickc@redhat.com>
1657 * testsuite/ld-elf/comm-data.exp: Expect comm-data2 test to fail
1659 * testsuite/ld-elf/elf.exp: Expect pr14170 and symbolic function
1660 tests to fail for bfin.
1661 * testsuite/ld-elf/endsym.d: Expect to fail with cr16, crx, dlx,
1663 * testsuite/ld-elf/var1.d: Expect to fail with d30v, dlx, ft32 and
1665 * testsuite/ld-pe/pe.exp: Expect foreign symbol test to fail for
1668 2016-06-28 Nick Clifton <nickc@redhat.com>
1670 * testsuite/ld-elf/merge.d: Add m68hc11 to list of targets that
1671 expect to fail this test.
1672 * testsuite/ld-scripts/overlay-size.d: Skip the entire test for
1674 * testsuite/ld-scripts/rgn-at10.d: No longer expect this test to
1676 * testsuite/ld-scripts/rgn-at11.d: Likewise.
1677 * testsuite/ld-scripts/rgn-at2.d: Likewise.
1678 * testsuite/ld-scripts/rgn-at6.d: Likewise.
1679 * testsuite/ld-scripts/rgn-at7.d: Likewise.
1680 * testsuite/ld-scripts/rgn-at8.d: Likewise.
1682 2016-06-28 James Clarke <jrtc27@jrtc27.com>
1684 * testsuite/ld-elf/symbolic-func.r: Allow non-zero offsets from
1687 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1689 * testsuite/ld-mips-elf/attr-gnu-4-10.d: Match any UNIX OS/ABI.
1690 * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise.
1691 * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise.
1692 * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
1694 2016-06-28 Alan Modra <amodra@gmail.com>
1697 * testsuite/ld-scripts/pr20302.d: Exclude *-*-*aout.
1699 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1701 * testsuite/ld-mips-elf/mips16-branch-2.d: New test.
1702 * testsuite/ld-mips-elf/mips16-branch-3.d: New test.
1703 * testsuite/ld-mips-elf/mips16-branch-addend-2.d: New test.
1704 * testsuite/ld-mips-elf/mips16-branch-addend-3.d: New test.
1705 * testsuite/ld-mips-elf/mips16-branch.s: New test source.
1706 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1708 2016-06-27 Nick Clifton <nickc@redhat.com>
1711 * lexsup.c (set_segment_start): If resetting the start address of
1712 a section, remember to generate a new script element as well.
1713 * testsuite/ld-scripts/pr20302.d: New test.
1714 * testsuite/ld-scripts/scripts.exp: Run the new test.
1716 2016-06-24 Alan Modra <amodra@gmail.com>
1718 * testsuite/ld-aarch64/aarch64-elf.exp (aarch64_choose_ilp32_emul):
1719 Don't error out, always return an emulation.
1721 2016-06-24 Dilyan Palauzov <dilyan.palauzov@aegee.org>
1722 H.J. Lu <hongjiu.lu@intel.com>
1724 * lexsup.c (elf_shlib_list_options): Check DEFAULT_LD_Z_RELRO
1725 for -z relro help message.
1727 2016-06-22 Maciej W. Rozycki <macro@imgtec.com>
1729 * testsuite/ld-mips-elf/undefweak-overflow.d: Use wildcard
1732 2016-06-22 Maciej W. Rozycki <macro@imgtec.com>
1734 * testsuite/ld-mips-elf/mips-elf.exp: Uniquely identify
1735 `undefweak-overflow' tests.
1737 2016-06-22 H.J. Lu <hongjiu.lu@intel.com>
1740 * NEWS: Mention --enable-relro.
1741 * configure.ac: Add --enable-relro.
1742 (DEFAULT_LD_Z_RELRO): New. Set by --enable-relro.
1743 * configure.tgt (ac_default_ld_z_relro): Default it to 1 for
1745 * config.in: Regenerated.
1746 * configure: Likewise.
1747 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
1748 link_info.relro to DEFAULT_LD_Z_RELRO.
1749 * testsuite/config/default.exp (ld_elf_shared_opt): New.
1750 * testsuite/lib/ld-lib.exp (run_dump_test): Pass
1751 $ld_elf_shared_opt to ld for ELF targets with shared object
1753 (run_ld_link_tests): Likewise.
1755 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1757 * testsuite/ld-mips-elf/mode-change-error-1a.s: Trigger an error
1758 twice rather than once.
1759 * testsuite/ld-mips-elf/mode-change-error-1.d: Adjust
1760 accordingly. Remove the full stop from the end of the message.
1762 2016-06-21 Graham Markall <graham.markall@embecosm.com>
1764 * testsuite/ld-arc/nps-1a.d: Use -mcpu=arc700 -mnps400.
1765 * testsuite/ld-arc/nps-1b.d: Likewise.
1767 2016-06-20 H.J. Lu <hongjiu.lu@intel.com>
1770 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
1772 (lto_run_tests): Likewise.
1773 * testsuite/ld-plugin/pr20267a.c: New file.
1774 * testsuite/ld-plugin/pr20267b.c: Likewise.
1776 2016-06-20 H.J. Lu <hongjiu.lu@intel.com>
1777 Alan Modra <amodra@gmail.com>
1780 * plugin.c (plugin_notice): Set non_ir_ref on common symbols.
1781 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
1783 (lto_run_tests): Likewise.
1784 * testsuite/ld-plugin/pass.out: New file.
1785 * testsuite/ld-plugin/pr20276a.c: Likewise.
1786 * testsuite/ld-plugin/pr20276b.c: Likewise.
1788 2016-06-18 H.J. Lu <hongjiu.lu@intel.com>
1790 * plugin.c (plugin_object_p): Replace bfd_plugin_uknown
1791 with bfd_plugin_unknown.
1793 2016-06-18 H.J. Lu <hongjiu.lu@intel.com>
1796 * testsuite/ld-i386/i386.exp: Run PR ld/20253 tests.
1797 * testsuite/ld-i386/no-plt.exp: Likewise.
1798 * testsuite/ld-x86-64/no-plt.exp: Likewise.
1799 * testsuite/ld-i386/pr13302.d: Remove .rel.plt section.
1800 * testsuite/ld-ifunc/ifunc-13-i386.d: Likewise.
1801 * testsuite/ld-ifunc/ifunc-13-x86-64.d: Likewise.
1802 * testsuite/ld-ifunc/ifunc-15-i386.d: Likewise.
1803 * testsuite/ld-ifunc/ifunc-15-x86-64.d: Likewise.
1804 * testsuite/ld-x86-64/pr13082-5a.d: Likewise.
1805 * testsuite/ld-x86-64/pr13082-5b.d: Likewise.
1806 * testsuite/ld-x86-64/pr13082-6a.d: Likewise.
1807 * testsuite/ld-x86-64/pr13082-6b.d: Likewise.
1808 * testsuite/ld-i386/pr20244-2a.d: Remove .plt section.
1809 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
1810 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1811 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
1812 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1813 * testsuite/ld-i386/pr20244-2b.d: Updated.
1814 * testsuite/ld-i386/pr20244-2c.d: Likewise.
1815 * testsuite/ld-ifunc/ifunc-18a-i386.d: Likewise.
1816 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
1817 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
1818 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
1819 * testsuite/ld-i386/pr20253-1a.c: New file.
1820 * testsuite/ld-i386/pr20253-1b.S: Likewise.
1821 * testsuite/ld-i386/pr20253-1c.S: Likewise.
1822 * testsuite/ld-i386/pr20253-1d.S: Likewise.
1823 * testsuite/ld-i386/pr20253-2a.c: Likewise.
1824 * testsuite/ld-i386/pr20253-2b.S: Likewise.
1825 * testsuite/ld-i386/pr20253-2c.S: Likewise.
1826 * testsuite/ld-i386/pr20253-2d.S: Likewise.
1827 * testsuite/ld-i386/pr20253-3.d: Likewise.
1828 * testsuite/ld-i386/pr20253-3.s: Likewise.
1829 * testsuite/ld-i386/pr20253-4.s: Likewise.
1830 * testsuite/ld-i386/pr20253-4a.d: Likewise.
1831 * testsuite/ld-i386/pr20253-4b.d: Likewise.
1832 * testsuite/ld-i386/pr20253-4c.d: Likewise.
1833 * testsuite/ld-i386/pr20253-5.d: Likewise.
1834 * testsuite/ld-i386/pr20253-5.s: Likewise.
1835 * testsuite/ld-ifunc/ifunc-23-x86.s: Likewise.
1836 * testsuite/ld-ifunc/ifunc-23a-x86.d: Likewise.
1837 * testsuite/ld-ifunc/ifunc-23b-x86.d: Likewise.
1838 * testsuite/ld-ifunc/ifunc-23c-x86.d: Likewise.
1839 * testsuite/ld-ifunc/ifunc-24-x86.s: Likewise.
1840 * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise.
1841 * testsuite/ld-ifunc/ifunc-24b-x86.d: Likewise.
1842 * testsuite/ld-ifunc/ifunc-24c-x86.d: Likewise.
1843 * testsuite/ld-ifunc/ifunc-25-x86.s: Likewise.
1844 * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
1845 * testsuite/ld-ifunc/ifunc-25b-x86.d: Likewise.
1846 * testsuite/ld-ifunc/ifunc-25c-x86.d: Likewise.
1847 * testsuite/ld-x86-64/pr20253-1.s: Likewise.
1848 * testsuite/ld-x86-64/pr20253-1a.d: Likewise.
1849 * testsuite/ld-x86-64/pr20253-1b.d: Likewise.
1850 * testsuite/ld-x86-64/pr20253-1c.d: Likewise.
1851 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
1852 * testsuite/ld-x86-64/pr20253-1e.d: Likewise.
1853 * testsuite/ld-x86-64/pr20253-1f.d: Likewise.
1854 * testsuite/ld-x86-64/pr20253-1g.d: Likewise.
1855 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
1856 * testsuite/ld-x86-64/pr20253-1i.d: Likewise.
1857 * testsuite/ld-x86-64/pr20253-1j.d: Likewise.
1858 * testsuite/ld-x86-64/pr20253-1k.d: Likewise.
1859 * testsuite/ld-x86-64/pr20253-1l.d: Likewise.
1860 * testsuite/ld-x86-64/pr20253-2a.c: Likewise.
1861 * testsuite/ld-x86-64/pr20253-2b.S: Likewise.
1862 * testsuite/ld-x86-64/pr20253-2c.S: Likewise.
1863 * testsuite/ld-x86-64/pr20253-2d.S: Likewise.
1864 * testsuite/ld-x86-64/pr20253-3.d: Likewise.
1865 * testsuite/ld-x86-64/pr20253-3.s: Likewise.
1866 * testsuite/ld-x86-64/pr20253-4.s: Likewise.
1867 * testsuite/ld-x86-64/pr20253-4a.d: Likewise.
1868 * testsuite/ld-x86-64/pr20253-4b.d: Likewise.
1869 * testsuite/ld-x86-64/pr20253-4c.d: Likewise.
1870 * testsuite/ld-x86-64/pr20253-4d.d: Likewise.
1871 * testsuite/ld-x86-64/pr20253-4e.d: Likewise.
1872 * testsuite/ld-x86-64/pr20253-4f.d: Likewise.
1873 * testsuite/ld-x86-64/pr20253-5.s: Likewise.
1874 * testsuite/ld-x86-64/pr20253-5a.d: Likewise.
1875 * testsuite/ld-x86-64/pr20253-5b.d: Likewise.
1876 * testsuite/ld-ifunc/ifunc-18a-i386.d: Remove extra IRELATIVE
1878 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
1879 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
1880 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
1881 * testsuite/ld-ifunc/ifunc-18a.s: Fix a typo.
1882 * testsuite/ld-x86-64/x86-64.exp: Run pr20253-1 tests.
1884 2016-06-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
1885 Tony Wang <tony.wang@arm.com>
1887 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall M profile):
1888 Assemble for ARMv6-M.
1889 (Thumb2-Thumb2 farcall M profile): New testcase.
1890 * testsuite/ld-arm/farcall-thumb2-thumb2-m.d: New file.
1891 * testsuite/ld-arm/jump-reloc-veneers-cond-long-backward.d: Update to
1892 reflect the use of Thumb-2 veneers for Thumb-2 capable targets.
1893 * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Likewise.
1895 2016-06-16 H.J. Lu <hongjiu.lu@intel.com>
1897 * testsuite/ld-i386/i386.exp: Run pr19636-2e-nacl.
1898 * testsuite/ld-i386/pr19636-2e.d: Skip for NaCl targets.
1899 Remove .rel.plt section.
1900 * testsuite/ld-i386/pr19636-2e-nacl.d: New file.
1902 2016-06-15 H.J. Lu <hongjiu.lu@intel.com>
1904 * testsuite/ld-i386/no-plt-check1a.S (check): Test static
1906 * testsuite/ld-i386/no-plt-check1b.S (check): Likewise.
1907 * testsuite/ld-x86-64/no-plt-check1.S (check): Likewise.
1908 * testsuite/ld-i386/no-plt-extern1a.S (func_p): New. Static
1910 * testsuite/ld-i386/no-plt-extern1b.S (func_p): Likewise.
1911 * testsuite/ld-x86-64/no-plt-extern1.S (func_p): Likewise.
1912 * testsuite/ld-i386/no-plt-1a.dd: Updated.
1913 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
1914 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
1915 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
1916 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
1917 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
1918 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
1919 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
1920 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
1921 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
1922 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
1923 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
1924 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
1925 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
1926 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
1927 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
1928 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
1930 2016-06-14 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1933 * testsuite/ld-avr/avr-prop-6.d: New test.
1934 * testsuite/ld-avr/avr-prop-6.s: New test.
1936 2016-06-14 Alan Modra <amodra@gmail.com>
1938 * ldbuildid.c: Formatting.
1939 * ldcref.c: Formatting.
1940 * ldctor.c: Formatting.
1941 * ldemul.c: Formatting.
1942 * ldexp.c: Formatting.
1943 * ldfile.c: Formatting.
1944 * ldlang.c: Formatting.
1945 * ldmain.c: Formatting.
1946 * ldwrite.c: Formatting.
1948 2016-06-14 Alan Modra <amodra@gmail.com>
1950 * ldlang.c: Expand uses of bfd_my_archive.
1951 * ldmain.c: Likewise.
1952 * ldmisc.c: Likewise.
1953 * plugin.c: Likewise.
1955 2016-06-14 Alan Modra <amodra@gmail.com>
1958 * ldmain.c (add_archive_element): Just print file name of file within
1960 * ldmisc.c (vfinfo): Likewise.
1961 * plugin.c (plugin_object_p): Open file within thin archives.
1962 (plugin_maybe_claim): Expand comment.
1964 2016-06-13 H.J. Lu <hongjiu.lu@intel.com>
1967 * testsuite/ld-i386/i386.exp: Run pr20244-2a, pr20244-2b,
1968 pr20244-2c and pr20244-2d.
1969 * testsuite/ld-i386/no-plt.exp: Run pr20244-3a and pr20244-3b.
1970 * testsuite/ld-i386/pr20244-2.s: New file.
1971 * testsuite/ld-i386/pr20244-2a.d: Likewise.
1972 * testsuite/ld-i386/pr20244-2b.d: Likewise.
1973 * testsuite/ld-i386/pr20244-2c.d: Likewise.
1974 * testsuite/ld-i386/pr20244-2d.d: Likewise.
1975 * testsuite/ld-i386/pr20244-3a.c: Likewise.
1976 * testsuite/ld-i386/pr20244-3b.S: Likewise.
1977 * testsuite/ld-i386/pr20244-3c.S: Likewise.
1978 * testsuite/ld-i386/pr20244-3d.S: Likewise.
1980 2016-06-13 H.J. Lu <hongjiu.lu@intel.com>
1982 * testsuite/ld-i386/i386.exp: Run ifunc-1a and ifunc-1b.
1983 * testsuite/ld-i386/ifunc-1a.c: New file.
1984 * testsuite/ld-i386/ifunc-1b.S: Likewise.
1985 * testsuite/ld-i386/ifunc-1c.S: Likewise.
1986 * testsuite/ld-i386/ifunc-1d.S: Likewise.
1988 2016-06-13 Cupertino Miranda <cmiranda@synospsy.com>
1990 * testsuite/ld-srec/srec.exp: Changed to XFAIL on both little and
1991 big endian ARC targets.
1993 2016-06-12 H.J. Lu <hongjiu.lu@intel.com>
1995 * testsuite/ld-x86-64/libno-plt-1b.dd: Updated for x32.
1996 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
1997 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
1998 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
1999 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
2000 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
2001 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
2002 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
2003 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
2004 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
2005 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
2006 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
2007 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
2008 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
2009 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
2011 2016-06-11 H.J. Lu <hongjiu.lu@intel.com>
2014 * testsuite/ld-i386/i386.exp: Run pr20244-1a and pr20244-1b.
2015 * testsuite/ld-i386/pr20244-1.s: New file.
2016 * testsuite/ld-i386/pr20244-1a.d: Likewise.
2017 * testsuite/ld-i386/pr20244-1b.d: Likewise.
2018 * testsuite/ld-i386/pr20244-1c.d: Likewise.
2020 2016-06-08 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2023 * testsuite/ld-avr/avr-prop-5.d: New.
2024 * testsuite/ld-avr/avr-prop-5.s: New.
2026 2016-06-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2028 * testsuite/ld-avr/lds-mega.d: New test.
2029 * testsuite/ld-avr/lds-mega.s: New test source.
2030 * testsuite/ld-avr/lds-tiny.d: New test.
2031 * testsuite/ld-avr/lds-tiny.s: New test source.
2033 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
2035 * testsuite/ld-i386/libno-plt-1b.dd: New file.
2036 * testsuite/ld-i386/libno-plt-1b.rd: Likewise.
2037 * testsuite/ld-i386/no-plt-1a.dd: Likewise.
2038 * testsuite/ld-i386/no-plt-1a.rd: Likewise.
2039 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
2040 * testsuite/ld-i386/no-plt-1b.rd: Likewise.
2041 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
2042 * testsuite/ld-i386/no-plt-1c.rd: Likewise.
2043 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
2044 * testsuite/ld-i386/no-plt-1d.rd: Likewise.
2045 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
2046 * testsuite/ld-i386/no-plt-1e.rd: Likewise.
2047 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
2048 * testsuite/ld-i386/no-plt-1f.rd: Likewise.
2049 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
2050 * testsuite/ld-i386/no-plt-1g.rd: Likewise.
2051 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
2052 * testsuite/ld-i386/no-plt-1h.rd: Likewise.
2053 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
2054 * testsuite/ld-i386/no-plt-1i.rd: Likewise.
2055 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
2056 * testsuite/ld-i386/no-plt-1j.rd: Likewise.
2057 * testsuite/ld-i386/no-plt-check1a.S: Likewise.
2058 * testsuite/ld-i386/no-plt-check1b.S: Likewise.
2059 * testsuite/ld-i386/no-plt-extern1a.S: Likewise.
2060 * testsuite/ld-i386/no-plt-extern1b.S: Likewise.
2061 * testsuite/ld-i386/no-plt-func1.c: Likewise.
2062 * testsuite/ld-i386/no-plt-main1.c: Likewise.
2063 * testsuite/ld-i386/no-plt.exp: Likewise.
2065 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
2067 * testsuite/ld-x86-64/tls.exp (run_cc_link_tests): Update test
2070 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
2072 * testsuite/ld-i386/i386.exp: Run libtlspic2.so, tlsbin2,
2073 tlsgd3, tlsld2, tlsgd4, tlspie3a, tlspie3b and tlspie3c.
2074 * testsuite/ld-i386/pass.out: New file.
2075 * testsuite/ld-i386/tls-def1.c: Likewise.
2076 * testsuite/ld-i386/tls-gd1.S: Likewise.
2077 * testsuite/ld-i386/tls-ld1.S: Likewise.
2078 * testsuite/ld-i386/tls-main1.c: Likewise.
2079 * testsuite/ld-i386/tls.exp: Likewise.
2080 * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
2081 * testsuite/ld-i386/tlsbin2.dd: Likewise.
2082 * testsuite/ld-i386/tlsbin2.rd: Likewise.
2083 * testsuite/ld-i386/tlsbin2.sd: Likewise.
2084 * testsuite/ld-i386/tlsbin2.td: Likewise.
2085 * testsuite/ld-i386/tlsbinpic2.s: Likewise.
2086 * testsuite/ld-i386/tlsgd3.dd: Likewise.
2087 * testsuite/ld-i386/tlsgd3.s: Likewise.
2088 * testsuite/ld-i386/tlsgd4.d: Likewise.
2089 * testsuite/ld-i386/tlsgd4.s: Likewise.
2090 * testsuite/ld-i386/tlsld2.s: Likewise.
2091 * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
2092 * testsuite/ld-i386/tlspic2.dd: Likewise.
2093 * testsuite/ld-i386/tlspic2.rd: Likewise.
2094 * testsuite/ld-i386/tlspic2.sd: Likewise.
2095 * testsuite/ld-i386/tlspic2.td: Likewise.
2096 * testsuite/ld-i386/tlspic3.s: Likewise.
2097 * testsuite/ld-i386/tlspie3.s: Likewise.
2098 * testsuite/ld-i386/tlspie3a.d: Likewise.
2099 * testsuite/ld-i386/tlspie3b.d: Likewise.
2100 * testsuite/ld-i386/tlspie3c.d: Likewise.
2102 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
2104 * testsuite/ld-x86-64/no-plt-1a.rd: Support any relocation order.
2105 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
2106 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
2107 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
2108 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
2109 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
2110 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
2111 * testsuite/ld-x86-64/no-plt.exp: Fix a typo.
2113 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
2115 * testsuite/ld-x86-64/libno-plt-1b.dd: Likewise.
2116 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
2117 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
2118 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
2119 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
2120 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
2121 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
2122 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
2123 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
2124 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
2125 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
2126 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
2127 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
2128 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
2129 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
2130 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
2131 * testsuite/ld-x86-64/no-plt-check1.S: Likewise.
2132 * testsuite/ld-x86-64/no-plt.exp: Likewise.
2133 * testsuite/ld-x86-64/no-plt-extern1.S: Likewise.
2134 * testsuite/ld-x86-64/no-plt-func1.c: Likewise.
2135 * testsuite/ld-x86-64/no-plt-main1.c: Likewise.
2137 2016-06-07 Maciej W. Rozycki <macro@imgtec.com>
2139 * testsuite/ld-elf/init-fini-arrays.d: Remove `ft32-*-*' xfail.
2141 2016-06-07 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
2143 * testsuite/ld-s390/pltoffset-1.dd: New test.
2144 * testsuite/ld-s390/pltoffset-1.ld: New test.
2145 * testsuite/ld-s390/pltoffset-1.s: New test.
2146 * testsuite/ld-s390/s390.exp: Run new test.
2148 2016-06-07 Alan Modra <amodra@gmail.com>
2150 * testsuite/ld-powerpc/apuinfo1.s: Delete nop.
2151 * testsuite/ld-powerpc/apuinfo-vle2.s: New.
2152 * testsuite/ld-powerpc/powerpc.exp: Use apuinfo-vle2.s.
2154 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
2156 * testsuite/ld-x86-64/pass.out: New file.
2157 * testsuite/ld-x86-64/tls-def1.c: Likewise.
2158 * testsuite/ld-x86-64/tls-gd1.S: Likewise.
2159 * testsuite/ld-x86-64/tls-ld1.S: Likewise.
2160 * testsuite/ld-x86-64/tls-main1.c: Likewise.
2161 * testsuite/ld-x86-64/tls.exp: Likewise.
2162 * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
2163 * testsuite/ld-x86-64/tlsbin2.dd: Likewise.
2164 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
2165 * testsuite/ld-x86-64/tlsbin2.sd: Likewise.
2166 * testsuite/ld-x86-64/tlsbin2.td: Likewise.
2167 * testsuite/ld-x86-64/tlsbinpic2.s: Likewise.
2168 * testsuite/ld-x86-64/tlsgd10.dd: Likewise.
2169 * testsuite/ld-x86-64/tlsgd10.s: Likewise.
2170 * testsuite/ld-x86-64/tlsgd11.dd: Likewise.
2171 * testsuite/ld-x86-64/tlsgd11.s: Likewise.
2172 * testsuite/ld-x86-64/tlsgd12.d: Likewise.
2173 * testsuite/ld-x86-64/tlsgd12.s: Likewise.
2174 * testsuite/ld-x86-64/tlsgd13.d: Likewise.
2175 * testsuite/ld-x86-64/tlsgd13.s: Likewise.
2176 * testsuite/ld-x86-64/tlsgd14.dd: Likewise.
2177 * testsuite/ld-x86-64/tlsgd14.s: Likewise.
2178 * testsuite/ld-x86-64/tlsgd5c.s: Likewise.
2179 * testsuite/ld-x86-64/tlsgd6c.s: Likewise.
2180 * testsuite/ld-x86-64/tlsgd9.dd: Likewise.
2181 * testsuite/ld-x86-64/tlsgd9.s: Likewise.
2182 * testsuite/ld-x86-64/tlsld4.dd: Likewise.
2183 * testsuite/ld-x86-64/tlsld4.s: Likewise.
2184 * testsuite/ld-x86-64/tlsld5.dd: Likewise.
2185 * testsuite/ld-x86-64/tlsld5.s: Likewise.
2186 * testsuite/ld-x86-64/tlsld6.dd: Likewise.
2187 * testsuite/ld-x86-64/tlsld6.s: Likewise.
2188 * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
2189 * testsuite/ld-x86-64/tlspic2.dd: Likewise.
2190 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
2191 * testsuite/ld-x86-64/tlspic2.sd: Likewise.
2192 * testsuite/ld-x86-64/tlspic2.td: Likewise.
2193 * testsuite/ld-x86-64/tlspic3.s: Likewise.
2194 * testsuite/ld-x86-64/tlspie2.s: Likewise.
2195 * testsuite/ld-x86-64/tlspie2a.d: Likewise.
2196 * testsuite/ld-x86-64/tlspie2b.d: Likewise.
2197 * testsuite/ld-x86-64/tlspie2c.d: Likewise.
2198 * testsuite/ld-x86-64/tlsgd5.dd: Updated.
2199 * testsuite/ld-x86-64/tlsgd6.dd: Likewise.
2200 * testsuite/ld-x86-64/x86-64.exp: Run libtlspic2.so, tlsbin2,
2201 tlsgd5b, tlsgd6b, tlsld4, tlsld5, tlsld6, tlsgd9, tlsgd10,
2202 tlsgd11, tlsgd14, tlsgd12, tlsgd13, tlspie2a, tlspie2b and
2205 2016-06-04 Christian Groessler <chris@groessler.org>
2207 * testsuite/ld-z8k/0filler.s: New file.
2208 * testsuite/ld-z8k/branch-target.s: New file.
2209 * testsuite/ld-z8k/branch-target2.s: New file.
2210 * testsuite/ld-z8k/calr-back-8001.d: New file.
2211 * testsuite/ld-z8k/calr-back-8002.d: New file.
2212 * testsuite/ld-z8k/calr-back-fail-8001.d: New file.
2213 * testsuite/ld-z8k/calr-back-fail-8002.d: New file.
2214 * testsuite/ld-z8k/calr-forw-8001.d: New file.
2215 * testsuite/ld-z8k/calr-forw-8002.d: New file.
2216 * testsuite/ld-z8k/calr-forw-fail-8001.d: New file.
2217 * testsuite/ld-z8k/calr-forw-fail-8002.d: New file.
2218 * testsuite/ld-z8k/calr-opcode.s: New file.
2219 * testsuite/ld-z8k/dbjnz-forw-8001.d: New file.
2220 * testsuite/ld-z8k/dbjnz-forw-8002.d: New file.
2221 * testsuite/ld-z8k/dbjnz-forw-fail-8001.d: New file.
2222 * testsuite/ld-z8k/dbjnz-forw-fail-8002.d: New file.
2223 * testsuite/ld-z8k/dbjnz-opcode.s: New file.
2224 * testsuite/ld-z8k/djnz-back-8001.d: New file.
2225 * testsuite/ld-z8k/djnz-back-8002.d: New file.
2226 * testsuite/ld-z8k/djnz-back-fail-8001.d: New file.
2227 * testsuite/ld-z8k/djnz-back-fail-8002.d: New file.
2228 * testsuite/ld-z8k/djnz-forw-8001.d: New file.
2229 * testsuite/ld-z8k/djnz-forw-8002.d: New file.
2230 * testsuite/ld-z8k/djnz-forw-fail-8001.d: New file.
2231 * testsuite/ld-z8k/djnz-forw-fail-8002.d: New file.
2232 * testsuite/ld-z8k/djnz-opcode.s: New file.
2233 * testsuite/ld-z8k/filler.s: New file.
2234 * testsuite/ld-z8k/jr-back-8001.d: New file.
2235 * testsuite/ld-z8k/jr-back-8002.d: New file.
2236 * testsuite/ld-z8k/jr-back-fail-8001.d: New file.
2237 * testsuite/ld-z8k/jr-back-fail-8002.d: New file.
2238 * testsuite/ld-z8k/jr-forw-8001.d: New file.
2239 * testsuite/ld-z8k/jr-forw-8002.d: New file.
2240 * testsuite/ld-z8k/jr-forw-fail-8001.d: New file.
2241 * testsuite/ld-z8k/jr-forw-fail-8002.d: New file.
2242 * testsuite/ld-z8k/jr-opcode.s: New file.
2243 * testsuite/ld-z8k/ldr-back-8001.d: New file.
2244 * testsuite/ld-z8k/ldr-back-8002.d: New file.
2245 * testsuite/ld-z8k/ldr-back-fail-8001.d: New file.
2246 * testsuite/ld-z8k/ldr-back-fail-8002.d: New file.
2247 * testsuite/ld-z8k/ldr-forw-8001.d: New file.
2248 * testsuite/ld-z8k/ldr-forw-8002.d: New file.
2249 * testsuite/ld-z8k/ldr-forw-fail-8001.d: New file.
2250 * testsuite/ld-z8k/ldr-forw-fail-8002.d: New file.
2251 * testsuite/ld-z8k/ldr-opcode.s: New file.
2252 * testsuite/ld-z8k/ldrb-forw-8001.d: New file.
2253 * testsuite/ld-z8k/ldrb-forw-8002.d: New file.
2254 * testsuite/ld-z8k/ldrb-forw-fail-8001.d: New file.
2255 * testsuite/ld-z8k/ldrb-forw-fail-8002.d: New file.
2256 * testsuite/ld-z8k/ldrb-opcode.s: New file.
2257 * testsuite/ld-z8k/ldrb-opcode2.s: New file.
2258 * testsuite/ld-z8k/other-file.s: New file.
2259 * testsuite/ld-z8k/reloc.dd: New file.
2260 * testsuite/ld-z8k/reloc.ld: New file.
2261 * testsuite/ld-z8k/relocseg.dd: New file.
2262 * testsuite/ld-z8k/relocseg.ld: New file.
2263 * testsuite/ld-z8k/relocseg1.dd: New file.
2264 * testsuite/ld-z8k/this-file.s: New file.
2265 * testsuite/ld-z8k/z8k.exp: New file.
2267 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
2269 * testsuite/ld-i386/i386.exp: Assemble gotpc1.o and pr19319b.o
2270 with -mrelax-relocations=yes.
2271 * testsuite/ld-i386/lea1a.d (as): Add -mrelax-relocations=yes.
2272 * testsuite/ld-i386/lea1b.d (as): Likewise.
2273 * testsuite/ld-i386/lea1d.d (as): Likewise.
2274 * testsuite/ld-i386/lea1e.d (as): Likewise.
2275 * testsuite/ld-i386/lea1f.d (as): Likewise.
2276 * testsuite/ld-i386/load7.d (as): Likewise.
2277 * testsuite/ld-i386/mov1b.d (as): Likewise.
2278 * testsuite/ld-i386/pr19175.d (as): Likewise.
2279 * testsuite/ld-ifunc/ifunc-13-i386.d (as): Likewise.
2280 * testsuite/ld-ifunc/ifunc-21-i386.d (as): Likewise.
2281 * testsuite/ld-ifunc/ifunc-22-i386.d (as): Likewise.
2282 * testsuite/ld-x86-64/x86-64.exp: Assemble gotpcrel1a.o,
2283 gotpcrel1b.o and gotpcrel1c.o with -mrelax-relocations=yes.
2285 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
2287 * configure.tgt: Replace -uclibc with *.
2289 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
2291 * testsuite/ld-mips-elf/unaligned-branch.d: New test.
2292 * testsuite/ld-mips-elf/unaligned-branch.s: New test source.
2293 * testsuite/ld-mips-elf/unaligned-text.s: New test source.
2294 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
2296 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
2298 * testsuite/ld-mips-elf/unaligned-syms.s: Rename to...
2299 * testsuite/ld-mips-elf/unaligned-data.s: ... this.
2300 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Adjust accordingly.
2301 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
2302 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Likewise.
2303 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
2305 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
2307 * testsuite/ld-mips-elf/jal-global-overflow-0.d: New test.
2308 * testsuite/ld-mips-elf/jal-global-overflow-1.d: New test.
2309 * testsuite/ld-mips-elf/jal-local-overflow-0.d: New test.
2310 * testsuite/ld-mips-elf/jal-local-overflow-1.d: New test.
2311 * testsuite/ld-mips-elf/jal-global-overflow.s: New test source.
2312 * testsuite/ld-mips-elf/jal-local-overflow.s: New test source.
2313 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2315 2016-05-28 Alan Modra <amodra@gmail.com>
2317 * ldmain.c (multiple_definition, multiple_common, add_to_set,
2318 constructor_callback, warning_callback, undefined_symbol,
2319 reloc_overflow, reloc_dangerous, unattached_reloc): Return void.
2320 * emultempl/elf32.em: Adjust callback calls.
2322 2016-05-27 Maciej W. Rozycki <macro@imgtec.com>
2324 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.d: New test.
2325 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: New test.
2326 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-0.d: New
2328 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d: New
2330 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-0.d: New
2332 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d: New
2334 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.s: New test
2336 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.s: New test
2338 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2340 2016-05-27 Maciej W. Rozycki <macro@imgtec.com>
2342 * testsuite/ld-mips-elf/reloc-local-overflow.d: New test.
2343 * testsuite/ld-mips-elf/reloc-local-overflow.s: Source for the
2345 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
2347 2016-05-26 Maciej W. Rozycki <macro@imgtec.com>
2349 * testsuite/ld-mips-elf/unaligned-jalx-0.d: Fold
2350 `unaligned-jalx-2' here.
2351 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: Fold
2352 `unaligned-jalx-mips16-2' here.
2353 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: Fold
2354 `unaligned-jalx-micromips-2' here.
2355 * testsuite/ld-mips-elf/unaligned-jalx-0.s: Update accordingly.
2356 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error
2358 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
2359 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
2360 * testsuite/ld-mips-elf/unaligned-jalx-2.d: Remove test.
2361 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: Remove test.
2362 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: Remove
2364 * testsuite/ld-mips-elf/unaligned-jalx-2.s: Remove test source.
2365 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Fold
2366 `unaligned-lwpc-3' here.
2367 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: Update accordingly.
2368 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Fold
2369 `unaligned-lwpc-2' here.
2370 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: Update accordingly.
2371 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: Remove test.
2372 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: Remove test source.
2373 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: Remove test.
2374 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: Remove test source.
2375 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Fold
2376 `unaligned-ldpc-4' here.
2377 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: Update accordingly.
2378 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Update error
2379 message. Fold `unaligned-ldpc-2' and `unaligned-ldpc-3' here.
2380 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: Update accordingly.
2381 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: Remove test.
2382 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: Remove test source.
2383 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: Remove test.
2384 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: Remove test source.
2385 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: Remove test.
2386 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: Remove test source.
2387 * testsuite/ld-mips-elf/mips-elf.exp: Delete removed tests.
2389 2016-05-26 Nick Clifton <nickc@redhat.com>
2392 * scripttempl/elf32msp430.sc (.bss): Provide __bssstart and
2394 * scripttempl/elf32msp430_3.sc (.bss): Likewise.
2396 2016-05-25 Maciej W. Rozycki <macro@imgtec.com>
2398 * testsuite/ld-mips-elf/unaligned-jalx-0.d: New test.
2399 * testsuite/ld-mips-elf/unaligned-jalx-1.d: New test.
2400 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
2401 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: New test.
2402 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: New test.
2403 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: New test.
2404 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: New test.
2405 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: New test.
2406 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: New test.
2407 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: New test.
2408 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: New test.
2409 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: New test.
2410 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: New test.
2411 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: New test.
2412 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: New test.
2413 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: New test.
2414 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: New test.
2415 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: New test.
2416 * testsuite/ld-mips-elf/unaligned-jalx-0.s: New test source.
2417 * testsuite/ld-mips-elf/unaligned-jalx-1.s: New test source.
2418 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
2419 * testsuite/ld-mips-elf/unaligned-insn.s: New test source.
2420 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: New test source.
2421 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: New test source.
2422 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: New test source.
2423 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: New test source.
2424 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: New test source.
2425 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: New test source.
2426 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: New test source.
2427 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: New test source.
2428 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: New test source.
2429 * testsuite/ld-mips-elf/unaligned-syms.s: New test source.
2430 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2432 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
2435 * ldmain.c (add_archive_element): Don't claim new IR symbols
2436 after all IR symbols have been claimed.
2437 * plugin.c (plugin_call_claim_file): Remove no_more_claiming
2439 * testsuite/ld-plugin/lto.exp (pr20103): New proc.
2440 Run PR ld/20103 tests.
2441 * testsuite/ld-plugin/pr20103a.c: New file.
2442 * testsuite/ld-plugin/pr20103b.c: Likewise.
2443 * testsuite/ld-plugin/pr20103c.c: Likewise.
2445 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
2447 * testsuite/ld-mips-elf/jalx-local.d: New test.
2448 * testsuite/ld-mips-elf/jalx-local-n32.d: New test.
2449 * testsuite/ld-mips-elf/jalx-local-n64.d: New test.
2450 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2452 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
2454 * Makefile.am: Add earmelf_phoenix.c.
2455 * Makefile.in: Regenerate.
2456 * configure.tgt: Add entry for arm-phoenix.
2457 * emulparams/armelf_phoenix.sh: New file.
2459 2016-05-23 Thomas Preud'homme <thomas.preudhomme@arm.com>
2461 * emultempl/armelf.em (arm_elf_before_allocation): Call
2462 bfd_elf32_arm_keep_private_stub_output_sections before generic
2463 before_allocation function.
2465 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
2467 * testsuite/ld-mips-elf/jalx-addend.d: New test.
2468 * testsuite/ld-mips-elf/jalx-addend-n32.d: New test.
2469 * testsuite/ld-mips-elf/jalx-addend-n64.d: New test.
2470 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2472 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
2475 * testsuite/ld-i386/i386.exp: Run pr20117.
2476 * testsuite/ld-i386/pr19609-1i.d: Updated.
2477 * testsuite/ld-i386/pr20117.d: New file.
2478 * testsuite/ld-i386/pr20117.s: Likewise.
2480 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
2482 * testsuite/ld-elf/compressed1d.d: Removed from notarget.
2483 * testsuite/ld-elf/group8a.d: Likewise.
2484 * testsuite/ld-elf/group8b.d: Likewise.
2485 * testsuite/ld-elf/group9a.d: Likewise.
2486 * testsuite/ld-elf/group9b.d: Likewise.
2487 * testsuite/ld-elf/pr12851.d: Likewise.
2488 * testsuite/ld-elf/pr12975.d: Likewise.
2489 * testsuite/ld-elf/pr13177.d: Likewise.
2490 * testsuite/ld-elf/pr13195.d: Likewise.
2491 * testsuite/ld-elf/pr17615.d: Likewise.
2492 * testsuite/ld-elf/eh-frame-hdr.d: Removed from xfail.
2493 * testsuite/ld-elf/group3b.d: Likewise.
2494 * testsuite/ld-srec/srec.exp: Likewise.
2495 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark ARC
2497 (check_shared_lib_support): Mark ARC as supporting.
2499 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
2501 * emulparams/arcelf.sh: Changed.
2502 * emulparams/arclinux.sh: Likewise.
2503 * scripttempl/arclinux.sc: Moved to a more standard implementation
2506 2016-05-19 Maciej W. Rozycki <macro@imgtec.com>
2508 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Reorder
2509 `ft32-*-*' behind `frv-*-*'.
2511 2016-05-19 Maciej W. Rozycki <macro@imgtec.com>
2513 * configure.tgt: Remove `am34-*-linux*' support.
2515 2016-05-19 Alan Modra <amodra@gmail.com>
2517 * testsuite/ld-scripts/crossref.exp: Remove -mcall-aixdesc hack.
2518 * testsuite/ld-scripts/cross2.t: Tweak .opd and .toc placement.
2519 * testsuite/ld-scripts/cross3.t: Likewise.
2520 * testsuite/ld-scripts/cross4.t: Likewise.
2521 * testsuite/ld-scripts/cross5.t: Likewise.
2522 * testsuite/ld-scripts/cross6.t: Likewise.
2523 * testsuite/ld-scripts/cross7.t: Likewise.
2525 2016-05-19 Alan Modra <amodra@gmail.com>
2527 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Pass in
2528 exe name rather than constructing testname. Fix typo in
2529 sub-test name. Log copying. Use -rpath rather than -R.
2531 2016-05-18 Nick Clifton <nickc@redhat.com>
2533 * scripttempl/ft32.sc: Use fixed constants for memory region
2534 lengths. Include DWARF debug sections.
2535 (.data .bss): Do not assign locations during relocatable links.
2536 * testsuite/ld-elf/compressed1d.d: Skip for FT32.
2537 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
2538 * testsuite/ld-elf/sec64k.exp: Likewise.
2539 * testsuite/ld-elf/init-fini-array.d: XFail for FT32.
2540 * testsuite/ld-elf/merge.d: Likewise.
2541 * testsuite/ld-elf/orphan-region.d: Likewise.
2542 * testsuite/ld-elf/orphan.s: Likewise.
2543 * testsuite/ld-elf/orphan3.d: Likewise.
2544 * testsuite/ld-elf/pr349.d: Likewise.
2545 * testsuite/ld-elf/warn2.d: Likewise.
2546 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Note
2547 that the FT32 does not support shared libraries.
2549 2016-05-17 H.J. Lu <hongjiu.lu@intel.com>
2551 * testsuite/lib/ld-lib.exp (at_least_gcc_version): Check
2554 2016-05-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2556 * scripttempl/avr.sc (text): Place .progmem.data from avr-libc
2558 * scripttempl/avrtiny.sc (text): Likewise.
2560 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
2562 * testsuite/ld-unique/unique.exp: Use `is_elf_format' and
2563 `supports_gnu_unique' to qualify testing.
2565 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
2567 * testsuite/ld-elf/flags1.d: Update the xfail list.
2569 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
2571 * testsuite/ld-elf/flags1.d: Update for `*-*-nacl*' xfail
2574 2016-05-14 H.J. Lu <hongjiu.lu@intel.com>
2577 * testplug2.c (onall_symbols_read): Remove redundant sizeof
2578 on EXPECTED_VIEW_LENGTH.
2579 * testplug4.c (onall_symbols_read): Likewise.
2581 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
2584 * testsuite/ld-x86-64/pr20093-1.d: New file.
2585 * testsuite/ld-x86-64/pr20093-1.s: Likewise.
2586 * testsuite/ld-x86-64/pr20093-2.d: Likewise.
2587 * testsuite/ld-x86-64/pr20093-2.s: Likewise.
2588 * testsuite/ld-x86-64/x86-64.exp: Run pr20093-1 and pr20093-2.
2590 2016-05-13 Alan Modra <amodra@gmail.com>
2592 * testsuite/ld-arm/arm-elf.exp: Adjust for arm-no-rel-plt now passing.
2593 Use different output file name for static app without .rel.plt.
2594 * testsuite/ld-arm/arm-no-rel-plt.ld: Align .rel.dyn and .rela.dyn.
2595 * testsuite/ld-arm/arm-no-rel-plt.out: Delete.
2596 * testsuite/ld-arm/arm-no-rel-plt.r: New.
2597 * testsuite/ld-arm/arm-static-app.d: Don't check file name.
2598 * testsuite/ld-arm/arm-static-app.r: Likewise.
2600 2016-05-12 H.J. Lu <hongjiu.lu@intel.com>
2603 * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug4.la.
2604 (libldtestplug4_la_SOURCES): New.
2605 (libldtestplug4_la_CFLAGS): Likewise.
2606 (libldtestplug4_la_LDFLAGS): Likewise.
2607 * Makefile.in: Regenerated.
2608 * plugin.c (get_symbols): Return resolution based on IR symbol
2609 kinds for symbols defined/referenced only within IR.
2610 * testplug4.c: New file.
2611 * ld/testsuite/ld-plugin/pr20070.d: Likewise.
2612 * ld/testsuite/ld-plugin/pr20070a.c: Likewise.
2613 * ld/testsuite/ld-plugin/pr20070b.c: Likewise.
2614 * testsuite/ld-plugin/plugin.exp (plugin4_name): New.
2615 (plugin4_path): Likewise.
2616 Add a test for ld/20070.
2618 2016-05-11 Alan Modra <amodra@gmail.com>
2620 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
2621 Call elf32_hppa_init_stub_bfd.
2623 2016-05-11 Alan Modra <amodra@gmail.com>
2626 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
2627 * testsuite/ld-powerpc/tlsdll.s: New.
2628 * testsuite/ld-powerpc/tlsdll.ver: New.
2629 * testsuite/ld-powerpc/tlsdll_32.s: New.
2630 * testsuite/ld-powerpc/tlsopt5.d: New.
2631 * testsuite/ld-powerpc/tlsopt5.s: New.
2632 * testsuite/ld-powerpc/tlsopt5_32.d: New.
2633 * testsuite/ld-powerpc/tlsopt5_32.s: New.
2635 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2637 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Use
2638 ARM_GET_SYM_BRANCH_TYPE to get branch type of a symbol.
2640 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2642 * emultempl/armelf.em (elf32_arm_add_stub_section): Add output_section
2643 parameter and rename input_section parameter to after_input_section.
2644 Append input stub section to the output section if after_input_section
2647 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2649 * testsuite/ld-arm/arm-elf.exp (EABI attribute merging 10 (DSP)): New
2651 * testsuite/ld-arm/attr-merge-10b-dsp.s: New file.
2652 * testsuite/ld-arm/attr-merge-10-dsp.attr: Likewise.
2654 2016-05-10 Christophe Lyon <christophe.lyon@linaro.org>
2656 * ld/testsuite/ld-elf/flags1.d (xfail): Remove *-*-nacl*".
2658 2016-05-09 Christophe Monat <christophe.monat@st.com>
2661 * testsuite/ld-arm/arm-elf.exp: Run new stm32l4xx-fix-vldm-dp
2662 tests. Fix misnamed stm32l4xx-fix-all.
2663 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.s: New tests for multiple
2664 loads with DP registers.
2665 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.d: New reference file.
2666 * testsuite/ld-arm/stm32l4xx-fix-vldm.s: Add missing comment.
2667 * testsuite/ld-arm/stm32l4xx-fix-all.s: Add tests for multiple
2668 loads with DP registers.
2669 * testsuite/ld-arm/stm32l4xx-fix-all.d: Update reference.
2671 2016-05-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2673 * testsuite/ld-elf/flags1.d (readelf): Dump section header instead
2675 (xfail): Remove avr-*-*.
2676 Update regex to check the section flags.
2677 * testsuite/ld-elf/merge.d (xfail): Remove avr-*-*.
2679 2016-05-09 Alan Modra <amodra@gmail.com>
2681 * Makefile.am (ealphavms.c, eelf64_ia64_vms): Correct .em deps.
2682 * Makefile.in: Regenerate.
2684 2016-05-09 Alan Modra <amodra@gmail.com>
2686 * testsuite/ld-scripts/pr14962-2.t: Match .text, not *.text.
2687 * testsuite/ld-scripts/rgn-at5.t: Similarly, .sec not *.sec.
2688 * testsuite/ld-scripts/section-match-1.t: Likewise.
2690 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
2693 * testsuite/ld-elf/pr17550-1.s: New file.
2694 * testsuite/ld-elf/pr17550-2.s: Likewise.
2695 * testsuite/ld-elf/pr17550-3.s: Likewise.
2696 * testsuite/ld-elf/pr17550-4.s: Likewise.
2697 * testsuite/ld-elf/pr17550a.d: Likewise.
2698 * testsuite/ld-elf/pr17550b.d: Likewise.
2699 * testsuite/ld-elf/pr17550c.d: Likewise.
2700 * testsuite/ld-elf/pr17550d.d: Likewise.
2702 2016-05-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2704 * ld/testsuite/ld-srec/srec.exp: Mark test as XFAIL for AVR.
2706 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
2708 * testsuite/ld-i386/i386.exp: Run load7.
2709 * testsuite/ld-i386/load7.d: New file.
2710 * testsuite/ld-i386/load7.map: Likewise.
2711 * testsuite/ld-i386/load7.s: Likewise.
2712 * testsuite/ld-x86-64/load2.d: Likewise.
2713 * testsuite/ld-x86-64/load2.map: Likewise.
2714 * testsuite/ld-x86-64/load2.s: Likewise.
2715 * testsuite/ld-x86-64/x86-64.exp: Run load2.
2717 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
2719 * emulparams/elf_iamcu.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): New.
2720 * emulparams/elf_k1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2722 * emulparams/elf_l1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2725 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
2727 * testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld.
2729 2016-05-04 H.J. Lu <hongjiu.lu@intel.com>
2731 * ldlang.c (init_os): Pass %E to einfo when bfd_section == NULL.
2733 2016-05-04 Maciej W. Rozycki <macro@imgtec.com>
2735 * testsuite/ld-unique/unique.d: New test.
2736 * testsuite/ld-unique/unique.exp: Run the new test. Adjust
2737 messages for compiled tests.
2739 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2741 * testsuite/ld-elf/pr18735.d: Allow other symbols.
2742 * testsuite/ld-elf/sec64k.exp: Skip 64ksec for avr.
2743 * testsuite/ld-gc/pr14265.d: Allow other symbols.
2744 * testsuite/ld-plugin/plugin.exp: Add PR ld/17973 to
2745 plugin_tests only if check_shared_lib_support is true.
2746 * testsuite/ld-selective/selective.exp: Add --section-start
2749 2016-05-03 Maciej W. Rozycki <macro@imgtec.com>
2752 * testsuite/ld-unique/unique.exp: Also run for `mips*-*-*'.
2754 2016-05-03 Jiong Wang <jiong.wang@arm.com>
2756 * emultempl/aarch64elf.em (--no-apply-dynamic-relocs): New option.
2757 * NEWS: Mention --no-apply-dynamic-relocs.
2758 * ld.texinfo (ld and the ARM family): Document
2759 --no-apply-dynamic-relocs.
2760 * testsuite/ld-aarch64/rela-abs-relative.s: New test source.
2761 * testsuite/ld-aarch64/rela-abs-relative.d: New expected result.
2762 * testsuite/ld-aarch64/rela-abs-relative-be.d: Likewise for big-endian.
2763 * estsuite/ld-aarch64/rela-abs-relative-opt.d: Likewise, but enable new
2766 2016-05-03 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2768 * testsuite/ld-elfcomm/elfcomm.exp: Check for shared lib support
2769 before running STT_COMMON tests.
2771 2016-04-29 H.J. Lu <hongjiu.lu@intel.com>
2773 * config/default.exp (NOPIE_CFLAGS): Download source only on
2775 (NOPIE_LDFLAGS): Likewise.
2776 * testsuite/lib/ld-lib.exp (check_lto_available): Likewise.
2777 (check_lto_fat_available): Likewise.
2778 (check_lto_shared_available): Likewise.
2779 (check_ifunc_available): Likewise.
2780 (check_ifunc_attribute_available): Likewise.
2782 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
2784 * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.
2786 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
2789 * testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
2790 (visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
2793 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
2795 * testsuite/ld-elf/compressed1b.d: Pass
2796 --compress-debug-sections=none to ld.
2797 * testsuite/ld-elf/compressed1c.d: Likewise.
2799 2016-04-27 Alan Modra <amodra@gmail.com>
2802 * configure.tgt: Don't use var+=.
2804 2016-04-25 Nick Clifton <nickc@redhat.com>
2807 * configure.tgt: Include big endian PPC64 emulations with little
2808 endian PPC64 targets.
2810 2016-04-25 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2812 * scripttempl/avrtiny.sc (.text): Do not set LMA to zero.
2814 2016-04-21 H.J. Lu <hongjiu.lu@intel.com>
2816 * testsuite/lib/ld-lib.exp (check_lto_available): Return 1 on
2817 Linux with GCC 4.9 or newer.
2818 (check_lto_fat_available): Likewise.
2819 (check_lto_shared_available): Likewise.
2821 2016-04-21 Nick Clifton <nickc@redhat.com>
2823 * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in
2824 prefernce to _bfd_elf_link_check_relocs. Drop test for ELF
2825 targets. Do not stop the checks when problems are encountered.
2827 2016-04-21 Alan Modra <amodra@gmail.com>
2829 * testsuite/ld-scripts/cross3.t: Add commonly used data
2830 and text section names to output section statements.
2831 * testsuite/ld-scripts/cross4.t: Likewise.
2832 * testsuite/ld-scripts/cross5.t: Likewise.
2833 * testsuite/ld-scripts/cross6.t: Likewise.
2834 * testsuite/ld-scripts/cross7.t: Likewise.
2836 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2838 * ldlang.c (lang_check_relocs): New function.
2839 (lang_process): Call lang_check_relocs after lang_gc_sections.
2840 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
2841 call _bfd_elf_link_check_relocs here.
2843 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2846 * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for
2847 R_386_NONE or R_X86_64_NONE.
2849 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2851 * testsuite/ld-x86-64/pic1.d: New file.
2852 * testsuite/ld-x86-64/pic1.s: Likewise.
2853 * testsuite/ld-x86-64/x86-64.exp: Run pic1.
2855 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2857 * testsuite/ld-x86-64/pie2.d: New file.
2858 * testsuite/ld-x86-64/pie2.s: Likewise.
2859 * testsuite/ld-x86-64/x86-64.exp: Run pie2.
2861 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2864 * testsuite/ld-x86-64/pr19969.d: New file.
2865 * testsuite/ld-x86-64/pr19969a.S: Likewise.
2866 * testsuite/ld-x86-64/pr19969b.S: Likewise.
2867 * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests.
2869 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2871 * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2873 * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2875 * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2877 * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2879 * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2881 * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2883 * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2885 * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2887 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
2888 Set check_relocs_after_open_input to TRUE if
2889 CHECK_RELOCS_AFTER_OPEN_INPUT is yes.
2890 (gld${EMULATION_NAME}_after_open): Call
2891 _bfd_elf_link_check_relocs on all inputs if
2892 check_relocs_after_open_input is TRUE.
2894 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2896 * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
2899 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2901 * emultempl/scoreelf.em: Likewise.
2903 2016-04-19 H.J. Lu <hongjiu.lu@intel.com>
2906 * testsuite/ld-x86-64/pr19719.d: New file.
2907 * testsuite/ld-x86-64/pr19719.s: Likewise.
2908 * testsuite/ld-x86-64/x86-64.exp: Run pr19719.
2910 2016-04-18 Matthew Fortune <matthew.fortune@imgtec.com>
2912 * ld.texinfo: Document NOCROSSREFS_TO script command.
2913 * ldlang.h (struct lang_nocrossrefs): Add onlyfirst field.
2914 (lang_add_nocrossref_to): New prototype.
2915 * ldcref.c (check_local_sym_xref): Use onlyfirst to only look for
2916 symbols defined in the first section.
2917 (check_nocrossref): Likewise.
2918 * ldgram.y (NOCROSSREFS_TO): New script command.
2919 * ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE.
2920 (lang_add_nocrossref_to): New function.
2921 * ldlex.l (NOCROSSREFS_TO): New token.
2922 * NEWS: Mention NOCROSSREFS_TO.
2923 * testsuite/ld-scripts/cross4.t: New file.
2924 * testsuite/ld-scripts/cross5.t: Likewise.
2925 * testsuite/ld-scripts/cross6.t: Likewise.
2926 * testsuite/ld-scripts/cross7.t: Likewise.
2927 * testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO
2930 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
2932 * Makefile.in: Regenerated with automake 1.11.6.
2933 * aclocal.m4: Likewise.
2935 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2937 * testsuite/ld-arc/arc.exp: New file.
2938 * testsuite/ld-arc/nps-1.s: New file.
2939 * testsuite/ld-arc/nps-1a.d: New file.
2940 * testsuite/ld-arc/nps-1b.d: New file.
2941 * testsuite/ld-arc/nps-1b.err: New file.
2943 2016-04-14 Nick Clifton <nickc@redhat.com>
2946 * testsuite/ld-scripts/script.exp (extract_symbol_test): Add
2947 exceptions for Mingw and Cygwin.
2949 2016-04-13 Andrew Burgess <andrew.burgess@embecosm.com>
2951 * testsuite/lib/ld-lib.exp (run_dump_test): Initialise
2954 2016-04-13 H.J. Lu <hongjiu.lu@intel.com>
2957 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before
2958 tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed
2961 2016-04-11 H.J. Lu <hongjiu.lu@intel.com>
2964 * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
2965 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2966 * testsuite/ld-i386/pr19939.s: New file.
2967 * testsuite/ld-i386/pr19939a.d: Likewise.
2968 * testsuite/ld-i386/pr19939b.d: Likewise.
2969 * testsuite/ld-x86-64/pr19939.s: Likewise.
2970 * testsuite/ld-x86-64/pr19939a.d: Likewise.
2971 * testsuite/ld-x86-64/pr19939b.d: Likewise.
2973 2016-04-09 Oleg Endo <olegendo@gcc.gnu.org>
2975 * emulparams/shelf.sh: Set stack area to 0x3FFFFF00.
2977 2016-04-08 Alan Modra <amodra@gmail.com>
2980 * ldlang.c (maybe_overlays): Delete.
2981 (lang_size_sections_1): Remove code setting maybe_overlays.
2982 (lang_check_section_addresses): Instead detect overlays by
2983 exact match of section VMAs here. Fix memory leak.
2985 2016-04-08 Dan Gisselquist <dgisselq@ieee.org>
2987 * ldlang.c (print_output_section_statement): Show minfo size
2988 in target machine address units.
2989 (print_reloc_statement): Likewise.
2990 (print_padding_statement): Likewise.
2991 (print_data_statement): Likewise. Ensure minimum print_dot
2992 increment of one address unit.
2994 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2996 * emulparams/arc-endianness.sh: Make little endian default choice.
2998 2016-04-07 Nick Clifton <nickc@redhat.com>
3000 * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in
3002 * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise.
3004 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
3006 * emulparams/arc-endianness.sh: New file.
3007 * emulparams/arcebelf.sh: Deleted.
3008 * emulparams/arcebelf_prof.sh: Deleted.
3009 * emulparams/arceblinux.sh: Deleted.
3010 * emulparams/arceblinux_prof.sh: Deleted.
3011 * emulparams/arcelf.sh: Include arc-endinness.sh.
3012 * emulparams/arcelf_prof.sh: Include arc-endinness.sh.
3013 * emulparams/arclinux.sh: Include arc-endinness.sh.
3014 * emulparams/arclinux_prof.sh: Include arc-endinness.sh.
3015 * emulparams/arcv2elf.sh: Include arc-endinness.sh.
3016 * emulparams/arcv2elfx.sh: Include arc-endinness.sh.
3017 * testsuite/ld-elf/compressed1d.d: Update pattern for big and
3018 little endian arc targets.
3019 * testsuite/ld-elf/eh-frame-hdr.d: Likewise.
3020 * testsuite/ld-elf/group1.d: Likewise.
3021 * testsuite/ld-elf/group3b.d: Likewise.
3022 * testsuite/ld-elf/group8a.d: Likewise.
3023 * testsuite/ld-elf/group8b.d: Likewise.
3024 * testsuite/ld-elf/group9a.d: Likewise.
3025 * testsuite/ld-elf/group9b.d: Likewise.
3026 * testsuite/ld-elf/linkonce2.d: Likewise.
3027 * testsuite/ld-elf/pr12851.d: Likewise.
3028 * testsuite/ld-elf/pr12975.d: Likewise.
3029 * testsuite/ld-elf/pr13177.d: Likewise.
3030 * testsuite/ld-elf/pr13195.d: Likewise.
3031 * testsuite/ld-elf/pr17615.d: Likewise.
3032 * testsuite/ld-elf/pr19162.d: Likewise.
3033 * testsuite/ld-elf/sec64k.exp: Likewise.
3034 * testsuite/lib/ld-lib.exp: Likewise.
3036 2016-04-05 Maciej W. Rozycki <macro@imgtec.com>
3039 * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol
3041 * testsuite/ld-cris/tls-e-20a.d: Likewise.
3042 * testsuite/ld-cris/tls-e-21.d: Likewise.
3043 * testsuite/ld-cris/tls-e-23.d: Likewise.
3044 * testsuite/ld-cris/tls-e-80.d: Likewise.
3045 * testsuite/ld-cris/tls-gd-3h.d: Likewise.
3046 * testsuite/ld-cris/tls-leie-19.d: Likewise.
3047 * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test.
3048 * testsuite/ld-mips-elf/export-hidden-ref.sd: New test.
3049 * testsuite/ld-mips-elf/export-internal-ref.sd: New test.
3050 * testsuite/ld-mips-elf/export-protected-ref.sd: New test.
3051 * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source.
3052 * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source.
3053 * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source.
3054 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
3056 2016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
3058 * testsuite/ld-discard/extern.d: Removed xfail for ARC.
3059 * testsuite/ld-discard/start.d: Likewise.
3060 * testsuite/ld-discard/static.d: Likewise.
3061 * testsuite/ld-elf/group1.d: Likewise.
3062 * testsuite/ld-elf/group3b.d: Likewise.
3063 * testsuite/ld-elf/orphan-region.d: Likewise.
3064 * testsuite/ld-elf/orphan.d: Likewise.
3065 * testsuite/ld-elf/orphan3.d: Likewise.
3066 * testsuite/ld-elf/pr349.d: Likewise.
3067 * testsuite/ld-elf/warn1.d: Likewise.
3068 * testsuite/ld-elf/warn2.d: Likewise.
3069 * testsuite/ld-elf/warn3.d: Likewise.
3070 * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol
3071 through linker flags.
3072 * testsuite/ld-srec/srec.exp: Set as xfail.
3074 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
3077 * testsuite/ld-i386/pr19827-nacl.rd: New file.
3078 * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
3080 2016-04-04 Nick Clifton <nickc@redhat.com>
3083 * emultempl/pe.em (change_undef): New function. Encapsulates
3084 duplicated code in pe_fixup_stdcalls and adds the newly defined
3085 sym to the gc root list.
3086 (pe_fixup_stdcall): Use the new function.
3087 * pe-dll.c (process_def_file_and_drectve); Add alias of exported
3088 symbol to gc root list.
3090 2016-03-31 Alan Modra <amodra@gmail.com>
3092 * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.
3093 (lang_insert_orphan): Use TO_ADDR in __stop sym calculation.
3094 (print_input_section): Don't use TO_ADDR when printing section
3096 (lang_size_sections_1): Use TO_ADDR in overlay lma calculation.
3097 (lang_size_sections): Use TO_ADDR in relro end calculation.
3099 2016-03-30 Andrew Burgess <andrew.burgess@embecosm.com>
3101 * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return
3102 value from regexp_diff.
3103 * testsuite/ld-elf/orphan-5.l: Fix expected output.
3104 * testsuite/ld-elf/orphan-6.l: Likewise.
3106 2016-03-30 Alan Modra <amodra@gmail.com>
3109 * ldlang.c (maybe_overlays): New static var.
3110 (lang_size_sections_1): Set it here.
3111 (struct check_sec): New.
3112 (sort_sections_by_lma): Adjust for array of structs.
3113 (sort_sections_by_vma): New function.
3114 (lang_check_section_addresses): Check both LMA and VMA for overlap.
3115 * testsuite/ld-scripts/rgn-over7.d: Adjust.
3117 2016-03-30 Alan Modra <amodra@gmail.com>
3119 * ldlang.c (lang_size_sections_1): Correct code detecting a
3120 backward non-overlapping move.
3122 2016-03-30 Alan Modra <amodra@gmail.com>
3124 * ldlang.c (IS_TBSS): New macro, extracted from..
3125 (IGNORE_SECTION): ..here.
3126 (lang_size_sections_1): Use IS_TBSS and IGNORE_SECTION.
3127 (lang_size_sections, lang_do_assignments_1): Use IS_TBSS.
3129 2016-03-22 Nick Clifton <nickc@redhat.com>
3132 * ldlang.c (lang_add_gc_name): New function. Adds the provided
3133 symbol name to the list of gc symbols.
3134 (lang_process): Call lang_add_gc_name with entry_symbol_default if
3135 entry_symbol.name is NULL. Use lang_add_gc_name to add the init
3136 and fini function names.
3137 * pe-dll.c (process_def_file_and_drectve): Add exported names to
3139 * testsuite/ld-pe/pr19803.s: Do not export _testval symbol.
3140 * testsuite/ld-pe/pr19803.d: Tweak expected output.
3142 2016-03-22 Nick Clifton <nickc@redhat.com>
3144 * configure: Regenerate.
3146 2016-03-21 Nick Clifton <nickc@redhat.com>
3148 * emultempl/msp430.em: Replace use of alloca with call to xmalloc.
3149 * plugin.c: Likewise.
3150 * pe-dll.c: Likewise.
3152 2016-03-18 Awson <kyrab@mail.ru>
3155 * scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
3157 * scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.
3159 2016-03-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
3161 * ld-avr/gc-section-debugline.d: Relax regex check for CU.
3163 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
3166 * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests.
3167 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3168 * testsuite/ld-i386/pr19827.rd: New file.
3169 * testsuite/ld-i386/pr19827a.S: Likewise.
3170 * testsuite/ld-i386/pr19827b.S: Likewise.
3171 * testsuite/ld-x86-64/pr19827.rd: Likewise.
3172 * testsuite/ld-x86-64/pr19827a.S: Likewise.
3173 * testsuite/ld-x86-64/pr19827b.S: Likewise.
3175 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
3178 * Makefile.am (ELF_X86_DEPS): Add
3179 $(srcdir)/emulparams/reloc_overflow.sh.
3180 * Makefile.in: Regenerated.
3181 * NEWS: Mention -z noreloc-overflow.
3182 * ld.texinfo: Document -z noreloc-overflow.
3183 * emulparams/elf32_x86_64.sh: Source
3184 ${srcdir}/emulparams/reloc_overflow.sh.
3185 * emulparams/elf_x86_64.sh: Likewise.
3186 * emulparams/reloc_overflow.sh: New file.
3187 * testsuite/ld-x86-64/pr19807-1.s: New file.
3188 * testsuite/ld-x86-64/pr19807-1a.d: Likewise.
3189 * testsuite/ld-x86-64/pr19807-1b.d: Likewise.
3190 * testsuite/ld-x86-64/pr19807-2.s: Likewise.
3191 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
3192 * testsuite/ld-x86-64/pr19807-2b.d: Likewise.
3193 * testsuite/ld-x86-64/pr19807-2c.d: Likewise.
3194 * testsuite/ld-x86-64/pr19807-2d.d: Likewise.
3195 * testsuite/ld-x86-64/pr19807-2e.d: Likewise.
3196 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19807 tests.
3198 2016-03-13 H.J. Lu <hongjiu.lu@intel.com>
3201 * testsuite/ld-i386/i386.exp: Run pr19539.
3202 * testsuite/ld-i386/pr19539.d: New file.
3203 * testsuite/ld-i386/pr19539.s: Likewise.
3204 * testsuite/ld-i386/pr19539.t: Likewise.
3205 * testsuite/ld-x86-64/pr19539.s: Likewise.
3206 * testsuite/ld-x86-64/pr19539.t: Likewise.
3207 * testsuite/ld-x86-64/pr19539a.d: Likewise.
3208 * testsuite/ld-x86-64/pr19539b.d: Likewise.
3209 * testsuite/ld-x86-64/x86-64.exp: Run pr19539a and pr19539b.
3211 2016-03-10 Mickael Guene <mickael.guene@st.com>
3214 * testsuite/ld-arm/arm-elf.exp: New tests.
3215 * testsuite/ld-arm/thumb1-adds-armv7-m.s: New.
3216 * testsuite/ld-arm/thumb1-movs-armv7-m.s: New.
3218 2016-03-10 Nick Clifton <nickc@redhat.com>
3220 * scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).
3222 2016-03-09 Pedro Alves <palves@redhat.com>
3224 * scripttempl/v850.sc: Use "v850:old-gcc-abi" as OUTPUT_ARCH.
3225 * scripttempl/v850_rh850.sc: Use "v850:rh850" as OUTPUT_ARCH.
3227 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
3230 * testsuite/ld-elf/pr19789.d: New file.
3231 * testsuite/ld-elf/pr19789.s: Likewise.
3233 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
3236 * testsuite/ld-i386/i386.exp: Remove pr19636-2e-nacl test.
3237 * testsuite/ld-i386/pr19636-2e-nacl.d: Moved to ...
3238 * testsuite/ld-i386/pr19636-2e.d: Here. Remove notarget.
3239 * testsuite/ld-ifunc/ifunc.exp: Run PR ld/19784 tests.
3240 * testsuite/ld-ifunc/pass.out: New file.
3241 * testsuite/ld-ifunc/pr19784a.c: Likewise.
3242 * testsuite/ld-ifunc/pr19784b.c: Likewise.
3243 * testsuite/ld-ifunc/pr19784c.c: Likewise.
3245 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
3248 * testsuite/ld-ifunc/ifunc.exp: Link tmpdir/pr18808a.o before
3249 tmpdir/libpr18808.so. Link tmpdir/pr18841a.o before
3250 tmpdir/libpr18841b.so and tmpdir/libpr18841c.so. Test
3251 --as-needed for pr18841c.
3253 2016-03-07 H.J. Lu <hongjiu.lu@intel.com>
3256 * testsuite/ld-i386/i386.exp: Link tmpdir/pr18900.o before
3257 tmpdir/pr18900.so and test --as-needed. Link tmpdir/gotpc1.o
3258 before tmpdir/got1d.so and test --as-needed.
3259 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr18900.o before
3260 tmpdir/pr18900.so and test --as-needed.
3262 2016-03-07 Jiong Wang <jiong.wang@arm.com>
3264 * testsuite/ld-aarch64/implicit_got_section_1.s: New test source file.
3265 * testsuite/ld-aarch64/implicit_got_section_1.d: New test expected
3267 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
3269 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
3271 * testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o
3272 before tmpdir/copyreloc-lib.so and test --as-needed.
3273 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3275 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
3278 * testsuite/ld-elf/pr19579a.c: New file.
3279 * testsuite/ld-elf/pr19579b.c: Likewise.
3280 * testsuite/ld-elf/shared.exp: Run PR ld/19579 test.
3282 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
3284 * testsuite/ld-elf/pr19162.d: Skip hppa-*-*.
3286 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
3288 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Add xfails.
3289 Xfail mix_pic_and_non_pic on "arm*-*-*" "aarch64*-*-*".
3291 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
3294 * emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other
3295 input sections for relocatable link.
3296 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
3297 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
3299 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
3302 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
3303 merge flags of other input sections for relocatable link.
3305 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
3307 * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6.
3309 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
3311 * testsuite/ld-elf/pr19162.d: Skip arc target.
3313 2016-02-29 H.J. Lu <hongjiu.lu@intel.com>
3316 * testsuite/ld-elf/pr19162.d: New file.
3317 * testsuite/ld-elf/pr19162a.s: Likwise.
3318 * testsuite/ld-elf/pr19162b.s: Likwise.
3320 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
3322 * testsuite/ld-elf/merge.d: Removed xfail for ARC.
3323 * testsuite/ld-elf/merge2.d: Likewise.
3324 * testsuite/ld-elf/merge3.d: Likewise.
3326 2016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
3328 * scripttempl/arclinux.sc: Force .tdata and .tbss to always be
3331 2016-02-26 Renlin Li <renlin.li@arm.com>
3333 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
3334 * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
3335 * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
3336 * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
3337 * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
3338 * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
3339 * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
3340 * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
3341 * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
3342 * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.
3344 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3347 * testsuite/ld-i386/got1.dd: Updated.
3348 * testsuite/ld-i386/lea1c.d: Likewise.
3349 * testsuite/ld-i386/load1-nacl.d: Likewise.
3350 * testsuite/ld-i386/load1.d: Likewise.
3351 * testsuite/ld-i386/load4b.d: Likewise.
3352 * testsuite/ld-i386/load5b.d: Likewise.
3353 * testsuite/ld-i386/mov1b.d: Likewise.
3354 * testsuite/ld-x86-64/mov1b.d: Likewise.
3355 * testsuite/ld-x86-64/mov1d.d: Likewise.
3356 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
3357 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
3358 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
3359 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
3360 * testsuite/ld-x86-64/gotpcrel1.dd: Likewise.
3361 * testsuite/ld-x86-64/lea1a.d: Likewise.
3362 * testsuite/ld-x86-64/lea1b.d: Likewise.
3363 * testsuite/ld-x86-64/lea1c.d: Likewise.
3364 * testsuite/ld-x86-64/lea1d.d: Likewise.
3365 * testsuite/ld-x86-64/lea1e.d: Likewise.
3366 * testsuite/ld-x86-64/lea1f.d: Likewise.
3367 * testsuite/ld-x86-64/mov1b.d: Likewise.
3368 * testsuite/ld-x86-64/mov1d.d: Likewise.
3369 * testsuite/ld-x86-64/pr13082-3b.d: Likewise.
3370 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
3371 * testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
3372 * testsuite/ld-i386/pr19609-1.s: New file.
3373 * testsuite/ld-i386/pr19609-1a.d: Likewise.
3374 * testsuite/ld-i386/pr19609-1b.d: Likewise.
3375 * testsuite/ld-i386/pr19609-1c.d: Likewise.
3376 * testsuite/ld-i386/pr19609-1d.d: Likewise.
3377 * testsuite/ld-i386/pr19609-1e.d: Likewise.
3378 * testsuite/ld-i386/pr19609-1f.d: Likewise.
3379 * testsuite/ld-i386/pr19609-1g.d: Likewise.
3380 * testsuite/ld-i386/pr19609-1h.d: Likewise.
3381 * testsuite/ld-i386/pr19609-1i.d: Likewise.
3382 * testsuite/ld-i386/pr19609-2.s: Likewise.
3383 * testsuite/ld-i386/pr19609-2a.d: Likewise.
3384 * testsuite/ld-i386/pr19609-2b.d: Likewise.
3385 * testsuite/ld-i386/pr19609-2c.d: Likewise.
3386 * testsuite/ld-i386/undefweak.s: Likewise.
3387 * testsuite/ld-i386/undefweaka.d: Likewise.
3388 * testsuite/ld-i386/undefweakb.d: Likewise.
3389 * testsuite/ld-x86-64/pr13082-3c.d: Likewise.
3390 * testsuite/ld-x86-64/pr13082-3d.d: Likewise.
3391 * testsuite/ld-x86-64/pr19609-1.s: Likewise.
3392 * testsuite/ld-x86-64/pr19609-1a.d: Likewise.
3393 * testsuite/ld-x86-64/pr19609-1b.d: Likewise.
3394 * testsuite/ld-x86-64/pr19609-1c.d: Likewise.
3395 * testsuite/ld-x86-64/pr19609-1d.d: Likewise.
3396 * testsuite/ld-x86-64/pr19609-1e.d: Likewise.
3397 * testsuite/ld-x86-64/pr19609-1f.d: Likewise.
3398 * testsuite/ld-x86-64/pr19609-1g.d: Likewise.
3399 * testsuite/ld-x86-64/pr19609-1h.d: Likewise.
3400 * testsuite/ld-x86-64/pr19609-1i.d: Likewise.
3401 * testsuite/ld-x86-64/pr19609-1j.d: Likewise.
3402 * testsuite/ld-x86-64/pr19609-1k.d: Likewise.
3403 * testsuite/ld-x86-64/pr19609-1l.d: Likewise.
3404 * testsuite/ld-x86-64/pr19609-1m.d: Likewise.
3405 * testsuite/ld-x86-64/pr19609-2.s: Likewise.
3406 * testsuite/ld-x86-64/pr19609-2a.d: Likewise.
3407 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
3408 * testsuite/ld-x86-64/pr19609-2c.d: Likewise.
3409 * testsuite/ld-x86-64/pr19609-2d.d: Likewise.
3410 * testsuite/ld-x86-64/pr19609-3.s: Likewise.
3411 * testsuite/ld-x86-64/pr19609-3a.d: Likewise.
3412 * testsuite/ld-x86-64/pr19609-3b.d: Likewise.
3413 * testsuite/ld-x86-64/pr19609-4.s: Likewise.
3414 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
3415 * testsuite/ld-x86-64/pr19609-4b.d: Likewise.
3416 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
3417 * testsuite/ld-x86-64/pr19609-4d.d: Likewise.
3418 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
3419 * testsuite/ld-x86-64/pr19609-5.s: Likewise.
3420 * testsuite/ld-x86-64/pr19609-5a.d: Likewise.
3421 * testsuite/ld-x86-64/pr19609-5b.d: Likewise.
3422 * testsuite/ld-x86-64/pr19609-5c.d: Likewise.
3423 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
3424 * testsuite/ld-x86-64/pr19609-5e.d: Likewise.
3425 * testsuite/ld-x86-64/pr19609-6.s: Likewise.
3426 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
3427 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
3428 * testsuite/ld-x86-64/pr19609-6c.d: Likewise.
3429 * testsuite/ld-x86-64/pr19609-6d.d: Likewise.
3430 * testsuite/ld-x86-64/pr19609-7.s: Likewise.
3431 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
3432 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
3433 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
3434 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
3435 * testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
3437 * testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
3438 and tests for PR ld/19609.
3440 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3443 * NEWS: Mention -z common/-z nocommon for ELF targets.
3444 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
3445 -z common and -z nocommon.
3446 * ld.texinfo: Document -z common/-z nocommon.
3447 * lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
3448 * testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
3449 --elf-stt-common=yes with assembler.
3450 * testsuite/ld-elfcomm/common-1.s: New file.
3451 * testsuite/ld-elfcomm/common-1a.d: Likewise.
3452 * testsuite/ld-elfcomm/common-1b.d: Likewise.
3453 * testsuite/ld-elfcomm/common-1c.d: Likewise.
3454 * testsuite/ld-elfcomm/common-1d.d: Likewise.
3455 * testsuite/ld-elfcomm/common-1e.d: Likewise.
3456 * testsuite/ld-elfcomm/common-1f.d: Likewise.
3457 * testsuite/ld-elfcomm/common-2.s: Likewise.
3458 * testsuite/ld-elfcomm/common-2a.d: Likewise.
3459 * testsuite/ld-elfcomm/common-2b.d: Likewise.
3460 * testsuite/ld-elfcomm/common-2c.d: Likewise.
3461 * testsuite/ld-elfcomm/common-2d.d: Likewise.
3462 * testsuite/ld-elfcomm/common-2e.d: Likewise.
3463 * testsuite/ld-elfcomm/common-2f.d: Likewise.
3464 * testsuite/ld-elfcomm/common-3a.rd: Likewise.
3465 * testsuite/ld-elfcomm/common-3b.rd: Likewise.
3466 * testsuite/ld-i386/pr19645.d: Likewise.
3467 * testsuite/ld-i386/pr19645.s: Likewise.
3468 * testsuite/ld-x86-64/largecomm-1.s: Likewise.
3469 * testsuite/ld-x86-64/largecomm-1a.d: Likewise.
3470 * testsuite/ld-x86-64/largecomm-1b.d: Likewise.
3471 * testsuite/ld-x86-64/largecomm-1c.d: Likewise.
3472 * testsuite/ld-x86-64/largecomm-1d.d: Likewise.
3473 * testsuite/ld-x86-64/largecomm-1e.d: Likewise.
3474 * testsuite/ld-x86-64/largecomm-1f.d: Likewise.
3475 * testsuite/ld-x86-64/pr19645.d: Likewise.
3476 * testsuite/ld-x86-64/pr19645.s: Likewise.
3477 * testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
3479 (assembler_generates_commons): Removed.
3480 Run -z common/-z nocommon tests. Run *.d tests.
3481 * testsuite/ld-i386/i386.exp: Run pr19645.
3482 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3483 * testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
3484 assembler. Test STT_COMMON with readelf.
3486 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3491 * Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh.
3492 * Makefile.in: Regenerated.
3493 * NEWS: Mention -z nodynamic-undefined-weak.
3494 * ld.texinfo: Document -z nodynamic-undefined-weak.
3495 * ldmain.c (main): Initialize dynamic_undefined_weak to -1.
3496 * emulparams/dynamic_undefined_weak.sh: New file.
3497 * emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh.
3498 * emulparams/elf_i386.sh: Likewise.
3499 * emulparams/elf_i386_be.sh: Likewise.
3500 * emulparams/elf_i386_chaos.sh: Likewise.
3501 * emulparams/elf_i386_ldso.sh: Likewise.
3502 * emulparams/elf_i386_vxworks.sh: Likewise.
3503 * emulparams/elf_iamcu.sh: Likewise.
3504 * emulparams/elf_k1om.sh: Likewise.
3505 * emulparams/elf_l1om.sh: Likewise.
3506 * emulparams/elf_x86_64.sh: Likewise.
3507 * emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS):
3509 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
3510 * testsuite/ld-elf/pr19719a.c: New file.
3511 * testsuite/ld-elf/pr19719b.c: Likewise.
3512 * testsuite/ld-elf/pr19719c.c: Likewise.
3513 * testsuite/ld-elf/pr19719d.c: Likewise.
3514 * testsuite/ld-i386/pr19636-1.s: Likewise.
3515 * testsuite/ld-i386/pr19636-1a.d: Likewise.
3516 * testsuite/ld-i386/pr19636-1b.d: Likewise.
3517 * testsuite/ld-i386/pr19636-1c.d: Likewise.
3518 * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
3519 * testsuite/ld-i386/pr19636-1d.d: Likewise.
3520 * testsuite/ld-i386/pr19636-1e.d: Likewise.
3521 * testsuite/ld-i386/pr19636-1f.d: Likewise.
3522 * testsuite/ld-i386/pr19636-1g.d: Likewise.
3523 * testsuite/ld-i386/pr19636-1h.d: Likewise.
3524 * testsuite/ld-i386/pr19636-1i.d: Likewise.
3525 * testsuite/ld-i386/pr19636-2.s: Likewise.
3526 * testsuite/ld-i386/pr19636-2a.d: Likewise.
3527 * testsuite/ld-i386/pr19636-2b.d: Likewise.
3528 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
3529 * testsuite/ld-i386/pr19636-2c.d: Likewise.
3530 * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
3531 * testsuite/ld-i386/pr19636-2d.d: Likewise.
3532 * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
3533 * testsuite/ld-i386/pr19636-2e.d: Likewise.
3534 * testsuite/ld-i386/pr19636-3.s: Likewise.
3535 * testsuite/ld-i386/pr19636-3a.d: Likewise.
3536 * testsuite/ld-i386/pr19636-3b.d: Likewise.
3537 * testsuite/ld-i386/pr19636-3c.d: Likewise.
3538 * testsuite/ld-i386/pr19636-3d.d: Likewise.
3539 * testsuite/ld-i386/pr19636-3e.d: Likewise.
3540 * testsuite/ld-i386/pr19636-3f.d: Likewise.
3541 * testsuite/ld-i386/pr19636-3g.d: Likewise.
3542 * testsuite/ld-i386/pr19636-4.s: Likewise.
3543 * testsuite/ld-i386/pr19636-4a.d: Likewise.
3544 * testsuite/ld-i386/pr19636-4b.d: Likewise.
3545 * testsuite/ld-i386/pr19636-4c.d: Likewise.
3546 * testsuite/ld-i386/pr19636-4d.d: Likewise.
3547 * testsuite/ld-i386/pr19704.out: Likewise.
3548 * testsuite/ld-i386/pr19704a.c: Likewise.
3549 * testsuite/ld-i386/pr19704b.c: Likewise.
3550 * testsuite/ld-x86-64/pr19636-1.s: Likewise.
3551 * testsuite/ld-x86-64/pr19636-1a.d: Likewise.
3552 * testsuite/ld-x86-64/pr19636-1b.d: Likewise.
3553 * testsuite/ld-x86-64/pr19636-1c.d: Likewise.
3554 * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
3555 * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
3556 * testsuite/ld-x86-64/pr19636-1f.d: Likewise.
3557 * testsuite/ld-x86-64/pr19636-1g.d: Likewise.
3558 * testsuite/ld-x86-64/pr19636-2.s: Likewise.
3559 * testsuite/ld-x86-64/pr19636-2a.d: Likewise.
3560 * testsuite/ld-x86-64/pr19636-2b.d: Likewise.
3561 * testsuite/ld-x86-64/pr19636-2c.d: Likewise.
3562 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
3563 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
3564 * testsuite/ld-x86-64/pr19636-2e.d: Likewise.
3565 * testsuite/ld-x86-64/pr19636-2f.d: Likewise.
3566 * testsuite/ld-x86-64/pr19636-2g.d: Likewise.
3567 * testsuite/ld-x86-64/pr19636-2h.d: Likewise.
3568 * testsuite/ld-x86-64/pr19636-2i.d: Likewise.
3569 * testsuite/ld-x86-64/pr19636-3.s: Likewise.
3570 * testsuite/ld-x86-64/pr19636-3a.d: Likewise.
3571 * testsuite/ld-x86-64/pr19636-3b.d: Likewise.
3572 * testsuite/ld-x86-64/pr19636-3c.d: Likewise.
3573 * testsuite/ld-x86-64/pr19636-3d.d: Likewise.
3574 * testsuite/ld-x86-64/pr19704.out: Likewise.
3575 * testsuite/ld-x86-64/pr19704a.c: Likewise.
3576 * testsuite/ld-x86-64/pr19704b.c: Likewise.
3577 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New.
3578 Run mix_pic_and_non_pic.
3579 * testsuite/ld-i386/i386.exp (undefined_weak): New.
3580 Run undefined_weak and PR ld/19636 tests.
3581 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3582 * testsuite/ld-x86-64/pr13082-3b.d: Updated.
3583 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
3585 2016-02-25 Nick Clifton <nickc@redhat.com>
3587 * ld.h (struct ld_config_type): Remove specified_data_size field.
3589 2016-02-24 H.J. Lu <hongjiu.lu@intel.com>
3592 * testsuite/ld-elf/pr19698.d: New file.
3593 * testsuite/ld-elf/pr19698.s: Likewise.
3594 * testsuite/ld-elf/pr19698.t: Likewise.
3596 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
3598 * Makefile.am (ELF_X86_DEPS): New.
3599 (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS).
3600 (eelf_i386_chaos.c): Likewise.
3601 (eelf_i386_fbsd.c): Likewise.
3602 (eelf_i386_ldso.c): Likewise.
3603 (eelf_i386_nacl.c): Likewise.
3604 (eelf_i386_sol2.c): Likewise.
3605 (eelf_iamcu.c): Likewise.
3606 (eelf32_x86_64.c): Likewise.
3607 (eelf32_x86_64_nacl.c): Likewise.
3608 (eelf_l1om.c): Likewise.
3609 (eelf_l1om_fbsd.c): Likewise.
3610 (eelf_k1om.c): Likewise.
3611 (eelf_k1om_fbsd.c): Likewise.
3612 (eelf_x86_64.c): Likewise.
3613 (eelf_x86_64_cloudabi.c): Likewise.
3614 (eelf_x86_64_fbsd.c): Likewise.
3615 (eelf_x86_64_sol2.c): Likewise.
3616 * Makefile.in: Regenerated.
3618 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
3620 * testsuite/ld-frv/fdpic-pie-6.d: Updated.
3621 * testsuite/ld-mips-elf/pie-n32.d: Likewise.
3622 * testsuite/ld-mips-elf/pie-n64.d: Likewise.
3623 * testsuite/ld-mips-elf/pie-o32.d: Likewise.
3625 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
3627 * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
3629 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
3631 * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
3632 *-*-gnu* and *-*-solaris*.
3633 * testsuite/ld-elf/pr19617b.d: Likewise.
3634 * testsuite/ld-elf/pr19617c.d: Likewise.
3636 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
3639 * testsuite/ld-elf/pr19617.s: New file.
3640 * testsuite/ld-elf/pr19617a.d: Likewise.
3641 * testsuite/ld-elf/pr19617b.d: Likewise.
3642 * testsuite/ld-elf/pr19617c.d: Likewise.
3644 2016-02-18 Nick Clifton <nickc@redhat.com>
3646 * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
3647 in-tree xg++ executable after checking for the presence of an
3648 in-tree g++ executable.
3649 * Makefile.in: Regenerate.
3651 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
3653 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
3654 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
3655 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
3657 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
3659 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
3660 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
3661 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
3662 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
3663 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
3664 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
3665 * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
3666 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
3667 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
3668 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
3669 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
3670 * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
3671 * testsuite/ld-x86-64/load1c.d: Likewise.
3672 * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
3673 * testsuite/ld-x86-64/load1d.d: Likewise.
3674 * testsuite/ld-x86-64/pr14207.d: Likewise.
3675 * testsuite/ld-x86-64/pr19162.d: Likewise.
3676 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
3677 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
3678 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
3679 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
3680 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
3681 * testsuite/ld-x86-64/tlspic.rd: Likewise.
3683 2016-02-17 Nick Clifton <nickc@redhat.com>
3685 * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
3687 2016-02-15 Nick Clifton <nickc@redhat.com>
3689 * testsuite/ld-i386/pr12718.d: Remove dependency upon the
3690 description of the flags produced by readelf.
3691 * testsuite/ld-i386/pr12921.d: Likewise.
3692 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
3693 * testsuite/ld-i386/tlsbin.rd: Likewise.
3694 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
3695 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
3696 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
3697 * testsuite/ld-i386/tlsdesc.rd: Likewise.
3698 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
3699 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
3700 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
3701 * testsuite/ld-i386/tlsnopic.rd: Likewise.
3702 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
3703 * testsuite/ld-i386/tlspic.rd: Likewise.
3704 * testsuite/ld-s390/tlsbin.rd: Likewise.
3705 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
3706 * testsuite/ld-s390/tlspic.rd: Likewise.
3707 * testsuite/ld-s390/tlspic_64.rd: Likewise.
3708 * testsuite/ld-sh/tlsbin-2.d: Likewise.
3709 * testsuite/ld-sh/tlspic-2.d: Likewise.
3710 * testsuite/ld-tic6x/common.d: Likewise.
3711 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
3712 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
3713 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
3714 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
3715 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
3716 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
3717 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
3718 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
3719 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
3720 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
3721 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
3722 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
3723 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
3724 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
3725 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
3726 * testsuite/ld-x86-64/pr12718.d: Likewise.
3727 * testsuite/ld-x86-64/pr12921.d: Likewise.
3728 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
3729 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
3730 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
3731 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
3732 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
3733 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
3734 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
3735 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
3736 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
3737 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
3738 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
3739 * testsuite/ld-x86-64/tlspic.rd: Likewise.
3740 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
3741 * testsuite/ld-xtensa/tlspic.rd: Likewise.
3743 2016-02-11 H.J. Lu <hongjiu.lu@intel.com>
3746 * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
3748 * lexsup.c (parse_args): Enable -Bsymbolic and
3749 -Bsymbolic-functions for PIE.
3750 * testsuite/ld-i386/i386.exp: Run pr19615.
3751 * testsuite/ld-i386/pr19615.d: New file.
3752 * testsuite/ld-i386/pr19615.s: Likewise.
3753 * testsuite/ld-x86-64/pr19615.d: Likewise.
3754 * testsuite/ld-x86-64/pr19615.s: Likewise.
3756 2016-02-09 Nick Clifton <nickc@redhat.com>
3758 * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
3759 * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
3760 * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
3761 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
3763 2016-02-04 Nick Clifton <nickc@redhat.com>
3765 * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
3766 * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
3767 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
3768 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
3769 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
3770 * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
3771 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
3772 * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
3773 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
3775 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
3778 * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
3779 * testsuite/ld-i386/call1.d: Likewise.
3780 * testsuite/ld-i386/call2.d: Likewise.
3781 * testsuite/ld-i386/call3a.d: Likewise.
3782 * testsuite/ld-i386/call3b.d: Likewise.
3783 * testsuite/ld-i386/call3c.d: Likewise.
3784 * testsuite/ld-i386/call3d.d: Likewise.
3785 * testsuite/ld-i386/call3e.d: Likewise.
3786 * testsuite/ld-i386/call3f.d: Likewise.
3787 * testsuite/ld-i386/call3g.d: Likewise.
3788 * testsuite/ld-i386/call3h.d: Likewise.
3789 * testsuite/ld-i386/jmp1.d: Likewise.
3790 * testsuite/ld-i386/jmp2.d: Likewise.
3791 * testsuite/ld-i386/lea1c.d: Likewise.
3792 * testsuite/ld-i386/load1.d: Likewise.
3793 * testsuite/ld-i386/load2.d: Likewise.
3794 * testsuite/ld-i386/load3.d: Likewise.
3795 * testsuite/ld-i386/load4a.d: Likewise.
3796 * testsuite/ld-i386/load5a.d: Likewise.
3797 * testsuite/ld-i386/mov2b.d: Likewise.
3798 * testsuite/ld-i386/mov3.d: Likewise.
3799 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
3800 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
3801 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
3802 * testsuite/ld-x86-64/call1a.d: Likewise.
3803 * testsuite/ld-x86-64/call1b.d: Likewise.
3804 * testsuite/ld-x86-64/call1c.d: Likewise.
3805 * testsuite/ld-x86-64/call1d.d: Likewise.
3806 * testsuite/ld-x86-64/call1e.d: Likewise.
3807 * testsuite/ld-x86-64/call1f.d: Likewise.
3808 * testsuite/ld-x86-64/call1h.d: Likewise.
3809 * testsuite/ld-x86-64/call1i.d: Likewise.
3810 * testsuite/ld-x86-64/load1a.d: Likewise.
3811 * testsuite/ld-x86-64/load1b.d: Likewise.
3812 * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
3813 * testsuite/ld-i386/got1.dd: Updated.
3814 * testsuite/ld-i386/got1d.S (1): Removed.
3815 * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
3816 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3818 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
3821 * testsuite/ld-x86-64/pr18591.d: New file.
3822 * testsuite/ld-x86-64/pr18591.s: Likewise.
3823 * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
3825 2016-02-01 H.J. Lu <hongjiu.lu@intel.com>
3828 * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
3829 * testsuite/ld-elf/pr19553.map: New file.
3830 * testsuite/ld-elf/pr19553.map: Likewise.
3831 * testsuite/ld-elf/pr19553a.c: Likewise.
3832 * testsuite/ld-elf/pr19553b.c: Likewise.
3833 * testsuite/ld-elf/pr19553b.out: Likewise.
3834 * testsuite/ld-elf/pr19553c.c: Likewise.
3835 * testsuite/ld-elf/pr19553c.out: Likewise.
3836 * testsuite/ld-elf/pr19553d.c: Likewise.
3837 * testsuite/ld-elf/pr19553d.out: Likewise.
3839 2016-01-30 H.J. Lu <hongjiu.lu@intel.com>
3842 * testsuite/ld-elf/pr19539.d: New file.
3843 * testsuite/ld-elf/pr19539.s: Likewise.
3844 * testsuite/ld-elf/pr19539.t: Likewise.
3846 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
3849 * configure.ac (compressed_debug_sections): Replace == with =.
3850 * configure: Regenerated.
3852 2016-01-22 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
3854 * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
3855 * scripttempl/avrtiny.sc (.noinit): Likewise.
3857 2016-01-21 Nick Clifton <nickc@redhat.com>
3860 * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
3861 the arm-netbsdelf target.
3864 * testsuite/ld-arm/vxworks1-lib.dd: Update for current
3865 disassmebler output.
3866 * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
3867 * testsuite/ld-arm/vxworks1.dd: Likewise.
3868 * testsuite/ld-arm/vxworks1.rd: Likewise.
3869 * testsuite/ld-arm/vxworks1.ld: Set the output format.
3871 2016-01-20 Jiong Wang <jiong.wang@arm.com>
3873 * testsuite/ld-aarch64/farcall-section.d: Delete.
3874 * testsuite/ld-aarch64/farcall-section.s: Delete.
3875 * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
3876 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
3877 * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
3878 * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
3879 * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
3881 2016-01-20 Nick Clifton <nickc@redhat.com>
3884 * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
3885 early for PE based targets.
3886 * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
3887 * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
3889 2016-01-20 Mickael Guene <mickael.guene@st.com>
3891 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
3892 Add 'y' attribute usage.
3893 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
3894 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
3895 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
3897 2016-01-19 Nick Clifton <nickc@redhat.com>
3899 * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
3900 foo@FOO and bar@@FOO.
3902 2016-01-18 Alan Modra <amodra@gmail.com>
3904 * configure: Regenerate.
3906 2016-01-18 Nick Clifton <nickc@redhat.com>
3908 * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
3909 is not configured to support plugins.
3911 * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
3912 but with 16 byte section alignment.
3913 * testsuite/ld-scripts/rgn-at11.d: Use new source file. Reenable
3914 test for MIPS targets.
3916 2016-01-17 Alan Modra <amodra@gmail.com>
3918 * configure: Regenerate.
3920 2016-01-17 Alan Modra <amodra@gmail.com>
3922 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
3923 * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
3924 * testsuite/ld-elf/pr14156a.d: Likewise.
3925 * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
3926 * testsuite/ld-elf/sec64k.exp: Likewise.
3928 2016-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
3930 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
3931 Set address of .foo section when linking.
3932 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
3934 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
3935 output to the above changes.
3937 2016-01-13 Nick Clifton <nickc@redhat.com>
3939 * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
3942 * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
3943 fail for MIPS targets.
3945 * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
3948 2016-01-12 Yury Usishchev <y.usishchev@samsung.com>
3950 * testsuite/ld-arm/arm-elf.exp: New test.
3951 * testsuite/ld-arm/unwind-mix.d: New file.
3952 * testsuite/ld-arm/unwind-mix1.s: New file.
3953 * testsuite/ld-arm/unwind-mix2.s: New file.
3955 2016-01-08 Jiong Wang <jiong.wang@arm.com>
3958 * testsuite/ld-arm/ifunc-3.rd: Update expected result.
3959 * testsuite/ld-arm/ifunc-4.rd: Likewise.
3960 * testsuite/ld-arm/ifunc-9.rd: Likewise.
3961 * testsuite/ld-arm/ifunc-10.rd: Likewise.
3962 * testsuite/ld-arm/ifunc-12.rd: Likewise.
3963 * testsuite/ld-arm/ifunc-13.rd: Likewise.
3965 2016-01-05 Nick Clifton <nickc@redhat.com>
3967 * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
3968 MSP430 hardware multiply address range.
3969 * scripttempl/elf32msp430.sc (__romdatastart): Define.
3970 (__romdatacopysize): Define.
3971 * scripttempl/elf32msp430_3.sc: Likewise.
3973 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
3975 * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
3976 OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
3978 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
3980 * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
3981 messages expected according to MIPS BFD private data merge
3983 * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
3984 * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
3985 * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
3986 * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
3987 * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
3988 * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
3989 * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
3990 * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
3991 * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
3992 * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
3993 * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
3994 * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
3995 * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
3997 2016-01-01 Alan Modra <amodra@gmail.com>
3999 Update year range in copyright notice of all files.
4001 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
4003 Copyright (C) 2016 Free Software Foundation, Inc.
4005 Copying and distribution of this file, with or without modification,
4006 are permitted in any medium without royalty provided the copyright
4007 notice and this notice are preserved.
4013 version-control: never