This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Unbreak lto plugin
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 11 Aug 2012 17:51:09 +0200
- Subject: Unbreak lto plugin
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.
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"