Revert "Enable relro by default for AArch64, ARM and SCORE."
[external/binutils.git] / ld / ChangeLog
index 09de0c7..21305c3 100644 (file)
@@ -1,3 +1,179 @@
+2017-01-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/20830
+       * testsuite/ld-i386/i386.exp: Run pr20830.
+       * testsuite/ld-x86-64/x86-64.exp: Likewise.
+       * testsuite/ld-i386/pr20830.d: New file.
+       * testsuite/ld-i386/pr20830.s: Likewise.
+       * testsuite/ld-x86-64/pr20830.d: Likewise.
+       * testsuite/ld-x86-64/pr20830.s: Likewise.
+
+
+2016-08-03  Tristan Gingold  <gingold@adacore.com>
+
+       * configure: Regenerate.
+
+2016-07-19  Roland McGrath  <roland@hack.frob.com>
+
+       * emulparams/aarch64elf.sh (GENERATE_PIE_SCRIPT): Set to yes.
+       * emulparams/aarch64elf32.sh: Likewise.
+
+2016-07-01  Tristan Gingold  <gingold@adacore.com>
+
+       * configure: Regenerate.
+
+2016-07-01  Tristan Gingold  <gingold@adacore.com>
+
+       * configure: Regenerate.
+
+2016-07-01  Tristan Gingold  <gingold@adacore.com>
+
+       * NEWS: Add marker for 2.27.
+
+2016-06-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/ld-gc/gc.exp: Run pr20306 test.
+       * ld-gc/pr20306.c: New file.
+       * ld-gc/pr20306.d: Likewise.
+
+2016-06-28  Nick Clifton  <nickc@redhat.com>
+
+       * testsuite/ld-elf/comm-data.exp: Expect comm-data2 test to fail
+       for bfin.
+       * testsuite/ld-elf/elf.exp: Expect pr14170 and symbolic function
+       tests to fail for bfin.
+       * testsuite/ld-elf/endsym.d: Expect to fail with cr16, crx, dlx,
+       nds32 and visium.
+       * testsuite/ld-elf/var1.d: Expect to fail with d30v, dlx, ft32 and
+       microblaze.
+       * testsuite/ld-pe/pe.exp: Expect foreign symbol test to fail for
+       mcore-pe.
+
+2016-06-28  Nick Clifton  <nickc@redhat.com>
+
+       * testsuite/ld-elf/merge.d: Add m68hc11 to list of targets that
+       expect to fail this test.
+       * testsuite/ld-scripts/overlay-size.d: Skip the entire test for
+       RX.
+       * testsuite/ld-scripts/rgn-at10.d: No longer expect this test to
+       fail for the RX.
+       * testsuite/ld-scripts/rgn-at11.d: Likewise.
+       * testsuite/ld-scripts/rgn-at2.d: Likewise.
+       * testsuite/ld-scripts/rgn-at6.d: Likewise.
+       * testsuite/ld-scripts/rgn-at7.d: Likewise.
+       * testsuite/ld-scripts/rgn-at8.d: Likewise.
+
+2016-06-28  James Clarke  <jrtc27@jrtc27.com>
+
+       * testsuite/ld-elf/symbolic-func.r: Allow non-zero offsets from
+       .text.
+
+2016-06-28  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * testsuite/ld-mips-elf/attr-gnu-4-10.d: Match any UNIX OS/ABI.
+       * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise.
+       * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise.
+       * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
+
+2016-06-28  Alan Modra  <amodra@gmail.com>
+
+       PR ld/20302
+       * testsuite/ld-scripts/pr20302.d: Exclude *-*-*aout.
+
+2016-06-28  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * testsuite/ld-mips-elf/mips16-branch-2.d: New test.
+       * testsuite/ld-mips-elf/mips16-branch-3.d: New test.
+       * testsuite/ld-mips-elf/mips16-branch-addend-2.d: New test.
+       * testsuite/ld-mips-elf/mips16-branch-addend-3.d: New test.
+       * testsuite/ld-mips-elf/mips16-branch.s: New test source.
+       * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
+
+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
+       * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
+       PR ld/20267.
+       (lto_run_tests): Likewise.
+       * testsuite/ld-plugin/pr20267a.c: New file.
+       * testsuite/ld-plugin/pr20267b.c: Likewise.
+
+2016-06-20  H.J. Lu  <hongjiu.lu@intel.com>
+           Alan Modra  <amodra@gmail.com>
+
+       PR ld/20276
+       * plugin.c (plugin_notice): Set non_ir_ref on common symbols.
+       * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
+       PR ld/20276.
+       (lto_run_tests): Likewise.
+       * testsuite/ld-plugin/pass.out: New file.
+       * testsuite/ld-plugin/pr20276a.c: Likewise.
+       * testsuite/ld-plugin/pr20276b.c: Likewise.
+
+2016-06-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * plugin.c (plugin_object_p): Replace bfd_plugin_uknown
+       with bfd_plugin_unknown.
+
 2016-06-18  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR ld/20253
        * testsuite/ld-plugin/pr20103c.c: Likewise.
 
 2016-05-24  Maciej W. Rozycki  <macro@imgtec.com>
-    
+
        * testsuite/ld-mips-elf/jalx-local.d: New test.
        * testsuite/ld-mips-elf/jalx-local-n32.d: New test.
        * testsuite/ld-mips-elf/jalx-local-n64.d: New test.