mirror of
https://github.com/opnsense/src.git
synced 2026-04-22 14:49:36 -04: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
1 changed files with 5 additions and 0 deletions
|
|
@ -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 a new issue