(__tls_get_addr): Updated for dtv_t union.

This commit is contained in:
Ulrich Drepper 2005-01-12 02:41:50 +00:00
parent e9c3f06f28
commit cac7d7f9a1

View File

@ -31,7 +31,7 @@ void *
__tls_get_addr (tls_index *ti)
{
dtv_t *dtv = THREAD_DTV ();
return (char *) dtv[1].pointer + ti->ti_offset;
return (char *) dtv[1].pointer.val + ti->ti_offset;
}
#endif