glibc/include
Ulrich Drepper 20fe49b93a * include/link.h (struct link_map): Remove l_opencount. Add l_removed.
Change type of l_idx to int.
	* elf/dl-close.c: Basically rewrite.  Do not use l_opencount to
	determine whether a DSO has to be unloaded.  Instead compute this
	in this function.
	* elf/dl-deps.c: No need to manipulate l_opencount anymore.
	* elf/dl-lookup.c: Likewise.
	* elf/rtld.c: Likewise
	* elf/dl-open.c: Likewise.  Use l_init_called to determine whether
	object was just loaded.
	* elf/dl-fini.c: Bump l_direct_opencount instead of l_opencount.
	* elf/dl-load.c (_dl_map_object_from_fd): Do not recognize DSO which
	is about to be unloaded as a match.
	(_dl_map_object): Likewise.
	* elf/do-lookup.h (do_lookup_x): Do not look into DSO which is about
	to be unloaded.
	* elf/circleload1.c: Don't use l_opencount anymore.
	* elf/neededtest.c: Likewise.
	* elf/neededtest2.c: Likewise.
	* elf/neededtest3.c: Likewise.
	* elf/neededtest4.c: Likewise.
	* elf/unload.c: Likewise.
	* elf/unload2.c: Likewise.
	* elf/loadtest.c: Likewise.

	* elf/rtld.c: Preloading errors are now never fatal.

2005-03-08  Jakub Jelinek  <jakub@redhat.com>

	* elf/Makefile: Add rules to build and run unload5 test.
	* elf/unload5.c: New file.

2005-03-08  Jakub Jelinek  <jakub@redhat.com>

	* elf/Makefile: Add rules to build and run unload4 test.
	* elf/unload4.c: New file.
	* elf/unload4mod1.c: New file.
	* elf/unload4mod2.c: New file.
	* elf/unload4mod3.c: New file.
	* elf/unload4mod4.c: New file.
2005-03-18 11:11:42 +00:00
..
arpa 2.5-18.1 2007-07-12 18:26:36 +00:00
bits * include/bits/unistd.h: New file. 2005-03-06 00:28:34 +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 2.5-18.1 2007-07-12 18:26:36 +00:00
protocols
rpc 2.5-18.1 2007-07-12 18:26:36 +00:00
rpcsvc 2.5-18.1 2007-07-12 18:26:36 +00:00
sys * include/sys/socket.h: Declare __recv. 2005-02-22 22:51:17 +00:00
aio.h 2.5-18.1 2007-07-12 18:26:36 +00:00
aliases.h
alloca.h 2.5-18.1 2007-07-12 18:26:36 +00:00
argp.h
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 2.5-18.1 2007-07-12 18:26:36 +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 2.5-18.1 2007-07-12 18:26:36 +00:00
dlfcn.h * csu/elf-init.c (__libc_csu_fini): Don't do anything here. 2005-01-06 22:40:27 +00:00
elf.h
endian.h
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 2.5-18.1 2007-07-12 18:26:36 +00:00
error.h
execinfo.h 2.5-18.1 2007-07-12 18:26:36 +00:00
fcntl.h 2.5-18.1 2007-07-12 18:26:36 +00:00
features.h [BZ #284, BZ #721] 2005-02-17 01:19:55 +00:00
fenv.h 2.5-18.1 2007-07-12 18:26:36 +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.h Update. 2004-03-09 10:36:53 +00:00
getopt_int.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
grp.h * include/sys/wait.h (__waitpid): Add libc_hidden_proto. 2002-08-13 01:08:15 +00:00
iconv.h
ifaddrs.h 2.5-18.1 2007-07-12 18:26:36 +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 (__hidden_proto): Remove bogus declaration 2005-03-17 21:06:39 +00:00
libgen.h
libintl.h [BZ #284, BZ #721] 2005-02-17 01:19:55 +00:00
libio.h Update. 2002-12-20 09:33:33 +00:00
limits.h 2.5-18.1 2007-07-12 18:26:36 +00:00
link.h * include/link.h (struct link_map): Remove l_opencount. Add l_removed. 2005-03-18 11:11:42 +00:00
locale.h 2.5-18.1 2007-07-12 18:26:36 +00:00
malloc.h 2.5-18.1 2007-07-12 18:26:36 +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
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 2.5-18.1 2007-07-12 18:26:36 +00:00
resolv.h 2.5-18.1 2007-07-12 18:26:36 +00:00
sched.h 2.5-18.1 2007-07-12 18:26:36 +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 * sysdeps/generic/bits/libc-tsd.h [USE___THREAD]: Conditional 2002-10-11 10:52:20 +00:00
signal.h 2005-02-22 Roland McGrath <roland@redhat.com> 2005-02-22 23:18:11 +00:00
spawn.h
stab.h
stdio.h * sysdeps/unix/sysv/linux/libc_fatal.c: Print backtrace and memory 2005-02-21 23:14:10 +00:00
stdio_ext.h Update. 2002-04-09 20:36:24 +00:00
stdlib.h 2.5-18.1 2007-07-12 18:26:36 +00:00
string.h 2.5-18.1 2007-07-12 18:26:36 +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 2.5-18.1 2007-07-12 18:26:36 +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 2.5-18.1 2007-07-12 18:26:36 +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
wchar.h * include/libc-symbols.h (__hidden_proto): Remove bogus declaration 2005-03-17 21:06:39 +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