David K. Bainbridge | 215e024 | 2017-09-05 23:18:24 -0700 | [diff] [blame^] | 1 | // Copyright 2014 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 linux |
| 6 | // +build ppc64 ppc64le |
| 7 | // +build !gccgo |
| 8 | |
| 9 | #include "textflag.h" |
| 10 | |
| 11 | // |
| 12 | // System calls for ppc64, Linux |
| 13 | // |
| 14 | |
| 15 | // Just jump to package syscall's implementation for all these functions. |
| 16 | // The runtime may know about them. |
| 17 | |
| 18 | TEXT ·Syscall(SB),NOSPLIT,$0-56 |
| 19 | BR syscall·Syscall(SB) |
| 20 | |
| 21 | TEXT ·Syscall6(SB),NOSPLIT,$0-80 |
| 22 | BR syscall·Syscall6(SB) |
| 23 | |
| 24 | TEXT ·RawSyscall(SB),NOSPLIT,$0-56 |
| 25 | BR syscall·RawSyscall(SB) |
| 26 | |
| 27 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-80 |
| 28 | BR syscall·RawSyscall6(SB) |