about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2023-09-04 20:03:37 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-09-04 20:03:37 +0200
commit6333a6014f32c7ced36ced610d5a5cecbafba6c3 (patch)
tree48a3cd9f10e8fb27ee36f76ad25d668bbebcbaac /include
parent2897b231a6b71ee17d47d3d63f1112b2641a476c (diff)
downloadglibc-6333a6014f32c7ced36ced610d5a5cecbafba6c3.tar.gz
glibc-6333a6014f32c7ced36ced610d5a5cecbafba6c3.tar.xz
glibc-6333a6014f32c7ced36ced610d5a5cecbafba6c3.zip
__call_tls_dtors: Use call_function_static_weak
Diffstat (limited to 'include')
-rw-r--r--include/stdlib.h6
1 files changed, 1 insertions, 5 deletions
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);