From 6d6f3a5c26adcf6b105edfb4b53e97ceee81944c Mon Sep 17 00:00:00 2001 From: Joakim Tjernlund Date: Tue, 17 Aug 2004 13:37:54 +0000 Subject: Let ldso decide if it should relocate itselft a second time. This is needed if ldso should use libcs malloc whenever possible. Fix RTLD_LAZY propagation to RTLD_NOW relocation when requested by libdl. --- ldso/include/dl-hash.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ldso/include/dl-hash.h') diff --git a/ldso/include/dl-hash.h b/ldso/include/dl-hash.h index 767c2ac46..a224012c4 100644 --- a/ldso/include/dl-hash.h +++ b/ldso/include/dl-hash.h @@ -6,7 +6,6 @@ #endif struct dyn_elf{ - unsigned long flags; struct elf_resolve * dyn; struct dyn_elf * next_handle; /* Used by dlopen et al. */ struct dyn_elf * next; @@ -26,6 +25,7 @@ struct elf_resolve{ struct dyn_elf * symbol_scope; unsigned short usage_count; unsigned short int init_flag; + unsigned long rtld_flags; /* RTLD_GLOBAL, RTLD_NOW etc. */ unsigned int nbucket; unsigned long * elf_buckets; /* -- cgit v1.2.3