How feasible is it to port gold to mingw?

NightStrike nightstrike@gmail.com
Tue Dec 7 16:01:00 GMT 2010


On Mon, Dec 6, 2010 at 6:43 PM, Ian Lance Taylor <iant@google.com> wrote:
> NightStrike <nightstrike@gmail.com> writes:
>
>> I would think that if it's written in C++ in a true object oriented
>> form, that it would be easy to derive a new target from an existing
>> template using some random appropriate design pattern.
>
> No.  This assumes that linking ELF is fundamentally the same as linking
> PE-COFF.  It is not.  The shared library model is completely different.
> I suspect that a PE-COFF linker needs fewer passes; in particular I
> suspect that it does not need a second pass over the input files
> gathering relocation information.
>
> Ian
>

How does ld handle multiple formats?



More information about the Binutils mailing list