Ulrich Drepper 1100f84983 Jakub Jelinek <jakub@redhat.com>
Implement reference counting of scope records.
	* elf/dl-close.c (_dl_close): Remove all scopes from removed objects
	from the list in objects which remain.  Always allocate new scope
	record.
	* elf/dl-open.c (dl_open_worker): When growing array for scopes,
	don't resize, allocate a new one.
	* elf/dl-runtime.c: Update reference counters before using a scope
	array.
	* elf/dl-sym.c: Likewise.
	* elf/dl-libc.c: Adjust for l_scope name change.
	* elf/dl-load.c: Likewise.
	* elf/dl-object.c: Likewise.
	* elf/rtld.c: Likewise.
	* include/link.h: Inlcude <rtld-lowlevel.h>.  Define struct
	r_scoperec.  Replace r_scope with pointer to r_scoperec structure.
	Add l_scoperec_lock.
	* sysdeps/generic/ldsodefs.h: Include <rtld-lowlevel.h>.
	* sysdeps/generic/rtld-lowlevel.h: New file.

	* include/atomic.h: Rename atomic_and to atomic_and_val and
	atomic_or to atomic_or_val.  Define new macros atomic_and and
	atomic_or which do not return values.
	* sysdeps/x86_64/bits/atomic.h: Define atomic_and and atomic_or.
	Various cleanups.
	* sysdeps/i386/i486/bits/atomic.h: Likewise.
2006-10-10 00:51:29 +00:00
..
2006-09-09 11:21:48 +00:00
2006-09-09 11:21:48 +00:00
2004-09-20 00:16:11 +00:00
2007-07-12 18:26:36 +00:00
2004-03-24 22:05:34 +00:00
2004-09-02 18:59:24 +00:00
2004-10-06 18:09:57 +00:00
2004-09-02 18:59:24 +00:00
2003-09-22 21:30:25 +00:00
2003-12-20 23:39:42 +00:00
2004-03-29 22:04:09 +00:00
2004-03-29 22:04:09 +00:00
2007-07-12 18:26:36 +00:00
2004-03-10 05:25:48 +00:00
2004-09-08 06:09:02 +00:00
2003-06-08 05:28:14 +00:00
2003-12-11 09:39:06 +00:00
2003-06-17 22:11:22 +00:00
2003-06-17 22:11:22 +00:00
2003-06-17 22:11:22 +00:00
2006-08-02 16:45:53 +00:00
2005-04-27 08:03:47 +00:00
2003-06-18 19:34:34 +00:00
2003-06-18 19:34:34 +00:00
2003-06-18 19:34:34 +00:00
2003-06-18 19:34:34 +00:00
2003-07-01 03:33:06 +00:00