[PATCH] D28094: [ELF] - Implemented support for R_386_PC8/R_386_8 relocations.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 25 09:09:34 PST 2017


ruiu added inline comments.


================
Comment at: lld/trunk/ELF/Target.cpp:518
+  if (Type == R_386_8 || Type == R_386_PC8) {
+    *Loc = (uint8_t)Val;
+    return;
----------------
Do you need a cast?


Repository:
  rL LLVM

https://reviews.llvm.org/D28094





More information about the llvm-commits mailing list