Matthias Andreas Benkard | 832a54e | 2019-01-29 09:27:38 +0100 | [diff] [blame] | 1 | // Copyright 2009 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 | |
| 7 | #include "textflag.h" |
| 8 | |
| 9 | // |
| 10 | // System call support for 386, Darwin |
| 11 | // |
| 12 | |
| 13 | // Just jump to package syscall's implementation for all these functions. |
| 14 | // The runtime may know about them. |
| 15 | |
| 16 | TEXT ·Syscall(SB),NOSPLIT,$0-28 |
| 17 | JMP syscall·Syscall(SB) |
| 18 | |
| 19 | TEXT ·Syscall6(SB),NOSPLIT,$0-40 |
| 20 | JMP syscall·Syscall6(SB) |
| 21 | |
| 22 | TEXT ·Syscall9(SB),NOSPLIT,$0-52 |
| 23 | JMP syscall·Syscall9(SB) |
| 24 | |
| 25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-28 |
| 26 | JMP syscall·RawSyscall(SB) |
| 27 | |
| 28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-40 |
| 29 | JMP syscall·RawSyscall6(SB) |