svn commit: r308713 - head/sys/conf

Alexander Kabaev kan at FreeBSD.org
Wed Nov 16 03:24:22 UTC 2016


Author: kan
Date: Wed Nov 16 03:24:20 2016
New Revision: 308713
URL: https://svnweb.freebsd.org/changeset/base/308713

Log:
  Compile trampoline with soft-float on MIPS, to match the rest of the kernel
  
  Core kernel is always compiled with -msoft-float on all of our platforms,
  make sure we follow the suit with trampoline as well.
  
  Reviewed by:	adrian, br, imp
  Differential Revision:	https://reviews.freebsd.org/D8507

Modified:
  head/sys/conf/Makefile.mips

Modified: head/sys/conf/Makefile.mips
==============================================================================
--- head/sys/conf/Makefile.mips	Wed Nov 16 03:21:49 2016	(r308712)
+++ head/sys/conf/Makefile.mips	Wed Nov 16 03:24:20 2016	(r308713)
@@ -52,6 +52,8 @@ CFLAGS+=${EXTRA_FLAGS} $(ARCH_FLAGS)
 HACK_EXTRA_FLAGS+=${EXTRA_FLAGS} $(ARCH_FLAGS)
 TRAMP_ARCH_FLAGS?=$(ARCH_FLAGS)
 TRAMP_EXTRA_FLAGS=${EXTRA_FLAGS} ${TRAMP_ARCH_FLAGS}
+# Kernel code is always compiled with soft-float on MIPS
+TRAMP_EXTRA_FLAGS+=-msoft-float
 .if ${MACHINE_ARCH:Mmips64*} != ""
 TRAMP_ELFSIZE=64
 .else


More information about the svn-src-all mailing list