diff options
author | Ulrich Drepper <drepper@redhat.com> | 2008-09-17 03:12:41 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2008-09-17 03:12:41 +0000 |
commit | 0a26fc4d99ed5dfbeefeae17b6d88743107dad7f (patch) | |
tree | 1c0f11ee181d114580d068b9fc402b77b156ed5c /dlfcn | |
parent | 5efd3a3bf34510f554c493d5045f3ef6d65556dd (diff) | |
download | glibc-0a26fc4d99ed5dfbeefeae17b6d88743107dad7f.zip glibc-0a26fc4d99ed5dfbeefeae17b6d88743107dad7f.tar.gz glibc-0a26fc4d99ed5dfbeefeae17b6d88743107dad7f.tar.bz2 |
* dlfcn/dlopen.c (dlopen_doit): Allow __RTLD_SPROF flag.
Patch by Olivier Fourdan <ofourdan@redhat.com>.
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 bffb512..e93a584 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, |