]> sourceware.org Git - glibc.git/blob - nptl/sysdeps/powerpc/tcb-offsets.sym
2003-03-17 Roland McGrath <roland@redhat.com>
[glibc.git] / nptl / sysdeps / powerpc / tcb-offsets.sym
1 #include <sysdep.h>
2 #include <tls.h>
3
4 --
5
6 -- Abuse tls.h macros to derive offsets relative to the thread register.
7 # undef __thread_register
8 # define __thread_register ((void *) 0)
9 # define thread_offsetof(mem) ((void *) &THREAD_SELF->mem - (void *) 0)
10
11 #if TLS_MULTIPLE_THREADS_IN_TCB
12 MULTIPLE_THREADS_OFFSET thread_offsetof (header.multiple_threads)
13 #endif
This page took 0.036238 seconds and 5 git commands to generate.