This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r149420 - in /branches/melt-branch/gcc: ChangeL...
- From: bstarynk at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 09 Jul 2009 15:35:28 -0000
- Subject: r149420 - in /branches/melt-branch/gcc: ChangeL...
Author: bstarynk
Date: Thu Jul 9 15:35:27 2009
New Revision: 149420
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149420
Log:
2009-07-09 Basile Starynkevitch <basile@starynkevitch.net>
[compilable as a plugin to trunk -with RTLD_GLOBAL]
* run-melt.h: include files in plugin mode.
(gt_ggc_mx_melt_un) added declaration.
* melt-runtime.c: use less libiberty functions in plugin mode &
check plugin arguments.
(xstrndup): added function copied from libiberty in plugin mode.
(melt_garbcoll): accept null minor-zone & full-threshold arguments
in plugin mode.
(melt_tempdir_path): just use tmpnam in plugin mode, avoid
choose_tmpdir.
(compile_to_dyl): avoid pex_execute in plugin mode, use system.
(load_checked_dynamic_module_index): use RTLD_GLOBAL.
(melt_really_initialize): initilize flag_melt_debug in plugin
mode.
* melt-cc-script.proto: typo for -I. handles -g.
* plugin.c (try_init_one_plugin): use RTLD_GLOBAL.
Modified:
branches/melt-branch/gcc/ChangeLog.MELT
branches/melt-branch/gcc/melt-cc-script.proto
branches/melt-branch/gcc/melt-runtime.c
branches/melt-branch/gcc/plugin.c
branches/melt-branch/gcc/run-melt.h