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

Reply via email to