]> git.ipfire.org Git - thirdparty/gcc.git/commit
compiler: Add pkgpath symbol information to export data.
authorIan Lance Taylor <ian@gcc.gnu.org>
Fri, 30 Jan 2015 15:57:59 +0000 (15:57 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 30 Jan 2015 15:57:59 +0000 (15:57 +0000)
commitb4d216f6e206dab4c37d80bfb91b76e2776cb9ef
tree23cbad06be89198e0535231e1b38ab8482b41903
parent622599c6d2359ad2f43445754be185b0b177430a
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.

From-SVN: r220291
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