Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
riscv-v/fork.S: Fix clobbering of s0 in fork()
Value of s0 (callee-saved) must be preserved through the call, use a0 (caller-saved) to calculate the original SP instead.
- Loading branch information