From 7a3a6513ce5430cd472f7ced7431d5402a5d7994 Mon Sep 17 00:00:00 2001 From: t-mustafin <66252296+t-mustafin@users.noreply.github.com> Date: Wed, 31 May 2023 21:47:30 +0300 Subject: [PATCH] [RISC-V] Fix typo in ReversePInvoke (#86958) --- src/coreclr/vm/riscv64/stubs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coreclr/vm/riscv64/stubs.cpp b/src/coreclr/vm/riscv64/stubs.cpp index 4c40d61..e0662b2 100644 --- a/src/coreclr/vm/riscv64/stubs.cpp +++ b/src/coreclr/vm/riscv64/stubs.cpp @@ -934,7 +934,7 @@ void UMEntryThunkCode::Encode(UMEntryThunkCode *pEntryThunkCodeRX, BYTE* pTarget // m_pTargetCode data // m_pvSecretParam data - m_code[0] = 0x00009f97; // auipc t6, 0 + m_code[0] = 0x00000f97; // auipc t6, 0 m_code[1] = 0x018fb383; // ld t2, 24(t6) m_code[2] = 0x010fbf83; // ld t6, 16(t6) m_code[3] = 0x000f8067; // jalr x0, 0(t6) -- 2.7.4