[PATCH] Add .gnu.lto_.meta section.
Fri Jun 21 10:20:00 GMT 2019
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7279 bytes
Desc: not available
More information about the Gcc-patches