Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Nov 2016 03:24:20 +0000 (UTC)
From:      Alexander Kabaev <kan@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r308713 - head/sys/conf
Message-ID:  <201611160324.uAG3OKRJ013692@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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