blob: 562e06e2d08d35362fd02cf2e73a792e57e47b0a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
$NetBSD: patch-at,v 1.2 2001/04/12 15:53:31 skrll Exp $
--- machdep/syscall-template-sparc-netbsd-1.3.S.orig Sat Nov 6 23:33:03 1999
+++ machdep/syscall-template-sparc-netbsd-1.3.S
@@ -4,19 +4,25 @@
*
*/
+#include <machine/asm.h>
#include <sys/syscall.h>
#ifdef SYS___sigsuspend14
#define SYS_sigsuspend SYS___sigsuspend14
#endif
+
+#ifdef SYS___sigaction14
+#define SYS_sigaction SYS___sigaction14
+#endif
+
#ifdef SYS___sigprocmask14
#define SYS_sigprocmask SYS___sigprocmask14
#endif
#define SYSCALL(x) \
- .globl _machdep_sys_##x; \
+ .globl _C_LABEL(machdep_sys_##x); \
\
-_machdep_sys_##x:; \
+_C_LABEL(machdep_sys_##x):; \
\
mov SYS_##x, %g1; \
ta 0; \
|