Allow a second -T<section>=<addr> to override a previous version on the same linker...
[external/binutils.git] / ld / ChangeLog
index ca87628..c1b7f45 100644 (file)
@@ -1,3 +1,62 @@
+2016-06-27  Nick Clifton  <nickc@redhat.com>
+
+       PR ld/20302
+       * lexsup.c (set_segment_start): If resetting the start address of
+       a section, remember to generate a new script element as well.
+       * testsuite/ld-scripts/pr20302.d: New test.
+       * testsuite/ld-scripts/scripts.exp: Run the new test.
+
+2016-06-24  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-aarch64/aarch64-elf.exp (aarch64_choose_ilp32_emul):
+       Don't error out, always return an emulation.
+
+2016-06-24  Dilyan Palauzov <dilyan.palauzov@aegee.org>
+           H.J. Lu  <hongjiu.lu@intel.com>
+
+       * lexsup.c (elf_shlib_list_options): Check DEFAULT_LD_Z_RELRO
+       for -z relro help message.
+
+2016-06-22  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * testsuite/ld-mips-elf/undefweak-overflow.d: Use wildcard
+       address matching.
+
+2016-06-22  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * testsuite/ld-mips-elf/mips-elf.exp: Uniquely identify
+       `undefweak-overflow' tests.
+
+2016-06-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/20283
+       * NEWS: Mention --enable-relro.
+       * configure.ac: Add --enable-relro.
+       (DEFAULT_LD_Z_RELRO): New.  Set by --enable-relro.
+       * configure.tgt (ac_default_ld_z_relro): Default it to 1 for
+       some Linux targets.
+       * config.in: Regenerated.
+       * configure: Likewise.
+       * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
+       link_info.relro to DEFAULT_LD_Z_RELRO.
+       * testsuite/config/default.exp (ld_elf_shared_opt): New.
+       * testsuite/lib/ld-lib.exp (run_dump_test): Pass
+       $ld_elf_shared_opt to ld for ELF targets with shared object
+       support.
+       (run_ld_link_tests): Likewise.
+
+2016-06-21  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * testsuite/ld-mips-elf/mode-change-error-1a.s: Trigger an error
+       twice rather than once.
+       * testsuite/ld-mips-elf/mode-change-error-1.d: Adjust
+       accordingly.  Remove the full stop from the end of the message.
+
+2016-06-21  Graham Markall  <graham.markall@embecosm.com>
+
+       * testsuite/ld-arc/nps-1a.d: Use -mcpu=arc700 -mnps400.
+       * testsuite/ld-arc/nps-1b.d: Likewise.
+
 2016-06-20  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR ld/20267