This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
libc/elf dl-lookup.c
- From: drepper at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 18 Sep 2007 19:20:46 -0000
- Subject: libc/elf dl-lookup.c
CVSROOT: /cvs/glibc
Module name: libc
Changes by: drepper@sourceware.org 2007-09-18 19:20:46
Modified files:
elf : dl-lookup.c
Log message:
(add_dependency): Add flags argument.
Remember map->l_serial, if DL_LOOKUP_GSCOPE_LOCK is among
flags, use THREAD_GSCOPE_RESET_FLAG before and
THREAD_GSCOPE_SET_FLAG after
__rtld_lock_lock_recursive (GL(dl_load_lock)) to avoid deadlock.
Don't dereference map until it has been found on some list.
If map->l_serial changed, return -1.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/elf/dl-lookup.c.diff?cvsroot=glibc&r1=1.128&r2=1.129