[lld] [X86, lld] Handle relocation R_X86_64_REX2_GOTPCRELX (PR #109783)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 28 19:17:58 PDT 2024


================
@@ -897,6 +901,7 @@ RelExpr X86_64::adjustGotPcExpr(RelType type, int64_t addend,
 static void relaxGotNoPic(uint8_t *loc, uint64_t val, uint8_t op,
                           uint8_t modRm) {
   const uint8_t rex = loc[-3];
----------------
MaskRay wrote:

Passing in `isRex2` LG

https://github.com/llvm/llvm-project/pull/109783


More information about the llvm-commits mailing list