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
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"