diff options
author | Ulrich Drepper <drepper@redhat.com> | 2006-10-29 21:46:32 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2006-10-29 21:46:32 +0000 |
commit | b94817f9139b92e4bde284a63b1b6ec570055d38 (patch) | |
tree | 0f26988c2722e4044ccd83ee837315ae36c92873 /elf/dl-sym.c | |
parent | 78fbd00f39d48592d55bd4a022a909c9577b21db (diff) | |
download | glibc-b94817f9139b92e4bde284a63b1b6ec570055d38.tar.gz glibc-b94817f9139b92e4bde284a63b1b6ec570055d38.tar.xz glibc-b94817f9139b92e4bde284a63b1b6ec570055d38.zip |
* 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.
Diffstat (limited to 'elf/dl-sym.c')
-rw-r--r-- | elf/dl-sym.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dl-sym.c b/elf/dl-sym.c index 2081fd53f1..88a5adb0d5 100644 --- a/elf/dl-sym.c +++ b/elf/dl-sym.c @@ -113,7 +113,7 @@ do_sym (void *handle, const char *name, void *who, the initial binary. And then the more complex part where the object is dynamically loaded and the scope array can change. */ - if (match->l_type != lt_loaded || SINGLE_THREAD_P) + if (match->l_type != lt_loaded || RTLD_SINGLE_THREAD_P) result = GLRO(dl_lookup_symbol_x) (name, match, &ref, match->l_scope, vers, 0, flags | DL_LOOKUP_ADD_DEPENDENCY, |