mirror of
https://github.com/rwinkhart/sys.git
synced 2026-09-02 15:17:31 -04:00
go.sys/unix: add asm hooks for solaris to runtime-resident syscall help
also: race is supported on freebsd, so fix a couple of build tags LGTM=minux R=rsc, minux CC=golang-codereviews https://golang.org/cl/124330043
This commit is contained in:
@@ -5,3 +5,18 @@
|
|||||||
//
|
//
|
||||||
// System calls for amd64, Solaris are implemented in runtime/syscall_solaris.goc
|
// System calls for amd64, Solaris are implemented in runtime/syscall_solaris.goc
|
||||||
//
|
//
|
||||||
|
|
||||||
|
TEXT ·sysvicall6(SB), 7, $0-64
|
||||||
|
JMP syscall·sysvicall6(SB)
|
||||||
|
|
||||||
|
TEXT ·rawSysvicall6(SB), 7, $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)
|
||||||
|
|||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
// +build darwin,race linux,race
|
// +build darwin,race linux,race freebsd,race
|
||||||
|
|
||||||
package unix
|
package unix
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
// +build darwin,!race dragonfly,!race freebsd linux netbsd openbsd solaris
|
// +build darwin,!race linux,!race freebsd,!race netbsd openbsd solaris dragonfly
|
||||||
|
|
||||||
package unix
|
package unix
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user