1 2016-12-03 Alan Modra <amodra@gmail.com>
3 * testsuite/ld-elf/indirect1b.c: Give dot-symbol a version too.
4 * testsuite/ld-elf/indirect2.c: Likewise.
5 * testsuite/ld-elf/indirect3b.c: Likewise.
6 * testsuite/ld-elf/indirect4b.c: Likewise.
7 * testsuite/ld-elf/pr18718.c: Likewise.
8 * testsuite/ld-elf/pr18720b.c: Likewise.
9 * testsuite/ld-elf/pr19553c.c: Likewise.
10 * testsuite/ld-elfvers/vers.h (FUNC_SYMVER): Define.
11 * testsuite/ld-elfvers/vers1.c: Use FUNC_SYMVER for functions.
12 * testsuite/ld-elfvers/vers4.c: Likewise.
13 * testsuite/ld-elfvers/vers5.c: Likewise.
14 * testsuite/ld-elfvers/vers6.c: Likewise.
15 * testsuite/ld-elfvers/vers7a.c: Likewise.
16 * testsuite/ld-elfvers/vers9.c: Likewise.
17 * testsuite/ld-elfvers/vers15.c: Likewise.
18 * testsuite/ld-elfvers/vers18.c: Likewise.
19 * testsuite/ld-elfvers/vers22a.c: Likewise.
20 * testsuite/ld-elfvers/vers23a.c: Likewise.
21 * testsuite/ld-elfvers/vers27d1.c: Likewise.
22 * testsuite/ld-elfvers/vers21.c: Likewise.
23 (_old_bar): Use attribute weak rather than asm weak.
24 * testsuite/ld-ifunc/pr16467b.c: Give dot-symbol a version.
25 * testsuite/ld-plugin/pr12760b.c: Define warning on .bar rather than
26 bar for ppc64 -mcall-aixdesc.
27 * testsuite/ld-plugin/pr16746a.c: Similarly for foobar.
28 * testsuite/ld-plugin/pr16746b.c: Likewise.
29 * testsuite/ld-elf/shared.exp: Allow dot-symbol in warnings and errors.
30 * testsuite/ld-plugin/lto.exp: Likewise.
31 * testsuite/ld-plugin/plugin-6.d: Likewise.
32 * testsuite/ld-plugin/plugin-7.d: Likewise.
33 * testsuite/ld-plugin/plugin-8.d: Likewise.
34 * testsuite/ld-plugin/plugin-13.d: Likewise.
35 * testsuite/ld-plugin/plugin-14.d: Likewise.
36 * testsuite/ld-plugin/plugin-15.d: Likewise.
37 * testsuite/ld-plugin/plugin-16.d: Likewise.
38 * testsuite/ld-plugin/plugin-20.d: Likewise.
39 * testsuite/ld-plugin/plugin-21.d: Likewise.
40 * testsuite/ld-plugin/plugin-22.d: Likewise.
41 * testsuite/ld-plugin/plugin-23.d: Likewise.
42 * testsuite/ld-plugin/plugin.exp: Define .main and .puts for ppc64
44 * testsuite/ld-elfvers/vers.exp (test_ar): Trim dot-symbols.
45 (objdump_dynsymstuff): Likewise.
46 (objdump_symstuff): Likewise. Pack flags to keep column count
48 * testsuite/ld-elfweak/elfweak.exp (objdump_dynsymstuff,
49 objdump_symstuff): As for vers.exp.
50 * testsuite/ld-elfvers/vers6.sym: Allow dot-symbols.
51 * testsuite/ld-elfvers/vers1.sym: Allow missing F flag for
52 -mcall-aixdesc .opd syms and adjust for flag packing.
53 * testsuite/ld-elfvers/vers4.sym: Likewise.
54 * testsuite/ld-elfvers/vers4a.sym: Likewise.
55 * testsuite/ld-elfvers/vers7a.sym: Likewise.
56 * testsuite/ld-elfvers/vers9.sym: Likewise.
57 * testsuite/ld-elfvers/vers15.sym: Likewise.
58 * testsuite/ld-elfvers/vers18.sym: Likewise.
59 * testsuite/ld-elfvers/vers21.sym: Likewise.
60 * testsuite/ld-elfvers/vers22a.sym: Likewise.
61 * testsuite/ld-elfvers/vers23a.sym: Likewise.
62 * testsuite/ld-elfvers/vers27d.sym: Likewise.
63 * testsuite/ld-elfweak/strong.sym: Likewise.
64 * testsuite/ld-elfweak/strongcomm.sym: Likewise.
65 * testsuite/ld-elfweak/strongdata.sym: Likewise.
67 2016-12-03 Alan Modra <amodra@gmail.com>
69 * testsuite/ld-elfvers/vers.exp (objdump_dynsymstuff): Don't abort
70 on non-empty results with empty expected.
72 2016-12-03 Alan Modra <amodra@gmail.com>
74 * testsuite/ld-cdtest/cdtest-foo.cc: Test for __GNUG__ >= 2.
76 2016-12-03 Alan Modra <amodra@gmail.com>
78 * ldexp.c (try_copy_symbol_type): Remove unnecessary check.
80 2016-12-02 Nick Clifton <nickc@redhat.com>
83 * ldmain.c (main): Prevent evaluation of %<char> sequences when
84 printing out a linker script.
87 * ldctor.c (ldctor_build_sets): Produce alternative error message
88 if the reloc was being applied to a special section.
91 * emultempl/elf32.em (_place_orphan): Test for ELF format of the
92 orphan before looking for the SHF_EXCLUDE flag.
94 2016-12-02 Josh Conner <joshconner@google.com>
96 * Makefile.am: Add dependency information for earmelf_fuchsia.c.
97 * Makefile.in: Regenerate.
98 * configure.tgt: Add support for aarch64-*-fuchsia, arm*-*-fuchsia*, and
99 x86_64-*-fuchsia* targets.
100 * emulparams/armelf_fuchsia.sh: New file.
101 * emulparams/armelfb_fuchsia.sh: New file.
103 2016-12-01 Rudy Y <rudyy.id@gmail.com>
106 * pe-dll.c (make_one): Use the hint if the ordinal is -1.
108 2016-12-01 Yury Norov <ynorov@caviumnetworks.com>
111 * testsuite/ld-aarch64/tls-relax-gd-ie-ilp32.d: New test.
112 * testsuite/ld-aarch64/relocs-ilp32.ld: Linker script for the new
114 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
116 2016-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
118 * emulparams/arclinux_prof.sh: Remove duplicate TEMPLATE_NAME.
120 2016-11-28 Nick Clifton <nickc@redhat.com>
123 * testsuite/ld-elf/loadaddr1.d: Update.
124 * testsuite/ld-powerpc/vle-multiseg-5.d: Update.
125 * testsuite/ld-scripts/phdrs3a.d: Update.
127 2016-11-28 H.J. Lu <hongjiu.lu@intel.com>
129 * testsuite/ld-elf/indirect.exp: Add a test for PR 18720.
130 * testsuite/ld-elf/pr18720.rd: New file.
132 2016-11-27 Alan Modra <amodra@gmail.com>
135 * testsuite/ld-powerpc/vle-multiseg-5.d: Update.
137 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
139 * deffilep.y: Fix spelling in comments.
141 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
143 * scripttempl/ia64vms.sc: Fix spelling in comments.
144 * scripttempl/ip2k.sc: Fix spelling in comments.
145 * scripttempl/v850.sc: Fix spelling in comments.
146 * scripttempl/v850_rh850.sc: Fix spelling in comments.
148 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
150 * emultempl/avrelf.em: Fix spelling in comments.
151 * emultempl/elf32.em: Fix spelling in comments.
152 * emultempl/pe.em: Fix spelling in comments.
153 * emultempl/pep.em: Fix spelling in comments.
154 * emultempl/spuelf.em: Fix spelling in comments.
156 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
158 * testsuite/ld-sh/arch/arch.exp: Fix spelling in comments.
159 * testsuite/ld-sh/rd-sh.exp: Fix spelling in comments.
160 * testsuite/ld-sh/sh64/rd-sh64.exp: Fix spelling in comments.
161 * testsuite/ld-undefined/undefined.exp: Fix spelling in comments.
163 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
165 * testsuite/ld-arm/stm32l4xx-fix-all.s: Fix spelling in comments.
166 * testsuite/ld-arm/thumb2-b-interwork.s: Fix spelling in comments.
167 * testsuite/ld-arm/thumb2-bl.s: Fix spelling in comments.
168 * testsuite/ld-s390/tlspic1.s: Fix spelling in comments.
169 * testsuite/ld-s390/tlspic1_64.s: Fix spelling in comments.
170 * testsuite/ld-scripts/section-match-1.d: Fix spelling in comments.
172 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
174 * deffile.h: Fix spelling in comments.
175 * ld.h: Fix spelling in comments.
176 * ldlang.c: Fix spelling in comments.
177 * ldmisc.c: Fix spelling in comments.
178 * pe-dll.c: Fix spelling in comments.
180 2016-11-24 Jiong Wang <jiong.wang@arm.com>
183 * testsuite/ld-arm/pie-bind-locally-a.s: New test source.
184 * testsuite/ld-arm/pie-bind-locally-b.s: Likewise.
185 * testsuite/ld-arm/pie-bind-locally.d: New testcase.
186 * testsuite/ld-arm/arm-elf.exp: Run new testcase.
188 2016-11-24 Nick Clifton <nickc@redhat.com>
191 * emultempl/elf32.em (_search_needed): Allow for path separator
192 and terminating NUL byte when allocating space for new $ORIGIN
195 2016-11-23 Nick Clifton <nickc@redhat.com>
197 * testsuite/ld-arm/vxworks2.sd: Update expected readelf output.
200 * ld.texinfo: Note that PT_TLS can be used as a segment type.
201 * testsuite/ld-discard/discard.ld: Add space for program headers.
202 * testsuite/ld-elf/flags1.ld: Likewise.
203 * testsuite/ld-elf/maxpage3.t: Likewise.
204 * testsuite/ld-elf/noload-1.t: Likewise.
205 * testsuite/ld-elf/orphan.ld: Likewise.
206 * testsuite/ld-elf/overlay.t: Likewise.
207 * testsuite/ld-elf/pr14052.t: Likewise.
208 * testsuite/ld-elf/pr19539.t: Likewise.
209 * testsuite/ld-elf/provide-hidden-1.ld: Likewise.
210 * testsuite/ld-elf/provide-hidden-s.ld: Likewise.
211 * testsuite/ld-elf/weak-dyn-1.ld: Likewise.
212 * testsuite/ld-i386/pr19539.t: Likewise.
213 * testsuite/ld-scripts/defined.t: Likewise.
214 * testsuite/ld-scripts/defined6.t: Likewise.
215 * testsuite/ld-scripts/dynamic-sections.t: Likewise.
216 * testsuite/ld-scripts/empty-aligned.t: Likewise.
217 * testsuite/ld-scripts/provide-2.t: Likewise.
218 * testsuite/ld-scripts/provide-4.t: Likewise.
219 * testsuite/ld-vax-elf/plt-local.ld: Likewise.
220 * testsuite/ld-x86-64/pr19539.t: Likewise.
221 * testsuite/ld-elf/ehdr_start-missing.d: Do not initialise the
223 * testsuite/ld-elf/ehdr_start-weak.d: Likewise.
224 * testsuite/ld-elf/elf.exp (pr14170, pr17068): Likewise.
225 * testsuite/ld-elf/loadaddr1.d: Update expected readelf output.
226 * testsuite/ld-elf/noload-2.d: Likewise.
227 * testsuite/ld-powerpc/vxworks2.sd: Likewise.
228 * testsuite/ld-scripts/phdrs3a.d: Likewise.
229 * testsuite/ld-scripts/size-2.d: Likewise.
230 * testsuite/ld-elf/group.ld: Add program headers.
231 * testsuite/ld-elf/overlay.d: Skip for SPU.
232 * testsuite/ld-elf/flags1.d: Skip for RX.
233 * testsuite/ld-elf/pr19162.d: Skip for HPPA64.
234 * testsuite/ld-elf/pr19539.d: Skip for ALPHA.
235 * testsuite/ld-scripts/empty-orphan.t: Update program headers.
236 * testsuite/ld-scripts/size-2.t: Likewise.
238 2016-11-22 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
240 * configure: Regenerate.
242 2016-11-22 Alan Modra <amodra@gmail.com>
245 * emultempl/ppc32elf.em (params): Update initializer. Handle
246 --vle-reloc-fixup command line arg.
248 2016-11-15 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
251 * ld/testsuite/ld-avr/pr20789.d: New test.
252 * ld/testsuite/ld-avr/pr20789.s: New test.
255 2016-11-14 H.J. Lu <hongjiu.lu@intel.com>
258 * testsuite/ld-x86-64/pr20800a.S: New file.
259 * testsuite/ld-x86-64/pr20800b.S: Likewise.
260 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/20800 test.
262 2016-11-14 Nick Clifton <nickc@redhat.com>
264 * lexsup.c (parse_args): Add break at end of default case.
266 2016-11-10 Jiong Wang <jiong.wang@arm.com>
269 * testsuite/ld-aarch64/pie-bind-locally-a.s: New test source.
270 * testsuite/ld-aarch64/pie-bind-locally-b.s: Likewise.
271 * testsuite/ld-aarch64/pie-bind-locally.d: New testcase.
272 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcase.
274 2016-11-07 Nick Clifton <nickc@redhat.com>
277 * emultempl/elf32.em (search_needed): Fix infinite loop when
278 unable to process a token. Add support for curly braced enclosed
280 * ld.texinfo (--rpath-link): Document supprot for $ORIGIN and
283 2016-11-07 Nick Clifton <nickc@redhat.com>
285 * ld.texinfo (--compress-debug-sections): Expand documentation of
288 2016-11-04 Nick Clifton <nickc@redhat.com>
290 * emultempl/elf32.em (search_needed): Remove use of getauxval and
291 inclusion of <sys/auxv.h>. Replace support for $PLATFORM with a
293 * configure.ac (AC_CHECK_FUNCS): Remove getauxval.
294 * configure: Regenerate.
295 * config.in: Regenerate.
297 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
299 * ldlang.h (struct lang_wild_statement_struct): Add
300 exclude_name_list field.
301 * ldlang.c (walk_wild_file_in_exclude_list): New function.
302 (walk_wild_consider_section): Use new
303 walk_wild_file_in_exclude_list function.
304 (walk_wild_file): Add call to walk_wild_file_in_exclude_list.
305 (print_wild_statement): Print new exclude_name_list field.
306 (lang_add_wild): Initialise new exclude_name_list field.
307 * testsuite/ld-scripts/exclude-file-1.d: New file.
308 * testsuite/ld-scripts/exclude-file-1.map: New file.
309 * testsuite/ld-scripts/exclude-file-1.t: New file.
310 * testsuite/ld-scripts/exclude-file-2.d: New file.
311 * testsuite/ld-scripts/exclude-file-2.map: New file.
312 * testsuite/ld-scripts/exclude-file-2.t: New file.
313 * testsuite/ld-scripts/exclude-file-3.d: New file.
314 * testsuite/ld-scripts/exclude-file-3.map: New file.
315 * testsuite/ld-scripts/exclude-file-3.t: New file.
316 * testsuite/ld-scripts/exclude-file-4.d: New file.
317 * testsuite/ld-scripts/exclude-file-4.map: New file.
318 * testsuite/ld-scripts/exclude-file-4.t: New file.
319 * testsuite/ld-scripts/exclude-file-a.s: New file.
320 * testsuite/ld-scripts/exclude-file-b.s: New file.
321 * testsuite/ld-scripts/exclude-file.exp: New file.
322 * ld.texinfo (Input Section Basics): Update description of
323 EXCLUDE_FILE to cover the new features.
324 * NEWS: Mention new EXCLUDE_FILE usage.
326 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
328 * testsuite/lib/ld-lib.exp (run_dump_test): Use object file names
329 based on the original source file name.
330 * testsuite/ld-discard/extern.d: Update object file names.
331 * testsuite/ld-discard/start.d: Likewise.
332 * testsuite/ld-discard/static.d: Likewise.
333 * testsuite/ld-elf/orphan-8.map: Likewise.
335 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
337 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Add
338 xc16x-*-elf to the list of targets that don't support -shared.
340 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
342 * ldgram.y: Rename file_NAME_list to section_NAME_list
345 2016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
346 Andrew Waterman <andrew@sifive.com>
348 Add support for RISC-V architecture.
349 * Makefile.am: Add riscv files.
350 * Makefile.in: Regenerate.
351 * NEWS: Mention the support for this target.
352 * configure.tgt: Add riscv entries.
353 * emulparams/elf32lriscv-defs.sh: New file.
354 * emulparams/elf32lriscv.sh: New file.
355 * emulparams/elf64lriscv-defs.sh: New file.
356 * emulparams/elf64lriscv.sh: New file.
357 * emultempl/riscvelf.em: New file.
359 2016-10-31 Thomas Preud'homme <thomas.preudhomme@arm.com>
361 * ldmain.c (add_archive_element): Initialize input->header.type.
362 * plugin.c (plugin_maybe_claim): Assert the statement is an input
365 2016-10-15 Alan Modra <amodra@gmail.com>
367 * emultempl/spu_ovl.o_c: Regenerate.
369 2016-10-14 Alan Modra <amodra@gmail.com>
371 * scripttempl/DWARF.sc: Add .debug_addr.
373 2016-10-12 Alan Modra <amodra@gmail.com>
375 * testsuite/ld-i386/pr19636-1d-nacl.d: Adjust for objdump change.
376 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
377 * testsuite/ld-tic6x/shlib-1r.dd: Likewise.
378 * testsuite/ld-x86-64/plt-nacl.pd: Likewise.
379 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
381 2016-10-11 Nick Clifton <nickc@redhat.com>
383 * ld-aarch64/emit-relocs-515-be.d: Adjust output to match change
385 * ld-aarch64/emit-relocs-515.d: Likewise.
386 * ld-aarch64/emit-relocs-516-be.d: Likewise.
387 * ld-aarch64/emit-relocs-516.d: Likewise.
388 * ld-aarch64/farcall-b-plt.d: Likewise.
389 * ld-aarch64/farcall-bl-plt.d: Likewise.
390 * ld-aarch64/gc-plt-relocs.d: Likewise.
391 * ld-aarch64/tls-desc-ie.d: Likewise.
392 * ld-aarch64/tls-tiny-desc.d: Likewise.
393 * ld-aarch64/tls-tiny-gd.d: Likewise.
394 * ld-aarch64/tls-tiny-ie.d: Likewise.
395 * ld-arm/arm-app-abs32.d: Likewise.
396 * ld-arm/arm-app.d: Likewise.
397 * ld-arm/arm-lib-plt32.d: Likewise.
398 * ld-arm/arm-lib.d: Likewise.
399 * ld-arm/armthumb-lib.d: Likewise.
400 * ld-arm/cortex-a8-fix-b-plt.d: Likewise.
401 * ld-arm/cortex-a8-fix-bcc-plt.d: Likewise.
402 * ld-arm/cortex-a8-fix-bl-plt.d: Likewise.
403 * ld-arm/cortex-a8-fix-bl-rel-plt.d: Likewise.
404 * ld-arm/cortex-a8-fix-blx-plt.d: Likewise.
405 * ld-arm/farcall-mixed-app-v5.d: Likewise.
406 * ld-arm/farcall-mixed-app.d: Likewise.
407 * ld-arm/farcall-mixed-app2.d: Likewise.
408 * ld-arm/farcall-mixed-lib-v4t.d: Likewise.
409 * ld-arm/farcall-mixed-lib.d: Likewise.
410 * ld-arm/ifunc-10.dd: Likewise.
411 * ld-arm/ifunc-14.dd: Likewise.
412 * ld-arm/ifunc-15.dd: Likewise.
413 * ld-arm/ifunc-3.dd: Likewise.
414 * ld-arm/ifunc-4.dd: Likewise.
415 * ld-arm/ifunc-9.dd: Likewise.
416 * ld-arm/long-plt-format.d: Likewise.
417 * ld-arm/mixed-app-v5.d: Likewise.
418 * ld-arm/mixed-app.d: Likewise.
419 * ld-arm/mixed-lib.d: Likewise.
420 * ld-arm/tls-lib-loc.d: Likewise.
421 * ld-cris/dso-pltdis1.d: Likewise.
422 * ld-cris/dso-pltdis2.d: Likewise.
423 * ld-cris/dso12-pltdis.d: Likewise.
424 * ld-elf/symbolic-func.r: Likewise.
425 * ld-frv/fdpic-pie-1.d: Likewise.
426 * ld-frv/fdpic-pie-2.d: Likewise.
427 * ld-frv/fdpic-pie-6.d: Likewise.
428 * ld-frv/fdpic-pie-7.d: Likewise.
429 * ld-frv/fdpic-pie-8.d: Likewise.
430 * ld-frv/fdpic-shared-1.d: Likewise.
431 * ld-frv/fdpic-shared-2.d: Likewise.
432 * ld-frv/fdpic-shared-3.d: Likewise.
433 * ld-frv/fdpic-shared-4.d: Likewise.
434 * ld-frv/fdpic-shared-5.d: Likewise.
435 * ld-frv/fdpic-shared-6.d: Likewise.
436 * ld-frv/fdpic-shared-7.d: Likewise.
437 * ld-frv/fdpic-shared-8.d: Likewise.
438 * ld-frv/fdpic-shared-local-2.d: Likewise.
439 * ld-frv/fdpic-shared-local-8.d: Likewise.
440 * ld-frv/fdpic-static-1.d: Likewise.
441 * ld-frv/fdpic-static-2.d: Likewise.
442 * ld-frv/fdpic-static-6.d: Likewise.
443 * ld-frv/fdpic-static-7.d: Likewise.
444 * ld-frv/fdpic-static-8.d: Likewise.
445 * ld-frv/tls-dynamic-2.d: Likewise.
446 * ld-frv/tls-initial-shared-2.d: Likewise.
447 * ld-frv/tls-relax-shared-2.d: Likewise.
448 * ld-frv/tls-shared-2.d: Likewise.
449 * ld-i386/plt-nacl.pd: Likewise.
450 * ld-i386/plt-pic-nacl.pd: Likewise.
451 * ld-i386/plt-pic.pd: Likewise.
452 * ld-i386/plt.pd: Likewise.
453 * ld-i386/pr19636-1d-nacl.d: Likewise.
454 * ld-i386/pr19636-1d.d: Likewise.
455 * ld-i386/pr19636-2c-nacl.d: Likewise.
456 * ld-i386/pr19636-2c.d: Likewise.
457 * ld-ifunc/ifunc-21-x86-64.d: Likewise.
458 * ld-ifunc/ifunc-22-x86-64.d: Likewise.
459 * ld-ifunc/pr17154-i386.d: Likewise.
460 * ld-ifunc/pr17154-x86-64.d: Likewise.
461 * ld-m68k/plt1-68020.d: Likewise.
462 * ld-m68k/plt1-cpu32.d: Likewise.
463 * ld-m68k/plt1-isab.d: Likewise.
464 * ld-m68k/plt1-isac.d: Likewise.
465 * ld-metag/shared.d: Likewise.
466 * ld-metag/stub_pic_app.d: Likewise.
467 * ld-metag/stub_pic_shared.d: Likewise.
468 * ld-metag/stub_shared.d: Likewise.
469 * ld-s390/tlsbin_64.dd: Likewise.
470 * ld-s390/tlspic_64.dd: Likewise.
471 * ld-tic6x/shlib-1.dd: Likewise.
472 * ld-tic6x/shlib-1b.dd: Likewise.
473 * ld-tic6x/shlib-1rb.dd: Likewise.
474 * ld-tic6x/shlib-app-1.dd: Likewise.
475 * ld-tic6x/shlib-app-1b.dd: Likewise.
476 * ld-tic6x/shlib-app-1r.dd: Likewise.
477 * ld-tic6x/shlib-app-1rb.dd: Likewise.
478 * ld-tic6x/shlib-noindex.dd: Likewise.
479 * ld-vax-elf/export-class-data.dd: Likewise.
480 * ld-vax-elf/plt-local-lib.dd: Likewise.
481 * ld-vax-elf/plt-local.dd: Likewise.
482 * ld-x86-64/bnd-ifunc-2.d: Likewise.
483 * ld-x86-64/bnd-plt-1.d: Likewise.
484 * ld-x86-64/gotpcrel1.dd: Likewise.
485 * ld-x86-64/libno-plt-1b.dd: Likewise.
486 * ld-x86-64/load1c-nacl.d: Likewise.
487 * ld-x86-64/load1c.d: Likewise.
488 * ld-x86-64/load1d-nacl.d: Likewise.
489 * ld-x86-64/load1d.d: Likewise.
490 * ld-x86-64/mov1a.d: Likewise.
491 * ld-x86-64/mov1b.d: Likewise.
492 * ld-x86-64/mov1c.d: Likewise.
493 * ld-x86-64/mov1d.d: Likewise.
494 * ld-x86-64/mov2a.d: Likewise.
495 * ld-x86-64/mov2b.d: Likewise.
496 * ld-x86-64/mov2c.d: Likewise.
497 * ld-x86-64/mov2d.d: Likewise.
498 * ld-x86-64/mpx3.dd: Likewise.
499 * ld-x86-64/mpx4.dd: Likewise.
500 * ld-x86-64/no-plt-1a.dd: Likewise.
501 * ld-x86-64/no-plt-1b.dd: Likewise.
502 * ld-x86-64/no-plt-1c.dd: Likewise.
503 * ld-x86-64/no-plt-1e.dd: Likewise.
504 * ld-x86-64/no-plt-1f.dd: Likewise.
505 * ld-x86-64/no-plt-1g.dd: Likewise.
506 * ld-x86-64/plt-main-bnd.dd: Likewise.
507 * ld-x86-64/plt-nacl.pd: Likewise.
508 * ld-x86-64/plt.pd: Likewise.
509 * ld-x86-64/pr18591.d: Likewise.
510 * ld-x86-64/pr19609-1c.d: Likewise.
511 * ld-x86-64/pr19609-1e.d: Likewise.
512 * ld-x86-64/pr19609-1j.d: Likewise.
513 * ld-x86-64/pr19609-1l.d: Likewise.
514 * ld-x86-64/pr19609-1m.d: Likewise.
515 * ld-x86-64/pr19609-5b.d: Likewise.
516 * ld-x86-64/pr19609-5c.d: Likewise.
517 * ld-x86-64/pr19609-5e.d: Likewise.
518 * ld-x86-64/pr19609-6b.d: Likewise.
519 * ld-x86-64/pr19609-7b.d: Likewise.
520 * ld-x86-64/pr19609-7d.d: Likewise.
521 * ld-x86-64/pr19636-2d.d: Likewise.
522 * ld-x86-64/pr20093-1.d: Likewise.
523 * ld-x86-64/pr20093-2.d: Likewise.
524 * ld-x86-64/pr20253-1b.d: Likewise.
525 * ld-x86-64/pr20253-1d.d: Likewise.
526 * ld-x86-64/pr20253-1f.d: Likewise.
527 * ld-x86-64/pr20253-1h.d: Likewise.
528 * ld-x86-64/pr20253-1j.d: Likewise.
529 * ld-x86-64/pr20253-1l.d: Likewise.
530 * ld-x86-64/protected3.d: Likewise.
531 * ld-x86-64/tlsbin.dd: Likewise.
532 * ld-x86-64/tlsbin2.dd: Likewise.
533 * ld-x86-64/tlsbindesc.dd: Likewise.
534 * ld-x86-64/tlsdesc-nacl.pd: Likewise.
535 * ld-x86-64/tlsdesc.dd: Likewise.
536 * ld-x86-64/tlsdesc.pd: Likewise.
537 * ld-x86-64/tlsgd10.dd: Likewise.
538 * ld-x86-64/tlsgd5.dd: Likewise.
539 * ld-x86-64/tlsgd6.dd: Likewise.
540 * ld-x86-64/tlsgd8.dd: Likewise.
541 * ld-x86-64/tlsgdesc.dd: Likewise.
542 * ld-x86-64/tlspic.dd: Likewise.
543 * ld-x86-64/tlspic2.dd: Likewise.
545 2016-10-11 Nick Clifton <nickc@redhat.com>
548 * emultempl/elf32.em (_search_needed): Add support for pseudo
549 environment variables supported by ld.so. Namely $ORIGIN, $LIB
551 * configure.ac: Add getauxval to list AC_CHECK_FUNCS list.
552 * config.in: Regenerate.
553 * configure: Regenerate.
555 2016-10-11 Alan Modra <amodra@gmail.com>
557 * ldlang.c (lang_do_assignments_1): Descend into output section
558 statements that do not yet have bfd sections. Set symbol section
559 temporarily for symbols defined in such statements to the undefined
560 section. Don't error on data or reloc statements until final phase.
561 * ldexp.c (exp_fold_tree_1 <etree_assign>): Handle bfd_und_section
563 * testsuite/ld-mmix/bpo-10.d: Adjust.
564 * testsuite/ld-mmix/bpo-11.d: Adjust.
566 2016-10-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
568 * emulparams/elf64_s390.sh: Move binary start to 16M.
569 * testsuite/ld-s390/tlsbin_64.dd: Adjust testcases accordingly.
570 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
572 2016-10-07 Alan Modra <amodra@gmail.com>
574 * ldexp.c (MAX): Define.
575 (exp_unop, exp_binop, exp_trinop): Alloc at least enough for
578 2016-10-07 Alan Modra <amodra@gmail.com>
580 * testsuite/lib/ld-lib.exp (is_generic_elf): New, extracted from..
581 * testsuite/ld-elf/elf.exp: ..here.
583 2016-10-06 Ludovic Courtès <ludo@gnu.org>
585 * emulparams/elf32bmipn32-defs.sh: Shift quote of
586 "x$EMULATION_NAME" to the left to work around
587 <http://ftp.gnu.org/gnu/bash/bash-4.2-patches/bash42-007>.
589 2016-10-06 Alan Modra <amodra@gmail.com>
591 * lexsup.c: Spell fall through comments consistently and add
592 missing fall through comments.
594 2016-10-06 Alan Modra <amodra@gmail.com>
596 * plugin.c (asymbol_from_plugin_symbol): Avoid compiler warning
599 2016-10-04 Alan Modra <amodra@gmail.com>
601 * ld.texinfo (Expression Section): Update result of arithmetic
603 * ldexp.c (arith_result_section): New function.
604 (fold_binary): Use it.
606 2016-10-04 Alan Modra <amodra@gmail.com>
608 * ldexp.c (exp_value_fold): New function.
609 (exp_unop, exp_binop, exp_trinop): Use it.
611 2016-09-30 Alan Modra <amodra@gmail.com>
613 * scripttempl/v850.sc: Don't reference __ctbp, __ep, __gp when
615 * scripttempl/v850_rh850.sc: Likewise.
617 2016-09-30 Alan Modra <amodra@gmail.com>
620 * testsuite/ld-elf/pr20528a.d: xfail generic elf targets. Allow
621 multiple .text sections for hppa-linux.
622 * testsuite/ld-elf/pr20528b.d: Likewise.
624 2016-09-30 Alan Modra <amodra@gmail.com>
626 * ldmain.c (default_bfd_error_handler): New function pointer.
627 (ld_bfd_error_handler): New function.
628 (main): Arrange to call it on bfd errors/warnings.
629 (ld_bfd_assert_handler): Enable tail call.
631 2016-09-30 Alan Modra <amodra@gmail.com>
633 * ldlang.c (ignore_bfd_errors): Update params.
635 2016-09-29 H.J. Lu <hongjiu.lu@intel.com>
638 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
639 merge 2 sections with different SHF_EXCLUDE.
640 * testsuite/ld-elf/pr20528a.d: New file.
641 * testsuite/ld-elf/pr20528a.s: Likewise.
642 * testsuite/ld-elf/pr20528b.d: Likewise.
643 * testsuite/ld-elf/pr20528b.s: Likewise.
645 2016-09-28 Christophe Lyon <christophe.lyon@linaro.org>
648 * testsuite/ld-arm/arm-elf.exp: Handle new testcase.
649 * testsuite/ld-arm/farcall-mixed-app2.d: New file.
650 * testsuite/ld-arm/farcall-mixed-app2.r: Likewise.
651 * testsuite/ld-arm/farcall-mixed-app2.s: Likewise.
652 * testsuite/ld-arm/farcall-mixed-app2.sym: Likewise.
654 2016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
656 * Makefile.in: Regenerate.
657 * configure: Likewise.
659 2016-09-26 Alan Modra <amodra@gmail.com>
661 * testsuite/ld-powerpc/attr-gnu-4-4.s: Delete.
662 * testsuite/ld-powerpc/attr-gnu-4-14.d: Delete.
663 * testsuite/ld-powerpc/attr-gnu-4-24.d: Delete.
664 * testsuite/ld-powerpc/attr-gnu-4-34.d: Delete.
665 * testsuite/ld-powerpc/attr-gnu-4-41.d: Delete.
666 * testsuite/ld-powerpc/attr-gnu-4-32.d: Adjust expected warning.
667 * testsuite/ld-powerpc/attr-gnu-8-23.d: Likewise.
668 * testsuite/ld-powerpc/attr-gnu-4-01.d: Adjust expected output.
669 * testsuite/ld-powerpc/attr-gnu-4-02.d: Likewise.
670 * testsuite/ld-powerpc/attr-gnu-4-03.d: Likewise.
671 * testsuite/ld-powerpc/attr-gnu-4-10.d: Likewise.
672 * testsuite/ld-powerpc/attr-gnu-4-11.d: Likewise.
673 * testsuite/ld-powerpc/attr-gnu-4-20.d: Likewise.
674 * testsuite/ld-powerpc/attr-gnu-4-22.d: Likewise.
675 * testsuite/ld-powerpc/attr-gnu-4-33.d: Likewise.
676 * testsuite/ld-powerpc/attr-gnu-8-11.d: Likewise.
677 * testsuite/ld-powerpc/powerpc.exp: Don't run deleted tests.
679 2016-09-23 Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
682 * testsuite/ld-arm/unwind-4.d: Add -q option to linker command
683 line and -r option to objdump command line. Match emitted relocs
684 to make sure that superflous relocs are not generated.
686 2016-09-23 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
688 * emulparams/elf64_s390.sh: Change TEXT_START_ADDR to 256MB.
689 * testsuite/ld-s390/tlsbin_64.dd: Adjust testcase accordingly.
690 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
692 2016-09-22 Nick Clifton <nickc@redhat.com>
694 * emultempl/elf32.em (_try_needed): In verbose mode, report failed
695 attempts to find a needed library.
697 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
699 * testsuite/ld-aarch64/emit-relocs-28.d: Expect spaces after ","
701 * testsuite/ld-aarch64/emit-relocs-301-be.d: Likewise.
702 * testsuite/ld-aarch64/emit-relocs-301.d: Likewise.
703 * testsuite/ld-aarch64/emit-relocs-302-be.d: Likewise.
704 * testsuite/ld-aarch64/emit-relocs-302.d: Likewise.
705 * testsuite/ld-aarch64/emit-relocs-310-be.d: Likewise.
706 * testsuite/ld-aarch64/emit-relocs-310.d: Likewise.
707 * testsuite/ld-aarch64/emit-relocs-313.d: Likewise.
708 * testsuite/ld-aarch64/emit-relocs-515-be.d: Likewise.
709 * testsuite/ld-aarch64/emit-relocs-515.d: Likewise.
710 * testsuite/ld-aarch64/emit-relocs-516-be.d: Likewise.
711 * testsuite/ld-aarch64/emit-relocs-516.d: Likewise.
712 * testsuite/ld-aarch64/emit-relocs-531.d: Likewise.
713 * testsuite/ld-aarch64/emit-relocs-532.d: Likewise.
714 * testsuite/ld-aarch64/emit-relocs-533.d: Likewise.
715 * testsuite/ld-aarch64/emit-relocs-534.d: Likewise.
716 * testsuite/ld-aarch64/emit-relocs-535.d: Likewise.
717 * testsuite/ld-aarch64/emit-relocs-536.d: Likewise.
718 * testsuite/ld-aarch64/emit-relocs-537.d: Likewise.
719 * testsuite/ld-aarch64/emit-relocs-538.d: Likewise.
720 * testsuite/ld-aarch64/erratum835769.d: Likewise.
721 * testsuite/ld-aarch64/erratum843419.d: Likewise.
722 * testsuite/ld-aarch64/farcall-b-plt.d: Likewise.
723 * testsuite/ld-aarch64/farcall-bl-plt.d: Likewise.
724 * testsuite/ld-aarch64/gc-plt-relocs.d: Likewise.
725 * testsuite/ld-aarch64/ifunc-21.d: Likewise.
726 * testsuite/ld-aarch64/ifunc-7c.d: Likewise.
727 * testsuite/ld-aarch64/tls-desc-ie.d: Likewise.
728 * testsuite/ld-aarch64/tls-large-desc-be.d: Likewise.
729 * testsuite/ld-aarch64/tls-large-desc.d: Likewise.
730 * testsuite/ld-aarch64/tls-large-ie-be.d: Likewise.
731 * testsuite/ld-aarch64/tls-large-ie.d: Likewise.
732 * testsuite/ld-aarch64/tls-relax-all.d: Likewise.
733 * testsuite/ld-aarch64/tls-relax-gd-ie.d: Likewise.
734 * testsuite/ld-aarch64/tls-relax-gdesc-ie-2.d: Likewise.
735 * testsuite/ld-aarch64/tls-relax-gdesc-ie.d: Likewise.
736 * testsuite/ld-aarch64/tls-relax-large-desc-ie-be.d: Likewise.
737 * testsuite/ld-aarch64/tls-relax-large-desc-ie.d: Likewise.
738 * testsuite/ld-aarch64/tls-tiny-desc.d: Likewise.
739 * testsuite/ld-aarch64/tls-tiny-gd.d: Likewise.
741 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
743 * testsuite/ld-aarch64/emit-relocs-280.d: Match branch comments.
744 * testsuite/ld-aarch64/weak-undefined.d: Likewise.
746 2016-09-20 Andrew Burgess <andrew.burgess@embecosm.com>
748 * ld.texinfo (Input Section Basics): Expand the description of
751 2016-09-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
753 * testsuite/ld-arm/cmse-veneers.s: Add a test for ARMv8-M Security
754 Extensions entry functions in absolute section.
755 * testsuite/ld-arm/cmse-veneers.rd: Adapt expected output accordingly.
757 2016-09-14 Claudiu Zissulescu <claziss@synopsys.com>
759 * testsuite/ld-arc/tls-dtpoff.dd: New file.
760 * testsuite/ld-arc/tls-dtpoff.rd: Likewise.
761 * testsuite/ld-arc/tls-dtpoff.s: Likewise.
762 * testsuite/ld-arc/tls-relocs.ld: Likewise.
763 * testsuite/ld-arc/arc.exp: Add new tdpoff test.
765 2016-09-14 Nick Clifton <nickc@redhat.com>
768 * emultempl/elf32.em: More OPTION_xxx values into an enum. Add
769 OPTION_NO_EH_FRAME_HDR.
770 (_add_options): Add support for --no-eh-frame-hdr.
771 * ld.texinfo: Document new option.
772 * lexsup.c (elf_shlib_list_options): List new option.
773 * NEWS: Mention the new option.
775 2016-09-06 H.J. Lu <hongjiu.lu@intel.com>
778 * testsuite/ld-x86-64/pr20550a.s: New file.
779 * testsuite/ld-x86-64/pr20550b.s: Likewise.
780 * testsuite/ld-x86-64/x86-64.exp (x86_64tests): Add tests for
783 2016-09-06 Nick Clifton <nickc@redhat.com>
785 * Makefile.am (CFLAGS_FOR_TARGET): Define as a copy of CFLAGS but
786 without any sanitization options.
787 (CXXFLAGS_FOR_TARGET): Define as a copy of CXXFLAGS but without
788 any sanitization options.
789 (check-DEJAGNU): Pass CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET
790 as CFLAGS and CXXFLAGS respectively.
792 2016-09-02 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
795 * testsuite/ld-avr/avr-prop-7.d: New test.
796 * testsuite/ld-avr/avr-prop-7.s: New test.
797 * testsuite/ld-avr/avr-prop-8.d: New test.
798 * testsuite/ld-avr/avr-prop-8.s: New test.
800 2016-09-02 H.J. Lu <hongjiu.lu@intel.com>
802 * testsuite/ld-elf/pr20513c.d: Limit to *-*-linux* and *-*-gnu*
804 * testsuite/ld-elf/pr20513d.d: Likewise.
806 2016-09-01 H.J. Lu <hongjiu.lu@intel.com>
809 * testsuite/ld-elf/pr20513a.d: New file.
810 * testsuite/ld-elf/pr20513a.s: Likewise.
811 * testsuite/ld-elf/pr20513b.d: Likewise.
812 * testsuite/ld-elf/pr20513b.s: Likewise.
813 * testsuite/ld-elf/pr20513c.d: Likewise.
814 * testsuite/ld-elf/pr20513d.d: Likewise.
815 * testsuite/ld-elf/pr20513e.d: Likewise.
816 * testsuite/ld-elf/pr20513f.d: Likewise.
818 2016-08-31 Alan Modra <amodra@gmail.com>
821 * ldlang.c (section_already_linked): Deal with SHF_EXCLUDE sections.
823 2016-08-31 Alan Modra <amodra@gmail.com>
825 * testsuite/ld-powerpc/vle-multiseg-1.d: Adjust to suit segment change.
826 * testsuite/ld-powerpc/vle-multiseg-2.d: Likewise.
827 * testsuite/ld-powerpc/vle-multiseg-3.d: Likewise.
828 * testsuite/ld-powerpc/vle-multiseg-6.d: Likewise.
829 * testsuite/ld-powerpc/vle-reloc-2.d: Likewise.
831 2016-08-30 Cupertino Miranda <cmiranda@synopsys.com>
833 * testsuite/ld-arc/tls_gs-01.d: Set to XFAIL on arc*-*-elf*.
834 * testsuite/ld-arc/tls_ie-01.d: Likewise.
836 2016-08-29 H.J. Lu <hongjiu.lu@intel.com>
838 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19784 tests only
839 if ifunc attribute works.
841 2016-08-29 H.J. Lu <hongjiu.lu@intel.com>
845 * testsuite/ld-i386/i386.exp: Run pr20515.
846 * testsuite/ld-i386/pr20515.d: New file.
847 * testsuite/ld-i386/pr20515.s: Likewise.
848 * testsuite/ld-ifunc/ifunc-14a.s: Use R_386_PLT32 to call IFUNC
850 * testsuite/ld-ifunc/ifunc-14c.s: Likewise.
851 * testsuite/ld-ifunc/ifunc-2-i386.s: Likewise.
852 * testsuite/ld-ifunc/ifunc-2-local-i386.s: Likewise.
853 * testsuite/ld-ifunc/ifunc.exp: Move PR ld/19784 tests to ...
854 * testsuite/ld-x86-64/x86-64.exp: Here.
855 * testsuite/ld-ifunc/pr19784a.c: Moved to ...
856 * testsuite/ld-x86-64/pr19784a.c: Here.
857 * testsuite/ld-ifunc/pr19784b.c: Moved to ...
858 * testsuite/ld-x86-64/pr19784b.c: Here.
859 * testsuite/ld-ifunc/pr19784c.c: Moved to ...
860 * testsuite/ld-x86-64/pr19784c.c: Here.
862 2016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
864 * emultempl/armelf.em (params): New static variable.
865 (thumb_entry_symbol, byteswap_code, target1_is_rel, target2_type,
866 fix_v4bx, use_blx, vfp11_denorm_fix, stm32l4xx_fix, fix_cortex_a8,
867 no_enum_size_warning, no_wchar_size_warning, pic_veneer,
868 merge_exidx_entries, fix_arm1176, cmse_implib): move as part of the
870 (arm_elf_before_allocation): Access static variable from the params
872 (gld${EMULATION_NAME}_finish): Likewise.
873 (arm_elf_create_output_section_statements): Likewise and pass the
874 address of that structure to bfd_elf32_arm_set_target_relocs instead
875 of the static variables.
876 (PARSE_AND_LIST_ARGS_CASES): Access static variable from the params
879 2016-08-26 Cupertino Miranda <cmiranda@synopsys.com>
881 * ld/testsuite/ld-arc/tls_gd-01.s: Added a testcase for this patch.
882 * ld/testsuite/ld-arc/tls_gd-01.d: Likewise.
884 2016-08-26 Cupertino Miranda <cmiranda@synopsys.com>
886 * testsuite/ld-arc/tls_ie-01.s: Added to verify associated fix.
887 * testsuite/ld-arc/tls_ie-01.d: Likewise
889 2016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
891 * emultempl/armelf.em (in_implib_filename): Declare and initialize new
893 (arm_elf_create_output_section_statements): Open import input library
894 file for writing and pass resulting in_implib_bfd to
895 bfd_elf32_arm_set_target_relocs.
896 (PARSE_AND_LIST_PROLOGUE): Define OPTION_IN_IMPLIB option.
897 (PARSE_AND_LIST_LONGOPTS): Define --in-implib option.
898 (PARSE_AND_LIST_OPTIONS): Add help message for --in-implib option.
899 (PARSE_AND_LIST_ARGS_CASES): Handle new OPTION_IN_IMPLIB case.
900 * ld.texinfo (--cmse-implib): Update to mention --in-implib.
901 (--in-implib): Document new option.
903 * testsuite/ld-arm/arm-elf.exp
904 (Secure gateway import library generation): add --defsym VER=1 to gas
906 (Secure gateway import library generation: errors): Likewise.
907 (Input secure gateway import library): New test.
908 (Input secure gateway import library: no output import library):
910 (Input secure gateway import library: not an SG input import library):
912 (Input secure gateway import library: earlier stub section base):
914 (Input secure gateway import library: later stub section base):
916 (Input secure gateway import library: veneer comeback): Likewise.
917 (Input secure gateway import library: entry function change):
919 * testsuite/ld-arm/cmse-implib.s: Add input import library testing.
920 * testsuite/ld-arm/cmse-implib.rd: Update accordingly.
921 * testsuite/ld-arm/cmse-new-implib.out: New file.
922 * testsuite/ld-arm/cmse-new-implib.rd: Likewise.
923 * testsuite/ld-arm/cmse-new-implib-no-output.out: Likewise.
924 * testsuite/ld-arm/cmse-new-implib-not-sg-in-implib.out: Likewise.
925 * testsuite/ld-arm/cmse-new-earlier-later-implib.out: Likewise.
926 * testsuite/ld-arm/cmse-new-comeback-implib.rd: Likewise.
927 * testsuite/ld-arm/cmse-new-wrong-implib.out: Likewise.
929 2016-08-25 Alan Modra <amodra@gmail.com>
931 * configure.tgt (powerpc*-*-linux* et al): Rewrite, adding LE
932 support for BE. First output all target endian configury
933 values, then opposite endian. Handle more tooldirs. Fix
934 bogus matches with strings in MANUF-OS part of target triple.
936 2016-08-23 Alan Modra <amodra@gmail.com>
938 * testsuite/lib/ld-lib.exp (run_cc_link_tests): Don't fail tests
941 2016-08-19 Nick Clifton <nickc@redhat.com>
943 * emultempl/aarch64elf.em (before_parse): Initialise the relro
944 field in the link_info structure.
945 * emultempl/armelf.em (before_parse): Likewise.
946 * emultempl/linux.em (before_parse): Likewise.
947 * emultempl/scoreelf.em (before_parse): Likewise.
949 * testsuite/ld-alpha/tlsbin.rd: Adjust expected ordering of sections.
950 * testsuite/ld-alpha/tlsbinr.rd: Likewise.
951 * testsuite/ld-alpha/tlspic.rd: Likewise.
952 * testsuite/ld-cris/libdso-2.d: Likewise.
953 * testsuite/ld-i386/nogot1.d: Likewise.
954 * testsuite/ld-i386/pr12718.d: Likewise.
955 * testsuite/ld-i386/pr12921.d: Likewise.
956 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
957 * testsuite/ld-i386/tlsbin.rd: Likewise.
958 * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
959 * testsuite/ld-i386/tlsbin2.rd: Likewise.
960 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
961 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
962 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
963 * testsuite/ld-i386/tlsdesc.rd: Likewise.
964 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
965 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
966 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
967 * testsuite/ld-i386/tlsnopic.rd: Likewise.
968 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
969 * testsuite/ld-i386/tlspic.rd: Likewise.
970 * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
971 * testsuite/ld-i386/tlspic2.rd: Likewise.
972 * testsuite/ld-ia64/tlsbin.rd: Likewise.
973 * testsuite/ld-ia64/tlspic.rd: Likewise.
974 * testsuite/ld-mips-elf/attr-gnu-4-10.d: Likewise.
975 * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise.
976 * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise.
977 * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
978 * testsuite/ld-mmix/bspec1.d: Likewise.
979 * testsuite/ld-mmix/bspec2.d: Likewise.
980 * testsuite/ld-mmix/local1.d: Likewise.
981 * testsuite/ld-mmix/local3.d: Likewise.
982 * testsuite/ld-mmix/local5.d: Likewise.
983 * testsuite/ld-mmix/local7.d: Likewise.
984 * testsuite/ld-mmix/undef-3.d: Likewise.
985 * testsuite/ld-powerpc/tlsexe.r: Likewise.
986 * testsuite/ld-powerpc/tlsexe32.r: Likewise.
987 * testsuite/ld-powerpc/tlsexetoc.r: Likewise.
988 * testsuite/ld-powerpc/tlsso.r: Likewise.
989 * testsuite/ld-powerpc/tlsso32.r: Likewise.
990 * testsuite/ld-powerpc/tlstocso.r: Likewise.
991 * testsuite/ld-s390/tlsbin.rd: Likewise.
992 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
993 * testsuite/ld-s390/tlspic.rd: Likewise.
994 * testsuite/ld-s390/tlspic_64.rd: Likewise.
995 * testsuite/ld-sh/sh64/crange1.rd: Likewise.
996 * testsuite/ld-sh/sh64/crange2.rd: Likewise.
997 * testsuite/ld-sh/sh64/crange3-cmpct.rd: Likewise.
998 * testsuite/ld-sh/sh64/crange3-media.rd: Likewise.
999 * testsuite/ld-sh/sh64/crange3.rd: Likewise.
1000 * testsuite/ld-sh/sh64/crangerel1.rd: Likewise.
1001 * testsuite/ld-sh/sh64/crangerel2.rd: Likewise.
1002 * testsuite/ld-sh/tlsbin-2.d: Likewise.
1003 * testsuite/ld-sh/tlspic-2.d: Likewise.
1004 * testsuite/ld-sparc/gotop32.rd: Likewise.
1005 * testsuite/ld-sparc/gotop64.rd: Likewise.
1006 * testsuite/ld-sparc/tlssunbin32.rd: Likewise.
1007 * testsuite/ld-sparc/tlssunbin64.rd: Likewise.
1008 * testsuite/ld-sparc/tlssunnopic32.rd: Likewise.
1009 * testsuite/ld-sparc/tlssunnopic64.rd: Likewise.
1010 * testsuite/ld-sparc/tlssunpic32.rd: Likewise.
1011 * testsuite/ld-sparc/tlssunpic64.rd: Likewise.
1012 * testsuite/ld-tic6x/common.d: Likewise.
1013 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
1014 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
1015 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
1016 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
1017 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
1018 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
1019 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
1020 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
1021 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
1022 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
1023 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
1024 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
1025 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
1026 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
1027 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
1028 * testsuite/ld-x86-64/nogot1.d: Likewise.
1029 * testsuite/ld-x86-64/pr12718.d: Likewise.
1030 * testsuite/ld-x86-64/pr12921.d: Likewise.
1031 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
1032 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
1033 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
1034 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
1035 * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
1036 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
1037 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
1038 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
1039 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
1040 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1041 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
1042 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
1043 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
1044 * testsuite/ld-x86-64/tlspic.rd: Likewise.
1045 * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
1046 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
1047 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
1048 * testsuite/ld-xtensa/tlspic.rd: Likewise.
1050 2016-08-18 Alan Modra <amodra@gmail.com>
1052 * testsuite/ld-undefined/weak-undef.exp: Use unsupported not
1055 2016-08-12 Alan Modra <amodra@gmail.com>
1057 * testsuite/ld-tic6x/shlib-1.rd: Correct expected .dynsym sh_info.
1058 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
1059 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
1060 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
1061 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
1062 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
1063 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
1064 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
1065 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
1066 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
1067 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
1068 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
1069 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
1071 2016-08-12 Alan Modra <amodra@gmail.com>
1073 * testsuite/ld-undefined/weak-fundef.s: New.
1074 * testsuite/ld-undefined/weak-undef.t: Don't specify filename.
1075 * testsuite/ld-undefined/weak-undef.exp: Run new tests. Rearrange
1076 much of old code. Use is_elf_format to select targets.
1078 2016-08-11 Alan Modra <amodra@gmail.com>
1081 * testsuite/lib/ld-lib.exp (at_least_gcc_version): Don't ignore
1083 (check_gcc_plugin_enabled): Likewise. Revert previous patch.
1085 2016-08-11 Nick Clifton <nickc@redhat.com>
1088 * testsuite/lib/ld-lib.exp (check_gcc_plugin_enabled): When not
1089 testing remotely, check to see if target compiler is installed
1090 before trying to run it.
1092 2016-08-10 Maciej W. Rozycki <macro@imgtec.com>
1095 * testsuite/ld-mips-elf/mips-elf.exp: Un-KFAIL `__ehdr_start'
1098 2016-08-10 Maciej W. Rozycki <macro@imgtec.com>
1100 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips-rel.dd: New
1102 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips-rel.nd: New
1104 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips.dd: New test.
1105 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips.nd: New test.
1106 * testsuite/ld-mips-elf/pic-and-nonpic-1a-micromips.s: New test
1108 * testsuite/ld-mips-elf/pic-and-nonpic-1b-micromips.s: New test
1110 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1112 2016-08-09 H.J. Lu <hongjiu.lu@intel.com>
1115 * testsuite/lib/ld-lib.exp (check_gcc_plugin_enabled): New
1117 (check_lto_available): Return 0 if check_gcc_plugin_enabled
1119 (check_lto_fat_available): Likewise.
1120 (check_lto_shared_available): Likewise.
1122 2016-08-09 Roland McGrath <roland@hack.frob.com>
1124 * emulparams/armelf.sh (GENERATE_PIE_SCRIPT): Set to yes.
1126 2016-08-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
1128 * emultempl/armelf.em (cmse_implib): Declare and define this new
1130 (arm_elf_create_output_section_statements): Add new cmse_implib
1132 (OPTION_CMSE_IMPLIB): Define macro.
1133 (PARSE_AND_LIST_LONGOPTS): Add entry for new --cmse-implib switch.
1134 (PARSE_AND_LIST_OPTIONS): Likewise.
1135 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_CMSE_IMPLIB case.
1136 * ld.texinfo (--cmse-implib): Document new option.
1137 * testsuite/ld-arm/arm-elf.exp
1138 (Secure gateway import library generation): New test.
1139 (Secure gateway import library generation: errors): Likewise.
1140 * testsuite/ld-arm/cmse-implib.s: New file.
1141 * testsuite/ld-arm/cmse-implib-errors.out: Likewise.
1142 * testsuite/ld-arm/cmse-implib.rd: Likewise.
1144 2016-08-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
1146 * ld.texinfo (Placement of SG veneers): New concept entry.
1147 * testsuite/ld-arm/arm-elf.exp
1148 (Secure gateway veneers: no .gnu.sgstubs section): New test.
1149 (Secure gateway veneers: wrong entry functions): Likewise.
1150 (Secure gateway veneers (ARMv8-M Baseline)): Likewise.
1151 (Secure gateway veneers (ARMv8-M Mainline)): Likewise.
1152 * testsuite/ld-arm/cmse-veneers.s: New file.
1153 * testsuite/ld-arm/cmse-veneers.d: Likewise.
1154 * testsuite/ld-arm/cmse-veneers.rd: Likewise.
1155 * testsuite/ld-arm/cmse-veneers.sd: Likewise.
1156 * testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out: Likewise.
1157 * testsuite/ld-arm/cmse-veneers-wrong-entryfct.out: Likewise.
1159 2016-08-02 Nick Clifton <nickc@redhat.com>
1162 * emulparams/shelf.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): Define with
1164 * emulparams/shelf32.sh: Likewise.
1165 * emulparams/shelf32.sh: Likewise.
1166 * emulparams/shelf_nto.sh: Likewise.
1167 * emulparams/shelf_nto.sh: Likewise.
1168 * emulparams/shelf_vxworks.sh: Likewise.
1169 * emulparams/shelf_vxworks.sh: Likewise.
1170 * emulparams/shlelf32_linux.sh: Likewise.
1171 * emulparams/shlelf32_linux.sh: Likewise.
1172 * emulparams/shlelf_linux.sh: Likewise.
1173 * emulparams/shlelf_linux.sh: Likewise.
1174 * emulparams/shlelf_nto.sh: Likewise.
1175 * emulparams/shlelf_nto.sh: Likewise.
1177 2016-07-27 Maciej W. Rozycki <macro@imgtec.com>
1179 * testsuite/ld-mips-elf/micromips-branch-absolute.d: Update
1180 patterns for branch compaction.
1181 * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d:
1184 2016-07-27 Nick Clifton <nickc@redhat.com>
1186 * testsuite/ld-gc/personality.d: Use "target cfi" to restrict the
1187 test to targets which support cfi.
1189 2016-07-27 Igor Kudrin <ikudrin@accesssoftek.com>
1191 * ldbuildid.c (generate_build_id): Warning fix.
1193 2016-07-26 Maciej W. Rozycki <macro@imgtec.com>
1195 * testsuite/ld-mips-elf/compressed-plt-1.s: Add branch support.
1196 * testsuite/ld-mips-elf/compressed-plt-1a.s: Likewise.
1197 * testsuite/ld-mips-elf/compressed-plt-1b.s: Likewise.
1198 * testsuite/ld-mips-elf/compressed-plt-1-o32-branch.od: New
1200 * testsuite/ld-mips-elf/compressed-plt-1-o32-branch.rd: New
1202 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-bronly.od:
1204 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-bronly.rd:
1206 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-branch.od:
1208 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-branch.rd:
1210 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-bronly.od:
1212 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-bronly.rd:
1214 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-branch.od:
1216 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-branch.rd:
1218 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1220 2016-07-26 Igor Kudrin <ikudrin@accesssoftek.com>
1222 * ldbuildid.c: Changes for MinGW32:
1223 Include windows.h and rpcdce.h.
1224 (validate_build_id_style): Allow "uuid" style.
1225 (generate_build_id): Fill in id_bits using UuidCreate().
1227 2016-07-25 Alan Modra <amodra@gmail.com>
1229 * testsuite/ld-elf/sec64k.exp: Run test for arc, msp430, or1k
1230 and m32r. Correct comment. Relax ld -r match to account for
1231 msp increased number of default sections.
1233 2016-07-22 Cupertino Miranda <cmiranda@synopsys.com>
1235 * testsuite/ld-arc/got-01.d: New file.
1236 * testsuite/ld-arc/got-01.s: New file.
1238 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
1240 * configure: Regenerated.
1242 2016-07-21 Alan Modra <amodra@gmail.com>
1244 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Replace
1245 "targets_to_xfail" parameter with "args".
1246 * testsuite/ld-elf/compress.exp: Remove empty list of xfails on
1247 all calls to run_ld_link_exec_tests.
1248 * testsuite/ld-elf/dwarf.exp: Likewise.
1249 * testsuite/ld-elf/indirect.exp: Likewise.
1250 * testsuite/ld-elf/wrap.exp: Likewise.
1251 * testsuite/ld-i386/i386.exp: Likewise.
1252 * testsuite/ld-i386/no-plt.exp: Likewise.
1253 * testsuite/ld-i386/tls.exp: Likewise.
1254 * testsuite/ld-ifunc/ifunc.exp: Likewise.
1255 * testsuite/ld-pie/pie.exp: Likewise.
1256 * testsuite/ld-plugin/lto.exp: Likewise.
1257 * testsuite/ld-size/size.exp: Likewise.
1258 * testsuite/ld-x86-64/mpx.exp: Likewise.
1259 * testsuite/ld-x86-64/no-plt.exp: Likewise.
1260 * testsuite/ld-x86-64/tls.exp: Likewise.
1261 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1262 * testsuite/ld-elf/elf.exp: Likewise. Reorder args when providing
1263 xfails and simplify lists.
1264 * testsuite/ld-elf/shared.exp: Likewise.
1266 2016-07-21 Alan Modra <amodra@gmail.com>
1268 * testsuite/lib/ld-lib.exp (run_ld_link_tests): Add optional
1269 parameter to pass list of xfails.
1270 * testsuite/ld-elf/elf.exp: Add xfails for implib tests. Tidy
1271 implib test formatting. Don't set .data start address.
1272 * testsuite/ld-elf/implib.s: Remove first .bss directive and
1273 replace second one with equivalent .section directive.
1274 * testsuite/ld-elf/empty-implib.out: Add expected final error.
1275 * testsuite/ld-elf/implib.rd: Update.
1277 2016-07-20 Alan Modra <amodra@gmail.com>
1279 * ldexp.c (exp_unop, exp_binop, exp_trinop, exp_nameop): Don't
1281 * testsuite/ld-elf/maxpage3b.d: Expect correct maxpagesize.
1283 2016-07-19 Roland McGrath <roland@hack.frob.com>
1285 * emulparams/aarch64elf.sh (GENERATE_PIE_SCRIPT): Set to yes.
1286 * emulparams/aarch64elf32.sh: Likewise.
1288 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
1290 * testsuite/ld-mips-elf/unaligned-branch-2.d: Update error
1292 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: Likewise.
1293 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: Likewise.
1294 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: Likewise.
1295 * testsuite/ld-mips-elf/bal-jalx-addend.d: New test.
1296 * testsuite/ld-mips-elf/bal-jalx-local.d: New test.
1297 * testsuite/ld-mips-elf/bal-jalx-pic.d: New test.
1298 * testsuite/ld-mips-elf/bal-jalx-addend-n32.d: New test.
1299 * testsuite/ld-mips-elf/bal-jalx-local-n32.d: New test.
1300 * testsuite/ld-mips-elf/bal-jalx-pic-n32.d: New test.
1301 * testsuite/ld-mips-elf/bal-jalx-addend-n64.d: New test.
1302 * testsuite/ld-mips-elf/bal-jalx-local-n64.d: New test.
1303 * testsuite/ld-mips-elf/bal-jalx-pic-n64.d: New test.
1304 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
1305 * testsuite/ld-mips-elf/unaligned-jalx-3.d: New test.
1306 * testsuite/ld-mips-elf/unaligned-jalx-addend-2.d: New test.
1307 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d: New test.
1308 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
1309 * testsuite/ld-mips-elf/unaligned-jalx-3.s: New test source.
1310 * testsuite/ld-mips-elf/unaligned-jalx-addend-2.s: New test
1312 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.s: New test
1314 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1316 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
1318 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error message
1320 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: Likewise.
1321 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d:
1323 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d:
1325 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
1326 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
1327 * testsuite/ld-mips-elf/undefweak-overflow.s: Add jumps,
1328 microMIPS BAL and MIPS16 instructions.
1329 * testsuite/ld-mips-elf/undefweak-overflow.d: Update
1331 * testsuite/ld-mips-elf/unaligned-branch-2.d: New test.
1332 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: New test.
1333 * testsuite/ld-mips-elf/unaligned-branch-r6-2.d: New test.
1334 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: New test.
1335 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: New test.
1336 * testsuite/ld-mips-elf/unaligned-jump-mips16.d: New test.
1337 * testsuite/ld-mips-elf/unaligned-jump-micromips.d: New test.
1338 * testsuite/ld-mips-elf/unaligned-jump.d: New test.
1339 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1341 2016-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
1343 * plugin.c (plugin_call_claim_file): Restore the file offset after
1344 an unsuccessful attempt to claim a file.
1345 * testplug.c (bytes_to_read_before_claim): New global.
1346 (record_read_length): New function, sets new global
1347 bytes_to_read_before_claim.
1348 (parse_option): Handle 'read:<NUMBER>' option.
1349 (onclaim_file): Read file content before checking for claim.
1350 * testsuite/ld-plugin/plugin-30.d: New file.
1351 * testsuite/ld-plugin/plugin.exp: Add new test.
1353 2016-07-16 Alan Modra <amodra@gmail.com>
1355 * plugin.c: Don't include libbfd.h. Include plugin-api.h
1356 before bfd/plugin.h.
1357 (plugin_object_p): Use bfd_plugin_open_input.
1359 2016-07-16 Alan Modra <amodra@gmail.com>
1361 * ldlang.c (open_output): Replace bfd_search_for_target with
1362 bfd_iterate_over_targets. Localize vars.
1364 2016-07-16 Alan Modra <amodra@gmail.com>
1366 * ldlang.c: Don't include libbfd.h.
1367 * emultempl/nds32elf.em: Likewise.
1368 * emultempl/ppc64elf.em: Likewise.
1369 * emultempl/ppc32elf.em: Likewise.
1371 (params): Update init.
1372 (ppc_after_open_output): Use params.pagesize. Don't call bfd_log2.
1373 (PARSE_AND_LIST_ARGS_CASES): Use params.pagesize.
1374 * emultempl/sh64elf.em: Don't include libbfd.h.
1375 (after_allocation): Use ASSERT, not BFD_ASSERT.
1376 * emultempl/xtensaelf.em: Don't include libbfd.h.
1377 (replace_insn_sec_with_prop_sec): Use xmalloc, not bfd_malloc.
1378 * Makefile.am: Update dependencies.
1379 * Makefile.in: Regenerate.
1381 2016-07-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
1382 Nick Clifton <nickc@redhat.com>
1384 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Open import
1385 library file for writing and initialize implib_bfd field of link_info
1387 * emultempl/pe.em (pe_implib_filename): Remove variable declaration.
1388 (OPTION_IMPLIB_FILENAME): Remove macro definition.
1389 (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
1390 (gld_${EMULATION_NAME}_list_options): Likewise.
1391 (gld${EMULATION_NAME}_handle_option): Likewise.
1392 (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
1393 instead of pe_implib_filename.
1394 * emultempl/pep.em (pep_implib_filename): Remove variable declaration.
1395 (OPTION_IMPLIB_FILENAME): Remove enumerator.
1396 (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
1397 (gld_${EMULATION_NAME}_list_options): Likewise.
1398 (gld${EMULATION_NAME}_handle_option): Likewise.
1399 (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
1400 instead of pep_implib_filename.
1401 * ld.h (args_type): Declare new out_implib_filename field.
1402 * ld.texinfo (--out-implib): Move documentation to arch-independent
1403 part and rephrase to apply to ELF targets.
1404 * ldexp.c (exp_fold_tree_1): Set ldscript_def field to 1 for symbols
1405 defined in linker scripts.
1406 * ldlex.h (enum option_values): Declare new OPTION_OUT_IMPLIB
1408 * lexsup.c (ld_options): Add entry for new --out-implib switch.
1409 (parse_args): Handle OPTION_OUT_IMPLIB case.
1410 * testsuite/ld-elf/elf.exp (Generate empty import library): New test.
1411 (Generate import library): Likewise.
1412 * testsuite/ld-elf/implib.s: Likewise.
1413 * testsuite/ld-elf/implib.rd: New file.
1414 * testsuite/ld-elf/empty-implib.out: Likewise
1416 2016-07-15 Nick Clifton <nickc@redhat.com>
1418 * testsuite/ld-arc/arc.exp: Always run the sda-relocs test in
1421 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1423 * testsuite/ld-mips-elf/mips-elf.exp: Run
1424 `branch-absolute-addend', `mips16-branch-absolute',
1425 `mips16-branch-absolute-addend' and
1426 `micromips-branch-absolute-addend'.
1428 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1430 * testsuite/ld-mips-elf/mips16-branch-absolute.d: New test.
1431 * testsuite/ld-mips-elf/mips16-branch-absolute-n32.d: New test.
1432 * testsuite/ld-mips-elf/mips16-branch-absolute-n64.d: New test.
1433 * testsuite/ld-mips-elf/mips16-branch-absolute-addend.d: New
1435 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n32.d: New
1437 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n64.d: New
1439 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
1440 from `mips16-branch-absolute' and
1441 `mips16-branch-absolute-addend', referred indirectly only.
1443 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1445 * testsuite/ld-mips-elf/branch-absolute.d: New test.
1446 * testsuite/ld-mips-elf/branch-absolute-n32.d: New test.
1447 * testsuite/ld-mips-elf/branch-absolute-n64.d: New test.
1448 * testsuite/ld-mips-elf/branch-absolute-addend.d: New test.
1449 * testsuite/ld-mips-elf/branch-absolute-addend-n32.d: New test.
1450 * testsuite/ld-mips-elf/branch-absolute-addend-n64.d: New test.
1451 * testsuite/ld-mips-elf/micromips-branch-absolute.d: New test.
1452 * testsuite/ld-mips-elf/micromips-branch-absolute-n32.d: New
1454 * testsuite/ld-mips-elf/micromips-branch-absolute-n64.d: New
1456 * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d: New
1458 * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n32.d:
1460 * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n64.d:
1462 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
1463 from `branch-absolute-addend' and
1464 `micromips-branch-absolute-addend', referred indirectly only.
1466 2016-07-14 Claudiu Zissulescu <claziss@synopsys.com>
1468 * emulparams/arcelf.sh (SDATA_START_SYMBOLS): Add offset.
1469 * testsuite/ld-arc/sda-relocs.dd: New file.
1470 * testsuite/ld-arc/sda-relocs.ld: Likewise.
1471 * testsuite/ld-arc/sda-relocs.rd: Likewise.
1472 * testsuite/ld-arc/sda-relocs.s: Likewise.
1473 * testsuite/ld-arc/arc.exp: Add SDA tests.
1475 2016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
1477 * testsuite/ld-arc/nps-1b.err: Update test to handle more
1480 2016-07-09 Alan Modra <amodra@gmail.com>
1482 * testsuite/ld-powerpc/elfv2exe.d: Update.
1484 2016-07-06 James Bowman <james.bowman@ftdichip.com>
1486 * scripttempl/ft32.sc (__PMSIZE): Correct __PMSIZE_.
1490 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
1492 * testsuite/ld-plugin/lto.exp: Add -flto to PR ld/20321 test.
1494 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
1496 * testsuite/ld-arm/farcall-thumb2-purecode.d: New test result.
1497 * testsuite/ld-arm/farcall-thumb2-purecode.s: New test.
1498 * testsuite/ld-arm/arm-elf.exp: Run it.
1500 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
1502 * testsuite/ld-arm/arm_noread.ld: Renamed to ...
1503 testsuite/ld-arm/arm_purecode.ld: ... this, and replaced
1504 all noread's by purecode.
1506 2016-07-05 Jan Beulich <jbeulich@suse.com>
1508 * ldexp.c (exp_fold_tree_1): Set linker_def field based on
1509 assignment line number.
1510 * ldlex.l (lineno): Drop initializer.
1511 (<<EOF>>): Set lineno to zero after reaching top of stack.
1513 2016-07-04 H.J. Lu <hongjiu.lu@intel.com>
1516 * plugin.c (plugin_opt_plugin): Warn and return if plugin has
1517 been loaded already.
1518 * testsuite/ld-plugin/lto.exp: Run PR ld/20321 test.
1519 * testsuite/ld-plugin/pr20321.c: New file.
1521 2016-07-04 Nick Clifton <nickc@redhat.com>
1523 * scripttempl/ft32.sc (__PMSIZE_): If not defined, set to 256K.
1524 (__RAMSIZE): If not defined, set to 64K.
1525 (MEMORY): Set the flash region size to __PMSIZE and the ram region
1528 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1530 * testsuite/ld-mips-elf/branch-misc-2.d: New test.
1531 * testsuite/ld-mips-elf/mips-elf.exp: Run it.
1533 2016-07-01 Thomas Preud'homme <thomas.preudhomme@arm.com>
1535 * testsuite/ld-arm/arm-elf.exp (Thumb-2 BL): Assemble for ARMv7.
1536 (Thumb-2 BL on ARMv6-M): New testcase.
1537 * testsuite/ld-arm/thumb2-bl.d: Do not try to match testcase filename.
1538 * testsuite/ld-arm/thumb2-bl.s: Do not select architecture.
1540 2016-07-01 Tristan Gingold <gingold@adacore.com>
1542 * NEWS: Add marker for 2.27.
1544 2016-06-28 H.J. Lu <hongjiu.lu@intel.com>
1546 * testsuite/ld-gc/gc.exp: Run pr20306 test.
1547 * ld-gc/pr20306.c: New file.
1548 * ld-gc/pr20306.d: Likewise.
1550 2016-06-28 Nick Clifton <nickc@redhat.com>
1552 * testsuite/ld-elf/comm-data.exp: Expect comm-data2 test to fail
1554 * testsuite/ld-elf/elf.exp: Expect pr14170 and symbolic function
1555 tests to fail for bfin.
1556 * testsuite/ld-elf/endsym.d: Expect to fail with cr16, crx, dlx,
1558 * testsuite/ld-elf/var1.d: Expect to fail with d30v, dlx, ft32 and
1560 * testsuite/ld-pe/pe.exp: Expect foreign symbol test to fail for
1563 2016-06-28 Nick Clifton <nickc@redhat.com>
1565 * testsuite/ld-elf/merge.d: Add m68hc11 to list of targets that
1566 expect to fail this test.
1567 * testsuite/ld-scripts/overlay-size.d: Skip the entire test for
1569 * testsuite/ld-scripts/rgn-at10.d: No longer expect this test to
1571 * testsuite/ld-scripts/rgn-at11.d: Likewise.
1572 * testsuite/ld-scripts/rgn-at2.d: Likewise.
1573 * testsuite/ld-scripts/rgn-at6.d: Likewise.
1574 * testsuite/ld-scripts/rgn-at7.d: Likewise.
1575 * testsuite/ld-scripts/rgn-at8.d: Likewise.
1577 2016-06-28 James Clarke <jrtc27@jrtc27.com>
1579 * testsuite/ld-elf/symbolic-func.r: Allow non-zero offsets from
1582 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1584 * testsuite/ld-mips-elf/attr-gnu-4-10.d: Match any UNIX OS/ABI.
1585 * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise.
1586 * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise.
1587 * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
1589 2016-06-28 Alan Modra <amodra@gmail.com>
1592 * testsuite/ld-scripts/pr20302.d: Exclude *-*-*aout.
1594 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1596 * testsuite/ld-mips-elf/mips16-branch-2.d: New test.
1597 * testsuite/ld-mips-elf/mips16-branch-3.d: New test.
1598 * testsuite/ld-mips-elf/mips16-branch-addend-2.d: New test.
1599 * testsuite/ld-mips-elf/mips16-branch-addend-3.d: New test.
1600 * testsuite/ld-mips-elf/mips16-branch.s: New test source.
1601 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1603 2016-06-27 Nick Clifton <nickc@redhat.com>
1606 * lexsup.c (set_segment_start): If resetting the start address of
1607 a section, remember to generate a new script element as well.
1608 * testsuite/ld-scripts/pr20302.d: New test.
1609 * testsuite/ld-scripts/scripts.exp: Run the new test.
1611 2016-06-24 Alan Modra <amodra@gmail.com>
1613 * testsuite/ld-aarch64/aarch64-elf.exp (aarch64_choose_ilp32_emul):
1614 Don't error out, always return an emulation.
1616 2016-06-24 Dilyan Palauzov <dilyan.palauzov@aegee.org>
1617 H.J. Lu <hongjiu.lu@intel.com>
1619 * lexsup.c (elf_shlib_list_options): Check DEFAULT_LD_Z_RELRO
1620 for -z relro help message.
1622 2016-06-22 Maciej W. Rozycki <macro@imgtec.com>
1624 * testsuite/ld-mips-elf/undefweak-overflow.d: Use wildcard
1627 2016-06-22 Maciej W. Rozycki <macro@imgtec.com>
1629 * testsuite/ld-mips-elf/mips-elf.exp: Uniquely identify
1630 `undefweak-overflow' tests.
1632 2016-06-22 H.J. Lu <hongjiu.lu@intel.com>
1635 * NEWS: Mention --enable-relro.
1636 * configure.ac: Add --enable-relro.
1637 (DEFAULT_LD_Z_RELRO): New. Set by --enable-relro.
1638 * configure.tgt (ac_default_ld_z_relro): Default it to 1 for
1640 * config.in: Regenerated.
1641 * configure: Likewise.
1642 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
1643 link_info.relro to DEFAULT_LD_Z_RELRO.
1644 * testsuite/config/default.exp (ld_elf_shared_opt): New.
1645 * testsuite/lib/ld-lib.exp (run_dump_test): Pass
1646 $ld_elf_shared_opt to ld for ELF targets with shared object
1648 (run_ld_link_tests): Likewise.
1650 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1652 * testsuite/ld-mips-elf/mode-change-error-1a.s: Trigger an error
1653 twice rather than once.
1654 * testsuite/ld-mips-elf/mode-change-error-1.d: Adjust
1655 accordingly. Remove the full stop from the end of the message.
1657 2016-06-21 Graham Markall <graham.markall@embecosm.com>
1659 * testsuite/ld-arc/nps-1a.d: Use -mcpu=arc700 -mnps400.
1660 * testsuite/ld-arc/nps-1b.d: Likewise.
1662 2016-06-20 H.J. Lu <hongjiu.lu@intel.com>
1665 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
1667 (lto_run_tests): Likewise.
1668 * testsuite/ld-plugin/pr20267a.c: New file.
1669 * testsuite/ld-plugin/pr20267b.c: Likewise.
1671 2016-06-20 H.J. Lu <hongjiu.lu@intel.com>
1672 Alan Modra <amodra@gmail.com>
1675 * plugin.c (plugin_notice): Set non_ir_ref on common symbols.
1676 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
1678 (lto_run_tests): Likewise.
1679 * testsuite/ld-plugin/pass.out: New file.
1680 * testsuite/ld-plugin/pr20276a.c: Likewise.
1681 * testsuite/ld-plugin/pr20276b.c: Likewise.
1683 2016-06-18 H.J. Lu <hongjiu.lu@intel.com>
1685 * plugin.c (plugin_object_p): Replace bfd_plugin_uknown
1686 with bfd_plugin_unknown.
1688 2016-06-18 H.J. Lu <hongjiu.lu@intel.com>
1691 * testsuite/ld-i386/i386.exp: Run PR ld/20253 tests.
1692 * testsuite/ld-i386/no-plt.exp: Likewise.
1693 * testsuite/ld-x86-64/no-plt.exp: Likewise.
1694 * testsuite/ld-i386/pr13302.d: Remove .rel.plt section.
1695 * testsuite/ld-ifunc/ifunc-13-i386.d: Likewise.
1696 * testsuite/ld-ifunc/ifunc-13-x86-64.d: Likewise.
1697 * testsuite/ld-ifunc/ifunc-15-i386.d: Likewise.
1698 * testsuite/ld-ifunc/ifunc-15-x86-64.d: Likewise.
1699 * testsuite/ld-x86-64/pr13082-5a.d: Likewise.
1700 * testsuite/ld-x86-64/pr13082-5b.d: Likewise.
1701 * testsuite/ld-x86-64/pr13082-6a.d: Likewise.
1702 * testsuite/ld-x86-64/pr13082-6b.d: Likewise.
1703 * testsuite/ld-i386/pr20244-2a.d: Remove .plt section.
1704 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
1705 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1706 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
1707 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1708 * testsuite/ld-i386/pr20244-2b.d: Updated.
1709 * testsuite/ld-i386/pr20244-2c.d: Likewise.
1710 * testsuite/ld-ifunc/ifunc-18a-i386.d: Likewise.
1711 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
1712 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
1713 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
1714 * testsuite/ld-i386/pr20253-1a.c: New file.
1715 * testsuite/ld-i386/pr20253-1b.S: Likewise.
1716 * testsuite/ld-i386/pr20253-1c.S: Likewise.
1717 * testsuite/ld-i386/pr20253-1d.S: Likewise.
1718 * testsuite/ld-i386/pr20253-2a.c: Likewise.
1719 * testsuite/ld-i386/pr20253-2b.S: Likewise.
1720 * testsuite/ld-i386/pr20253-2c.S: Likewise.
1721 * testsuite/ld-i386/pr20253-2d.S: Likewise.
1722 * testsuite/ld-i386/pr20253-3.d: Likewise.
1723 * testsuite/ld-i386/pr20253-3.s: Likewise.
1724 * testsuite/ld-i386/pr20253-4.s: Likewise.
1725 * testsuite/ld-i386/pr20253-4a.d: Likewise.
1726 * testsuite/ld-i386/pr20253-4b.d: Likewise.
1727 * testsuite/ld-i386/pr20253-4c.d: Likewise.
1728 * testsuite/ld-i386/pr20253-5.d: Likewise.
1729 * testsuite/ld-i386/pr20253-5.s: Likewise.
1730 * testsuite/ld-ifunc/ifunc-23-x86.s: Likewise.
1731 * testsuite/ld-ifunc/ifunc-23a-x86.d: Likewise.
1732 * testsuite/ld-ifunc/ifunc-23b-x86.d: Likewise.
1733 * testsuite/ld-ifunc/ifunc-23c-x86.d: Likewise.
1734 * testsuite/ld-ifunc/ifunc-24-x86.s: Likewise.
1735 * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise.
1736 * testsuite/ld-ifunc/ifunc-24b-x86.d: Likewise.
1737 * testsuite/ld-ifunc/ifunc-24c-x86.d: Likewise.
1738 * testsuite/ld-ifunc/ifunc-25-x86.s: Likewise.
1739 * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
1740 * testsuite/ld-ifunc/ifunc-25b-x86.d: Likewise.
1741 * testsuite/ld-ifunc/ifunc-25c-x86.d: Likewise.
1742 * testsuite/ld-x86-64/pr20253-1.s: Likewise.
1743 * testsuite/ld-x86-64/pr20253-1a.d: Likewise.
1744 * testsuite/ld-x86-64/pr20253-1b.d: Likewise.
1745 * testsuite/ld-x86-64/pr20253-1c.d: Likewise.
1746 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
1747 * testsuite/ld-x86-64/pr20253-1e.d: Likewise.
1748 * testsuite/ld-x86-64/pr20253-1f.d: Likewise.
1749 * testsuite/ld-x86-64/pr20253-1g.d: Likewise.
1750 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
1751 * testsuite/ld-x86-64/pr20253-1i.d: Likewise.
1752 * testsuite/ld-x86-64/pr20253-1j.d: Likewise.
1753 * testsuite/ld-x86-64/pr20253-1k.d: Likewise.
1754 * testsuite/ld-x86-64/pr20253-1l.d: Likewise.
1755 * testsuite/ld-x86-64/pr20253-2a.c: Likewise.
1756 * testsuite/ld-x86-64/pr20253-2b.S: Likewise.
1757 * testsuite/ld-x86-64/pr20253-2c.S: Likewise.
1758 * testsuite/ld-x86-64/pr20253-2d.S: Likewise.
1759 * testsuite/ld-x86-64/pr20253-3.d: Likewise.
1760 * testsuite/ld-x86-64/pr20253-3.s: Likewise.
1761 * testsuite/ld-x86-64/pr20253-4.s: Likewise.
1762 * testsuite/ld-x86-64/pr20253-4a.d: Likewise.
1763 * testsuite/ld-x86-64/pr20253-4b.d: Likewise.
1764 * testsuite/ld-x86-64/pr20253-4c.d: Likewise.
1765 * testsuite/ld-x86-64/pr20253-4d.d: Likewise.
1766 * testsuite/ld-x86-64/pr20253-4e.d: Likewise.
1767 * testsuite/ld-x86-64/pr20253-4f.d: Likewise.
1768 * testsuite/ld-x86-64/pr20253-5.s: Likewise.
1769 * testsuite/ld-x86-64/pr20253-5a.d: Likewise.
1770 * testsuite/ld-x86-64/pr20253-5b.d: Likewise.
1771 * testsuite/ld-ifunc/ifunc-18a-i386.d: Remove extra IRELATIVE
1773 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
1774 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
1775 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
1776 * testsuite/ld-ifunc/ifunc-18a.s: Fix a typo.
1777 * testsuite/ld-x86-64/x86-64.exp: Run pr20253-1 tests.
1779 2016-06-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
1780 Tony Wang <tony.wang@arm.com>
1782 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall M profile):
1783 Assemble for ARMv6-M.
1784 (Thumb2-Thumb2 farcall M profile): New testcase.
1785 * testsuite/ld-arm/farcall-thumb2-thumb2-m.d: New file.
1786 * testsuite/ld-arm/jump-reloc-veneers-cond-long-backward.d: Update to
1787 reflect the use of Thumb-2 veneers for Thumb-2 capable targets.
1788 * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Likewise.
1790 2016-06-16 H.J. Lu <hongjiu.lu@intel.com>
1792 * testsuite/ld-i386/i386.exp: Run pr19636-2e-nacl.
1793 * testsuite/ld-i386/pr19636-2e.d: Skip for NaCl targets.
1794 Remove .rel.plt section.
1795 * testsuite/ld-i386/pr19636-2e-nacl.d: New file.
1797 2016-06-15 H.J. Lu <hongjiu.lu@intel.com>
1799 * testsuite/ld-i386/no-plt-check1a.S (check): Test static
1801 * testsuite/ld-i386/no-plt-check1b.S (check): Likewise.
1802 * testsuite/ld-x86-64/no-plt-check1.S (check): Likewise.
1803 * testsuite/ld-i386/no-plt-extern1a.S (func_p): New. Static
1805 * testsuite/ld-i386/no-plt-extern1b.S (func_p): Likewise.
1806 * testsuite/ld-x86-64/no-plt-extern1.S (func_p): Likewise.
1807 * testsuite/ld-i386/no-plt-1a.dd: Updated.
1808 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
1809 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
1810 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
1811 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
1812 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
1813 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
1814 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
1815 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
1816 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
1817 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
1818 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
1819 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
1820 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
1821 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
1822 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
1823 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
1825 2016-06-14 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1828 * testsuite/ld-avr/avr-prop-6.d: New test.
1829 * testsuite/ld-avr/avr-prop-6.s: New test.
1831 2016-06-14 Alan Modra <amodra@gmail.com>
1833 * ldbuildid.c: Formatting.
1834 * ldcref.c: Formatting.
1835 * ldctor.c: Formatting.
1836 * ldemul.c: Formatting.
1837 * ldexp.c: Formatting.
1838 * ldfile.c: Formatting.
1839 * ldlang.c: Formatting.
1840 * ldmain.c: Formatting.
1841 * ldwrite.c: Formatting.
1843 2016-06-14 Alan Modra <amodra@gmail.com>
1845 * ldlang.c: Expand uses of bfd_my_archive.
1846 * ldmain.c: Likewise.
1847 * ldmisc.c: Likewise.
1848 * plugin.c: Likewise.
1850 2016-06-14 Alan Modra <amodra@gmail.com>
1853 * ldmain.c (add_archive_element): Just print file name of file within
1855 * ldmisc.c (vfinfo): Likewise.
1856 * plugin.c (plugin_object_p): Open file within thin archives.
1857 (plugin_maybe_claim): Expand comment.
1859 2016-06-13 H.J. Lu <hongjiu.lu@intel.com>
1862 * testsuite/ld-i386/i386.exp: Run pr20244-2a, pr20244-2b,
1863 pr20244-2c and pr20244-2d.
1864 * testsuite/ld-i386/no-plt.exp: Run pr20244-3a and pr20244-3b.
1865 * testsuite/ld-i386/pr20244-2.s: New file.
1866 * testsuite/ld-i386/pr20244-2a.d: Likewise.
1867 * testsuite/ld-i386/pr20244-2b.d: Likewise.
1868 * testsuite/ld-i386/pr20244-2c.d: Likewise.
1869 * testsuite/ld-i386/pr20244-2d.d: Likewise.
1870 * testsuite/ld-i386/pr20244-3a.c: Likewise.
1871 * testsuite/ld-i386/pr20244-3b.S: Likewise.
1872 * testsuite/ld-i386/pr20244-3c.S: Likewise.
1873 * testsuite/ld-i386/pr20244-3d.S: Likewise.
1875 2016-06-13 H.J. Lu <hongjiu.lu@intel.com>
1877 * testsuite/ld-i386/i386.exp: Run ifunc-1a and ifunc-1b.
1878 * testsuite/ld-i386/ifunc-1a.c: New file.
1879 * testsuite/ld-i386/ifunc-1b.S: Likewise.
1880 * testsuite/ld-i386/ifunc-1c.S: Likewise.
1881 * testsuite/ld-i386/ifunc-1d.S: Likewise.
1883 2016-06-13 Cupertino Miranda <cmiranda@synospsy.com>
1885 * testsuite/ld-srec/srec.exp: Changed to XFAIL on both little and
1886 big endian ARC targets.
1888 2016-06-12 H.J. Lu <hongjiu.lu@intel.com>
1890 * testsuite/ld-x86-64/libno-plt-1b.dd: Updated for x32.
1891 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
1892 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
1893 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
1894 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
1895 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
1896 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
1897 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
1898 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
1899 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
1900 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
1901 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
1902 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
1903 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
1904 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
1906 2016-06-11 H.J. Lu <hongjiu.lu@intel.com>
1909 * testsuite/ld-i386/i386.exp: Run pr20244-1a and pr20244-1b.
1910 * testsuite/ld-i386/pr20244-1.s: New file.
1911 * testsuite/ld-i386/pr20244-1a.d: Likewise.
1912 * testsuite/ld-i386/pr20244-1b.d: Likewise.
1913 * testsuite/ld-i386/pr20244-1c.d: Likewise.
1915 2016-06-08 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1918 * testsuite/ld-avr/avr-prop-5.d: New.
1919 * testsuite/ld-avr/avr-prop-5.s: New.
1921 2016-06-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
1923 * testsuite/ld-avr/lds-mega.d: New test.
1924 * testsuite/ld-avr/lds-mega.s: New test source.
1925 * testsuite/ld-avr/lds-tiny.d: New test.
1926 * testsuite/ld-avr/lds-tiny.s: New test source.
1928 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1930 * testsuite/ld-i386/libno-plt-1b.dd: New file.
1931 * testsuite/ld-i386/libno-plt-1b.rd: Likewise.
1932 * testsuite/ld-i386/no-plt-1a.dd: Likewise.
1933 * testsuite/ld-i386/no-plt-1a.rd: Likewise.
1934 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
1935 * testsuite/ld-i386/no-plt-1b.rd: Likewise.
1936 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
1937 * testsuite/ld-i386/no-plt-1c.rd: Likewise.
1938 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
1939 * testsuite/ld-i386/no-plt-1d.rd: Likewise.
1940 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
1941 * testsuite/ld-i386/no-plt-1e.rd: Likewise.
1942 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
1943 * testsuite/ld-i386/no-plt-1f.rd: Likewise.
1944 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
1945 * testsuite/ld-i386/no-plt-1g.rd: Likewise.
1946 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
1947 * testsuite/ld-i386/no-plt-1h.rd: Likewise.
1948 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
1949 * testsuite/ld-i386/no-plt-1i.rd: Likewise.
1950 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
1951 * testsuite/ld-i386/no-plt-1j.rd: Likewise.
1952 * testsuite/ld-i386/no-plt-check1a.S: Likewise.
1953 * testsuite/ld-i386/no-plt-check1b.S: Likewise.
1954 * testsuite/ld-i386/no-plt-extern1a.S: Likewise.
1955 * testsuite/ld-i386/no-plt-extern1b.S: Likewise.
1956 * testsuite/ld-i386/no-plt-func1.c: Likewise.
1957 * testsuite/ld-i386/no-plt-main1.c: Likewise.
1958 * testsuite/ld-i386/no-plt.exp: Likewise.
1960 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1962 * testsuite/ld-x86-64/tls.exp (run_cc_link_tests): Update test
1965 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1967 * testsuite/ld-i386/i386.exp: Run libtlspic2.so, tlsbin2,
1968 tlsgd3, tlsld2, tlsgd4, tlspie3a, tlspie3b and tlspie3c.
1969 * testsuite/ld-i386/pass.out: New file.
1970 * testsuite/ld-i386/tls-def1.c: Likewise.
1971 * testsuite/ld-i386/tls-gd1.S: Likewise.
1972 * testsuite/ld-i386/tls-ld1.S: Likewise.
1973 * testsuite/ld-i386/tls-main1.c: Likewise.
1974 * testsuite/ld-i386/tls.exp: Likewise.
1975 * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
1976 * testsuite/ld-i386/tlsbin2.dd: Likewise.
1977 * testsuite/ld-i386/tlsbin2.rd: Likewise.
1978 * testsuite/ld-i386/tlsbin2.sd: Likewise.
1979 * testsuite/ld-i386/tlsbin2.td: Likewise.
1980 * testsuite/ld-i386/tlsbinpic2.s: Likewise.
1981 * testsuite/ld-i386/tlsgd3.dd: Likewise.
1982 * testsuite/ld-i386/tlsgd3.s: Likewise.
1983 * testsuite/ld-i386/tlsgd4.d: Likewise.
1984 * testsuite/ld-i386/tlsgd4.s: Likewise.
1985 * testsuite/ld-i386/tlsld2.s: Likewise.
1986 * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
1987 * testsuite/ld-i386/tlspic2.dd: Likewise.
1988 * testsuite/ld-i386/tlspic2.rd: Likewise.
1989 * testsuite/ld-i386/tlspic2.sd: Likewise.
1990 * testsuite/ld-i386/tlspic2.td: Likewise.
1991 * testsuite/ld-i386/tlspic3.s: Likewise.
1992 * testsuite/ld-i386/tlspie3.s: Likewise.
1993 * testsuite/ld-i386/tlspie3a.d: Likewise.
1994 * testsuite/ld-i386/tlspie3b.d: Likewise.
1995 * testsuite/ld-i386/tlspie3c.d: Likewise.
1997 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1999 * testsuite/ld-x86-64/no-plt-1a.rd: Support any relocation order.
2000 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
2001 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
2002 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
2003 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
2004 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
2005 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
2006 * testsuite/ld-x86-64/no-plt.exp: Fix a typo.
2008 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
2010 * testsuite/ld-x86-64/libno-plt-1b.dd: Likewise.
2011 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
2012 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
2013 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
2014 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
2015 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
2016 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
2017 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
2018 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
2019 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
2020 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
2021 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
2022 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
2023 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
2024 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
2025 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
2026 * testsuite/ld-x86-64/no-plt-check1.S: Likewise.
2027 * testsuite/ld-x86-64/no-plt.exp: Likewise.
2028 * testsuite/ld-x86-64/no-plt-extern1.S: Likewise.
2029 * testsuite/ld-x86-64/no-plt-func1.c: Likewise.
2030 * testsuite/ld-x86-64/no-plt-main1.c: Likewise.
2032 2016-06-07 Maciej W. Rozycki <macro@imgtec.com>
2034 * testsuite/ld-elf/init-fini-arrays.d: Remove `ft32-*-*' xfail.
2036 2016-06-07 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
2038 * testsuite/ld-s390/pltoffset-1.dd: New test.
2039 * testsuite/ld-s390/pltoffset-1.ld: New test.
2040 * testsuite/ld-s390/pltoffset-1.s: New test.
2041 * testsuite/ld-s390/s390.exp: Run new test.
2043 2016-06-07 Alan Modra <amodra@gmail.com>
2045 * testsuite/ld-powerpc/apuinfo1.s: Delete nop.
2046 * testsuite/ld-powerpc/apuinfo-vle2.s: New.
2047 * testsuite/ld-powerpc/powerpc.exp: Use apuinfo-vle2.s.
2049 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
2051 * testsuite/ld-x86-64/pass.out: New file.
2052 * testsuite/ld-x86-64/tls-def1.c: Likewise.
2053 * testsuite/ld-x86-64/tls-gd1.S: Likewise.
2054 * testsuite/ld-x86-64/tls-ld1.S: Likewise.
2055 * testsuite/ld-x86-64/tls-main1.c: Likewise.
2056 * testsuite/ld-x86-64/tls.exp: Likewise.
2057 * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
2058 * testsuite/ld-x86-64/tlsbin2.dd: Likewise.
2059 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
2060 * testsuite/ld-x86-64/tlsbin2.sd: Likewise.
2061 * testsuite/ld-x86-64/tlsbin2.td: Likewise.
2062 * testsuite/ld-x86-64/tlsbinpic2.s: Likewise.
2063 * testsuite/ld-x86-64/tlsgd10.dd: Likewise.
2064 * testsuite/ld-x86-64/tlsgd10.s: Likewise.
2065 * testsuite/ld-x86-64/tlsgd11.dd: Likewise.
2066 * testsuite/ld-x86-64/tlsgd11.s: Likewise.
2067 * testsuite/ld-x86-64/tlsgd12.d: Likewise.
2068 * testsuite/ld-x86-64/tlsgd12.s: Likewise.
2069 * testsuite/ld-x86-64/tlsgd13.d: Likewise.
2070 * testsuite/ld-x86-64/tlsgd13.s: Likewise.
2071 * testsuite/ld-x86-64/tlsgd14.dd: Likewise.
2072 * testsuite/ld-x86-64/tlsgd14.s: Likewise.
2073 * testsuite/ld-x86-64/tlsgd5c.s: Likewise.
2074 * testsuite/ld-x86-64/tlsgd6c.s: Likewise.
2075 * testsuite/ld-x86-64/tlsgd9.dd: Likewise.
2076 * testsuite/ld-x86-64/tlsgd9.s: Likewise.
2077 * testsuite/ld-x86-64/tlsld4.dd: Likewise.
2078 * testsuite/ld-x86-64/tlsld4.s: Likewise.
2079 * testsuite/ld-x86-64/tlsld5.dd: Likewise.
2080 * testsuite/ld-x86-64/tlsld5.s: Likewise.
2081 * testsuite/ld-x86-64/tlsld6.dd: Likewise.
2082 * testsuite/ld-x86-64/tlsld6.s: Likewise.
2083 * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
2084 * testsuite/ld-x86-64/tlspic2.dd: Likewise.
2085 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
2086 * testsuite/ld-x86-64/tlspic2.sd: Likewise.
2087 * testsuite/ld-x86-64/tlspic2.td: Likewise.
2088 * testsuite/ld-x86-64/tlspic3.s: Likewise.
2089 * testsuite/ld-x86-64/tlspie2.s: Likewise.
2090 * testsuite/ld-x86-64/tlspie2a.d: Likewise.
2091 * testsuite/ld-x86-64/tlspie2b.d: Likewise.
2092 * testsuite/ld-x86-64/tlspie2c.d: Likewise.
2093 * testsuite/ld-x86-64/tlsgd5.dd: Updated.
2094 * testsuite/ld-x86-64/tlsgd6.dd: Likewise.
2095 * testsuite/ld-x86-64/x86-64.exp: Run libtlspic2.so, tlsbin2,
2096 tlsgd5b, tlsgd6b, tlsld4, tlsld5, tlsld6, tlsgd9, tlsgd10,
2097 tlsgd11, tlsgd14, tlsgd12, tlsgd13, tlspie2a, tlspie2b and
2100 2016-06-04 Christian Groessler <chris@groessler.org>
2102 * testsuite/ld-z8k/0filler.s: New file.
2103 * testsuite/ld-z8k/branch-target.s: New file.
2104 * testsuite/ld-z8k/branch-target2.s: New file.
2105 * testsuite/ld-z8k/calr-back-8001.d: New file.
2106 * testsuite/ld-z8k/calr-back-8002.d: New file.
2107 * testsuite/ld-z8k/calr-back-fail-8001.d: New file.
2108 * testsuite/ld-z8k/calr-back-fail-8002.d: New file.
2109 * testsuite/ld-z8k/calr-forw-8001.d: New file.
2110 * testsuite/ld-z8k/calr-forw-8002.d: New file.
2111 * testsuite/ld-z8k/calr-forw-fail-8001.d: New file.
2112 * testsuite/ld-z8k/calr-forw-fail-8002.d: New file.
2113 * testsuite/ld-z8k/calr-opcode.s: New file.
2114 * testsuite/ld-z8k/dbjnz-forw-8001.d: New file.
2115 * testsuite/ld-z8k/dbjnz-forw-8002.d: New file.
2116 * testsuite/ld-z8k/dbjnz-forw-fail-8001.d: New file.
2117 * testsuite/ld-z8k/dbjnz-forw-fail-8002.d: New file.
2118 * testsuite/ld-z8k/dbjnz-opcode.s: New file.
2119 * testsuite/ld-z8k/djnz-back-8001.d: New file.
2120 * testsuite/ld-z8k/djnz-back-8002.d: New file.
2121 * testsuite/ld-z8k/djnz-back-fail-8001.d: New file.
2122 * testsuite/ld-z8k/djnz-back-fail-8002.d: New file.
2123 * testsuite/ld-z8k/djnz-forw-8001.d: New file.
2124 * testsuite/ld-z8k/djnz-forw-8002.d: New file.
2125 * testsuite/ld-z8k/djnz-forw-fail-8001.d: New file.
2126 * testsuite/ld-z8k/djnz-forw-fail-8002.d: New file.
2127 * testsuite/ld-z8k/djnz-opcode.s: New file.
2128 * testsuite/ld-z8k/filler.s: New file.
2129 * testsuite/ld-z8k/jr-back-8001.d: New file.
2130 * testsuite/ld-z8k/jr-back-8002.d: New file.
2131 * testsuite/ld-z8k/jr-back-fail-8001.d: New file.
2132 * testsuite/ld-z8k/jr-back-fail-8002.d: New file.
2133 * testsuite/ld-z8k/jr-forw-8001.d: New file.
2134 * testsuite/ld-z8k/jr-forw-8002.d: New file.
2135 * testsuite/ld-z8k/jr-forw-fail-8001.d: New file.
2136 * testsuite/ld-z8k/jr-forw-fail-8002.d: New file.
2137 * testsuite/ld-z8k/jr-opcode.s: New file.
2138 * testsuite/ld-z8k/ldr-back-8001.d: New file.
2139 * testsuite/ld-z8k/ldr-back-8002.d: New file.
2140 * testsuite/ld-z8k/ldr-back-fail-8001.d: New file.
2141 * testsuite/ld-z8k/ldr-back-fail-8002.d: New file.
2142 * testsuite/ld-z8k/ldr-forw-8001.d: New file.
2143 * testsuite/ld-z8k/ldr-forw-8002.d: New file.
2144 * testsuite/ld-z8k/ldr-forw-fail-8001.d: New file.
2145 * testsuite/ld-z8k/ldr-forw-fail-8002.d: New file.
2146 * testsuite/ld-z8k/ldr-opcode.s: New file.
2147 * testsuite/ld-z8k/ldrb-forw-8001.d: New file.
2148 * testsuite/ld-z8k/ldrb-forw-8002.d: New file.
2149 * testsuite/ld-z8k/ldrb-forw-fail-8001.d: New file.
2150 * testsuite/ld-z8k/ldrb-forw-fail-8002.d: New file.
2151 * testsuite/ld-z8k/ldrb-opcode.s: New file.
2152 * testsuite/ld-z8k/ldrb-opcode2.s: New file.
2153 * testsuite/ld-z8k/other-file.s: New file.
2154 * testsuite/ld-z8k/reloc.dd: New file.
2155 * testsuite/ld-z8k/reloc.ld: New file.
2156 * testsuite/ld-z8k/relocseg.dd: New file.
2157 * testsuite/ld-z8k/relocseg.ld: New file.
2158 * testsuite/ld-z8k/relocseg1.dd: New file.
2159 * testsuite/ld-z8k/this-file.s: New file.
2160 * testsuite/ld-z8k/z8k.exp: New file.
2162 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
2164 * testsuite/ld-i386/i386.exp: Assemble gotpc1.o and pr19319b.o
2165 with -mrelax-relocations=yes.
2166 * testsuite/ld-i386/lea1a.d (as): Add -mrelax-relocations=yes.
2167 * testsuite/ld-i386/lea1b.d (as): Likewise.
2168 * testsuite/ld-i386/lea1d.d (as): Likewise.
2169 * testsuite/ld-i386/lea1e.d (as): Likewise.
2170 * testsuite/ld-i386/lea1f.d (as): Likewise.
2171 * testsuite/ld-i386/load7.d (as): Likewise.
2172 * testsuite/ld-i386/mov1b.d (as): Likewise.
2173 * testsuite/ld-i386/pr19175.d (as): Likewise.
2174 * testsuite/ld-ifunc/ifunc-13-i386.d (as): Likewise.
2175 * testsuite/ld-ifunc/ifunc-21-i386.d (as): Likewise.
2176 * testsuite/ld-ifunc/ifunc-22-i386.d (as): Likewise.
2177 * testsuite/ld-x86-64/x86-64.exp: Assemble gotpcrel1a.o,
2178 gotpcrel1b.o and gotpcrel1c.o with -mrelax-relocations=yes.
2180 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
2182 * configure.tgt: Replace -uclibc with *.
2184 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
2186 * testsuite/ld-mips-elf/unaligned-branch.d: New test.
2187 * testsuite/ld-mips-elf/unaligned-branch.s: New test source.
2188 * testsuite/ld-mips-elf/unaligned-text.s: New test source.
2189 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
2191 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
2193 * testsuite/ld-mips-elf/unaligned-syms.s: Rename to...
2194 * testsuite/ld-mips-elf/unaligned-data.s: ... this.
2195 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Adjust accordingly.
2196 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
2197 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Likewise.
2198 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
2200 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
2202 * testsuite/ld-mips-elf/jal-global-overflow-0.d: New test.
2203 * testsuite/ld-mips-elf/jal-global-overflow-1.d: New test.
2204 * testsuite/ld-mips-elf/jal-local-overflow-0.d: New test.
2205 * testsuite/ld-mips-elf/jal-local-overflow-1.d: New test.
2206 * testsuite/ld-mips-elf/jal-global-overflow.s: New test source.
2207 * testsuite/ld-mips-elf/jal-local-overflow.s: New test source.
2208 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2210 2016-05-28 Alan Modra <amodra@gmail.com>
2212 * ldmain.c (multiple_definition, multiple_common, add_to_set,
2213 constructor_callback, warning_callback, undefined_symbol,
2214 reloc_overflow, reloc_dangerous, unattached_reloc): Return void.
2215 * emultempl/elf32.em: Adjust callback calls.
2217 2016-05-27 Maciej W. Rozycki <macro@imgtec.com>
2219 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.d: New test.
2220 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: New test.
2221 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-0.d: New
2223 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d: New
2225 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-0.d: New
2227 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d: New
2229 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.s: New test
2231 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.s: New test
2233 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2235 2016-05-27 Maciej W. Rozycki <macro@imgtec.com>
2237 * testsuite/ld-mips-elf/reloc-local-overflow.d: New test.
2238 * testsuite/ld-mips-elf/reloc-local-overflow.s: Source for the
2240 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
2242 2016-05-26 Maciej W. Rozycki <macro@imgtec.com>
2244 * testsuite/ld-mips-elf/unaligned-jalx-0.d: Fold
2245 `unaligned-jalx-2' here.
2246 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: Fold
2247 `unaligned-jalx-mips16-2' here.
2248 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: Fold
2249 `unaligned-jalx-micromips-2' here.
2250 * testsuite/ld-mips-elf/unaligned-jalx-0.s: Update accordingly.
2251 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error
2253 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
2254 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
2255 * testsuite/ld-mips-elf/unaligned-jalx-2.d: Remove test.
2256 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: Remove test.
2257 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: Remove
2259 * testsuite/ld-mips-elf/unaligned-jalx-2.s: Remove test source.
2260 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Fold
2261 `unaligned-lwpc-3' here.
2262 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: Update accordingly.
2263 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Fold
2264 `unaligned-lwpc-2' here.
2265 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: Update accordingly.
2266 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: Remove test.
2267 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: Remove test source.
2268 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: Remove test.
2269 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: Remove test source.
2270 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Fold
2271 `unaligned-ldpc-4' here.
2272 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: Update accordingly.
2273 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Update error
2274 message. Fold `unaligned-ldpc-2' and `unaligned-ldpc-3' here.
2275 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: Update accordingly.
2276 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: Remove test.
2277 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: Remove test source.
2278 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: Remove test.
2279 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: Remove test source.
2280 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: Remove test.
2281 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: Remove test source.
2282 * testsuite/ld-mips-elf/mips-elf.exp: Delete removed tests.
2284 2016-05-26 Nick Clifton <nickc@redhat.com>
2287 * scripttempl/elf32msp430.sc (.bss): Provide __bssstart and
2289 * scripttempl/elf32msp430_3.sc (.bss): Likewise.
2291 2016-05-25 Maciej W. Rozycki <macro@imgtec.com>
2293 * testsuite/ld-mips-elf/unaligned-jalx-0.d: New test.
2294 * testsuite/ld-mips-elf/unaligned-jalx-1.d: New test.
2295 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
2296 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: New test.
2297 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: New test.
2298 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: New test.
2299 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: New test.
2300 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: New test.
2301 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: New test.
2302 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: New test.
2303 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: New test.
2304 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: New test.
2305 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: New test.
2306 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: New test.
2307 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: New test.
2308 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: New test.
2309 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: New test.
2310 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: New test.
2311 * testsuite/ld-mips-elf/unaligned-jalx-0.s: New test source.
2312 * testsuite/ld-mips-elf/unaligned-jalx-1.s: New test source.
2313 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
2314 * testsuite/ld-mips-elf/unaligned-insn.s: New test source.
2315 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: New test source.
2316 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: New test source.
2317 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: New test source.
2318 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: New test source.
2319 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: New test source.
2320 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: New test source.
2321 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: New test source.
2322 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: New test source.
2323 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: New test source.
2324 * testsuite/ld-mips-elf/unaligned-syms.s: New test source.
2325 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2327 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
2330 * ldmain.c (add_archive_element): Don't claim new IR symbols
2331 after all IR symbols have been claimed.
2332 * plugin.c (plugin_call_claim_file): Remove no_more_claiming
2334 * testsuite/ld-plugin/lto.exp (pr20103): New proc.
2335 Run PR ld/20103 tests.
2336 * testsuite/ld-plugin/pr20103a.c: New file.
2337 * testsuite/ld-plugin/pr20103b.c: Likewise.
2338 * testsuite/ld-plugin/pr20103c.c: Likewise.
2340 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
2342 * testsuite/ld-mips-elf/jalx-local.d: New test.
2343 * testsuite/ld-mips-elf/jalx-local-n32.d: New test.
2344 * testsuite/ld-mips-elf/jalx-local-n64.d: New test.
2345 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2347 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
2349 * Makefile.am: Add earmelf_phoenix.c.
2350 * Makefile.in: Regenerate.
2351 * configure.tgt: Add entry for arm-phoenix.
2352 * emulparams/armelf_phoenix.sh: New file.
2354 2016-05-23 Thomas Preud'homme <thomas.preudhomme@arm.com>
2356 * emultempl/armelf.em (arm_elf_before_allocation): Call
2357 bfd_elf32_arm_keep_private_stub_output_sections before generic
2358 before_allocation function.
2360 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
2362 * testsuite/ld-mips-elf/jalx-addend.d: New test.
2363 * testsuite/ld-mips-elf/jalx-addend-n32.d: New test.
2364 * testsuite/ld-mips-elf/jalx-addend-n64.d: New test.
2365 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2367 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
2370 * testsuite/ld-i386/i386.exp: Run pr20117.
2371 * testsuite/ld-i386/pr19609-1i.d: Updated.
2372 * testsuite/ld-i386/pr20117.d: New file.
2373 * testsuite/ld-i386/pr20117.s: Likewise.
2375 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
2377 * testsuite/ld-elf/compressed1d.d: Removed from notarget.
2378 * testsuite/ld-elf/group8a.d: Likewise.
2379 * testsuite/ld-elf/group8b.d: Likewise.
2380 * testsuite/ld-elf/group9a.d: Likewise.
2381 * testsuite/ld-elf/group9b.d: Likewise.
2382 * testsuite/ld-elf/pr12851.d: Likewise.
2383 * testsuite/ld-elf/pr12975.d: Likewise.
2384 * testsuite/ld-elf/pr13177.d: Likewise.
2385 * testsuite/ld-elf/pr13195.d: Likewise.
2386 * testsuite/ld-elf/pr17615.d: Likewise.
2387 * testsuite/ld-elf/eh-frame-hdr.d: Removed from xfail.
2388 * testsuite/ld-elf/group3b.d: Likewise.
2389 * testsuite/ld-srec/srec.exp: Likewise.
2390 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark ARC
2392 (check_shared_lib_support): Mark ARC as supporting.
2394 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
2396 * emulparams/arcelf.sh: Changed.
2397 * emulparams/arclinux.sh: Likewise.
2398 * scripttempl/arclinux.sc: Moved to a more standard implementation
2401 2016-05-19 Maciej W. Rozycki <macro@imgtec.com>
2403 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Reorder
2404 `ft32-*-*' behind `frv-*-*'.
2406 2016-05-19 Maciej W. Rozycki <macro@imgtec.com>
2408 * configure.tgt: Remove `am34-*-linux*' support.
2410 2016-05-19 Alan Modra <amodra@gmail.com>
2412 * testsuite/ld-scripts/crossref.exp: Remove -mcall-aixdesc hack.
2413 * testsuite/ld-scripts/cross2.t: Tweak .opd and .toc placement.
2414 * testsuite/ld-scripts/cross3.t: Likewise.
2415 * testsuite/ld-scripts/cross4.t: Likewise.
2416 * testsuite/ld-scripts/cross5.t: Likewise.
2417 * testsuite/ld-scripts/cross6.t: Likewise.
2418 * testsuite/ld-scripts/cross7.t: Likewise.
2420 2016-05-19 Alan Modra <amodra@gmail.com>
2422 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Pass in
2423 exe name rather than constructing testname. Fix typo in
2424 sub-test name. Log copying. Use -rpath rather than -R.
2426 2016-05-18 Nick Clifton <nickc@redhat.com>
2428 * scripttempl/ft32.sc: Use fixed constants for memory region
2429 lengths. Include DWARF debug sections.
2430 (.data .bss): Do not assign locations during relocatable links.
2431 * testsuite/ld-elf/compressed1d.d: Skip for FT32.
2432 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
2433 * testsuite/ld-elf/sec64k.exp: Likewise.
2434 * testsuite/ld-elf/init-fini-array.d: XFail for FT32.
2435 * testsuite/ld-elf/merge.d: Likewise.
2436 * testsuite/ld-elf/orphan-region.d: Likewise.
2437 * testsuite/ld-elf/orphan.s: Likewise.
2438 * testsuite/ld-elf/orphan3.d: Likewise.
2439 * testsuite/ld-elf/pr349.d: Likewise.
2440 * testsuite/ld-elf/warn2.d: Likewise.
2441 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Note
2442 that the FT32 does not support shared libraries.
2444 2016-05-17 H.J. Lu <hongjiu.lu@intel.com>
2446 * testsuite/lib/ld-lib.exp (at_least_gcc_version): Check
2449 2016-05-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2451 * scripttempl/avr.sc (text): Place .progmem.data from avr-libc
2453 * scripttempl/avrtiny.sc (text): Likewise.
2455 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
2457 * testsuite/ld-unique/unique.exp: Use `is_elf_format' and
2458 `supports_gnu_unique' to qualify testing.
2460 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
2462 * testsuite/ld-elf/flags1.d: Update the xfail list.
2464 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
2466 * testsuite/ld-elf/flags1.d: Update for `*-*-nacl*' xfail
2469 2016-05-14 H.J. Lu <hongjiu.lu@intel.com>
2472 * testplug2.c (onall_symbols_read): Remove redundant sizeof
2473 on EXPECTED_VIEW_LENGTH.
2474 * testplug4.c (onall_symbols_read): Likewise.
2476 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
2479 * testsuite/ld-x86-64/pr20093-1.d: New file.
2480 * testsuite/ld-x86-64/pr20093-1.s: Likewise.
2481 * testsuite/ld-x86-64/pr20093-2.d: Likewise.
2482 * testsuite/ld-x86-64/pr20093-2.s: Likewise.
2483 * testsuite/ld-x86-64/x86-64.exp: Run pr20093-1 and pr20093-2.
2485 2016-05-13 Alan Modra <amodra@gmail.com>
2487 * testsuite/ld-arm/arm-elf.exp: Adjust for arm-no-rel-plt now passing.
2488 Use different output file name for static app without .rel.plt.
2489 * testsuite/ld-arm/arm-no-rel-plt.ld: Align .rel.dyn and .rela.dyn.
2490 * testsuite/ld-arm/arm-no-rel-plt.out: Delete.
2491 * testsuite/ld-arm/arm-no-rel-plt.r: New.
2492 * testsuite/ld-arm/arm-static-app.d: Don't check file name.
2493 * testsuite/ld-arm/arm-static-app.r: Likewise.
2495 2016-05-12 H.J. Lu <hongjiu.lu@intel.com>
2498 * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug4.la.
2499 (libldtestplug4_la_SOURCES): New.
2500 (libldtestplug4_la_CFLAGS): Likewise.
2501 (libldtestplug4_la_LDFLAGS): Likewise.
2502 * Makefile.in: Regenerated.
2503 * plugin.c (get_symbols): Return resolution based on IR symbol
2504 kinds for symbols defined/referenced only within IR.
2505 * testplug4.c: New file.
2506 * ld/testsuite/ld-plugin/pr20070.d: Likewise.
2507 * ld/testsuite/ld-plugin/pr20070a.c: Likewise.
2508 * ld/testsuite/ld-plugin/pr20070b.c: Likewise.
2509 * testsuite/ld-plugin/plugin.exp (plugin4_name): New.
2510 (plugin4_path): Likewise.
2511 Add a test for ld/20070.
2513 2016-05-11 Alan Modra <amodra@gmail.com>
2515 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
2516 Call elf32_hppa_init_stub_bfd.
2518 2016-05-11 Alan Modra <amodra@gmail.com>
2521 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
2522 * testsuite/ld-powerpc/tlsdll.s: New.
2523 * testsuite/ld-powerpc/tlsdll.ver: New.
2524 * testsuite/ld-powerpc/tlsdll_32.s: New.
2525 * testsuite/ld-powerpc/tlsopt5.d: New.
2526 * testsuite/ld-powerpc/tlsopt5.s: New.
2527 * testsuite/ld-powerpc/tlsopt5_32.d: New.
2528 * testsuite/ld-powerpc/tlsopt5_32.s: New.
2530 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2532 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Use
2533 ARM_GET_SYM_BRANCH_TYPE to get branch type of a symbol.
2535 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2537 * emultempl/armelf.em (elf32_arm_add_stub_section): Add output_section
2538 parameter and rename input_section parameter to after_input_section.
2539 Append input stub section to the output section if after_input_section
2542 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2544 * testsuite/ld-arm/arm-elf.exp (EABI attribute merging 10 (DSP)): New
2546 * testsuite/ld-arm/attr-merge-10b-dsp.s: New file.
2547 * testsuite/ld-arm/attr-merge-10-dsp.attr: Likewise.
2549 2016-05-10 Christophe Lyon <christophe.lyon@linaro.org>
2551 * ld/testsuite/ld-elf/flags1.d (xfail): Remove *-*-nacl*".
2553 2016-05-09 Christophe Monat <christophe.monat@st.com>
2556 * testsuite/ld-arm/arm-elf.exp: Run new stm32l4xx-fix-vldm-dp
2557 tests. Fix misnamed stm32l4xx-fix-all.
2558 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.s: New tests for multiple
2559 loads with DP registers.
2560 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.d: New reference file.
2561 * testsuite/ld-arm/stm32l4xx-fix-vldm.s: Add missing comment.
2562 * testsuite/ld-arm/stm32l4xx-fix-all.s: Add tests for multiple
2563 loads with DP registers.
2564 * testsuite/ld-arm/stm32l4xx-fix-all.d: Update reference.
2566 2016-05-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2568 * testsuite/ld-elf/flags1.d (readelf): Dump section header instead
2570 (xfail): Remove avr-*-*.
2571 Update regex to check the section flags.
2572 * testsuite/ld-elf/merge.d (xfail): Remove avr-*-*.
2574 2016-05-09 Alan Modra <amodra@gmail.com>
2576 * Makefile.am (ealphavms.c, eelf64_ia64_vms): Correct .em deps.
2577 * Makefile.in: Regenerate.
2579 2016-05-09 Alan Modra <amodra@gmail.com>
2581 * testsuite/ld-scripts/pr14962-2.t: Match .text, not *.text.
2582 * testsuite/ld-scripts/rgn-at5.t: Similarly, .sec not *.sec.
2583 * testsuite/ld-scripts/section-match-1.t: Likewise.
2585 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
2588 * testsuite/ld-elf/pr17550-1.s: New file.
2589 * testsuite/ld-elf/pr17550-2.s: Likewise.
2590 * testsuite/ld-elf/pr17550-3.s: Likewise.
2591 * testsuite/ld-elf/pr17550-4.s: Likewise.
2592 * testsuite/ld-elf/pr17550a.d: Likewise.
2593 * testsuite/ld-elf/pr17550b.d: Likewise.
2594 * testsuite/ld-elf/pr17550c.d: Likewise.
2595 * testsuite/ld-elf/pr17550d.d: Likewise.
2597 2016-05-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2599 * ld/testsuite/ld-srec/srec.exp: Mark test as XFAIL for AVR.
2601 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
2603 * testsuite/ld-i386/i386.exp: Run load7.
2604 * testsuite/ld-i386/load7.d: New file.
2605 * testsuite/ld-i386/load7.map: Likewise.
2606 * testsuite/ld-i386/load7.s: Likewise.
2607 * testsuite/ld-x86-64/load2.d: Likewise.
2608 * testsuite/ld-x86-64/load2.map: Likewise.
2609 * testsuite/ld-x86-64/load2.s: Likewise.
2610 * testsuite/ld-x86-64/x86-64.exp: Run load2.
2612 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
2614 * emulparams/elf_iamcu.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): New.
2615 * emulparams/elf_k1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2617 * emulparams/elf_l1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2620 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
2622 * testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld.
2624 2016-05-04 H.J. Lu <hongjiu.lu@intel.com>
2626 * ldlang.c (init_os): Pass %E to einfo when bfd_section == NULL.
2628 2016-05-04 Maciej W. Rozycki <macro@imgtec.com>
2630 * testsuite/ld-unique/unique.d: New test.
2631 * testsuite/ld-unique/unique.exp: Run the new test. Adjust
2632 messages for compiled tests.
2634 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2636 * testsuite/ld-elf/pr18735.d: Allow other symbols.
2637 * testsuite/ld-elf/sec64k.exp: Skip 64ksec for avr.
2638 * testsuite/ld-gc/pr14265.d: Allow other symbols.
2639 * testsuite/ld-plugin/plugin.exp: Add PR ld/17973 to
2640 plugin_tests only if check_shared_lib_support is true.
2641 * testsuite/ld-selective/selective.exp: Add --section-start
2644 2016-05-03 Maciej W. Rozycki <macro@imgtec.com>
2647 * testsuite/ld-unique/unique.exp: Also run for `mips*-*-*'.
2649 2016-05-03 Jiong Wang <jiong.wang@arm.com>
2651 * emultempl/aarch64elf.em (--no-apply-dynamic-relocs): New option.
2652 * NEWS: Mention --no-apply-dynamic-relocs.
2653 * ld.texinfo (ld and the ARM family): Document
2654 --no-apply-dynamic-relocs.
2655 * testsuite/ld-aarch64/rela-abs-relative.s: New test source.
2656 * testsuite/ld-aarch64/rela-abs-relative.d: New expected result.
2657 * testsuite/ld-aarch64/rela-abs-relative-be.d: Likewise for big-endian.
2658 * estsuite/ld-aarch64/rela-abs-relative-opt.d: Likewise, but enable new
2661 2016-05-03 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2663 * testsuite/ld-elfcomm/elfcomm.exp: Check for shared lib support
2664 before running STT_COMMON tests.
2666 2016-04-29 H.J. Lu <hongjiu.lu@intel.com>
2668 * config/default.exp (NOPIE_CFLAGS): Download source only on
2670 (NOPIE_LDFLAGS): Likewise.
2671 * testsuite/lib/ld-lib.exp (check_lto_available): Likewise.
2672 (check_lto_fat_available): Likewise.
2673 (check_lto_shared_available): Likewise.
2674 (check_ifunc_available): Likewise.
2675 (check_ifunc_attribute_available): Likewise.
2677 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
2679 * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.
2681 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
2684 * testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
2685 (visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
2688 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
2690 * testsuite/ld-elf/compressed1b.d: Pass
2691 --compress-debug-sections=none to ld.
2692 * testsuite/ld-elf/compressed1c.d: Likewise.
2694 2016-04-27 Alan Modra <amodra@gmail.com>
2697 * configure.tgt: Don't use var+=.
2699 2016-04-25 Nick Clifton <nickc@redhat.com>
2702 * configure.tgt: Include big endian PPC64 emulations with little
2703 endian PPC64 targets.
2705 2016-04-25 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2707 * scripttempl/avrtiny.sc (.text): Do not set LMA to zero.
2709 2016-04-21 H.J. Lu <hongjiu.lu@intel.com>
2711 * testsuite/lib/ld-lib.exp (check_lto_available): Return 1 on
2712 Linux with GCC 4.9 or newer.
2713 (check_lto_fat_available): Likewise.
2714 (check_lto_shared_available): Likewise.
2716 2016-04-21 Nick Clifton <nickc@redhat.com>
2718 * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in
2719 prefernce to _bfd_elf_link_check_relocs. Drop test for ELF
2720 targets. Do not stop the checks when problems are encountered.
2722 2016-04-21 Alan Modra <amodra@gmail.com>
2724 * testsuite/ld-scripts/cross3.t: Add commonly used data
2725 and text section names to output section statements.
2726 * testsuite/ld-scripts/cross4.t: Likewise.
2727 * testsuite/ld-scripts/cross5.t: Likewise.
2728 * testsuite/ld-scripts/cross6.t: Likewise.
2729 * testsuite/ld-scripts/cross7.t: Likewise.
2731 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2733 * ldlang.c (lang_check_relocs): New function.
2734 (lang_process): Call lang_check_relocs after lang_gc_sections.
2735 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
2736 call _bfd_elf_link_check_relocs here.
2738 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2741 * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for
2742 R_386_NONE or R_X86_64_NONE.
2744 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2746 * testsuite/ld-x86-64/pic1.d: New file.
2747 * testsuite/ld-x86-64/pic1.s: Likewise.
2748 * testsuite/ld-x86-64/x86-64.exp: Run pic1.
2750 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2752 * testsuite/ld-x86-64/pie2.d: New file.
2753 * testsuite/ld-x86-64/pie2.s: Likewise.
2754 * testsuite/ld-x86-64/x86-64.exp: Run pie2.
2756 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2759 * testsuite/ld-x86-64/pr19969.d: New file.
2760 * testsuite/ld-x86-64/pr19969a.S: Likewise.
2761 * testsuite/ld-x86-64/pr19969b.S: Likewise.
2762 * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests.
2764 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2766 * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2768 * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2770 * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2772 * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2774 * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2776 * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2778 * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2780 * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2782 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
2783 Set check_relocs_after_open_input to TRUE if
2784 CHECK_RELOCS_AFTER_OPEN_INPUT is yes.
2785 (gld${EMULATION_NAME}_after_open): Call
2786 _bfd_elf_link_check_relocs on all inputs if
2787 check_relocs_after_open_input is TRUE.
2789 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2791 * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
2794 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2796 * emultempl/scoreelf.em: Likewise.
2798 2016-04-19 H.J. Lu <hongjiu.lu@intel.com>
2801 * testsuite/ld-x86-64/pr19719.d: New file.
2802 * testsuite/ld-x86-64/pr19719.s: Likewise.
2803 * testsuite/ld-x86-64/x86-64.exp: Run pr19719.
2805 2016-04-18 Matthew Fortune <matthew.fortune@imgtec.com>
2807 * ld.texinfo: Document NOCROSSREFS_TO script command.
2808 * ldlang.h (struct lang_nocrossrefs): Add onlyfirst field.
2809 (lang_add_nocrossref_to): New prototype.
2810 * ldcref.c (check_local_sym_xref): Use onlyfirst to only look for
2811 symbols defined in the first section.
2812 (check_nocrossref): Likewise.
2813 * ldgram.y (NOCROSSREFS_TO): New script command.
2814 * ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE.
2815 (lang_add_nocrossref_to): New function.
2816 * ldlex.l (NOCROSSREFS_TO): New token.
2817 * NEWS: Mention NOCROSSREFS_TO.
2818 * testsuite/ld-scripts/cross4.t: New file.
2819 * testsuite/ld-scripts/cross5.t: Likewise.
2820 * testsuite/ld-scripts/cross6.t: Likewise.
2821 * testsuite/ld-scripts/cross7.t: Likewise.
2822 * testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO
2825 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
2827 * Makefile.in: Regenerated with automake 1.11.6.
2828 * aclocal.m4: Likewise.
2830 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2832 * testsuite/ld-arc/arc.exp: New file.
2833 * testsuite/ld-arc/nps-1.s: New file.
2834 * testsuite/ld-arc/nps-1a.d: New file.
2835 * testsuite/ld-arc/nps-1b.d: New file.
2836 * testsuite/ld-arc/nps-1b.err: New file.
2838 2016-04-14 Nick Clifton <nickc@redhat.com>
2841 * testsuite/ld-scripts/script.exp (extract_symbol_test): Add
2842 exceptions for Mingw and Cygwin.
2844 2016-04-13 Andrew Burgess <andrew.burgess@embecosm.com>
2846 * testsuite/lib/ld-lib.exp (run_dump_test): Initialise
2849 2016-04-13 H.J. Lu <hongjiu.lu@intel.com>
2852 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before
2853 tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed
2856 2016-04-11 H.J. Lu <hongjiu.lu@intel.com>
2859 * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
2860 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2861 * testsuite/ld-i386/pr19939.s: New file.
2862 * testsuite/ld-i386/pr19939a.d: Likewise.
2863 * testsuite/ld-i386/pr19939b.d: Likewise.
2864 * testsuite/ld-x86-64/pr19939.s: Likewise.
2865 * testsuite/ld-x86-64/pr19939a.d: Likewise.
2866 * testsuite/ld-x86-64/pr19939b.d: Likewise.
2868 2016-04-09 Oleg Endo <olegendo@gcc.gnu.org>
2870 * emulparams/shelf.sh: Set stack area to 0x3FFFFF00.
2872 2016-04-08 Alan Modra <amodra@gmail.com>
2875 * ldlang.c (maybe_overlays): Delete.
2876 (lang_size_sections_1): Remove code setting maybe_overlays.
2877 (lang_check_section_addresses): Instead detect overlays by
2878 exact match of section VMAs here. Fix memory leak.
2880 2016-04-08 Dan Gisselquist <dgisselq@ieee.org>
2882 * ldlang.c (print_output_section_statement): Show minfo size
2883 in target machine address units.
2884 (print_reloc_statement): Likewise.
2885 (print_padding_statement): Likewise.
2886 (print_data_statement): Likewise. Ensure minimum print_dot
2887 increment of one address unit.
2889 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2891 * emulparams/arc-endianness.sh: Make little endian default choice.
2893 2016-04-07 Nick Clifton <nickc@redhat.com>
2895 * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in
2897 * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise.
2899 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
2901 * emulparams/arc-endianness.sh: New file.
2902 * emulparams/arcebelf.sh: Deleted.
2903 * emulparams/arcebelf_prof.sh: Deleted.
2904 * emulparams/arceblinux.sh: Deleted.
2905 * emulparams/arceblinux_prof.sh: Deleted.
2906 * emulparams/arcelf.sh: Include arc-endinness.sh.
2907 * emulparams/arcelf_prof.sh: Include arc-endinness.sh.
2908 * emulparams/arclinux.sh: Include arc-endinness.sh.
2909 * emulparams/arclinux_prof.sh: Include arc-endinness.sh.
2910 * emulparams/arcv2elf.sh: Include arc-endinness.sh.
2911 * emulparams/arcv2elfx.sh: Include arc-endinness.sh.
2912 * testsuite/ld-elf/compressed1d.d: Update pattern for big and
2913 little endian arc targets.
2914 * testsuite/ld-elf/eh-frame-hdr.d: Likewise.
2915 * testsuite/ld-elf/group1.d: Likewise.
2916 * testsuite/ld-elf/group3b.d: Likewise.
2917 * testsuite/ld-elf/group8a.d: Likewise.
2918 * testsuite/ld-elf/group8b.d: Likewise.
2919 * testsuite/ld-elf/group9a.d: Likewise.
2920 * testsuite/ld-elf/group9b.d: Likewise.
2921 * testsuite/ld-elf/linkonce2.d: Likewise.
2922 * testsuite/ld-elf/pr12851.d: Likewise.
2923 * testsuite/ld-elf/pr12975.d: Likewise.
2924 * testsuite/ld-elf/pr13177.d: Likewise.
2925 * testsuite/ld-elf/pr13195.d: Likewise.
2926 * testsuite/ld-elf/pr17615.d: Likewise.
2927 * testsuite/ld-elf/pr19162.d: Likewise.
2928 * testsuite/ld-elf/sec64k.exp: Likewise.
2929 * testsuite/lib/ld-lib.exp: Likewise.
2931 2016-04-05 Maciej W. Rozycki <macro@imgtec.com>
2934 * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol
2936 * testsuite/ld-cris/tls-e-20a.d: Likewise.
2937 * testsuite/ld-cris/tls-e-21.d: Likewise.
2938 * testsuite/ld-cris/tls-e-23.d: Likewise.
2939 * testsuite/ld-cris/tls-e-80.d: Likewise.
2940 * testsuite/ld-cris/tls-gd-3h.d: Likewise.
2941 * testsuite/ld-cris/tls-leie-19.d: Likewise.
2942 * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test.
2943 * testsuite/ld-mips-elf/export-hidden-ref.sd: New test.
2944 * testsuite/ld-mips-elf/export-internal-ref.sd: New test.
2945 * testsuite/ld-mips-elf/export-protected-ref.sd: New test.
2946 * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source.
2947 * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source.
2948 * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source.
2949 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2951 2016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
2953 * testsuite/ld-discard/extern.d: Removed xfail for ARC.
2954 * testsuite/ld-discard/start.d: Likewise.
2955 * testsuite/ld-discard/static.d: Likewise.
2956 * testsuite/ld-elf/group1.d: Likewise.
2957 * testsuite/ld-elf/group3b.d: Likewise.
2958 * testsuite/ld-elf/orphan-region.d: Likewise.
2959 * testsuite/ld-elf/orphan.d: Likewise.
2960 * testsuite/ld-elf/orphan3.d: Likewise.
2961 * testsuite/ld-elf/pr349.d: Likewise.
2962 * testsuite/ld-elf/warn1.d: Likewise.
2963 * testsuite/ld-elf/warn2.d: Likewise.
2964 * testsuite/ld-elf/warn3.d: Likewise.
2965 * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol
2966 through linker flags.
2967 * testsuite/ld-srec/srec.exp: Set as xfail.
2969 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
2972 * testsuite/ld-i386/pr19827-nacl.rd: New file.
2973 * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
2975 2016-04-04 Nick Clifton <nickc@redhat.com>
2978 * emultempl/pe.em (change_undef): New function. Encapsulates
2979 duplicated code in pe_fixup_stdcalls and adds the newly defined
2980 sym to the gc root list.
2981 (pe_fixup_stdcall): Use the new function.
2982 * pe-dll.c (process_def_file_and_drectve); Add alias of exported
2983 symbol to gc root list.
2985 2016-03-31 Alan Modra <amodra@gmail.com>
2987 * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.
2988 (lang_insert_orphan): Use TO_ADDR in __stop sym calculation.
2989 (print_input_section): Don't use TO_ADDR when printing section
2991 (lang_size_sections_1): Use TO_ADDR in overlay lma calculation.
2992 (lang_size_sections): Use TO_ADDR in relro end calculation.
2994 2016-03-30 Andrew Burgess <andrew.burgess@embecosm.com>
2996 * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return
2997 value from regexp_diff.
2998 * testsuite/ld-elf/orphan-5.l: Fix expected output.
2999 * testsuite/ld-elf/orphan-6.l: Likewise.
3001 2016-03-30 Alan Modra <amodra@gmail.com>
3004 * ldlang.c (maybe_overlays): New static var.
3005 (lang_size_sections_1): Set it here.
3006 (struct check_sec): New.
3007 (sort_sections_by_lma): Adjust for array of structs.
3008 (sort_sections_by_vma): New function.
3009 (lang_check_section_addresses): Check both LMA and VMA for overlap.
3010 * testsuite/ld-scripts/rgn-over7.d: Adjust.
3012 2016-03-30 Alan Modra <amodra@gmail.com>
3014 * ldlang.c (lang_size_sections_1): Correct code detecting a
3015 backward non-overlapping move.
3017 2016-03-30 Alan Modra <amodra@gmail.com>
3019 * ldlang.c (IS_TBSS): New macro, extracted from..
3020 (IGNORE_SECTION): ..here.
3021 (lang_size_sections_1): Use IS_TBSS and IGNORE_SECTION.
3022 (lang_size_sections, lang_do_assignments_1): Use IS_TBSS.
3024 2016-03-22 Nick Clifton <nickc@redhat.com>
3027 * ldlang.c (lang_add_gc_name): New function. Adds the provided
3028 symbol name to the list of gc symbols.
3029 (lang_process): Call lang_add_gc_name with entry_symbol_default if
3030 entry_symbol.name is NULL. Use lang_add_gc_name to add the init
3031 and fini function names.
3032 * pe-dll.c (process_def_file_and_drectve): Add exported names to
3034 * testsuite/ld-pe/pr19803.s: Do not export _testval symbol.
3035 * testsuite/ld-pe/pr19803.d: Tweak expected output.
3037 2016-03-22 Nick Clifton <nickc@redhat.com>
3039 * configure: Regenerate.
3041 2016-03-21 Nick Clifton <nickc@redhat.com>
3043 * emultempl/msp430.em: Replace use of alloca with call to xmalloc.
3044 * plugin.c: Likewise.
3045 * pe-dll.c: Likewise.
3047 2016-03-18 Awson <kyrab@mail.ru>
3050 * scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
3052 * scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.
3054 2016-03-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
3056 * ld-avr/gc-section-debugline.d: Relax regex check for CU.
3058 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
3061 * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests.
3062 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3063 * testsuite/ld-i386/pr19827.rd: New file.
3064 * testsuite/ld-i386/pr19827a.S: Likewise.
3065 * testsuite/ld-i386/pr19827b.S: Likewise.
3066 * testsuite/ld-x86-64/pr19827.rd: Likewise.
3067 * testsuite/ld-x86-64/pr19827a.S: Likewise.
3068 * testsuite/ld-x86-64/pr19827b.S: Likewise.
3070 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
3073 * Makefile.am (ELF_X86_DEPS): Add
3074 $(srcdir)/emulparams/reloc_overflow.sh.
3075 * Makefile.in: Regenerated.
3076 * NEWS: Mention -z noreloc-overflow.
3077 * ld.texinfo: Document -z noreloc-overflow.
3078 * emulparams/elf32_x86_64.sh: Source
3079 ${srcdir}/emulparams/reloc_overflow.sh.
3080 * emulparams/elf_x86_64.sh: Likewise.
3081 * emulparams/reloc_overflow.sh: New file.
3082 * testsuite/ld-x86-64/pr19807-1.s: New file.
3083 * testsuite/ld-x86-64/pr19807-1a.d: Likewise.
3084 * testsuite/ld-x86-64/pr19807-1b.d: Likewise.
3085 * testsuite/ld-x86-64/pr19807-2.s: Likewise.
3086 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
3087 * testsuite/ld-x86-64/pr19807-2b.d: Likewise.
3088 * testsuite/ld-x86-64/pr19807-2c.d: Likewise.
3089 * testsuite/ld-x86-64/pr19807-2d.d: Likewise.
3090 * testsuite/ld-x86-64/pr19807-2e.d: Likewise.
3091 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19807 tests.
3093 2016-03-13 H.J. Lu <hongjiu.lu@intel.com>
3096 * testsuite/ld-i386/i386.exp: Run pr19539.
3097 * testsuite/ld-i386/pr19539.d: New file.
3098 * testsuite/ld-i386/pr19539.s: Likewise.
3099 * testsuite/ld-i386/pr19539.t: Likewise.
3100 * testsuite/ld-x86-64/pr19539.s: Likewise.
3101 * testsuite/ld-x86-64/pr19539.t: Likewise.
3102 * testsuite/ld-x86-64/pr19539a.d: Likewise.
3103 * testsuite/ld-x86-64/pr19539b.d: Likewise.
3104 * testsuite/ld-x86-64/x86-64.exp: Run pr19539a and pr19539b.
3106 2016-03-10 Mickael Guene <mickael.guene@st.com>
3109 * testsuite/ld-arm/arm-elf.exp: New tests.
3110 * testsuite/ld-arm/thumb1-adds-armv7-m.s: New.
3111 * testsuite/ld-arm/thumb1-movs-armv7-m.s: New.
3113 2016-03-10 Nick Clifton <nickc@redhat.com>
3115 * scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).
3117 2016-03-09 Pedro Alves <palves@redhat.com>
3119 * scripttempl/v850.sc: Use "v850:old-gcc-abi" as OUTPUT_ARCH.
3120 * scripttempl/v850_rh850.sc: Use "v850:rh850" as OUTPUT_ARCH.
3122 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
3125 * testsuite/ld-elf/pr19789.d: New file.
3126 * testsuite/ld-elf/pr19789.s: Likewise.
3128 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
3131 * testsuite/ld-i386/i386.exp: Remove pr19636-2e-nacl test.
3132 * testsuite/ld-i386/pr19636-2e-nacl.d: Moved to ...
3133 * testsuite/ld-i386/pr19636-2e.d: Here. Remove notarget.
3134 * testsuite/ld-ifunc/ifunc.exp: Run PR ld/19784 tests.
3135 * testsuite/ld-ifunc/pass.out: New file.
3136 * testsuite/ld-ifunc/pr19784a.c: Likewise.
3137 * testsuite/ld-ifunc/pr19784b.c: Likewise.
3138 * testsuite/ld-ifunc/pr19784c.c: Likewise.
3140 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
3143 * testsuite/ld-ifunc/ifunc.exp: Link tmpdir/pr18808a.o before
3144 tmpdir/libpr18808.so. Link tmpdir/pr18841a.o before
3145 tmpdir/libpr18841b.so and tmpdir/libpr18841c.so. Test
3146 --as-needed for pr18841c.
3148 2016-03-07 H.J. Lu <hongjiu.lu@intel.com>
3151 * testsuite/ld-i386/i386.exp: Link tmpdir/pr18900.o before
3152 tmpdir/pr18900.so and test --as-needed. Link tmpdir/gotpc1.o
3153 before tmpdir/got1d.so and test --as-needed.
3154 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr18900.o before
3155 tmpdir/pr18900.so and test --as-needed.
3157 2016-03-07 Jiong Wang <jiong.wang@arm.com>
3159 * testsuite/ld-aarch64/implicit_got_section_1.s: New test source file.
3160 * testsuite/ld-aarch64/implicit_got_section_1.d: New test expected
3162 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
3164 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
3166 * testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o
3167 before tmpdir/copyreloc-lib.so and test --as-needed.
3168 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3170 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
3173 * testsuite/ld-elf/pr19579a.c: New file.
3174 * testsuite/ld-elf/pr19579b.c: Likewise.
3175 * testsuite/ld-elf/shared.exp: Run PR ld/19579 test.
3177 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
3179 * testsuite/ld-elf/pr19162.d: Skip hppa-*-*.
3181 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
3183 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Add xfails.
3184 Xfail mix_pic_and_non_pic on "arm*-*-*" "aarch64*-*-*".
3186 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
3189 * emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other
3190 input sections for relocatable link.
3191 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
3192 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
3194 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
3197 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
3198 merge flags of other input sections for relocatable link.
3200 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
3202 * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6.
3204 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
3206 * testsuite/ld-elf/pr19162.d: Skip arc target.
3208 2016-02-29 H.J. Lu <hongjiu.lu@intel.com>
3211 * testsuite/ld-elf/pr19162.d: New file.
3212 * testsuite/ld-elf/pr19162a.s: Likwise.
3213 * testsuite/ld-elf/pr19162b.s: Likwise.
3215 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
3217 * testsuite/ld-elf/merge.d: Removed xfail for ARC.
3218 * testsuite/ld-elf/merge2.d: Likewise.
3219 * testsuite/ld-elf/merge3.d: Likewise.
3221 2016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
3223 * scripttempl/arclinux.sc: Force .tdata and .tbss to always be
3226 2016-02-26 Renlin Li <renlin.li@arm.com>
3228 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
3229 * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
3230 * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
3231 * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
3232 * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
3233 * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
3234 * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
3235 * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
3236 * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
3237 * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.
3239 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3242 * testsuite/ld-i386/got1.dd: Updated.
3243 * testsuite/ld-i386/lea1c.d: Likewise.
3244 * testsuite/ld-i386/load1-nacl.d: Likewise.
3245 * testsuite/ld-i386/load1.d: Likewise.
3246 * testsuite/ld-i386/load4b.d: Likewise.
3247 * testsuite/ld-i386/load5b.d: Likewise.
3248 * testsuite/ld-i386/mov1b.d: Likewise.
3249 * testsuite/ld-x86-64/mov1b.d: Likewise.
3250 * testsuite/ld-x86-64/mov1d.d: Likewise.
3251 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
3252 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
3253 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
3254 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
3255 * testsuite/ld-x86-64/gotpcrel1.dd: Likewise.
3256 * testsuite/ld-x86-64/lea1a.d: Likewise.
3257 * testsuite/ld-x86-64/lea1b.d: Likewise.
3258 * testsuite/ld-x86-64/lea1c.d: Likewise.
3259 * testsuite/ld-x86-64/lea1d.d: Likewise.
3260 * testsuite/ld-x86-64/lea1e.d: Likewise.
3261 * testsuite/ld-x86-64/lea1f.d: Likewise.
3262 * testsuite/ld-x86-64/mov1b.d: Likewise.
3263 * testsuite/ld-x86-64/mov1d.d: Likewise.
3264 * testsuite/ld-x86-64/pr13082-3b.d: Likewise.
3265 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
3266 * testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
3267 * testsuite/ld-i386/pr19609-1.s: New file.
3268 * testsuite/ld-i386/pr19609-1a.d: Likewise.
3269 * testsuite/ld-i386/pr19609-1b.d: Likewise.
3270 * testsuite/ld-i386/pr19609-1c.d: Likewise.
3271 * testsuite/ld-i386/pr19609-1d.d: Likewise.
3272 * testsuite/ld-i386/pr19609-1e.d: Likewise.
3273 * testsuite/ld-i386/pr19609-1f.d: Likewise.
3274 * testsuite/ld-i386/pr19609-1g.d: Likewise.
3275 * testsuite/ld-i386/pr19609-1h.d: Likewise.
3276 * testsuite/ld-i386/pr19609-1i.d: Likewise.
3277 * testsuite/ld-i386/pr19609-2.s: Likewise.
3278 * testsuite/ld-i386/pr19609-2a.d: Likewise.
3279 * testsuite/ld-i386/pr19609-2b.d: Likewise.
3280 * testsuite/ld-i386/pr19609-2c.d: Likewise.
3281 * testsuite/ld-i386/undefweak.s: Likewise.
3282 * testsuite/ld-i386/undefweaka.d: Likewise.
3283 * testsuite/ld-i386/undefweakb.d: Likewise.
3284 * testsuite/ld-x86-64/pr13082-3c.d: Likewise.
3285 * testsuite/ld-x86-64/pr13082-3d.d: Likewise.
3286 * testsuite/ld-x86-64/pr19609-1.s: Likewise.
3287 * testsuite/ld-x86-64/pr19609-1a.d: Likewise.
3288 * testsuite/ld-x86-64/pr19609-1b.d: Likewise.
3289 * testsuite/ld-x86-64/pr19609-1c.d: Likewise.
3290 * testsuite/ld-x86-64/pr19609-1d.d: Likewise.
3291 * testsuite/ld-x86-64/pr19609-1e.d: Likewise.
3292 * testsuite/ld-x86-64/pr19609-1f.d: Likewise.
3293 * testsuite/ld-x86-64/pr19609-1g.d: Likewise.
3294 * testsuite/ld-x86-64/pr19609-1h.d: Likewise.
3295 * testsuite/ld-x86-64/pr19609-1i.d: Likewise.
3296 * testsuite/ld-x86-64/pr19609-1j.d: Likewise.
3297 * testsuite/ld-x86-64/pr19609-1k.d: Likewise.
3298 * testsuite/ld-x86-64/pr19609-1l.d: Likewise.
3299 * testsuite/ld-x86-64/pr19609-1m.d: Likewise.
3300 * testsuite/ld-x86-64/pr19609-2.s: Likewise.
3301 * testsuite/ld-x86-64/pr19609-2a.d: Likewise.
3302 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
3303 * testsuite/ld-x86-64/pr19609-2c.d: Likewise.
3304 * testsuite/ld-x86-64/pr19609-2d.d: Likewise.
3305 * testsuite/ld-x86-64/pr19609-3.s: Likewise.
3306 * testsuite/ld-x86-64/pr19609-3a.d: Likewise.
3307 * testsuite/ld-x86-64/pr19609-3b.d: Likewise.
3308 * testsuite/ld-x86-64/pr19609-4.s: Likewise.
3309 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
3310 * testsuite/ld-x86-64/pr19609-4b.d: Likewise.
3311 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
3312 * testsuite/ld-x86-64/pr19609-4d.d: Likewise.
3313 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
3314 * testsuite/ld-x86-64/pr19609-5.s: Likewise.
3315 * testsuite/ld-x86-64/pr19609-5a.d: Likewise.
3316 * testsuite/ld-x86-64/pr19609-5b.d: Likewise.
3317 * testsuite/ld-x86-64/pr19609-5c.d: Likewise.
3318 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
3319 * testsuite/ld-x86-64/pr19609-5e.d: Likewise.
3320 * testsuite/ld-x86-64/pr19609-6.s: Likewise.
3321 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
3322 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
3323 * testsuite/ld-x86-64/pr19609-6c.d: Likewise.
3324 * testsuite/ld-x86-64/pr19609-6d.d: Likewise.
3325 * testsuite/ld-x86-64/pr19609-7.s: Likewise.
3326 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
3327 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
3328 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
3329 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
3330 * testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
3332 * testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
3333 and tests for PR ld/19609.
3335 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3338 * NEWS: Mention -z common/-z nocommon for ELF targets.
3339 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
3340 -z common and -z nocommon.
3341 * ld.texinfo: Document -z common/-z nocommon.
3342 * lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
3343 * testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
3344 --elf-stt-common=yes with assembler.
3345 * testsuite/ld-elfcomm/common-1.s: New file.
3346 * testsuite/ld-elfcomm/common-1a.d: Likewise.
3347 * testsuite/ld-elfcomm/common-1b.d: Likewise.
3348 * testsuite/ld-elfcomm/common-1c.d: Likewise.
3349 * testsuite/ld-elfcomm/common-1d.d: Likewise.
3350 * testsuite/ld-elfcomm/common-1e.d: Likewise.
3351 * testsuite/ld-elfcomm/common-1f.d: Likewise.
3352 * testsuite/ld-elfcomm/common-2.s: Likewise.
3353 * testsuite/ld-elfcomm/common-2a.d: Likewise.
3354 * testsuite/ld-elfcomm/common-2b.d: Likewise.
3355 * testsuite/ld-elfcomm/common-2c.d: Likewise.
3356 * testsuite/ld-elfcomm/common-2d.d: Likewise.
3357 * testsuite/ld-elfcomm/common-2e.d: Likewise.
3358 * testsuite/ld-elfcomm/common-2f.d: Likewise.
3359 * testsuite/ld-elfcomm/common-3a.rd: Likewise.
3360 * testsuite/ld-elfcomm/common-3b.rd: Likewise.
3361 * testsuite/ld-i386/pr19645.d: Likewise.
3362 * testsuite/ld-i386/pr19645.s: Likewise.
3363 * testsuite/ld-x86-64/largecomm-1.s: Likewise.
3364 * testsuite/ld-x86-64/largecomm-1a.d: Likewise.
3365 * testsuite/ld-x86-64/largecomm-1b.d: Likewise.
3366 * testsuite/ld-x86-64/largecomm-1c.d: Likewise.
3367 * testsuite/ld-x86-64/largecomm-1d.d: Likewise.
3368 * testsuite/ld-x86-64/largecomm-1e.d: Likewise.
3369 * testsuite/ld-x86-64/largecomm-1f.d: Likewise.
3370 * testsuite/ld-x86-64/pr19645.d: Likewise.
3371 * testsuite/ld-x86-64/pr19645.s: Likewise.
3372 * testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
3374 (assembler_generates_commons): Removed.
3375 Run -z common/-z nocommon tests. Run *.d tests.
3376 * testsuite/ld-i386/i386.exp: Run pr19645.
3377 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3378 * testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
3379 assembler. Test STT_COMMON with readelf.
3381 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3386 * Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh.
3387 * Makefile.in: Regenerated.
3388 * NEWS: Mention -z nodynamic-undefined-weak.
3389 * ld.texinfo: Document -z nodynamic-undefined-weak.
3390 * ldmain.c (main): Initialize dynamic_undefined_weak to -1.
3391 * emulparams/dynamic_undefined_weak.sh: New file.
3392 * emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh.
3393 * emulparams/elf_i386.sh: Likewise.
3394 * emulparams/elf_i386_be.sh: Likewise.
3395 * emulparams/elf_i386_chaos.sh: Likewise.
3396 * emulparams/elf_i386_ldso.sh: Likewise.
3397 * emulparams/elf_i386_vxworks.sh: Likewise.
3398 * emulparams/elf_iamcu.sh: Likewise.
3399 * emulparams/elf_k1om.sh: Likewise.
3400 * emulparams/elf_l1om.sh: Likewise.
3401 * emulparams/elf_x86_64.sh: Likewise.
3402 * emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS):
3404 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
3405 * testsuite/ld-elf/pr19719a.c: New file.
3406 * testsuite/ld-elf/pr19719b.c: Likewise.
3407 * testsuite/ld-elf/pr19719c.c: Likewise.
3408 * testsuite/ld-elf/pr19719d.c: Likewise.
3409 * testsuite/ld-i386/pr19636-1.s: Likewise.
3410 * testsuite/ld-i386/pr19636-1a.d: Likewise.
3411 * testsuite/ld-i386/pr19636-1b.d: Likewise.
3412 * testsuite/ld-i386/pr19636-1c.d: Likewise.
3413 * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
3414 * testsuite/ld-i386/pr19636-1d.d: Likewise.
3415 * testsuite/ld-i386/pr19636-1e.d: Likewise.
3416 * testsuite/ld-i386/pr19636-1f.d: Likewise.
3417 * testsuite/ld-i386/pr19636-1g.d: Likewise.
3418 * testsuite/ld-i386/pr19636-1h.d: Likewise.
3419 * testsuite/ld-i386/pr19636-1i.d: Likewise.
3420 * testsuite/ld-i386/pr19636-2.s: Likewise.
3421 * testsuite/ld-i386/pr19636-2a.d: Likewise.
3422 * testsuite/ld-i386/pr19636-2b.d: Likewise.
3423 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
3424 * testsuite/ld-i386/pr19636-2c.d: Likewise.
3425 * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
3426 * testsuite/ld-i386/pr19636-2d.d: Likewise.
3427 * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
3428 * testsuite/ld-i386/pr19636-2e.d: Likewise.
3429 * testsuite/ld-i386/pr19636-3.s: Likewise.
3430 * testsuite/ld-i386/pr19636-3a.d: Likewise.
3431 * testsuite/ld-i386/pr19636-3b.d: Likewise.
3432 * testsuite/ld-i386/pr19636-3c.d: Likewise.
3433 * testsuite/ld-i386/pr19636-3d.d: Likewise.
3434 * testsuite/ld-i386/pr19636-3e.d: Likewise.
3435 * testsuite/ld-i386/pr19636-3f.d: Likewise.
3436 * testsuite/ld-i386/pr19636-3g.d: Likewise.
3437 * testsuite/ld-i386/pr19636-4.s: Likewise.
3438 * testsuite/ld-i386/pr19636-4a.d: Likewise.
3439 * testsuite/ld-i386/pr19636-4b.d: Likewise.
3440 * testsuite/ld-i386/pr19636-4c.d: Likewise.
3441 * testsuite/ld-i386/pr19636-4d.d: Likewise.
3442 * testsuite/ld-i386/pr19704.out: Likewise.
3443 * testsuite/ld-i386/pr19704a.c: Likewise.
3444 * testsuite/ld-i386/pr19704b.c: Likewise.
3445 * testsuite/ld-x86-64/pr19636-1.s: Likewise.
3446 * testsuite/ld-x86-64/pr19636-1a.d: Likewise.
3447 * testsuite/ld-x86-64/pr19636-1b.d: Likewise.
3448 * testsuite/ld-x86-64/pr19636-1c.d: Likewise.
3449 * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
3450 * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
3451 * testsuite/ld-x86-64/pr19636-1f.d: Likewise.
3452 * testsuite/ld-x86-64/pr19636-1g.d: Likewise.
3453 * testsuite/ld-x86-64/pr19636-2.s: Likewise.
3454 * testsuite/ld-x86-64/pr19636-2a.d: Likewise.
3455 * testsuite/ld-x86-64/pr19636-2b.d: Likewise.
3456 * testsuite/ld-x86-64/pr19636-2c.d: Likewise.
3457 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
3458 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
3459 * testsuite/ld-x86-64/pr19636-2e.d: Likewise.
3460 * testsuite/ld-x86-64/pr19636-2f.d: Likewise.
3461 * testsuite/ld-x86-64/pr19636-2g.d: Likewise.
3462 * testsuite/ld-x86-64/pr19636-2h.d: Likewise.
3463 * testsuite/ld-x86-64/pr19636-2i.d: Likewise.
3464 * testsuite/ld-x86-64/pr19636-3.s: Likewise.
3465 * testsuite/ld-x86-64/pr19636-3a.d: Likewise.
3466 * testsuite/ld-x86-64/pr19636-3b.d: Likewise.
3467 * testsuite/ld-x86-64/pr19636-3c.d: Likewise.
3468 * testsuite/ld-x86-64/pr19636-3d.d: Likewise.
3469 * testsuite/ld-x86-64/pr19704.out: Likewise.
3470 * testsuite/ld-x86-64/pr19704a.c: Likewise.
3471 * testsuite/ld-x86-64/pr19704b.c: Likewise.
3472 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New.
3473 Run mix_pic_and_non_pic.
3474 * testsuite/ld-i386/i386.exp (undefined_weak): New.
3475 Run undefined_weak and PR ld/19636 tests.
3476 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3477 * testsuite/ld-x86-64/pr13082-3b.d: Updated.
3478 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
3480 2016-02-25 Nick Clifton <nickc@redhat.com>
3482 * ld.h (struct ld_config_type): Remove specified_data_size field.
3484 2016-02-24 H.J. Lu <hongjiu.lu@intel.com>
3487 * testsuite/ld-elf/pr19698.d: New file.
3488 * testsuite/ld-elf/pr19698.s: Likewise.
3489 * testsuite/ld-elf/pr19698.t: Likewise.
3491 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
3493 * Makefile.am (ELF_X86_DEPS): New.
3494 (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS).
3495 (eelf_i386_chaos.c): Likewise.
3496 (eelf_i386_fbsd.c): Likewise.
3497 (eelf_i386_ldso.c): Likewise.
3498 (eelf_i386_nacl.c): Likewise.
3499 (eelf_i386_sol2.c): Likewise.
3500 (eelf_iamcu.c): Likewise.
3501 (eelf32_x86_64.c): Likewise.
3502 (eelf32_x86_64_nacl.c): Likewise.
3503 (eelf_l1om.c): Likewise.
3504 (eelf_l1om_fbsd.c): Likewise.
3505 (eelf_k1om.c): Likewise.
3506 (eelf_k1om_fbsd.c): Likewise.
3507 (eelf_x86_64.c): Likewise.
3508 (eelf_x86_64_cloudabi.c): Likewise.
3509 (eelf_x86_64_fbsd.c): Likewise.
3510 (eelf_x86_64_sol2.c): Likewise.
3511 * Makefile.in: Regenerated.
3513 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
3515 * testsuite/ld-frv/fdpic-pie-6.d: Updated.
3516 * testsuite/ld-mips-elf/pie-n32.d: Likewise.
3517 * testsuite/ld-mips-elf/pie-n64.d: Likewise.
3518 * testsuite/ld-mips-elf/pie-o32.d: Likewise.
3520 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
3522 * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
3524 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
3526 * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
3527 *-*-gnu* and *-*-solaris*.
3528 * testsuite/ld-elf/pr19617b.d: Likewise.
3529 * testsuite/ld-elf/pr19617c.d: Likewise.
3531 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
3534 * testsuite/ld-elf/pr19617.s: New file.
3535 * testsuite/ld-elf/pr19617a.d: Likewise.
3536 * testsuite/ld-elf/pr19617b.d: Likewise.
3537 * testsuite/ld-elf/pr19617c.d: Likewise.
3539 2016-02-18 Nick Clifton <nickc@redhat.com>
3541 * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
3542 in-tree xg++ executable after checking for the presence of an
3543 in-tree g++ executable.
3544 * Makefile.in: Regenerate.
3546 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
3548 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
3549 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
3550 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
3552 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
3554 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
3555 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
3556 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
3557 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
3558 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
3559 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
3560 * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
3561 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
3562 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
3563 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
3564 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
3565 * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
3566 * testsuite/ld-x86-64/load1c.d: Likewise.
3567 * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
3568 * testsuite/ld-x86-64/load1d.d: Likewise.
3569 * testsuite/ld-x86-64/pr14207.d: Likewise.
3570 * testsuite/ld-x86-64/pr19162.d: Likewise.
3571 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
3572 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
3573 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
3574 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
3575 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
3576 * testsuite/ld-x86-64/tlspic.rd: Likewise.
3578 2016-02-17 Nick Clifton <nickc@redhat.com>
3580 * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
3582 2016-02-15 Nick Clifton <nickc@redhat.com>
3584 * testsuite/ld-i386/pr12718.d: Remove dependency upon the
3585 description of the flags produced by readelf.
3586 * testsuite/ld-i386/pr12921.d: Likewise.
3587 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
3588 * testsuite/ld-i386/tlsbin.rd: Likewise.
3589 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
3590 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
3591 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
3592 * testsuite/ld-i386/tlsdesc.rd: Likewise.
3593 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
3594 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
3595 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
3596 * testsuite/ld-i386/tlsnopic.rd: Likewise.
3597 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
3598 * testsuite/ld-i386/tlspic.rd: Likewise.
3599 * testsuite/ld-s390/tlsbin.rd: Likewise.
3600 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
3601 * testsuite/ld-s390/tlspic.rd: Likewise.
3602 * testsuite/ld-s390/tlspic_64.rd: Likewise.
3603 * testsuite/ld-sh/tlsbin-2.d: Likewise.
3604 * testsuite/ld-sh/tlspic-2.d: Likewise.
3605 * testsuite/ld-tic6x/common.d: Likewise.
3606 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
3607 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
3608 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
3609 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
3610 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
3611 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
3612 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
3613 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
3614 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
3615 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
3616 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
3617 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
3618 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
3619 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
3620 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
3621 * testsuite/ld-x86-64/pr12718.d: Likewise.
3622 * testsuite/ld-x86-64/pr12921.d: Likewise.
3623 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
3624 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
3625 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
3626 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
3627 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
3628 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
3629 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
3630 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
3631 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
3632 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
3633 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
3634 * testsuite/ld-x86-64/tlspic.rd: Likewise.
3635 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
3636 * testsuite/ld-xtensa/tlspic.rd: Likewise.
3638 2016-02-11 H.J. Lu <hongjiu.lu@intel.com>
3641 * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
3643 * lexsup.c (parse_args): Enable -Bsymbolic and
3644 -Bsymbolic-functions for PIE.
3645 * testsuite/ld-i386/i386.exp: Run pr19615.
3646 * testsuite/ld-i386/pr19615.d: New file.
3647 * testsuite/ld-i386/pr19615.s: Likewise.
3648 * testsuite/ld-x86-64/pr19615.d: Likewise.
3649 * testsuite/ld-x86-64/pr19615.s: Likewise.
3651 2016-02-09 Nick Clifton <nickc@redhat.com>
3653 * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
3654 * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
3655 * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
3656 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
3658 2016-02-04 Nick Clifton <nickc@redhat.com>
3660 * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
3661 * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
3662 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
3663 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
3664 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
3665 * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
3666 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
3667 * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
3668 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
3670 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
3673 * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
3674 * testsuite/ld-i386/call1.d: Likewise.
3675 * testsuite/ld-i386/call2.d: Likewise.
3676 * testsuite/ld-i386/call3a.d: Likewise.
3677 * testsuite/ld-i386/call3b.d: Likewise.
3678 * testsuite/ld-i386/call3c.d: Likewise.
3679 * testsuite/ld-i386/call3d.d: Likewise.
3680 * testsuite/ld-i386/call3e.d: Likewise.
3681 * testsuite/ld-i386/call3f.d: Likewise.
3682 * testsuite/ld-i386/call3g.d: Likewise.
3683 * testsuite/ld-i386/call3h.d: Likewise.
3684 * testsuite/ld-i386/jmp1.d: Likewise.
3685 * testsuite/ld-i386/jmp2.d: Likewise.
3686 * testsuite/ld-i386/lea1c.d: Likewise.
3687 * testsuite/ld-i386/load1.d: Likewise.
3688 * testsuite/ld-i386/load2.d: Likewise.
3689 * testsuite/ld-i386/load3.d: Likewise.
3690 * testsuite/ld-i386/load4a.d: Likewise.
3691 * testsuite/ld-i386/load5a.d: Likewise.
3692 * testsuite/ld-i386/mov2b.d: Likewise.
3693 * testsuite/ld-i386/mov3.d: Likewise.
3694 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
3695 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
3696 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
3697 * testsuite/ld-x86-64/call1a.d: Likewise.
3698 * testsuite/ld-x86-64/call1b.d: Likewise.
3699 * testsuite/ld-x86-64/call1c.d: Likewise.
3700 * testsuite/ld-x86-64/call1d.d: Likewise.
3701 * testsuite/ld-x86-64/call1e.d: Likewise.
3702 * testsuite/ld-x86-64/call1f.d: Likewise.
3703 * testsuite/ld-x86-64/call1h.d: Likewise.
3704 * testsuite/ld-x86-64/call1i.d: Likewise.
3705 * testsuite/ld-x86-64/load1a.d: Likewise.
3706 * testsuite/ld-x86-64/load1b.d: Likewise.
3707 * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
3708 * testsuite/ld-i386/got1.dd: Updated.
3709 * testsuite/ld-i386/got1d.S (1): Removed.
3710 * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
3711 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3713 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
3716 * testsuite/ld-x86-64/pr18591.d: New file.
3717 * testsuite/ld-x86-64/pr18591.s: Likewise.
3718 * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
3720 2016-02-01 H.J. Lu <hongjiu.lu@intel.com>
3723 * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
3724 * testsuite/ld-elf/pr19553.map: New file.
3725 * testsuite/ld-elf/pr19553.map: Likewise.
3726 * testsuite/ld-elf/pr19553a.c: Likewise.
3727 * testsuite/ld-elf/pr19553b.c: Likewise.
3728 * testsuite/ld-elf/pr19553b.out: Likewise.
3729 * testsuite/ld-elf/pr19553c.c: Likewise.
3730 * testsuite/ld-elf/pr19553c.out: Likewise.
3731 * testsuite/ld-elf/pr19553d.c: Likewise.
3732 * testsuite/ld-elf/pr19553d.out: Likewise.
3734 2016-01-30 H.J. Lu <hongjiu.lu@intel.com>
3737 * testsuite/ld-elf/pr19539.d: New file.
3738 * testsuite/ld-elf/pr19539.s: Likewise.
3739 * testsuite/ld-elf/pr19539.t: Likewise.
3741 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
3744 * configure.ac (compressed_debug_sections): Replace == with =.
3745 * configure: Regenerated.
3747 2016-01-22 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
3749 * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
3750 * scripttempl/avrtiny.sc (.noinit): Likewise.
3752 2016-01-21 Nick Clifton <nickc@redhat.com>
3755 * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
3756 the arm-netbsdelf target.
3759 * testsuite/ld-arm/vxworks1-lib.dd: Update for current
3760 disassmebler output.
3761 * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
3762 * testsuite/ld-arm/vxworks1.dd: Likewise.
3763 * testsuite/ld-arm/vxworks1.rd: Likewise.
3764 * testsuite/ld-arm/vxworks1.ld: Set the output format.
3766 2016-01-20 Jiong Wang <jiong.wang@arm.com>
3768 * testsuite/ld-aarch64/farcall-section.d: Delete.
3769 * testsuite/ld-aarch64/farcall-section.s: Delete.
3770 * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
3771 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
3772 * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
3773 * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
3774 * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
3776 2016-01-20 Nick Clifton <nickc@redhat.com>
3779 * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
3780 early for PE based targets.
3781 * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
3782 * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
3784 2016-01-20 Mickael Guene <mickael.guene@st.com>
3786 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
3787 Add 'y' attribute usage.
3788 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
3789 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
3790 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
3792 2016-01-19 Nick Clifton <nickc@redhat.com>
3794 * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
3795 foo@FOO and bar@@FOO.
3797 2016-01-18 Alan Modra <amodra@gmail.com>
3799 * configure: Regenerate.
3801 2016-01-18 Nick Clifton <nickc@redhat.com>
3803 * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
3804 is not configured to support plugins.
3806 * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
3807 but with 16 byte section alignment.
3808 * testsuite/ld-scripts/rgn-at11.d: Use new source file. Reenable
3809 test for MIPS targets.
3811 2016-01-17 Alan Modra <amodra@gmail.com>
3813 * configure: Regenerate.
3815 2016-01-17 Alan Modra <amodra@gmail.com>
3817 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
3818 * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
3819 * testsuite/ld-elf/pr14156a.d: Likewise.
3820 * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
3821 * testsuite/ld-elf/sec64k.exp: Likewise.
3823 2016-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
3825 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
3826 Set address of .foo section when linking.
3827 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
3829 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
3830 output to the above changes.
3832 2016-01-13 Nick Clifton <nickc@redhat.com>
3834 * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
3837 * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
3838 fail for MIPS targets.
3840 * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
3843 2016-01-12 Yury Usishchev <y.usishchev@samsung.com>
3845 * testsuite/ld-arm/arm-elf.exp: New test.
3846 * testsuite/ld-arm/unwind-mix.d: New file.
3847 * testsuite/ld-arm/unwind-mix1.s: New file.
3848 * testsuite/ld-arm/unwind-mix2.s: New file.
3850 2016-01-08 Jiong Wang <jiong.wang@arm.com>
3853 * testsuite/ld-arm/ifunc-3.rd: Update expected result.
3854 * testsuite/ld-arm/ifunc-4.rd: Likewise.
3855 * testsuite/ld-arm/ifunc-9.rd: Likewise.
3856 * testsuite/ld-arm/ifunc-10.rd: Likewise.
3857 * testsuite/ld-arm/ifunc-12.rd: Likewise.
3858 * testsuite/ld-arm/ifunc-13.rd: Likewise.
3860 2016-01-05 Nick Clifton <nickc@redhat.com>
3862 * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
3863 MSP430 hardware multiply address range.
3864 * scripttempl/elf32msp430.sc (__romdatastart): Define.
3865 (__romdatacopysize): Define.
3866 * scripttempl/elf32msp430_3.sc: Likewise.
3868 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
3870 * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
3871 OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
3873 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
3875 * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
3876 messages expected according to MIPS BFD private data merge
3878 * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
3879 * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
3880 * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
3881 * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
3882 * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
3883 * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
3884 * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
3885 * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
3886 * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
3887 * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
3888 * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
3889 * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
3890 * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
3892 2016-01-01 Alan Modra <amodra@gmail.com>
3894 Update year range in copyright notice of all files.
3896 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
3898 Copyright (C) 2016 Free Software Foundation, Inc.
3900 Copying and distribution of this file, with or without modification,
3901 are permitted in any medium without royalty provided the copyright
3902 notice and this notice are preserved.
3908 version-control: never