use lookup table for malloc bin index instead of float conversion
[musl.git] / crt / rcrt1.c
blobbe0171535bf860ecab1a35d2f42a977c6b09f0f3
1 #define START "_start"
2 #define _dlstart_c _start_c
3 #include "../ldso/dlstart.c"
5 int main();
6 void _init() __attribute__((weak));
7 void _fini() __attribute__((weak));
8 _Noreturn int __libc_start_main(int (*)(), int, char **,
9 void (*)(), void(*)(), void(*)());
11 __attribute__((__visibility__("hidden")))
12 _Noreturn void __dls2(unsigned char *base, size_t *sp)
14 __libc_start_main(main, *sp, (void *)(sp+1), _init, _fini, 0);