Add a new label "sigcodecall" inside every sigtramp definition, directly
authorderaadt <deraadt@openbsd.org>
Sun, 10 Dec 2023 16:56:01 +0000 (16:56 +0000)
committerderaadt <deraadt@openbsd.org>
Sun, 10 Dec 2023 16:56:01 +0000 (16:56 +0000)
commit20cef513d8ab5a7a4c3f2af5c0d1615fb674c6d0
tree009a9292482ff886950569b80f3e3e1aaa49420e
parent83762a71f74848f4d09174ce350838b4204957c5
Add a new label "sigcodecall" inside every sigtramp definition, directly
in front of the syscall instruction.  This is used to calculate the start
of the syscall for SYS_sigreturn and pinned system calls.
ok kettenis
13 files changed:
sys/arch/alpha/alpha/locore.s
sys/arch/amd64/amd64/locore.S
sys/arch/arm/arm/sigcode.S
sys/arch/arm64/arm64/locore.S
sys/arch/hppa/hppa/locore.S
sys/arch/i386/i386/locore.s
sys/arch/m88k/m88k/subr.S
sys/arch/macppc/macppc/locore.S
sys/arch/mips64/mips64/lcore_access.S
sys/arch/powerpc64/powerpc64/locore.S
sys/arch/riscv64/riscv64/locore.S
sys/arch/sh/sh/locore_subr.S
sys/arch/sparc64/sparc64/locore.s