cmd/api: add API checks for freebsd/arm64

The freebsd/arm64 port was added in go1.14, make cmd/api aware of it and
backfill API files.

For #58582

Change-Id: I8b25c6cf5a66611d90d225762b257679a4abface
Reviewed-on: https://go-review.googlesource.com/c/go/+/469115
Reviewed-by: Bryan Mills <bcmills@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Dmitri Goutnik <dgoutnik@gmail.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
This commit is contained in:
Dmitri Goutnik 2023-02-17 11:19:49 -05:00 committed by Gopher Robot
parent 9f834a559c
commit 990501e725
6 changed files with 8768 additions and 0 deletions

View File

@ -575,3 +575,25 @@ pkg syscall (freebsd-arm-cgo), const SYS_MKNODAT = 498
pkg syscall (freebsd-arm-cgo), const SYS_STAT = 188
pkg syscall (freebsd-arm-cgo), const SYS_STAT ideal-int
pkg syscall (freebsd-arm-cgo), const SYS_STATFS = 396
pkg syscall (freebsd-arm64), const SYS_FSTAT = 189
pkg syscall (freebsd-arm64), const SYS_FSTATAT = 493
pkg syscall (freebsd-arm64), const SYS_FSTATFS = 397
pkg syscall (freebsd-arm64), const SYS_GETDIRENTRIES = 196
pkg syscall (freebsd-arm64), const SYS_GETFSSTAT = 395
pkg syscall (freebsd-arm64), const SYS_LSTAT = 190
pkg syscall (freebsd-arm64), const SYS_LSTAT ideal-int
pkg syscall (freebsd-arm64), const SYS_MKNODAT = 498
pkg syscall (freebsd-arm64), const SYS_STAT = 188
pkg syscall (freebsd-arm64), const SYS_STAT ideal-int
pkg syscall (freebsd-arm64), const SYS_STATFS = 396
pkg syscall (freebsd-arm64-cgo), const SYS_FSTAT = 189
pkg syscall (freebsd-arm64-cgo), const SYS_FSTATAT = 493
pkg syscall (freebsd-arm64-cgo), const SYS_FSTATFS = 397
pkg syscall (freebsd-arm64-cgo), const SYS_GETDIRENTRIES = 196
pkg syscall (freebsd-arm64-cgo), const SYS_GETFSSTAT = 395
pkg syscall (freebsd-arm64-cgo), const SYS_LSTAT = 190
pkg syscall (freebsd-arm64-cgo), const SYS_LSTAT ideal-int
pkg syscall (freebsd-arm64-cgo), const SYS_MKNODAT = 498
pkg syscall (freebsd-arm64-cgo), const SYS_STAT = 188
pkg syscall (freebsd-arm64-cgo), const SYS_STAT ideal-int
pkg syscall (freebsd-arm64-cgo), const SYS_STATFS = 396

File diff suppressed because it is too large Load Diff

View File

@ -93,6 +93,12 @@ pkg math (freebsd-arm), const MinInt = -2147483648
pkg math (freebsd-arm-cgo), const MaxInt = 2147483647
pkg math (freebsd-arm-cgo), const MaxUint = 4294967295
pkg math (freebsd-arm-cgo), const MinInt = -2147483648
pkg math (freebsd-arm64), const MaxInt = 9223372036854775807
pkg math (freebsd-arm64), const MaxUint = 18446744073709551615
pkg math (freebsd-arm64), const MinInt = -9223372036854775808
pkg math (freebsd-arm64-cgo), const MaxInt = 9223372036854775807
pkg math (freebsd-arm64-cgo), const MaxUint = 18446744073709551615
pkg math (freebsd-arm64-cgo), const MinInt = -9223372036854775808
pkg math (linux-386), const MaxInt = 2147483647
pkg math (linux-386), const MaxUint = 4294967295
pkg math (linux-386), const MinInt = -2147483648
@ -189,6 +195,10 @@ pkg runtime/cgo (freebsd-arm-cgo), func NewHandle(interface{}) Handle
pkg runtime/cgo (freebsd-arm-cgo), method (Handle) Delete()
pkg runtime/cgo (freebsd-arm-cgo), method (Handle) Value() interface{}
pkg runtime/cgo (freebsd-arm-cgo), type Handle uintptr
pkg runtime/cgo (freebsd-arm64-cgo), func NewHandle(interface{}) Handle
pkg runtime/cgo (freebsd-arm64-cgo), method (Handle) Delete()
pkg runtime/cgo (freebsd-arm64-cgo), method (Handle) Value() interface{}
pkg runtime/cgo (freebsd-arm64-cgo), type Handle uintptr
pkg runtime/cgo (linux-386-cgo), func NewHandle(interface{}) Handle
pkg runtime/cgo (linux-386-cgo), method (Handle) Delete()
pkg runtime/cgo (linux-386-cgo), method (Handle) Value() interface{}

View File

@ -189,6 +189,8 @@ pkg syscall (freebsd-amd64), type SysProcAttr struct, Pdeathsig Signal
pkg syscall (freebsd-amd64-cgo), type SysProcAttr struct, Pdeathsig Signal
pkg syscall (freebsd-arm), type SysProcAttr struct, Pdeathsig Signal
pkg syscall (freebsd-arm-cgo), type SysProcAttr struct, Pdeathsig Signal
pkg syscall (freebsd-arm64), type SysProcAttr struct, Pdeathsig Signal
pkg syscall (freebsd-arm64-cgo), type SysProcAttr struct, Pdeathsig Signal
pkg syscall (windows-386), func Syscall //deprecated
pkg syscall (windows-386), func Syscall12 //deprecated
pkg syscall (windows-386), func Syscall15 //deprecated

View File

@ -284,6 +284,7 @@ pkg runtime/cgo (darwin-arm64-cgo), type Incomplete struct #46731
pkg runtime/cgo (freebsd-386-cgo), type Incomplete struct #46731
pkg runtime/cgo (freebsd-amd64-cgo), type Incomplete struct #46731
pkg runtime/cgo (freebsd-arm-cgo), type Incomplete struct #46731
pkg runtime/cgo (freebsd-arm64-cgo), type Incomplete struct #46731
pkg runtime/cgo (linux-386-cgo), type Incomplete struct #46731
pkg runtime/cgo (linux-amd64-cgo), type Incomplete struct #46731
pkg runtime/cgo (linux-arm-cgo), type Incomplete struct #46731
@ -345,6 +346,20 @@ pkg syscall (freebsd-arm), const SYS_GETDIRENTRIES = 554 #53280
pkg syscall (freebsd-arm), const SYS_GETFSSTAT = 557 #53280
pkg syscall (freebsd-arm), const SYS_MKNODAT = 559 #53280
pkg syscall (freebsd-arm), const SYS_STATFS = 555 #53280
pkg syscall (freebsd-arm64), const SYS_FSTAT = 551 #53280
pkg syscall (freebsd-arm64), const SYS_FSTATAT = 552 #53280
pkg syscall (freebsd-arm64), const SYS_FSTATFS = 556 #53280
pkg syscall (freebsd-arm64), const SYS_GETDIRENTRIES = 554 #53280
pkg syscall (freebsd-arm64), const SYS_GETFSSTAT = 557 #53280
pkg syscall (freebsd-arm64), const SYS_MKNODAT = 559 #53280
pkg syscall (freebsd-arm64), const SYS_STATFS = 555 #53280
pkg syscall (freebsd-arm64-cgo), const SYS_FSTAT = 551 #53280
pkg syscall (freebsd-arm64-cgo), const SYS_FSTATAT = 552 #53280
pkg syscall (freebsd-arm64-cgo), const SYS_FSTATFS = 556 #53280
pkg syscall (freebsd-arm64-cgo), const SYS_GETDIRENTRIES = 554 #53280
pkg syscall (freebsd-arm64-cgo), const SYS_GETFSSTAT = 557 #53280
pkg syscall (freebsd-arm64-cgo), const SYS_MKNODAT = 559 #53280
pkg syscall (freebsd-arm64-cgo), const SYS_STATFS = 555 #53280
pkg syscall (linux-386-cgo), const CLONE_CLEAR_SIGHAND = 4294967296 #51246
pkg syscall (linux-386-cgo), const CLONE_CLEAR_SIGHAND ideal-int #51246
pkg syscall (linux-386-cgo), const CLONE_INTO_CGROUP = 8589934592 #51246

View File

@ -67,6 +67,8 @@ var contexts = []*build.Context{
{GOOS: "freebsd", GOARCH: "amd64"},
{GOOS: "freebsd", GOARCH: "arm", CgoEnabled: true},
{GOOS: "freebsd", GOARCH: "arm"},
{GOOS: "freebsd", GOARCH: "arm64", CgoEnabled: true},
{GOOS: "freebsd", GOARCH: "arm64"},
{GOOS: "netbsd", GOARCH: "386", CgoEnabled: true},
{GOOS: "netbsd", GOARCH: "386"},
{GOOS: "netbsd", GOARCH: "amd64", CgoEnabled: true},