[llvm] [X86][MC] Add R_X86_64_CODE_6_GOTTPOFF (PR #117277)

Feng Zou via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 21 21:00:50 PST 2024


================
@@ -670,6 +672,11 @@ void X86MCCodeEmitter::emitMemModRMByte(
         return Kind == REX2  ? X86::reloc_riprel_4byte_relax_rex2
                : Kind == REX ? X86::reloc_riprel_4byte_relax_rex
                              : X86::reloc_riprel_4byte_relax;
+      case X86::ADD64rm_ND:
+      case X86::ADD64mr_ND:
+      case X86::ADD64mr_NF_ND:
+      case X86::ADD64rm_NF_ND:
+        return X86::reloc_riprel_6byte_relax;
----------------
fzou1 wrote:

Added.

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


More information about the llvm-commits mailing list