* dlfcn/dlopen.c (dlopen_doit): Allow __RTLD_SPROF flag.
authorUlrich Drepper <drepper@redhat.com>
Wed, 17 Sep 2008 03:12:41 +0000 (03:12 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 17 Sep 2008 03:12:41 +0000 (03:12 +0000)
Patch by Olivier Fourdan <ofourdan@redhat.com>.

ChangeLog
NEWS
dlfcn/dlopen.c

index d1259be..af79280 100644 (file)
--- 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 c3ceaba..b8cc4a2 100644 (file)
--- 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.
 \f
 Version 2.8
 
index bffb512..e93a584 100644 (file)
@@ -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,