aboutsummaryrefslogtreecommitdiff
path: root/lib/csu
diff options
context:
space:
mode:
authorKristof Provost <kp@FreeBSD.org>2019-09-09 16:25:09 +0000
committerKristof Provost <kp@FreeBSD.org>2019-09-09 16:25:09 +0000
commitd4402ecd3bd37555be30ce2b80ef256b8e163b06 (patch)
treeaf083c23b2eccfbc3acfc2a8c1def7bb28498eda /lib/csu
parent6d261981ee3fc4f4863ec0c5625a0c5ef2068283 (diff)
Notes
Diffstat (limited to 'lib/csu')
-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