diff options
Diffstat (limited to 'REORG.TODO/sysdeps/sh/nptl/tcb-offsets.sym')
-rw-r--r-- | REORG.TODO/sysdeps/sh/nptl/tcb-offsets.sym | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/REORG.TODO/sysdeps/sh/nptl/tcb-offsets.sym b/REORG.TODO/sysdeps/sh/nptl/tcb-offsets.sym new file mode 100644 index 0000000000..4963e1506f --- /dev/null +++ b/REORG.TODO/sysdeps/sh/nptl/tcb-offsets.sym @@ -0,0 +1,15 @@ +#include <sysdep.h> +#include <tls.h> +#include <kernel-features.h> + +RESULT offsetof (struct pthread, result) +TID offsetof (struct pthread, tid) +CANCELHANDLING offsetof (struct pthread, cancelhandling) +CLEANUP_JMP_BUF offsetof (struct pthread, cleanup_jmp_buf) +MULTIPLE_THREADS_OFFSET offsetof (struct pthread, header.multiple_threads) +TLS_PRE_TCB_SIZE sizeof (struct pthread) +MUTEX_FUTEX offsetof (pthread_mutex_t, __data.__lock) +POINTER_GUARD offsetof (tcbhead_t, pointer_guard) +#ifndef __ASSUME_PRIVATE_FUTEX +PRIVATE_FUTEX offsetof (struct pthread, header.private_futex) +#endif |