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.
This commit is contained in:
br 2016-02-18 14:38:37 +00:00
parent 647d168b05
commit 7b0a8f7745

View File

@ -105,6 +105,7 @@ CFLAGS += -ffixed-x18
.endif
.if ${MACHINE_CPUARCH} == "riscv"
CFLAGS.gcc+= -mcmodel=medany
INLINE_LIMIT?= 8000
.endif