about summary refs log tree commit diff
path: root/csu
diff options
context:
space:
mode:
Diffstat (limited to 'csu')
-rw-r--r--csu/elf-init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/csu/elf-init.c b/csu/elf-init.c
index 691e27fab7..7ac79446d6 100644
--- a/csu/elf-init.c
+++ b/csu/elf-init.c
@@ -92,7 +92,7 @@ __libc_csu_init (void)
 void
 __libc_csu_fini (void)
 {
-#if 0
+#ifndef LIBC_NONSHARED
 #ifdef HAVE_INITFINI_ARRAY
   size_t i = __fini_array_end - __fini_array_start;
   while (i-- > 0)