]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Tue, 11 Mar 2003 05:26:32 +0000 (05:26 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 11 Mar 2003 05:26:32 +0000 (05:26 +0000)
* sysdeps/unix/sysv/linux/Makefile (gen-as-const-headers): Add
lowlevelbarrier.sym.
* sysdeps/unix/sysv/linux/lowlevelbarrier.sym: New file.
* sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
Include lowlevelbarrier.h and don't define offsets locally.

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

index a0b21e8575d0cb6a44b727353c31c8b5b4bc95de..034169bd0337d77afe0dca2fd318a16173041c78 100644 (file)
@@ -1,5 +1,11 @@
 2003-03-10  Ulrich Drepper  <drepper@redhat.com>
 
+       * sysdeps/unix/sysv/linux/Makefile (gen-as-const-headers): Add
+       lowlevelbarrier.sym.
+       * sysdeps/unix/sysv/linux/lowlevelbarrier.sym: New file.
+       * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
+       Include lowlevelbarrier.h and don't define offsets locally.
+
        * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
        (__lll_mutex_lock_wait): Reverse order of first two parameters.
        (__lll_mutex_timedlock_wait): Likewise.
index 1d0de6de2b82c6c5768bbf161fe4ba5294eaef7c..d25135ac80129f1e1db9c2181a192292c13577be 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 lowlevelrwlock.sym
+gen-as-const-headers += lowlevelcond.sym lowlevelrwlock.sym lowlevelbarrier.sym
 endif
 
 ifeq ($(subdir),posix)
diff --git a/nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym b/nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym
new file mode 100644 (file)
index 0000000..36e28eb
--- /dev/null
@@ -0,0 +1,11 @@
+#include <stddef.h>
+#include <sched.h>
+#include <bits/pthreadtypes.h>
+#include "internaltypes.h"
+
+--
+
+CURR_EVENT             offsetof (struct pthread_barrier, curr_event)
+MUTEX                  offsetof (struct pthread_barrier, lock)
+LEFT                   offsetof (struct pthread_barrier, left)
+INIT_COUNT             offsetof (struct pthread_barrier, init_count)