OcAppleKernelLib: Remove superfluous STAB check.

This commit is contained in:
Download-Fritz 2019-03-27 15:18:31 +01:00
parent 6bb2e4b46f
commit 7c8f51f6f2

View File

@ -382,8 +382,7 @@ InternalSolveSymbol64 (
return TRUE;
}
if (((Symbol->Type & MACH_N_TYPE_STAB) == 0)
&& ((Symbol->Descriptor & MACH_N_WEAK_DEF) != 0)) {
if ((Symbol->Descriptor & MACH_N_WEAK_DEF) != 0) {
//
// KXLD_WEAK_TEST_SYMBOL is not going to be defined or exposed by a KEXT
// prelinked by this library, hence only check the undefined symbols region