Date: Thu, 28 Jul 2016 13:18:10 +0000 (UTC) From: Ruslan Bukin <br@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r303439 - head/sys/modules/dtrace/dtrace Message-ID: <201607281318.u6SDIA8J060758@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: br Date: Thu Jul 28 13:18:10 2016 New Revision: 303439 URL: https://svnweb.freebsd.org/changeset/base/303439 Log: Build DTrace assym.o with -msoft-float flag for RISC-V so we have correct flag in ELF file. Sponsored by: DARPA, AFRL Sponsored by: HEIF5 Modified: head/sys/modules/dtrace/dtrace/Makefile Modified: head/sys/modules/dtrace/dtrace/Makefile ============================================================================== --- head/sys/modules/dtrace/dtrace/Makefile Thu Jul 28 13:15:23 2016 (r303438) +++ head/sys/modules/dtrace/dtrace/Makefile Thu Jul 28 13:18:10 2016 (r303439) @@ -58,6 +58,11 @@ assym.o: assym.s ${AS} -meabi=5 -o assym.o assym.s .endif +.if ${MACHINE_CPUARCH} == "riscv" +assym.o: assym.s + ${AS} -msoft-float -o assym.o assym.s +.endif + .include <bsd.kmod.mk> CFLAGS+= -include ${SYSDIR}/cddl/compat/opensolaris/sys/debug_compat.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607281318.u6SDIA8J060758>