mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-27 15:30:07 +00:00
(__tls_get_addr): Updated for dtv_t union.
This commit is contained in:
parent
e9c3f06f28
commit
cac7d7f9a1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user