Makefile.in (PLUGIN_VERSION_H): New.
authorRafael Avila de Espindola <espindola@google.com>
Wed, 29 Apr 2009 13:20:53 +0000 (13:20 +0000)
committerRafael Espindola <espindola@gcc.gnu.org>
Wed, 29 Apr 2009 13:20:53 +0000 (13:20 +0000)
commit0c463e161734f80cedd2b771bee49e7ee6be0f05
treebc30f317d77a84e251fb2c5a1c24dff6ffcfd42a
parenteb9cb0fc5e0c945f8f2bc0d3acaf4fbba7acfe6b
Makefile.in (PLUGIN_VERSION_H): New.

2009-04-29  Rafael Avila de Espindola  <espindola@google.com>

* Makefile.in (PLUGIN_VERSION_H): New.
(OBJS-common): Remove plugin-version.o.
(plugin.o): Depend on (PLUGIN_VERSION_H).
(plugin-version.o): Remove.
* configure: Regenerate
* configure.ac: Create plugin-version.h.
* gcc-plugin.h (plugin_gcc_version): Remove.
(plugin_default_version_check): Change signature.
* plugin-version.c: Remove.
* plugin.c: Include plugin-version.h.
(str_plugin_gcc_version_name): Remove.
(try_init_one_plugin): Pass gcc version to plugin_init.
(plugin_default_version_check): Both gcc and plugin versions are now
arguments.

From-SVN: r146962
gcc/ChangeLog
gcc/Makefile.in
gcc/configure
gcc/configure.ac
gcc/gcc-plugin.h
gcc/plugin.c