This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Unbreak lto plugin
- From: Richard Guenther <richard dot guenther at gmail dot com>
- To: Jan Hubicka <hubicka at ucw dot cz>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sat, 11 Aug 2012 19:13:42 +0200
- Subject: Re: Unbreak lto plugin
- References: <20120811155109.GB14041@kam.mff.cuni.cz>
On Sat, Aug 11, 2012 at 5:51 PM, Jan Hubicka <hubicka@ucw.cz> wrote:
> Hi,
> my prevoius LTO cleanup run into problem with plugin enabled builds;
> lto-plugin is stupid enought to confused symtab_nodes section with symtab
> because it ignores the suffixes.
Err, I suppose we should fix the plugin as well. It likely does that because
it thinks its suffixes for the partial-link stuff?
Richard.
> Fixed thus. Comitted as obvoius.
> Honza
>
> Index: ChangeLog
> ===================================================================
> --- ChangeLog (revision 190316)
> +++ ChangeLog (working copy)
> @@ -1,3 +1,8 @@
> +2012-08-11 Jan Hubicka <jh@suse.cz>
> +
> + * lto-section-in.c (lto_section_name): Do not use "symtab" as part of
> + symtab_node sectoin name; it confuses plugin.
> +
> 2012-08-11 Uros Bizjak <ubizjak@gmail.com>
>
> * config/alpha/alpha.c (alpha_stdarg_optimize_hook): Shift DECL_UID
> Index: lto-section-in.c
> ===================================================================
> --- lto-section-in.c (revision 190312)
> +++ lto-section-in.c (working copy)
> @@ -55,7 +55,7 @@ const char *lto_section_name[LTO_N_SECTI
> "jmpfuncs",
> "pureconst",
> "reference",
> - "symtab_nodes",
> + "symbol_nodes",
> "opts",
> "cgraphopt",
> "inline"