OSDN Git Service

* lto-symtab.c (lto_symtab_entry_def) Add vnode.
[pf3gnuchains/gcc-fork.git] / gcc / lto / ChangeLog
index 9118e00..5bf7a29 100644 (file)
@@ -1,3 +1,79 @@
+2010-04-28  Jan Hubicka  <jh@suse.cz>
+
+       * lto.c (lto_varpool_node_sets): New.
+       (lto_1_to_1_map): Partition varpool too.
+       (globalize_context_t, globalize_cross_file_statics,
+       lto_scan_statics_in_ref_table, lto_scan_statics_in_cgraph_node,
+       lto_scan_statics_in_remaining_global_vars): Remove.
+       (lto_promote_cross_file_statics): Rewrite.
+       (get_filename_for_set): Take vset argument.
+       (lto_wpa_write_files): Pass around vsets.
+
+2010-04-27  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+       PR lto/42776
+       * Make-lang.in (LTO_OBJS): Use LTO_BINARY_READER instead of
+       hardcoding 'lto-elf.o'.
+       ($(LTO_EXE)): Use LTO_USE_LIBELF instead of hardcoding '-lelf'.
+
+       * lto-coff.h: New file.
+       * lto-coff.c: Likewise.
+
+2010-04-26  Richard Guenther  <rguenther@suse.de>
+
+       * lto.c (lto_fixup_type): Deal with non-type TYPE_CONTEXT.
+
+2010-04-26  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+       * lto.h (lto_elf_file_open): Rename prototype from this ...
+       (lto_obj_file_open): ... to this.
+       (lto_elf_file_close): Likewise ...
+       (lto_obj_file_close): ... and likewise.
+       (lto_elf_build_section_table): Likewise ...
+       (lto_obj_build_section_table): ... and likewise.
+       (lto_elf_begin_section): Likewise ...
+       (lto_obj_begin_section): ... and likewise.
+       (lto_elf_append_data): Likewise ...
+       (lto_obj_append_data): ... and likewise.
+       (lto_elf_end_section): Likewise ...
+       (lto_obj_end_section): ... and likewise.
+       * lto.c (lto_file_read): Update references to the above.
+       (lto_wpa_write_files): Likewise.
+       (lto_read_all_file_options): Likewise.
+       (read_cgraph_and_symbols): Likewise.
+       * lto-lang.c (LANG_HOOKS_BEGIN_SECTION): Likewise.
+       (LANG_HOOKS_APPEND_DATA): Likewise.
+       (LANG_HOOKS_END_SECTION): Likewise.
+       * lto-elf.c (lto_elf_file_open): Rename from this ...
+       (lto_obj_file_open): ... to this, updating any references.
+       (lto_elf_file_close): Likewise ...
+       (lto_obj_file_close): ... and likewise.
+       (lto_elf_build_section_table): Likewise ...
+       (lto_obj_build_section_table): ... and likewise.
+       (lto_elf_begin_section): Likewise ...
+       (lto_obj_begin_section): ... and likewise.
+       (lto_elf_append_data): Likewise ...
+       (lto_obj_append_data): ... and likewise.
+       (lto_elf_end_section): Likewise ...
+       (lto_obj_end_section): ... and likewise.
+
+2010-04-21  Jan Hubicka  <jh@suse.cz>
+
+       * lto.c (lto_fixup_tree): Do not call wpa fixup.
+       (materialize_cgraph): Likewise.
+
+2010-04-21  Jan Hubicka  <jh@suse.cz>
+
+       * lto.c (lto_wpa_write_files): Update.
+       (read_cgraph_and_symbols): Be more verbose.
+       (materialize_cgraph): Likewise.
+       (do_whole_program_analysis): Likewise.
+
+2010-04-21  Jan Hubicka  <jh@suse.cz>
+
+       * lto.c (globalize_cross_file_statics): When function has address taken,
+       it needs to be public.
+
 2010-04-20  Jan Hubicka  <jh@suse.cz>
 
        * lto.c (lto_add_inline_clones): Do not track inlined_decls.