summaryrefslogtreecommitdiff
path: root/ldso/include
diff options
context:
space:
mode:
authorLeonid Lisovskiy <lly.dev@gmail.com>2016-06-20 20:29:44 +0300
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-06-22 08:02:51 +0200
commit0bc1394750885d4e4b2064aff6c48dd542c6f4b8 (patch)
treef7d2c3930d353dabfcae271be2bd5fc956869e06 /ldso/include
parentfcbbde85024f494d7ba573bf8a4474755452efdd (diff)
ldso: Consistently set & use DL_OPENED flag in both ld.so and libdl
Previously, DL_OPENED flag was set in libdl only and never used. Set it centralized in _dl_load_elf_shared_library() & use it in both ld.so and libdl. Additionally, rename it to DL_OPENED2 for clarity. Signed-off-by: Leonid Lisovskiy <lly.dev@gmail.com>
Diffstat (limited to 'ldso/include')
-rw-r--r--ldso/include/dl-hash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldso/include/dl-hash.h b/ldso/include/dl-hash.h
index d6282bb0c..bdb999aff 100644
--- a/ldso/include/dl-hash.h
+++ b/ldso/include/dl-hash.h
@@ -153,7 +153,7 @@ struct elf_resolve {
#define JMP_RELOCS_DONE 0x000002
#define INIT_FUNCS_CALLED 0x000004
#define FINI_FUNCS_CALLED 0x000008
-#define DL_OPENED 0x000010
+#define DL_OPENED2 0x000010
#define DL_RESERVED 0x000020
extern struct dyn_elf * _dl_symbol_tables;