]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - lto-plugin/ChangeLog
Daily bump.
[thirdparty/gcc.git] / lto-plugin / ChangeLog
index e8ec05b404110dca06b50a16f3905e8644cc2ad8..b9002360058779e6eac0e65d3b2f8999412fdc9d 100644 (file)
@@ -1,3 +1,448 @@
+2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
+
+       * configure: Regenerate.
+
+2023-08-07  Alexander von Gluck IV  <kallisti5@unixzen.com>
+
+       * configure: Regenerate.
+
+2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
+
+       * configure: Regenerate.
+
+2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
+
+       * configure: Regenerate.
+
+2023-08-07  H.J. Lu  <hjl.tools@gmail.com>
+
+       * configure: Regenerate.
+
+2023-08-07  H.J. Lu  <hjl.tools@gmail.com>
+
+       * configure: Regenerate.
+
+2023-06-30  Martin Jambor  <mjambor@suse.cz>
+
+       * Makefile.in: Regenerate.
+
+2023-06-22  Marek Polacek  <polacek@redhat.com>
+
+       * configure.ac (--enable-host-bind-now): New check.  Link with
+       -z,now.
+       * configure: Regenerate.
+
+2023-05-11  Joseph Myers  <joseph@codesourcery.com>
+
+       PR middle-end/109128
+       * lto-plugin.c (register_claim_file_v2): New.
+       (claim_file_handler_v2): New.
+       (claim_file_handler): Wrap claim_file_handler_v2.
+       (onload): Handle LDPT_REGISTER_CLAIM_FILE_HOOK_V2.
+
+2022-11-23  Marek Polacek  <polacek@redhat.com>
+
+       Revert:
+       2022-11-23  Marek Polacek  <polacek@redhat.com>
+
+       * configure.ac (--enable-host-bind-now): New check.  Link with
+       -z,now.
+       * configure: Regenerate.
+
+2022-11-23  Marek Polacek  <polacek@redhat.com>
+
+       * configure.ac (--enable-host-bind-now): New check.  Link with
+       -z,now.
+       * configure: Regenerate.
+
+2022-10-12  Martin Liska  <mliska@suse.cz>
+
+       * configure: Regenerate.
+
+2022-10-11  Olivier Hainque  <hainque@adacore.com>
+           Olivier Hainque  <hainque@adacore.com>
+
+       * configure: Regenerate.
+
+2022-08-01  Martin Liska  <mliska@suse.cz>
+
+       PR lto/106170
+       * configure.ac: Replace $target with $host.
+       * configure: Regenerate.
+
+2022-07-14  Martin Liska  <mliska@suse.cz>
+
+       PR bootstrap/106156
+       * Makefile.am: Use ac_lto_plugin_extra_ldflags for AM_LDFLAGS.
+       * configure.ac: Use AC_SUBST(ac_lto_plugin_extra_ldflags).
+       * Makefile.in: Regenerate.
+       * configure: Regenerate.
+
+2022-07-12  Martin Liska  <mliska@suse.cz>
+
+       * lto-plugin.c (negotiate_api_version): New.
+       (onload): Negotiate API version.
+       * Makefile.am: Add -DBASE_VERSION.
+       * Makefile.in: Regenerate.
+
+2022-07-07  Martin Liska  <mliska@suse.cz>
+
+       PR lto/106170
+       * configure.ac: Configure HAVE_PTHREAD_LOCKING.
+       * lto-plugin.c (LOCK_SECTION): New.
+       (UNLOCK_SECTION): New.
+       (claim_file_handler): Use the newly added macros.
+       (onload): Likewise.
+       * config.h.in: Regenerate.
+       * configure: Regenerate.
+
+2022-07-01  Pekka Seppänen  <pexu@gcc.mail.kapsi.fi>
+
+       PR lto/106118
+       * configure.ac: Move -pthread from here...
+       * Makefile.am: ...to here.
+       * configure: Regenerate.
+       * Makefile.in: Likewise.
+
+2022-06-27  Martin Liska  <mliska@suse.cz>
+
+       * lto-plugin.c (plugin_lock): New lock.
+       (claim_file_handler): Use mutex for critical section.
+       (onload): Initialize mutex.
+       * configure.ac: Check for pthread.h.
+       * configure: Regenerate.
+       * config.h.in: Regenerate.
+
+2022-06-20  Martin Liska  <mliska@suse.cz>
+
+       * lto-plugin.c (struct plugin_file_info): Add skip_file flag.
+       (write_resolution): Write resolution only if get_symbols != LDPS_NO_SYMS.
+       (all_symbols_read_handler): Ignore file if skip_file is true.
+       (onload): Handle LDPT_GET_SYMBOLS_V3.
+
+2022-05-04  Martin Liska  <mliska@suse.cz>
+
+       * lto-plugin.c (struct plugin_objfile): Use bool for offset
+       field.
+       (exec_lto_wrapper): Assign true/false to bool variables.
+       (process_offload_section): Likewise.
+       (claim_file_handler): Likewise.
+       (onload): Likewise.
+
+2022-03-22  Jakub Jelinek  <jakub@redhat.com>
+
+       PR lto/102426
+       * configure.ac (LTO_PLUGIN_USE_SYMVER, LTO_PLUGIN_USE_SYMVER_GNU,
+       LTO_PLUGIN_USE_SYMVER_SUN): New test for symbol versioning support.
+       * Makefile.am (version_arg, version_dep): Set conditionally based
+       on LTO_PLUGIN_USE_SYMVER*.
+       (liblto_plugin_la_LDFLAGS): Use $(version_arg) instead of
+       -export-symbols-regex onload.
+       (liblto_plugin_la_DEPENDENCIES): Depend on $(version_dep).
+       * lto-plugin.map: New file.
+       * configure: Regenerated.
+       * Makefile.in: Regenerated.
+
+2022-03-11  Tobias Burnus  <tobias@codesourcery.com>
+
+       * lto-plugin.c (all_symbols_read_handler): With -save-temps, use
+       link_output_name for -foffload-objects's file name, if available.
+
+2022-03-01  Martin Liska  <mliska@suse.cz>
+
+       * lto-plugin.c (process_offload_section): Use a linker as many
+       comments are connected to gold linker.
+       (process_option): Likewise.
+
+2021-12-02  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
+
+       * lto-plugin.c: Fix -linker-output-auto-notlo-rel ->
+       -linker-output-auto-nolto-rel typo.
+       (process_option): Adjust accordingly, accepting both old and
+       new spelling.
+
+2021-09-13  Andrew Pinski  <apinski@marvell.com>
+
+       PR lto/49664
+       * Makefile.am: Export only onload.
+       * Makefile.in: Regenerate.
+
+2021-06-25  Richard Biener  <rguenther@suse.de>
+
+       * lto-plugin.c (ltrans_objects): New global.
+       (all_symbols_read_handler): If -ltrans-objects was specified,
+       add the output files from the specified file directly.
+       (process_option): Handle -ltrans-objects.
+
+2021-05-10  Martin Liska  <mliska@suse.cz>
+
+       * lto-plugin.c (LTO_SEGMENT_NAME): Remove.
+       (LTO_SYMTAB_PREFIX): Likewise.
+       (LTO_SYMTAB_PREFIX_LEN): Likewise.
+       (LTO_SYMTAB_EXT_PREFIX): Likewise.
+       (LTO_SYMTAB_EXT_PREFIX_LEN): Likewise.
+       (LTO_LTO_PREFIX): Likewise.
+       (LTO_LTO_PREFIX_LEN): Likewise.
+       (OFFLOAD_SECTION): Likewise.
+       (OFFLOAD_SECTION_LEN): Likewise.
+       (startswith): New function.
+       (all_symbols_read_handler): Use it.
+       (process_symtab): Likewise.
+       (process_symtab_extension): Likewise.
+       (process_offload_section): Likewise.
+       (process_option): Likewise.
+
+2021-05-03  H.J. Lu  <hjl.tools@gmail.com>
+
+       PR bootstrap/99703
+       * configure: Regenerated.
+
+2021-04-21  Martin Liska  <mliska@suse.cz>
+
+       * lto-plugin.c (exec_lto_wrapper): Make a temp variable.
+
+2021-01-05  Samuel Thibault  <samuel.thibault@ens-lyon.org>
+
+       * configure: Re-generate.
+
+2020-11-29  John David Anglin  <danglin@gcc.gnu.org>
+
+       * configure: Regenerate.
+
+2020-11-25  Matthew Malcomson  <matthew.malcomson@arm.com>
+
+       * Makefile.am: Avoid using sanitizer.
+       * Makefile.in: Regenerate.
+
+2020-09-10  Jonathan Yong  <10walls@gmail.com>
+
+       * Makefile.am: drop versioning from libtool completely.
+       * Makefile.in: regenerate.
+
+2020-09-09  Nick Clifton  <nickc@redhat.com>
+
+       * lto-plugin.c (struct plugin_symtab): Add last_sym field.
+       (parse_symtab_extension): Only read as many entries as are
+       available in the buffer.  Store the data read into the symbol
+       table indexed from last_sym.  Increment last_sym.
+
+2020-07-30  H.J. Lu  <hjl.tools@gmail.com>
+
+       PR bootstrap/96202
+       * configure: Regenerated.
+
+2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
+
+       PR bootstrap/95413
+       * configure: Regenerated.
+
+2020-05-26  Alexandre Oliva  <oliva@adacore.com>
+
+       * lto-plugin.c (skip_in_suffix): New.
+       (exec_lto_wrapper): Use skip_in_suffix and concat to build
+       non-temporary output names.
+       (onload): Look for -dumpdir in COLLECT_GCC_OPTIONS, and
+       override link_output_name with it.
+
+2020-05-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR bootstrap/94998
+       * configure: Regenerated.
+
+2020-05-05  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * lto-plugin.c: Document -linker-output-auto-notlo-rel option.
+       (linker_output_set): Change type to bool.
+       (linker_output_known): Likewise.
+       (linker_output_auto_nolto_rel): New variable.
+       (all_symbols_read_handler): Take it into account.
+       <LDPO_REL>: Do not issue the warning if it is set.
+       (process_option): Process -linker-output-auto-notlo-rel.
+       (cleanup_handler): Remove unused variable.
+       (onload) <LDPT_LINKER_OUTPUT>: Adjust to above type change.
+
+2020-04-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR bootstrap/94739
+       * configure: Regenerated.
+
+2020-04-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR bootstrap/94739
+       * Makefile.am (AM_CFLAGS): Add $(CET_HOST_FLAGS).
+       * configure.ac: Add GCC_CET_HOST_FLAGS(CET_HOST_FLAGS) and
+       AC_SUBST(CET_HOST_FLAGS).
+       * Makefile.in: Regenerated.
+       * aclocal.m4: Likewise.
+       * configure: Likewise.
+
+2020-03-19  Martin Liska  <mliska@suse.cz>
+
+       * lto-plugin.c (LTO_SECTION_PREFIX): Rename to ...
+       (LTO_SYMTAB_PREFIX): ... this.
+       (LTO_SECTION_PREFIX_LEN): Rename to ...
+       (LTO_SYMTAB_PREFIX_LEN): ... this.
+       (LTO_SYMTAB_EXT_PREFIX): New.
+       (LTO_SYMTAB_EXT_PREFIX_LEN): New.
+       (LTO_LTO_PREFIX): New.
+       (LTO_LTO_PREFIX_LEN): New.
+       (parse_table_entry): Fill up unused to zero.
+       (parse_table_entry_extension): New.
+       (parse_symtab_extension): New.
+       (finish_conflict_resolution): Change type
+       for resolution.
+       (process_symtab): Use new macro name.
+       (process_symtab_extension): New.
+       (claim_file_handler): Parse also process_symtab_extension.
+       (onload): Call new add_symbols_v2.
+
+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.
        (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>