svn commit: r355401 - head/lib/libcompiler_rt

John Baldwin jhb at FreeBSD.org
Wed Dec 4 20:18:13 UTC 2019


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 at 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


More information about the svn-src-head mailing list