about summary refs log tree commit diff
path: root/sysdeps/riscv/nptl
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2020-02-05 18:09:04 +0100
committerAndreas Schwab <schwab@suse.de>2020-02-10 17:01:21 +0100
commit4970c9e0b58773566a4073852c239f3662cec0aa (patch)
treeeb29ff562722e13b453461e4ad5a1ed9e3d93614 /sysdeps/riscv/nptl
parent1433e270a16442ae9a86dc749d9cbd5e1f55405d (diff)
downloadglibc-4970c9e0b58773566a4073852c239f3662cec0aa.tar.gz
glibc-4970c9e0b58773566a4073852c239f3662cec0aa.tar.xz
glibc-4970c9e0b58773566a4073852c239f3662cec0aa.zip
nptl: add missing pthread-offsets.h
All architectures using their own definition of struct
__pthread_rwlock_arch_t need to provide their own pthread-offsets.h.
Diffstat (limited to 'sysdeps/riscv/nptl')
-rw-r--r--sysdeps/riscv/nptl/pthread-offsets.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/riscv/nptl/pthread-offsets.h b/sysdeps/riscv/nptl/pthread-offsets.h
new file mode 100644
index 0000000000..31f0587bec
--- /dev/null
+++ b/sysdeps/riscv/nptl/pthread-offsets.h
@@ -0,0 +1,3 @@
+#define __PTHREAD_MUTEX_KIND_OFFSET		16
+
+#define __PTHREAD_RWLOCK_FLAGS_OFFSET		48