1// Copyright 2022 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//go:build (darwin || freebsd || netbsd || openbsd) && gc
 6// +build darwin freebsd netbsd openbsd
 7// +build gc
 8
 9#include "textflag.h"
10
11//
12// System call support for ppc64, BSD
13//
14
15// Just jump to package syscall's implementation for all these functions.
16// The runtime may know about them.
17
18TEXT	·Syscall(SB),NOSPLIT,$0-56
19	JMP	syscall·Syscall(SB)
20
21TEXT	·Syscall6(SB),NOSPLIT,$0-80
22	JMP	syscall·Syscall6(SB)
23
24TEXT	·Syscall9(SB),NOSPLIT,$0-104
25	JMP	syscall·Syscall9(SB)
26
27TEXT	·RawSyscall(SB),NOSPLIT,$0-56
28	JMP	syscall·RawSyscall(SB)
29
30TEXT	·RawSyscall6(SB),NOSPLIT,$0-80
31	JMP	syscall·RawSyscall6(SB)