This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] [3/4] Rename lto_section_names to match lto_get_section_name
- From: Andi Kleen <andi at firstfloor dot org>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 10 Jul 2010 13:41:53 +0200 (CEST)
- Subject: [PATCH] [3/4] Rename lto_section_names to match lto_get_section_name
- References: <20100710141.607682497@firstfloor.org>
The lto_section_names array was out of sync with the names
used by lto_get_section_name. Fix the two to match.
2010-07-10 Andi Kleen <ak@linux.intel.com>
* lto-section-in.c (lto_section_name): Synchronize names
with lto_get_section_name.
diff --git a/gcc/lto-section-in.c b/gcc/lto-section-in.c
index 72f1d3d..c8c3d4a 100644
--- a/gcc/lto-section-in.c
+++ b/gcc/lto-section-in.c
@@ -50,13 +50,13 @@ const char *lto_section_name[LTO_N_SECTION_TYPES] =
{
"decls",
"function_body",
- "static_initializer",
+ "statics",
"cgraph",
- "varpool",
+ "vars",
"refs",
- "jump_funcs",
- "ipa_pure_const",
- "ipa_reference",
+ "jmpfuncs",
+ "pureconst",
+ "reference",
"symtab",
"opts",
"cgraphopt"