diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-08-31 06:51:54 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-08-31 06:51:54 +0000 |
commit | 9a927b3cbb4b309f01de9473e5aad69f41df1d9a (patch) | |
tree | 6e036157779d5b9a24bcca42f994028826736e6a /ldso/include | |
parent | 1e680eeea6df1fb580163689bfc9edb547f5daab (diff) |
Weed out duplicates before trying to load libraries.... Delayed
checking for duplicates and returning an alias if an existing lib
is already loaded is still correct for the dlopen case.
Diffstat (limited to 'ldso/include')
-rw-r--r-- | ldso/include/dl-elf.h | 1 | ||||
-rw-r--r-- | ldso/include/ld_elf.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/ldso/include/dl-elf.h b/ldso/include/dl-elf.h index 95de118f5..992a608b1 100644 --- a/ldso/include/dl-elf.h +++ b/ldso/include/dl-elf.h @@ -68,6 +68,7 @@ extern struct elf_resolve * _dl_load_shared_library(int secure, struct dyn_elf **rpnt, struct elf_resolve *tpnt, char *full_libname); extern struct elf_resolve * _dl_load_elf_shared_library(int secure, struct dyn_elf **rpnt, char *libname); +extern struct elf_resolve *_dl_check_if_named_library_is_loaded(const char *full_libname); extern int _dl_linux_resolve(void); diff --git a/ldso/include/ld_elf.h b/ldso/include/ld_elf.h index 95de118f5..992a608b1 100644 --- a/ldso/include/ld_elf.h +++ b/ldso/include/ld_elf.h @@ -68,6 +68,7 @@ extern struct elf_resolve * _dl_load_shared_library(int secure, struct dyn_elf **rpnt, struct elf_resolve *tpnt, char *full_libname); extern struct elf_resolve * _dl_load_elf_shared_library(int secure, struct dyn_elf **rpnt, char *libname); +extern struct elf_resolve *_dl_check_if_named_library_is_loaded(const char *full_libname); extern int _dl_linux_resolve(void); |