about summary refs log tree commit diff
path: root/src/ldso
diff options
context:
space:
mode:
Diffstat (limited to 'src/ldso')
-rw-r--r--src/ldso/start.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ldso/start.c b/src/ldso/start.c
new file mode 100644
index 00000000..f6ae7cd2
--- /dev/null
+++ b/src/ldso/start.c
@@ -0,0 +1,8 @@
+#include <stdlib.h>
+
+/* stub for archs that lack dynamic linker support */
+
+void _start()
+{
+	_Exit(1);
+}