|
|
8b88c6 |
/****************************************/
|
|
|
d1c888 |
/* statically linked applications only */
|
|
|
8b88c6 |
/* see also: crtidata.c */
|
|
|
8b88c6 |
/****************************************/
|
|
|
4ab9c5 |
|
|
|
d32d30 |
static const unsigned short * __inherit = 0;
|
|
|
d32d30 |
extern const unsigned short * __ctty __attribute((weak,alias("__inherit")));
|
|
|
554d2c |
|
|
|
8b88c6 |
int __attribute__((__visibility__("hidden"))) __psx_init(int *,char ***,char ***,void *);
|
|
|
554d2c |
void __attribute__((__visibility__("hidden"))) __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,__ctty,flags);
|
|
|
4ab9c5 |
}
|
|
|
4ab9c5 |
|
|
|
860627 |
#include "crt1.c"
|