aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/csu/riscv/crt.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/csu/riscv/crt.h b/lib/csu/riscv/crt.h
index 9f41c2fac0fe..8332092a36ad 100644
--- a/lib/csu/riscv/crt.h
+++ b/lib/csu/riscv/crt.h
@@ -1,2 +1,9 @@
/* $FreeBSD$ */
-/* Empty so we can include this unconditionally */
+
+#ifndef _CRT_H_
+#define _CRT_H_
+
+#define HAVE_CTORS
+#define INIT_CALL_SEQ(func) "call " __STRING(func)
+
+#endif