mirror of
https://github.com/acidanthera/OpenCorePkg.git
synced 2025-12-08 19:25:01 +00:00
OcAppleKernelLib: Correctly locate section relocation address.
This commit is contained in:
parent
780777675e
commit
8995e023aa
@ -554,7 +554,7 @@ InternalCalculateTargetsIntel64 (
|
||||
} else {
|
||||
Section = MachoGetSectionByIndex64 (
|
||||
MachoContext,
|
||||
Relocation->SymbolNumber
|
||||
(Relocation->SymbolNumber - 1)
|
||||
);
|
||||
if (Section == NULL) {
|
||||
return FALSE;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user