diff options
author | Roland McGrath <roland@gnu.org> | 2004-10-27 00:55:39 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2004-10-27 00:55:39 +0000 |
commit | 269761cad38c05d687bb4cbb9db963498fa5b3fe (patch) | |
tree | 8a37794c8a9c59a9bd0c3968ca5e5e6ce109d27d /sysdeps/mach | |
parent | e65a6679f07124fc2ab8b00c68a8ea4d1c628fb5 (diff) | |
download | glibc-269761cad38c05d687bb4cbb9db963498fa5b3fe.zip glibc-269761cad38c05d687bb4cbb9db963498fa5b3fe.tar.gz glibc-269761cad38c05d687bb4cbb9db963498fa5b3fe.tar.bz2 |
* sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Initialize TCB->tcb.
Diffstat (limited to 'sysdeps/mach')
-rw-r--r-- | sysdeps/mach/hurd/i386/tls.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/i386/tls.h b/sysdeps/mach/hurd/i386/tls.h index f81180f..9108346 100644 --- a/sysdeps/mach/hurd/i386/tls.h +++ b/sysdeps/mach/hurd/i386/tls.h @@ -63,6 +63,10 @@ _hurd_tls_init (tcbhead_t *tcb, int secondcall) if (!secondcall) { + /* This field is used by TLS accesses to get our "thread pointer" + from the TLS point of view. */ + tcb->tcb = tcb; + /* Cache our thread port. */ tcb->self = __mach_thread_self (); |