ruiu added inline comments. ================ Comment at: ELF/Arch/X86_64.cpp:328 case R_X86_64_GOT64: + case R_X86_64_GOTOFF64: write64le(Loc, Val); ---------------- Don't you need to add a `case` for GOTPC64? Repository: rLLD LLVM Linker https://reviews.llvm.org/D47098