Commit 95eebd21 by Ian Lance Taylor

cmd/cgo: add mips64p32* to ptrSizeMap and intSizeMap

    
    Reviewed-on: https://go-review.googlesource.com/46152

From-SVN: r249475
parent 4c0478b3
c49c752b4d2934cff325dd540821c4b27cc61a05 5a97e51022e3b7798f985714ced3e02d6e730b54
The first line of this file holds the git revision number of the last The first line of this file holds the git revision number of the last
merge done from the gofrontend repository. merge done from the gofrontend repository.
...@@ -139,51 +139,55 @@ func usage() { ...@@ -139,51 +139,55 @@ func usage() {
} }
var ptrSizeMap = map[string]int64{ var ptrSizeMap = map[string]int64{
"386": 4, "386": 4,
"alpha": 8, "alpha": 8,
"amd64": 8, "amd64": 8,
"arm": 4, "arm": 4,
"arm64": 8, "arm64": 8,
"m68k": 4, "m68k": 4,
"mipso32": 4, "mipso32": 4,
"mipsn32": 4, "mipsn32": 4,
"mipso64": 8, "mipso64": 8,
"mipsn64": 8, "mipsn64": 8,
"mips": 4, "mips": 4,
"mipsle": 4, "mipsle": 4,
"mips64": 8, "mips64": 8,
"mips64le": 8, "mips64le": 8,
"ppc": 4, "mips64p32": 4,
"ppc64": 8, "mips64p32le": 4,
"ppc64le": 8, "ppc": 4,
"s390": 4, "ppc64": 8,
"s390x": 8, "ppc64le": 8,
"sparc": 4, "s390": 4,
"sparc64": 8, "s390x": 8,
"sparc": 4,
"sparc64": 8,
} }
var intSizeMap = map[string]int64{ var intSizeMap = map[string]int64{
"386": 4, "386": 4,
"alpha": 8, "alpha": 8,
"amd64": 8, "amd64": 8,
"arm": 4, "arm": 4,
"arm64": 8, "arm64": 8,
"m68k": 4, "m68k": 4,
"mipso32": 4, "mipso32": 4,
"mipsn32": 4, "mipsn32": 4,
"mipso64": 8, "mipso64": 8,
"mipsn64": 8, "mipsn64": 8,
"mips": 4, "mips": 4,
"mipsle": 4, "mipsle": 4,
"mips64": 8, "mips64": 8,
"mips64le": 8, "mips64le": 8,
"ppc": 4, "mips64p32": 8,
"ppc64": 8, "mips64p32le": 8,
"ppc64le": 8, "ppc": 4,
"s390": 4, "ppc64": 8,
"s390x": 8, "ppc64le": 8,
"sparc": 4, "s390": 4,
"sparc64": 8, "s390x": 8,
"sparc": 4,
"sparc64": 8,
} }
var cPrefix string var cPrefix string
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment