Blame crt/nt64/crtidata.c

4ab9c5
/****************************************/
4ab9c5
/* dynamically linked applications only */
4ab9c5
/* see also: Scrt1.c                    */
4ab9c5
/****************************************/
4ab9c5
4ab9c5
#define __external_routine __attribute__((dllimport))
4ab9c5
8b88c6
__external_routine int  __psx_init(int *,char ***,char ***,void *);
8b88c6
__external_routine void __libc_entry_routine(void *,void *,int);
4ab9c5
8b88c6
void __libc_loader_init(void * __main, int flags)
4ab9c5
{
8b88c6
	__libc_entry_routine(__main,__psx_init,flags);
4ab9c5
}