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:
parent
647d168b05
commit
7b0a8f7745
@ -105,6 +105,7 @@ CFLAGS += -ffixed-x18
|
||||
.endif
|
||||
|
||||
.if ${MACHINE_CPUARCH} == "riscv"
|
||||
CFLAGS.gcc+= -mcmodel=medany
|
||||
INLINE_LIMIT?= 8000
|
||||
.endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user