Mark _rtld_allocate_tls and _rtld_free_tls as weak symbols for Variant I

tls.

Reviewed by: dfr
This commit is contained in:
davidxu 2005-02-26 10:39:49 +00:00
parent 9aba394fc7
commit 92042d9431

View File

@ -86,6 +86,10 @@ __tls_get_addr()
#ifdef TLS_VARIANT_I
#pragma weak _rtld_free_tls
/*
* Free Static TLS using the Variant II method.
*/
void
_rtld_free_tls(void *tls, size_t tcbsize, size_t tcbalign)
{
@ -98,6 +102,7 @@ _rtld_free_tls(void *tls, size_t tcbsize, size_t tcbalign)
#endif
}
#pragma weak _rtld_allocate_tls
/*
* Allocate Static TLS using the Variant I method.
*/