[PPC32] Support GD/LD/IE/LE TLS models and their relaxations
authorFangrui Song <maskray@google.com>
Thu, 6 Jun 2019 17:03:10 +0000 (17:03 +0000)
committerFangrui Song <maskray@google.com>
Thu, 6 Jun 2019 17:03:10 +0000 (17:03 +0000)
commit7ccfdad7ab7b749f08333a0d4eb6716227bf8ab7
treea09426bcef2ab199b6c9ef3c1be12950fe74ad43
parent82442adfc0330e0edae382bf69558bf3015b2149
[PPC32] Support GD/LD/IE/LE TLS models and their relaxations

Reviewed By: ruiu

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

llvm-svn: 362722
lld/ELF/Arch/PPC.cpp
lld/ELF/Arch/PPC64.cpp
lld/ELF/InputSection.cpp
lld/ELF/Target.h
lld/test/ELF/ppc32-tls-gd.s [new file with mode: 0644]
lld/test/ELF/ppc32-tls-ie.s [new file with mode: 0644]
lld/test/ELF/ppc32-tls-ld.s [new file with mode: 0644]
lld/test/ELF/ppc32-tls-le.s [new file with mode: 0644]