This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: SEC_NEVER_LOAD cleanup
- From: Alan Modra <amodra at gmail dot com>
- To: Dave Korn <dave dot korn dot cygwin at gmail dot com>
- Cc: Kai Tietz <ktietz70 at googlemail dot com>, binutils at sourceware dot org
- Date: Fri, 5 Nov 2010 16:28:34 +1030
- Subject: Re: SEC_NEVER_LOAD cleanup
- References: <20101016023559.GB26553@bubble.grove.modra.org> <AANLkTima-b18poWw=8RSP3-dT=2Vt2T4FhMd5oGH3OTr@mail.gmail.com> <20101017232913.GD26553@bubble.grove.modra.org> <AANLkTinX22GQw51=H3qSXURGp180EtOQ4JERmMRrmbT7@mail.gmail.com> <20101018134330.GF26553@bubble.grove.modra.org> <AANLkTikLoULv7uLOgfh452NSUoe9W_yH4_r_0Uwkt0Zt@mail.gmail.com> <AANLkTik2YxWnUwc0CVXYKtwKri7==BrowKe-E4NAPNqY@mail.gmail.com> <4CBF06B3.8050202@gmail.com> <20101026124613.GD5348@bubble.grove.modra.org> <4CD38F63.5050105@gmail.com>
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