svn commit: r272605 - head/sys/conf

Andrew Turner andrew at FreeBSD.org
Mon Oct 6 09:52:29 UTC 2014


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


More information about the svn-src-all mailing list