Commit 0c079811 authored by Rob Pike's avatar Rob Pike

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
parent 73a4d379
......@@ -5,3 +5,18 @@
//
// 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)
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build darwin,race linux,race
// +build darwin,race linux,race freebsd,race
package unix
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// 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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment