projects
/
platform
/
upstream
/
linaro-glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bb0396
)
Call _dl_non_dynamic_init for !SHARED.
author
Ulrich Drepper
<drepper@redhat.com>
Sun, 24 Feb 2002 08:33:08 +0000
(08:33 +0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Sun, 24 Feb 2002 08:33:08 +0000
(08:33 +0000)
sysdeps/mach/hurd/mips/init-first.c
patch
|
blob
|
history
diff --git
a/sysdeps/mach/hurd/mips/init-first.c
b/sysdeps/mach/hurd/mips/init-first.c
index
525f510
..
07b8e9e
100644
(file)
--- 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);