summaryrefslogtreecommitdiff
path: root/gcc/lto-section-in.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2012-08-11 10:38:59 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2012-08-11 08:38:59 +0000
commitab96cc5b4dd093b769a909e2245da822c4f8e877 (patch)
tree0793ee7ca02faf63574b64bf05c816cc6b8837e1 /gcc/lto-section-in.c
parent3af76e5a95e8cef562136a40a78bb19f83df59dd (diff)
downloadgcc-ab96cc5b4dd093b769a909e2245da822c4f8e877.tar.gz
lto-cgraph.c (output_cgraph): Rename to ...
* lto-cgraph.c (output_cgraph): Rename to ... (output_symtab): ... this one. Update for LTO_section_symtab_nodes. (input_cgraph): Rename to ... (input_symtab): ... this one. Update for LTO_section_symtab_nodes. * lto-streamer-out.c (create_output_block): Do not set section_type. (produce_asm): Likewise. (lto_output_toplevel_asms): Likewise. (produce_asm_for_decls): Likewise. (lto_output): Use output_symtab. * lto-section-in.c (lto_section_name): Update. * lto-section-out.c (lto_destroy_simple_output_block): Remove section_type. * lto-streamer.h (enum lto_section_type): Remove LTO_section_varpool; rename LTO_section_cgraph to LTO_section_symtab_nodes. (struct lto_header): Remove section_type. * lto.c (read_cgraph_and_symbols): Use input_symtab. From-SVN: r190312
Diffstat (limited to 'gcc/lto-section-in.c')
-rw-r--r--gcc/lto-section-in.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/lto-section-in.c b/gcc/lto-section-in.c
index ad4077e04f3..8d49765b6a6 100644
--- a/gcc/lto-section-in.c
+++ b/gcc/lto-section-in.c
@@ -49,14 +49,13 @@ const char *lto_section_name[LTO_N_SECTION_TYPES] =
"decls",
"function_body",
"statics",
- "cgraph",
- "vars",
+ "symtab",
"refs",
"asm",
"jmpfuncs",
"pureconst",
"reference",
- "symtab",
+ "symtab_nodes",
"opts",
"cgraphopt",
"inline"