[PATCH] D83800: Support PC relative relocation on AArch64 and PPC64 in RelocationResolver

Yichao Yu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 17 11:50:52 PDT 2020


yuyichao added a comment.

Is there a difference between `R_PPC64_REL32` vs `R_AARCH64_PREL32` vs `R_X86_64_PC32`? I didn't add mask because the x86 one doesn't have it.

I know for some relocations, some bits should be masked off. However, I'm under the impression that for these relocation if the value doesn't fit it would just be an error. Is that the case?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D83800/new/

https://reviews.llvm.org/D83800





More information about the llvm-commits mailing list