diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2016-04-20 17:06:58 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2016-04-20 17:08:55 -0700 |
commit | fbf05aa70d7a6ad3dd92ca718faa4bb383b975ee (patch) | |
tree | 97f3ad2521a068913cf8e0aaafea1747fecf4f0e /ld/ChangeLog | |
parent | 1a7272c0f9080ca18a724c91ab37a10fa45ad9e4 (diff) | |
download | gdb-fbf05aa70d7a6ad3dd92ca718faa4bb383b975ee.zip gdb-fbf05aa70d7a6ad3dd92ca718faa4bb383b975ee.tar.gz gdb-fbf05aa70d7a6ad3dd92ca718faa4bb383b975ee.tar.bz2 |
Move ELF relocation check after lang_gc_sections
Move ELF relocation check after lang_gc_sections so that all the
reference counting code for plt and got relocs can be removed. This
only affects ELF targets which check relocations after opening all
input file.
* ldlang.c (lang_check_relocs): New function.
(lang_process): Call lang_check_relocs after lang_gc_sections.
* emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
call _bfd_elf_link_check_relocs here.
Diffstat (limited to 'ld/ChangeLog')
-rw-r--r-- | ld/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 1963c17..07209d5 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,12 @@ 2016-04-20 H.J. Lu <hongjiu.lu@intel.com> + * ldlang.c (lang_check_relocs): New function. + (lang_process): Call lang_check_relocs after lang_gc_sections. + * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't + call _bfd_elf_link_check_relocs here. + +2016-04-20 H.J. Lu <hongjiu.lu@intel.com> + PR ld/19972 * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for R_386_NONE or R_X86_64_NONE. |