mirror of
https://github.com/golang/sys.git
synced 2026-02-08 11:46:04 +03:00
With these changes the package builds, and the tests pass, using gccgo on amd64 GNU/Linux. I have not tested other systems but I don't know why they wouldn't work. Change-Id: I727365daef55f158657eb89afbfcdbf3334610d1 Reviewed-on: https://go-review.googlesource.com/9842 Reviewed-by: Minux Ma <minux@golang.org> Reviewed-by: Rob Pike <r@golang.org>
30 lines
676 B
ArmAsm
30 lines
676 B
ArmAsm
// 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.
|
|
|
|
// +build !gccgo
|
|
|
|
#include "textflag.h"
|
|
|
|
//
|
|
// System call support for 386, OpenBSD
|
|
//
|
|
|
|
// Just jump to package syscall's implementation for all these functions.
|
|
// The runtime may know about them.
|
|
|
|
TEXT ·Syscall(SB),NOSPLIT,$0-28
|
|
JMP syscall·Syscall(SB)
|
|
|
|
TEXT ·Syscall6(SB),NOSPLIT,$0-40
|
|
JMP syscall·Syscall6(SB)
|
|
|
|
TEXT ·Syscall9(SB),NOSPLIT,$0-52
|
|
JMP syscall·Syscall9(SB)
|
|
|
|
TEXT ·RawSyscall(SB),NOSPLIT,$0-28
|
|
JMP syscall·RawSyscall(SB)
|
|
|
|
TEXT ·RawSyscall6(SB),NOSPLIT,$0-40
|
|
JMP syscall·RawSyscall6(SB)
|