From 48e331d63827a0500670d685c0fe7d609e0a807a Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Sun, 29 Mar 2020 20:52:36 +0200 Subject: [PATCH] Define TRY_EMPTY_VM_SPACE for riscv64-linux * config/host-linux.c (TRY_EMPTY_VM_SPACE) [__riscv && __LP64__]: Define. --- gcc/ChangeLog | 5 +++++ gcc/config/host-linux.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 43015c6541d..ace41d0efe6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2020-03-30 Andreas Schwab + + * config/host-linux.c (TRY_EMPTY_VM_SPACE) [__riscv && __LP64__]: + Define. + 2020-03-30 Will Schmidt * config/rs6000/rs6000-call.c altivec_init_builtins(): Remove code 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.30.2