History log of /openbsd-current/lib/libc/arch/riscv64/gen/_setjmp.S
Revision Date Author Comments
# 1.3 14-May-2021 drahn

Fix regression for _setjmp, fucntion does not use stack and adjusting
it causes restored stack to be incorrect.


# 1.2 09-May-2021 drahn

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.


# 1.1 28-Apr-2021 drahn

riscv64 libc setjmp functions,
Based on arm64 versions
this implementation is missing jmpxor security enhancement.
Good enough deraadt@


# 1.2 09-May-2021 drahn

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.


# 1.1 28-Apr-2021 drahn

riscv64 libc setjmp functions,
Based on arm64 versions
this implementation is missing jmpxor security enhancement.
Good enough deraadt@


# 1.1 28-Apr-2021 drahn

riscv64 libc setjmp functions,
Based on arm64 versions
this implementation is missing jmpxor security enhancement.
Good enough deraadt@