X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FKernel%2Fbinary.c;h=8a8bc3eba7a389eecb9f0986c4a06fa2d678221e;hb=3d16754198031c1fe2e5b012f7313aff4261ec2a;hp=e72de28b035d70c5a08b713d30d30a6d4279f504;hpb=2fcb3775f3afee7bfa9aa3cbb6aea3c6c3426e64;p=tpg%2Facess2.git diff --git a/KernelLand/Kernel/binary.c b/KernelLand/Kernel/binary.c index e72de28b..8a8bc3eb 100644 --- a/KernelLand/Kernel/binary.c +++ b/KernelLand/Kernel/binary.c @@ -768,17 +768,7 @@ void *Binary_LoadKernel(const char *File) pKBinary->Next = glLoadedKernelLibs; glLoadedKernelLibs = pKBinary; SHORTREL( &glKBinListLock ); - - // Relocate Library - if( !Binary_Relocate( (void*)base ) ) - { - Log_Warning("Binary", "Relocation of '%s' failed, unloading", File); - Binary_Unload( (void*)base ); - Binary_Dereference( pBinary ); - LEAVE('n'); - return 0; - } - + LEAVE('p', base); return (void*)base; }