Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Oct 2014 09:52:29 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r272605 - head/sys/conf
Message-ID:  <201410060952.s969qThS078731@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: andrew
Date: Mon Oct  6 09:52:28 2014
New Revision: 272605
URL: https://svnweb.freebsd.org/changeset/base/272605

Log:
  Disable generating vfp and NEON instructions in the arm kernel.

Modified:
  head/sys/conf/Makefile.arm

Modified: head/sys/conf/Makefile.arm
==============================================================================
--- head/sys/conf/Makefile.arm	Mon Oct  6 09:46:21 2014	(r272604)
+++ head/sys/conf/Makefile.arm	Mon Oct  6 09:52:28 2014	(r272605)
@@ -42,6 +42,9 @@ STRIP_FLAGS = -S
 # We don't support gcc's thump interwork stuff, so disable it
 CFLAGS.gcc += -mno-thumb-interwork
 
+# We generally don't want fpu instructions in the kernel.
+CFLAGS.clang += -mfpu=none
+
 .if !empty(DDB_ENABLED)
 CFLAGS += -funwind-tables
 # clang requires us to tell it to emit assembly with unwind information



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