Simplify LTO section format.
authorMartin Liska <mliska@suse.cz>
Mon, 22 Jul 2019 07:34:32 +0000 (09:34 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Mon, 22 Jul 2019 07:34:32 +0000 (07:34 +0000)
commitd1caf05a899bb57d1a96acd4869890991dedca20
tree6b31f36652cb64bc8ed425701a2b3d8cab17aa82
parent2df89b66f1b397c9eacd2078eb6a9b52c2c4853f
Simplify LTO section format.

2019-07-22  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.

From-SVN: r273661
gcc/ChangeLog
gcc/lto-section-in.c
gcc/lto-streamer-out.c
gcc/lto-streamer.h