Call _dl_non_dynamic_init for !SHARED.
authordrepper <drepper>
Sun, 24 Feb 2002 08:27:39 +0000 (08:27 +0000)
committerdrepper <drepper>
Sun, 24 Feb 2002 08:27:39 +0000 (08:27 +0000)
sysdeps/unix/sysv/linux/init-first.c

index 1fb04bb..7568a32 100644 (file)
@@ -87,6 +87,10 @@ init (int argc, char **argv, char **envp)
 
 #ifndef SHARED
   __libc_init_secure ();
+
+  /* First the initialization which normally would be done by the
+     dynamic linker.  */
+  _dl_non_dynamic_init ();
 #endif
 
   __init_misc (argc, argv, envp);