X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=ld%2FChangeLog;h=1ae4435112737de0af87da0e62784a4a2469b49e;hb=9ef7906f20e81faa4498761002e6376f4d35c865;hp=9c5eb404543719704816c274dc44cfb39927eb2a;hpb=7836e407c65761b003bfbcb7ce89947736330a15;p=deliverable%2Fbinutils-gdb.git diff --git a/ld/ChangeLog b/ld/ChangeLog index 9c5eb40454..1ae4435112 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,307 @@ +2016-12-21 Igor Kudrin + + * ldlang.c (size_input_section): Avoid calling insert_pad + if output_section_statement->ignored is set. + +2016-12-21 Alan Modra + + * testsuite/ld-scripts/sysroot-prefix.exp: Fix chars with high bit set. + +2016-12-16 fincs + + * ld.texinfo: Document --gc-keep-exported. + * ldlex.h (enum option_values): Add OPTION_GC_KEEP_EXPORTED. + * lexsup.c (parse_args): Add handling for --gc-keep-exported. + +2016-12-14 Yury Norov + + * ld/testsuite/ld-aarch64/aarch64-elf.exp: Add tests for tiny and + small ld-le relaxations in ilp32 mode. + * ld/testsuite/ld-aarch64/tls-relax-ld-le-small-ilp32.d: New file. + * ld/testsuite/ld-aarch64/tls-relax-ld-le-tiny-ilp32.d: New file. + +2016-12-13 Jiong Wang + + * testsuite/ld-aarch64/aarch64-elf.exp (aarch64_choose_lp64_emul): New + function. + (run_dump_test_lp64): New function which pass LP64 mode options to both + assembler and linker when building test binary. + (aarch64elftests): Remove eh-frame-merge test. + (eh-frame-merge-lp64): Restrict eh-frame-merge test to LP64 only. + (run_dump_test): Migrate to run_dump_test_lp64 if the test source was + written for LP64 only. + * testsuite/ld-aarch64/erratum843419.d: Support ILP32 mode. + * testsuite/ld-aarch64/farcall-b-defsym.d: Likewise. + * testsuite/ld-aarch64/farcall-b-plt.d: Likewise. + * testsuite/ld-aarch64/farcall-b.d: Likewise. + * testsuite/ld-aarch64/farcall-bl-defsym.d: Likewise. + * testsuite/ld-aarch64/farcall-bl-plt.d: Likewise. + * testsuite/ld-aarch64/farcall-bl.d: Likewise. + * testsuite/ld-aarch64/ifunc-15.d: Likewise. + * testsuite/ld-aarch64/ifunc-16.d: Likewise. + * testsuite/ld-aarch64/ifunc-5a-local.d: Likewise. + * testsuite/ld-aarch64/ifunc-5a.d: Likewise. + * testsuite/ld-aarch64/ifunc-5b-local.d: Likewise. + * testsuite/ld-aarch64/ifunc-5b.d: Likewise. + * testsuite/ld-aarch64/ifunc-5r-local.d: Likewise. + * testsuite/ld-aarch64/ifunc-6a.d: Likewise. + * testsuite/ld-aarch64/ifunc-6b.d: Likewise. + * testsuite/ld-aarch64/ifunc-7a.d: Likewise. + * testsuite/ld-aarch64/ifunc-7b.d: Likewise. + * testsuite/ld-aarch64/ifunc-8.d: Likewise. + * testsuite/ld-aarch64/limit-b.d: Likewise. + * testsuite/ld-aarch64/limit-bl.d: Likewise. + +2016-12-13 Awson + + PR ld/19254 + * scripttempl/pe.sc (.fini): KEEP this section. + (.gcc_except_table): Likewise. + (.pdata): Also accept .pdata*. + +2016-12-13 Alan Modra + + * testsuite/ld-elf/nobits-1.d: Remove xfail for hppa64. + * testsuite/ld-elf/note-1.d: Likewise. + * testsuite/ld-elf/note-2.d: Likewise. + +2016-12-13 Alan Modra + + * testsuite/ld-elf/flags1.d: Run for RX. + * testsuite/ld-scripts/phdrs.exp: Likewise. + * testsuite/ld-scripts/pr14962.d: Likewise. + * testsuite/ld-scripts/pr14962-2.d: Likewise. + +2016-12-08 Alan Modra + + * configure: Regenerate. + +2016-12-06 Alan Modra + + * testsuite/ld-powerpc/tocopt7.s, + * testsuite/ld-powerpc/tocopt7.out, + * testsuite/ld-powerpc/tocopt7.d: New test. + * testsuite/ld-powerpc/tocopt8.s, + * testsuite/ld-powerpc/tocopt8.d: New test. + * testsuite/ld-powerpc/powerpc.exp: Run them. + +2016-12-05 Nick Clifton + + PR ld/20906 + * ldlex.l: Check for bogus strings in linker scripts. + +2016-12-05 Alyssa Milburn + + * testsuite/ld-sparc/wdispcall.s: New file. + * testsuite/ld-sparc/wdispcall.dd: Likewise. + * testsuite/ld-sparc/sparc.exp: Run new test. + +2016-12-03 Alan Modra + + * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Don't call + ppc64_elf_restore_symbols. + * testsuite/ld-powerpc/dotsym1.d: New. + * testsuite/ld-powerpc/dotsym2.d: New. + * testsuite/ld-powerpc/dotsym3.d: New. + * testsuite/ld-powerpc/dotsym4.d: New. + * testsuite/ld-powerpc/dotsymref.s: New. + * testsuite/ld-powerpc/nodotsym.s: New. + * testsuite/ld-powerpc/powerpc.exp: Run new tests. + +2016-12-03 Alan Modra + + * testsuite/ld-elf/indirect1b.c: Give dot-symbol a version too. + * testsuite/ld-elf/indirect2.c: Likewise. + * testsuite/ld-elf/indirect3b.c: Likewise. + * testsuite/ld-elf/indirect4b.c: Likewise. + * testsuite/ld-elf/pr18718.c: Likewise. + * testsuite/ld-elf/pr18720b.c: Likewise. + * testsuite/ld-elf/pr19553c.c: Likewise. + * testsuite/ld-elfvers/vers.h (FUNC_SYMVER): Define. + * testsuite/ld-elfvers/vers1.c: Use FUNC_SYMVER for functions. + * testsuite/ld-elfvers/vers4.c: Likewise. + * testsuite/ld-elfvers/vers5.c: Likewise. + * testsuite/ld-elfvers/vers6.c: Likewise. + * testsuite/ld-elfvers/vers7a.c: Likewise. + * testsuite/ld-elfvers/vers9.c: Likewise. + * testsuite/ld-elfvers/vers15.c: Likewise. + * testsuite/ld-elfvers/vers18.c: Likewise. + * testsuite/ld-elfvers/vers22a.c: Likewise. + * testsuite/ld-elfvers/vers23a.c: Likewise. + * testsuite/ld-elfvers/vers27d1.c: Likewise. + * testsuite/ld-elfvers/vers21.c: Likewise. + (_old_bar): Use attribute weak rather than asm weak. + * testsuite/ld-ifunc/pr16467b.c: Give dot-symbol a version. + * testsuite/ld-plugin/pr12760b.c: Define warning on .bar rather than + bar for ppc64 -mcall-aixdesc. + * testsuite/ld-plugin/pr16746a.c: Similarly for foobar. + * testsuite/ld-plugin/pr16746b.c: Likewise. + * testsuite/ld-elf/shared.exp: Allow dot-symbol in warnings and errors. + * testsuite/ld-plugin/lto.exp: Likewise. + * testsuite/ld-plugin/plugin-6.d: Likewise. + * testsuite/ld-plugin/plugin-7.d: Likewise. + * testsuite/ld-plugin/plugin-8.d: Likewise. + * testsuite/ld-plugin/plugin-13.d: Likewise. + * testsuite/ld-plugin/plugin-14.d: Likewise. + * testsuite/ld-plugin/plugin-15.d: Likewise. + * testsuite/ld-plugin/plugin-16.d: Likewise. + * testsuite/ld-plugin/plugin-20.d: Likewise. + * testsuite/ld-plugin/plugin-21.d: Likewise. + * testsuite/ld-plugin/plugin-22.d: Likewise. + * testsuite/ld-plugin/plugin-23.d: Likewise. + * testsuite/ld-plugin/plugin.exp: Define .main and .puts for ppc64 + -mcall-aixdesc. + * testsuite/ld-elfvers/vers.exp (test_ar): Trim dot-symbols. + (objdump_dynsymstuff): Likewise. + (objdump_symstuff): Likewise. Pack flags to keep column count + consistent. + * testsuite/ld-elfweak/elfweak.exp (objdump_dynsymstuff, + objdump_symstuff): As for vers.exp. + * testsuite/ld-elfvers/vers6.sym: Allow dot-symbols. + * testsuite/ld-elfvers/vers1.sym: Allow missing F flag for + -mcall-aixdesc .opd syms and adjust for flag packing. + * testsuite/ld-elfvers/vers4.sym: Likewise. + * testsuite/ld-elfvers/vers4a.sym: Likewise. + * testsuite/ld-elfvers/vers7a.sym: Likewise. + * testsuite/ld-elfvers/vers9.sym: Likewise. + * testsuite/ld-elfvers/vers15.sym: Likewise. + * testsuite/ld-elfvers/vers18.sym: Likewise. + * testsuite/ld-elfvers/vers21.sym: Likewise. + * testsuite/ld-elfvers/vers22a.sym: Likewise. + * testsuite/ld-elfvers/vers23a.sym: Likewise. + * testsuite/ld-elfvers/vers27d.sym: Likewise. + * testsuite/ld-elfweak/strong.sym: Likewise. + * testsuite/ld-elfweak/strongcomm.sym: Likewise. + * testsuite/ld-elfweak/strongdata.sym: Likewise. + +2016-12-03 Alan Modra + + * testsuite/ld-elfvers/vers.exp (objdump_dynsymstuff): Don't abort + on non-empty results with empty expected. + +2016-12-03 Alan Modra + + * testsuite/ld-cdtest/cdtest-foo.cc: Test for __GNUG__ >= 2. + +2016-12-03 Alan Modra + + * ldexp.c (try_copy_symbol_type): Remove unnecessary check. + +2016-12-02 Nick Clifton + + PR ld/20910 + * ldmain.c (main): Prevent evaluation of % sequences when + printing out a linker script. + + PR ld/20911 + * ldctor.c (ldctor_build_sets): Produce alternative error message + if the reloc was being applied to a special section. + + PR ld/20912 + * emultempl/elf32.em (_place_orphan): Test for ELF format of the + orphan before looking for the SHF_EXCLUDE flag. + +2016-12-02 Josh Conner + + * Makefile.am: Add dependency information for earmelf_fuchsia.c. + * Makefile.in: Regenerate. + * configure.tgt: Add support for aarch64-*-fuchsia, arm*-*-fuchsia*, and + x86_64-*-fuchsia* targets. + * emulparams/armelf_fuchsia.sh: New file. + * emulparams/armelfb_fuchsia.sh: New file. + +2016-12-01 Rudy Y + + PR ld/20880 + * pe-dll.c (make_one): Use the hint if the ordinal is -1. + +2016-12-01 Yury Norov + + PR ld/20868 + * testsuite/ld-aarch64/tls-relax-gd-ie-ilp32.d: New test. + * testsuite/ld-aarch64/relocs-ilp32.ld: Linker script for the new + test. + * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test. + +2016-11-28 Andrew Burgess + + * emulparams/arclinux_prof.sh: Remove duplicate TEMPLATE_NAME. + +2016-11-28 Nick Clifton + + PR 20815 + * testsuite/ld-elf/loadaddr1.d: Update. + * testsuite/ld-powerpc/vle-multiseg-5.d: Update. + * testsuite/ld-scripts/phdrs3a.d: Update. + +2016-11-28 H.J. Lu + + * testsuite/ld-elf/indirect.exp: Add a test for PR 18720. + * testsuite/ld-elf/pr18720.rd: New file. + +2016-11-27 Alan Modra + + PR 20815 + * testsuite/ld-powerpc/vle-multiseg-5.d: Update. + +2016-11-27 Ambrogino Modigliani + + * deffilep.y: Fix spelling in comments. + +2016-11-27 Ambrogino Modigliani + + * scripttempl/ia64vms.sc: Fix spelling in comments. + * scripttempl/ip2k.sc: Fix spelling in comments. + * scripttempl/v850.sc: Fix spelling in comments. + * scripttempl/v850_rh850.sc: Fix spelling in comments. + +2016-11-27 Ambrogino Modigliani + + * emultempl/avrelf.em: Fix spelling in comments. + * emultempl/elf32.em: Fix spelling in comments. + * emultempl/pe.em: Fix spelling in comments. + * emultempl/pep.em: Fix spelling in comments. + * emultempl/spuelf.em: Fix spelling in comments. + +2016-11-27 Ambrogino Modigliani + + * testsuite/ld-sh/arch/arch.exp: Fix spelling in comments. + * testsuite/ld-sh/rd-sh.exp: Fix spelling in comments. + * testsuite/ld-sh/sh64/rd-sh64.exp: Fix spelling in comments. + * testsuite/ld-undefined/undefined.exp: Fix spelling in comments. + +2016-11-27 Ambrogino Modigliani + + * testsuite/ld-arm/stm32l4xx-fix-all.s: Fix spelling in comments. + * testsuite/ld-arm/thumb2-b-interwork.s: Fix spelling in comments. + * testsuite/ld-arm/thumb2-bl.s: Fix spelling in comments. + * testsuite/ld-s390/tlspic1.s: Fix spelling in comments. + * testsuite/ld-s390/tlspic1_64.s: Fix spelling in comments. + * testsuite/ld-scripts/section-match-1.d: Fix spelling in comments. + +2016-11-27 Ambrogino Modigliani + + * deffile.h: Fix spelling in comments. + * ld.h: Fix spelling in comments. + * ldlang.c: Fix spelling in comments. + * ldmisc.c: Fix spelling in comments. + * pe-dll.c: Fix spelling in comments. + +2016-11-24 Jiong Wang + + PR target/20737 + * testsuite/ld-arm/pie-bind-locally-a.s: New test source. + * testsuite/ld-arm/pie-bind-locally-b.s: Likewise. + * testsuite/ld-arm/pie-bind-locally.d: New testcase. + * testsuite/ld-arm/arm-elf.exp: Run new testcase. + +2016-11-24 Nick Clifton + + PR ld/20858 + * emultempl/elf32.em (_search_needed): Allow for path separator + and terminating NUL byte when allocating space for new $ORIGIN + path. + 2016-11-23 Nick Clifton * testsuite/ld-arm/vxworks2.sd: Update expected readelf output.