diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2006-02-05 05:08:14 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2006-02-05 05:08:14 +0000 |
commit | 1e0b249c0b41a07e163abedc465a616fc47a4b99 (patch) | |
tree | 9b7ead0e02cab8fbe2a9e388d1f87198205a2be7 /libpthread/nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym | |
parent | 2992466eb586db5728301219c365193559636439 (diff) | |
download | uClibc-alpine-1e0b249c0b41a07e163abedc465a616fc47a4b99.tar.bz2 uClibc-alpine-1e0b249c0b41a07e163abedc465a616fc47a4b99.tar.xz |
Add in files and necessary make targets to autogenerate header files for various offsets needed for TLS storage access and low level locking which be used by architectures other than MIPS. (HINT: maybe I'm working other architectures for NPTL, maybe I'm not. I'll never tell.)
Diffstat (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym')
-rw-r--r-- | libpthread/nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym b/libpthread/nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym new file mode 100644 index 000000000..e82c878d3 --- /dev/null +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym @@ -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) |