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:
Ruslan Bukin 2016-02-18 14:38:37 +00:00
parent 796a99fc5c
commit 2a9aa1a646

View File

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