diff options
Diffstat (limited to 'lld/ELF/InputSection.cpp')
-rw-r--r-- | lld/ELF/InputSection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/InputSection.cpp b/lld/ELF/InputSection.cpp index 9c3d3129719..82b5f98ce9e 100644 --- a/lld/ELF/InputSection.cpp +++ b/lld/ELF/InputSection.cpp @@ -198,7 +198,7 @@ getSymVA(uint32_t Type, typename ELFT::uint A, typename ELFT::uint P, case R_GOTONLY_PC: return Out<ELFT>::Got->getVA() + A - P; case R_TLS: - return Body.getVA<ELFT>(A) - Out<ELF32LE>::TlsPhdr->p_memsz; + return Body.getVA<ELFT>(A) - Out<ELFT>::TlsPhdr->p_memsz; case R_NEG_TLS: return Out<ELF32LE>::TlsPhdr->p_memsz - Body.getVA<ELFT>(A); case R_ABS: |