Blame crt/nt32/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 *);
554d2c
__external_routine void __libc_entry_routine(void *,void *,const unsigned short *,int);
4ab9c5
8b88c6
void __libc_loader_init(void * __main, int flags)
4ab9c5
{
554d2c
	__libc_entry_routine(__main,__psx_init,0,flags);
4ab9c5
}