protect destruction of process-shared mutexes against robust list races
[musl.git] / crt / rcrt1.c
blob901dff6819546c2cdd8d376ba9b1fdc8e08b03c5
1 #define START "_start"
2 #define _dlstart_c _start_c
3 #include "../ldso/dlstart.c"
5 int main();
6 weak void _init();
7 weak void _fini();
8 int __libc_start_main(int (*)(), int, char **,
9 void (*)(), void(*)(), void(*)());
11 hidden void __dls2(unsigned char *base, size_t *sp)
13 __libc_start_main(main, *sp, (void *)(sp+1), _init, _fini, 0);