svn commit: r352073 - head/lib/csu/riscv
Kristof Provost
kp at FreeBSD.org
Mon Sep 9 16:25:10 UTC 2019
Author: kp
Date: Mon Sep 9 16:25:09 2019
New Revision: 352073
URL: https://svnweb.freebsd.org/changeset/base/352073
Log:
csu: Add the riscv .init call sequence
Reviewed by: br
Sponsored by: Axiado
Differential Revision: https://reviews.freebsd.org/D21537
Modified:
head/lib/csu/riscv/crt.h
Modified: head/lib/csu/riscv/crt.h
==============================================================================
--- head/lib/csu/riscv/crt.h Mon Sep 9 16:07:47 2019 (r352072)
+++ head/lib/csu/riscv/crt.h Mon Sep 9 16:25:09 2019 (r352073)
@@ -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
More information about the svn-src-all
mailing list