diff --git a/Userland/Libraries/LibC/crt0.cpp b/Userland/Libraries/LibC/crt0.cpp index a02a4d14b2d..0988367fbb9 100644 --- a/Userland/Libraries/LibC/crt0.cpp +++ b/Userland/Libraries/LibC/crt0.cpp @@ -51,17 +51,8 @@ int _start(int argc, char** argv, char** env) environ = env; __environ_is_malloced = false; - __libc_init(); - _init(); - extern void (*__init_array_start[])(int, char**, char**) __attribute__((visibility("hidden"))); - extern void (*__init_array_end[])(int, char**, char**) __attribute__((visibility("hidden"))); - - const size_t size = __init_array_end - __init_array_start; - for (size_t i = 0; i < size; i++) - (*__init_array_start[i])(argc, argv, env); - int status = main(argc, argv, environ); exit(status);