summaryrefslogtreecommitdiff
path: root/gcc/lto-section-in.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2012-08-11 08:38:59 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2012-08-11 08:38:59 +0000
commit02b699d50d860e2554adddf09753492b6f4bda66 (patch)
tree0793ee7ca02faf63574b64bf05c816cc6b8837e1 /gcc/lto-section-in.c
parent97d653b923462b4bbe0d4458357b96acd0e936f5 (diff)
downloadgcc-02b699d50d860e2554adddf09753492b6f4bda66.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190312 138bc75d-0d04-0410-961f-82ee72b054a4
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"