~sircmpwn/harec

d8db334eddd006d9d682178fbd3456f7623602a3 — Ember Sawady 3 months ago 22e4ade
rt+freebsd: _start: don't touch first arg

FreeBSD doesn't follow Sys-V here. Fixes flaky test suite

Signed-off-by: Ember Sawady <ecs@d2evs.net>
3 files changed, 0 insertions(+), 4 deletions(-)

M rt/+freebsd/start+aarch64.s
M rt/+freebsd/start+riscv64.s
M rt/+freebsd/start+x86_64.s
M rt/+freebsd/start+aarch64.s => rt/+freebsd/start+aarch64.s +0 -2
@@ 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_ha

M rt/+freebsd/start+riscv64.s => rt/+freebsd/start+riscv64.s +0 -1
@@ 1,6 1,5 @@
.text
.global _start
_start:
	mv a0, sp
	andi sp, sp, -16
	tail rt.start_ha

M rt/+freebsd/start+x86_64.s => rt/+freebsd/start+x86_64.s +0 -1
@@ 2,6 2,5 @@
.global _start
_start:
	xor %rbp, %rbp
	movq %rsp, %rdi
	andq $-16, %rsp
	call rt.start_ha