Subversion Repositories Kolibri OS

Rev

Rev 3805 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3805 Rev 3915
Line 36... Line 36...
36
void *load_libc();
36
void *load_libc();
37
void __main (){};
37
void __main (){};
Line 38... Line 38...
38
 
38
 
Line -... Line 39...
-
 
39
void* get_entry_point(void *raw);
-
 
40
 
39
void* get_entry_point(void *raw);
41
void _pei386_runtime_relocator (void){};
40
 
42
 
41
void  __attribute__((noreturn))
43
void  __attribute__((noreturn))
42
__crt_startup (void)
44
__crt_startup (void)
43
{
45
{
44
    struct   app_hdr *header;
46
    struct   app_hdr *header;
Line -... Line 47...
-
 
47
    void    *img;
-
 
48
    void __attribute__((noreturn)) (*entry)(void *img);
45
    void    *img;
49
 
Line 46... Line 50...
46
    void __attribute__((noreturn)) (*entry)(void *img);
50
//    _pei386_runtime_relocator();
47
 
51
 
48
    img = load_libc();
-
 
49
 
52
    img = load_libc();
50
    if(img == NULL)
53
 
Line 51... Line 54...
51
    {
54
    if(img == NULL)
52
        asm("int3");
55
    {