fix --check-sections consistency error

Alexandre Oliva aoliva@redhat.com
Fri Oct 10 20:30:00 GMT 2003


On Oct 10, 2003, Alan Modra <amodra@bigpond.net.au> wrote:

> I think it's better to keep the old behaviour.  ie. use

> 		    if ((bfd_get_section_flags (output_bfd, os->bfd_section)
> 			 & (SEC_ALLOC | SEC_LOAD)) != 0
> 			&& (bfd_get_section_flags (output_bfd, os->bfd_section)
> 			    & SEC_NEVER_LOAD) == 0
> 			&& bfd_section_size (output_bfd, os->bfd_section) != 0
> 			&& ...

Sounds good to me.  Want me to check the patch in for you, or will
you?

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