Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Feb 2016 14:38:37 +0000 (UTC)
From:      Ruslan Bukin <br@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r295758 - head/sys/conf
Message-ID:  <201602181438.u1IEcb2p085716@repo.freebsd.org>

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



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