summary refs log tree commit diff
path: root/elf/link.h
diff options
context:
space:
mode:
Diffstat (limited to 'elf/link.h')
-rw-r--r--elf/link.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/elf/link.h b/elf/link.h
index cda739df99..d3a54fc011 100644
--- a/elf/link.h
+++ b/elf/link.h
@@ -211,6 +211,10 @@ struct link_map
 
     /* Collected information about own RUNPATH directories.  */
     struct r_search_path_elem **l_runpath_dirs;
+
+    /* Number of pre-constructors.  We compute this during loading to avoid
+       duplication of this during the possibly many calls to _dl_init_next.  */
+    unsigned int l_preinitcount;
   };
 
 #endif /* link.h */