diff --git a/unix/asm_linux_arm64.s b/unix/asm_linux_arm64.s index 308e68df..5570d65b 100644 --- a/unix/asm_linux_arm64.s +++ b/unix/asm_linux_arm64.s @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build arm64 // +build !gccgo #include "textflag.h" diff --git a/unix/syscall_linux_arm64.go b/unix/syscall_linux_arm64.go index c0679637..ac8b7af5 100644 --- a/unix/syscall_linux_arm64.go +++ b/unix/syscall_linux_arm64.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build arm64 + package unix const _SYS_dup = SYS_DUP3 diff --git a/unix/zerrors_linux_arm64.go b/unix/zerrors_linux_arm64.go index 6be5d4b5..de958605 100644 --- a/unix/zerrors_linux_arm64.go +++ b/unix/zerrors_linux_arm64.go @@ -4,6 +4,8 @@ // Created by cgo -godefs - DO NOT EDIT // cgo -godefs -- _const.go +// +build arm64 + package unix import "syscall" diff --git a/unix/zerrors_linux_ppc64le.go b/unix/zerrors_linux_ppc64le.go index 0234b316..d9d0b1f8 100644 --- a/unix/zerrors_linux_ppc64le.go +++ b/unix/zerrors_linux_ppc64le.go @@ -4,6 +4,8 @@ // Created by cgo -godefs - DO NOT EDIT // cgo -godefs -- -m64 _const.go +// +build ppc64le + package unix import "syscall" diff --git a/unix/zsyscall_linux_arm64.go b/unix/zsyscall_linux_arm64.go index 33623e98..2ec05f71 100644 --- a/unix/zsyscall_linux_arm64.go +++ b/unix/zsyscall_linux_arm64.go @@ -1,6 +1,8 @@ // mksyscall.pl syscall_linux.go syscall_linux_arm64.go // MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT +// +build arm64 + package unix import ( diff --git a/unix/zsyscall_linux_ppc64le.go b/unix/zsyscall_linux_ppc64le.go index 1216ad39..a4d333b7 100644 --- a/unix/zsyscall_linux_ppc64le.go +++ b/unix/zsyscall_linux_ppc64le.go @@ -1,6 +1,8 @@ // mksyscall.pl syscall_linux.go syscall_linux_ppc64x.go // MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT +// +build ppc64le + package unix import ( diff --git a/unix/zsysnum_linux_arm64.go b/unix/zsysnum_linux_arm64.go index 6aadee48..42d7ab19 100644 --- a/unix/zsysnum_linux_arm64.go +++ b/unix/zsysnum_linux_arm64.go @@ -1,6 +1,8 @@ // mksysnum_linux.pl /usr/include/asm-generic/unistd.h // MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT +// +build arm64 + package unix const ( diff --git a/unix/zsysnum_linux_ppc64le.go b/unix/zsysnum_linux_ppc64le.go index b266ffa8..d87daab9 100644 --- a/unix/zsysnum_linux_ppc64le.go +++ b/unix/zsysnum_linux_ppc64le.go @@ -1,6 +1,8 @@ // mksysnum_linux.pl /usr/include/powerpc64le-linux-gnu/asm/unistd.h // MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT +// +build ppc64le + package unix const ( diff --git a/unix/ztypes_linux_arm64.go b/unix/ztypes_linux_arm64.go index cbf3c17e..931e0a37 100644 --- a/unix/ztypes_linux_arm64.go +++ b/unix/ztypes_linux_arm64.go @@ -1,6 +1,8 @@ // Created by cgo -godefs - DO NOT EDIT // cgo -godefs -- -fsigned-char types_linux.go +// +build arm64 + package unix const ( diff --git a/unix/ztypes_linux_ppc64le.go b/unix/ztypes_linux_ppc64le.go index 58b8a446..31196b77 100644 --- a/unix/ztypes_linux_ppc64le.go +++ b/unix/ztypes_linux_ppc64le.go @@ -1,6 +1,8 @@ // Created by cgo -godefs - DO NOT EDIT // cgo -godefs types_linux.go +// +build ppc64le + package unix const (