public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu dot org" <sourceware-bugzilla@sources.redhat.com>
To: glibc-bugs@sources.redhat.com
Subject: [Bug libc/821] dlclose dependency bugs
Date: Wed, 06 Apr 2005 02:50:00 -0000	[thread overview]
Message-ID: <20050406025007.10199.qmail@sourceware.org> (raw)
In-Reply-To: <20050406003951.821.roland@gnu.org>


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-04-06 02:50 -------
Subject: Bug 821

CVSROOT:	/cvs/glibc
Module name:	libc
Branch: 	glibc-2_3-branch
Changes by:	roland@sources.redhat.com	2005-04-06 02:49:49

Modified files:
	elf            : dl-lookup.c 

Log message:
	2005-03-19  Ulrich Drepper  <drepper@redhat.com>
	
	[BZ #821]
	* elf/dl-lookup.c (add_dependency): Always search l_initfini if
	the list exists.
	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/dl-lookup.c.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.117&r2=1.117.2.1


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-04-06 02:50 -------
Subject: Bug 821

CVSROOT:	/cvs/glibc
Module name:	libc
Branch: 	glibc-2_3-branch
Changes by:	roland@sources.redhat.com	2005-04-06 02:49:56

Modified files:
	elf            : Makefile 

Log message:
	2005-03-19  Ulrich Drepper  <drepper@redhat.com>
	
	[BZ #821]
	* elf/Makefile: Add rules to build and run order2.
	* elf/order2.c: New file.
	* elf/order2mod1.c: New file.
	* elf/order2mod2.c: New file.
	* elf/order2mod3.c: New file.
	* elf/order2mod4.c: New file.
	2005-03-08  Jakub Jelinek  <jakub@redhat.com>
	
	[BZ #821]
	* elf/Makefile: Add rules to build and run unload5 test.
	* elf/unload5.c: New file.
	[BZ #821]
	* elf/Makefile: Add rules to build and run unload4 test.
	* elf/unload4.c: New file.
	* elf/unload4mod1.c: New file.
	* elf/unload4mod2.c: New file.
	* elf/unload4mod3.c: New file.
	* elf/unload4mod4.c: New file.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/elf/Makefile.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.287.2.3&r2=1.287.2.4


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-04-06 02:50 -------
Subject: Bug 821

CVSROOT:	/cvs/glibc
Module name:	libc
Branch: 	glibc-2_3-branch
Changes by:	roland@sources.redhat.com	2005-04-06 02:49:52

Modified files:
	elf            : rtld.c 

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.
	[BZ #821]
	* elf/rtld.c: Preloading errors are now never fatal.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/elf/rtld.c.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.339.2.1&r2=1.339.2.2



-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=821

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


  parent reply	other threads:[~2005-04-06  2:50 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-06  0:39 [Bug libc/821] New: unload3 test case for dlclose roland at gnu dot org
2005-04-06  1:43 ` [Bug libc/821] " cvs-commit at gcc dot gnu dot org
2005-04-06  1:43 ` cvs-commit at gcc dot gnu dot org
2005-04-06  1:43 ` cvs-commit at gcc dot gnu dot org
2005-04-06  2:00 ` [Bug libc/821] dlclose dependency bugs roland at gnu dot org
2005-04-06  2:50 ` cvs-commit at gcc dot gnu dot org
2005-04-06  2:50 ` cvs-commit at gcc dot gnu dot org
2005-04-06  2:50 ` cvs-commit at gcc dot gnu dot org
2005-04-06  2:50 ` cvs-commit at gcc dot gnu dot org
2005-04-06  2:50 ` cvs-commit at gcc dot gnu dot org [this message]
2005-04-06  2:50 ` cvs-commit at gcc dot gnu dot org
2005-04-06  2:50 ` cvs-commit at gcc dot gnu dot org
2005-04-06  2:50 ` cvs-commit at gcc dot gnu dot org
2005-04-06  2:51 ` cvs-commit at gcc dot gnu dot org
2005-04-06  2:51 ` cvs-commit at gcc dot gnu dot org
2005-04-06  2:51 ` cvs-commit at gcc dot gnu dot org
2005-04-06  2:52 ` roland at gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050406025007.10199.qmail@sourceware.org \
    --to=sourceware-bugzilla@sources.redhat.com \
    --cc=glibc-bugs@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).