From e3ef45e8173526614d1213ff5673aa8dc242b2eb Mon Sep 17 00:00:00 2001 From: Eugene Rozenfeld Date: Thu, 2 Jul 2015 12:45:04 -0700 Subject: Allow non-RIP-relative relocations in coreclr crossgen. --- src/zap/zapinfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zap/zapinfo.cpp b/src/zap/zapinfo.cpp index 151ac02799..0e48eda475 100644 --- a/src/zap/zapinfo.cpp +++ b/src/zap/zapinfo.cpp @@ -3312,7 +3312,7 @@ void ZapInfo::recordRelocation(void *location, void *target, break; case IMAGE_REL_BASED_PTR: -#ifdef _TARGET_AMD64_ +#if defined(_TARGET_AMD64_) && !defined(FEATURE_CORECLR) _ASSERTE(!"Why we are not using RIP relative address?"); #endif *(UNALIGNED TADDR *)location = (TADDR)targetOffset; -- cgit v1.2.3