diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-07-08 19:12:46 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-07-08 19:12:46 +0000 |
commit | a78b28177c945b35efa9a2f1f5241314a3860622 (patch) | |
tree | 25792b948f1695cb8858983d8a4929ae43553acd /gcc/melt-make.mk | |
parent | aa73e7074913a6865aa83d2179fe3c3e8dc6f90b (diff) | |
download | gcc-a78b28177c945b35efa9a2f1f5241314a3860622.tar.gz |
2009-07-08 Basile Starynkevitch <basile@starynkevitch.net>
[enhancing gengtype for plugin mode; still buggy]
* gcc/gengtype.h (is_plugin_file): added new variable.
(dbgprintf): added temporarily macro for debugging.
* gcc/gengtype.c (struct pair) added inplugin field.
(struct type) likewise.
(first_plugin_file_ix, plugin_output_filename, plugin_output):
added static variables.
(is_plugin_file): defined variable.
(output_delayed_functions): added declaration.
(read_input_list): manage first_plugin_file_ix.
(string_type, scalar_nonchar, scalar_char): initialized inplugin.
(new_structure, find_structure, find_param_structure)
(create_array, note_variable): sets inplugin.
(create_file): allocates buf.
(oprintf): added asserts.
(open_base_files): moved return when plugins.
(get_output_file_with_visibility): handle plugin case.
(delay_func_for_structure): new static declaration.
(write_types): delays the output of func in plugin mode.
(write_local, write_roots): handle plugin mode.
(note_def_vec_alloc) renamed basename as base_name.
(struct delayedstructfunc_st, dlystructab, dlystructsiz)
(dlystructcnt): new.
(delay_func_for_structure, output_delayed_functions): added
function.
(main): updated for plugin mode which is now with -P outputfile.h
* gcc/melt-make.mk (meltarg_secondarg): corrected typo.
* gcc/melt-runtime.c (melt_marking_callback): declares
gt_ggc_mx_melt_un as external.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@149385 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/melt-make.mk')
-rw-r--r-- | gcc/melt-make.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/melt-make.mk b/gcc/melt-make.mk index 4a673650a27..ee284c5ee34 100644 --- a/gcc/melt-make.mk +++ b/gcc/melt-make.mk @@ -43,7 +43,7 @@ meltarg_source_path=$(if $(melt_is_plugin),-fplugin-arg-melt-source-path,-fmelt- meltarg_tempdir=$(if $(melt_is_plugin),-fplugin-arg-melt-tempdir,-fmelt-tempdir) meltarg_compile_script=$(if $(melt_is_plugin),-fplugin-arg-melt-compile-script,-fmelt-compile-script) meltarg_arg=$(if $(melt_is_plugin),-fplugin-arg-melt-arg,-fmelt-arg) -meltarg_secondarg=$(if $(melt_is_plugin),-fplugin-arg-melt-arg,-fmelt-secondarg) +meltarg_secondarg=$(if $(melt_is_plugin),-fplugin-arg-melt-secondarg,-fmelt-secondarg) ## the invocation to translate the very first initial MELT file MELTCCINIT1=$(melt_cc1) $(melt_cc1flags) -Wno-shadow $(meltarg_mode)=translateinit \ |