Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Sep 2019 16:25:10 +0000 (UTC)
From:      Kristof Provost <kp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r352073 - head/lib/csu/riscv
Message-ID:  <201909091625.x89GPAGK040571@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909091625.x89GPAGK040571>