diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml
index fee1aa96253a77..61c7149bde78a4 100644
--- a/eng/Version.Details.xml
+++ b/eng/Version.Details.xml
@@ -174,9 +174,9 @@
https://github.com/dotnet/runtime
3782e6e41cfaf76ec9ae4117722f835596026b1a
-
+
https://github.com/mono/linker
- 1dfcf3077aca1ea77850f409d95c3192f03507b3
+ 307f6b0afd2fea639fffa97e67155bafe6aa8461
https://github.com/dotnet/xharness
diff --git a/eng/Versions.props b/eng/Versions.props
index 456dd679cb894a..cffc176e5cc3b3 100644
--- a/eng/Versions.props
+++ b/eng/Versions.props
@@ -161,7 +161,7 @@
5.0.0-preview-20201009.2
- 6.0.100-preview.2.21226.1
+ 6.0.100-preview.5.21229.1
6.0.0-preview.5.21226.1
diff --git a/src/coreclr/System.Private.CoreLib/CreateRuntimeRootILLinkDescriptorFile.targets b/src/coreclr/System.Private.CoreLib/CreateRuntimeRootILLinkDescriptorFile.targets
index aa50f44411c9f3..845e8fccfd8d3c 100644
--- a/src/coreclr/System.Private.CoreLib/CreateRuntimeRootILLinkDescriptorFile.targets
+++ b/src/coreclr/System.Private.CoreLib/CreateRuntimeRootILLinkDescriptorFile.targets
@@ -37,6 +37,7 @@
CortypeFilePath="$(_CortypeFilePath)"
RexcepFilePath="$(_RexcepFilePath)"
ILLinkTrimXmlFilePath="$(_ILLinkDescriptorsIntermediatePath)"
+ DefineConstants="$(DefineConstants);FOR_ILLINK"
RuntimeRootDescriptorFilePath="$(_ILLinkRuntimeRootDescriptorFilePath)" />
diff --git a/src/coreclr/clr.featuredefines.props b/src/coreclr/clr.featuredefines.props
index 00dbb98bf02d55..dcd11139bfa9e2 100644
--- a/src/coreclr/clr.featuredefines.props
+++ b/src/coreclr/clr.featuredefines.props
@@ -52,7 +52,8 @@
$(DefineConstants);FEATURE_TYPEEQUIVALENCE
$(DefineConstants);FEATURE_BASICFREEZE
$(DefineConstants);FEATURE_PORTABLE_SHUFFLE_THUNKS
-
+ $(DefineConstants);FEATURE_ICASTABLE
+
$(DefineConstants);PROFILING_SUPPORTED
$(DefineConstants);FEATURE_PROFAPI_ATTACH_DETACH
diff --git a/src/coreclr/vm/corelib.h b/src/coreclr/vm/corelib.h
index c9bc96ccb4e7c4..1821750337f4b9 100644
--- a/src/coreclr/vm/corelib.h
+++ b/src/coreclr/vm/corelib.h
@@ -869,7 +869,7 @@ DEFINE_FIELD_U(_requireWaitNotification, SynchronizationContextObject, _requireW
DEFINE_CLASS(SYNCHRONIZATION_CONTEXT, Threading, SynchronizationContext)
DEFINE_METHOD(SYNCHRONIZATION_CONTEXT, INVOKE_WAIT_METHOD_HELPER, InvokeWaitMethodHelper, SM_SyncCtx_ArrIntPtr_Bool_Int_RetInt)
-#ifdef _DEBUG
+#ifdef DEBUG
DEFINE_CLASS(STACKCRAWMARK, Threading, StackCrawlMark)
#endif