summaryrefslogtreecommitdiffhomepage
path: root/crt/nt64/crtidata.c
blob: 8b96ff136c4ecac297a92fbabb75a5349682eb41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/**************************************************************************/
/*  mmglue: midipix architecture- and target-specific bits for musl libc  */
/*  Copyright (C) 2013--2023  SysDeer Technologies, LLC                   */
/*  Released under the Standard MIT License; see COPYING.MMGLUE.          */
/**************************************************************************/

/****************************************/
/* dynamically linked applications only */
/* see also: Scrt1.c                    */
/****************************************/

#define __external_routine __attribute__((dllimport))

__external_routine int  __psx_init(int *,char ***,char ***,void *);
__external_routine void __libc_entry_routine(void *,void *,const unsigned short *,int);

void __libc_loader_init(void * __main, int flags)
{
	__libc_entry_routine(__main,__psx_init,0,flags);
}