SEC_NEVER_LOAD cleanup

Alan Modra amodra@gmail.com
Fri Nov 5 05:58:00 GMT 2010


On Fri, Nov 05, 2010 at 05:00:19AM +0000, Dave Korn wrote:
> On 26/10/2010 13:46, Alan Modra wrote:
> > It seems we have irreconcilable differences between ELF and COFF in
> > the treatment of NOLOAD.  How does the following look to you COFF
> > people?
> 
>   Yes, please.

Committed with this ChangeLog.

	* ldlang.c (lang_add_section): Distinguish ELF treatment of NOLOAD.
	(map_input_to_output_sections): Likewise.
	(lang_size_sections_1): Likewise.
	(IGNORE_SECTION): Don't test SEC_NEVER_LOAD.
	(lang_check_section_addresses): Likewise.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list