OSDN Git Service

* lto-plugin.c: Include <hashtab.h>
[pf3gnuchains/gcc-fork.git] / lto-plugin / ChangeLog
index df77128..6f6c4e8 100644 (file)
@@ -1,3 +1,60 @@
+2010-08-05  Andi Kleen  <ak@linux.intel.com>
+
+       * lto-plugin.c: Include <hashtab.h>
+       (sym_aux): Add next_conflict field to save conflict chains.
+       (plugin_file_info): Add conflicts symtab.
+       (parse_table_entry): Initialize aux->next_conflict.
+       (process_symtab): Increment found.
+       (dump_symtab): Add.
+       (finish_conflict_resolution): Add.
+       (free_symtab): Add.
+       (write_resolution): Remove symbols loop and move into
+       dump_symtab. Call dump_symtab for main symbol and conflicts table.
+       Call free_symtab to free conflicts table.
+       (SWAP): Add.
+       (eq_sym): Add.
+       (hash_sym): Add.
+       (symbol_strength): Add.
+       (resolve_conflicts): Add.
+       (claim_file_handler): Add n variable. Check return value of
+       process_symtab. Call resolve_conflicts.
+
+2010-07-27  Andi Kleen <ak@linux.intel.com>
+
+       * lto-plugin.c (translate): Remove debug fprintf.
+
+2010-07-23  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR bootstrap/45042
+       * lto-plugin.c (translate): Cast to unsigned long.
+
+2010-07-23   Andi Kleen <ak@linux.intel.com>
+
+       PR lto/44992
+       * lto-plugin.c (sym_aux): Add.
+       (plugin_symtab): Remove slots. Add aux and id.
+       (parse_table_entry): Change to use aux instead of slots.
+       (LTO_SECTION_PREFIX): Add.
+       (translate): Improve buffer allocation. Change to append
+       symbols to existing out buffer.
+       (get_section): Remove.
+       (process_symtab): Add.
+       (free_2): Free symtab->aux.
+       (write_resolution): Handle aux instead of slots.
+       Print sub id to resolution file.
+       (claim_file_handler): Clear lto_file. Replace get_symtab/translate
+       calls with call to process_symtab.
+
+2010-07-22  Richard Guenther  <rguenther@suse.de>
+
+       * Makefile.am: New copy_lto_plugin rule to install the plugin
+       into ../gcc.
+       * Makefile.in: Regenerated.
+
+2010-05-21  Richard Guenther  <rguenther@suse.de>
+
+       * lto-plugin.c (write_resolution): Do not assert syms is non-NULL.
+
 2010-05-07  Richard Guenther <rguenther@suse.de>
 
        * lto-plugin.c (free_2): Do not free resolution_file.