summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2008-09-17 03:12:41 +0000
committerUlrich Drepper <drepper@redhat.com>2008-09-17 03:12:41 +0000
commit0a26fc4d99ed5dfbeefeae17b6d88743107dad7f (patch)
tree1c0f11ee181d114580d068b9fc402b77b156ed5c
parent5efd3a3bf34510f554c493d5045f3ef6d65556dd (diff)
downloadglibc-0a26fc4d99ed5dfbeefeae17b6d88743107dad7f.tar.gz
glibc-0a26fc4d99ed5dfbeefeae17b6d88743107dad7f.tar.xz
glibc-0a26fc4d99ed5dfbeefeae17b6d88743107dad7f.zip
* dlfcn/dlopen.c (dlopen_doit): Allow __RTLD_SPROF flag.
	Patch by Olivier Fourdan <ofourdan@redhat.com>.
-rw-r--r--ChangeLog5
-rw-r--r--NEWS4
-rw-r--r--dlfcn/dlopen.c3
3 files changed, 10 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index d1259be93f..af7928069f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-09-16  Ulrich Drepper  <drepper@redhat.com>
+
+	* dlfcn/dlopen.c (dlopen_doit): Allow __RTLD_SPROF flag.
+	Patch by Olivier Fourdan <ofourdan@redhat.com>.
+
 2008-09-15  Ulrich Drepper  <drepper@redhat.com>
 
 	* sunrpc/rpc/svc.h: Declare svcfd_create.
diff --git a/NEWS b/NEWS
index c3ceaba42e..b8cc4a2c96 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,4 @@
-GNU C Library NEWS -- history of user-visible changes.  2008-8-2
+GNU C Library NEWS -- history of user-visible changes.  2008-9-16
 Copyright (C) 1992-2007, 2008 Free Software Foundation, Inc.
 See the end for copying conditions.
 
@@ -38,6 +38,8 @@ Version 2.9
 
 * Sorting rules for some Indian languages (Kannada, Gurumukhi, Telugu)
   Implemented by Pravin Satpute.
+
+* New locales: sd_IN, sd_IN@devanagari, ks_IN@devanagari, ht_HT, en_AG, nl_AW.
 
 Version 2.8
 
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,