[llvm] [X86][MC] Support R_X86_64_CODE_4_GOTPC32_TLSDESC (PR #116908)
Feng Zou via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 20 04:52:33 PST 2024
================
@@ -666,6 +666,7 @@ void X86MCCodeEmitter::emitMemModRMByte(
case X86::SBB64rm:
case X86::SUB64rm:
case X86::XOR64rm:
+ case X86::LEA64r:
----------------
fzou1 wrote:
Sorry. I don't understand. We need to check LEA64r with REX2 prefix and add R_X86_64_CODE_4_GOTPC32_TLSDESC relocation for it.
https://github.com/llvm/llvm-project/pull/116908
More information about the llvm-commits
mailing list