Index: branches/xZenu/src/modules/ModuleSystem/modules_support.s =================================================================== --- branches/xZenu/src/modules/ModuleSystem/modules_support.s (revision 1276) +++ branches/xZenu/src/modules/ModuleSystem/modules_support.s (revision 1277) @@ -1,11 +0,0 @@ -#ifdef CONFIG_MODULESYSTEM_MODULE -#include - -LABEL(dyld_stub_binder) - jmp _dyld_stub_binder - -LABEL(dyld_void_start) -LABEL(_ModuleSystem_start) - ret - -#endif \ No newline at end of file Index: branches/xZenu/src/modules/ModuleSystem/linker.c =================================================================== --- branches/xZenu/src/modules/ModuleSystem/linker.c (revision 1276) +++ branches/xZenu/src/modules/ModuleSystem/linker.c (revision 1277) @@ -154,9 +154,9 @@ /********************************************************************************/ /* dyld / Linker Interface */ /********************************************************************************/ - -void dyld_stub_binder() +void dyld_stub_binder() __attribute__((alias("dyld_stub_binder"))); +void dyld_stub_binder() { printf("ERROR: dyld_stub_binder was called, should have been take care of by the linker.\n"); getchar(); -} \ No newline at end of file +} \ No newline at end of file Index: branches/xZenu/src/modules/ModuleSystem/i386/modules_support.s =================================================================== --- branches/xZenu/src/modules/ModuleSystem/i386/modules_support.s (revision 0) +++ branches/xZenu/src/modules/ModuleSystem/i386/modules_support.s (revision 1277) @@ -0,0 +1,8 @@ +#ifdef CONFIG_MODULESYSTEM_MODULE +#include + +LABEL(dyld_void_start) +LABEL(_ModuleSystem_start) + ret + +#endif \ No newline at end of file