[PATCH] D62098: [ELF] Fix getRelocTargetVA formulae of R_TLS and R_NEG_TLS
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 20 03:43:29 PDT 2019
ruiu accepted this revision.
ruiu added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: ELF/InputSection.cpp:751
+ return A;
+ return -(Sym.getVA(0) + getTlsTpOffset()) + A;
case R_SIZE:
----------------
nit: -Sym.getVA(0) - getTlsTpOffset() + A
Repository:
rLLD LLVM Linker
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62098/new/
https://reviews.llvm.org/D62098
More information about the llvm-commits
mailing list