[PATCH] D134164: [RelocationResolver] Add R_RISCV_SET8

Thorsten via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 19 00:22:18 PDT 2022


tschuett added inline comments.


================
Comment at: llvm/lib/Object/RelocationResolver.cpp:468
+  case ELF::R_RISCV_SET8:
+    return (A & 0x00) | ((S + RA) & 0xFF);
   case ELF::R_RISCV_SUB6:
----------------
Is the `0x00` a typo or for symmetry?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D134164



More information about the llvm-commits mailing list