summaryrefslogtreecommitdiff
path: root/include/link.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2005-03-20 18:56:01 +0000
committerJakub Jelinek <jakub@redhat.com>2005-03-20 18:56:01 +0000
commit67e218b53a309ba3bdb3d7bdc0b8e05bc0354b06 (patch)
tree689fb8bd472a15303915d7c2a7f9ef4c823f77d2 /include/link.h
parent792542d56249281f383a5455f021ec619cd32671 (diff)
Diffstat (limited to 'include/link.h')
-rw-r--r--include/link.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/link.h b/include/link.h
index 3078b72a87..7c801e94ee 100644
--- a/include/link.h
+++ b/include/link.h
@@ -177,7 +177,7 @@ struct link_map
Elf_Symndx l_nbuckets;
const Elf_Symndx *l_buckets, *l_chain;
- unsigned int l_opencount; /* Counter for direct and indirect usage. */
+ unsigned int l_dummy_opencount; /* Used to be l_opencount, now unused. */
unsigned int l_direct_opencount; /* Reference count for dlopen/dlclose. */
enum /* Where this object came from. */
{
@@ -199,6 +199,8 @@ struct link_map
should be called on this link map
when relocation finishes. */
unsigned int l_used:1; /* Nonzero if the DSO is used. */
+ unsigned int l_removed:1; /* Nozero if the object cannot be used anymore
+ since it is removed. */
/* Array with version names. */
unsigned int l_nversions;
struct r_found_version *l_versions;
@@ -255,7 +257,7 @@ struct link_map
ElfW(Word) l_flags;
/* Temporarily used in `dl_close'. */
- unsigned int l_idx;
+ int l_idx;
struct link_map_machine l_mach;