Define TRY_EMPTY_VM_SPACE for riscv64-linux
authorAndreas Schwab <schwab@suse.de>
Sun, 29 Mar 2020 18:52:36 +0000 (20:52 +0200)
committerAndreas Schwab <schwab@suse.de>
Mon, 30 Mar 2020 18:54:44 +0000 (20:54 +0200)
* config/host-linux.c (TRY_EMPTY_VM_SPACE) [__riscv && __LP64__]:
Define.

gcc/ChangeLog
gcc/config/host-linux.c

index 43015c6541d24858ace948e4a6f712c7d5f5cb9e..ace41d0efe6016667e40433c4dd0b262731f1b19 100644 (file)
@@ -1,3 +1,8 @@
+2020-03-30  Andreas Schwab  <schwab@suse.de>
+
+       * config/host-linux.c (TRY_EMPTY_VM_SPACE) [__riscv && __LP64__]:
+       Define.
+
 2020-03-30  Will Schmidt  <will_schmidt@vnet.ibm.com>
 
        * config/rs6000/rs6000-call.c altivec_init_builtins(): Remove code
index ee1d520ede38c8d00a29a3586e5141e9f2b51de3..26872544130dddaf335068b1c3ae6fac3dc2e90a 100644 (file)
@@ -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