From 9869e6ec913e268748f510ab6ec64b8fd62531bc Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Thu, 14 Oct 2004 05:57:55 +0000 Subject: Updated to fedora-glibc-20041014T0548 --- include/link.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'include/link.h') diff --git a/include/link.h b/include/link.h index 1567c67c54..3078b72a87 100644 --- a/include/link.h +++ b/include/link.h @@ -129,6 +129,14 @@ struct link_map /* All following members are internal to the dynamic linker. They may change without notice. */ + /* This is an element which is only ever different from a pointer to + the very same copy of this type for ld.so when it is used in more + than one namespace. */ + struct link_map *l_real; + + /* Number of the namespace this link map belongs to. */ + Lmid_t l_ns; + struct libname_list *l_libname; /* Indexed pointers to dynamic section. [0,DT_NUM) are indexed by the processor-independent tags. @@ -169,7 +177,8 @@ struct link_map Elf_Symndx l_nbuckets; const Elf_Symndx *l_buckets, *l_chain; - unsigned int l_opencount; /* Reference count for dlopen/dlclose. */ + unsigned int l_opencount; /* Counter for direct and indirect usage. */ + unsigned int l_direct_opencount; /* Reference count for dlopen/dlclose. */ enum /* Where this object came from. */ { lt_executable, /* The main executable program. */ -- cgit v1.2.3