cmd/go: update -DGOPKGPATH to use current pkgpath encoding
authorIan Lance Taylor <iant@golang.org>
Tue, 18 Feb 2020 02:16:41 +0000 (18:16 -0800)
committerIan Lance Taylor <iant@golang.org>
Tue, 18 Feb 2020 20:03:13 +0000 (12:03 -0800)
commit855b4aaeabdcddce04ff9295c4b0e6c7aa6db96b
tree71d1ac4b10dc34681bd6a1d0598033ff59fa5615
parentce7b39d0fc694e5ec80520b7cc76f91a5476d7db
cmd/go: update -DGOPKGPATH to use current pkgpath encoding

This will need to be done in the gc version too, probably more cleverly.
This version will ensure that the next GCC release works correctly
when using the GCC version of the go tool.

Updates golang/go#37272

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/219817
gcc/go/gofrontend/MERGE
libgo/go/cmd/go/internal/work/gccgo.go