about summary refs log tree commit diff
path: root/elf/soinit.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/soinit.c')
-rw-r--r--elf/soinit.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/elf/soinit.c b/elf/soinit.c
index 42e6cf1691..ff65af4a36 100644
--- a/elf/soinit.c
+++ b/elf/soinit.c
@@ -36,9 +36,6 @@ extern void __deregister_frame (const void *);
 # endif
 #endif
 
-/* We have to initialize the thread library at least if bit.  */
-extern void __pthread_initialize_minimal (void) __attribute__ ((weak));
-
 /* This function will be called from _init in init-first.c.  */
 void
 __libc_global_ctors (void)
@@ -46,11 +43,6 @@ __libc_global_ctors (void)
   /* Call constructor functions.  */
   run_hooks (__CTOR_LIST__);
 
-  /* Initialize the thread library at least a bit since the libgcc functions
-     are using thread functions if these are available.  */
-  if (__pthread_initialize_minimal)
-    __pthread_initialize_minimal ();
-
 #ifdef HAVE_DWARF2_UNWIND_INFO
 # ifdef HAVE_DWARF2_UNWIND_INFO_STATIC
   {