summaryrefslogtreecommitdiff
path: root/packaging/clear_cache.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/clear_cache.patch')
-rw-r--r--packaging/clear_cache.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/packaging/clear_cache.patch b/packaging/clear_cache.patch
new file mode 100644
index 0000000..302d589
--- /dev/null
+++ b/packaging/clear_cache.patch
@@ -0,0 +1,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 \ No newline at end of file