glibc/sysdeps/generic
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
..
elf * debug/pread64_chk.c: Use __libc_pread64 instead of __pread64. 2005-06-14 15:55:44 +00:00
net
netinet
nfs 2005-08-22 Robert Millan <robertmh@gnu.org> 2005-09-02 05:07:50 +00:00
sys
_G_config.h
a.out.h
abort-instr.h
aio_misc.h
allocalim.h
asm-syntax.h
bp-checks.h
bp-semctl.h
bp-start.h
bp-sym.h
bp-thunks.h * sysdeps/generic/bp-thunks.h: Protect includes with [!__ASSEMBLER__]. 2003-05-02 02:21:25 +00:00
confstr.h
device-nrs.h
dirstream.h
dl-cache.h 2.5-18.1 2007-07-12 18:26:36 +00:00
dl-dtprocnum.h
dl-fptr.h [BZ #677] 2005-02-07 22:56:07 +00:00
dl-hash.h [BZ #284, BZ #721] 2005-02-17 01:19:55 +00:00
dl-librecon.h
dl-lookupcfg.h [BZ #677] 2005-02-07 22:56:07 +00:00
dl-machine.h * sysdeps/generic/wordexp.c (exec_comm_child): Add inline keyword. 2005-03-15 22:57:31 +00:00
dl-osinfo.h * Versions.def (ld): Add GLIBC_2.4. 2005-06-26 18:14:26 +00:00
dl-procinfo.c
dl-procinfo.h
dl-sysdep.h [BZ #781, BZ #796] 2005-04-28 22:31:00 +00:00
dl-tls.h
dwarf2.h 2005-12-05 Roland McGrath <roland@redhat.com> 2005-12-06 00:15:01 +00:00
entry.h
errqueue.h
fd_to_filename.h
fork.h
fpu_control.h
frame.h
framestate.c Update. 2004-02-21 09:08:04 +00:00
gccframe.h
gmp-mparam.h
hp-timing.h
ifreq.h Update. 2003-06-28 08:26:43 +00:00
initfini.c * csu/elf-init.c: Update copyright terms including special exception 2004-08-16 04:51:23 +00:00
intr-msg.h
inttypes.h Update. 2004-09-07 22:33:37 +00:00
ldconfig.h
ldsodefs.h Jakub Jelinek <jakub@redhat.com> 2006-10-10 00:51:29 +00:00
libm-test-ulps
local-setxid.h * sysdeps/posix/spawni.c (__spawni): Use local_seteuid and 2006-06-04 22:17:06 +00:00
machine-gmon.h
machine-lock.h
machine-sp.h
Makefile 2005-12-13 Roland McGrath <roland@redhat.com> 2005-12-13 20:55:16 +00:00
malloc-machine.h Update. 2003-09-30 02:10:33 +00:00
math_ldbl_opt.h * math/math.h [__NO_LONG_DOUBLE_MATH] (__nldbl_nexttowardf): New 2006-01-14 12:10:44 +00:00
math_ldbl.h
memcopy.h Update. 2004-09-14 04:41:35 +00:00
memusage.h * sysdeps/ia64/fpu/libm_error.c (__libm_error_support): Don't abort. 2005-08-20 01:22:05 +00:00
not-cancel.h [BZ #2226] 2006-02-12 21:41:44 +00:00
nscd-types.h
pagecopy.h
paths.h
profil-counter.h
pty-private.h
register-dump.h
rtld-lowlevel.h Jakub Jelinek <jakub@redhat.com> 2006-10-10 00:51:29 +00:00
sigcontextinfo.h
siglist.h
sigset-cvt-mask.h
stackinfo.h
stdint.h [BZ #2841] 2006-08-12 21:23:54 +00:00
symbol-hacks.h Update. 2004-03-08 21:31:23 +00:00
sysdep-cancel.h 2.5-18.1 2007-07-12 18:26:36 +00:00
sysdep.h * elf/tst-tls8.c (do_test): Use $ORIGIN in module names. 2006-01-07 03:58:05 +00:00
testrtsig.h
thread_state.h
tls-macros.h * elf/tls-macros.h: #include_next <tls-macros.h> to get a sysdeps 2005-03-13 09:09:05 +00:00
tls.h
tst-audit.h * sysdeps/generic/ldsodefs.h (struct audit_ifaces): 2005-10-05 18:57:11 +00:00
tst-stack-align.h Update. 2003-09-17 08:47:44 +00:00
unsecvars.h * csu/elf-init.c (__libc_csu_fini): Don't do anything here. 2005-01-06 22:40:27 +00:00
unwind-dw2-fde-glibc.c 2004-05-25 Roland McGrath <roland@frob.com> 2004-05-25 18:48:24 +00:00
unwind-dw2-fde.c * sysdeps/generic/unwind-dw2-fde.c (end_fde_sort): Remove 2006-04-07 20:52:23 +00:00
unwind-dw2-fde.h 2004-05-18 Roland McGrath <roland@frob.com> 2004-05-18 21:18:52 +00:00
unwind-dw2.c * misc/tsearch.c (__tdelete): Remove unnecessary test 2006-05-02 00:50:46 +00:00
unwind-pe.c Update. 2004-03-10 10:04:19 +00:00
unwind-pe.h 2004-05-18 Roland McGrath <roland@frob.com> 2004-05-18 21:18:52 +00:00
unwind.h 2004-05-18 Roland McGrath <roland@frob.com> 2004-05-18 21:18:52 +00:00
utmp-equal.h