2014-08-12 01:48:46 +04:00
|
|
|
// Copyright 2009 The Go Authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
2015-05-08 00:17:12 +03:00
|
|
|
// +build !gccgo
|
|
|
|
|
2014-08-13 01:05:03 +04:00
|
|
|
#include "textflag.h"
|
2014-08-12 01:48:46 +04:00
|
|
|
|
|
|
|
//
|
|
|
|
// System call support for AMD64, NetBSD
|
|
|
|
//
|
|
|
|
|
2014-08-14 23:30:17 +04:00
|
|
|
// Just jump to package syscall's implementation for all these functions.
|
|
|
|
// The runtime may know about them.
|
2014-08-12 01:48:46 +04:00
|
|
|
|
|
|
|
TEXT ·Syscall(SB),NOSPLIT,$0-56
|
2014-08-14 23:30:17 +04:00
|
|
|
JMP syscall·Syscall(SB)
|
2014-08-12 01:48:46 +04:00
|
|
|
|
|
|
|
TEXT ·Syscall6(SB),NOSPLIT,$0-80
|
2014-08-14 23:30:17 +04:00
|
|
|
JMP syscall·Syscall6(SB)
|
2014-08-12 01:48:46 +04:00
|
|
|
|
|
|
|
TEXT ·Syscall9(SB),NOSPLIT,$0-104
|
2014-08-14 23:30:17 +04:00
|
|
|
JMP syscall·Syscall9(SB)
|
2014-08-12 01:48:46 +04:00
|
|
|
|
|
|
|
TEXT ·RawSyscall(SB),NOSPLIT,$0-56
|
2014-08-14 23:30:17 +04:00
|
|
|
JMP syscall·RawSyscall(SB)
|
2014-08-12 01:48:46 +04:00
|
|
|
|
|
|
|
TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
|
2014-08-14 23:30:17 +04:00
|
|
|
JMP syscall·RawSyscall6(SB)
|