about summary refs log tree commit diff
path: root/sysdeps/i386/dl-tls.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-02-08 06:24:57 +0000
committerUlrich Drepper <drepper@redhat.com>2002-02-08 06:24:57 +0000
commiteee868c3c7ce0db92a5a131a98fd636955eeb9bd (patch)
tree8dd4be16d0bca34a2ac65cf985c5dc7eedb4880e /sysdeps/i386/dl-tls.h
parent06d3b07971d2e15acbd047e3d06ad15d49860677 (diff)
downloadglibc-eee868c3c7ce0db92a5a131a98fd636955eeb9bd.tar.gz
glibc-eee868c3c7ce0db92a5a131a98fd636955eeb9bd.tar.xz
glibc-eee868c3c7ce0db92a5a131a98fd636955eeb9bd.zip
Update.
	* sysdeps/i386/dl-tls.h (__tls_get_addr): Call
	___tls_get_addr_internal.
	(___tls_get_addr_internal): Define as alias for ___tls_get_addr.
Diffstat (limited to 'sysdeps/i386/dl-tls.h')
-rw-r--r--sysdeps/i386/dl-tls.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sysdeps/i386/dl-tls.h b/sysdeps/i386/dl-tls.h
index 0b7d5c5902..8e30530542 100644
--- a/sysdeps/i386/dl-tls.h
+++ b/sysdeps/i386/dl-tls.h
@@ -28,6 +28,8 @@ typedef struct
 /* This is the prototype for the GNU version.  */
 extern void *___tls_get_addr (tls_index *ti)
      __attribute__ ((__regparm__ (1)));
+extern void *___tls_get_addr_internal (tls_index *ti)
+     __attribute__ ((__regparm__ (1)));
 
 /* The special thing about the x86 TLS ABI is that we have two
    variants of the __tls_get_addr function with different calling
@@ -38,10 +40,11 @@ extern void *___tls_get_addr (tls_index *ti)
 void *
 __tls_get_addr (tls_index *ti)
 {
-  return ___tls_get_addr (ti);
+  return ___tls_get_addr_internal (ti);
 }
 
 
 /* Prepare using the definition of __tls_get_addr in the generic
    version of this file.  */
 #define __tls_get_addr __attribute__ ((__regparm__ (1))) ___tls_get_addr
+strong_alias (___tls_get_addr, ___tls_get_addr_internal)