1#include <sysdep.h>
2#include <tls.h>
3#include <kernel-features.h>
4
5RESULT			offsetof (struct pthread, result)
6TID			offsetof (struct pthread, tid)
7CANCELHANDLING		offsetof (struct pthread, cancelhandling)
8CLEANUP_JMP_BUF		offsetof (struct pthread, cleanup_jmp_buf)
9MULTIPLE_THREADS_OFFSET	offsetof (tcbhead_t, multiple_threads)
10SYSINFO_OFFSET		offsetof (tcbhead_t, sysinfo)
11CLEANUP			offsetof (struct pthread, cleanup)
12CLEANUP_PREV		offsetof (struct _pthread_cleanup_buffer, __prev)
13MUTEX_FUTEX		offsetof (pthread_mutex_t, __data.__lock)
14POINTER_GUARD		offsetof (tcbhead_t, pointer_guard)
15FEATURE_1_OFFSET	offsetof (tcbhead_t, feature_1)
16SSP_BASE_OFFSET		offsetof (tcbhead_t, ssp_base)
17