This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch, master, updated. glibc-2.11-155-gd924beb
- From: roland at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 18 Jan 2010 22:44:37 -0000
- Subject: GNU C Library master sources branch, master, updated. glibc-2.11-155-gd924beb
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via d924beb0f2d823d72715aee58f87eba5d4d6ebe3 (commit)
from d6ac9329b3baf72e1f7a6dfd10ff5236668c2d10 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=d924beb0f2d823d72715aee58f87eba5d4d6ebe3
commit d924beb0f2d823d72715aee58f87eba5d4d6ebe3
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Mon Jan 18 14:44:22 2010 -0800
Define __rtld_lock_recursive_* for Hurd.
diff --git a/ChangeLog b/ChangeLog
index 8f6695b..a895a00 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-01-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
+
+ * sysdeps/mach/hurd/bits/libc-lock.h
+ (__rtld_lock_recursive_t): New type.
+ (__rtld_lock_initialize): New macro.
+
2010-01-14 Ryan S. Arnold <rsa@us.ibm.com>
* sysdeps/powerpc/powerpc32/cell/memcpy.S: New file.
diff --git a/sysdeps/mach/hurd/bits/libc-lock.h b/sysdeps/mach/hurd/bits/libc-lock.h
index 0fa90bc..90e46e0 100644
--- a/sysdeps/mach/hurd/bits/libc-lock.h
+++ b/sysdeps/mach/hurd/bits/libc-lock.h
@@ -31,6 +31,7 @@ typedef struct
void *owner;
int count;
} __libc_lock_recursive_t;
+typedef __libc_lock_recursive_t __rtld_lock_recursive_t;
#define __libc_lock_owner_self() ((void *) __hurd_threadvar_location (0))
@@ -121,6 +122,8 @@ typedef struct __libc_lock_recursive_opaque__ __libc_lock_recursive_t;
#define __rtld_lock_init_recursive(NAME) \
__libc_lock_init_recursive (NAME)
+#define __rtld_lock_initialize(NAME) \
+ (void) ((NAME) = (__rtld_lock_recursive_t) _RTLD_LOCK_RECURSIVE_INITIALIZER)
#define __rtld_lock_trylock_recursive(NAME) \
__libc_lock_trylock_recursive (NAME)
#define __rtld_lock_lock_recursive(NAME) \
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 6 ++++++
sysdeps/mach/hurd/bits/libc-lock.h | 3 +++
2 files changed, 9 insertions(+), 0 deletions(-)
hooks/post-receive
--
GNU C Library master sources