[PATCH] Add .gnu.lto_.meta section.
Martin Liška
mliska@suse.cz
Fri Jun 21 10:20:00 GMT 2019
Hi.
The patch is about a new ELF section that will contain information
about LTO version. And for the future, used compression will be stored
here. The patch removes streaming of the version into each section.
Disadvantage is a format change that will lead to following errors when
LTO bytecode is used from a different version:
$ gcc x.o
lto1: fatal error: bytecode stream in file âx.oâ generated with GCC compiler older than 10.0
$ gcc-9 main.o
lto1: fatal error: bytecode stream in file âmain.oâ generated with LTO version 850.0 instead of the expected 8.0
I've been testing the patch.
Thoughts?
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-.gnu.lto_.meta-section.patch
Type: text/x-patch
Size: 7279 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20190621/09f9e06f/attachment.bin>
More information about the Gcc-patches
mailing list