[PPC64] Add TLS initial exec to local exec relaxation
authorZaara Syeda <syzaara@ca.ibm.com>
Tue, 21 Aug 2018 15:13:53 +0000 (15:13 +0000)
committerZaara Syeda <syzaara@ca.ibm.com>
Tue, 21 Aug 2018 15:13:53 +0000 (15:13 +0000)
commit662d146c5b39dd222618ae2a037211dc1ab266f8
tree759786175b4f2da6aecb2a8365e93c91a1824208
parent06209cb466831f2fecbb9c5ba0b9bef43c8a36bb
[PPC64] Add TLS initial exec to local exec relaxation

This patch adds the target call back relaxTlsIeToLe to support TLS relaxation
from initial exec to local exec model.

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

llvm-svn: 340281
lld/ELF/Arch/PPC64.cpp
lld/ELF/Relocations.cpp
lld/ELF/Relocations.h
lld/test/ELF/Inputs/ppc64-tls-ie-le.s [new file with mode: 0644]
lld/test/ELF/ppc64-tls-ie-le.s [new file with mode: 0644]