1// Copyright 2015 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build !gccgo
6// +build arm64,darwin
7
8#include "textflag.h"
9
10//
11// System call support for AMD64, Darwin
12//
13
14// Just jump to package syscall's implementation for all these functions.
15// The runtime may know about them.
16
17TEXT	·Syscall(SB),NOSPLIT,$0-56
18	B	syscall·Syscall(SB)
19
20TEXT	·Syscall6(SB),NOSPLIT,$0-80
21	B	syscall·Syscall6(SB)
22
23TEXT	·Syscall9(SB),NOSPLIT,$0-104
24	B	syscall·Syscall9(SB)
25
26TEXT	·RawSyscall(SB),NOSPLIT,$0-56
27	B	syscall·RawSyscall(SB)
28
29TEXT	·RawSyscall6(SB),NOSPLIT,$0-80
30	B	syscall·RawSyscall6(SB)
31