]> git.ipfire.org Git - thirdparty/gcc.git/commit
lto-plugin: support LDPT_GET_SYMBOLS_V3
authorMartin Liska <mliska@suse.cz>
Mon, 14 Feb 2022 10:31:43 +0000 (11:31 +0100)
committerMartin Liska <mliska@suse.cz>
Mon, 20 Jun 2022 09:27:34 +0000 (11:27 +0200)
commitc56f7983bedd6a36af6ba141cad92e1415682a70
tree5bf704cd22f80b9ddd2a334ea519cf36596a44c7
parent9f55aee9dca759da84afd4563ff72d3ca8ab8a1c
lto-plugin: support LDPT_GET_SYMBOLS_V3

That supports skipping of an object file (LDPS_NO_SYMS).

lto-plugin/ChangeLog:

* 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.
lto-plugin/lto-plugin.c