mirror of
https://github.com/golang/sys.git
synced 2026-02-08 11:46:04 +03:00
Updates golang/go#56001 Change-Id: Ic2c7db7a0c2056d3bbc153066c187f27508cb96c Reviewed-on: https://go-review.googlesource.com/c/sys/+/439978 Reviewed-by: Ian Lance Taylor <iant@google.com> Run-TryBot: Joel Sing <joel@sing.id.au> Reviewed-by: Bryan Mills <bcmills@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
32 lines
769 B
ArmAsm
32 lines
769 B
ArmAsm
// Copyright 2022 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.
|
|
|
|
//go:build (darwin || freebsd || netbsd || openbsd) && gc
|
|
// +build darwin freebsd netbsd openbsd
|
|
// +build gc
|
|
|
|
#include "textflag.h"
|
|
|
|
//
|
|
// System call support for ppc64, BSD
|
|
//
|
|
|
|
// Just jump to package syscall's implementation for all these functions.
|
|
// The runtime may know about them.
|
|
|
|
TEXT ·Syscall(SB),NOSPLIT,$0-56
|
|
JMP syscall·Syscall(SB)
|
|
|
|
TEXT ·Syscall6(SB),NOSPLIT,$0-80
|
|
JMP syscall·Syscall6(SB)
|
|
|
|
TEXT ·Syscall9(SB),NOSPLIT,$0-104
|
|
JMP syscall·Syscall9(SB)
|
|
|
|
TEXT ·RawSyscall(SB),NOSPLIT,$0-56
|
|
JMP syscall·RawSyscall(SB)
|
|
|
|
TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
|
|
JMP syscall·RawSyscall6(SB)
|