OSDN Git Service

2008-12-05 Rafael Avila de Espindola <espindola@google.com>
authorCary Coutant <ccoutant@google.com>
Fri, 5 Dec 2008 21:34:54 +0000 (21:34 +0000)
committerCary Coutant <ccoutant@google.com>
Fri, 5 Dec 2008 21:34:54 +0000 (21:34 +0000)
commitf480a93b4ee32680f135f3507ecc33b33e719c39
treeaae9866ee2ee84194edda87b2126fa892cbfbe51
parent7e93cd3fcd76f2573dbf8854bdf8ae05e3102040
2008-12-05  Rafael Avila de Espindola  <espindola@google.com>

* options.cc (General_options::parse_plugin_opt): New.
(General_options::add_plugin): The argument now is just the filename.
(General_options::add_plugin_option): New.
* options.h (plugin_opt): New.
(add_plugin): Change argument name.
(add_plugin_option): New.
* plugin.cc (Plugin::load): Don't parse the plugin option.
* plugin.h (Plugin::Plugin): Rename argument. Init filename_.
(Plugin::add_option): New.
(Plugin::args_): Change type.
(Plugin::filename_): New.
(Plugin_manager::add_plugin_option): New.
* testsuite/Makefile.am (plugin_test_1): Use new syntax.
* testsuite/Makefile.in: Regenerate.
gold/ChangeLog
gold/options.cc
gold/options.h
gold/plugin.cc
gold/plugin.h
gold/testsuite/Makefile.am
gold/testsuite/Makefile.in