summaryrefslogtreecommitdiffhomepage
path: root/crt/nt32/crt1.c
blob: 1b8eea01d3352646d8ea83cb90eef09387e143f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
static const int __disabled = 0;
extern const int __crtopt_posix  __attribute((weak,alias("__disabled")));
extern const int __crtopt_dinga  __attribute((weak,alias("__disabled")));
extern const int __crtopt_ldso   __attribute((weak,alias("__disabled")));
extern const int __crtopt_vrfs   __attribute((weak,alias("__disabled")));

int  main();
void __libc_loader_init(void * __main, int flags);

void _start(void)
{
	__libc_loader_init(
		main,
		__crtopt_posix
			| __crtopt_dinga
			| __crtopt_ldso
			| __crtopt_vrfs);
}