Skip to content

Commit

Permalink
Add missing Arm64 reloc support
Browse files Browse the repository at this point in the history
  • Loading branch information
nattress committed Jan 26, 2021
1 parent 8a56491 commit 84ade17
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,13 @@ public void ProcessRelocation(RelocType relocationType, int sourceRVA, int targe
break;
}

case RelocType.IMAGE_REL_BASED_ARM64_BRANCH26:
{
relocationLength = 4;
delta = targetRVA - sourceRVA;
break;
}

case RelocType.IMAGE_REL_BASED_ARM64_PAGEBASE_REL21:
{
relocationLength = 4;
Expand Down

0 comments on commit 84ade17

Please sign in to comment.