diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-02-24 08:34:04 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-02-24 08:34:04 +0000 |
commit | d417e0ffc4d2707b0d684106f17554395e8be220 (patch) | |
tree | bc82f92f536ab65b8e6f1dde3ab17169640ae12d /sysdeps/mach/hurd | |
parent | 69f0c4d8b99dd0aaf82fa213a518ebe1f813791e (diff) | |
download | glibc-d417e0ffc4d2707b0d684106f17554395e8be220.tar.gz glibc-d417e0ffc4d2707b0d684106f17554395e8be220.tar.xz glibc-d417e0ffc4d2707b0d684106f17554395e8be220.zip |
Update.
2002-02-24 Ulrich Drepper <drepper@redhat.com> * elf/dl-support.c (_dl_non_dynamic_init): Renamed from non_dynamic_init and exported now. * sysdeps/unix/sysv/linux/ldsodefs.h: Declare _dl_non_dynamic_init. * sysdeps/unix/sysv/linux/init-first.c: Call _dl_non_dynamic_init for !SHARED. * sysdeps/mach/hurd/i386/init-first.c: Likewise. * sysdeps/mach/hurd/powerpc/init-first.c: Likewise. * sysdeps/mach/hurd/mips/init-first.c: Likewise.
Diffstat (limited to 'sysdeps/mach/hurd')
-rw-r--r-- | sysdeps/mach/hurd/i386/init-first.c | 6 | ||||
-rw-r--r-- | sysdeps/mach/hurd/mips/init-first.c | 6 | ||||
-rw-r--r-- | sysdeps/mach/hurd/powerpc/init-first.c | 6 |
3 files changed, 18 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/i386/init-first.c b/sysdeps/mach/hurd/i386/init-first.c index f8149da4a2..ad32b30af0 100644 --- a/sysdeps/mach/hurd/i386/init-first.c +++ b/sysdeps/mach/hurd/i386/init-first.c @@ -33,6 +33,9 @@ extern void __init_misc (int, char **, char **); #ifdef USE_NONOPTION_FLAGS extern void __getopt_clean_environment (char **); #endif +#ifndef SHARED +extern void _dl_non_dynamic_init (void) internal_function; +#endif extern void __libc_global_ctors (void); unsigned int __hurd_threadvar_max; @@ -65,6 +68,9 @@ posixland_init (int argc, char **argv, char **envp) __libc_argv = argv; __environ = envp; +#ifndef SHARED + _dl_non_dynamic_init (); +#endif __init_misc (argc, argv, envp); __libc_init (argc, argv, envp); diff --git a/sysdeps/mach/hurd/mips/init-first.c b/sysdeps/mach/hurd/mips/init-first.c index 525f510cc1..07b8e9e38c 100644 --- a/sysdeps/mach/hurd/mips/init-first.c +++ b/sysdeps/mach/hurd/mips/init-first.c @@ -31,6 +31,9 @@ extern void __init_misc (int, char **, char **); #ifdef USE_NONOPTION_FLAGS extern void __getopt_clean_environment (char **); #endif +#ifndef SHARED +extern void _dl_non_dynamic_init (void) internal_function; +#endif extern void __libc_global_ctors (void); unsigned int __hurd_threadvar_max; @@ -107,6 +110,9 @@ init1 (int argc, char *arg0, ...) d->portarray, d->portarraysize, d->intarray, d->intarraysize); +#ifndef SHARED + _dl_non_dynamic_init (); +#endif __init_misc (argc, argv, __environ); __libc_init (argc, argv, __environ); diff --git a/sysdeps/mach/hurd/powerpc/init-first.c b/sysdeps/mach/hurd/powerpc/init-first.c index c9ad66096b..18e824a487 100644 --- a/sysdeps/mach/hurd/powerpc/init-first.c +++ b/sysdeps/mach/hurd/powerpc/init-first.c @@ -33,6 +33,9 @@ extern void __init_misc (int, char **, char **); #ifdef USE_NONOPTION_FLAGS extern void __getopt_clean_environment (char **); #endif +#ifndef SHARED +extern void _dl_non_dynamic_init (void) internal_function; +#endif extern void __libc_global_ctors (void); unsigned int __hurd_threadvar_max; @@ -70,6 +73,9 @@ posixland_init (int argc, char **argv, char **envp) __libc_argv = argv; __environ = envp; +#ifndef SHARED + _dl_non_dynamic_init (); +#endif __init_misc (argc, argv, envp); __libc_init (argc, argv, envp); |