(CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4.
[glibc.git] / linuxthreads / sysdeps / powerpc / tcb-offsets.sym
blobb526b62336051b8a6359f1deffe9d0debe9520d4
1 #include <sysdep.h>
2 #include <tls.h>
4 -- This line separates the #include lines from conditionals.
6 # ifdef USE_TLS
8 -- Abuse tls.h macros to derive offsets relative to the thread register.
9 #  undef __thread_register
10 #  define __thread_register     ((void *) 0)
11 #  define thread_offsetof(mem)  ((void *) &THREAD_SELF->p_##mem - (void *) 0)
13 # else
15 #  define thread_offsetof(mem)  offsetof (tcbhead_t, mem)
17 # endif
19 MULTIPLE_THREADS_OFFSET         thread_offsetof (multiple_threads)