Ulrich Drepper 5f21997b9d Update.
2004-10-18  Jakub Jelinek  <jakub@redhat.com>

	* elf/dl-libc.c (__libc_dlsym_private, __libc_register_dl_open_hook):
	New functions.
	(__libc_dlopen_mode): Call __libc_register_dl_open_hook and
	__libc_register_dlfcn_hook.
	* dlfcn/Makefile (routines, elide-routines.os): Set.
	Add rules to build and test tststatic2.
	* dlfcn/tststatic2.c: New test.
	* dlfcn/modstatic2.c: New test module.
	* dlfcn/dladdr.c: Call _dlfcn_hook from libdl.so if not NULL.
	Define __ prefixed routine in libc.a and in libdl.a just call it.
	* dlfcn/dladdr1.c: Likewise.
	* dlfcn/dlclose.c: Likewise.
	* dlfcn/dlerror.c: Likewise.
	* dlfcn/dlinfo.c: Likewise.
	* dlfcn/dlmopen.c: Likewise.
	* dlfcn/dlopen.c: Likewise.
	* dlfcn/dlopenold.c: Likewise.
	* dlfcn/dlsym.c: Likewise.
	* dlfcn/dlvsym.c: Likewise.
	* dlfcn/sdladdr.c: New file.
	* dlfcn/sdladdr1.c: New file.
	* dlfcn/sdlclose.c: New file.
	* dlfcn/sdlerror.c: New file.
	* dlfcn/sdlinfo.c: New file.
	* dlfcn/sdlopen.c: New file.
	* dlfcn/sdlsym.c: New file.
	* dlfcn/sdlvsym.c: New file.
	* dlfcn/Versions (libdl): Export _dlfcn_hook@GLIBC_PRIVATE.
	* include/dlfcn.h (DL_CALLER_DECL, DL_CALLER RETURN_ADDRESS): Define.
	(struct dlfcn_hook): New type.
	(_dlfcn_hook): New extern decl.
	(__dlopen, __dlclose, __dlsym, __dlerror, __dladdr, __dladdr1,
	__dlinfo, __dlmopen, __libc_dlsym_private,
	__libc_register_dl_open_hook, __libc_register_dlfcn_hook): New
	prototypes.
	(__dlvsym): Use DL_CALLER_DECL.
	* include/libc-symbols.h: Define libdl_hidden_proto and friends.

	* malloc/arena.c (_dl_open_hook): Extern decl.
	(ptmalloc_init): Don't call _dl_addr when dlopened from statically
	linked programs but don't use brk for them either.
2004-10-18 23:17:46 +00:00
..
2004-06-30 07:43:11 +00:00
2003-06-14 09:00:28 +00:00
1998-11-12 18:03:43 +00:00
1999-11-23 17:22:17 +00:00
2002-03-18 23:38:37 +00:00
2000-12-28 15:08:51 +00:00
2004-09-07 22:33:37 +00:00
1998-04-10 10:52:25 +00:00
1998-08-03 16:47:01 +00:00
2004-03-16 10:10:13 +00:00
1998-03-24 10:39:42 +00:00
2001-08-20 07:17:10 +00:00
2004-10-18 23:17:46 +00:00
2000-06-08 04:48:56 +00:00
2001-03-30 05:34:59 +00:00
2004-10-14 16:18:09 +00:00
1997-06-21 02:59:26 +00:00
1999-11-23 17:22:17 +00:00
2004-07-09 17:20:48 +00:00
2002-09-10 01:40:26 +00:00
1999-11-23 17:22:17 +00:00
1997-06-21 02:59:26 +00:00
1997-11-18 02:50:07 +00:00
2004-03-09 10:36:53 +00:00
2004-03-09 10:36:53 +00:00
2004-07-01 17:50:47 +00:00
2001-07-06 04:58:11 +00:00
1999-08-21 00:38:15 +00:00
2003-06-10 08:58:05 +00:00
2004-10-18 23:17:46 +00:00
1997-06-21 02:59:26 +00:00
2002-12-20 09:33:33 +00:00
2001-07-06 04:58:11 +00:00
2004-10-14 02:08:23 +00:00
2002-09-10 01:40:26 +00:00
1997-06-21 02:59:26 +00:00
2002-04-09 20:36:24 +00:00
2004-03-14 21:12:06 +00:00
2004-04-13 02:15:43 +00:00
2003-04-24 23:45:17 +00:00
1997-06-21 02:59:26 +00:00
1997-12-22 20:53:38 +00:00
1997-06-21 02:59:26 +00:00
1997-06-21 02:59:26 +00:00
2002-08-04 09:27:27 +00:00
2000-08-21 16:02:48 +00:00
2002-08-03 07:02:10 +00:00
2002-08-10 07:54:55 +00:00
1998-12-08 13:12:47 +00:00
2004-10-18 05:10:37 +00:00
2003-03-03 22:02:13 +00:00
2003-06-11 21:57:23 +00:00
2003-08-31 18:10:47 +00:00
1997-06-21 02:59:26 +00:00
2002-08-10 07:54:55 +00:00
2003-04-29 22:49:58 +00:00
2000-10-01 19:15:29 +00:00
1997-06-21 02:59:26 +00:00
2002-04-09 20:36:24 +00:00
1997-06-21 02:59:26 +00:00
1997-10-15 05:34:02 +00:00
1997-06-21 02:59:26 +00:00
1997-06-21 02:59:26 +00:00
1997-06-21 02:59:26 +00:00
1997-06-21 02:59:26 +00:00
1998-09-06 23:45:24 +00:00
2004-04-04 00:41:39 +00:00
1999-10-12 18:17:41 +00:00
1999-11-23 17:22:17 +00:00
2004-06-30 07:43:11 +00:00
1999-11-23 17:22:17 +00:00
2001-07-06 04:58:11 +00:00
2004-03-14 21:12:06 +00:00
2004-03-16 10:10:13 +00:00
1997-06-21 02:59:26 +00:00