[PATCH] Simplify LTO section format.

Jeff Law law@redhat.com
Sun Jul 21 20:04:00 GMT 2019


On 7/17/19 4:32 AM, Martin Liška wrote:
> Hi.
> 
> The patch is about simplified LTO ELF section header where
> want to make public fields major_version, minor_version and
> slim_object. The rest is implementation defined by GCC.
> 
> Patch can bootstrap on x86_64-linux-gnu and survives regression tests.
> 
> Ready to be installed?
> Thanks,
> Martin
> 
> gcc/ChangeLog:
> 
> 2019-07-15  Martin Liska  <mliska@suse.cz>
> 
> 	* lto-section-in.c (lto_get_section_data):
> 	Use new function get_compression.
> 	* lto-streamer-out.c (produce_lto_section): Use
> 	set_compression to encode compression algorithm.
> 	* lto-streamer.h (struct lto_section): Do not
> 	use bitfields in the format.
> ---
>  gcc/lto-section-in.c   |  3 ++-
>  gcc/lto-streamer-out.c |  3 ++-
>  gcc/lto-streamer.h     | 19 ++++++++++++++++---
>  3 files changed, 20 insertions(+), 5 deletions(-)
> 
> 
OK
jeff



More information about the Gcc-patches mailing list