[PATCH] D47098: [ELF] Support R_X86_64_GOTPC32 and R_X86_64_GOTOFF64

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 18 18:36:26 PDT 2018


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





More information about the llvm-commits mailing list