diff --git a/Library/OcAppleKernelLib/Link.c b/Library/OcAppleKernelLib/Link.c index ede7941c..13077093 100644 --- a/Library/OcAppleKernelLib/Link.c +++ b/Library/OcAppleKernelLib/Link.c @@ -554,7 +554,7 @@ InternalCalculateTargetsIntel64 ( } else { Section = MachoGetSectionByIndex64 ( MachoContext, - Relocation->SymbolNumber + (Relocation->SymbolNumber - 1) ); if (Section == NULL) { return FALSE;