summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2016-03-27 21:59:33 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2016-03-27 21:59:33 +0000
commite8c75e81c39858207466ad3085d639fc95178f94 (patch)
treef22aa7ea8a4c0ef442be680259e2e75634594a71 /lib
parent9e13ae50731a6ae36f2c16d80be254a781a5cba7 (diff)
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')
-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)