about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-08-09 06:41:04 +0000
committerUlrich Drepper <drepper@redhat.com>2004-08-09 06:41:04 +0000
commitc14e91352e26aa4e1622f08bb9a25a9527a8db2b (patch)
treebb3fe3f376564b7a9cf5ca4d6d89c0ad55e6a276 /include
parent807645d725f68619543836e196ae49f7b5fb5505 (diff)
downloadglibc-c14e91352e26aa4e1622f08bb9a25a9527a8db2b.tar.gz
glibc-c14e91352e26aa4e1622f08bb9a25a9527a8db2b.tar.xz
glibc-c14e91352e26aa4e1622f08bb9a25a9527a8db2b.zip
[BZ #116]
Update.
	* elf/dl-load.c (_dl_map_object): If __RTLD_CALLMAP flag is set,
	reset loader before the actual loading.
	* elf/dl-open.c (dl_open_worker): If file name contains no path
	element determine map of caller.  Pass caller map in this case to
	_dl_map_object.  Set __RTLD_CALLMAP in mode.
	* include/dlfcn.h (__RTLD_CALLMAP): Define.  [BZ #116]
	Patch by Greg Wolodkin <greg@mathworks.com>.
Diffstat (limited to 'include')
-rw-r--r--include/dlfcn.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dlfcn.h b/include/dlfcn.h
index f36e3a23ac..8a2f50bb57 100644
--- a/include/dlfcn.h
+++ b/include/dlfcn.h
@@ -6,6 +6,7 @@
 #define __RTLD_DLOPEN	0x80000000
 #define __RTLD_SPROF	0x40000000
 #define __RTLD_OPENEXEC	0x20000000
+#define __RTLD_CALLMAP	0x10000000
 
 /* Now define the internal interfaces.  */
 extern void *__dlvsym (void *__handle, __const char *__name,