This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Add .gnu.lto_.lto section.


On 7/1/19 4:59 AM, Martin Liška wrote:
> Hi.
> 
> Ok, so there's a version with added ChangeLog that survives regression tests.
> 
> Ready to be installed?
> Thanks,
> Martin
> 
> 
> 0001-Add-.gnu.lto_.lto-section.patch
> 
> From e6745583dc4b7f5543878c0a25498e818531f73e Mon Sep 17 00:00:00 2001
> From: Martin Liska <mliska@suse.cz>
> Date: Fri, 21 Jun 2019 12:14:04 +0200
> Subject: [PATCH 1/2] Add .gnu.lto_.lto section.
> 
> gcc/ChangeLog:
> 
> 2019-07-01  Martin Liska  <mliska@suse.cz>
> 
> 	* lto-section-in.c (lto_get_section_data): Add "lto" section.
> 	* lto-section-out.c (lto_destroy_simple_output_block): Never
> 	compress LTO_section_lto section.
> 	* lto-streamer-out.c (produce_asm): Do not set major_version
> 	and minor_version.
> 	(lto_output_toplevel_asms): Likewise.
> 	(produce_lto_section): New function.
> 	(lto_output): Call produce_lto_section.
> 	(lto_write_mode_table): Do not set major_version and
> 	minor_version.
> 	(produce_asm_for_decls): Likewise.
> 	* lto-streamer.h (enum lto_section_type): Add LTO_section_lto
> 	type.
> 	(struct lto_header): Remove.
> 	(struct lto_section): New struct.
> 	(struct lto_simple_header): Do not inherit from lto_header.
> 	(struct lto_file_decl_data): Add lto_section_header field.
OK
jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]