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