1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00
2001-01-11  H.J. Lu  <hjl@gnu.org>

	* elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
	* elf/dl-open.c (_dl_open): Here.
	* sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
	Make it static.
	(_dl_static_init): Initialize the variables every time when possible.
	* sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
	Undefine it first.
This commit is contained in:
Ulrich Drepper
2001-01-11 19:42:21 +00:00
parent 3bbddbe4a3
commit 7e36861e77
6 changed files with 30 additions and 16 deletions

View File

@ -430,6 +430,10 @@ _dl_open (const char *file, int mode, const void *caller)
_dl_signal_error (errcode, objname, local_errstring);
}
#ifndef SHARED
DL_STATIC_INIT (args.map);
#endif
return args.map;
}