mirror of
https://github.com/rwinkhart/sys.git
synced 2026-08-28 04:46:44 -04:00
CL 9184 changed the runtime and syscall packages to link Solaris binaries directly instead of using dlopen/dlsym but failed to update sys/unix to reflect these changes. This changes the Solaris port to use direct linking as supported by Go 1.5. Fixes golang/go#10086 Change-Id: I6747ed939775b18fd967f81853c7d84537aa3842 Reviewed-on: https://go-review.googlesource.com/13400 Reviewed-by: Austin Clements <austin@google.com> Reviewed-by: Aram Hăvărneanu <aram@mgk.ro>
18 lines
426 B
ArmAsm
18 lines
426 B
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.
|
|
|
|
// +build !gccgo
|
|
|
|
#include "textflag.h"
|
|
|
|
//
|
|
// System calls for amd64, Solaris are implemented in runtime/syscall_solaris.go
|
|
//
|
|
|
|
TEXT ·sysvicall6(SB),NOSPLIT,$0-64
|
|
JMP syscall·sysvicall6(SB)
|
|
|
|
TEXT ·rawSysvicall6(SB),NOSPLIT,$0-64
|
|
JMP syscall·rawSysvicall6(SB)
|