-/* $OpenBSD: locore.s,v 1.10 1996/11/23 23:19:41 kstailey Exp $ */
+/* $OpenBSD: locore.s,v 1.11 1997/01/28 09:01:02 deraadt Exp $ */
/*
* Copyright (c) 1995 Theo de Raadt
* sp+0 -> signal number
* sp+4 signal specific code
* sp+8 pointer to signal context frame (scp)
- * sp+12 address of handler
- * sp+16 saved hardware state
+ * sp+12 pointer to siginfo (sip)
+ * sp+16 address of handler
+ * sp+20 saved hardware state
* .
* .
* scp+0-> beginning of signal context frame
.globl _sigcode, _esigcode, _sigcodetrap
.data
_sigcode:
- movl sp@(12),a0 | signal handler addr (4 bytes)
+ movl sp@(16),a0 | signal handler addr (4 bytes)
jsr a0@ | call signal handler (2 bytes)
addql #4,sp | pop signo (2 bytes)
_sigcodetrap: