summaryrefslogtreecommitdiff
path: root/databases/mysql-server/patches/patch-as
blob: 7975b7e698af1f031dd7ad07c73b339b361de2c3 (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
33
34
35
36
$NetBSD: patch-as,v 1.2 1999/12/13 20:36:26 bad Exp $

--- mit-pthreads/machdep/syscall-template-sparc-netbsd-1.3.S.orig	Mon Jun  7 12:34:23 1999
+++ mit-pthreads/machdep/syscall-template-sparc-netbsd-1.3.S	Sun Aug 22 03:21:52 1999
@@ -4,6 +4,7 @@
  *
  */
 
+#include <machine/asm.h>
 #include <sys/syscall.h>
 
 #ifdef SYS___sigsuspend14
@@ -14,15 +15,15 @@
 #endif
 
 #define	SYSCALL(x)						\
-	.globl _machdep_sys_##x;			\
-										\
-_machdep_sys_##x:;						\
-										\
-	mov SYS_##x, %g1;   				\
-	ta 0;								\
-	bcs,a 2b;							\
+	.globl _C_LABEL(machdep_sys_##x);			\
+								\
+_C_LABEL(machdep_sys_##x):;					\
+								\
+	mov SYS_##x, %g1;   					\
+	ta 0;							\
+	bcs,a 2b;						\
 	sub %r0,%o0,%o0;					\
-	retl;								\
+	retl;							\
 	nop
 
 /*