Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libgloss: riscv: Fix envp parameter for main
The envp paramter is currently NULL when crt0.S calls main. With this patch the envp parameter should now be set correctly. Tested with riscv32 and riscv64: both gdb/sim and qemu do work.
- Loading branch information