OSDN Git Service

Add AC_CANONICAL_SYSTEM to configure.ac.
[pf3gnuchains/gcc-fork.git] / lto-plugin / ChangeLog
index ccb6165..585b56d 100644 (file)
@@ -1,3 +1,142 @@
+2010-10-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR bootstrap/45951
+       * configure.ac: Add AC_CANONICAL_SYSTEM.
+       * configure: Regenerated.
+
+2010-10-07  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+       * configure.ac: Source config.gcc to determine lto_binary_reader.
+       (LTO_FORMAT): New AC_SUBST variable inferred from lto_binary_reader.
+       * Makefile.am (LTO_FORMAT): Import.
+       (liblto_plugin_la_SOURCES): Add object format dependent module
+       defined by LTO_FORMAT.
+       (liblto_plugin_la_LIBADD): Allow for both PIC and non-PIC libiberty,
+       and work around libtool warning.
+       * configure: Regenerate.
+       * Makefile.in: Likewise.
+       * lto-plugin.c (struct sym_aux): Move to new lto-plugin.h.
+       (struct sym_aux): Likewise.
+       (struct plugin_symtab): Likewise.
+       (struct plugin_file_info): Likewise.
+       (LTO_SECTION_PREFIX): Likewise.
+       (add_symbols):  Make non-static.
+       (claimed_files): Likewise.
+       (num_claimed_files): Likewise.
+       (check): Likewise.
+       (parse_table_entry): Likewise.
+       (translate): Likewise.
+       (resolve_conflicts): Likewise.
+       (process_symtab): Move to new lto-plugin-elf.c object format dependent
+       source file.
+       (claim_file_handler): Likewise, and make non-static.
+       (onload): Call new onload_format_checks function.
+       * lto-plugin.h: New file.
+       (LTO_SECTION_PREFIX): Move here.
+       (struct sym_aux): Likewise.
+       (struct plugin_symtab): Likewise.
+       (struct plugin_file_info): Likewise.
+       (claim_file_handler): Add new function prototype.
+       (onload_format_checks): Likewise.
+       (check): Declare extern.
+       (translate): Likewise.
+       (parse_table_entry): Likewise.
+       (resolve_conflicts): Likewise.
+       (add_symbols):  Likewise.
+       (claimed_files): Likewise.
+       (num_claimed_files): Likewise.
+       * lto-plugin-elf.c (process_symtab): Move here.
+       (claim_file_handler): Likewise, and make non-static.
+       (onload_format_checks): New function factored out from onload.
+       * lto-plugin-coff.c (claim_file_handler): New function stub.
+       (onload_format_checks): Likewise.
+
+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.
+       (write_resolution): Check that we were passed a resolution file.
+       (all_symbols_read_handler): Adjust.
+       (cleanup_handler): Do not remove the resolution file.
+       (process_option): Handle -fresolution=.
+
+2010-05-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       PR other/43620
+       * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
+       * Makefile.in: Regenerate.
+
+2010-04-23  Richard Guenther  <rguenther@suse.de>
+
+       PR lto/41550
+       * lto-plugin.c (parse_table_entry): Use xstrdup and xrealloc.
+       (translate): Likewise.
+       (all_symbols_read_handler): Likewise.
+       (claim_file_handler): Likewise.
+       (process_option): Likewise.
+       (add_output_files): Likewise.  Remove filename length limit.
+
+2010-04-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * Makefile.in: Regenerate.
+       * aclocal.m4: Regenerate.
+
 2010-03-16  Dmitry Gorbachev  <d.g.gorbachev@gmail.com>
 
        PR lto/43336