Update.
authorUlrich Drepper <drepper@redhat.com>
Mon, 10 Mar 2003 21:03:03 +0000 (21:03 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 10 Mar 2003 21:03:03 +0000 (21:03 +0000)
* sysdeps/unix/sysv/linux/Makefile (gen-as-const-headers): Add
lowlevelrwlock.sym.
* sysdeps/unix/sysv/linux/lowlevelrwlock.sym: New file.
* sysdeps/unix/sysv/linux/i386/lowlevelrwlock.h: Removed.

nptl/ChangeLog
nptl/sysdeps/unix/sysv/linux/Makefile
nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym [new file with mode: 0644]

index da784502a9b2a85d590b710ddb09d80664c08fd4..daad636866f285ee603ebad68f6122eddd13be49 100644 (file)
@@ -1,5 +1,10 @@
 2003-03-10  Ulrich Drepper  <drepper@redhat.com>
 
+       * sysdeps/unix/sysv/linux/Makefile (gen-as-const-headers): Add
+       lowlevelrwlock.sym.
+       * sysdeps/unix/sysv/linux/lowlevelrwlock.sym: New file.
+       * sysdeps/unix/sysv/linux/i386/lowlevelrwlock.h: Removed.
+
        * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_trylock): Fix
        register loading.
        * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_trylock): Undo
index e90399432891c7659f97cf6822b81b3821a433ba..1d0de6de2b82c6c5768bbf161fe4ba5294eaef7c 100644 (file)
@@ -22,7 +22,7 @@ sysdep_routines += register-atfork unregister-atfork libc_pthread_init
 
 libpthread-sysdep_routines += pt-fork
 
-gen-as-const-headers += lowlevelcond.sym
+gen-as-const-headers += lowlevelcond.sym lowlevelrwlock.sym
 endif
 
 ifeq ($(subdir),posix)
diff --git a/nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym b/nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym
new file mode 100644 (file)
index 0000000..e82c878
--- /dev/null
@@ -0,0 +1,14 @@
+#include <stddef.h>
+#include <stdio.h>
+#include <bits/pthreadtypes.h>
+
+--
+
+MUTEX          offsetof (pthread_rwlock_t, __data.__lock)
+NR_READERS     offsetof (pthread_rwlock_t, __data.__nr_readers)
+READERS_WAKEUP offsetof (pthread_rwlock_t, __data.__readers_wakeup)
+WRITERS_WAKEUP offsetof (pthread_rwlock_t, __data.__writer_wakeup)
+READERS_QUEUED offsetof (pthread_rwlock_t, __data.__nr_readers_queued)
+WRITERS_QUEUED offsetof (pthread_rwlock_t, __data.__nr_writers_queued)
+FLAGS          offsetof (pthread_rwlock_t, __data.__flags)
+WRITER         offsetof (pthread_rwlock_t, __data.__writer)