1
0
mirror of https://github.com/golang/go synced 2024-11-07 14:36:17 -07:00
go/src/syscall/asm_solaris_amd64.s
Clément Chigot 49be65eeba syscall: change solaris files to libc files
AIX and Solaris both requires libc to make any syscalls and their
implementation is really similar.
Therefore, Solaris files reused by AIX have their name changed to *_libc.

exec_libc.go is also adapted to AIX.

Updates: #25893

Change-Id: I50d1d7b964831637013d5e64799187cd9565c42b
Reviewed-on: https://go-review.googlesource.com/c/138719
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2018-10-10 00:58:17 +00:00

83 lines
1.8 KiB
ArmAsm

// Copyright 2014 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.
#include "textflag.h"
//
// System calls for solaris/amd64 are implemented in ../runtime/syscall_solaris.go
//
TEXT ·sysvicall6(SB),NOSPLIT,$0
JMP runtime·syscall_sysvicall6(SB)
TEXT ·rawSysvicall6(SB),NOSPLIT,$0
JMP runtime·syscall_rawsysvicall6(SB)
TEXT ·chdir(SB),NOSPLIT,$0
JMP runtime·syscall_chdir(SB)
TEXT ·chroot1(SB),NOSPLIT,$0
JMP runtime·syscall_chroot(SB)
TEXT ·close(SB),NOSPLIT,$0
JMP runtime·syscall_close(SB)
TEXT ·dup2child(SB),NOSPLIT,$0
JMP runtime·syscall_dup2(SB)
RET
TEXT ·execve(SB),NOSPLIT,$0
JMP runtime·syscall_execve(SB)
TEXT ·exit(SB),NOSPLIT,$0
JMP runtime·syscall_exit(SB)
TEXT ·fcntl1(SB),NOSPLIT,$0
JMP runtime·syscall_fcntl(SB)
TEXT ·forkx(SB),NOSPLIT,$0
JMP runtime·syscall_forkx(SB)
TEXT ·gethostname(SB),NOSPLIT,$0
JMP runtime·syscall_gethostname(SB)
TEXT ·getpid(SB),NOSPLIT,$0
JMP runtime·syscall_getpid(SB)
TEXT ·ioctl(SB),NOSPLIT,$0
JMP runtime·syscall_ioctl(SB)
TEXT ·pipe(SB),NOSPLIT,$0
JMP runtime·syscall_pipe(SB)
TEXT ·RawSyscall(SB),NOSPLIT,$0
JMP runtime·syscall_rawsyscall(SB)
TEXT ·RawSyscall6(SB),NOSPLIT,$0
JMP runtime·syscall_rawsyscall6(SB)
TEXT ·setgid(SB),NOSPLIT,$0
JMP runtime·syscall_setgid(SB)
TEXT ·setgroups1(SB),NOSPLIT,$0
JMP runtime·syscall_setgroups(SB)
TEXT ·setsid(SB),NOSPLIT,$0
JMP runtime·syscall_setsid(SB)
TEXT ·setuid(SB),NOSPLIT,$0
JMP runtime·syscall_setuid(SB)
TEXT ·setpgid(SB),NOSPLIT,$0
JMP runtime·syscall_setpgid(SB)
TEXT ·Syscall(SB),NOSPLIT,$0
JMP runtime·syscall_syscall(SB)
TEXT ·wait4(SB),NOSPLIT,$0
JMP runtime·syscall_wait4(SB)
TEXT ·write1(SB),NOSPLIT,$0
JMP runtime·syscall_write(SB)