Completely remove UVM32_STACK_PROTECTION unless enabled (requires manually changing crt0.S), as this saves 16 bytes on every .bin

This commit is contained in:
Toby Jaffey 2025-12-14 00:09:32 +00:00
parent c1399fbe86
commit 173d5056a5
17 changed files with 6 additions and 5 deletions

View file

@ -9,9 +9,10 @@
.align 4
_start:
la a0, _estack
li a7, uvm32_syscall_stackprotect
ecall
# Uncomment below to enable stack protection, requires -DUVM32_STACK_PROTECTION
# la a0, _estack
# li a7, uvm32_syscall_stackprotect
# ecall
# sp is already setup by vm
sw ra,12(sp)