summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2012-08-15 17:03:56 -0700
committerRoland McGrath <roland@hack.frob.com>2012-08-15 17:03:56 -0700
commit601c888b2f3afc111911dd45717cd2718eac7f99 (patch)
tree4d0faf2550c481e709b46ccd308e221fe9d8be00
parent176790a7341221ae1681ca3aa44ba1e928f789e3 (diff)
downloadglibc-601c888b2f3afc111911dd45717cd2718eac7f99.tar.gz
glibc-601c888b2f3afc111911dd45717cd2718eac7f99.tar.xz
glibc-601c888b2f3afc111911dd45717cd2718eac7f99.zip
Define __rtld_lock_initialize in stub bits/libc-lock.h file.
-rw-r--r--ChangeLog2
-rw-r--r--bits/libc-lock.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 004eb836a0..3a658d6403 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2012-08-15  Roland McGrath  <roland@hack.frob.com>
 
+	* bits/libc-lock.h (__rtld_lock_initialize): New macro.
+
 	* elf/dl-sym.c: Include <stdlib.h>.
 
 	* posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
diff --git a/bits/libc-lock.h b/bits/libc-lock.h
index 87948d5b50..6b215c575f 100644
--- a/bits/libc-lock.h
+++ b/bits/libc-lock.h
@@ -44,6 +44,7 @@
 /* Initialize the named lock variable, leaving it in a consistent, unlocked
    state.  */
 #define __libc_lock_init(NAME)
+#define __rtld_lock_initialize(NAME)
 #define __libc_rwlock_init(NAME)
 
 /* Same as last but this time we initialize a recursive mutex.  */