From 6333a6014f32c7ced36ced610d5a5cecbafba6c3 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 4 Sep 2023 20:03:37 +0200 Subject: __call_tls_dtors: Use call_function_static_weak --- include/stdlib.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'include/stdlib.h') diff --git a/include/stdlib.h b/include/stdlib.h index d1d00c0f6f..0ed8271d9b 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -159,11 +159,7 @@ libc_hidden_proto (__cxa_atexit); extern int __cxa_thread_atexit_impl (void (*func) (void *), void *arg, void *d); -extern void __call_tls_dtors (void) -#ifndef SHARED - __attribute__ ((weak)) -#endif - ; +extern void __call_tls_dtors (void); libc_hidden_proto (__call_tls_dtors) extern void __cxa_finalize (void *d); -- cgit v1.2.3