summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/amd64/locore.S
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/amd64/amd64/locore.S')
-rw-r--r--sys/arch/amd64/amd64/locore.S4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/amd64/amd64/locore.S b/sys/arch/amd64/amd64/locore.S
index f66dc562df8..bad043377b4 100644
--- a/sys/arch/amd64/amd64/locore.S
+++ b/sys/arch/amd64/amd64/locore.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.S,v 1.77 2016/05/10 14:15:57 mikeb Exp $ */
+/* $OpenBSD: locore.S,v 1.78 2016/05/10 18:39:42 deraadt Exp $ */
/* $NetBSD: locore.S,v 1.13 2004/03/25 18:33:17 drochner Exp $ */
/*
@@ -763,6 +763,8 @@ NENTRY(sigcode)
pushq %rdi /* fake return address */
movq $SYS_sigreturn,%rax
syscall
+ .globl _C_LABEL(sigcoderet)
+_C_LABEL(sigcoderet):
movq $SYS_exit,%rax
syscall
.globl _C_LABEL(esigcode)