about summary refs log tree commit diff
path: root/libio/genops.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/genops.c')
-rw-r--r--libio/genops.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libio/genops.c b/libio/genops.c
index fc4c61d9a4..3a58cd2eaf 100644
--- a/libio/genops.c
+++ b/libio/genops.c
@@ -861,3 +861,7 @@ __io_defs io_defs__;
 #ifdef weak_alias
 weak_alias (_IO_cleanup, _cleanup)
 #endif
+
+#ifdef text_set_element
+text_set_element(__libc_atexit, _cleanup);
+#endif