summaryrefslogtreecommitdiff
path: root/src/vm/peimagelayout.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vm/peimagelayout.cpp')
-rw-r--r--src/vm/peimagelayout.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vm/peimagelayout.cpp b/src/vm/peimagelayout.cpp
index 1d08558c70..719c90eece 100644
--- a/src/vm/peimagelayout.cpp
+++ b/src/vm/peimagelayout.cpp
@@ -296,6 +296,9 @@ void PEImageLayout::ApplyBaseRelocations(BOOL isRelocated)
ThrowLastError();
}
}
+#ifdef FEATURE_PAL
+ PAL_LOADMarkSectionAsNotNeeded((void*)dir);
+#endif // FEATURE_PAL
#endif // CROSSGEN_COMPILE
if (pFlushRegion != NULL)