glibc/sysdeps/x86_64/bits
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
..
atomic.h Jakub Jelinek <jakub@redhat.com> 2006-10-10 00:51:29 +00:00
byteswap.h 2.5-18.1 2007-07-12 18:26:36 +00:00
endian.h Update. 2001-09-19 10:37:31 +00:00
link.h Update. 2005-01-23 04:50:51 +00:00
linkmap.h * csu/elf-init.c (__libc_csu_fini): Don't do anything here. 2005-01-06 22:40:27 +00:00
mathdef.h * math/divtc3.c: New file. 2006-02-01 03:02:06 +00:00
setjmp.h Add back accidently removed #endif. 2006-01-10 17:58:26 +00:00
string.h Update. 2001-09-19 10:37:31 +00:00
wordsize.h Update. 2002-10-03 11:49:01 +00:00
xtitypes.h 2002-10-23 Roland McGrath <roland@redhat.com> 2002-10-23 23:48:42 +00:00