aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/i386/dl-tls.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/i386/dl-tls.h')
-rw-r--r--sysdeps/i386/dl-tls.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/i386/dl-tls.h b/sysdeps/i386/dl-tls.h
index 5066b8dcd6..b34bbe2c9e 100644
--- a/sysdeps/i386/dl-tls.h
+++ b/sysdeps/i386/dl-tls.h
@@ -31,7 +31,7 @@ typedef struct
extern void *___tls_get_addr (tls_index *ti)
__attribute__ ((__regparm__ (1)));
extern void *___tls_get_addr_internal (tls_index *ti)
- __attribute__ ((__regparm__ (1)));
+ __attribute__ ((__regparm__ (1))) attribute_hidden;
/* The special thing about the x86 TLS ABI is that we have two
variants of the __tls_get_addr function with different calling
@@ -50,5 +50,5 @@ __tls_get_addr (tls_index *ti)
version of this file. */
# define __tls_get_addr __attribute__ ((__regparm__ (1))) ___tls_get_addr
strong_alias (___tls_get_addr, ___tls_get_addr_internal)
-# define __TLS_GET_ADDR ___tls_get_addr
+# define __TLS_GET_ADDR ___tls_get_addr_internal
#endif