about summary refs log tree commit diff
path: root/elf/Versions
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-06-25 08:32:03 +0000
committerUlrich Drepper <drepper@redhat.com>2003-06-25 08:32:03 +0000
commit81b215afa3ee76e03579108b866ef7bd696b42c6 (patch)
tree2e5c0914873040c6de812b015baf4eb7fc573b71 /elf/Versions
parentbd89c0b57325a2e9372673c9a6eba8a565e702d2 (diff)
downloadglibc-81b215afa3ee76e03579108b866ef7bd696b42c6.tar.gz
glibc-81b215afa3ee76e03579108b866ef7bd696b42c6.tar.xz
glibc-81b215afa3ee76e03579108b866ef7bd696b42c6.zip
Update.
2003-06-11  Jakub Jelinek  <jakub@redhat.com>

	* elf/Versions (libc): Add _dl_open_hook@GLIBC_PRIVATE.
	* elf/dl-libc.c (struct dl_open_hook): New.
	(_dl_open_hook): New variable.
	(do_dlsym_private): New function.
	(__libc_dlopen_mode) [!SHARED]: Lookup _dl_open_hook@GLIBC_PRIVATE
	and initialize it if found.
	(__libc_dlopen_mode) [SHARED]: If _dl_open_hook is non-NULL,
	call dlopen_mode hook.
	(__libc_dlsym) [SHARED]: If _dl_open_hook is non-NULL,
	call dlsym hook.
	(__libc_dlclose) [SHARED]: If _dl_open_hook is non-NULL,
	call dlclose hook.
Diffstat (limited to 'elf/Versions')
-rw-r--r--elf/Versions1
1 files changed, 1 insertions, 0 deletions
diff --git a/elf/Versions b/elf/Versions
index e6709bb71b..1b8e9baf6f 100644
--- a/elf/Versions
+++ b/elf/Versions
@@ -21,6 +21,7 @@ libc {
     # functions used in other libraries
     _dl_open; _dl_close; _dl_addr;
     _dl_sym; _dl_vsym;
+    _dl_open_hook;
   }
 }