[PPC64] Allow R_PPC64_DTPREL* to preemptable local-dynamic symbols
authorFangrui Song <maskray@google.com>
Tue, 23 Apr 2019 06:31:44 +0000 (06:31 +0000)
committerFangrui Song <maskray@google.com>
Tue, 23 Apr 2019 06:31:44 +0000 (06:31 +0000)
commitd986e41fe49e3ff33aa609328b34cb20dd350434
tree70670fd5b680727f229170eb06967a6f70579f46
parent19828e399b3d50f2eb43499b3149d42ce62f75e8
[PPC64] Allow R_PPC64_DTPREL* to preemptable local-dynamic symbols

Similar to D60945.

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

llvm-svn: 358950
lld/ELF/Arch/PPC64.cpp
lld/ELF/InputSection.cpp
lld/ELF/Relocations.cpp
lld/test/ELF/ppc64-tls-ld-preemptable.s [new file with mode: 0644]