mirror of
https://github.com/golang/sys.git
synced 2026-02-08 11:46:04 +03:00
Go1.4 does not recognize arm64 and ppc64le as valid GOARCH values, so we need explicit build tags. Change-Id: I1a886c132ae398d9f92b2c2b33d2a4827bbdb9d4 Reviewed-on: https://go-review.googlesource.com/10083 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
24 lines
575 B
ArmAsm
24 lines
575 B
ArmAsm
// Copyright 2015 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.
|
|
|
|
// +build arm64
|
|
// +build !gccgo
|
|
|
|
#include "textflag.h"
|
|
|
|
// Just jump to package syscall's implementation for all these functions.
|
|
// The runtime may know about them.
|
|
|
|
TEXT ·Syscall(SB),NOSPLIT,$0-56
|
|
B syscall·Syscall(SB)
|
|
|
|
TEXT ·Syscall6(SB),NOSPLIT,$0-80
|
|
B syscall·Syscall6(SB)
|
|
|
|
TEXT ·RawSyscall(SB),NOSPLIT,$0-56
|
|
B syscall·RawSyscall(SB)
|
|
|
|
TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
|
|
B syscall·RawSyscall6(SB)
|