aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mips/dl-tls.h
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2025-01-02 13:45:27 +0100
committerFlorian Weimer <fweimer@redhat.com>2025-01-02 13:45:27 +0100
commitcc74583f23657515b1d09d0765032422af71de52 (patch)
tree3fc3b63128ff27d179d33579ef3278dbdbd8a6bc /sysdeps/mips/dl-tls.h
parent30e32da6aafcef5a5d5a1c91e233636db6493fc8 (diff)
downloadglibc-cc74583f23657515b1d09d0765032422af71de52.tar.xz
glibc-cc74583f23657515b1d09d0765032422af71de52.zip
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>
Diffstat (limited to 'sysdeps/mips/dl-tls.h')
-rw-r--r--sysdeps/mips/dl-tls.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/mips/dl-tls.h b/sysdeps/mips/dl-tls.h
index b4e800cddd..1ce3054bbb 100644
--- a/sysdeps/mips/dl-tls.h
+++ b/sysdeps/mips/dl-tls.h
@@ -41,5 +41,4 @@ typedef struct
extern void *__tls_get_addr (tls_index *ti);
-# define GET_ADDR_OFFSET (ti->ti_offset + TLS_DTV_OFFSET)
-# define __TLS_GET_ADDR(__ti) (__tls_get_addr (__ti) - TLS_DTV_OFFSET)
+#define __TLS_GET_ADDR(__ti) (__tls_get_addr (__ti) - TLS_DTV_OFFSET)