[ELF2] - Optimization for R_X86_64_GOTTPOFF relocation.

R_X86_64_GOTTPOFF is not always requires GOT entries. Some relocations can be converted to local ones.

Differential revision: http://reviews.llvm.org/D14713

llvm-svn: 253966
4 files changed