OSDN Git Service

compiler: Add -fgo-relative-import-path.
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 Oct 2012 00:38:29 +0000 (00:38 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 Oct 2012 00:38:29 +0000 (00:38 +0000)
commitc651c0a400c75a90e24a6a91caf64a73cad9179e
treea768b7cb01e10271dc393ba68ccf15488d682276
parent79e1799b54c6d19c6554fa8985aa120371ce20c5
compiler: Add -fgo-relative-import-path.

* lang.opt (-fgo-relative-import-path): New option.
* go-lang.c (go_relative_import_path): New static variable.
(go_langhook_init): Pass go_relative_import_path to
go_create_gogo.
(go_langhook_handle_option): Handle -fgo-relative-import-path.
* go-c.h (go_create_gogo): Update declaration.
* gccgo.texi (Invoking gccgo): Document
-fgo-relative-import-path.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193007 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/go/ChangeLog
gcc/go/gccgo.texi
gcc/go/go-c.h
gcc/go/go-lang.c
gcc/go/gofrontend/go.cc
gcc/go/gofrontend/gogo.cc
gcc/go/gofrontend/gogo.h
gcc/go/gofrontend/import.cc
gcc/go/gofrontend/import.h
gcc/go/lang.opt