diff options
Diffstat (limited to 'src/runtime')
| -rw-r--r-- | src/runtime/proc.go | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/runtime/proc.go b/src/runtime/proc.go index 047b359d3d..fafab7f58c 100644 --- a/src/runtime/proc.go +++ b/src/runtime/proc.go @@ -1497,7 +1497,7 @@ func usesLibcall() bool { case "aix", "darwin", "illumos", "ios", "solaris", "windows": return true case "openbsd": - return GOARCH == "386" || GOARCH == "amd64" || GOARCH == "arm" || GOARCH == "arm64" + return GOARCH != "mips64" } return false } @@ -1509,10 +1509,7 @@ func mStackIsSystemAllocated() bool { case "aix", "darwin", "plan9", "illumos", "ios", "solaris", "windows": return true case "openbsd": - switch GOARCH { - case "386", "amd64", "arm", "arm64": - return true - } + return GOARCH != "mips64" } return false } |
