aboutsummaryrefslogtreecommitdiff
path: root/gcc/lto-section-out.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-out.c
parent3af76e5a95e8cef562136a40a78bb19f83df59dd (diff)
downloadgcc-ab96cc5b4dd093b769a909e2245da822c4f8e877.zip
gcc-ab96cc5b4dd093b769a909e2245da822c4f8e877.tar.gz
gcc-ab96cc5b4dd093b769a909e2245da822c4f8e877.tar.bz2
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-out.c')
-rw-r--r--gcc/lto-section-out.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/lto-section-out.c b/gcc/lto-section-out.c
index ea15efb..3de48e0 100644
--- a/gcc/lto-section-out.c
+++ b/gcc/lto-section-out.c
@@ -412,7 +412,6 @@ lto_destroy_simple_output_block (struct lto_simple_output_block *ob)
memset (&header, 0, sizeof (struct lto_simple_header));
header.lto_header.major_version = LTO_major_version;
header.lto_header.minor_version = LTO_minor_version;
- header.lto_header.section_type = LTO_section_cgraph;
header.compressed_size = 0;