/* The function is called from assembly stubs the compiler can't see. */
static void init (int, char **, char **) __attribute__ ((unused));
-extern int _dl_starting_up;
-weak_extern (_dl_starting_up)
-
/* Set nonzero if we have to be prepared for more then one libc being
used in the process. Safe assumption if initializer never runs. */
int __libc_multiple_libcs attribute_hidden = 1;
If the address would be taken inside the expression the optimizer
would try to be too smart and throws it away. Grrr. */
+#ifndef SHARED
/* XXX disable dl for now
int *dummy_addr = &_dl_starting_up;
__libc_multiple_libcs = dummy_addr && !_dl_starting_up; */
+#endif
/* Save the command-line arguments. */
__libc_argc = argc;
extern void __libc_init_first (int argc, char **argv, char **envp);
/* XXX disable for now
-extern int _dl_starting_up;
-weak_extern (_dl_starting_up)
extern int __libc_multiple_libcs; */
/* XXX normally defined in generic/dl-sydep.c, hack it into existance
extern void __libc_init_first (int argc, char **argv, char **envp);
/* XXX disable for now
-extern int _dl_starting_up;
-weak_extern (_dl_starting_up)
extern int __libc_multiple_libcs; */
/* XXX normally defined in generic/dl-sydep.c, hack it into existance