2003-03-01 Roland McGrath <roland@redhat.com>
authorroland <roland>
Sun, 2 Mar 2003 11:44:14 +0000 (11:44 +0000)
committerroland <roland>
Sun, 2 Mar 2003 11:44:14 +0000 (11:44 +0000)
commit639844610f5b66c16269fd5100fd30ae6ed9e3d1
tree2e7ada3f1f010728cc5d214ab8eabb2c4777c97f
parent825bac5c5b1052d8262d57ae7f8fb595c937f0a5
2003-03-01  Roland McGrath  <roland@redhat.com>

* sysdeps/powerpc/powerpc64/pt-machine.h
(THREAD_GETMEM, THREAD_GETMEM_NC, THREAD_SETMEM, THREAD_SETMEM_NC):
New macros.
* sysdeps/powerpc/tls.h: Don't define those here.
* sysdeps/powerpc/tls.h [! USE_TLS && !__powerpc64__]: Define
tcbhead_t with multiple_threads member.
[USE_TLS] (tcbhead_t): Define minimal one-word version.
[USE_TLS && !__powerpc64__] (TLS_MULTIPLE_THREADS_IN_TCB): Define.
* sysdeps/powerpc/tcb-offsets.sym [USE_TLS]: Use tls.h macros to
derive thread register offset of p_multiple_threads member.
linuxthreads/sysdeps/powerpc/tls.h