aboutsummaryrefslogtreecommitdiff
path: root/ld/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'ld/ChangeLog')
-rw-r--r--ld/ChangeLog95
1 files changed, 95 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 6e7e58d..4fbf6ba 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,98 @@
+2017-10-16 H.J. Lu <hongjiu.lu@intel.com>
+
+ * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
+ Removed.
+ * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
+ Likewise.
+ * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
+ Likewise.
+ * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
+ Likewise.
+ * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
+ Likewise.
+ * emulparams/elf_iamcu.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
+ Likewise.
+ * emulparams/elf_k1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
+ Likewise.
+ * emulparams/elf_l1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
+ Likewise.
+ * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
+ Likewise.
+ * emulparams/i386lynx.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
+ Likewise.
+ * emulparams/i386moss.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
+ Likewise.
+ * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
+ Likewise.
+ * emulparams/i386nw.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
+ Likewise.
+ * emulparams/shelf.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
+ Likewise.
+ * emulparams/shelf32.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
+ Likewise.
+ * emulparams/shelf_nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
+ Likewise.
+ * emulparams/shelf_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
+ Likewise.
+ * emulparams/shlelf32_linux.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
+ Likewise.
+ * emulparams/shlelf_linux.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
+ Likewise.
+ * emulparams/shlelf_nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
+ Likewise.
+ * emultempl/aarch64elf.em (gld${EMULATION_NAME}_before_parse):
+ Set link_info.check_relocs_after_open_input to TRUE.
+ * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse):
+ Likewise.
+ * emultempl/scoreelf.em (gld${EMULATION_NAME}_before_parse):
+ Likewise.
+ * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Add
+ after_parse_default.
+ * emultempl/armcoff.em (ld_${EMULATION_NAME}_emulation): Likewise.
+ * emultempl/beos.em (ld_${EMULATION_NAME}_emulation): Likewise.
+ * emultempl/generic.em (ld_${EMULATION_NAME}_emulation): Likewise.
+ * emultempl/gld960.em (ld_${EMULATION_NAME}_emulation): Likewise.
+ * emultempl/gld960c.em (ld_${EMULATION_NAME}_emulation): Likewise.
+ * emultempl/lnk960.em (ld_${EMULATION_NAME}_emulation): Likewise.
+ * emultempl/m68kcoff.em (ld_${EMULATION_NAME}_emulation): Likewise.
+ * emultempl/msp430.em (ld_${EMULATION_NAME}_emulation): Likewise.
+ * emultempl/pe.em (ld_${EMULATION_NAME}_emulation): Likewise.
+ * emultempl/pep.em (ld_${EMULATION_NAME}_emulation): Likewise.
+ * emultempl/sunos.em (ld_${EMULATION_NAME}_emulation): Likewise.
+ * emultempl/ticoff.em (ld_${EMULATION_NAME}_emulation): Likewise.
+ * emultempl/vanilla.em (ld_${EMULATION_NAME}_emulation): Likewise.
+ * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Always
+ set link_info.check_relocs_after_open_input to TRUE.
+ (ld_${EMULATION_NAME}_emulation): Add $LDEMUL_AFTER_CHECK_RELOCS.
+ * emultempl/linux.em (gld${EMULATION_NAME}_before_parse):
+ Set link_info.check_relocs_after_open_input to TRUE.
+ (ld_${EMULATION_NAME}_emulation): Add after_check_relocs_default.
+ * emultempl/mmix-elfnmmo.em (mmix_before_parse): New function.
+ (LDEMUL_BEFORE_PARSE): New.
+ * emultempl/mmixelf.em (elfmmix_before_parse): Replace
+ gld${EMULATION_NAME}_before_parse with mmix_before_parse.
+ * emultempl/ppc32elf.em (ppc_after_open): Renamed to ...
+ (ppc_after_check_relocs): This. Call after_check_relocs_default
+ instead of gld${EMULATION_NAME}_after_open.
+ (LDEMUL_AFTER_OPEN): Removed.
+ (LDEMUL_AFTER_CHECK_RELOCS): New.
+ * ldemul.c (ldemul_after_check_relocs): New.
+ (after_check_relocs_default): Likewise.
+ * ldemul.h (ldemul_after_check_relocs): Likewise.
+ (after_check_relocs_default): Likewise.
+ (ld_emulation_xfer_struct): Add after_check_relocs.
+ * ldlang.c (lang_process): Call ldemul_after_check_relocs after
+ lang_check_relocs.
+ * testsuite/ld-aarch64/gc-got-relocs.d: Don't expect GOT section.
+ * testsuite/ld-aarch64/gc-tls-relocs.d: Likewise.
+ * testsuite/ld-cris/tls-gc-68.d: Likewise.
+ * testsuite/ld-cris/tls-gc-69.d: Likewise.
+ * testsuite/ld-cris/tls-gc-70.d: Likewise.
+ * testsuite/ld-cris/tls-gc-75.d: Likewise.
+ * testsuite/ld-cris/tls-gc-79.d: Likewise.
+ * testsuite/ld-mmix/bpo-10.d: Don't expect .MMIX.reg_contents
+ section.
+
2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
PR ld/22269