diff options
Diffstat (limited to 'lld/ELF/Writer.cpp')
-rw-r--r-- | lld/ELF/Writer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/Writer.cpp b/lld/ELF/Writer.cpp index fba35fbb0ce..626f29f5d73 100644 --- a/lld/ELF/Writer.cpp +++ b/lld/ELF/Writer.cpp @@ -229,7 +229,7 @@ void Writer<ELFT>::scanRelocs( continue; } - if ((Body && Body->isTLS()) && Type != Target->getTlsPcRelGotReloc()) + if ((Body && Body->isTLS()) && !Target->isTlsDynReloc(Type)) continue; bool NeedsGot = false; |