about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/i386/init-first.c1
-rw-r--r--sysdeps/mach/hurd/i386/init-first.c2
-rw-r--r--sysdeps/stub/init-first.c2
3 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/i386/init-first.c b/sysdeps/i386/init-first.c
index 792702e024..0e6e15fa50 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 ba39a70d23..d095580cfd 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 de803fadd0..32ffa82c8a 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