From c14e91352e26aa4e1622f08bb9a25a9527a8db2b Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 9 Aug 2004 06:41:04 +0000 Subject: [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 . --- include/dlfcn.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/dlfcn.h b/include/dlfcn.h index f36e3a2..8a2f50b 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, -- cgit v1.1