Do not add padding if an output section is marked as ignored
[deliverable/binutils-gdb.git] / ld / ChangeLog
index c4bbe552cfe9d170bcf64448930404081573079a..1ae4435112737de0af87da0e62784a4a2469b49e 100644 (file)
@@ -1,3 +1,206 @@
+2016-12-21  Igor Kudrin  <ikudrin@accesssoftek.com>
+
+       * ldlang.c (size_input_section): Avoid calling insert_pad
+       if output_section_statement->ignored is set.
+
+2016-12-21  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-scripts/sysroot-prefix.exp: Fix chars with high bit set.
+
+2016-12-16  fincs  <fincs.alt1@gmail.com>
+
+       * 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 <ynorov@caviumnetworks.com>
+
+       * 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  <jiong.wang@arm.com>
+
+       * 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  <kyrab@mail.ru>
+
+       PR ld/19254
+       * scripttempl/pe.sc (.fini): KEEP this section.
+       (.gcc_except_table): Likewise.
+       (.pdata): Also accept .pdata*.
+
+2016-12-13  Alan Modra  <amodra@gmail.com>
+
+       * 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  <amodra@gmail.com>
+
+       * 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  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2016-12-06  Alan Modra  <amodra@gmail.com>
+
+       * 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  <nickc@redhat.com>
+
+       PR ld/20906
+       * ldlex.l: Check for bogus strings in linker scripts.
+
+2016-12-05  Alyssa Milburn <amilburn@zall.org>
+
+       * 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  <amodra@gmail.com>
+
+       * 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  <amodra@gmail.com>
+
+       * 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  <amodra@gmail.com>
+
+       * testsuite/ld-elfvers/vers.exp (objdump_dynsymstuff): Don't abort
+       on non-empty results with empty expected.
+
+2016-12-03  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-cdtest/cdtest-foo.cc: Test for __GNUG__ >= 2.
+
+2016-12-03  Alan Modra  <amodra@gmail.com>
+
+       * ldexp.c (try_copy_symbol_type): Remove unnecessary check.
+
+2016-12-02  Nick Clifton  <nickc@redhat.com>
+
+       PR ld/20910
+       * ldmain.c (main): Prevent evaluation of %<char> 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  <joshconner@google.com>
 
         * Makefile.am: Add dependency information for earmelf_fuchsia.c.
This page took 0.030289 seconds and 4 git commands to generate.