summary refs log tree commit diff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/init-misc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/misc/init-misc.c b/misc/init-misc.c
index 44531a5e77..bf89e9ec0f 100644
--- a/misc/init-misc.c
+++ b/misc/init-misc.c
@@ -38,3 +38,7 @@ __init_misc (int argc, char **argv, char **envp)
       __progname_full = argv[0];
     }
 }
+
+#ifdef HAVE_GNU_LD
+text_set_element (__libc_subinit, __init_misc);
+#endif