blob: 44e25c62f92e8852982f94dc0bf1c7a1ae47b2ab [file] [log] [blame]
David K. Bainbridge215e0242017-09-05 23:18:24 -07001// 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 calls for AMD64, Linux
11//
12
13// Just jump to package syscall's implementation for all these functions.
14// The runtime may know about them.
15
16TEXT ·Syscall(SB),NOSPLIT,$0-56
17 JMP syscall·Syscall(SB)
18
19TEXT ·Syscall6(SB),NOSPLIT,$0-80
20 JMP syscall·Syscall6(SB)
21
22TEXT ·RawSyscall(SB),NOSPLIT,$0-56
23 JMP syscall·RawSyscall(SB)
24
25TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
26 JMP syscall·RawSyscall6(SB)
27
28TEXT ·gettimeofday(SB),NOSPLIT,$0-16
29 JMP syscall·gettimeofday(SB)