diff options
| author | Joel Sing <joel@sing.id.au> | 2021-02-03 18:17:35 +1100 |
|---|---|---|
| committer | Joel Sing <joel@sing.id.au> | 2021-05-09 17:06:45 +0000 |
| commit | 603f43cbae1f29c9c167b2b331dc31c8486c888b (patch) | |
| tree | 88b7fdef67dc6a01981d9f7f8e74795d49c31775 /src/runtime/proc.go | |
| parent | 83df4a590bbd259b82db37e0c6e721ddc267614b (diff) | |
| download | go-603f43cbae1f29c9c167b2b331dc31c8486c888b.tar.xz | |
runtime: switch runtime to libc for openbsd/arm
Use libc rather than performing direct system calls for the runtime on
openbsd/arm.
Updates #36435
Change-Id: If64a96a61c80b9748792f8a85a8f16ed6ebca91f
Reviewed-on: https://go-review.googlesource.com/c/go/+/315792
Trust: Joel Sing <joel@sing.id.au>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Diffstat (limited to 'src/runtime/proc.go')
| -rw-r--r-- | src/runtime/proc.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/proc.go b/src/runtime/proc.go index 650ab6a1ee..ba02b14995 100644 --- a/src/runtime/proc.go +++ b/src/runtime/proc.go @@ -1303,7 +1303,7 @@ func usesLibcall() bool { case "aix", "darwin", "illumos", "ios", "solaris", "windows": return true case "openbsd": - return GOARCH == "386" || GOARCH == "amd64" || GOARCH == "arm64" + return GOARCH == "386" || GOARCH == "amd64" || GOARCH == "arm" || GOARCH == "arm64" } return false } |
