Skip to content

Commit

Permalink
Merge pull request dotnet#1200 from erozenfeld/CrossgenFix
Browse files Browse the repository at this point in the history
Allow non-RIP-relative relocations in coreclr crossgen.
  • Loading branch information
jkotas committed Jul 3, 2015
2 parents 2a8df6f + e3ef45e commit b2cc30c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zap/zapinfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b2cc30c

Please sign in to comment.