git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed Double-Relocation in modules.c (edited bin/elf.c to find this)
[tpg/acess2.git]
/
Kernel
/
modules.c
diff --git
a/Kernel/modules.c
b/Kernel/modules.c
index
93de973
..
a206cf9
100644
(file)
--- a/
Kernel/modules.c
+++ b/
Kernel/modules.c
@@
-156,7
+156,6
@@
int Module_LoadFile(char *Path, char *ArgString)
// Check for EDI Driver
if( Binary_FindSymbol(base, "driver_init", NULL ) != 0 )
{
// Check for EDI Driver
if( Binary_FindSymbol(base, "driver_init", NULL ) != 0 )
{
- Binary_Relocate(base); // Relocate
return Module_InitEDI( base ); // And intialise
}
#endif
return Module_InitEDI( base ); // And intialise
}
#endif
@@
-164,7
+163,6
@@
int Module_LoadFile(char *Path, char *ArgString)
#if USE_UDI
if( Binary_FindSymbol(base, "udi_init_info", NULL ) != 0 )
{
#if USE_UDI
if( Binary_FindSymbol(base, "udi_init_info", NULL ) != 0 )
{
- Binary_Relocate(base); // Relocate
return UDI_LoadDriver( base ); // And intialise
}
#endif
return UDI_LoadDriver( base ); // And intialise
}
#endif
UCC
git Repository :: git.ucc.asn.au