Blame crt/nt32/crtidata.c

716654
/**************************************************************************/
716654
/*  mmglue: midipix architecture- and target-specific bits for musl libc  */
716654
/*  Copyright (C) 2013--2023  SysDeer Technologies, LLC                   */
716654
/*  Released under the Standard MIT License; see COPYING.MMGLUE.          */
716654
/**************************************************************************/
716654
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
}