From: Ulrich Drepper Date: Wed, 12 Jan 2005 02:41:50 +0000 (+0000) Subject: (__tls_get_addr): Updated for dtv_t union. X-Git-Tag: upstream/2.20~3636^2~1081 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cac7d7f9a11615e2606a89241d5044a3004e5ea2;p=platform%2Fupstream%2Flinaro-glibc.git (__tls_get_addr): Updated for dtv_t union. --- diff --git a/sysdeps/alpha/libc-tls.c b/sysdeps/alpha/libc-tls.c index 434d5d9..a3b68e9 100644 --- a/sysdeps/alpha/libc-tls.c +++ b/sysdeps/alpha/libc-tls.c @@ -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