[ELF][x86-64] Implement static relocation model for TLS.
authorMichael J. Spencer <bigcheesegs@gmail.com>
Fri, 1 Feb 2013 07:14:14 +0000 (07:14 +0000)
committerMichael J. Spencer <bigcheesegs@gmail.com>
Fri, 1 Feb 2013 07:14:14 +0000 (07:14 +0000)
commitb5d6f5e988bc2aad10299b609fc3f060cdd2d7b3
tree23cc7677a96d0e6cffcc38dba0bbdf0117fb5171
parentb0ed8e80d82f40f7b35e50d551952e045660742f
[ELF][x86-64] Implement static relocation model for TLS.

This implements the static relocation model for GOT accesses to TLS.

llvm-svn: 174155
lld/lib/ReaderWriter/ELF/X86_64/X86_64TargetHandler.cpp
lld/lib/ReaderWriter/ELF/X86_64/X86_64TargetInfo.cpp
lld/test/elf/Inputs/tls.S [new file with mode: 0644]
lld/test/elf/Inputs/tls.x86-64
lld/test/elf/Inputs/undef-gotpcrel.S [new file with mode: 0644]
lld/test/elf/Inputs/undef-gotpcrel.x86-64 [new file with mode: 0644]
lld/test/elf/ifunc.test
lld/test/elf/tls.test
lld/test/elf/undef-gotpcrel.test [new file with mode: 0644]