diff dyncall/dyncall_callvm.c @ 653:0c8838766866

- riscv64 support for calls and callbacks (but lacking aggr and syscall support) - thanks Jun Jeon! :) - mark riscv64 as implemented in manual overview
author Tassilo Philipp
date Thu, 07 Mar 2024 17:42:13 +0100
parents f5577f6bf97a
children
line wrap: on
line diff
--- a/dyncall/dyncall_callvm.c	Thu Mar 07 14:48:03 2024 +0100
+++ b/dyncall/dyncall_callvm.c	Thu Mar 07 17:42:13 2024 +0100
@@ -6,7 +6,7 @@
  Description: auto-select default callvm (includes other C sources).
  License:
 
-   Copyright (c) 2007-2018 Daniel Adler <dadler@uni-goettingen.de>, 
+   Copyright (c) 2007-2024 Daniel Adler <dadler@uni-goettingen.de>, 
                            Tassilo Philipp <tphilipp@potion-studios.com>
 
    Permission to use, copy, modify, and distribute this software for any
@@ -69,8 +69,8 @@
 #  include "dyncall_callvm_sparc.c"
 #elif defined(DC__Arch_Sparc64)
 #  include "dyncall_callvm_sparc64.c"
-#elif defined(DC__Arch_RiscV)
-#  include "dyncall_callvm_riscv.c"
+#elif defined(DC__Arch_RiscV64)
+#  include "dyncall_callvm_riscv64.c"
 #else
 #  error unsupported platform
 #endif