diff options
Diffstat (limited to 'libpthread/nptl/sysdeps/riscv32/tcb-offsets.sym')
-rw-r--r-- | libpthread/nptl/sysdeps/riscv32/tcb-offsets.sym | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libpthread/nptl/sysdeps/riscv32/tcb-offsets.sym b/libpthread/nptl/sysdeps/riscv32/tcb-offsets.sym new file mode 100644 index 000000000..86025a402 --- /dev/null +++ b/libpthread/nptl/sysdeps/riscv32/tcb-offsets.sym @@ -0,0 +1,6 @@ +#include <sysdep.h> +#include <tls.h> + +MULTIPLE_THREADS_OFFSET offsetof (struct pthread, header.multiple_threads) +TID_OFFSET offsetof (struct pthread, tid) +TP_TO_PTHREAD_OFFSET -(sizeof (struct pthread) + sizeof (tcbhead_t)) |