[ELF][X86] Rename R_RELAX_TLS_GD_TO_IE_END to R_RELAX_TLS_GD_TO_IE_GOTPLT
authorFangrui Song <maskray@google.com>
Mon, 22 Apr 2019 02:48:37 +0000 (02:48 +0000)
committerFangrui Song <maskray@google.com>
Mon, 22 Apr 2019 02:48:37 +0000 (02:48 +0000)
commite1f3191a0d03a60d41feed18fef3c6b888ff0ceb
tree87e49c3e76c67ccc678fe769cd9eab575198ca1e
parent4ad27e65cd60c506535dce5554a6f2f71cb4d13c
[ELF][X86] Rename R_RELAX_TLS_GD_TO_IE_END to R_RELAX_TLS_GD_TO_IE_GOTPLT

Summary:
This relocation type is used by R_386_TLS_GD. Its formula is the same as
R_GOTPLT (e.g R_X86_64_GOT{32,64} R_386_TLS_GOTIE). Rename it to be clearer.

Differential Revision: https://reviews.llvm.org/D60941

llvm-svn: 358868
lld/ELF/Arch/X86.cpp
lld/ELF/InputSection.cpp
lld/ELF/Relocations.h