This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fix --check-sections consistency error


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]