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]

Re: Binutuls is broken now.


Nick Clifton <nickc@cambridge.redhat.com> writes:

> > > I don't think it is the best way. The binary format has no relocation.
> > > But a file with any format can have no relocations. But we just don't
> > > know at that point.
> > 
> > Why don't we know?  Can't we just check the HAS_RELOC file flag?
> 
> Because at this point in time we do not know which, if any, of the
> sections in the input bfd will be mapped into the output bfd, so we
> cannot reasonably check their flags.

The HAS_RELOC flag is a flag for the whole file, not just for the
section.

Ian


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