Binutuls is broken now.

Ian Lance Taylor ian@zembu.com
Tue Jun 19 10:16:00 GMT 2001


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



More information about the Binutils mailing list