libgo: better cmd/cgo handling for '.' in pkgpath
authorIan Lance Taylor <ian@gcc.gnu.org>
Tue, 19 Nov 2019 23:04:08 +0000 (23:04 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 19 Nov 2019 23:04:08 +0000 (23:04 +0000)
commit0c6ce0ae553a9a73bf4eb27d16ee751167806f8d
tree243f5f5dc8187a7e9ad55250bf754fc5f47e5477
parentfce6467b1ef93c162f955a10d9bdb2bfb2e12c1c
libgo: better cmd/cgo handling for '.' in pkgpath

    Updates cgo's gccgoPkgpathToSymbolNew() to bring it into
    conformance with the way that gccgo now handles package
    paths with embedded dots (see CL 200838). See also
    https://gcc.gnu.org/PR61880, a related bug. This CL is a
    copy of CL 207957 in the main Go repo.

    Updates golang/go#35623.

    Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/207977

From-SVN: r278470
gcc/go/gofrontend/MERGE
libgo/go/cmd/cgo/out.go