Remove cerror dependancy from riscv64 asm syscalls.
authordrahn <drahn@openbsd.org>
Tue, 4 May 2021 04:26:00 +0000 (04:26 +0000)
committerdrahn <drahn@openbsd.org>
Tue, 4 May 2021 04:26:00 +0000 (04:26 +0000)
commit0f2255fcf6ad0f8f9c3d05a414f4bbd17df168d1
tree31f029bebf3c179294f6de714aaa1502967059be
parent1eb6279c5c0c1494d64989f53b580936931ba5bf
Remove cerror dependancy from riscv64 asm syscalls.
Directly update cerror as  offset of thread pointer, with
optimizations on error brnaching
ok kettenis@
lib/libc/arch/riscv64/Makefile.inc
lib/libc/arch/riscv64/SYS.h
lib/libc/arch/riscv64/sys/cerror.S [deleted file]
lib/libc/arch/riscv64/sys/sigpending.S
lib/libc/arch/riscv64/sys/sigprocmask.S
lib/libc/arch/riscv64/sys/sigsuspend.S
lib/libc/arch/riscv64/sys/tfork_thread.S