summaryrefslogtreecommitdiffstats
path: root/libc/bionic/libc_init_static.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/bionic/libc_init_static.c')
-rw-r--r--libc/bionic/libc_init_static.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/libc/bionic/libc_init_static.c b/libc/bionic/libc_init_static.c
index f97961d..a73bb71 100644
--- a/libc/bionic/libc_init_static.c
+++ b/libc/bionic/libc_init_static.c
@@ -67,9 +67,6 @@ __noreturn void __libc_init(uintptr_t *elfdata,
__libc_init_tls(NULL);
- /* get the initial thread from TLS and add it to gThreadList */
- _pthread_internal_add(__get_thread());
-
/* Initialize the C runtime environment */
__libc_init_common(elfdata);
@@ -80,11 +77,6 @@ __noreturn void __libc_init(uintptr_t *elfdata,
/* pre-init array. */
call_array(structors->preinit_array);
-#ifndef __i386__
- /* .ctors section initializers, for non-arm-eabi ABIs */
- call_array(structors->ctors_array);
-#endif
-
// call static constructors
call_array(structors->init_array);