diff options
Diffstat (limited to 'dlfcn')
-rw-r--r-- | dlfcn/dlopen.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dlfcn/dlopen.c b/dlfcn/dlopen.c index bffb512aa3..e93a584e81 100644 --- a/dlfcn/dlopen.c +++ b/dlfcn/dlopen.c @@ -60,7 +60,8 @@ dlopen_doit (void *a) struct dlopen_args *args = (struct dlopen_args *) a; if (args->mode & ~(RTLD_BINDING_MASK | RTLD_NOLOAD | RTLD_DEEPBIND - | RTLD_GLOBAL | RTLD_LOCAL | RTLD_NODELETE)) + | RTLD_GLOBAL | RTLD_LOCAL | RTLD_NODELETE + | __RTLD_SPROF)) GLRO(dl_signal_error) (0, NULL, NULL, _("invalid mode parameter")); args->new = GLRO(dl_open) (args->file ?: "", args->mode | __RTLD_DLOPEN, |