[PowerPC] Fix missing TLS symbol type.
authorStefan Pintilie <stefanp@ca.ibm.com>
Wed, 2 Sep 2020 20:23:55 +0000 (15:23 -0500)
committerStefan Pintilie <stefanp@ca.ibm.com>
Thu, 3 Sep 2020 10:57:04 +0000 (05:57 -0500)
commitf4f29b956c628dc5029345c97d11c8d198657f87
tree7e57c45305736b8f6b43d2aed20c873a0074e049
parent269984e772dd2aa59c5e12306ea05d4f3a77aa92
[PowerPC] Fix missing TLS symbol type.

Previous implementations for the TLS models General Dynamic and Initial Exec
were missing the ELF::STT_TLS type on symbols that required the type. This patch
adds the type.

Reviewed By: sfertile, MaskRay

Differential Revision: https://reviews.llvm.org/D86777
llvm/lib/MC/MCELFStreamer.cpp
llvm/test/CodeGen/PowerPC/pcrel-tls-general-dynamic.ll
llvm/test/CodeGen/PowerPC/pcrel-tls-initial-exec.ll