summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2016-03-27 21:59:32 +0000
committerguenther <guenther@openbsd.org>2016-03-27 21:59:32 +0000
commit145e0eac3d11cdc9dd65ed2b4cd7b97807db5247 (patch)
tree08afda3e16f9e63109a94bcadb7f553f79ed20bc /lib/libc
parentDon't delete the 224/4 route in netstart, unless it's being done to ensure that (diff)
downloadwireguard-openbsd-145e0eac3d11cdc9dd65ed2b4cd7b97807db5247.tar.xz
wireguard-openbsd-145e0eac3d11cdc9dd65ed2b4cd7b97807db5247.zip
Switch to RSYSCALL: no special handling is needed here any more and
we do need the hidden _libc_syscall alias. from miod@
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/arch/sparc/sys/syscall.S8
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/libc/arch/sparc/sys/syscall.S b/lib/libc/arch/sparc/sys/syscall.S
index b0c7d3a84c3..45ce38791d8 100644
--- a/lib/libc/arch/sparc/sys/syscall.S
+++ b/lib/libc/arch/sparc/sys/syscall.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: syscall.S,v 1.4 2005/08/07 16:40:15 espie Exp $ */
+/* $OpenBSD: syscall.S,v 1.5 2016/03/27 21:59:32 guenther Exp $ */
/*
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
@@ -34,8 +34,4 @@
#include "SYS.h"
-ENTRY(syscall)
- mov 0|SYSCALL_G2RFLAG, %g1 ! 0 == indir
- add %o7, 8, %g2
- t ST_SYSCALL
- ERROR()
+RSYSCALL(syscall)