]> Cypherpunks repositories - gostls13.git/commit
cmd/go: add missing gccgo checks for buildmodeInit
authorLynn Boger <laboger@linux.vnet.ibm.com>
Mon, 3 Dec 2018 22:02:20 +0000 (17:02 -0500)
committerLynn Boger <laboger@linux.vnet.ibm.com>
Tue, 4 Dec 2018 13:45:21 +0000 (13:45 +0000)
commitffac3d5a88352d4f6e8e47b9a2990352960eb5ca
tree0e6fa37e7446fbf8ca8e7a1ba237c319802d4f50
parentea509c95e9c91bdab8f76f81545d472094eadbe8
cmd/go: add missing gccgo checks for buildmodeInit

Some recent failures in gccgo on linux/ppc64 identified
an error in buildmodeInit when buildmode=c-archive.
A fix went into gofrontend, and this is the
corresponding change for master. This change also includes
two other updates related to gccgo in this function that
were in the file from gofrontend but missing from master.

Updates #29046

Change-Id: I9a894e7d728e31fb9e9344cd61d50408df7faf4a
Reviewed-on: https://go-review.googlesource.com/c/152160
Run-TryBot: Lynn Boger <laboger@linux.vnet.ibm.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/go/internal/work/init.go