OcAppleKernelLib: Fix weak symbol resolution.
@@ -447,17 +447,18 @@ InternalSolveSymbol64 (
}
}
- *WeakTestValue = WeakTestSymbol->Value;
+ Value = WeakTestSymbol->Value;
+ *WeakTestValue = Value;
break;
}
}
+ }
if (Value != 0) {
InternalSolveSymbolValue64 (Value, Symbol);
return TRUE;
}
}
- }
return FALSE;
}
