about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/init-first.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-03-09 23:40:44 +0000
committerUlrich Drepper <drepper@redhat.com>1998-03-09 23:40:44 +0000
commit1393c745813e58e6bfbcb728b471765c4aa6c36f (patch)
tree83a07a633fd4dd0cda77a4ebea698c9b01bd88ff /sysdeps/unix/sysv/linux/init-first.c
parent0c367d923b58c146c30acc560c18097bacae91c4 (diff)
downloadglibc-1393c745813e58e6bfbcb728b471765c4aa6c36f.tar.gz
glibc-1393c745813e58e6bfbcb728b471765c4aa6c36f.tar.xz
glibc-1393c745813e58e6bfbcb728b471765c4aa6c36f.zip
Update.
1998-03-09 23:36  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments
	in correct format.
	* sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first
	with correct parameters.
	[!PIC]: Initialize __libc_multiple_libcs.
Diffstat (limited to 'sysdeps/unix/sysv/linux/init-first.c')
-rw-r--r--sysdeps/unix/sysv/linux/init-first.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/init-first.c b/sysdeps/unix/sysv/linux/init-first.c
index 3a172288b6..acaf5093a4 100644
--- a/sysdeps/unix/sysv/linux/init-first.c
+++ b/sysdeps/unix/sysv/linux/init-first.c
@@ -1,5 +1,5 @@
 /* Initialization code run first thing by the ELF startup code.  Linux version.
-   Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
+   Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -97,9 +97,11 @@ __libc_init_first (void)
 }
 
 #else
-
-SYSDEP_CALL_INIT(__libc_init_first, init);
-
+void
+__libc_init_first (int argc, char **argv, char **envp)
+{
+  init (argc, argv, envp);
+}
 #endif