]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - lto-plugin/ChangeLog
Update copyright years.
[thirdparty/gcc.git] / lto-plugin / ChangeLog
index 690970f8524242e8848ff1cd5fd589c4d94d6d58..9b3f8fbe5a6a3e84c6b9b39770dc35cab8845d03 100644 (file)
@@ -1,3 +1,459 @@
+2020-01-01  Jakub Jelinek  <jakub@redhat.com>
+
+       Update copyright years.
+
+2019-09-27  Maciej W. Rozycki  <macro@wdc.com>
+
+       * configure: Regenerate.
+
+2019-05-15  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * lto-plugin.c (cleanup_handler): Remove unused var.
+
+2019-05-15  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * lto-plugin.c (exec_lto_wrapper): Make the wrapper
+       arguments filename more user-friendly.
+       (file_exists, maybe_unlink): New.
+       (cleanup_handler): Use maybe unlink to handle the
+       case when temps should be saved.
+       (process_option): Look for -v, —-version, -save-temps.
+       (onload): Record the linker output file name.
+       Check for -v, —-version, -save-temps in the GCC collect
+       options environment.
+
+2019-02-26  Martin Liska  <mliska@suse.cz>
+
+       * lto-symtab.c: Remove.
+
+2019-01-01  Jakub Jelinek  <jakub@redhat.com>
+
+       Update copyright years.
+
+2018-10-31  Joseph Myers  <joseph@codesourcery.com>
+
+       PR bootstrap/82856
+       * configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
+       * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
+
+2018-05-30  Jan Hubicka  <jh@suse.cz>
+
+       * lto-plugin.c: (non_claimed_files): New static var.
+       (linker_ouput_known): New static var.
+       (all_symbols_read_handler): When user specifies linker output do not
+       imply it; output warning when nonlto-rel mode is forced.
+       (claim_file_header): Record number of nonclaimed files.
+       (process_option): Remember if linker output is known
+
+2018-04-18  David Malcolm  <dmalcolm@redhat.com>
+
+       PR jit/85384
+       * configure: Regenerate.
+
+2018-01-03  Jakub Jelinek  <jakub@redhat.com>
+
+       Update copyright years.
+
+2017-07-21  Georg-Johann Lay  <avr@gjlay.de>
+
+       PR lto/81487
+       * lto-plugin.c (claim_file_handler): Use xasprintf instead of
+       asprintf.
+       [hi!=0]: Swap hi and lo arguments supplied to xasprintf.
+
+2017-01-17  Jakub Jelinek  <jakub@redhat.com>
+
+       PR other/79046
+       * configure.ac: Add GCC_BASE_VER.
+       * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
+       get version from BASE-VER file.
+       * configure: Regenerated.
+       * Makefile.in: Regenerated.
+
+2017-01-04  Jakub Jelinek  <jakub@redhat.com>
+
+       Update copyright years.
+
+2016-11-15  Matthias Klose  <doko@ubuntu.com>
+
+       * configure: Regenerate.
+
+2016-02-25  Ilya Verbin  <ilya.verbin@intel.com>
+
+       PR driver/68463
+       * lto-plugin.c (struct plugin_offload_file): New.
+       (offload_files): Change type.
+       (offload_files_last, offload_files_last_obj): New.
+       (offload_files_last_lto): New.
+       (free_2): Adjust accordingly.
+       (all_symbols_read_handler): Don't add offload files to lto_arg_ptr.
+       Don't call free_1 for offload_files.  Write names of object files with
+       offloading to the temporary file.  Add new option to lto_arg_ptr.
+       (claim_file_handler): Don't claim file if it contains offload sections
+       without LTO sections.  If it contains offload sections, add to the list.
+
+2016-01-15  Martin Liska  <mliska@suse.cz>
+
+       * lto-plugin.c (all_symbols_read_handler): Assign default
+       value to a string variable.
+
+2015-11-25  Jan Hubicka  <jh@suse.cz>
+
+       PR lto/67548
+       * lto-plugin.c (linker_output, linker_output_set): New statics.
+       (all_symbols_read_handler): Add -flinker-output option.
+       (onload): Record linker_output info.
+
+2015-07-02  Uros Bizjak  <ubizjak@gmail.com>
+
+       * configure.ac: Add AC_USE_SYSTEM_EXTENSIONS.
+       * configure: Regenerate.
+       * config.h.in: Ditto.
+
+2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
+
+       * Makefile.am: Drop 'by automake version' from top-level comment.
+       * Makefile.in: Regenerated with automake-1.11.6.
+       * aclocal.m4: Likewise.
+       * configure: Likewise.
+
+2015-02-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * lto-plugin.c (release_input_file): Removed.
+       (claim_file_handler): Don't call release_input_file.
+       (onload): Don't set release_input_file.
+
+2015-02-05  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * lto-plugin.c (claim_file_handler): Pass handle to
+       release_input_file.
+
+2015-02-05  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * lto-plugin.c (claim_file_handler): Call release_input_file only
+       if file is claimed.
+
+2015-01-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * lto-plugin.c (claim_file_handler): Call release_input_file only
+       if it is not NULL.
+
+2015-01-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR lto/64837
+       * lto-plugin.c (release_input_file): New.
+       (claim_file_handler): Call release_input_file.
+       (onload): Set release_input_file.
+
+2014-12-09  Ilya Verbin  <ilya.verbin@intel.com>
+
+       * lto-plugin.c (offload_files, num_offload_files): New static variables.
+       (free_1): Use arguments instead of global variables.
+       (free_2): Free offload_files.
+       (all_symbols_read_handler): Add names from offload_files to lto-wrapper
+       arguments.
+       (claim_file_handler): Do not add file to claimed_files if it contains
+       offload sections without LTO sections.  Add it to offload_files instead.
+
+2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR bootstrap/63784
+       * configure: Regenerated.
+
+2014-11-13  Ilya Verbin  <ilya.verbin@intel.com>
+           Bernd Schmidt  <bernds@codesourcery.com>
+           Andrey Turetskiy  <andrey.turetskiy@intel.com>
+           Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
+
+       * lto-plugin.c (OFFLOAD_SECTION, OFFLOAD_SECTION_LEN): Define.
+       (struct plugin_objfile): Add new field "offload".
+       (process_offload_section): New static function.
+       (claim_file_handler): Claim file if it contains offload sections.
+
+2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
+           Thomas Schwinge  <thomas@codesourcery.com>
+           Ilya Verbin  <ilya.verbin@intel.com>
+           Andrey Turetskiy  <andrey.turetskiy@intel.com>
+
+       * Makefile.am (libexecsubdir): Tweak for the possibility of being
+       configured for offload compiler.
+       (accel_dir_suffix, real_target_noncanonical): New variables substituted
+       by configure.
+       * Makefile.in: Regenerate.
+       * configure: Regenerate.
+       * configure.ac (accel_dir_suffix, real_target_noncanonical): Compute new
+       variables.
+
+2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
+
+       PR target/63610
+       * configure: Regenerate.
+
+2014-08-26  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR bootstrap/62260
+       * Makefile.am (gcc_build_dir): Set to @gcc_build_dir@.
+       * configure.ac (gcc_build_dir): Set and AC_SUBST according to
+       $host_subdir.
+       * Makefile.in: Regenerated.
+       * configure: Likewise.
+
+2014-06-13  Thomas Schwinge  <thomas@codesourcery.com>
+
+       * configure.ac (--with-libiberty): New configure option.
+       * configure: Regenerate.
+       * Makefile.am (libiberty, libiberty_noasan, libiberty_pic): New
+       variables.
+       (liblto_plugin_la_LIBADD, liblto_plugin_la_LDFLAGS)
+       (liblto_plugin_la_DEPENDENCIES): Use them.
+       * Makefile.in: Regenerate.
+
+2014-05-15  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       PR lto/60981
+       * configure.ac: Check for -static-libgcc.
+       * configure: Regenerate.
+
+2014-04-17  Jakub Jelinek  <jakub@redhat.com>
+
+       PR sanitizer/56781
+       * Makefile.am (CFLAGS, LDFLAGS): Filter out -fsanitize=address.
+       (liblto_plugin_la_LIBADD, liblto_plugin_la_LDFLAGS,
+       liblto_plugin_la_DEPENDENCIES): Prefer ../libiberty/noasan/libiberty.a
+       over ../libiberty/pic/libiberty.a if the former exists.
+       * Makefile.in: Regenerated.
+
+       PR sanitizer/56781
+       * Makefile.am (LTLDFLAGS, liblto_plugin_la_LINK): New variables.
+       * Makefile.in: Regenerated.
+
+2014-04-02  Richard Biener  <rguenther@suse.de>
+
+       * lto-plugin.c (onload): Fail to load if -fno-use-linker-plugin
+       is set in COLLECT_GCC_OPTIONS.
+
+2014-03-28  Richard Biener  <rguenther@suse.de>
+
+       * lto-plugin.c (process_symtab): Handle EINTR and short reads.
+
+2014-03-17  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * configure.ac (ac_lto_plugin_ldflags): Set to -Wc,-static-libgcc
+       for gcc.
+       * configure: Regenerate.
+       * Makefile.am (AM_LDFLAGS): New variable.
+       (liblto_plugin_la_LDFLAGS): Add it.
+       * Makefile.in: Regenerate.
+
+2013-09-20  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2012-09-14  David Edelsohn  <dje.gcc@gmail.com>
+
+       * configure: Regenerated.
+
+2012-05-29  Joseph Myers  <joseph@codesourcery.com>
+
+       * lto-plugin.c: Fix typo.
+
+2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure: Regenerated.
+
+2012-02-22  Kai Tietz  <ktietz@redhat.com>
+
+       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  <schwab@linux-m68k.org>
+
+       * configure: Regenerate.
+
+2011-12-19  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * configure: Regenerate.
+
+2011-11-21  Andreas Tobler  <andreast@fgznet.ch>
+
+       * configure: Regenerate.
+
+2011-10-02  Jan Hubicka  <jh@suse.cz>
+
+       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  <hongjiu.lu@intel.com>
+           Andi Kleen  <ak@linux.intel.com>
+
+       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  <rguenther@suse.de>
+
+       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  <meyering@redhat.com>
+
+       * lto-plugin.c (free_1, free_2): Remove useless if-before-free.
+
+2011-04-05  Richard Guenther  <rguenther@suse.de>
+
+       PR bootstrap/48431
+       * lto-plugin.c (claim_file_handler): Do not declare vars in code.
+
+2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * Makefile.in: Regenerate.
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2011-02-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * Makefile.am (all-local): Rename from 'all'.
+       * Makefile.in: Regenerate.
+
+2011-02-12  Alexandre Oliva  <aoliva@redhat.com>
+
+       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  <kai.tietz@onevision.com>
+
+       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  <bonzini@gnu.org>
+
+       Revert:
+
+       2011-02-07  Kai Tietz  <kai.tietz@onevision.com>
+
+       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  <kai.tietz@onevision.com>
+
+       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  <iant@google.com>
+
+       * 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  <rguenther@suse.de>
+
+       PR lto/47264
+       * lto-plugin.c (parse_table_entry): Use memcpy to access
+       unaligned fields.
+
+2010-12-20  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+       * Makefile.am (AM_LIBTOOLFLAGS): Define, adding disable-static tag.
+       * Makefile.in: Regenerate.
+
+2010-12-15  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       Revert last change.
+
+2010-12-15  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * 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  <dave.korn.cygwin@gmail.com>
+
+       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  <dave.korn.cygwin@gmail.com>
+
+       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  <kai.tietz@onevision.com>
+
+       * 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  <kai.tietz@onevision.com>
+
+       * 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  <kai.tietz@onevision.com>
+
+       * lto-plugin.c (add_output_files): Fix memory leak.
+
+2010-11-11  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+       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  <dave.korn.cygwin@gmail.com>
+
+       PR lto/46291
+       * lto-plugin.c (claim_file_handler): Don't close file descriptor.
+
 2010-11-03  Dave Korn  <dave.korn.cygwin@gmail.com>
 
        PR lto/46273
        (claim_file_handler): Add n variable. Check return value of
        process_symtab. Call resolve_conflicts.
 
-2010-07-27  Andi Kleen <ak@linux.intel.com>
+2010-07-27  Andi Kleen  <ak@linux.intel.com>
 
        * lto-plugin.c (translate): Remove debug fprintf.
 
        PR bootstrap/45042
        * lto-plugin.c (translate): Cast to unsigned long.
 
-2010-07-23   Andi Kleen <ak@linux.intel.com>
+2010-07-23   Andi Kleen  <ak@linux.intel.com>
 
        PR lto/44992
        * lto-plugin.c (sym_aux): Add.
        (onload): Don't create the temporary directory.
 
 2009-11-04  Richard Guenther  <rguenther@suse.de>
-            Rafael Avila de Espindola  <espindola@google.com>
+           Rafael Avila de Espindola  <espindola@google.com>
 
        * lto-plugin.c (plugin_file_info): Remove temp field.
        (cleanup_handler): Don't delete temporary objects.
 
 2009-10-19  Rafael Avila de Espindola  <espindola@google.com>
     
-        PR40790
-        * configure: Regenerate.
-        * configure.ac: Add AC_TYPE_UINT64_T.
+       PR40790
+       * configure: Regenerate.
+       * configure.ac: Add AC_TYPE_UINT64_T.
 
 2009-10-16  Rafael Avila de Espindola  <espindola@google.com>
 
 
 2008-09-23  Rafael Espindola  <espindola@google.com>
 
-        * plugin-api.h: Moved to include.
+       * plugin-api.h: Moved to include.
 
 2008-09-23 Rafael Espindola  <espindola@google.com>