diff options
Diffstat (limited to 'crt/nt32')
-rw-r--r-- | crt/nt32/crt1.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/crt/nt32/crt1.c b/crt/nt32/crt1.c index f58af6e..75a5053 100644 --- a/crt/nt32/crt1.c +++ b/crt/nt32/crt1.c @@ -19,17 +19,17 @@ extern const int __crtopt_vrfs __attribute((weak,alias("__disabled"))); int main(); -__external_routine -__psx_init_routine __psx_init; +__psx_init_routine * __psx_init_fn(void); __external_routine void __libc_entry_routine(void *,void *,int); -void start(void) +void _start(void) { __libc_entry_routine( - main, - __psx_init, - __crtopt_posix | __crtopt_dinga); + main,__psx_init_fn(), + __crtopt_posix + | __crtopt_dinga + | __crtopt_ldso + | __crtopt_vrfs); } - |