Define __tls_get_addr as a hidden symbol even for ARM or MIPS.
authorRui Ueyama <ruiu@google.com>
Tue, 25 Apr 2017 04:44:54 +0000 (04:44 +0000)
committerRui Ueyama <ruiu@google.com>
Tue, 25 Apr 2017 04:44:54 +0000 (04:44 +0000)
commita2a46a9532b7c6481c8bc9399b614d7ba9de5398
tree9360b0bccade92407fcc74596d7b91e83094f512
parent490397fc08f1e4f24cc80354c6ea39f7db11d4ad
Define __tls_get_addr as a hidden symbol even for ARM or MIPS.

addIgnored defines a given symbol even if there is no existing
symbol with the same name. So, even if libc provides __tls_get_addr,
we should still be able to call addIgnored.

Differential Revision: https://reviews.llvm.org/D32053

llvm-svn: 301290
lld/ELF/Writer.cpp