glibc/sysdeps
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
..
alpha * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.c: Moved to ... 2006-02-25 01:29:59 +00:00
generic Jakub Jelinek <jakub@redhat.com> 2006-10-10 00:51:29 +00:00
gnu * Makefile (subdir-target-args): New variable. 2006-02-28 07:11:04 +00:00
i386 Jakub Jelinek <jakub@redhat.com> 2006-10-10 00:51:29 +00:00
ia64 [BZ #2013] 2006-03-02 04:49:27 +00:00
ieee754 [BZ #3252, BZ #3253] 2006-09-25 15:33:09 +00:00
mach * sysdeps/unix/sysv/linux/sys/ptrace.h [PTRACE_SETOPTIONS, 2006-09-17 16:06:42 +00:00
posix * sysdeps/posix/getaddrinfo.c (match_prefix): Make mask and val 2006-10-02 16:50:55 +00:00
powerpc [BZ #3252, BZ #3253] 2006-09-25 15:33:09 +00:00
pthread
s390 * stdlib/strtol_l.c (__strtol_ul_max_tab, __strtol_ul_rem_tab, 2006-08-08 15:51:48 +00:00
sh * math/divtc3.c: New file. 2006-02-01 03:02:06 +00:00
sparc [BZ #1006] 2006-09-09 11:21:48 +00:00
unix [BZ #3291] 2006-10-02 18:41:30 +00:00
wordsize-32
wordsize-64
x86_64 Jakub Jelinek <jakub@redhat.com> 2006-10-10 00:51:29 +00:00