diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2017-04-14 07:07:57 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2017-05-14 10:29:09 +0200 |
commit | baad294eaf59e0e1b311a11448a04e3d3c5f3c56 (patch) | |
tree | 858d8924af34509f8742d025c6d8740f20464a97 /libpthread/nptl/sysdeps/or1k/tcb-offsets.sym | |
parent | 69ea4c1f65bff99575cd7f0210312dc355929240 (diff) |
or1k: add NPTL/TLS support
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Diffstat (limited to 'libpthread/nptl/sysdeps/or1k/tcb-offsets.sym')
-rw-r--r-- | libpthread/nptl/sysdeps/or1k/tcb-offsets.sym | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libpthread/nptl/sysdeps/or1k/tcb-offsets.sym b/libpthread/nptl/sysdeps/or1k/tcb-offsets.sym new file mode 100644 index 000000000..86025a402 --- /dev/null +++ b/libpthread/nptl/sysdeps/or1k/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)) |