Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Dec 2019 20:18:13 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r355401 - head/lib/libcompiler_rt
Message-ID:  <201912042018.xB4KIDb9070990@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb
Date: Wed Dec  4 20:18:12 2019
New Revision: 355401
URL: https://svnweb.freebsd.org/changeset/base/355401

Log:
  Define __SOFT_FP__ for riscv64sf to avoid infinite recursion.
  
  Submitted by:	James Clarke <jrtc27@jrtc27.com>
  Reviewed by:	imp
  Sponsored by:	DARPA
  Differential Revision:	https://reviews.freebsd.org/D22660

Modified:
  head/lib/libcompiler_rt/Makefile.inc

Modified: head/lib/libcompiler_rt/Makefile.inc
==============================================================================
--- head/lib/libcompiler_rt/Makefile.inc	Wed Dec  4 20:15:17 2019	(r355400)
+++ head/lib/libcompiler_rt/Makefile.inc	Wed Dec  4 20:18:12 2019	(r355401)
@@ -241,3 +241,7 @@ SRCS+=		sync_synchronize.S
 SRCS+=		bswapdi2.c
 SRCS+=		bswapsi2.c
 .endif
+
+.if ${MACHINE_ARCH:Mriscv*sf}
+CFLAGS+=	-D__SOFT_FP__
+.endif



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