]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.15] cmd/cgo: add more architectures to size maps
authorIan Lance Taylor <iant@golang.org>
Wed, 7 Oct 2020 23:37:05 +0000 (16:37 -0700)
committerIan Lance Taylor <iant@golang.org>
Thu, 8 Oct 2020 22:16:51 +0000 (22:16 +0000)
commit2c2e11f34595669c118fcfd3fe9de562e00b71df
tree1b6c109710d5a1bfd796168919842e119e966cb7
parentaf06e65910fc976c63a65decd2881ba34114428f
[release-branch.go1.15] cmd/cgo: add more architectures to size maps

This brings over the architectures that the gofrontend knows about.
This permits using the main cgo tool for those architectures,
as cgo can be used with -godefs without gc support.
This will help add golang.org/x/sys/unix support for other architectures.

For #37443
Fixes #41871

Change-Id: I63632b9c5139e71b9ccab8edcc7acdb464229b74
Reviewed-on: https://go-review.googlesource.com/c/go/+/260657
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
(cherry picked from commit 5d1378143bc07791296abb420df35537ad80492f)
Reviewed-on: https://go-review.googlesource.com/c/go/+/260702
src/cmd/cgo/main.go