diff options
author | kib <kib@FreeBSD.org> | 2015-01-10 09:22:17 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2015-01-10 09:22:17 +0000 |
commit | 375caa6c5f87f403192607edced29a94229f1c73 (patch) | |
tree | d56f2c55166dcfa7502e74b41b0443d39edf7cec /libexec/rtld-elf/rtld.h | |
parent | fc4ca1ce31b15e873e46955ea59f04b31f4f4220 (diff) | |
download | FreeBSD-src-375caa6c5f87f403192607edced29a94229f1c73.zip FreeBSD-src-375caa6c5f87f403192607edced29a94229f1c73.tar.gz |
MFC r276627:
Add rtld private interface for dso to detect dynamic loading
vs. static linking.
Diffstat (limited to 'libexec/rtld-elf/rtld.h')
-rw-r--r-- | libexec/rtld-elf/rtld.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libexec/rtld-elf/rtld.h b/libexec/rtld-elf/rtld.h index 3356dda..a1d515b 100644 --- a/libexec/rtld-elf/rtld.h +++ b/libexec/rtld-elf/rtld.h @@ -272,6 +272,7 @@ typedef struct Struct_Obj_Entry { bool crt_no_init : 1; /* Object' crt does not call _init/_fini */ bool valid_hash_sysv : 1; /* A valid System V hash hash tag is available */ bool valid_hash_gnu : 1; /* A valid GNU hash tag is available */ + bool dlopened : 1; /* dlopen()-ed (vs. load statically) */ struct link_map linkmap; /* For GDB and dlinfo() */ Objlist dldags; /* Object belongs to these dlopened DAGs (%) */ |