diff options
| author | Joel Sing <joel@sing.id.au> | 2021-02-05 04:22:18 +1100 |
|---|---|---|
| committer | Joel Sing <joel@sing.id.au> | 2021-05-09 17:07:01 +0000 |
| commit | bedf2c488630bd8253598b78088bc27fc36fbd29 (patch) | |
| tree | 233bab7dec52663ae8e0bf780619b46c6ca3a927 /src/syscall/exec_libc2.go | |
| parent | 603f43cbae1f29c9c167b2b331dc31c8486c888b (diff) | |
| download | go-bedf2c488630bd8253598b78088bc27fc36fbd29.tar.xz | |
runtime,syscall: convert syscall on openbsd/arm to libc
Convert the syscall package on openbsd/arm to use libc rather than performing
direct system calls.
Updates #36435
Change-Id: Iff3a91c959292cbf4e0a09c7fd34efc8e88ff83f
Reviewed-on: https://go-review.googlesource.com/c/go/+/315793
Trust: Joel Sing <joel@sing.id.au>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Diffstat (limited to 'src/syscall/exec_libc2.go')
| -rw-r--r-- | src/syscall/exec_libc2.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/syscall/exec_libc2.go b/src/syscall/exec_libc2.go index 8e957b3d4a..7442d59aff 100644 --- a/src/syscall/exec_libc2.go +++ b/src/syscall/exec_libc2.go @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -//go:build darwin || (openbsd && 386) || (openbsd && amd64) || (openbsd && arm64) -// +build darwin openbsd,386 openbsd,amd64 openbsd,arm64 +//go:build darwin || (openbsd && 386) || (openbsd && amd64) || (openbsd && arm) || (openbsd && arm64) +// +build darwin openbsd,386 openbsd,amd64 openbsd,arm openbsd,arm64 package syscall |
