diff options
-rw-r--r-- | sysdeps/i386/init-first.c | 1 | ||||
-rw-r--r-- | sysdeps/mach/hurd/i386/init-first.c | 2 | ||||
-rw-r--r-- | sysdeps/stub/init-first.c | 2 |
3 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/i386/init-first.c b/sysdeps/i386/init-first.c index 792702e..0e6e15f 100644 --- a/sysdeps/i386/init-first.c +++ b/sysdeps/i386/init-first.c @@ -22,6 +22,7 @@ Cambridge, MA 02139, USA. */ extern void __libc_init (int, char **, char **); extern void __libc_global_ctors (void); +int __libc_multiple_libcs = 1; static void init (int *data) diff --git a/sysdeps/mach/hurd/i386/init-first.c b/sysdeps/mach/hurd/i386/init-first.c index ba39a70..d095580 100644 --- a/sysdeps/mach/hurd/i386/init-first.c +++ b/sysdeps/mach/hurd/i386/init-first.c @@ -29,6 +29,8 @@ extern void __mach_init (void); extern void __libc_init (int, char **, char **); extern void __libc_global_ctors (void); +int __libc_multiple_libcs = 1; + void *(*_cthread_init_routine) (void); /* Returns new SP to use. */ void (*_cthread_exit_routine) (int status) __attribute__ ((__noreturn__)); diff --git a/sysdeps/stub/init-first.c b/sysdeps/stub/init-first.c index de803fa..32ffa82 100644 --- a/sysdeps/stub/init-first.c +++ b/sysdeps/stub/init-first.c @@ -19,6 +19,8 @@ Cambridge, MA 02139, USA. */ #include <unistd.h> +int __libc_multiple_libcs = 1; + extern void __libc_init (int, char **, char **); #ifdef PIC |