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.


Hi Ian,

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

Cheers
        Nick


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