summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCHUNSEOK LEE <chunseok.lee@samsung.com>2017-08-16 05:20:19 (GMT)
committerCHUNSEOK LEE <chunseok.lee@samsung.com>2017-08-16 06:47:07 (GMT)
commit88719c82c86e6e58b889f725cf071fdb210e90e0 (patch)
treedfe22f0526a6a7c7be9b8e76672692a66eee9f4e
parente4f5d7c97694a3cdf505f9d91aa17f21c07da44e (diff)
downloadcoreclr-origin/backup/release/2.0.0_tizen_4.0/20170908.zip
coreclr-origin/backup/release/2.0.0_tizen_4.0/20170908.tar.gz
coreclr-origin/backup/release/2.0.0_tizen_4.0/20170908.tar.bz2
by parjong Change-Id: Id9bacd57081b9cfe0aba9714403535dd3c1797f2
-rw-r--r--packaging/clear_cache.patch12
-rw-r--r--packaging/coreclr.spec4
2 files changed, 15 insertions, 1 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
diff --git a/packaging/coreclr.spec b/packaging/coreclr.spec
index 78d07ce..46211a0 100644
--- a/packaging/coreclr.spec
+++ b/packaging/coreclr.spec
@@ -23,7 +23,7 @@ Source1000: downloaded_files.tar.gz
Source1001: %{name}.manifest
Source1002: libicu.tar.gz
Source1003: dep_libs.tar.gz
-# Gbp-Ignore-Patches: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
+# Gbp-Ignore-Patches: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Patch0: Add-project.assets.json-files.patch
Patch1: Add-Tizen-RuntimeID-case.patch
Patch2: Change-O3-build-in-clang3.8.patch
@@ -42,6 +42,7 @@ Patch14: poison2.patch
Patch15: 0001-Fix-CreateDump-related-undefined-reference-on-non-AM.patch
Patch16: 0001-ARM-Linux-Enable-DacStackWalk.patch
Patch17: profiling.patch
+Patch18: clear_cache.patch
ExcludeArch: aarch64
@@ -158,6 +159,7 @@ cp %{SOURCE1001} .
%patch15 -p1
%patch16 -p1
%patch17 -p1
+%patch18 -p1
%if 0%{skipmscorlib}
%else