From b54df7ec544e86c33e534a67bb9e38250467df4e Mon Sep 17 00:00:00 2001 From: Joakim Tjernlund Date: Fri, 3 Sep 2004 21:17:10 +0000 Subject: First attempt to fix the INIT/FINI ordering. Fingers crossed :) --- ldso/include/dl-hash.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ldso/include/dl-hash.h') diff --git a/ldso/include/dl-hash.h b/ldso/include/dl-hash.h index a224012c4..a30c78afb 100644 --- a/ldso/include/dl-hash.h +++ b/ldso/include/dl-hash.h @@ -8,6 +8,7 @@ struct dyn_elf{ struct elf_resolve * dyn; struct dyn_elf * next_handle; /* Used by dlopen et al. */ + struct init_fini_list *init_fini; struct dyn_elf * next; struct dyn_elf * prev; }; @@ -57,6 +58,7 @@ struct elf_resolve{ #define RELOCS_DONE 2 #define JMP_RELOCS_DONE 4 #define INIT_FUNCS_CALLED 8 +#define FINI_FUNCS_CALLED 16 extern struct dyn_elf * _dl_symbol_tables; extern struct elf_resolve * _dl_loaded_modules; -- cgit v1.2.3