mirror of
https://github.com/rwinkhart/sys.git
synced 2026-08-28 04:46:44 -04:00
unix: update to use direct linking on Solaris
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>
This commit is contained in:
committed by
Aram Hăvărneanu
parent
58da1121af
commit
339fc2ca4b
@@ -4,21 +4,14 @@
|
||||
|
||||
// +build !gccgo
|
||||
|
||||
#include "textflag.h"
|
||||
|
||||
//
|
||||
// System calls for amd64, Solaris are implemented in runtime/syscall_solaris.goc
|
||||
// System calls for amd64, Solaris are implemented in runtime/syscall_solaris.go
|
||||
//
|
||||
|
||||
TEXT ·sysvicall6(SB), 7, $0-64
|
||||
TEXT ·sysvicall6(SB),NOSPLIT,$0-64
|
||||
JMP syscall·sysvicall6(SB)
|
||||
|
||||
TEXT ·rawSysvicall6(SB), 7, $0-64
|
||||
TEXT ·rawSysvicall6(SB),NOSPLIT,$0-64
|
||||
JMP syscall·rawSysvicall6(SB)
|
||||
|
||||
TEXT ·dlopen(SB), 7, $0-16
|
||||
JMP syscall·dlopen(SB)
|
||||
|
||||
TEXT ·dlclose(SB), 7, $0-8
|
||||
JMP syscall·dlclose(SB)
|
||||
|
||||
TEXT ·dlsym(SB), 7, $0-16
|
||||
JMP syscall·dlsym(SB)
|
||||
|
||||
Reference in New Issue
Block a user