summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/bits/dlfcn.h
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras at iki.fi>2011-11-07 18:08:33 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-11-07 18:10:32 +0100
commit0c7690f6a5d6e073052ee6487f768289db3a58f7 (patch)
tree1028f6a895d2a3babe934d92585e43a99c009fde /libc/sysdeps/linux/common/bits/dlfcn.h
parent515d54433138596e81267237542bd9168b8cc787 (diff)
ldso: support RTLD_NOLOAD
So application query if specified module is loaded or not with dlopen. Signed-off-by: Timo Teräs <timo.teras@iki.fi> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/common/bits/dlfcn.h')
-rw-r--r--libc/sysdeps/linux/common/bits/dlfcn.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/bits/dlfcn.h b/libc/sysdeps/linux/common/bits/dlfcn.h
index 4bfbbff04..47b42ada6 100644
--- a/libc/sysdeps/linux/common/bits/dlfcn.h
+++ b/libc/sysdeps/linux/common/bits/dlfcn.h
@@ -24,9 +24,9 @@
/* The MODE argument to `dlopen' contains one of the following: */
#define RTLD_LAZY 0x00001 /* Lazy function call binding. */
#define RTLD_NOW 0x00002 /* Immediate function call binding. */
-#if 0 /* uClibc doesnt support these */
-#define RTLD_BINDING_MASK 0x3 /* Mask of binding time value. */
+#define RTLD_BINDING_MASK 0x3 /* Mask of binding time value. */
#define RTLD_NOLOAD 0x00004 /* Do not load the object. */
+#if 0 /* uClibc doesnt support these */
#define RTLD_DEEPBIND 0x00008 /* Use deep binding. */
#endif