[ARM64] Fix UMEntryThunkCode::Poison method (dotnet/coreclr#17122)
authorKonstantin Baladurin <k.baladurin@partner.samsung.com>
Thu, 22 Mar 2018 14:02:43 +0000 (17:02 +0300)
committerJan Kotas <jkotas@microsoft.com>
Thu, 22 Mar 2018 14:02:43 +0000 (07:02 -0700)
Fix hex value of the instruction ldp x16, x0, [x12]

Commit migrated from https://github.com/dotnet/coreclr/commit/aa95b54845fd5d67475e6a6b17da80e7f6d4c4de

src/coreclr/src/vm/arm64/stubs.cpp

index c1e9a56..30fe49a 100644 (file)
@@ -1275,7 +1275,7 @@ void UMEntryThunkCode::Poison()
     m_pTargetCode = (TADDR)UMEntryThunk::ReportViolation;
 
     // ldp x16, x0, [x12]
-    m_code[1] = 0xd42017c0;
+    m_code[1] = 0xa9400190;
 
     ClrFlushInstructionCache(&m_code,sizeof(m_code));
 }