This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: fix --check-sections consistency error
On Oct 9, 2003, Alan Modra <amodra@bigpond.net.au> wrote:
> On Thu, Oct 09, 2003 at 06:48:06PM -0300, Alexandre Oliva wrote:
>> On Oct 9, 2003, Alan Modra <amodra@bigpond.net.au> wrote:
>>
>> > On Wed, Oct 08, 2003 at 07:17:09PM -0300, Alexandre Oliva wrote:
>> >> * ldlang.c (lang_size_sections_1): Use IGNORE_SECTION to tell
>> >> whether to skip test for no memory region.
>>
>> > Um, this changes more than just checking of zero sized sections. You
>> > now ignore sections with just one of SEC_ALLOC or SEC_LOAD set.
>>
>> Hmm... Are you sure?
> Yep.
Doh! Yes, indeed. So much for my (in)abilities to simplify boolean
expressions :-)
Now... Don't we want to make this change, to remain consistent with
IGNORE_SECTIONS elsewhere? Or do we want to be stricter here?
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer