On 7/1/19 5:00 AM, Martin Liška wrote:
> Hi.
> 
> This is updated version of the zstd patch that should handle all what Joseph
> pointed out.
> 
> Patch can bootstrap on x86_64-linux-gnu and survives regression tests.
> 
> Ready to be installed?
> Thanks,
> Martin
> 
> 
> 0002-Add-zstd-support-for-LTO-bytecode-compression.patch
> 
> From 5d2006c9c4d481f4083d5a591327ee64847b0bf7 Mon Sep 17 00:00:00 2001
> From: Martin Liska <mli...@suse.cz>
> Date: Thu, 20 Jun 2019 10:08:17 +0200
> Subject: [PATCH 2/2] Add zstd support for LTO bytecode compression.
> 
> gcc/ChangeLog:
> 
> 2019-07-01  Martin Liska  <mli...@suse.cz>
> 
>       * Makefile.in: Define ZSTD_LIB.
>       * common.opt: Adjust compression level
>       to support also zstd levels.
>       * config.in: Regenerate.
>       * configure: Likewise.
>       * configure.ac: Add --with-zstd and --with-zstd-include options
>       and detect ZSTD.
>       * doc/install.texi: Mention zstd dependency.
>       * gcc.c: Print supported LTO compression algorithms.
>       * lto-compress.c (lto_normalized_zstd_level): Likewise.
>       (lto_compression_zstd): Likewise.
>       (lto_uncompression_zstd): Likewise.
>       (lto_end_compression): Dispatch in between zlib and zstd.
>       (lto_compression_zlib): Mark with ATTRIBUTE_UNUSED.
>       (lto_uncompression_zlib): Make it static.
>       * lto-compress.h (lto_end_uncompression): Fix GNU coding style.
>       * lto-section-in.c (lto_get_section_data): Pass info
>       about used compression.
>       * lto-streamer-out.c: By default use zstd when possible.
>       * timevar.def (TV_IPA_LTO_DECOMPRESS): Rename to decompression
>       (TV_IPA_LTO_COMPRESS): Likewise for compression.
OK
jeff

Reply via email to