Message ID | mvmh7y6om3c.fsf@suse.de |
---|---|
State | New |
Headers | show |
Series | Define TRY_EMPTY_VM_SPACE for riscv64-linux | expand |
On Sun, Mar 29, 2020 at 3:03 PM Andreas Schwab <schwab@suse.de> wrote: > * config/host-linux.c (TRY_EMPTY_VM_SPACE) [__riscv && __LP64__]: > Define. Looks like the same address already used by the aarch64 and ia64 ports, so it seems safe. OK. Jim
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