glibc/include
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
..
arpa * include/arpa/nameser.h: Declare _ns_flagdata as hidden. 2006-05-12 04:16:08 +00:00
bits 2006-01-12 Roland McGrath <roland@redhat.com> 2006-01-12 09:27:47 +00:00
gnu * sysdeps/generic/bits/libc-tsd.h [USE___THREAD]: Conditional 2002-10-11 10:52:20 +00:00
net Update. 2004-06-30 07:43:11 +00:00
netinet * nis/nis_addmember.c (nis_addmember): Avoid unnecessary copying. 2006-05-25 17:16:17 +00:00
protocols
rpc * include/rpc/pmap_prot.h: Mark all functions as hidden. 2006-05-15 20:46:12 +00:00
rpcsvc * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_master. 2006-05-12 02:46:18 +00:00
sys [BZ #2182] 2006-08-03 20:36:43 +00:00
aio.h typo. 2006-01-04 07:35:13 +00:00
aliases.h Declare __getaliasent_r as hidden. 2002-03-18 23:38:37 +00:00
alloca.h 2005-01-05 Mike Frysinger <vapier@gentoo.org> 2006-01-06 09:55:30 +00:00
argp.h Update. 2000-12-28 15:08:51 +00:00
argz.h 2002-08-03 Roland McGrath <roland@redhat.com> 2002-08-04 01:28:06 +00:00
assert.h * sysdeps/mach/_strerror.c (__strerror_r): Add libc_hidden_def. 2002-08-30 01:31:18 +00:00
atomic.h Jakub Jelinek <jakub@redhat.com> 2006-10-10 00:51:29 +00:00
byteswap.h
caller.h Header with call site checker definitions. 2004-03-27 02:43:52 +00:00
complex.h
ctype.h Update. 2004-03-16 10:10:13 +00:00
des.h
dirent.h [BZ #2226] 2006-02-12 21:41:44 +00:00
dlfcn.h * elf/dl-error.c (_dl_signal_error): Store information about use of 2005-06-12 16:29:51 +00:00
elf.h Update. 2000-06-08 04:48:56 +00:00
endian.h Update. 2001-03-30 05:34:59 +00:00
envz.h 2002-08-03 Roland McGrath <roland@redhat.com> 2002-08-04 01:28:06 +00:00
err.h * include/sys/syslog.h: Use libc_hidden_proto for syslog, vsyslog. 2002-08-03 12:59:33 +00:00
errno.h * include/errno.h [__cplusplus]: Avoid extra header magic for C++. 2006-02-02 09:38:03 +00:00
error.h
execinfo.h * debug/pread64_chk.c: Use __libc_pread64 instead of __pread64. 2005-06-14 15:55:44 +00:00
fcntl.h * include/fcntl.h: Declare __openat, __open64. Use libc_hidden_proto. 2006-03-01 05:32:59 +00:00
features.h * include/features.h (__GLIBC_MINOR__): It's glibc 2.5 now. 2006-10-06 15:39:29 +00:00
fenv.h * include/fenv.h: Add libm_hidden_proto for fesetround and 2005-07-08 18:54:49 +00:00
fnmatch.h * include/sys/resource.h: Use libc_hidden_proto for getpriority, 2002-08-04 03:50:21 +00:00
fpu_control.h
ftw.h
gconv.h
getopt_int.h Update. 2004-03-09 10:36:53 +00:00
getopt.h Update. 2004-03-09 10:36:53 +00:00
glob.h Update. 2004-07-01 17:50:47 +00:00
gmp.h * include/gmp.h: Include/gmp-mparam.h. * stdlib/strtod.c: Include gmp-mparam.h before gmp.h and gmp-impl.h. 2003-03-14 05:48:18 +00:00
gnu-versions.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
grp.h * include/sys/wait.h (__waitpid): Add libc_hidden_proto. 2002-08-13 01:08:15 +00:00
iconv.h
ifaddrs.h * sysdeps/posix/getaddrinfo.c (rfc3484_sort): Implement rule 4, 2006-09-24 17:14:11 +00:00
langinfo.h * ctype/ctype.h (isascii_l, toascii_l): Define to __*_l counterparts. 2002-08-27 23:36:31 +00:00
libc-internal.h * include/libc-internal.h: Declare __libc_thread_freeres. 2003-02-22 22:46:40 +00:00
libc-symbols.h * include/libc-symbols.h: Fix comment typo. 2006-02-24 03:27:16 +00:00
libgen.h
libintl.h * debug/pread64_chk.c: Use __libc_pread64 instead of __pread64. 2005-06-14 15:55:44 +00:00
libio.h Update. 2002-12-20 09:33:33 +00:00
limits.h (LLONG_MIN, LLONG_MAX, ULLONG_MAX): Make sure these are defined for -D_GNU_SOURCE or -D_ISOC99_SOURCE even when not -std=c99. 2005-10-16 15:32:33 +00:00
link.h Jakub Jelinek <jakub@redhat.com> 2006-10-10 00:51:29 +00:00
locale.h * locale/xlocale.c (_nl_C_locobj): Mark as const. 2005-12-21 07:28:33 +00:00
malloc.h * include/malloc.h: Remove _int_new_arena prototype. 2005-10-12 20:49:06 +00:00
math.h Update. 2002-09-10 01:40:26 +00:00
mcheck.h * include/sys/resource.h: Use libc_hidden_proto for getpriority, 2002-08-04 03:50:21 +00:00
memory.h
mntent.h Update. 2002-04-09 20:36:24 +00:00
monetary.h Update. 2004-03-14 21:12:06 +00:00
mqueue.h Update. 2004-04-13 02:15:43 +00:00
netdb.h Update. 2004-10-24 09:06:50 +00:00
netgroup.h
nl_types.h
nss.h
nsswitch.h
obstack.h Update. 2002-08-04 09:27:27 +00:00
poll.h Update. 2000-08-21 16:02:48 +00:00
printf.h Update. 2002-08-03 07:02:10 +00:00
pthread.h * sysdeps/generic/libc-tls.c (__libc_setup_tls): Make the phdr loop 2002-08-05 06:38:00 +00:00
pty.h Update. 2004-10-24 21:29:41 +00:00
pwd.h * include/bits/dlfcn.h: New file. 2002-08-10 07:54:55 +00:00
regex.h * posix/regex_internal.h (re_sub_match_top_t): Remove unused member 2005-09-06 21:15:13 +00:00
resolv.h * include/resolv.h: Include <stdbool.h>. 2005-11-17 18:49:41 +00:00
sched.h * include/sys/stat.h: Add libc_hidden_proto for __fxstatat64. 2006-01-11 17:57:46 +00:00
search.h * include/sys/resource.h: Use libc_hidden_proto for getpriority, 2002-08-04 03:50:21 +00:00
set-hooks.h Update. 2003-06-11 21:57:23 +00:00
setjmp.h Update. 2003-08-31 18:10:47 +00:00
sgtty.h
shadow.h * include/bits/dlfcn.h: New file. 2002-08-10 07:54:55 +00:00
shlib-compat.h * include/shlib-compat.h (SHLIB_COMPAT): Expand parameters before use. 2006-10-07 19:45:55 +00:00
signal.h * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: File removed. 2006-07-31 05:58:51 +00:00
spawn.h Update. 2000-10-01 19:15:29 +00:00
stab.h
stdio_ext.h Update. 2002-04-09 20:36:24 +00:00
stdio.h * argp/argp-help.c: Use _IO_vasprintf instead of vasprintf. 2005-08-09 01:27:20 +00:00
stdlib.h * math/math.h [__NO_LONG_DOUBLE_MATH] (__nldbl_nexttowardf): New 2006-01-14 12:10:44 +00:00
string.h [BZ #1534] 2005-10-24 19:31:12 +00:00
strings.h
stub-tag.h [BZ #715] 2005-02-11 10:17:19 +00:00
stubs-biarch.h [BZ #715] 2005-02-11 10:17:19 +00:00
stubs-prologue.h * sysdeps/generic/bits/libc-tsd.h [USE___THREAD]: Conditional 2002-10-11 10:52:20 +00:00
syscall.h
sysexits.h
syslog.h
tar.h
termios.h * include/unistd.h (seteuid, setegid): Add libc_hidden_proto. 2002-08-13 00:24:58 +00:00
tgmath.h
time.h 2006-07-30 Roland McGrath <roland@redhat.com> 2006-07-31 05:57:52 +00:00
tls.h * elf/tst-tls12.c (main): Fix declaration. 2003-04-23 01:54:52 +00:00
ttyent.h * include/search.h: Use libc_hidden_proto for hsearch_r, lfind. 2002-08-04 01:29:29 +00:00
ucontext.h
ulimit.h
unistd.h 2006-07-30 Roland McGrath <roland@redhat.com> 2006-07-31 05:57:52 +00:00
utime.h * include/stdlib.h: Use libc_hidden_proto for qsort. 2002-08-03 22:26:33 +00:00
utmp.h Update. 2004-10-24 21:29:41 +00:00
values.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
wchar.h * math/math.h [__NO_LONG_DOUBLE_MATH] (__nldbl_nexttowardf): New 2006-01-14 12:10:44 +00:00
wctype.h Update. 2004-03-16 10:10:13 +00:00
wordexp.h * include/unistd.h: Use libc_hidden_proto for _exit, alarm, confstr, 2002-08-04 03:30:56 +00:00
xlocale.h