break;
}
+#ifdef DL_SYSDEP_OSCHECK
+ DL_SYSDEP_OSCHECK (dl_fatal);
+#endif
+
/* Linux doesn't provide us with any of these values on the stack
when the dynamic linker is run directly as a program. */
if (__builtin_expect (__libc_enable_secure, 0))
__libc_check_standard_fds ();
-#ifdef DL_SYSDEP_OSCHECK
- DL_SYSDEP_OSCHECK (dl_fatal);
-#endif
-
(*dl_main) (phdr, phnum, &user_entry);
return user_entry;
}
#include <sys/sysctl.h>
+/* There is no prototype for __sysctl in that file. */
+extern int __sysctl (int *name, int nlen, void *oldval,
+ size_t *oldlenp, void *newval, size_t newlen);
+
+
#ifdef SHARED
/* This is the function used in the dynamic linker to print the fatal error
message. */