This is the mail archive of the
glibc-cvs@sources.redhat.com
mailing list for the glibc project.
libc elf/neededtest2.c elf/neededtest.c elf/ci ...
- From: roland at sourceware dot org
- To: glibc-cvs at sources dot redhat dot com
- Date: 6 Apr 2005 02:50:11 -0000
- Subject: libc elf/neededtest2.c elf/neededtest.c elf/ci ...
CVSROOT: /cvs/glibc
Module name: libc
Branch: glibc-2_3-branch
Changes by: roland@sources.redhat.com 2005-04-06 02:50:11
Modified files:
elf : neededtest2.c neededtest.c circleload1.c
unload.c loadtest.c do-lookup.h dl-deps.c
unload2.c neededtest3.c neededtest4.c dl-load.c
include : link.h
Log message:
2005-03-18 Ulrich Drepper <drepper@redhat.com>
[BZ #821]
* include/link.h (struct link_map): Remove l_opencount. Add l_removed.
Change type of l_idx to int.
* elf/dl-close.c: Basically rewrite. Do not use l_opencount to
determine whether a DSO has to be unloaded. Instead compute this
in this function.
* elf/dl-deps.c: No need to manipulate l_opencount anymore.
* elf/dl-lookup.c: Likewise.
* elf/rtld.c: Likewise
* elf/dl-open.c: Likewise. Use l_init_called to determine whether
object was just loaded.
* elf/dl-fini.c: Bump l_direct_opencount instead of l_opencount.
* elf/dl-load.c (_dl_map_object_from_fd): Do not recognize DSO which
is about to be unloaded as a match.
(_dl_map_object): Likewise.
* elf/do-lookup.h (do_lookup_x): Do not look into DSO which is about
to be unloaded.
* elf/circleload1.c: Don't use l_opencount anymore.
* elf/neededtest.c: Likewise.
* elf/neededtest2.c: Likewise.
* elf/neededtest3.c: Likewise.
* elf/neededtest4.c: Likewise.
* elf/unload.c: Likewise.
* elf/unload2.c: Likewise.
* elf/loadtest.c: Likewise.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/elf/neededtest2.c.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.1&r2=1.1.6.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/elf/neededtest.c.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.4&r2=1.4.6.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/elf/circleload1.c.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.2&r2=1.2.4.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/elf/unload.c.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.2&r2=1.2.6.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/elf/loadtest.c.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.8&r2=1.8.6.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/elf/do-lookup.h.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.30&r2=1.30.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/elf/dl-deps.c.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.77&r2=1.77.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/elf/unload2.c.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.2&r2=1.2.6.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/elf/neededtest3.c.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.1&r2=1.1.6.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/elf/neededtest4.c.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.1&r2=1.1.6.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/elf/dl-load.c.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.254.2.3&r2=1.254.2.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/include/link.h.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.33&r2=1.33.2.1