X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=lto-plugin%2FChangeLog;h=3719942b677c584453340a9d557aeb813ac2ca92;hb=3ebb9d0b5b601b6872c9a6cac88a55133efef47b;hp=ccb61654e7cf68ce0319fa35ba35d9aff21d3b34;hpb=53c700125d82424a52e14ef6038327593801584b;p=pf3gnuchains%2Fgcc-fork.git diff --git a/lto-plugin/ChangeLog b/lto-plugin/ChangeLog index ccb61654e7c..3719942b677 100644 --- a/lto-plugin/ChangeLog +++ b/lto-plugin/ChangeLog @@ -1,3 +1,400 @@ +2012-09-20 Release Manager + + * GCC 4.7.2 released. + +2012-06-14 Release Manager + + * GCC 4.7.1 released. + +2012-03-22 Release Manager + + * GCC 4.7.0 released. + +2012-02-22 Kai Tietz + + PR lto/50616 + * lto-plugin.c (PRI_LL): New macro. + (dump_symtab): Use PRI_LL instead of ll in print. + (process_symtab): Use PRI_LL instead of ll in scan. + +2011-12-20 Andreas Schwab + + * configure: Regenerate. + +2011-12-19 Andreas Schwab + + * configure: Regenerate. + +2011-11-21 Andreas Tobler + + * configure: Regenerate. + +2011-10-02 Jan Hubicka + + PR lto/47247 + * lto-plugin.c (get_symbols_v2): New variable. + (write_resolution): Use V2 API when available. + (onload): Handle LDPT_GET_SYMBOLS_V2. + +2011-09-30 H.J. Lu + Andi Kleen + + PR lto/50568 + * lto-plugin.c (sym_aux): Change id to unsigned long long. + (plugin_symtab): Likewise. + (dump_symtab): Likewise. + (resolve_conflicts): Likewise. + (process_symtab): Likewise. + +2011-08-10 Richard Guenther + + PR bootstrap/49907 + lto-plugin/ + * configure.ac: Use ACX_PROG_CC_WARNING_OPTS to detect -Wall presence. + * Makefile.am (AM_CFLAGS): Adjust. Do not build with -Werror. + * configure: Regenerate. + * Makefile.in: Likewise. + * aclocal.m4: Likewise. + +2011-04-20 Jim Meyering + + * lto-plugin.c (free_1, free_2): Remove useless if-before-free. + +2011-04-05 Richard Guenther + + PR bootstrap/48431 + * lto-plugin.c (claim_file_handler): Do not declare vars in code. + +2011-02-13 Ralf Wildenhues + + * Makefile.in: Regenerate. + * aclocal.m4: Regenerate. + * configure: Regenerate. + +2011-02-12 Ralf Wildenhues + + * Makefile.am (all-local): Rename from 'all'. + * Makefile.in: Regenerate. + +2011-02-12 Alexandre Oliva + + PR lto/47225 + * Makefile.am (gcc_build_dir, in_gcc_libs): New. + (liblto_plugin_la_LDFLAGS): Add -module. + (copy_lto_plugin): Renamed to... + ($(in_gcc_libs)): ... this. Add mkinstalldirs. Skip copying + of static modules. + * Makefile.in: Rebuild. + +2011-02-07 Kai Tietz + + PR lto/47225 + * Makefile.am (Wc): New helper for encoding -Wc,. + (liblto_plugin_la_LIBADD): Use Wc for libiberty library. + (liblto_plugin_la_DEPENDENCIES): Special case pic libiberty. + * Makefile.in: Regenerated. + +2011-02-07 Paolo Bonzini + + Revert: + + 2011-02-07 Kai Tietz + + PR lto/47225 + * Makefile.am (Wl): New helper for encoding -Wl,. + (liblto_plugin_la_LIBADD): Use -Wl for libiberty library. + * Makefile.in: Regenerated. + +2011-02-07 Kai Tietz + + PR lto/47225 + * Makefile.am (Wl): New helper for encoding -Wl,. + (liblto_plugin_la_LIBADD): Use -Wl for libiberty library. + * Makefile.in: Regenerated. + +2011-01-25 Ian Lance Taylor + + * lto-plugin.c (gold_version): New static variable. + (all_symbols_read_handler): Don't check pass_through_items if + using gold 1.11 or later. + (onload): Set gold_version if we see LDPT_GOLD_VERSION. + +2011-01-12 Richard Guenther + + PR lto/47264 + * lto-plugin.c (parse_table_entry): Use memcpy to access + unaligned fields. + +2010-12-20 Dave Korn + + * Makefile.am (AM_LIBTOOLFLAGS): Define, adding disable-static tag. + * Makefile.in: Regenerate. + +2010-12-15 Rainer Orth + + Revert last change. + +2010-12-15 Rainer Orth + + * Makefile.am (liblto_plugin_la_DEPENDENCIES): Define. + (liblto_plugin_la_LIBADD): Use -L../libiberty/pic -liberty. + (liblto_plugin_la_LDFLAGS): Use -L../libiberty -liberty. + * Makefile.in: Regenerate. + +2010-12-10 Dave Korn + + PR middle-end/46674 + PR lto/43157 + * configure.ac (SYM_STYLE): Don't AC_DEFINE. + * lto-plugin.c (sym_style): Don't use it; default to ss_none. + * configure: Regenerate. + * config.h.in: Likewise. + +2010-12-06 Dave Korn + + PR target/40125 + PR lto/46695 + * configure.ac: Invoke ACX_LT_HOST_FLAGS. + * Makefile.am (liblto_plugin_la_LDFLAGS): Use lt_host_flags but + override -bindir setting. + * aclocal.m4: Regenerate. + * configure: Regenerate. + * Makefile.in: Regenerate. + +2010-12-05 Kai Tietz + + * config.h.in: Regenerated. + * configure: Regenerated. + * configure.ac (AC_CHECK_HEADERS): Replaced by AC_HEADER_SYS_WAIT. + * lto-plugin.c (WIFEXITED): Define default. + (WEXITSTATUS): Likeiwse. + +2010-12-01 Kai Tietz + + * config.h.in: Regenerated. + * configure: Regenerated. + * Makefile.in: Regenerated. + * configure.ac (AC_CHECK_HEADERS): Check for sys/wait.h. + * lto-plugin.c: Include sys/wait.h conditionally. + * aclocal.m4: Regenerated. + +2010-11-13 Kai Tietz + + * lto-plugin.c (add_output_files): Fix memory leak. + +2010-11-11 Dave Korn + + PR bootstrap/46397 + PR bootstrap/46362 + * configure.ac: Add AC_TYPE_INT64_T test. + * config.h.in: Regenerate. + * configure: Likewise. + * lto-plugin.c (debug): Use char not bool. + (nop): Likewise. + (check_1): Rename from check, and use int not bool for gate argument. + (check): Macro wrapper for the above to coerce gate argument into + boolean-valued integer in case it has pointer type. + (parse_table_entry): Use 0 not false. + (claim_file_handler): Avoid use of PRIx64 by splitting 64-bit size + into two 32-bit parts and printing as hex ints. + +2010-11-03 Dave Korn + + PR lto/46291 + * lto-plugin.c (claim_file_handler): Don't close file descriptor. + +2010-11-03 Dave Korn + + PR lto/46273 + * lto-plugin.h: Delete. + * lto-plugin-elf.c: Likewise. + * lto-plugin-coff.c: Likewise. + * configure.ac: Don't use libelf, don't source config.gcc. + (LIBELFLIBS): Delete. + (LIBELFINC): Delete. + (LTO_FORMAT): Delete. + (SYM_STYLE): Add AC_DEFINE var, set based on $target. + (config.h): Add AC_CONFIG_HEADERS directive. + * Makefile.am (LIBELFLIBS): Delete. + (LIBELFINC): Delete. + (LTO_FORMAT): Delete. + (DEFS): Import. + (AM_CPPFLAGS): Use it. Don't use LIBELFINC. + (liblto_plugin_la_SOURCES): Don't use LTO_FORMAT, don't include + any object-format-specific source file in the link. + (liblto_plugin_la_LIBADD): Don't use LIBELFLIBS. + * config.h.in: Generate. + * configure: Regenerate. + * Makefile.in: Likewise. + * lto-plugin.c (O_BINARY): Definition moved here from lto-plugin.h. + (LTO_SEGMENT_NAME): New definition. + (LTO_SECTION_PREFIX): Definition moved here from lto-plugin.h. + (LTO_SECTION_PREFIX_LEN): New definition. + (struct sym_aux): Struct definition moved here from lto-plugin.h. + (struct plugin_symtab): Likewise. + (struct plugin_objfile): Likewise. + (struct plugin_objfile): New struct def. + (enum symbol_style): New enum type. + (add_symbols): Make static. + (claimed_files): Likewise. + (num_claimed_files): Likewise. + (sym_style): New global. + (check): Make static. + (parse_table_entry): Likewise. Respect sym_style when extracting + symbol from symtab entry. + (translate): Make static. + (resolve_conflicts): Likewise. + (process_symtab): New function, per-section callback version of + old object-format-specific handling from deleted lto-plugin-elf.c. + (claim_file_handler): Convert ELF-specific version from deleted + lto-plugin-elf.c to simple_object interface and move here. + (process_options): Allow new '-sym-style=' option. + (onload): Don't call deleted onload_format_checks hook. + +2010-10-11 Kai Tietz + + * lto-plugin.c (dump_symtab): Correct printf argument type. + (finish_conflict_resolution): Initialize resolution. + +2010-10-08 H.J. Lu + + PR bootstrap/45951 + * configure.ac: Add AC_CANONICAL_SYSTEM. + * configure: Regenerated. + +2010-10-07 Dave Korn + + * 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 + + * lto-plugin.c: Include + (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 + + * lto-plugin.c (translate): Remove debug fprintf. + +2010-07-23 H.J. Lu + + PR bootstrap/45042 + * lto-plugin.c (translate): Cast to unsigned long. + +2010-07-23 Andi Kleen + + 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 + + * Makefile.am: New copy_lto_plugin rule to install the plugin + into ../gcc. + * Makefile.in: Regenerated. + +2010-05-21 Richard Guenther + + * lto-plugin.c (write_resolution): Do not assert syms is non-NULL. + +2010-05-07 Richard Guenther + + * 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 + + PR other/43620 + * configure.ac (AM_INIT_AUTOMAKE): Add no-dist. + * Makefile.in: Regenerate. + +2010-04-23 Richard Guenther + + 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 + + * Makefile.in: Regenerate. + * aclocal.m4: Regenerate. + 2010-03-16 Dmitry Gorbachev PR lto/43336