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)
commit4674ecfcf4045b3a3d81a4a979debd59ea1b6b11
tree304093024cd1aed1d02654b688a607510c40efc8
parentfd06b4aa51e5e4b322f4784e3ea248e25aab733a
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