summaryrefslogtreecommitdiff
path: root/libexec/rtld-elf/rtld.h
diff options
context:
space:
mode:
authorJohn Polstra <jdp@FreeBSD.org>2000-07-26 04:24:40 +0000
committerJohn Polstra <jdp@FreeBSD.org>2000-07-26 04:24:40 +0000
commit44a028c3693c48dec33b59c40231450378900a82 (patch)
tree623b706984eef85925b72daae211be6ca5a10062 /libexec/rtld-elf/rtld.h
parente8aeec46398b9fd97a130e1f4f974c838763be56 (diff)
Notes
Diffstat (limited to 'libexec/rtld-elf/rtld.h')
-rw-r--r--libexec/rtld-elf/rtld.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/libexec/rtld-elf/rtld.h b/libexec/rtld-elf/rtld.h
index ab0043731047..86d81818fa3d 100644
--- a/libexec/rtld-elf/rtld.h
+++ b/libexec/rtld-elf/rtld.h
@@ -60,16 +60,9 @@ typedef struct Struct_Objlist_Entry {
typedef STAILQ_HEAD(Struct_Objlist, Struct_Objlist_Entry) Objlist;
-/* Lists of init or fini functions */
+/* Types of init and fini functions */
typedef void (*InitFunc)(void);
-typedef struct Struct_Funclist_Entry {
- STAILQ_ENTRY(Struct_Funclist_Entry) link;
- InitFunc func;
-} Funclist_Entry;
-
-typedef STAILQ_HEAD(Struct_Funclist, Struct_Funclist_Entry) Funclist;
-
/* Lists of shared object dependencies */
typedef struct Struct_Needed_Entry {
struct Struct_Needed_Entry *next;
@@ -160,6 +153,7 @@ typedef struct Struct_Obj_Entry {
bool symbolic; /* True if generated with "-Bsymbolic" */
bool traced; /* Already printed in ldd trace output */
bool jmpslots_done; /* Already have relocated the jump slots */
+ bool init_done; /* Already have added object to init list */
struct link_map linkmap; /* for GDB */
Objlist dldags; /* Object belongs to these dlopened DAGs (%) */