aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bushnell, BSG <thomas@gnu.org>1996-08-26 17:39:10 +0000
committerThomas Bushnell, BSG <thomas@gnu.org>1996-08-26 17:39:10 +0000
commit548330d38eefef72c138211300e867733613c7c2 (patch)
tree2eb7f3d647f4b0eacbf3ee4a96322b4dddd18f3c
parentdcf0671d905200c449f92ead6cf43c184637a0d5 (diff)
downloadglibc-548330d38eefef72c138211300e867733613c7c2.zip
glibc-548330d38eefef72c138211300e867733613c7c2.tar.gz
glibc-548330d38eefef72c138211300e867733613c7c2.tar.bz2
*** empty log message ***
-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 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