Fix RISCV stack-start (#721)
This commit is contained in:
parent
2dee0110be
commit
424b96532f
@ -405,6 +405,8 @@ _abs_start:
|
|||||||
|
|
||||||
// Allocate stack
|
// Allocate stack
|
||||||
la sp, _stack_start
|
la sp, _stack_start
|
||||||
|
lui t0, 16
|
||||||
|
sub sp, sp, t0
|
||||||
|
|
||||||
// Set frame pointer
|
// Set frame pointer
|
||||||
add s0, sp, zero
|
add s0, sp, zero
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user