pkgsrc/devel/unproven-pthreads/patches/patch-at
skrll f2ff42269f Previous commit was pretty much useless without this lot.
Support sparc.
XXX fp state needs looking at.
2001-04-12 15:53:30 +00:00

32 lines
738 B
Text

$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; \