summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common/bits/dlfcn.h
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2011-03-18 11:40:04 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2011-12-23 15:49:01 +0100
commite6fa350aa23280795a912d0edd989d7c98c62710 (patch)
tree470da95d5691be2025ed965037baf3234086ef86 /libc/sysdeps/linux/common/bits/dlfcn.h
parent8f71a37896be4ce64c009b369117b252eb4de366 (diff)
downloaduClibc-alpine-e6fa350aa23280795a912d0edd989d7c98c62710.tar.bz2
uClibc-alpine-e6fa350aa23280795a912d0edd989d7c98c62710.tar.xz
ldso: support RTLD_NOLOAD
So application query if specified modile is loaded or not with dlopen. Signed-off-by: Timo Teräs <timo.teras@iki.fi> Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
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