mirror of
https://github.com/golang/go
synced 2024-11-23 18:40:03 -07:00
cmd/cgo: added support for GOARCH=mips64{,le}
The actual cgo is not supported for now. This is just the cgo command. Change-Id: I25625100ee552971f47e681b7d613cba16a2132f Reviewed-on: https://go-review.googlesource.com/14446 Reviewed-by: Ian Lance Taylor <iant@golang.org> Reviewed-by: Minux Ma <minux@golang.org>
This commit is contained in:
parent
d5cd4ab46a
commit
b4501ac4a5
@ -134,25 +134,29 @@ func usage() {
|
||||
}
|
||||
|
||||
var ptrSizeMap = map[string]int64{
|
||||
"386": 4,
|
||||
"amd64": 8,
|
||||
"arm": 4,
|
||||
"arm64": 8,
|
||||
"ppc64": 8,
|
||||
"ppc64le": 8,
|
||||
"s390": 4,
|
||||
"s390x": 8,
|
||||
"386": 4,
|
||||
"amd64": 8,
|
||||
"arm": 4,
|
||||
"arm64": 8,
|
||||
"mips64": 8,
|
||||
"mips64le": 8,
|
||||
"ppc64": 8,
|
||||
"ppc64le": 8,
|
||||
"s390": 4,
|
||||
"s390x": 8,
|
||||
}
|
||||
|
||||
var intSizeMap = map[string]int64{
|
||||
"386": 4,
|
||||
"amd64": 8,
|
||||
"arm": 4,
|
||||
"arm64": 8,
|
||||
"ppc64": 8,
|
||||
"ppc64le": 8,
|
||||
"s390": 4,
|
||||
"s390x": 4,
|
||||
"386": 4,
|
||||
"amd64": 8,
|
||||
"arm": 4,
|
||||
"arm64": 8,
|
||||
"mips64": 8,
|
||||
"mips64le": 8,
|
||||
"ppc64": 8,
|
||||
"ppc64le": 8,
|
||||
"s390": 4,
|
||||
"s390x": 4,
|
||||
}
|
||||
|
||||
var cPrefix string
|
||||
|
Loading…
Reference in New Issue
Block a user