diff options
author | Ulrich Drepper <drepper@redhat.com> | 2007-01-15 20:48:56 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2007-01-15 20:48:56 +0000 |
commit | 4e35ef2c710dfefe96a491d133b5a53414e9a5c2 (patch) | |
tree | d9219ecd731de733953c1224356ecbe068b35e7f /nscd | |
parent | fb453d084d86f22718b60422a135f7c70e47f0ac (diff) | |
download | glibc-4e35ef2c710dfefe96a491d133b5a53414e9a5c2.zip glibc-4e35ef2c710dfefe96a491d133b5a53414e9a5c2.tar.gz glibc-4e35ef2c710dfefe96a491d133b5a53414e9a5c2.tar.bz2 |
* sysdeps/generic/ldsodefs.h: Define DL_LOOKUP_SCOPE_LOCK.
* elf/dl-lookup.c (add_dependency): If scope map is locked, unlock
it before getting dl_load_lock and then relock.
(_dl_lookup_symbol_x): Pass flags to add_dependency.
When rerunning _dl_lookup_symbol_x, compute symbol_scope again in
case we unlocked the scope.
* elf/dl-runtime.c (_dl_fixup): Pass DL_LOOKUP_SCOPE_LOCK to
_dl_lookup_symbol_x in case we locked the scope.
(_dl_profile_fixup): Likewise.
* elf/dl-sym.c (do_sym): In flags passed to call_dl_lookup, also
set DL_LOOKUP_SCOPE_LOCK.
Diffstat (limited to 'nscd')
0 files changed, 0 insertions, 0 deletions