summaryrefslogtreecommitdiff
path: root/packaging/clear_cache.patch
blob: 302d58964744e5e4758992f80ebd125cd388c745 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/vm/peimagelayout.cpp b/src/vm/peimagelayout.cpp
index 93ab77c..ca4b487 100644
--- a/src/vm/peimagelayout.cpp
+++ b/src/vm/peimagelayout.cpp
@@ -227,6 +227,8 @@ void PEImageLayout::ApplyBaseRelocations()
 #ifdef _TARGET_ARM_
             case IMAGE_REL_BASED_THUMB_MOV32:
                 PutThumb2Mov32((UINT16 *)address, GetThumb2Mov32((UINT16 *)address) + delta);
+
+                ClrFlushInstructionCache(address, 8);
                 break;
 #endif