From c8429c2aba80f845939ffa6b2cfe8a0be1b50078 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Thu, 19 Mar 2020 16:56:27 +0100 Subject: API extension for binutils (type of symbols). * lto-section-in.c: Add ext_symtab. * lto-streamer-out.c (write_symbol_extension_info): New. (produce_symtab_extension): New. (produce_asm_for_decls): Stream also produce_symtab_extension. * lto-streamer.h (enum lto_section_type): New section. * lto-symtab.h (enum gcc_plugin_symbol_type): New. (enum gcc_plugin_symbol_section_kind): Likewise. * 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. --- lto-plugin/ChangeLog | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'lto-plugin/ChangeLog') diff --git a/lto-plugin/ChangeLog b/lto-plugin/ChangeLog index 9b3f8fbe5a6..205652cdda4 100644 --- a/lto-plugin/ChangeLog +++ b/lto-plugin/ChangeLog @@ -1,3 +1,23 @@ +2020-03-19 Martin Liska + + * 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 Update copyright years. -- cgit v1.2.3