diff options
-rw-r--r-- | lib/libc/gen/tls.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libc/gen/tls.c b/lib/libc/gen/tls.c index 703bfef..1fdfc94 100644 --- a/lib/libc/gen/tls.c +++ b/lib/libc/gen/tls.c @@ -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. */ |