fix --check-sections consistency error

Alexandre Oliva aoliva@redhat.com
Thu Oct 9 21:48:00 GMT 2003


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?  I tried really hard to convince myself it was
also making this very change you say, but I ended up convinced it was
equivalent except for the size.

-- 
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



More information about the Binutils mailing list