about summary refs log tree commit diff
path: root/nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-03-11 05:26:32 +0000
committerUlrich Drepper <drepper@redhat.com>2003-03-11 05:26:32 +0000
commit3de7c2a96526ff7344152c887845c11b35e301e6 (patch)
treec964540372f826d5bc355fa680b7ac78c679fe86 /nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym
parent2a544d82ce6d7214cf1f95a9b8b814ce40e97253 (diff)
downloadglibc-3de7c2a96526ff7344152c887845c11b35e301e6.tar.gz
glibc-3de7c2a96526ff7344152c887845c11b35e301e6.tar.xz
glibc-3de7c2a96526ff7344152c887845c11b35e301e6.zip
Update.
	* 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.
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym11
1 files changed, 11 insertions, 0 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym b/nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym
new file mode 100644
index 0000000000..36e28eb2a6
--- /dev/null
+++ b/nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym
@@ -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)