[PATCH] [lld] [ELF] Support for general dynamic TLS relocations on X86_64

kledzik at apple.com kledzik at apple.com
Fri Sep 26 13:16:34 PDT 2014


One area of linking not fleshed out in lld is the "canBeNullAtBuildtime" attribute for UndefinedSymbols.  That was intended to model ELF weak undefines.  Is that how __tls_get_addr works with gnu ld?  If so, then getting canBeNullAtBuildtime to work in general could solve this specific issue without needing to special case  __tls_get_addr.

http://reviews.llvm.org/D5505






More information about the llvm-commits mailing list