OSDN Git Service

2009-04-17 Rafael Avila de Espindola <espindola@google.com>
authorespindola <espindola@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 Apr 2009 16:03:48 +0000 (16:03 +0000)
committerespindola <espindola@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 Apr 2009 16:03:48 +0000 (16:03 +0000)
commitc80cefd7b6f98689eaf677f6124146225001001a
tree8816dc843909a798c6868ae53bf87d630cf35e28
parent090a8c65a39d28dcd3e067f084b62c632f128a34
2009-04-17  Rafael Avila de Espindola  <espindola@google.com>

* Makefile.in (REVISION_s): Always include quotes. Change ifdef to use
REVISION_c.
(OBJS-common): Add plugin-version.o.
(plugin-version.o): New.
* gcc-plugin.h (plugin_gcc_version): New.
(plugin_default_version_check): New.
(plugin_init_func, plugin_init): Add version argument.
* plugin-version.c: New.
* plugin.c (str_plugin_gcc_version_name): New.
(try_init_one_plugin): Read plugin_gcc_version from the plugin and
pass it to the init function.
(plugin_default_version_check): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146274 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/Makefile.in
gcc/gcc-plugin.h
gcc/plugin-version.c [new file with mode: 0644]
gcc/plugin.c