This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Simplify LTO section format.
- From: Jeff Law <law at redhat dot com>
- To: Martin Liška <mliska at suse dot cz>, gcc-patches at gcc dot gnu dot org
- Cc: Richard Biener <richard dot guenther at gmail dot com>
- Date: Sun, 21 Jul 2019 14:02:53 -0600
- Subject: Re: [PATCH] Simplify LTO section format.
- References: <c6dc2f90-0985-7250-4ff0-5f0bc8c69638@suse.cz>
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