CVSROOT:        /cvs
Module name:    src
Changes by:     dr...@cvs.openbsd.org   2021/05/09 15:26:06

Modified files:
        sys/arch/riscv64/include: setjmp.h 
        lib/libc/arch/riscv64/gen: _setjmp.S setjmp.S sigsetjmp.S 

Log message:
Change offsets to (N * 8) to reduce chance of register clobber and mistakes.
Simplify integer loading, use 'li <dest>, <value>' instead of x0/zero register
Adjust _JB_SIGMASK to not collide with saved registers.

Reply via email to