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: Patch: Check input format against output


"H . J . Lu" <hjl@lucon.org> writes:

> How about this patch? You can link a SPARC ELF input into a i386
> ELF output file as long as your BFD supports SPARC ELF.

This approach just seems odd to me.  It doesn't seem to address the
underlying problem, which is that the generic ELF backends don't
support linking.  If you fix that problem to give an appropriate
error, then the problem you are trying to address goes away.  Fixing
the generic ELF backend problem also fixes other aspects of the
problem not addressed by your patch, like linking directly to
S-records.

Ian


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