svn commit: r295758 - head/sys/conf

Ruslan Bukin br at FreeBSD.org
Thu Feb 18 14:38:39 UTC 2016


Author: br
Date: Thu Feb 18 14:38:37 2016
New Revision: 295758
URL: https://svnweb.freebsd.org/changeset/base/295758

Log:
  Use medany (Medium/Anywhere) GCC code model for RISC-V.
  This will allow us to use bigger relocations and all
  the 64-bit VA space.

Modified:
  head/sys/conf/kern.mk

Modified: head/sys/conf/kern.mk
==============================================================================
--- head/sys/conf/kern.mk	Thu Feb 18 14:17:28 2016	(r295757)
+++ head/sys/conf/kern.mk	Thu Feb 18 14:38:37 2016	(r295758)
@@ -105,6 +105,7 @@ CFLAGS += -ffixed-x18
 .endif
 
 .if ${MACHINE_CPUARCH} == "riscv"
+CFLAGS.gcc+=	-mcmodel=medany
 INLINE_LIMIT?=	8000
 .endif
 


More information about the svn-src-head mailing list