2019-07-31 11:39:38 +05:30
|
|
|
// Copyright 2018 The Go Authors. All rights reserved.
|
2016-12-08 03:58:11 +05:30
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
|
|
|
// +build !gccgo
|
|
|
|
|
|
|
|
#include "textflag.h"
|
|
|
|
|
|
|
|
//
|
2019-07-31 11:39:38 +05:30
|
|
|
// System call support for ARM64, FreeBSD
|
2016-12-08 03:58:11 +05:30
|
|
|
//
|
|
|
|
|
|
|
|
// Just jump to package syscall's implementation for all these functions.
|
|
|
|
// The runtime may know about them.
|
|
|
|
|
2019-07-31 11:39:38 +05:30
|
|
|
TEXT ·Syscall(SB),NOSPLIT,$0-56
|
2016-12-08 03:58:11 +05:30
|
|
|
JMP syscall·Syscall(SB)
|
|
|
|
|
2019-07-31 11:39:38 +05:30
|
|
|
TEXT ·Syscall6(SB),NOSPLIT,$0-80
|
2016-12-08 03:58:11 +05:30
|
|
|
JMP syscall·Syscall6(SB)
|
|
|
|
|
2019-07-31 11:39:38 +05:30
|
|
|
TEXT ·Syscall9(SB),NOSPLIT,$0-104
|
2016-12-08 03:58:11 +05:30
|
|
|
JMP syscall·Syscall9(SB)
|
|
|
|
|
2019-07-31 11:39:38 +05:30
|
|
|
TEXT ·RawSyscall(SB),NOSPLIT,$0-56
|
2016-12-08 03:58:11 +05:30
|
|
|
JMP syscall·RawSyscall(SB)
|
|
|
|
|
2019-07-31 11:39:38 +05:30
|
|
|
TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
|
2016-12-08 03:58:11 +05:30
|
|
|
JMP syscall·RawSyscall6(SB)
|