summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/alpha/locore.s
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/alpha/alpha/locore.s')
-rw-r--r--sys/arch/alpha/alpha/locore.s4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/alpha/alpha/locore.s b/sys/arch/alpha/alpha/locore.s
index 86d893c30fb..6d6354f079f 100644
--- a/sys/arch/alpha/alpha/locore.s
+++ b/sys/arch/alpha/alpha/locore.s
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.s,v 1.43 2015/07/20 07:45:23 dlg Exp $ */
+/* $OpenBSD: locore.s,v 1.44 2016/05/10 18:39:40 deraadt Exp $ */
/* $NetBSD: locore.s,v 1.94 2001/04/26 03:10:44 ross Exp $ */
/*-
@@ -273,6 +273,8 @@ NESTED(sigcode,0,0,ra,0,0)
ldq a0, 0(sp) /* get the sigcontext pointer */
lda sp, 16(sp)
CALLSYS_NOERROR(sigreturn) /* and call sigreturn() with it. */
+ .globl sigcoderet
+sigcoderet:
mov v0, a0 /* if that failed, get error code */
CALLSYS_NOERROR(exit) /* and call exit() with it. */
XNESTED(esigcode,0)