This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Binutuls is broken now.
On Mon, Jun 18, 2001 at 03:44:12PM -0700, Ian Lance Taylor wrote:
>
> I agree with H.J. that it should be possible to incorporate a binary
> input file in a relocateable link. We should only prohibit actions
> which we can not support. That is one we can easily support.
>
> I haven't tried to figure out whether H.J.'s patch is the best way to
> do this.
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.
>
> In fact, we can easily support linking any object file with no
> relocations into a relocateable link. There may be times when that
> would be convenient for people.
That is true. But I don't think the information we need is available
in lang_check. Maybe the check should be made somewhere else where we
will do relocation across different formats.
H.J.