[ARM] Implement static (initial exec) TLS model
authorDenis Protivensky <dprotivensky@accesssoftek.com>
Thu, 19 Mar 2015 06:47:44 +0000 (06:47 +0000)
committerDenis Protivensky <dprotivensky@accesssoftek.com>
Thu, 19 Mar 2015 06:47:44 +0000 (06:47 +0000)
commit91141e87b1459035f54220be68b2d66112637ed1
tree27a45cfa46881f0013bf8ca781fdfb99e4f38af8
parent14afb83952c67d59a98797aea6348faec7dd31d4
[ARM] Implement static (initial exec) TLS model

This includes handling of R_ARM_TLS_IE32 and R_ARM_TLS_LE32 relocs.

Differential Revision: http://reviews.llvm.org/D8353

llvm-svn: 232708
lld/lib/ReaderWriter/ELF/ARM/ARMRelocationHandler.cpp
lld/lib/ReaderWriter/ELF/ARM/ARMRelocationHandler.h
lld/lib/ReaderWriter/ELF/ARM/ARMRelocationPass.cpp
lld/lib/ReaderWriter/ELF/ARM/ARMTargetHandler.cpp
lld/lib/ReaderWriter/ELF/ARM/ARMTargetHandler.h
lld/test/elf/ARM/rel-tls-ie32.test [new file with mode: 0644]
lld/test/elf/ARM/rel-tls-le32.test [new file with mode: 0644]