Chameleon

Chameleon Commit Details

Date:2011-08-05 08:09:42 (12 years 8 months ago)
Author:Evan Lojewski
Commit:1277
Parents: 1276
Message:Begin arch specific module changes
Changes:
R/branches/xZenu/src/modules/ModuleSystem/modules_support.s → /branches/xZenu/src/modules/ModuleSystem/i386/modules_support.s
A/branches/xZenu/src/modules/ModuleSystem/i386
M/branches/xZenu/src/modules/ModuleSystem/linker.c

File differences

branches/xZenu/src/modules/ModuleSystem/modules_support.s
1
2
3
4
5
6
7
8
9
10
11
#ifdef CONFIG_MODULESYSTEM_MODULE
#include <architecture/i386/asm_help.h>
LABEL(dyld_stub_binder)
jmp_dyld_stub_binder
LABEL(dyld_void_start)
LABEL(_ModuleSystem_start)
ret
#endif
branches/xZenu/src/modules/ModuleSystem/linker.c
154154
155155
156156
157
158
157
158
159159
160160
161161
162
162
/********************************************************************************/
/*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();
}
}
branches/xZenu/src/modules/ModuleSystem/i386/modules_support.s
1
2
3
4
5
6
7
8
#ifdef CONFIG_MODULESYSTEM_MODULE
#include <architecture/i386/asm_help.h>
LABEL(dyld_void_start)
LABEL(_ModuleSystem_start)
ret
#endif

Archive Download the corresponding diff file

Revision: 1277