[ELF] Replace local dynamic tls access with direct access.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@174425 91177308-0d34-0410-b5e6-96231b3b80d8
[ELF] Implement GOTPCREL for defined atoms.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@174426 91177308-0d34-0410-b5e6-96231b3b80d8
[ELF][Layout] Provide a proper way to get the TLS segment size.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@174427 91177308-0d34-0410-b5e6-96231b3b80d8
[ELF][x86-64] Handle PLT32 relocations to IFUNC.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@174428 91177308-0d34-0410-b5e6-96231b3b80d8