hare

The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit d2077aa987e15a965a0b1dabf1b34a8065f728ca
parent 550070f42ad333461cf2cae1d8a844081912ac56
Author: Michael Forney <mforney@mforney.org>
Date:   Wed, 22 Sep 2021 12:00:43 -0700

rt: fix riscv64 entry point

We need to call start_linux() in order to initialize argc, argv,
and envp rather than entering start_ha() directly.

Diffstat:
Mrt/+linux/start+riscv64.s | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rt/+linux/start+riscv64.s b/rt/+linux/start+riscv64.s @@ -3,4 +3,4 @@ _start: mv a0, sp andi sp, sp, -16 - tail rt.start_ha + tail rt.start_linux