summaryrefslogtreecommitdiffstats
path: root/src/syscall/asm_solaris_amd64.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/syscall/asm_solaris_amd64.s')
-rw-r--r--src/syscall/asm_solaris_amd64.s82
1 files changed, 82 insertions, 0 deletions
diff --git a/src/syscall/asm_solaris_amd64.s b/src/syscall/asm_solaris_amd64.s
new file mode 100644
index 0000000..6dee29a
--- /dev/null
+++ b/src/syscall/asm_solaris_amd64.s
@@ -0,0 +1,82 @@
+// Copyright 2014 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+#include "textflag.h"
+
+//
+// System calls for solaris/amd64 are implemented in ../runtime/syscall_solaris.go
+//
+
+TEXT ·sysvicall6(SB),NOSPLIT,$0
+ JMP runtime·syscall_sysvicall6(SB)
+
+TEXT ·rawSysvicall6(SB),NOSPLIT,$0
+ JMP runtime·syscall_rawsysvicall6(SB)
+
+TEXT ·chdir(SB),NOSPLIT,$0
+ JMP runtime·syscall_chdir(SB)
+
+TEXT ·chroot1(SB),NOSPLIT,$0
+ JMP runtime·syscall_chroot(SB)
+
+TEXT ·closeFD(SB),NOSPLIT,$0
+ JMP runtime·syscall_close(SB)
+
+TEXT ·dup2child(SB),NOSPLIT,$0
+ JMP runtime·syscall_dup2(SB)
+ RET
+
+TEXT ·execve(SB),NOSPLIT,$0
+ JMP runtime·syscall_execve(SB)
+
+TEXT ·exit(SB),NOSPLIT,$0
+ JMP runtime·syscall_exit(SB)
+
+TEXT ·fcntl1(SB),NOSPLIT,$0
+ JMP runtime·syscall_fcntl(SB)
+
+TEXT ·forkx(SB),NOSPLIT,$0
+ JMP runtime·syscall_forkx(SB)
+
+TEXT ·gethostname(SB),NOSPLIT,$0
+ JMP runtime·syscall_gethostname(SB)
+
+TEXT ·getpid(SB),NOSPLIT,$0
+ JMP runtime·syscall_getpid(SB)
+
+TEXT ·ioctl(SB),NOSPLIT,$0
+ JMP runtime·syscall_ioctl(SB)
+
+TEXT ·RawSyscall(SB),NOSPLIT,$0
+ JMP runtime·syscall_rawsyscall(SB)
+
+TEXT ·RawSyscall6(SB),NOSPLIT,$0
+ JMP runtime·syscall_rawsyscall6(SB)
+
+TEXT ·setgid(SB),NOSPLIT,$0
+ JMP runtime·syscall_setgid(SB)
+
+TEXT ·setgroups1(SB),NOSPLIT,$0
+ JMP runtime·syscall_setgroups(SB)
+
+TEXT ·setrlimit1(SB),NOSPLIT,$0
+ JMP runtime·syscall_setrlimit(SB)
+
+TEXT ·setsid(SB),NOSPLIT,$0
+ JMP runtime·syscall_setsid(SB)
+
+TEXT ·setuid(SB),NOSPLIT,$0
+ JMP runtime·syscall_setuid(SB)
+
+TEXT ·setpgid(SB),NOSPLIT,$0
+ JMP runtime·syscall_setpgid(SB)
+
+TEXT ·Syscall(SB),NOSPLIT,$0
+ JMP runtime·syscall_syscall(SB)
+
+TEXT ·wait4(SB),NOSPLIT,$0
+ JMP runtime·syscall_wait4(SB)
+
+TEXT ·write1(SB),NOSPLIT,$0
+ JMP runtime·syscall_write(SB)