[PATCH] D38660: Don't create a dummy __tls_get_addr

Peter Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 9 02:16:54 PDT 2017


peter.smith added a comment.

I think that this is the right thing to do. On Arm and Mips there is no TLS relaxation so we can have a reference to __tls_get_addr at static link time that isn't removed, however the static libraries for these platforms do provide a definition. At the time of implementation in https://reviews.llvm.org/D25978 we had special cases to not add this symbol on Arm and Mips, I don't remember when these were deleted.


https://reviews.llvm.org/D38660





More information about the llvm-commits mailing list