// via libcall.
func usesLibcall() bool {
switch GOOS {
- case "aix", "darwin", "illumos", "ios", "solaris", "windows":
+ case "aix", "darwin", "illumos", "ios", "openbsd", "solaris", "windows":
return true
- case "openbsd":
- return GOARCH != "mips64"
}
return false
}
// system-allocated stack.
func mStackIsSystemAllocated() bool {
switch GOOS {
- case "aix", "darwin", "plan9", "illumos", "ios", "solaris", "windows":
+ case "aix", "darwin", "plan9", "illumos", "ios", "openbsd", "solaris", "windows":
return true
- case "openbsd":
- return GOARCH != "mips64"
}
return false
}