hare

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

commit 6703dd334737ff172c1882a04f6f54c686db4030
parent 7dd7673c6c0ab7ebe3c814007316550045c492ee
Author: Ember Sawady <ecs@d2evs.net>
Date:   Tue, 30 May 2023 23:59:04 +0000

rt+freebsd: _start: don't touch first arg

FreeBSD doesn't follow Sys-V

Signed-off-by: Ember Sawady <ecs@d2evs.net>

Diffstat:
Mrt/+freebsd/start+aarch64-libc.s | 2--
Mrt/+freebsd/start+riscv64-libc.s | 1-
2 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/rt/+freebsd/start+aarch64-libc.s b/rt/+freebsd/start+aarch64-libc.s @@ -3,7 +3,5 @@ _start: mov x29, #0 mov x30, #0 - mov x0, sp - add sp, x0, #-16 and sp, sp, #-16 b rt.start_freebsd diff --git a/rt/+freebsd/start+riscv64-libc.s b/rt/+freebsd/start+riscv64-libc.s @@ -1,6 +1,5 @@ .text .global _start _start: - mv a0, sp andi sp, sp, -16 tail rt.start_freebsd