From e6fa350aa23280795a912d0edd989d7c98c62710 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Fri, 18 Mar 2011 11:40:04 +0200 Subject: ldso: support RTLD_NOLOAD MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit So application query if specified modile is loaded or not with dlopen. Signed-off-by: Timo Teräs Signed-off-by: Natanael Copa --- libc/sysdeps/linux/common/bits/dlfcn.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libc/sysdeps/linux/common/bits/dlfcn.h') 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 -- cgit v1.2.3