2002-02-07 Ulrich Drepper <drepper@redhat.com>
+ * sysdeps/i386/dl-tls.h (__tls_get_addr): Call
+ ___tls_get_addr_internal.
+ (___tls_get_addr_internal): Define as alias for ___tls_get_addr.
+
* po/ko.po: Update from translation team.
2002-02-07 Jakub Jelinek <jakub@redhat.com>
/* 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
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)