compiler: Add pkgpath symbol information to export data.
commit1a38587a321331911615409b3ec92b2e6b9109a1
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 30 Jan 2015 15:57:59 +0000 (30 15:57 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 30 Jan 2015 15:57:59 +0000 (30 15:57 +0000)
tree23cbad06be89198e0535231e1b38ab8482b41903
parent60a4a5afefb2aca883aac3209c1f0b011aff0175
compiler: Add pkgpath symbol information to export data.

This adds the pkgpath symbol to the export data whenever it is
needed--whenever the pkgpath symbol is not the obvious
transformation of the pkgpath.  This lets us determine the
correct symbol name for indirectly imported packages compiled
with -fgo-prefix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@220291 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/go/gofrontend/export.cc
gcc/go/gofrontend/export.h
gcc/go/gofrontend/gogo.cc
gcc/go/gofrontend/import.cc
gcc/go/gofrontend/import.h