1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

* elf/dl-sym.c (do_sym): Use RTLD_SINGLE_THREAD_P.

* elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
	* elf/dl-close.c (_dl_close_worker): Likewise.
	* elf/dl-open.c (_dl_open_worker): Likewise.
	* sysdeps/generic/sysdep-cancel.h (RTLD_SINGLE_THREAD_P): Define.
This commit is contained in:
Ulrich Drepper
2006-10-29 21:46:32 +00:00
parent 78fbd00f39
commit b94817f913
6 changed files with 16 additions and 7 deletions

View File

@ -417,7 +417,7 @@ dl_open_worker (void *a)
memcpy (newp, imap->l_scope, cnt * sizeof (imap->l_scope[0]));
struct r_scope_elem **old = imap->l_scope;
if (SINGLE_THREAD_P)
if (RTLD_SINGLE_THREAD_P)
imap->l_scope = newp;
else
{