mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-09 13:42:56 +00:00
Mark _rtld_allocate_tls and _rtld_free_tls as weak symbols for Variant I
tls. Reviewed by: dfr
This commit is contained in:
parent
5c1f0f6de5
commit
17ceb495f0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=142560
@ -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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user