* config/host-linux.c (TRY_EMPTY_VM_SPACE) [__riscv && __LP64__]:
        Define.
---
 gcc/config/host-linux.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gcc/config/host-linux.c b/gcc/config/host-linux.c
index ee1d520ede3..26872544130 100644
--- a/gcc/config/host-linux.c
+++ b/gcc/config/host-linux.c
@@ -96,6 +96,8 @@
 # define TRY_EMPTY_VM_SPACE    0x8000000000
 #elif defined(__mips__)
 # define TRY_EMPTY_VM_SPACE    0x60000000
+#elif defined(__riscv) && defined (__LP64__)
+# define TRY_EMPTY_VM_SPACE    0x1000000000
 #else
 # define TRY_EMPTY_VM_SPACE    0
 #endif
-- 
2.26.0


-- 
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

Reply via email to