mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-01 10:06:57 +03:00
elf: Remove the remaining uses of GET_ADDR_OFFSET
Expand the macro where it is used in static definitions of __tls_get_addr. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
This commit is contained in:
@ -28,5 +28,5 @@ void *
|
||||
__tls_get_addr (tls_index *ti)
|
||||
{
|
||||
dtv_t *dtv = THREAD_DTV ();
|
||||
return (char *) dtv[1].pointer.val + GET_ADDR_OFFSET;
|
||||
return (char *) dtv[1].pointer.val + ti->ti_offset + TLS_DTV_OFFSET;
|
||||
}
|
||||
|
Reference in New Issue
Block a user